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))
162162-- Properties of _≤_
163163------------------------------------------------------------------------
164164
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+
165170------------------------------------------------------------------------
166171-- Relational properties of _≤_
167172
@@ -331,9 +336,6 @@ n≤1⇒n≡0∨n≡1 (s≤s z≤n) = inj₂ refl
331336≰⇒> {suc m} {zero} _ = z<s
332337≰⇒> {suc m} {suc n} m≰n = s<s (≰⇒> (m≰n ∘ s≤s))
333338
334- ≰⇒≥ : _≰_ ⇒ _≥_
335- ≰⇒≥ = <⇒≤ ∘ ≰⇒>
336-
337339≮⇒≥ : _≮_ ⇒ _≥_
338340≮⇒≥ {_} {zero} _ = z≤n
339341≮⇒≥ {zero} {suc j} 1≮j+1 = contradiction z<s 1≮j+1
You can’t perform that action at this time.
0 commit comments