fix(prove): unfold bounded arithmetic helper equations in Lean auto proofs of imported pure functions
This commit is contained in:
1 parent
b9fc9f1dbf
commit
e5da4e90fd
1 file changed
+1
-1
+1
-1
@@ -138,7 +138,7 @@ fn emit_theorems(out: &mut String, fun: &FnPlan) {
|
||||
let _ = writeln!(
|
||||
out,
|
||||
" all_goals
|
||||
simp_all [mqTruth, Op.name, mqAccess, mqResultOk, mqResultError, mqValueOr, mqAnd, mqOr, mqNot, mqEq]
|
||||
simp_all [mqTruth, Op.name, mqAccess, mqResultOk, mqResultError, mqValueOr, mqAnd, mqOr, mqNot, mqEq, mqAdd, mqSub, mqMul, mqNeg]
|
||||
try
|
||||
first
|
||||
| exact (mqGt_mqLe_false ‹mqGt _ (Val.int _) = true› ‹mqLe _ (Val.int _) = true›).elim
|
||||
|
||||
Reference in new issue
Block a user