2015-09-16 14:49:39 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
2015-09-24 01:13:18 +00:00
|
|
|
#include "util/rb_map.h"
|
2015-09-16 14:49:39 +00:00
|
|
|
#include "kernel/expr.h"
|
2015-09-24 01:13:18 +00:00
|
|
|
#include "library/blast/hypothesis.h"
|
|
|
|
|
2015-09-16 14:49:39 +00:00
|
|
|
namespace lean {
|
|
|
|
namespace blast {
|
2015-09-24 01:13:18 +00:00
|
|
|
class metavar_decl {
|
|
|
|
hypothesis_set m_context;
|
|
|
|
expr m_type;
|
|
|
|
};
|
|
|
|
|
2015-09-16 14:49:39 +00:00
|
|
|
class state {
|
2015-09-24 01:13:18 +00:00
|
|
|
typedef rb_map<unsigned, metavar_decl, unsigned_cmp> metavar_decls;
|
2015-09-25 19:45:16 +00:00
|
|
|
typedef rb_map<unsigned, expr, unsigned_cmp> assignment;
|
2015-09-24 01:13:18 +00:00
|
|
|
metavar_decls m_metavar_decls;
|
2015-09-25 19:45:16 +00:00
|
|
|
assignment m_assignment;
|
2015-09-16 14:49:39 +00:00
|
|
|
};
|
|
|
|
}}
|