lean2/tests/lean/tst10.lean
Leonardo de Moura a3bbd9fbb5 Minimize use the colors in tests. The colors make the diff hard to read
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-01 10:34:57 -07:00

27 lines
424 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set pp::colors false
Variable a : Bool
Variable b : Bool
(* Conjunctions *)
Show a && b
Show a && b && a
Show a /\ b
Show a ∧ b
Show (and a b)
Show and a b
(* Disjunctions *)
Show a || b
Show a \/ b
Show a b
Show (or a b)
Show or a (or a b)
(* Simple Formulas *)
Show a => b => a
Check a => b
Eval a => a
Eval true => a
(* Simple proof *)
Axiom H1 : a
Axiom H2 : a => b
Check MP::explicit
Show MP H2 H1
Check MP H2 H1