lean2/tests/lean/bad9.lean
Leonardo de Moura a43020b31b refactor(kernel): remove heterogeneous equality
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-16 17:39:12 -08:00

8 lines
No EOL
203 B
Text

set_option pp::implicit true.
set_option pp::colors false.
variable N : Type.
check
fun (a : N) (f : N -> N) (H : f a = a),
let calc1 : f a = a := substp (fun x : N, f a = _) (refl (f a)) H
in calc1.