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
Simcha van Collem
Iris
Commits
61af23a7
Commit
61af23a7
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
FP update for auth without frame.
parent
24c28e2c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
algebra/auth.v
+6
-2
6 additions, 2 deletions
algebra/auth.v
with
6 additions
and
2 deletions
algebra/auth.v
+
6
−
2
View file @
61af23a7
...
@@ -183,8 +183,7 @@ Lemma auth_both_op a b : Auth (Excl' a) b ≡ ● a ⋅ ◯ b.
...
@@ -183,8 +183,7 @@ Lemma auth_both_op a b : Auth (Excl' a) b ≡ ● a ⋅ ◯ b.
Proof
.
by
rewrite
/
op
/
auth_op
/=
left_id
.
Qed
.
Proof
.
by
rewrite
/
op
/
auth_op
/=
left_id
.
Qed
.
Lemma
auth_update
a
af
b
:
Lemma
auth_update
a
af
b
:
a
~l
~>
b
@
Some
af
→
a
~l
~>
b
@
Some
af
→
●
(
a
⋅
af
)
⋅
◯
a
~~>
●
(
b
⋅
af
)
⋅
◯
b
.
●
(
a
⋅
af
)
⋅
◯
a
~~>
●
(
b
⋅
af
)
⋅
◯
b
.
Proof
.
Proof
.
intros
[
Hab
Hab'
];
apply
cmra_total_update
.
intros
[
Hab
Hab'
];
apply
cmra_total_update
.
move
=>
n
[[[?|]|]
bf1
]
//
=>
-
[[
bf2
Ha
]
?];
do
2
red
;
simpl
in
*.
move
=>
n
[[[?|]|]
bf1
]
//
=>
-
[[
bf2
Ha
]
?];
do
2
red
;
simpl
in
*.
...
@@ -192,6 +191,11 @@ Proof.
...
@@ -192,6 +191,11 @@ Proof.
exists
bf2
.
rewrite
-
assoc
.
exists
bf2
.
rewrite
-
assoc
.
apply
(
Hab'
_
(
Some
_));
auto
.
by
rewrite
/=
assoc
.
apply
(
Hab'
_
(
Some
_));
auto
.
by
rewrite
/=
assoc
.
Qed
.
Qed
.
Lemma
auth_update_no_frame
a
b
:
a
~l
~>
b
@
Some
∅
→
●
a
⋅
◯
a
~~>
●
b
⋅
◯
b
.
Proof
.
intros
.
rewrite
-
{
1
}(
right_id
_
_
a
)
-
{
1
}(
right_id
_
_
b
)
.
by
apply
auth_update
.
Qed
.
End
cmra
.
End
cmra
.
Arguments
authR
:
clear
implicits
.
Arguments
authR
:
clear
implicits
.
...
...
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