New `seq` operation on maps + consistency tweaks for `seq` operation on sets
This MR introduces a seq
operation on maps, which turns a list x_0; ...; x_n
into a map:
{[ i := x_0; ... i+n := x_n ]}
On top of that, I made various improvements to the already existing seq
operation on sets:
-
Rename it fromThis is done as part of !45 (merged) now.seq_set
intoset_seq
. Having_set
as a suffix instead of a prefix is inconsistent, see also #24 (closed). - Provide
set_solver
support forset_seq
. - Make the lemmas for
set_seq
more consistent w.r.t. those for maps.
Due to the rename, it is not backwards compatible. I'm happy to fix Iris and friends.
Merge request reports
Activity
Ok, but any concerns w.r.t. renaming
seq_set
intoset_seq
, and the relation to #24 (closed).This one will probably not affect many people,
seq
is not used a lot.However, I would like to avoid having to rename it again if we decide for something else then consistently using the
set_
prefix in #24 (closed).added 42 commits
-
3d3b6401...17f8c792 - 34 commits from branch
master
- 17ab3cd6 - Consistently use `set_` prefix.
- f3c0d3fd - Better names for convertion functions from `gset` and `coPset`.
- f9388e88 - Function `map_seq` to turn a list into a finite map of consequentive elements.
- 3f57311f - Make `set_seq` lemmas for consistent w.r.t. those of maps.
- 3f0bf48f - Relation between `map_seq` and `set_seq`.
- d5133dac - Support `set_seq` in `set_solver`.
- 22efedf0 - Relation between `set_seq` and `seq`.
- 44ec0438 - `set_seq` is finite.
Toggle commit list-
3d3b6401...17f8c792 - 34 commits from branch
I have updated this MR. It's based on top of !44 (merged) now.
It's based on top of !44 (merged) now.
Could you provide a link showing just the relevant diff (using the GitLab feature to compare two branches)? I have no idea what to look at here.
added 8 commits
-
44ec0438...a3ac6324 - 2 commits from branch
robbert/set_rename
- 2b4682f1 - Function `map_seq` to turn a list into a finite map of consequentive elements.
- 41ad2850 - Make `set_seq` lemmas for consistent w.r.t. those of maps.
- 1cbc09b0 - Relation between `map_seq` and `set_seq`.
- 244b4334 - Support `set_seq` in `set_solver`.
- af8da479 - Relation between `set_seq` and `seq`.
- 4d1a385f - `set_seq` is finite.
Toggle commit list-
44ec0438...a3ac6324 - 2 commits from branch
added 12 commits
-
4d1a385f...f5da0c1a - 6 commits from branch
robbert/set_rename
- ec57aeab - Function `map_seq` to turn a list into a finite map of consequentive elements.
- 0884415c - Make `set_seq` lemmas for consistent w.r.t. those of maps.
- e5f3e805 - Relation between `map_seq` and `set_seq`.
- c5d7d4d2 - Support `set_seq` in `set_solver`.
- 581cc38d - Relation between `set_seq` and `seq`.
- 9449ec92 - `set_seq` is finite.
Toggle commit list-
4d1a385f...f5da0c1a - 6 commits from branch