summaryrefslogtreecommitdiff
path: root/Day9.lean
diff options
context:
space:
mode:
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 0d28d27..d024823 100644
--- a/Day9.lean
+++ b/Day9.lean
@@ -36,7 +36,7 @@ private def extrapolate : List Int → Int
case cons b bs hb => rw[←differences_length_independent_arg]
assumption
a + extrapolate (differences (a :: as))
-termination_by extrapolate a => a.length
+termination_by a => a.length
def part1 : List (List Int) → Int :=
List.foldl Int.add 0 ∘ List.map (extrapolate ∘ List.reverse)