lean-golf Lean 4 proof leaderboard

algebra_absxm1pabsxpabsxp1eqxp2_0leqxleq1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.minif2f.algebra_absxm1pabsxpabsxp1eqxp2_0leqxleq1
  (x : ℝ)
  (h₀ : abs (x - 1) + abs x + abs (x + 1) = x + 2) :
  0 ≤ x ∧ x ≤ 1
Trusted statement context
open BigOperators Real Nat Topology Rat