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
242cef88
Commit
242cef88
authored
3 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
CHANGELOG.
parent
77d7a09c
No related branches found
No related tags found
1 merge request
!309
Use `SProp` to obtain better definitional equality for `pmap`, `gmap`, `gset`, `Qp`, and `coPset`
Pipeline
#53030
passed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CHANGELOG.md
+8
-0
8 additions, 0 deletions
CHANGELOG.md
with
8 additions
and
0 deletions
CHANGELOG.md
+
8
−
0
View file @
242cef88
...
...
@@ -162,6 +162,14 @@ API-breaking change is listed.
-
Make
`Forall2_nil`
,
`Forall2_cons`
bidirectional lemmas with
`Forall2_nil_2`
,
`Forall2_cons_2`
being the original one-directional versions (matching
`Forall_nil`
and
`Forall_cons`
). Rename
`Forall2_cons_inv`
to
`Forall2_cons_1`
.
-
Use
`SProp`
in the implementation of
`pmap`
,
`gmap`
,
`gset`
,
`Qp`
, and
`coPset`
. This ensures that more equalities hold definitionally, and can thus
be proved by
`reflexivity`
or even by conversion as part of unification.
For example
`1/4 + 3/4 = 1`
, or
`{[ 1 := 1; 2 := 2 ]} = {[ 2 := 2; 1 := 1 ]}`
,
or
`{[ 1 ]} ∖ {[ 1 ]} = ∅`
hold definitionally. As part of this change, add
some basic infrastructure for
`SProp`
: the definition
`SIs_true`
, and the
lemmas
`SIs_true_intro`
,
`SIs_true_elim`
, and
`unsquash`
. The APIs of the
aforementioned data structures should be unaffected.
The following
`sed`
script should perform most of the renaming
(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