10 Commits
Author SHA1 Message Date
Julius FischerandClaude Opus 5.5 743a88721d Model: the rules of Mathlib's ZFSet as a record
Typecheck / agda (push) Successful in 5m16s
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
2026-11-26 12:03:10 +01:00
Julius FischerandClaude Opus 5.5 bbc335501a Model: Tarski–Grothendieck set theory
Typecheck / agda (push) Successful in 2m28s
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
2026-11-23 21:00:50 +01:00
Julius FischerandClaude Opus 5.5 16e9fc1e88 Model: ZFC with Grothendieck's universe axiom
Typecheck / agda (push) Successful in 2m30s
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
2026-11-23 20:58:38 +01:00
Julius FischerandClaude Opus 5.5 a2f55da613 ZF: derive the empty set; ω only assumed in the first universe
Typecheck / agda (push) Successful in 2m37s
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
2026-11-23 18:28:38 +01:00
Julius FischerandClaude Opus 5.5 a8228baf2f ZF: universe chain axioms for consecutive universes, as in con-leche
Typecheck / agda (push) Successful in 2m39s
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
2026-11-23 18:21:17 +01:00
Julius FischerandClaude Opus 5.5 7fd4a58b36 Model: con-leche's ZF axioms, and our set theory derived from them
Typecheck / agda (push) Successful in 2m26s
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
2026-11-23 16:58:21 +01:00
Julius FischerandClaude Opus 5.5 5d83754d18 True and False, with ex falso; False is empty in the model
Typecheck / agda (push) Successful in 2m22s
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
2026-11-22 23:11:57 +01:00
Julius FischerandClaude Opus 5.5 db56f5e4ef Consistency relative to a model of set theory
Typecheck / agda (push) Successful in 2m15s
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
2026-11-22 21:36:40 +01:00
Julius FischerandClaude Opus 5.5 bba504f2fe Model: reduction and level equality preserve meaning
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
2026-11-22 21:24:36 +01:00
Julius FischerandClaude Opus 5.5 593f89d919 Model: set-theory interface and interpretation
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
2026-11-22 21:19:32 +01:00