2014-09-17 21:39:05 +00:00
|
|
|
definition Prop : Type.{1} := Type.{0}
|
2014-09-06 18:05:07 +00:00
|
|
|
context
|
2014-10-09 14:13:06 +00:00
|
|
|
variable N : Type.{1}
|
|
|
|
variables a b c : N
|
|
|
|
variable and : Prop → Prop → Prop
|
2014-07-01 23:55:41 +00:00
|
|
|
infixr `∧`:35 := and
|
2014-10-09 14:13:06 +00:00
|
|
|
variable le : N → N → Prop
|
|
|
|
variable lt : N → N → Prop
|
2014-06-18 16:48:47 +00:00
|
|
|
precedence `≤`:50
|
|
|
|
precedence `<`:50
|
|
|
|
infixl ≤ := le
|
|
|
|
infixl < := lt
|
|
|
|
check a ≤ b
|
2014-07-22 16:43:18 +00:00
|
|
|
definition T : Prop := a ≤ b
|
2014-06-18 16:48:47 +00:00
|
|
|
check T
|
|
|
|
end
|
|
|
|
check T
|
|
|
|
(*
|
|
|
|
print(get_env():find("T"):value())
|
2014-09-06 18:05:07 +00:00
|
|
|
*)
|