2014-11-07 16:21:42 +00:00
|
|
|
import logic data.num
|
2014-11-07 15:51:40 +00:00
|
|
|
open num
|
|
|
|
|
|
|
|
constant f : num → num
|
|
|
|
constant g : num → num → num
|
|
|
|
|
|
|
|
notation A `:+1`:100000 := f A
|
|
|
|
|
|
|
|
check g 0:+1:+1 (1:+1 + 2:+1):+1
|
|
|
|
|
|
|
|
set_option pp.notation false
|
|
|
|
|
|
|
|
check g 0:+1:+1 (1:+1 + 2:+1):+1
|