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
This problem has a complete formalized solution.