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
061686bf
Commit
061686bf
authored
4 years ago
by
Simon Friis Vindum
Committed by
Ralf Jung
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Rename auth_both_frac_op to auth_both_op
Removes auth_both_op and renames auth_both_frac_op into auth_both_op.
parent
817a9c26
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+3
-0
3 additions, 0 deletions
CHANGELOG.md
theories/algebra/auth.v
+2
-4
2 additions, 4 deletions
theories/algebra/auth.v
with
5 additions
and
4 deletions
CHANGELOG.md
+
3
−
0
View file @
061686bf
...
...
@@ -150,6 +150,7 @@ Coq development, but not every API-breaking change is listed. Changes marked
-
`|={E1,E2}|>=>^n Q`
for
`|={E1,E2}▷=>^n Q`
The full list can be found in
[
theories/bi/ascii.v
](
theories/bi/ascii.v
)
,
where the ASCII notations are defined in terms of the unicode notations.
*
Removed
`auth_both_op`
and renamed
`auth_both_frac_op`
into
`auth_both_op`
.
The following
`sed`
script should perform most of the renaming (FIXME: incomplete)
(on macOS, replace
`sed`
by
`gsed`
, installed via e.g.
`brew install gnu-sed`
):
...
...
@@ -167,6 +168,8 @@ s/\blist_lookup_singletonM(|_lt|_gt|_ne)\b/list_lookup_singleton\1/g
s/\blist_singletonM_(validN|length)\b/list_singleton_\1/g
s/\blist_alter_singletonM\b/list_alter_singleton/g
s/\blist_singletonM_included\b/list_singleton_included/g
# auth_both_frac_op rename
s/\bauth_both_frac_op\b/auth_both_op/g
' $(find theories -name "*.v")
```
...
...
This diff is collapsed.
Click to expand it.
theories/algebra/auth.v
+
2
−
4
View file @
061686bf
...
...
@@ -306,10 +306,8 @@ Lemma big_opMS_auth_frag `{Countable B} (g : B → A) (X : gmultiset B) :
(
◯
[
^
op
mset
]
x
∈
X
,
g
x
)
≡
[
^
op
mset
]
x
∈
X
,
◯
(
g
x
)
.
Proof
.
apply
(
big_opMS_commute
_)
.
Qed
.
Lemma
auth_both_
frac_
op
q
a
b
:
Auth
(
Some
(
q
,
to_agree
a
))
b
≡
●
{
q
}
a
⋅
◯
b
.
Lemma
auth_both_op
q
a
b
:
Auth
(
Some
(
q
,
to_agree
a
))
b
≡
●
{
q
}
a
⋅
◯
b
.
Proof
.
by
rewrite
/
op
/
auth_op
/=
left_id
.
Qed
.
Lemma
auth_both_op
a
b
:
Auth
(
Some
(
1
%
Qp
,
to_agree
a
))
b
≡
●
a
⋅
◯
b
.
Proof
.
by
rewrite
auth_both_frac_op
.
Qed
.
Lemma
auth_auth_frac_op
p
q
a
:
●
{
p
+
q
}
a
≡
●
{
p
}
a
⋅
●
{
q
}
a
.
Proof
.
...
...
@@ -348,7 +346,7 @@ Proof. by rewrite auth_validI. Qed.
Lemma
auth_both_validI
{
M
}
q
(
a
b
:
A
)
:
✓
(
●
{
q
}
a
⋅
◯
b
)
⊣⊢@
{
uPredI
M
}
✓
q
∧
(
∃
c
,
a
≡
b
⋅
c
)
∧
✓
a
.
Proof
.
rewrite
-
auth_both_
frac_
op
auth_validI
/=.
apply
bi
.
and_proper
;
[
done
|]
.
rewrite
-
auth_both_op
auth_validI
/=.
apply
bi
.
and_proper
;
[
done
|]
.
setoid_rewrite
agree_equivI
.
iSplit
.
-
iDestruct
1
as
(
a'
)
"[#Eq [H V]]"
.
iDestruct
"H"
as
(
b'
)
"H"
.
iRewrite
-
"Eq"
in
"H"
.
iRewrite
-
"Eq"
in
"V"
.
auto
.
...
...
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