@@ -945,17 +945,17 @@ suc-mono (-≤+ {m}) = 0⊖m≤+ m
945
945
suc-mono (-≤- n≤m) = ⊖-monoʳ-≥-≤ zero n≤m
946
946
suc-mono (+≤+ m≤n) = +≤+ (s≤s m≤n)
947
947
948
- m+1≤n⇒m<n : ∀ {m n } → sucℤ m ≤ n → m < n
949
- m+1≤n⇒m<n {+ m } {+ _} (+≤+ m≤n ) = +<+ m≤n
950
- m+1≤n⇒m<n { -[1+ 0 ]} {+ n } p = -<+
951
- m+1≤n⇒m<n { -[1+ suc m ]} {+ n } -≤+ = -<+
952
- m+1≤n⇒m<n { -[1+ suc m ]} { -[1+ n ]} (-≤- n≤m ) = -<- (ℕ.s≤s n≤m )
953
-
954
- m<n⇒m+1≤n : ∀ {m n } → m < n → sucℤ m ≤ n
955
- m<n⇒m+1≤n {+ _} {+ _} (+<+ m<n ) = +≤+ m<n
956
- m<n⇒m+1≤n { -[1+ 0 ]} {+ _} -<+ = +≤+ z≤n
957
- m<n⇒m+1≤n { -[1+ suc m ]} { -[1+ _ ]} (-<- n<m ) = -≤- (ℕ.≤-pred n<m )
958
- m<n⇒m+1≤n { -[1+ suc m ]} {+ _} -<+ = -≤+
948
+ suc[i]≤j⇒i<j : ∀ {i j } → sucℤ i ≤ j → i < j
949
+ suc[i]≤j⇒i<j {+ i } {+ _} (+≤+ i≤j ) = +<+ i≤j
950
+ suc[i]≤j⇒i<j { -[1+ 0 ]} {+ j } p = -<+
951
+ suc[i]≤j⇒i<j { -[1+ suc i ]} {+ j } -≤+ = -<+
952
+ suc[i]≤j⇒i<j { -[1+ suc i ]} { -[1+ j ]} (-≤- j≤i ) = -<- (ℕ.s≤s j≤i )
953
+
954
+ i<j⇒suc[i]≤j : ∀ {i j } → i < j → sucℤ i ≤ j
955
+ i<j⇒suc[i]≤j {+ _} {+ _} (+<+ i<j ) = +≤+ i<j
956
+ i<j⇒suc[i]≤j { -[1+ 0 ]} {+ _} -<+ = +≤+ z≤n
957
+ i<j⇒suc[i]≤j { -[1+ suc i ]} { -[1+ _ ]} (-<- j<i ) = -≤- (ℕ.≤-pred j<i )
958
+ i<j⇒suc[i]≤j { -[1+ suc i ]} {+ _} -<+ = -≤+
959
959
960
960
------------------------------------------------------------------------
961
961
-- Properties of pred
@@ -1901,6 +1901,6 @@ Please use _<_ instead."
1901
1901
1902
1902
[1+m]*n≡n+m*n = suc-*
1903
1903
{-# WARNING_ON_USAGE [1+m]*n≡n+m*n
1904
- "Warning: [1+m]*n≡n+m*n was deprecated in v1.1 .
1904
+ "Warning: [1+m]*n≡n+m*n was deprecated in v1.2 .
1905
1905
Please use suc-* instead."
1906
1906
#-}
0 commit comments