lean-golf Lean 4 proof leaderboard

IMO1993 P5

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: Roozbeh Yousefzadeh, Zheng Yuan

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo1993_p5 : DoesExist ↔ ∃ f, Good f
Trusted statement context
noncomputable section

namespace Imo1993P5

abbrev DoesExist : Bool := True

abbrev Good (f : ℕ → ℕ) : Prop := f 1 = 2 ∧ ∀ n, f (f n) = f n + n ∧ ∀ n, f n < f (n + 1)