lean2/tests/lean/unifier_bug.lean

8 lines
203 B
Text
Raw Normal View History

import logic
theorem test {A B : Type} {a : A} {b : B} (H : a == b) :
eq.rec_on (type_eq_of_heq H) a = b
:=
-- Remark the error message should not occur in the token theorem
heq.rec_on H rfl