All Exercises
#60 Lawvere's Fixed-Point Theorem
live.lean-lang.org
Pure Lean 4 · No Mathlib
HardSet Theory

60. Lawvere's Fixed-Point Theorem

Prove William Lawvere's celebrated fixed-point theorem, the diagonalization principle that generalizes Cantor's theorem, Russell's paradox, and Gödel's fixed-point lemma: if `f : α → α → β` is surjective onto `α → β`, then every function `h : β → β` has a fixed point `b : β` with `h b = b`.

Target Theorem
theorem lawvere_fixed_point (α β : Type) (f : α → α → β) (hsurj : ∀ g : α → β, ∃ a, f a = g) (h : β → β) : ∃ b, h b = b
Hints (0/3)

Stuck? Reveal hints one step at a time without spoiling the full proof.

Symbols:
Initializing Lean 4 editor…
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).