diff --git a/CHANGELOG.md b/CHANGELOG.md index f16ed00b65..47bb4889cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ Bug-fixes Non-backwards compatible changes -------------------------------- +* [issue #2471](https://github.com/agda/agda-stdlib/issues/2471) In `Relation.Binary.Definitions`, the left/right order of the components of `_Respects₂_` have been swapped. + Minor improvements ------------------ diff --git a/src/Algebra/Properties/Magma/Divisibility.agda b/src/Algebra/Properties/Magma/Divisibility.agda index d2e0091a12..c0bcc2d72d 100644 --- a/src/Algebra/Properties/Magma/Divisibility.agda +++ b/src/Algebra/Properties/Magma/Divisibility.agda @@ -33,7 +33,7 @@ open import Algebra.Definitions.RawMagma rawMagma public ∣-respˡ-≈ x≈z (q , qx≈y) = q , trans (∙-congˡ (sym x≈z)) qx≈y ∣-resp-≈ : _∣_ Respects₂ _≈_ -∣-resp-≈ = ∣-respʳ-≈ , ∣-respˡ-≈ +∣-resp-≈ = ∣-respˡ-≈ , ∣-respʳ-≈ x∣yx : ∀ x y → x ∣ y ∙ x x∣yx x y = y , refl @@ -51,7 +51,7 @@ xy≈z⇒y∣z x y xy≈z = ∣-respʳ-≈ xy≈z (x∣yx y x) ∤-respʳ-≈ x≈y z∤x z∣y = contradiction (∣-respʳ-≈ (sym x≈y) z∣y) z∤x ∤-resp-≈ : _∤_ Respects₂ _≈_ -∤-resp-≈ = ∤-respʳ-≈ , ∤-respˡ-≈ +∤-resp-≈ = ∤-respˡ-≈ , ∤-respʳ-≈ ------------------------------------------------------------------------ -- Properties of mutual divisibility _∥_ @@ -66,7 +66,7 @@ xy≈z⇒y∣z x y xy≈z = ∣-respʳ-≈ xy≈z (x∣yx y x) ∥-respʳ-≈ y≈z (x∣y , y∣x) = ∣-respʳ-≈ y≈z x∣y , ∣-respˡ-≈ y≈z y∣x ∥-resp-≈ : _∥_ Respects₂ _≈_ -∥-resp-≈ = ∥-respʳ-≈ , ∥-respˡ-≈ +∥-resp-≈ = ∥-respˡ-≈ , ∥-respʳ-≈ ------------------------------------------------------------------------ -- Properties of mutual non-divisibility _∤∤_ @@ -81,7 +81,7 @@ xy≈z⇒y∣z x y xy≈z = ∣-respʳ-≈ xy≈z (x∣yx y x) ∦-respʳ-≈ x≈y z∦x z∥y = contradiction (∥-respʳ-≈ (sym x≈y) z∥y) z∦x ∦-resp-≈ : _∦_ Respects₂ _≈_ -∦-resp-≈ = ∦-respʳ-≈ , ∦-respˡ-≈ +∦-resp-≈ = ∦-respˡ-≈ , ∦-respʳ-≈ ------------------------------------------------------------------------ diff --git a/src/Data/Bool/Properties.agda b/src/Data/Bool/Properties.agda index eb7ffb3869..98cb0234c0 100644 --- a/src/Data/Bool/Properties.agda +++ b/src/Data/Bool/Properties.agda @@ -186,7 +186,7 @@ false ?_ = flip _?_ = flip _?_ = flip _?_ = flip _