lean4-htt/tests/lean/1817.lean
2017-09-07 15:23:58 -07:00

19 lines
219 B
Text

def f : int → int := λ _, 0
#check int.add (-1) 1
#check (-1 : int)
#check 2 + (-1 : int)
#check (2 + -1 : int)
#check f (-1)
#check 2 * (-1 : int)
#check (2 * -1 : int)
#check f 1 < -2
#check (- - 2 : int)