lean-golf Lean 4 proof leaderboard

IMO2015 P5

open: first valid proof sets the record

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

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2015_p5 (f : ℝ → ℝ) :
    f ∈ SolutionSet ↔
    ∀ x y, f (x + f (x + y)) + f (x * y) = x + f (x + y) + y * f x
Trusted statement context
noncomputable section

namespace Imo2015P5

abbrev SolutionSet : Set (ℝ → ℝ) := { fun x ↦ x, fun x ↦ 2 - x }