Model/Mathlib states one field per lemma of Mathlib's ZFSet
(Mathlib/SetTheory/ZFC/Basic.lean), with Lean names and statements in
Agda syntax. Model/FromMathlib derives the base ZF axioms from it (ω as
the least inductive subset of Mathlib's omega). Mathlib's ZFSet has no
universes, so Model/ConsistencyZF adds Grothendieck's universe axiom on
top: no-False-Mathlib, no-0≡1-Mathlib, no-∀A→A-Mathlib.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
Model/TarskiGrothendieck states Tarski's Axiom A (Mizar's foundation; with
transitivity as in con-leche): every set is a member of a Tarski universe.
Model/FromTarski shows every Tarski universe is a Grothendieck universe,
without choice: replacement by Cantor's theorem, unions by regularity (a
member Y with Y ∈ y ∈ Y otherwise), pairs as an image of 𝒫 (𝒫 ∅). So TG
gives Grothendieck's universe axiom and our ZF record;
Model/ConsistencyZF adds no-False-TG, no-0≡1-TG, no-∀A→A-TG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
Model/Grothendieck states ZF (base axioms) plus Grothendieck's universe
axiom from SGA 4 (every set is a member of a universe: transitive, closed
under pairing, power set and unions of families). Model/FromGrothendieck
derives our ZF record from it: the chain by iterating the axiom from ω,
the limit Setω 0 as a universe containing all Set k (replacement over ω).
Model/ConsistencyZF adds no-False-UA, no-0≡1-UA, no-∀A→A-UA.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
As in con-leche, the empty set is no longer an axiom: it is the ∈-minimal
member of the nonempty, transitive univ (fin 1) given by regularity.
Infinity is stated for any empty set. ω is assumed only in univ (fin 0);
cumulativity puts it in every universe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
univ-∈ (membership for all strictly ordered strata) is replaced by
con-leche's form, each universe a member of the next (univ-fin-suc,
univ-ω-suc), plus univ-lim for the limit Setω 0, which has no
predecessor. The general membership is derived in Model/FromZF.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
Model/ZF is the ZF interface in the style of con-leche's SetTheory class
(extensionality, empty set, pairing, union, power set, replacement,
regularity, infinity) with Grothendieck universes along the ω·2 strata and
classical logic as a field (em). Model/FromZF constructs the operations of
Model/SetTheory from it: separation, Kuratowski pairs and projections,
Σ-sets, function graphs, von Neumann numerals (injective by regularity)
and the universe closure. Model/ConsistencyZF states no-False, no-0≡1 and
no-∀A→A for every ZF instance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
True is the unit type (`True = `Unit, `trivial = `tt). `False : Set has
no introduction form; `absurd P e : P for e : False never reduces at the
root (neutral when e is). Covered through level equality, confluence,
the level normaliser, subject reduction, progress, decidability and
strong normalisation (members of False are terms reducing to a neutral
term). The set-theory interface gains an empty set, which False denotes;
Model/Consistency proves no-False.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
Model/Soundness: soundness of typing up to conversion — a well-typed term
is well-denoted and its meaning lies in the meaning of a well-denoted
witness W ≈ T, in every environment satisfying a convertible semantic
context. Model/Consistency: no closed term of zero ≡ suc zero or of
∀ (A : Set) → A, for every instance of the set-theory interface.
Re-exported in Theorems; README and TODO describe the model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
Model/SetTheory: the set theory as a record (no postulate), with cumulative
universes for the strata fin k / ω+ m. Model/Interpretation: total
interpretation of terms (levels as natural numbers), well-denotedness, and
the renaming and substitution lemmas.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ