diff --git a/CHANGELOG.md b/CHANGELOG.md index 99dea4e749..faea9f24d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -99,6 +99,28 @@ Deprecated names witness ↦ satisfiable ``` +* In `Data.List.Relation.Binary.Lex.NonStrict`: + ```agda + <-decidable ↦ _ xs≮ys xs≉ys ys (¬≤-next x≮y xs≮ys) (xs≉ys ∘ tail) (next (sym x≈y) ys xs≮ys xs≋̸ys xs>ys = tri> (≰-next x⊀y xs≮ys) (xs≋̸ys ∘ tail) (next (≈-sym x≈y) xs>ys) - <-decidable : Decidable _≈_ → Decidable _≺_ → + _ys = inj₂ (next (≈-sym x≈y) xs>ys) - ≤-dec : Decidable _≈_ → Decidable _≺_ → + _≤?_ : Decidable _≈_ → Decidable _≺_ → ∀ {m n} → Decidable (_≤_ {m} {n}) - ≤-dec = Core.decidable (yes tt) + _≤?_ = Core.decidable (yes tt) ≤-irrelevant : Irrelevant _≈_ → Irrelevant _≺_ → Irreflexive _≈_ _≺_ → ∀ {m n} → Irrelevant (_≤_ {m} {n}) @@ -278,10 +278,10 @@ module _ {_≈_ : Rel A ℓ₁} {_≺_ : Rel A ℓ₂} where ≤-isDecPartialOrder : IsDecStrictPartialOrder _≈_ _≺_ → ∀ {n} → IsDecPartialOrder (_≋_ {n} {n}) _≤_ ≤-isDecPartialOrder ≺-isDecStrictPartialOrder = record - { isPartialOrder = ≤-isPartialOrder isStrictPartialOrder - ; _≟_ = Pointwise.decidable _≟_ - ; _≤?_ = ≤-dec _≟_ _