Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1991,6 +1991,17 @@ Other minor changes
pattern `suc x = con (quote ℕ.suc) (x ⟨∷⟩ [])
```

* Added new proofs in `Data.Parity.Properties`:
```agda
suc-homo-⁻¹ : (parity (suc n)) ⁻¹ ≡ parity n
+-homo-+ : parity (m ℕ.+ n) ≡ parity m ℙ.+ parity n
*-homo-* : parity (m ℕ.* n) ≡ parity m ℙ.* parity n
parity-isMagmaHomomorphism : IsMagmaHomomorphism ℕ.+-rawMagma ℙ.+-rawMagma parity
parity-isMonoidHomomorphism : IsMonoidHomomorphism ℕ.+-0-rawMonoid ℙ.+-0-rawMonoid parity
parity-isNearSemiringHomomorphism : IsNearSemiringHomomorphism ℕ.+-*-rawNearSemiring ℙ.+-*-rawNearSemiring parity
parity-isSemiringHomomorphism : IsSemiringHomomorphism ℕ.+-*-rawSemiring ℙ.+-*-rawSemiring parity
```

* Added new rounding functions in `Data.Rational.Base`:
```agda
floor ceiling truncate round ⌊_⌋ ⌈_⌉ [_] : ℚ → ℤ
Expand Down
Loading