quox/golden-tests/tests/useless-coe/coe.quox

10 lines
285 B
Text
Raw Normal View History

2024-05-28 11:00:01 -04:00
-- non-dependent coe should reduce to its body
def five : = 5
def five? : = coe 5
def eq : five ≡ five? : = δ _ ⇒ 5
def subst1 : 0.(P : → ★) → P five → P five? = λ P p ⇒ p
def subst2 : 0.(P : → ★) → P five? → P five = λ P p ⇒ p