15 lines
320 B
Text
15 lines
320 B
Text
definition Prop : Type.{1} := Type.{0}
|
|
variable eq : forall {A : Type}, A → A → Prop
|
|
variable N : Type.{1}
|
|
variables a b c : N
|
|
infix `=`:50 := eq
|
|
check a = b
|
|
|
|
variable f : Prop → N → N
|
|
variable g : N → N → N
|
|
precedence `+`:50
|
|
infixl + := f
|
|
infixl + := g
|
|
check a + b + c
|
|
variable p : Prop
|
|
check p + a + b + c
|