Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
90
Issues
90
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
f70294b1
Commit
f70294b1
authored
May 30, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prove equivalent more useful def of valid on auth A when A is discrete.
parent
6b5909ef
Pipeline
#1197
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Sidebyside
Showing
1 changed file
with
11 additions
and
0 deletions
+11
0
algebra/auth.v
algebra/auth.v
+11
0
No files found.
algebra/auth.v
View file @
f70294b1
...
...
@@ 100,6 +100,17 @@ Proof. by destruct x as [[[]]]. Qed.
Lemma
own_validN
n
(
x
:
auth
A
)
:
✓
{
n
}
x
→
✓
{
n
}
own
x
.
Proof
.
destruct
x
as
[[[]]]
;
naive_solver
eauto
using
cmra_validN_includedN
.
Qed
.
Lemma
auth_valid_discrete
`
{
CMRADiscrete
A
}
x
:
✓
x
↔
match
authoritative
x
with

Excl'
a
=>
own
x
≼
a
∧
✓
a

None
=>
✓
own
x

ExclBot'
=>
False
end
.
Proof
.
destruct
x
as
[[[?]]
?]
;
simpl
;
try
done
.
setoid_rewrite
<
cmra_discrete_included_iff
;
naive_solver
eauto
using
0
.
Qed
.
Lemma
auth_cmra_mixin
:
CMRAMixin
(
auth
A
).
Proof
.
apply
cmra_total_mixin
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment