module univTypes.Tests.Nat where -- natrec with a constant motive: plus, times and factorial, typed by -- ⊢-natrec. Checked by typechecking this file. open import Data.Nat using (zero; suc) open import Data.Fin using (zero; suc) open import Relation.Binary.PropositionalEquality using (refl) open import univTypes.Specification -- Constant motive λx. ℕ, and β-conversion between ℕ and P · a. P : ∀ {n} → Term n P = `λ[x⦂ `ℕ ] `ℕ ⊢P : ∀ {n} {Γ : Context n} → Γ ⊢ P ⦂ ∀[x⦂ `ℕ ] `Set ⊢P = ⊢-λ (⊢-Set