Skip to content

Commit 4fa577b

Browse files
committed
edit zero-≤pos, using an easier proof, add zero-<possuc
1 parent e68299e commit 4fa577b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Cubical/Data/Int/Fast/Order.agda

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,12 @@ isProp≤ {m} {n} (k , p) (l , q)
113113
isProp< : isProp (m < n)
114114
isProp< {m} = isProp≤ {sucℤ m}
115115

116+
-- this proof warrants the particular order of summands in the definition of order
116117
zero-≤pos : 0 ≤ pos l
117-
zero-≤pos {l} = l , (sym (pos0+ (pos l)))
118+
zero-≤pos {l} = l , refl
119+
120+
zero-<possuc : 0 < pos (suc l)
121+
zero-<possuc {l} = l , refl
118122

119123
negsuc≤-zero : negsuc k ≤ 0
120124
negsuc≤-zero {k} = suc k , nℕ-n≡0 k

0 commit comments

Comments
 (0)