lean2/tests/lean/interactive/t11.lean
Leonardo de Moura 2ddcc32c1d fix(frontends/lean/notation): change the precedence of '->'
It should match the precedence of the implication '=>'.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-06 13:23:24 -08:00

14 lines
355 B
Text

(**
auto = REPEAT(ORELSE(conj_hyp_tac, conj_tac, assumption_tac))
**)
Theorem T2 (A B : Bool) : A /\ B -> B /\ A :=
fun assumption : A /\ B,
let lemma1 : A := _,
lemma2 : B := _,
conclusion : B /\ A := _
in conclusion.
apply auto. done.
apply auto. done.
apply auto. done.