lean-golf Lean 4 proof leaderboard

imo_1977_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_1977_p6
  (f : ℕ → ℕ)
  (h₀ : ∀ n, 0 < f n)
  (h₁ : ∀ n, 0 < n → f (f n) < f (n + 1)) :
  ∀ n, 0 < n → f n = n
Trusted statement context
open BigOperators Real Nat Topology Rat