A piecewise function has no fixed point
ProvedWorkbookSource.plus_76043lean-workbooksource-checked
Prove that if , it does not have a fixed point in .
Source: InternLM Lean-Workbook, record lean_workbook_plus_76043 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.plus_76043 (f : ℝ → ℝ) (hf: f = fun x => if x ≤ 1/2 then 1 else 0) : ¬ (∃ x, f x = x) := by sorry
Source