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
42 lines
1.9 KiB
Agda
42 lines
1.9 KiB
Agda
module univTypes.Theorems where
|
||
|
||
-- The main results, in one place. The definitions are in Specification/,
|
||
-- the proofs in Metatheory/ and Decidability/.
|
||
|
||
-- Confluence of reduction, and of reduction modulo level equality.
|
||
open import univTypes.Metatheory.Confluence.Parallel public using (confluence)
|
||
open import univTypes.Metatheory.Confluence.Modulo public using (confluence-modulo)
|
||
|
||
-- Decidability of level equality.
|
||
open import univTypes.Metatheory.Levels.Decision public using (_~?_)
|
||
|
||
-- Subject reduction, progress, and values are normal forms.
|
||
open import univTypes.Metatheory.Typing.SubjectReduction public
|
||
using (subject-reduction; subject-reductionₗ)
|
||
open import univTypes.Metatheory.Typing.Progress public
|
||
using (progress; progressₗ; value-normal)
|
||
|
||
-- Normalisation and decidability of conversion for well-typed terms.
|
||
open import univTypes.Decidability.Fundamental public
|
||
using (normalisation; normalisationₗ; decidable-≈; decidable-≈ₗ)
|
||
|
||
-- Strong normalisation: every reduction sequence is finite.
|
||
open import univTypes.Decidability.SN.Strong public
|
||
using (strong-normalisation; strong-normalisationₗ)
|
||
|
||
-- Canonicity: closed terms reduce to introduction forms, closed natural
|
||
-- numbers to numerals.
|
||
open import univTypes.Decidability.Canonicity public
|
||
using (canonicity; canonicity-ℕ; ⌜_⌝)
|
||
|
||
-- Consistency relative to a model of set theory: Consistency S has
|
||
-- no-False, no-0≡1 and no-∀A→A for every instance S of the set-theory interface.
|
||
open import univTypes.Model.SetTheory public using (SetTheory)
|
||
import univTypes.Model.Consistency
|
||
module Consistency (S : SetTheory) = univTypes.Model.Consistency S
|
||
|
||
-- The same, from the ZF axioms (con-leche style) with ω·2 universes.
|
||
open import univTypes.Model.ZF public using (ZF)
|
||
open import univTypes.Model.ConsistencyZF public
|
||
renaming (no-False to no-False-ZF; no-0≡1 to no-0≡1-ZF; no-∀A→A to no-∀A→A-ZF)
|