File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,11 @@ m ≟ n = map′ (≡ᵇ⇒≡ m n) (≡⇒≡ᵇ m n) (T? (m ≡ᵇ n))
162
162
-- Properties of _≤_
163
163
------------------------------------------------------------------------
164
164
165
+ ≰⇒≥ : _≰_ ⇒ _≥_
166
+ ≰⇒≥ {m} {zero} m≰n = z≤n
167
+ ≰⇒≥ {zero} {suc n} m≰n = contradiction z≤n m≰n
168
+ ≰⇒≥ {suc m} {suc n} m≰n = s≤s (≰⇒≥ (m≰n ∘ s≤s))
169
+
165
170
------------------------------------------------------------------------
166
171
-- Relational properties of _≤_
167
172
@@ -331,9 +336,6 @@ n≤1⇒n≡0∨n≡1 (s≤s z≤n) = inj₂ refl
331
336
≰⇒> {suc m} {zero} _ = z<s
332
337
≰⇒> {suc m} {suc n} m≰n = s<s (≰⇒> (m≰n ∘ s≤s))
333
338
334
- ≰⇒≥ : _≰_ ⇒ _≥_
335
- ≰⇒≥ = <⇒≤ ∘ ≰⇒>
336
-
337
339
≮⇒≥ : _≮_ ⇒ _≥_
338
340
≮⇒≥ {_} {zero} _ = z≤n
339
341
≮⇒≥ {zero} {suc j} 1≮j+1 = contradiction z<s 1≮j+1
You can’t perform that action at this time.
0 commit comments