Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Cantor's Theorem as a corollary of Lawvere:

Proved
cantor_from_lawvere

by raver1975 · Sep 12, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-cataloglogic

Cantor's Theorem as a corollary of Lawvere: There is no surjection from a type to its power set.

theorem cantor_from_lawvere(A : Type*) :
    ¬ ∃ f : A → (A → Prop), Surjective f := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source Logic/StrangeLoops/Core.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from Logic/StrangeLoops/Core.lean
import Mathlib
import Definitions.Def_Logic_StrangeLoops_Core

/-!
# Strange Loops: Self-Reference and Fixed Points in Provability

This module formalizes the concept of "strange loops" — self-referential structures
that arise inevitably in sufficiently powerful formal systems. We establish that:

1. **Lawvere's Fixed Point Theorem** (generalized): Any point-surjective map
   forces every endomorphism to have a fixed point — the structural root of
   all diagonalization arguments.

2. **Strange Loop Existence**: We define a `StrangeLoop` as a formal system
   equipped with a self-referencing diagonal operator, and prove that such
   systems necessarily contain undecidable sentences.

3. **Tangled Hierarchy Collapse**: When meta-levels of a formal hierarchy
   can refer back to lower levels, the resulting "tangled hierarchy" collapses.

4. **Provability Lattice Fixed Points**: On the complete lattice of theories,
   the provability closure operator has fixed points — strange loops in the lattice.

5. **Rice's Theorem Analog**: Any non-trivial semantic property of formal
   systems is undecidable — proved via Lawvere's theorem.

## References

- Lawvere, F.W. "Diagonal arguments and cartesian closed categories" (1969)
- Hofstadter, D. "Gödel, Escher, Bach" (1979)
- Yanofsky, N. "A universal approach to self-referential paradoxes" (2003)
-/

open Function Set

noncomputable section

/-! ## Part 1: Novel Structures -/






/-! ## Part 2: The Gödel Sentence is Undecidable -/




/-! ## Part 3: Generalized Lawvere Fixed-Point Theorem -/
Formal statement
theorem cantor_from_lawvere(A : Type*) :
    ¬ ∃ f : A → (A → Prop), Surjective f := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/Logic/StrangeLoops/Core.lean#L132

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me