Compfiles: Catalog Of Math Problems Formalized In Lean

Russia1998P42


import Mathlib.Data.Real.Basic

/-!
 Russian Mathematical Olympiad 1998, problem 42

 A binary operation ⋆ on real numbers has the property that
 (a ⋆ b) ⋆ c = a + b + c.

 Prove that a ⋆ b = a + b.

-/

namespace Russia1998P42

variable (star : ℝ → ℝ → ℝ)

local infixl:80 " ⋆ " => star

theorem russia1998_p42
  (stardef : ∀ a b c, a ⋆ b ⋆ c = a + b + c) :
  (∀ a b, a ⋆ b = a + b) := sorry


end Russia1998P42

File author(s): David Renshaw

This problem has a complete formalized solution.

Open with the in-brower editor at live.lean-lang.org: