lean4-htt/tests/lean/run/dependent_seq.lean
Mario Carneiro 97a01d25fd fix(init/meta/tactic): skip solved goals in seq_focus and seq
and all/any_goals. This occurs when solving the first subgoal generated by `tac1; tac2` closes the second goal as well, before the second `tac2` invocation is run. Reported by @jldodds on gitter.
2017-07-21 02:10:48 -07:00

8 lines
170 B
Text

theorem test (n : nat) (h : n = n) : true := trivial
example (h : 3 = 3) : true :=
by apply test; assumption
example (h : 3 = 3) : true :=
by apply test; [assumption]