diff options
author | Son Ho | 2024-04-05 14:04:25 +0200 |
---|---|---|
committer | Son Ho | 2024-04-05 14:04:25 +0200 |
commit | 65a77968d0abc2d01da92aa8982256855e7519a6 (patch) | |
tree | 5db0aaddd797ab769dcc72f46094fc6f3dc3b8a5 /backends/lean/Base/Diverge | |
parent | fc0b39c4fe48fdbab06d5fd32e0a2b7dcae674e6 (diff) |
Update the lean toolchain and fix the proofs
Diffstat (limited to 'backends/lean/Base/Diverge')
-rw-r--r-- | backends/lean/Base/Diverge/Base.lean | 4 | ||||
-rw-r--r-- | backends/lean/Base/Diverge/Elab.lean | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/backends/lean/Base/Diverge/Base.lean b/backends/lean/Base/Diverge/Base.lean index e40432bd..7521eecc 100644 --- a/backends/lean/Base/Diverge/Base.lean +++ b/backends/lean/Base/Diverge/Base.lean @@ -1,7 +1,6 @@ import Lean import Lean.Meta.Tactic.Simp import Init.Data.List.Basic -import Mathlib.Tactic.RunCmd import Mathlib.Tactic.Linarith import Base.Primitives.Base import Base.Arith.Base @@ -39,8 +38,7 @@ namespace Lemmas case zero => simp_all intro m h1 h2 - have h: n = m := by - linarith + have h: n = m := by omega unfold for_all_fin_aux; simp_all simp_all -- There is no i s.t. m ≤ i diff --git a/backends/lean/Base/Diverge/Elab.lean b/backends/lean/Base/Diverge/Elab.lean index f30148dc..71eaba10 100644 --- a/backends/lean/Base/Diverge/Elab.lean +++ b/backends/lean/Base/Diverge/Elab.lean @@ -1,7 +1,6 @@ import Lean import Lean.Meta.Tactic.Simp import Init.Data.List.Basic -import Mathlib.Tactic.RunCmd import Base.Utils import Base.Diverge.Base import Base.Diverge.ElabBase |