lean_workbook_plus_13121
Openby Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Prove that if f is continuous on R and (∀x∈R):f(x)2=x2, then (∀x∈R):f(x)=x or (∀x∈R):f(x)=−x.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_13121 ∀ f : ℝ → ℝ, (∀ x, f x ^ 2 = x ^ 2) ∧ Continuous f → (∀ x, f x = x) ∨ (∀ x, f x = -x) := by sorry
View graph