module univTypes.Decidability.Statement where open import Data.Nat using (ℕ) open import Data.Product using (∃-syntax; _×_) open import Relation.Nullary using (Dec) open import univTypes.Specification -- Decidability of conversion, stated as types (to be inhabited). -- -- On arbitrary terms conversion is undecidable (by Scott–Curry, already -- `e ≈ λx. x` is undecidable for untyped e), so the statements are -- restricted to well-typed terms in well-formed contexts. The two terms may -- have different types: the type checker compares types that live in -- different universes. -- Well-formed contexts -------------------------------------------------------- -- Every entry is a type. Each type reaches some Setω m (small types via -- ⊢-Set