fix(prove): preserve existing proof tactic scaffold while separately simplifying imported arithmetic

This commit is contained in:
cflmy committed 2026-11-18 13:40:10 +08:00
1 parent 16d9cc1610
commit 1cd0ddaa50
1 file changed
+2 -1
+2 -1
View File
@@ -138,7 +138,8 @@ 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, mqAdd, mqSub, mqMul, mqNeg]
simp_all [mqTruth, Op.name, mqAccess, mqResultOk, mqResultError, mqValueOr, mqAnd, mqOr, mqNot, mqEq]
try simp_all [mqAdd, mqSub, mqMul, mqNeg]
try
first
| exact (mqGt_mqLe_false ‹mqGt _ (Val.int _) = true› ‹mqLe _ (Val.int _) = true›).elim