@dselsam You have assumed that the left-hand-side (t) and
right-hand-side (s) of (t = s) and (t == s) are the last two arguments.
This is a reasonable assumption, and it is correct for eq, but it is
incorrect for heq.
The type of heq is
```
Π {α : Sort u_1}, α → Π {β : Sort u_1}, β → Prop
```
Do you recall other places where we may have made this assumption?
4 lines
158 B
Text
4 lines
158 B
Text
universe variable u
|
|
|
|
inductive pred : ∀ (X : Type u), list X → Type (u+1)
|
|
| foo X (l1 : list X) (l2 : list (option X)) : pred (option X) l2 → pred X l1
|