2014-01-05 16:52:46 +00:00
|
|
|
-- Annotating lemmas
|
2013-09-06 17:06:26 +00:00
|
|
|
|
2014-01-08 08:38:39 +00:00
|
|
|
theorem simple (p q r : Bool) : (p → q) ∧ (q → r) → p → r :=
|
|
|
|
λ H_pq_qr H_p,
|
2014-01-09 16:33:52 +00:00
|
|
|
let P_pq : (p → q) := and_eliml H_pq_qr,
|
|
|
|
P_qr : (q → r) := and_elimr H_pq_qr,
|
2014-01-08 08:38:39 +00:00
|
|
|
P_q : q := P_pq H_p
|
|
|
|
in P_qr P_q
|
2013-09-06 17:06:26 +00:00
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
print environment 1
|