2014-01-05 20:05:08 +00:00
|
|
|
variables p q r : Bool
|
2013-11-29 02:17:15 +00:00
|
|
|
|
2014-01-05 18:32:47 +00:00
|
|
|
(*
|
2013-11-29 02:17:15 +00:00
|
|
|
local env = get_environment()
|
|
|
|
local conjecture = parse_lean('p => q => p && q')
|
2013-12-26 23:54:53 +00:00
|
|
|
local tac = Repeat(conj_tac() ^ imp_tac() ^ assumption_tac())
|
2013-11-29 02:17:15 +00:00
|
|
|
local proof = tac:solve(env, context(), conjecture)
|
|
|
|
env:add_theorem("T1", conjecture, proof)
|
2014-01-05 18:32:47 +00:00
|
|
|
*)
|
2013-11-29 02:17:15 +00:00
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
print environment 1.
|