Files
Julius FischerandClaude Opus 5.5 5d83754d18
Typecheck / agda (push) Successful in 2m22s
True and False, with ex falso; False is empty in the model
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

37 lines
1.6 KiB
Agda
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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