Open UlfNorell opened 3 weeks ago
Cubical fails on this type, because the level of A
is not being generalised over:
++FinRid : {n : ℕ} (U : FinVec A n) (V : FinVec A 0)
→ PathP (λ i → FinVec A (+-zero n i)) (U ++Fin V) U
The culprit is the overloaded 0
(replacing it with zero
makes it go through). I haven't dug into why the level of A
shows up in the constraint for the literal, or why it's not resolved at the point of generalisation.
Fixes #6141