lean2/tests/lean/run/tactic3.lean
Leonardo de Moura 6ab46396d8 feat(library/tactic): expose 'trace' tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-02 10:52:45 -07:00

9 lines
No EOL
187 B
Text

import standard
using tactic
theorem tst {A B : Bool} (H1 : A) (H2 : B) : A
:= by trace "first"; state; now |
trace "second"; state; fail |
trace "third"; exact
check tst