Skip to content

Commit 0af0768

Browse files
authored
[ fix ] CHANGELOG ahead of v2.4 (#2974)
* [ fix ] `CHANGELOG` * fix: 'weird quotes', plus some more reordering * fix: stupid unfolding of a definition in lemma statement
1 parent 928d3ee commit 0af0768

2 files changed

Lines changed: 36 additions & 39 deletions

File tree

CHANGELOG.md

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,9 @@ Minor improvements
6767
`refl`, `sym`, and `trans` have been weakened to allow relations of different
6868
levels to be used.
6969

70-
* Due to becoming large, `Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties`
71-
has been split into smaller modules
72-
`Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties.*`
73-
that are reexported by the original `Properties`.
70+
* The original `Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties` has been
71+
split up into smaller `Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties.*`
72+
modules that are reexported by `Properties`.
7473

7574
Deprecated modules
7675
------------------
@@ -152,10 +151,6 @@ Deprecated names
152151
New modules
153152
-----------
154153

155-
* Added tactic ring solvers for rational numbers (issue #1879):
156-
`Data.Rational.Tactic.RingSolver`,
157-
`Data.Rational.Unnormalised.Tactic.RingSolver`.
158-
159154
* `Algebra.Construct.Sub.Group` for the definition of subgroups.
160155

161156
* `Algebra.Module.Construct.Sub.Bimodule` for the definition of subbimodules.
@@ -170,12 +165,6 @@ New modules
170165

171166
* `Data.List.Fresh.Membership.DecSetoid`.
172167

173-
* `Data.List.Relation.Binary.Permutation.Algorithmic{.Properties}` for the Choudhury and Fiore definition of permutation, and its equivalence with `Declarative` below.
174-
175-
* `Data.List.Relation.Binary.Permutation.Declarative{.Properties}` for the least congruence on `List` making `_++_` commutative, and its equivalence with the `Setoid` definition.
176-
177-
* `Effect.Monad.Random` and `Effect.Monad.Random.Instances` for an mtl-style randomness monad constraint.
178-
179168
* Various additions over non-empty lists:
180169
```
181170
Data.List.NonEmpty.Relation.Binary.Pointwise
@@ -184,6 +173,16 @@ New modules
184173
Data.List.NonEmpty.Membership.Setoid
185174
```
186175

176+
* `Data.List.Relation.Binary.Permutation.Algorithmic{.Properties}` for the Choudhury and Fiore definition of permutation, and its equivalence with `Declarative` below.
177+
178+
* `Data.List.Relation.Binary.Permutation.Declarative{.Properties}` for the least congruence on `List` making `_++_` commutative, and its equivalence with the `Setoid` definition.
179+
180+
* Added tactic ring solvers for rational numbers (issue #1879):
181+
```agda
182+
Data.Rational.Tactic.RingSolver
183+
Data.Rational.Unnormalised.Tactic.RingSolver
184+
```
185+
187186
* Refactoring of `Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties` as smaller modules:
188187
```
189188
Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties.Lookup
@@ -196,6 +195,8 @@ New modules
196195
Data.Tree.AVL.Indexed.Relation.Unary.Any.Properties.Singleton
197196
```
198197

198+
* `Effect.Monad.Random` and `Effect.Monad.Random.Instances` for an mtl-style randomness monad constraint.
199+
199200
* `Relation.Binary.Morphism.Construct.On`: given a relation `_∼_` on `B`,
200201
and a function `f : A → B`, construct the canonical `IsRelMonomorphism`
201202
between `_∼_ on f` and `_∼_`, witnessed by `f` itself.
@@ -355,7 +356,7 @@ Additions to existing modules
355356
356357
≲%[o]⇒≡[o]% : .{{_ : NonZero o}} → _≲%[ o ]_ ⇒ _≡%[ o ]_
357358
≅%[o]⇒≡[o]% : .{{_ : NonZero o}} → _≅%[ o ]_ ⇒ _≡%[ o ]_
358-
≡[o]%⇒≲%[o] : .{{_ : NonZero o}} → m % o ≡ n % o → m ≤ n → m ≲%[ o ] n
359+
≡[o]%⇒≲%[o] : .{{_ : NonZero o}} → m ≡%[ o ] n → m ≤ n → m ≲%[ o ] n
359360
≡[o]%⇒≅%[o] : .{{_ : NonZero o}} → _≡%[ o ]_ ⇒ _≅%[ o ]_
360361
361362
≡%-suc-injective : .{{_ : NonZero o}} → Injective _≡%[ o ]_ _≡%[ o ]_ suc
@@ -595,6 +596,19 @@ Additions to existing modules
595596
padRight m≤n x (updateAt xs i f)
596597
```
597598

599+
* In `Data.Vec.Relation.Binary.Pointwise.Inductive`
600+
```agda
601+
irrelevant : ∀ {_∼_ : REL A B ℓ} {n m} → Irrelevant _∼_ → Irrelevant (Pointwise _∼_ {n} {m})
602+
antisym : ∀ {P : REL A B ℓ₁} {Q : REL B A ℓ₂} {R : REL A B ℓ} {m n} →
603+
Antisym P Q R → Antisym (Pointwise P {m}) (Pointwise Q {n}) (Pointwise R)
604+
```
605+
606+
* In `Data.Vec.Relation.Binary.Pointwise.Extensional`
607+
```agda
608+
antisym : ∀ {P : REL A B ℓ₁} {Q : REL B A ℓ₂} {R : REL A B ℓ} {n} →
609+
Antisym P Q R → Antisym (Pointwise P {n}) (Pointwise Q) (Pointwise R)
610+
```
611+
598612
* In `Relation.Binary.Construct.Add.Extrema.NonStrict`:
599613
```agda
600614
≤±-respˡ-≡ : _≤±_ Respectsˡ _≡_
@@ -633,19 +647,6 @@ Additions to existing modules
633647
on⁻ : SymClosure (R on g) ⇒ ((SymClosure R) on g)
634648
```
635649

636-
* In `Data.Vec.Relation.Binary.Pointwise.Inductive`
637-
```agda
638-
irrelevant : ∀ {_∼_ : REL A B ℓ} {n m} → Irrelevant _∼_ → Irrelevant (Pointwise _∼_ {n} {m})
639-
antisym : ∀ {P : REL A B ℓ₁} {Q : REL B A ℓ₂} {R : REL A B ℓ} {m n} →
640-
Antisym P Q R → Antisym (Pointwise P {m}) (Pointwise Q {n}) (Pointwise R)
641-
```
642-
643-
* In `Data.Vec.Relation.Binary.Pointwise.Extensional`
644-
```agda
645-
antisym : ∀ {P : REL A B ℓ₁} {Q : REL B A ℓ₂} {R : REL A B ℓ} {n} →
646-
Antisym P Q R → Antisym (Pointwise P {n}) (Pointwise Q) (Pointwise R)
647-
```
648-
649650
* In `Relation.Binary.Properties.Setoid`:
650651
```agda
651652
¬[x≉x] : .(x ≉ x) → Whatever
@@ -678,20 +679,16 @@ Additions to existing modules
678679
⟨_⟩⊢⁺_ : P ⊆ f ⊢ Q → ⟨ f ⟩⊢ P ⊆ Q
679680
[_]⊢⁻_ : Q ⊆ [ f ]⊢ P → f ⊢ Q ⊆ P
680681
[_]⊢⁺_ : f ⊢ Q ⊆ P → Q ⊆ [ f ]⊢ P
681-
```
682-
683-
* In `System.Random`:
684-
```agda
685-
randomIO : IO Bool
686-
randomRIO : RandomRIO {A = Bool} _≤_
687-
```
688-
689-
* In Relation.Unary.Properites
690-
```agda
691682
¬∃⟨P⟩⇒Π[∁P] : ¬ ∃⟨ P ⟩ → Π[ ∁ P ]
692683
¬∃⟨P⟩⇒∀[∁P] : ¬ ∃⟨ P ⟩ → ∀[ ∁ P ]
693684
∃⟨∁P⟩⇒¬Π[P] : ∃⟨ ∁ P ⟩ → ¬ Π[ P ]
694685
∃⟨∁P⟩⇒¬∀[P] : ∃⟨ ∁ P ⟩ → ¬ ∀[ P ]
695686
Π[∁P]⇒¬∃[P] : Π[ ∁ P ] → ¬ ∃⟨ P ⟩
696687
∀[∁P]⇒¬∃[P] : ∀[ ∁ P ] → ¬ ∃⟨ P ⟩
697688
```
689+
690+
* In `System.Random`:
691+
```agda
692+
randomIO : IO Bool
693+
randomRIO : RandomRIO {A = Bool} _≤_
694+
```

src/Data/Nat/DivMod.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ module _ .{{_ : NonZero o}} where
496496
≅%[o]⇒≡[o]% : _≅%[ o ]_ ⇒ _≡%[ o ]_
497497
≅%[o]⇒≡[o]% = SymClosure.fold sym ≲%[o]⇒≡[o]%
498498

499-
≡[o]%⇒≲%[o] : m % o ≡ n % o m ≤ n m ≲%[ o ] n
499+
≡[o]%⇒≲%[o] : m ≡%[ o ] n m ≤ n m ≲%[ o ] n
500500
≡[o]%⇒≲%[o] {m = m} {n = n} eq m≤n = k , (begin-equality
501501
n ≡⟨ m≡m%n+[m/n]*n n o ⟩
502502
n % o + n / o * o ≡⟨ cong (_+ n / o * o) eq ⟨

0 commit comments

Comments
 (0)