summaryrefslogtreecommitdiff
path: root/Day9.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2025-11-16 14:24:46 +0100
committerAndreas Grois <andi@grois.info>2025-11-16 14:24:46 +0100
commit6d10b7594f487bdfbef99d05bda34405dd85c8b8 (patch)
tree42c630d3612322af6cabcd3ac197912507872e45 /Day9.lean
parent4fbeb023e0b2c58895e8df8d169035e274159537 (diff)
Lean 4.23
Diffstat (limited to 'Day9.lean')
-rw-r--r--Day9.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/Day9.lean b/Day9.lean
index 8fc449c..ac8edd8 100644
--- a/Day9.lean
+++ b/Day9.lean
@@ -31,7 +31,7 @@ private def extrapolate : List Int → Int
0
else
have : (differences (a :: as)).length < as.length + 1 := by
- simp +arith[differences]
+ simp +arith
induction (as) <;> simp +arith[differences]
case cons b bs hb => rw[←differences_length_independent_arg]
assumption