Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
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
Pierre Roux
Iris
Commits
0ad40ef9
Commit
0ad40ef9
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
tweak comments and changelog
parent
d8181c83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+2
-1
2 additions, 1 deletion
CHANGELOG.md
theories/bi/notation.v
+2
-2
2 additions, 2 deletions
theories/bi/notation.v
theories/bi/updates.v
+10
-11
10 additions, 11 deletions
theories/bi/updates.v
with
14 additions
and
14 deletions
CHANGELOG.md
+
2
−
1
View file @
0ad40ef9
...
...
@@ -208,7 +208,8 @@ Coq development, but not every API-breaking change is listed. Changes marked
*
Remove notation for 3-mask step-taking updates, and made 2-mask notation less
confusing by distinguishing it better from mask-changing updates.
Old:
`|={E1,E2}▷=> P`
. New:
`|={Eo}[Ei]▷=> P`
.
As part of this, the lemma
`step_fupd_mask_mono`
now also has a more
As part of this, the lemmas about the 3-mask variant were changed to be about
the 2-mask variant instead, and
`step_fupd_mask_mono`
now also has a more
consistent argument order for its masks.
The following
`sed`
script should perform most of the renaming (FIXME: incomplete)
...
...
This diff is collapsed.
Click to expand it.
theories/bi/notation.v
+
2
−
2
View file @
0ad40ef9
...
...
@@ -93,7 +93,7 @@ Reserved Notation "P ={ E }=∗ Q"
(
at
level
99
,
E
at
level
50
,
Q
at
level
200
,
format
"'[' P '/' ={ E }=∗ Q ']'"
)
.
(** Step-taking updates *)
(** Step-taking
fancy
updates *)
Reserved
Notation
"|={ E1 } [ E2 ]▷=> Q"
(
at
level
99
,
E1
,
E2
at
level
50
,
Q
at
level
200
,
format
"|={ E1 } [ E2 ]▷=> Q"
)
.
...
...
@@ -107,7 +107,7 @@ Reserved Notation "P ={ E }▷=∗ Q"
(
at
level
99
,
E
at
level
50
,
Q
at
level
200
,
format
"'[' P '/' ={ E }▷=∗ Q ']'"
)
.
(** Multi-step-taking updates *)
(** Multi-step-taking
fancy
updates *)
Reserved
Notation
"|={ E1 } [ E2 ]▷=>^ n Q"
(
at
level
99
,
E1
,
E2
at
level
50
,
n
at
level
9
,
Q
at
level
200
,
format
"|={ E1 } [ E2 ]▷=>^ n Q"
)
.
...
...
This diff is collapsed.
Click to expand it.
theories/bi/updates.v
+
10
−
11
View file @
0ad40ef9
...
...
@@ -26,12 +26,12 @@ Notation "|={ E }=> Q" := (fupd E E Q) : bi_scope.
Notation
"P ={ E }=∗ Q"
:=
(
P
-∗
|
=
{
E
}=>
Q
)
%
I
:
bi_scope
.
Notation
"P ={ E }=∗ Q"
:=
(
P
-∗
|
=
{
E
}=>
Q
)
:
stdpp_scope
.
(** *
Fancy updates that take a step
. *)
(** *
Step-taking fancy updates
. *)
(** These have two masks, but they are different than the two masks of a
mask-changing update: the first mask ("outer
mask") holds at the beginning
and the end
,
the second mask ("inner
mask") holds around each ▷. This is
also why we use a different notation
than for the two masks of a
mask-changing updates. *)
mask-changing update:
in [|={Eo}[Ei]▷=> Q],
the first mask
[Eo]
("outer
mask") holds at the beginning
and the end
;
the second mask
[Ei]
("inner
mask") holds around each ▷. This is
also why we use a different notation
than for the two masks of a
mask-changing updates. *)
Notation
"|={ Eo } [ Ei ]▷=> Q"
:=
(|
=
{
Eo
,
Ei
}=>
▷
|
=
{
Ei
,
Eo
}=>
Q
)
%
I
:
bi_scope
.
Notation
"P ={ Eo } [ Ei ]▷=∗ Q"
:=
(
P
-∗
|
=
{
Eo
}[
Ei
]
▷=>
Q
)
%
I
:
bi_scope
.
Notation
"P ={ Eo } [ Ei ]▷=∗ Q"
:=
(
P
-∗
|
=
{
Eo
}[
Ei
]
▷=>
Q
)
(
only
parsing
)
:
stdpp_scope
.
...
...
@@ -40,12 +40,11 @@ Notation "|={ E }▷=> Q" := (|={E}[E]▷=> Q)%I : bi_scope.
Notation
"P ={ E }▷=∗ Q"
:=
(
P
=
{
E
}[
E
]
▷=∗
Q
)
%
I
:
bi_scope
.
Notation
"P ={ E }▷=∗ Q"
:=
(
P
=
{
E
}[
E
]
▷=∗
Q
)
:
stdpp_scope
.
(** For the iterated version, in principle there are 4 masks:
"outer" and "inner" of [|={Eo}[Ei]▷=>], as well as a potentially
different "begin" and "end" mask. The latter can be obtained from
this notation by adding normal mask-changing update modalities:
[ |={Ebegin,Eouter}=> |={Eouter}[Einner]▷=>^n |={Eouter,Eend}=> Q]
*)
(** For the iterated version, in principle there are 4 masks: "outer" and
"inner" of [|={Eo}[Ei]▷=>], as well as "begin" and "end" masks [E1] and [E2]
that could potentially differ from [Eo]. The latter can be obtained from
this notation by adding normal mask-changing update modalities: [
|={E1,Eo}=> |={Eo}[Ei]▷=>^n |={Eo,E2}=> Q] *)
Notation
"|={ Eo } [ Ei ]▷=>^ n Q"
:=
(
Nat
.
iter
n
(
λ
P
,
|
=
{
Eo
}[
Ei
]
▷=>
P
)
Q
)
%
I
:
bi_scope
.
Notation
"P ={ Eo } [ Ei ]▷=∗^ n Q"
:=
(
P
-∗
|
=
{
Eo
}[
Ei
]
▷=>^
n
Q
)
%
I
:
bi_scope
.
Notation
"P ={ Eo } [ Ei ]▷=∗^ n Q"
:=
(
P
-∗
|
=
{
Eo
}[
Ei
]
▷=>^
n
Q
)
(
only
parsing
)
:
stdpp_scope
.
...
...
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