fix equality types
This commit is contained in:
parent
15f6f4c8a4
commit
924fd991f9
2 changed files with 23 additions and 2 deletions
|
@ -257,9 +257,9 @@ parameters {auto _ : IsQty q}
|
|||
Y t' => checkTypeC (extendDim t.name ctx) t' u
|
||||
N t' => checkTypeC ctx t' u
|
||||
-- if Ψ | Γ ⊢₀ l ⇐ A‹0›
|
||||
check0 ctx t.zero l
|
||||
check0 ctx l t.zero
|
||||
-- if Ψ | Γ ⊢₀ r ⇐ A‹1›
|
||||
check0 ctx t.one r
|
||||
check0 ctx r t.one
|
||||
-- then Ψ | Γ ⊢₀ Eq [i ⇒ A] l r ⇐ Type ℓ
|
||||
|
||||
checkType' ctx t@(DLam {}) u =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue