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
37 lines
1.6 KiB
Agda
37 lines
1.6 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
|