c9f66bb6af
minor refactor
7f72ed56fb
add test for regularity
67c825ab39
add coercion regularity to the equality checker (not to whnf)
ddc2422ffb
fix .gitignore
7f72ed56fb
add test for regularity
67c825ab39
add coercion regularity to the equality checker (not to whnf)
9a92ea5463
add test for regularity
92ac4a0d05
add coercion regularity directly
ddc2422ffb
fix .gitignore
3f7031c613
pack bump
full equality check in coercion boundary
test case:
def0 ugh : (A : ★) → (AA : A ≡ A : ★) → (s : A) →
(P : A → ★) → P s → P (coe (𝑖 ⇒ AA @𝑖) s) =
λ A AA s P p ⇒ p
full equality check in coercion boundary
the rule in xtt (coercion regularity):
\frac{
\Psi, j, j' \mid \Gamma \vdash
A\langle j/i \rangle = A\langle j'/i \rangle \; \mathit{type}_k
}{
\Psi \mid \Gamma \vdash
…
8823154973
add golden test stuff
b7dc5ffdc4
add check for #[main] type
dd697ba56e
add CheckBuiltin
32b9fe124f
minor tweaks in Q.Typing.Context
check the #[main] function is the right type
b7dc5ffdc4
add check for #[main] type
dd697ba56e
add CheckBuiltin
32b9fe124f
minor tweaks in Q.Typing.Context