Files
univTypes/Theorems.agda
Julius FischerandClaude Opus 5.5 46a00284b0
Typecheck / agda (push) Successful in 2m33s
Algorithmic: a sound, terminating bidirectional checker
Algorithmic/Checker: infer / check returning declarative derivations;
pairs and refl are checked, everything else inferred; types are only
weak-head reduced, and compared with the lazy conversion algorithm.
Algorithmic/Strengthening decides syntactically whether a codomain level
depends on the bound variable (⊢-∀ vs ⊢-∀-dep); Algorithmic/Sorts tracks
the sort of each type and reads sorts off type formers. Not complete
(documented in README and TODO). Tests/Algorithmic checks the syntactic
parts that compute inside Agda.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7dfaHQ3dYSfqcxR7V5UrJ
2026-11-23 01:11:55 +01:00

41 lines
1.8 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-ℕ; ⌜_⌝)
-- Algorithmic typing: lazy conversion and a sound, terminating checker.
open import univTypes.Algorithmic.Conversion public using (conv)
open import univTypes.Algorithmic.Checker public using (infer-closed; check-closed)
-- 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