lean-golf Lean 4 proof leaderboard

IMO2010 P1

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw, Gian Sanjaya

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2010_p1 (f : ℝ → ℝ) :
    f ∈ solution_set ↔ ∀ x y, f (⌊x⌋ * y) = f x * ⌊f y⌋
Trusted statement context
noncomputable section

namespace Imo2010P1

abbrev solution_set : Set (ℝ → ℝ) :=
  { f | (∃ C, ⌊C⌋ = 1 ∧ f = Function.const _ C) ∨ f = Function.const _ 0 }