lean2/tests/lean/run/tactic3.lean
Leonardo de Moura 754276a660 feat(frontends/lean): round parenthesis for [tactic1 | tactic2]
This commit also replaces the notation for divides
     `(` a `|` b `)`
with
      a `∣` b

The character `∣` is entered by typing \|

closes #516
2015-04-06 09:24:09 -07:00

9 lines
193 B
Text

import logic
open tactic
theorem tst {A B : Prop} (H1 : A) (H2 : B) : A
:= by (trace "first"; state; now |
trace "second"; state; fail |
trace "third"; assumption)
check tst