diff options
| author | Kazuhiko Sakaguchi | 2020-03-16 17:39:00 +0900 |
|---|---|---|
| committer | Kazuhiko Sakaguchi | 2020-03-16 17:39:00 +0900 |
| commit | 5f1229849aa90f64cf0126f47c622152383ba118 (patch) | |
| tree | 87fb72a2f660a8ef8a317940ce471bcb3309ed2c | |
| parent | bdb23c100648a7e1b055d90a76eedbff9eef12f4 (diff) | |
Document change on comparison predicates in order.v
| -rw-r--r-- | CHANGELOG_UNRELEASED.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/CHANGELOG_UNRELEASED.md b/CHANGELOG_UNRELEASED.md index 6d2d74f..58cd473 100644 --- a/CHANGELOG_UNRELEASED.md +++ b/CHANGELOG_UNRELEASED.md @@ -92,6 +92,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). 1.10 in newer versions by using the `mc_1_10.Num` module instead of the `Num` module. However, instances of the number structures may require changes. + + In the development process of this version of Mathematical Components, the + ordering of arguments of comparison predicates `lcomparableP`, + `(lcomparable_)ltgtP`, `(lcomparable_)leP`, and `(lcomparable_)ltP` in + `order.v` has been changed as follows. This is a potential source of + incompatibilities. + * before the change: + ``` + lcomparableP x y : incomparel x y + (y == x) (x == y) (x >= y) (x <= y) (x > y) (x < y) + (y >=< x) (x >=< y) (y `&` x) (x `&` y) (y `|` x) (x `|` y). + ltgtP x y : comparel x y + (y == x) (x == y) (x >= y) (x <= y) (x > y) (x < y) + (y `&` x) (x `&` y) (y `|` x) (x `|` y). + leP x y : + lel_xor_gt x y (x <= y) (y < x) (y `&` x) (x `&` y) (y `|` x) (x `|` y). + ltP x y : + ltl_xor_ge x y (y <= x) (x < y) (y `&` x) (x `&` y) (y `|` x) (x `|` y). + ``` + * after the change: + ``` + lcomparableP x y : incomparel x y + (y `&` x) (x `&` y) (y `|` x) (x `|` y) + (y == x) (x == y) (x >= y) (x <= y) (x > y) (x < y) (y >=< x) (x >=< y). + ltgtP x y : comparel x y + (y `&` x) (x `&` y) (y `|` x) (x `|` y) + (y == x) (x == y) (x >= y) (x <= y) (x > y) (x < y). + leP x y : + lel_xor_gt x y (y `&` x) (x `&` y) (y `|` x) (x `|` y) (x <= y) (y < x). + ltP x y : + ltl_xor_ge x y (y `&` x) (x `&` y) (y `|` x) (x `|` y) (y <= x) (x < y). + ``` - Extended comparison predicates `leqP`, `ltnP`, and `ltngtP` in ssrnat to allow case analysis on `minn` and `maxn`. |
