2013-09-02 20:05:47 -07:00
|
|
|
|
Set: pp::colors
|
2013-09-03 10:44:51 -07:00
|
|
|
|
Set: pp::unicode
|
2014-01-01 13:52:25 -08:00
|
|
|
|
Imported 'Int'
|
2013-09-08 22:54:22 -07:00
|
|
|
|
10 + 20 : ℕ
|
|
|
|
|
10 : ℕ
|
|
|
|
|
10 - 20 : ℤ
|
2014-02-01 18:27:14 -08:00
|
|
|
|
10 - 20
|
|
|
|
|
25 - 20
|
2013-09-08 22:54:22 -07:00
|
|
|
|
15 + 10 - 20 : ℤ
|
2013-09-02 12:24:29 -07:00
|
|
|
|
Assumed: x
|
|
|
|
|
Assumed: n
|
|
|
|
|
Assumed: m
|
|
|
|
|
n + m
|
|
|
|
|
n + x + m
|
2013-09-02 12:29:21 -07:00
|
|
|
|
Set: lean::pp::coercion
|
2013-12-19 12:46:14 -08: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 12:29:21 -07:00
|
|
|
|
Set: lean::pp::notation
|
2013-10-29 10:05:46 -07:00
|
|
|
|
Int::add (nat_to_int (Nat::add (Nat::add n m) 10)) x
|