lean-golf Lean 4 proof leaderboard

mathd_algebra_132

open: first valid proof sets the record

miniF2F · mathd · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.mathd_algebra_132 (x : ℝ) (f g : ℝ → ℝ) (h₀ : ∀ x, f x = x + 2) (h₁ : ∀ x, g x = x ^ 2)
  (h₂ : f (g x) = g (f x)) : x = -1 / 2
Trusted statement context
open BigOperators Real Nat Topology Rat