diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-06-10 17:28:53 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-06-10 17:28:53 +0900 |
commit | 4b8a7e1e9640da64fd17a74ebc176909a3aea944 (patch) | |
tree | 9b85ed495daeb8968d8cd9f7abd45a8244e341b1 /src/Relation/Binary.agda | |
parent | 22d7b46b012db080c7e94b064eef55fc25b31eac (diff) |
Imported Upstream version 0.12
Diffstat (limited to 'src/Relation/Binary.agda')
-rw-r--r-- | src/Relation/Binary.agda | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Relation/Binary.agda b/src/Relation/Binary.agda index 27fc8e0..54fef09 100644 --- a/src/Relation/Binary.agda +++ b/src/Relation/Binary.agda @@ -358,7 +358,6 @@ record IsStrictTotalOrder {a ℓ₁ ℓ₂} {A : Set a} isEquivalence : IsEquivalence _≈_ trans : Transitive _<_ compare : Trichotomous _≈_ _<_ - <-resp-≈ : _<_ Respects₂ _≈_ infix 4 _≟_ _<?_ @@ -376,10 +375,13 @@ record IsStrictTotalOrder {a ℓ₁ ℓ₂} {A : Set a} module Eq = IsDecEquivalence isDecEquivalence + <-resp-≈ : _<_ Respects₂ _≈_ + <-resp-≈ = trans∧tri⟶resp≈ Eq.sym Eq.trans trans compare + isStrictPartialOrder : IsStrictPartialOrder _≈_ _<_ isStrictPartialOrder = record { isEquivalence = isEquivalence - ; irrefl = tri⟶irr <-resp-≈ Eq.sym compare + ; irrefl = tri⟶irr compare ; trans = trans ; <-resp-≈ = <-resp-≈ } |