2013-09-02 19:24:29 +00:00
|
|
|
Nat
|
|
|
|
Nat
|
|
|
|
Int
|
|
|
|
-10
|
|
|
|
5
|
|
|
|
Int
|
|
|
|
Assumed: x
|
|
|
|
Assumed: n
|
|
|
|
Assumed: m
|
|
|
|
n + m
|
|
|
|
n + x + m
|
2013-09-02 19:29:21 +00:00
|
|
|
Set: lean::pp::coercion
|
2013-09-02 19:24:29 +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-09-02 19:24:29 +00:00
|
|
|
Int::add (nat_to_int (Nat::add (Nat::add n m) 10)) x
|