2014-11-30 21:16:01 -08:00
|
|
|
prelude
|
2014-09-17 14:39:05 -07:00
|
|
|
definition Prop : Type.{1} := Type.{0}
|
2014-10-02 16:20:52 -07:00
|
|
|
constant N : Type.{1}
|
|
|
|
constant and : Prop → Prop → Prop
|
2014-07-01 16:55:41 -07:00
|
|
|
infixr `∧`:35 := and
|
2014-10-02 16:20:52 -07:00
|
|
|
constant le : N → N → Prop
|
|
|
|
constant lt : N → N → Prop
|
|
|
|
constant f : N → N
|
|
|
|
constant add : N → N → N
|
2014-07-03 16:38:49 -07:00
|
|
|
infixl `+`:65 := add
|
2014-06-18 09:14:50 -07:00
|
|
|
precedence `≤`:50
|
|
|
|
precedence `<`:50
|
|
|
|
infixl ≤ := le
|
|
|
|
infixl < := lt
|
2014-07-03 16:38:49 -07:00
|
|
|
notation A ≤ B:prev ≤ C:prev := A ≤ B ∧ B ≤ C
|
|
|
|
notation A ≤ B:prev < C:prev := A ≤ B ∧ B < C
|
|
|
|
notation A < B:prev ≤ C:prev := A < B ∧ B ≤ C
|
2014-10-02 16:20:52 -07:00
|
|
|
constants a b c d e : N
|
2014-07-03 16:38:49 -07:00
|
|
|
check a ≤ b ≤ f c + b ∧ a < b
|
2014-06-18 09:14:50 -07:00
|
|
|
check a ≤ d
|
|
|
|
check a < b ≤ c
|
|
|
|
check a ≤ b < c
|
|
|
|
check a < b
|