lean4-htt/tests/lean/interactive/focus.lean
Leonardo de Moura 5e397795cf fix(library/init/meta): focus tactic
This commit also add the interactive tactic 'focus'
2017-02-09 10:02:19 -08:00

11 lines
233 B
Text

example (a b c : nat) : a = b → b = 0 → a = 0 ∧ b = a :=
begin
intros, constructor,
focus { subst a
--^ "command":"info"
},
--^ "command":"info"
assumption,
--^ "command":"info"
subst a
end