refactor(library/blast): rename goal to branch
This commit is contained in:
parent
f73051c674
commit
e5b2cd1564
1 changed files with 5 additions and 3 deletions
|
@ -11,13 +11,15 @@ Author: Leonardo de Moura
|
||||||
|
|
||||||
namespace lean {
|
namespace lean {
|
||||||
namespace blast {
|
namespace blast {
|
||||||
class goal {
|
typedef rb_tree<unsigned, unsigned_cmp> metavar_set;
|
||||||
|
|
||||||
|
class branch {
|
||||||
typedef rb_map<unsigned, hypothesis, unsigned_cmp> context;
|
typedef rb_map<unsigned, hypothesis, unsigned_cmp> context;
|
||||||
friend class state;
|
friend class state;
|
||||||
unsigned m_next;
|
unsigned m_next;
|
||||||
context m_context;
|
context m_context;
|
||||||
expr m_type;
|
expr m_target;
|
||||||
expr const & mk_lref(expr const & type, optional<expr> const & value);
|
metavar_set m_mvars;
|
||||||
public:
|
public:
|
||||||
goal():m_next(0) {}
|
goal():m_next(0) {}
|
||||||
hypothesis const * get(unsigned idx) const { return m_context.find(idx); }
|
hypothesis const * get(unsigned idx) const { return m_context.find(idx); }
|
Loading…
Reference in a new issue