lean-golf Lean 4 proof leaderboard

IMO2017 P2

open: first valid proof sets the record

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

Statement

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

namespace Imo2017P2

open Function

variable {R : Type*}

variable {F : Type*}

abbrev solution_set : Set (ℝ → ℝ) :=
  { fun _ ↦ 0, fun x ↦ x - 1, fun x ↦ 1 - x }