Grace/Cumulus/LargeCardinal/Axioms.g17

Open in Workbench Download source

Imports

Universe · Inaccessible

Declarations

Source

1-- Large cardinal axioms as named hypotheses: the Tarski–Grothendieck axiom2-- and the existence of an inaccessible cardinal3-- Part of Cumulus, the Grace17 mathematics library.4-- Copyright (c) 2026 Grant Passmore.5-- Released under the Apache License 2.0. See LICENSE in the repository root.6-- Authors: Grant Passmore78module Grace.Cumulus.LargeCardinal.Axioms9import Universe10import Inaccessible1112-- Large cardinal axioms are not axioms of the kernel. They are nullary13-- predicates, written applied to no arguments: a theorem that needs one14-- takes it as a hypothesis, `requires TG : TarskiGrothendieck()` or a15-- section's `hypothesis TG : TarskiGrothendieck()`, so its certificate is16-- a ZF(C) proof of the implication from the axiom.1718-- Every set is a member of some Grothendieck universe.19predicate TarskiGrothendieck := ∀ x, ∃ U, GrothendieckUniverse(U) ∧ x ∈ U20register largecardinal TarskiGrothendieck "every set lies in a Grothendieck universe"2122-- Some inaccessible cardinal exists.23predicate ExistsInaccessible := ∃ κ, Inaccessible(κ)24register largecardinal ExistsInaccessible "an inaccessible cardinal exists"2526theorem ExistsInaccessible.iff_exists_universe27  shows ExistsInaccessible() ↔ ∃ U, GrothendieckUniverse(U)28proof29  unfold ExistsInaccessible30  constructor31  . intro exists32    obtain ⟨κ, inaccessible⟩ := exists33    exact ⟨V(κ), (Inaccessible.universe with inaccessible)⟩34  . intro exists35    obtain ⟨U, universe⟩ := exists36    exact ⟨ordinalsWithin(U), (GrothendieckUniverse.inaccessible with universe)⟩3738section TarskiGrothendieckLaws39hypothesis TG : TarskiGrothendieck()4041theorem TarskiGrothendieck.universe_containing (x : Set)42  shows ∃ U, GrothendieckUniverse(U) ∧ x ∈ U43proof44  exact TG with x4546-- Every set lies in the stage V(κ) of some inaccessible κ.47theorem TarskiGrothendieck.inaccessible_containing (x : Set)48  shows ∃ κ, Inaccessible(κ) ∧ x ∈ V(κ)49proof50  obtain ⟨U, universe, hx⟩ := TarskiGrothendieck.universe_containing at x with TG51  have stage := GrothendieckUniverse.eq_V with universe52  rw stage at hx53  exact ⟨ordinalsWithin(U), (GrothendieckUniverse.inaccessible with universe), hx⟩5455theorem TarskiGrothendieck.existsInaccessible56  shows ExistsInaccessible()57proof58  obtain ⟨U, universe, _⟩ := TarskiGrothendieck.universe_containing at ∅ with TG59  exact ExistsInaccessible.iff_exists_universe.backward with ⟨U, universe⟩6061end TarskiGrothendieckLaws62