Cantor's Theorem as a corollary of Lawvere:
Provedcantor_from_lawvereaether-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 sorrySource