lean4-htt/tests/lean/whnf_cache_bug.lean
2017-05-15 09:41:31 -07:00

11 lines
179 B
Text

open tactic
example : true :=
by do
N ← to_expr ``(nat),
e ← mk_meta_var N,
whnf e >>= trace,
s ← to_expr ``(1 + 1),
unify e s,
whnf e >>= trace,
constructor