lean-golf Lean 4 proof leaderboard

imo_1981_p6

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.minif2f.imo_1981_p6
  (f : ℕ → ℕ → ℕ)
  (g : ℕ → ℕ)
  (h₀ : ∀ y, f 0 y = y + 1)
  (h₁ : ∀ x, f (x + 1) 0 = f x 1)
  (h₂ : ∀ x y, f (x + 1) (y + 1) = f x (f (x + 1) y))
  (h₃ : g 0 = 2)
  (h₄ : ∀ n, g (n + 1) = 2^(g n)) :
  f 4 1981 = g 1983 - 3
Trusted statement context
open BigOperators Real Nat Topology Rat