lean2/tests/lean/let2.lean.expected.out
Leonardo de Moura 935c2a03a3 feat(*): change name conventions for Lean builtin libraries
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 19:21:44 -08:00

12 lines
437 B
Text

Set: pp::colors
Set: pp::unicode
Proved: simple
theorem simple (p q r : Bool) : (p ⇒ q) ∧ (q ⇒ r) ⇒ p ⇒ r :=
discharge
(λ H_pq_qr : (p ⇒ q) ∧ (q ⇒ r),
discharge
(λ H_p : p,
let P_pq : p ⇒ q := and::eliml H_pq_qr,
P_qr : q ⇒ r := and::elimr H_pq_qr,
P_q : q := P_pq ◂ H_p
in P_qr ◂ P_q))