lean4-htt/tests/lean/run/tc_loop.lean
Leonardo de Moura 8993d0738a feat(frontends/lean): remove #elab command
The check command is now using the new elaborator.
2016-08-02 15:05:24 -07:00

8 lines
302 B
Text

open tactic
check (do { trace "foo", trace_state } : tactic unit)
axiom Sorry {A : Type} : A
check
λ (A : Type) (a b c d : A) (H₁ : a = b) (H₂ : c = b) (H₃ : d = c),
have a = c, by do { trace "have-expr...", trace_state, transitivity, assumption, symmetry, assumption },
show a = d, from Sorry