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
William Mansky
Iris
Commits
5b36e201
Commit
5b36e201
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
More general and Global version of auth_timeless.
parent
56c5b62d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algebra/auth.v
+3
-3
3 additions, 3 deletions
algebra/auth.v
program_logic/auth.v
+0
-8
0 additions, 8 deletions
program_logic/auth.v
with
3 additions
and
11 deletions
algebra/auth.v
+
3
−
3
View file @
5b36e201
...
...
@@ -50,8 +50,8 @@ Proof.
apply
(
conv_compl
(
chain_map
own
c
)
n
)
.
Qed
.
Canonical
Structure
authC
:=
CofeT
auth_cofe_mixin
.
Instance
A
uth_timeless
(
ea
:
excl
A
)
(
b
:
A
)
:
Timeless
ea
→
Timeless
b
→
Timeless
(
Auth
ea
b
)
.
Global
Instance
a
uth_timeless
(
x
:
auth
A
)
:
Timeless
(
authoritative
x
)
→
Timeless
(
own
x
)
→
Timeless
x
.
Proof
.
by
intros
??
[??]
[??];
split
;
simpl
in
*
;
apply
(
timeless
_)
.
Qed
.
Global
Instance
auth_leibniz
:
LeibnizEquiv
A
→
LeibnizEquiv
(
auth
A
)
.
Proof
.
by
intros
?
[??]
[??]
[??];
f_equal'
;
apply
leibniz_equiv
.
Qed
.
...
...
@@ -140,7 +140,7 @@ Proof.
split
;
simpl
.
*
by
apply
(
@
cmra_empty_valid
A
_)
.
*
by
intros
x
;
constructor
;
rewrite
/=
left_id
.
*
apply
Auth_timeless
;
apply
_
.
*
apply
_
.
Qed
.
Lemma
auth_frag_op
a
b
:
◯
(
a
⋅
b
)
≡
◯
a
⋅
◯
b
.
Proof
.
done
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
program_logic/auth.v
+
0
−
8
View file @
5b36e201
...
...
@@ -11,14 +11,6 @@ Section auth.
Implicit
Types
a
b
:
A
.
Implicit
Types
γ
:
gname
.
(* Adding this locally only, since it overlaps with Auth_timelss in algebra/auth.v.
TODO: Would moving this to auth.v and making it global break things? *)
Local
Instance
AuthA_timeless
(
x
:
auth
A
)
:
Timeless
x
.
Proof
.
(* FIXME: "destruct x; auto with typeclass_instances" should find this through Auth, right? *)
destruct
x
.
apply
Auth_timeless
;
apply
_
.
Qed
.
(* TODO: Need this to be proven somewhere. *)
Hypothesis
auth_valid
:
forall
a
b
,
(
✓
Auth
(
Excl
a
)
b
:
iPropG
Λ
Σ
)
⊑
(
∃
b'
,
a
≡
b
⋅
b'
)
.
...
...
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