2013-09-03 03:05:47 +00:00
|
|
|
|
Set: pp::colors
|
2013-09-03 17:44:51 +00:00
|
|
|
|
Set: pp::unicode
|
2014-01-01 21:52:25 +00:00
|
|
|
|
Imported 'Int'
|
2013-09-09 05:54:22 +00:00
|
|
|
|
10 + 20 : ℕ
|
|
|
|
|
10 : ℕ
|
|
|
|
|
10 - 20 : ℤ
|
2013-09-02 19:24:29 +00:00
|
|
|
|
-10
|
|
|
|
|
5
|
2013-09-09 05:54:22 +00:00
|
|
|
|
15 + 10 - 20 : ℤ
|
2013-09-02 19:24:29 +00:00
|
|
|
|
Assumed: x
|
|
|
|
|
Assumed: n
|
|
|
|
|
Assumed: m
|
|
|
|
|
n + m
|
|
|
|
|
n + x + m
|
2013-09-02 19:29:21 +00:00
|
|
|
|
Set: lean::pp::coercion
|
2013-12-19 20:46:14 +00:00
|
|
|
|
nat_to_int n + x + nat_to_int m + nat_to_int 10
|
|
|
|
|
x + nat_to_int n + nat_to_int m + nat_to_int 10
|
|
|
|
|
nat_to_int (n + m + 10) + x
|
2013-09-02 19:29:21 +00:00
|
|
|
|
Set: lean::pp::notation
|
2013-10-29 17:05:46 +00:00
|
|
|
|
Int::add (nat_to_int (Nat::add (Nat::add n m) 10)) x
|