2014-01-05 18:32:47 +00:00
|
|
|
(* import("tactic.lua") *)
|
2014-01-05 20:05:08 +00:00
|
|
|
definition f(a : Bool) : Bool := not a.
|
2013-12-01 16:51:56 +00:00
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
theorem T (a b : Bool) : a \/ b => (f b) => a := _.
|
2013-12-26 23:54:53 +00:00
|
|
|
apply Discharge
|
|
|
|
apply Discharge
|
|
|
|
disj_hyp
|
|
|
|
unfold f
|
|
|
|
exact
|
|
|
|
absurd
|
2013-12-01 16:51:56 +00:00
|
|
|
done
|
2013-12-26 23:54:53 +00:00
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
print environment 1.
|