lean-golf Lean 4 proof leaderboard

IMO1983 P1

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2024 David Renshaw. All rights reserved. Authors: David Renshaw

Statement

import Mathlib.Algebra.Order.Positive.Field
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1983_p1 (f : ℝ+ → ℝ+) :
    f ∈ SolutionSet ↔
    ((∀ x y, f (x * f y) = y * f x) ∧
     (∀ ε, ∃ x, ∀ y, x < y → f y < ε))
Trusted statement context
noncomputable section

namespace Imo1983P1

abbrev PosReal : Type := { x : ℝ // 0 < x }

notation "ℝ+" => PosReal

noncomputable abbrev SolutionSet : Set (ℝ+ → ℝ+) := { fun x ↦ 1 / x }