lean-golf Lean 4 proof leaderboard

aime_1984_p7

open: first valid proof sets the record

miniF2F · aime · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.aime_1984_p7
  (f : ℤ → ℤ)
  (h₀ : ∀ n, 1000 ≤ n → f n = n - 3)
  (h₁ : ∀ n, n < 1000 → f n = f (f (n + 5))) :
  f 84 = 997
Trusted statement context
open BigOperators Real Nat Topology Rat