Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
3761273c
Commit
3761273c
authored
Feb 17, 2016
by
Ralf Jung
Browse files
auth: more precise comments
parent
685148ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/auth.v
View file @
3761273c
...
...
@@ -2,16 +2,17 @@ From algebra Require Export auth.
From
program_logic
Require
Export
invariants
ghost_ownership
.
Import
uPred
.
(* TODO: Once we switched to RAs, it is no longer necessary to remember that a
is constantly valid. *)
Class
authG
Λ
Σ
(
A
:
cmraT
)
`
{
Empty
A
}
:
=
AuthG
{
auth_inG
:
>
inG
Λ
Σ
(
authRA
A
)
;
auth_identity
:
>
CMRAIdentity
A
;
(* TODO: Once we switched to RAs, this can be removed. *)
auth_timeless
(
a
:
A
)
:
>
Timeless
a
;
}.
Section
definitions
.
Context
`
{
authG
Λ
Σ
A
}
(
γ
:
gname
).
(* TODO: Once we switched to RAs, it is no longer necessary to remember that a
is constantly valid. *)
Definition
auth_inv
(
φ
:
A
→
iPropG
Λ
Σ
)
:
iPropG
Λ
Σ
:
=
(
∃
a
,
(
■
✓
a
∧
own
γ
(
●
a
))
★
φ
a
)%
I
.
Definition
auth_own
(
a
:
A
)
:
iPropG
Λ
Σ
:
=
own
γ
(
◯
a
).
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment