chore(library/blast): use "override" consistently for proof_step objects
This commit is contained in:
parent
38436468e2
commit
4dc27fb43b
7 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,7 @@ struct backward_proof_step_cell : public proof_step_cell {
|
|||
|
||||
virtual ~backward_proof_step_cell() {}
|
||||
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
state & s = curr_state();
|
||||
s.set_branch(m_branch);
|
||||
expr mvar = head(m_mvars);
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace blast {
|
|||
struct intros_proof_step_cell : public proof_step_cell {
|
||||
list<expr> m_new_hs;
|
||||
virtual ~intros_proof_step_cell() {}
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
expr new_pr = mk_proof_lambda(curr_state(), m_new_hs, pr);
|
||||
return action_result::solved(new_pr);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ struct no_confusion_proof_step_cell : public proof_step_cell {
|
|||
m_I_name(I_name), m_target(t), m_eq_href(e), m_num_new_eqs(n) {}
|
||||
virtual ~no_confusion_proof_step_cell() {}
|
||||
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
try {
|
||||
expr it = pr;
|
||||
bool skip = true;
|
||||
|
|
|
@ -63,7 +63,7 @@ struct recursor_proof_step_cell : public proof_step_cell {
|
|||
|
||||
virtual ~recursor_proof_step_cell() {}
|
||||
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
state & s = curr_state();
|
||||
s.set_branch(m_branch);
|
||||
if (!m_dep) {
|
||||
|
|
|
@ -15,7 +15,7 @@ struct revert_proof_step_cell : public proof_step_cell {
|
|||
|
||||
virtual ~revert_proof_step_cell() {}
|
||||
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
expr new_pr = mk_app(pr, m_hs);
|
||||
return action_result::solved(new_pr);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
|
||||
virtual ~simplify_target_proof_step_cell() {}
|
||||
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
try {
|
||||
app_builder & b = get_app_builder();
|
||||
if (m_iff)
|
||||
|
|
|
@ -21,7 +21,7 @@ struct subst_proof_step_cell : public proof_step_cell {
|
|||
m_target(t), m_eq_href(e), m_rhs(r), m_dep(d) {}
|
||||
virtual ~subst_proof_step_cell() {}
|
||||
|
||||
virtual action_result resolve(expr const & pr) const {
|
||||
virtual action_result resolve(expr const & pr) const override {
|
||||
try {
|
||||
state & s = curr_state();
|
||||
app_builder & b = get_app_builder();
|
||||
|
|
Loading…
Reference in a new issue