Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
stdpp
Commits
e8adfd04
Commit
e8adfd04
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
CHANGELOG.
parent
c7012583
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!188
Extend the theory of positive rationals `Qp`
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CHANGELOG.md
+23
-0
23 additions, 0 deletions
CHANGELOG.md
with
23 additions
and
0 deletions
CHANGELOG.md
+
23
−
0
View file @
e8adfd04
...
@@ -15,6 +15,29 @@ Coq 8.8 and 8.9 are no longer supported.
...
@@ -15,6 +15,29 @@ Coq 8.8 and 8.9 are no longer supported.
`zip_with`
and
`Forall2`
versions of
`∪`
,
`∖`
, and
`##`
.
`zip_with`
and
`Forall2`
versions of
`∪`
,
`∖`
, and
`##`
.
-
Remove unused type classes
`DisjointE`
,
`DisjointList`
,
`LookupE`
, and
-
Remove unused type classes
`DisjointE`
,
`DisjointList`
,
`LookupE`
, and
`InsertE`
.
`InsertE`
.
-
Overhaul of the theory of positive rationals
`Qp`
:
+
Add the orders
`Qp_le`
and
`Qp_lt`
.
+
Rename
`Qp_plus`
into
`Qp_add`
and
`Qp_mult`
into
`Qp_mul`
to be consistent
with the corresponding names for
`nat`
,
`N`
, and
`Z`
.
+
Add a function
`Qp_inv`
for the multiplicative inverse.
+
Define the division function
`Qp_div`
in terms of
`Qp_inv`
, and generalize
the second argument from
`positive`
to
`Qp`
.
+
Add a function
`pos_to_Qp`
that converts a
`positive`
into a positive
rational
`Qp`
.
+
Add many lemmas and missing type class instances, especially for orders,
multiplication, multiplicative inverse, division, and the conversion.
+
Remove the coercion from
`Qp`
to
`Qc`
. This follows our recent tradition of
getting rid of coercions since they are more often confusing than useful.
+
Rename the conversion from
`Qp_car : Qp → Qc`
into
`Qp_to_Qc`
to be
consistent with other conversion functions in std++. Also rename the lemma
`Qp_eq`
into
`Qp_to_Qc_inj_iff`
.
+
Use
`let '(..) = ...`
in the definitions of
`Qp_plus`
,
`Qp_mult`
,
`Qp_inv`
,
`Qp_le`
and
`Qp_lt`
to avoid Coq tactics (like
`injection`
) to unfold these
definitions eagerly.
+
Define the
`Qp`
literals 1, 2, 3, 4 in terms of
`pos_to_Qp`
instead of
iterated addition.
+
Rename and restate many lemmas so as to be consistent with the conventions
for Coq's number types
`nat`
,
`N`
, and
`Z`
.
The following
`sed`
script should perform most of the renaming
The following
`sed`
script should perform most of the renaming
(on macOS, replace
`sed`
by
`gsed`
, installed via e.g.
`brew install gnu-sed`
):
(on macOS, replace
`sed`
by
`gsed`
, installed via e.g.
`brew install gnu-sed`
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment