57c0006916
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
18 lines
333 B
Text
18 lines
333 B
Text
import Int.
|
|
check 10 + 20
|
|
check 10
|
|
check 10 - 20
|
|
eval 10 - 20
|
|
eval 15 + 10 - 20
|
|
check 15 + 10 - 20
|
|
variable x : Int
|
|
variable n : Nat
|
|
variable m : Nat
|
|
print n + m
|
|
print n + x + m
|
|
set_option lean::pp::coercion true
|
|
print n + x + m + 10
|
|
print x + n + m + 10
|
|
print n + m + 10 + x
|
|
set_option lean::pp::notation false
|
|
print n + m + 10 + x
|