Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Yanovski
iris-coq
Commits
1b56406c
Commit
1b56406c
authored
Aug 09, 2016
by
Ralf Jung
Browse files
clarify inG comment; fix subG instance name
parent
46087950
Changes
2
Hide whitespace changes
Inline
Side-by-side
program_logic/ghost_ownership.v
View file @
1b56406c
...
...
@@ -4,7 +4,7 @@ Import uPred.
(
**
The
class
[
inG
Σ
A
]
expresses
that
the
CMRA
[
A
]
is
in
the
list
of
functors
[
Σ
].
This
class
is
similar
to
the
[
subG
]
class
,
but
written
down
in
terms
of
individual
CMRAs
instead
of
lists
of
CMRA
functors
.
This
additional
class
is
individual
CMRAs
instead
of
(
lists
of
)
CMRA
*
functors
*
.
This
additional
class
is
needed
because
Coq
is
otherwise
unable
to
solve
type
class
constraints
due
to
higher
-
order
unification
problems
.
*
)
Class
inG
(
Σ
:
gFunctors
)
(
A
:
cmraT
)
:=
...
...
program_logic/model.v
View file @
1b56406c
...
...
@@ -101,7 +101,7 @@ Proof.
move
=>
H
i
;
move
:
H
=>
/
(
_
i
)
[
j
?
].
exists
(
Fin
.
L
_
j
).
by
rewrite
/=
fin_plus_inv_L
.
Qed
.
Instance
inGF
_app_r
Σ
Σ
1
Σ
2
:
subG
Σ
Σ
2
→
subG
Σ
(
gFunctors
.
app
Σ
1
Σ
2
).
Instance
subG
_app_r
Σ
Σ
1
Σ
2
:
subG
Σ
Σ
2
→
subG
Σ
(
gFunctors
.
app
Σ
1
Σ
2
).
Proof
.
move
=>
H
i
;
move
:
H
=>
/
(
_
i
)
[
j
?
].
exists
(
Fin
.
R
_
j
).
by
rewrite
/=
fin_plus_inv_R
.
...
...
Write
Preview
Supports
Markdown
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