Skip to content

Commit

Permalink
Update Prop.lean (#133)
Browse files Browse the repository at this point in the history
Fix a minor bug.
  • Loading branch information
abdoo8080 authored Oct 6, 2024
1 parent 563b1be commit 0ad8dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Smt/Reconstruct/Prop.lean
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def reconstructRewrite (pf : cvc5.Proof) : ReconstructM (Option Expr) := do
let q : Q(Prop) ← reconstructTerm pf.getArguments[2]!
addThm q(($p → $q) = (¬$p ∨ $q)) q(@Prop.bool_impl_elim $p $q)
| .BOOL_OR_TRUE =>
let args ← reconstructArgs pf.getArguments
let args ← reconstructArgs pf.getArguments[1:]
addTac (← reconstructTerm pf.getResult) (Tactic.smtRw · q(Or) q(False) q(@Prop.bool_or_true) args)
| .BOOL_OR_FALSE =>
let args ← reconstructArgs pf.getArguments[1:]
Expand Down

0 comments on commit 0ad8dee

Please sign in to comment.