2014-10-20 15:31:16 +00:00
|
|
|
VISIT consume_args.lean
|
|
|
|
SYNC 7
|
|
|
|
import logic data.nat.basic
|
2015-10-14 19:27:09 +00:00
|
|
|
open nat eq.ops algebra
|
2014-10-20 15:31:16 +00:00
|
|
|
|
|
|
|
theorem tst (a b c : nat) : a + b + c = a + c + b :=
|
|
|
|
calc a + b + c = a + (b + c) : !add.assoc
|
|
|
|
... = a + (c + b) : {!add.comm}
|
|
|
|
... = a + c + b : (!add.assoc)⁻¹
|
|
|
|
WAIT
|
|
|
|
INFO 7
|