Skip to content

Commit 4b8be6e

Browse files
authored
Merge pull request #18 from LorenzoMolena/ordered-commutative-rings-wip
add `<-≤-weaken` to `OrderedCommRing`
2 parents 5341768 + 18be858 commit 4b8be6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cubical/Algebra/OrderedCommRing/Base.agda

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ record IsOrderedCommRing
3636
isCommRing : IsCommRing 0r 1r _+_ _·_ -_
3737
isPseudolattice : IsPseudolattice _≤_
3838
isStrictOrder : IsStrictOrder _<_
39+
<-≤-weaken : x y x < y x ≤ y
3940
≤≃¬> : x y (x ≤ y) ≃ (¬ (y < x))
4041
+MonoR≤ : x y z x ≤ y (x + z) ≤ (y + z)
4142
+MonoR< : x y z x < y (x + z) < (y + z)
@@ -93,6 +94,7 @@ module _ {R : Type ℓ} {0r 1r : R} {_+_ _·_ : R → R → R} { -_ : R → R }
9394
(is-trans : isTrans _<_)
9495
(is-asym : isAsym _<_)
9596
(is-weakly-linear : isWeaklyLinear _<_)
97+
(<-≤-weaken : x y x < y x ≤ y)
9698
(≤≃¬> : x y (x ≤ y) ≃ (¬ (y < x)))
9799
(+MonoR≤ : x y z x ≤ y (x + z) ≤ (y + z))
98100
(+MonoR< : x y z x < y (x + z) < (y + z))
@@ -112,6 +114,7 @@ module _ {R : Type ℓ} {0r 1r : R} {_+_ _·_ : R → R → R} { -_ : R → R }
112114
is-meet-semipseudolattice is-join-semipseudolattice
113115
IsOrderedCommRing.isStrictOrder OCR =
114116
isstrictorder is-setR is-prop-valued is-irrefl is-trans is-asym is-weakly-linear
117+
IsOrderedCommRing.<-≤-weaken OCR = <-≤-weaken
115118
IsOrderedCommRing.≤≃¬> OCR = ≤≃¬>
116119
IsOrderedCommRing.+MonoR≤ OCR = +MonoR≤
117120
IsOrderedCommRing.+MonoR< OCR = +MonoR<

0 commit comments

Comments
 (0)