2014-12-01 05:16:01 +00:00
|
|
|
prelude
|
2014-09-17 21:39:05 +00:00
|
|
|
definition Prop : Type.{1} := Type.{0}
|
2015-04-22 02:33:21 +00:00
|
|
|
section
|
2014-10-09 14:13:06 +00:00
|
|
|
variable N : Type.{1}
|
|
|
|
variables a b c : N
|
|
|
|
variable and : Prop → Prop → Prop
|
2015-04-22 02:33:21 +00:00
|
|
|
local 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
|
2015-04-22 02:33:21 +00:00
|
|
|
local infixl ≤ := le
|
|
|
|
local infixl < := lt
|
2014-06-18 16:48:47 +00:00
|
|
|
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
|
|
|
*)
|