module univTypes.Tests.Typing where -- Example derivations for the typing rules (universe hierarchy, cumulativity, -- level-dependent ∀/∃, ≡) and for Value. Checked by typechecking this file. open import Relation.Binary.PropositionalEquality using (refl) open import Data.Fin using (zero; suc) open import univTypes.SubjectReduction.Specification ⊢Set : ∀ {n} {Γ : Context n} → Γ ⊢ `Set ⦂ `Setn (`lsuc `lzero) ⊢Set = ⊢-Setn ⊢-lzero -- ∀ (l : Level) → Set l : Setω₀ level-poly : ∅ ⊢ ∀[x⦂ `Level ] `Setn (`latom (` zero)) ⦂ `Setω 0 level-poly = ⊢-∀-dep (⊢-Set