Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
eb3117bd
Commit
eb3117bd
authored
May 20, 2019
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with Coq master.
parent
12129d3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tests/algebra.v
tests/algebra.v
+1
-1
theories/base_logic/lib/iprop.v
theories/base_logic/lib/iprop.v
+2
-2
No files found.
tests/algebra.v
View file @
eb3117bd
From
iris
.
base_logic
.
lib
Require
Import
invariants
.
Instance
test_cofe
:
Cofe
(
iPreProp
Σ
)
:
=
_
.
Instance
test_cofe
{
Σ
}
:
Cofe
(
iPreProp
Σ
)
:
=
_
.
Section
tests
.
Context
`
{!
invG
Σ
}.
...
...
theories/base_logic/lib/iprop.v
View file @
eb3117bd
...
...
@@ -122,7 +122,7 @@ Module Type iProp_solution_sig.
Notation
iPropI
Σ
:
=
(
uPredI
(
iResUR
Σ
)).
Notation
iPropSI
Σ
:
=
(
uPredSI
(
iResUR
Σ
)).
Global
Declare
Instance
iPreProp_cofe
:
Cofe
(
iPreProp
Σ
).
Global
Declare
Instance
iPreProp_cofe
{
Σ
}
:
Cofe
(
iPreProp
Σ
).
Parameter
iProp_unfold
:
∀
{
Σ
},
iProp
Σ
-
n
>
iPreProp
Σ
.
Parameter
iProp_fold
:
∀
{
Σ
},
iPreProp
Σ
-
n
>
iProp
Σ
.
Parameter
iProp_fold_unfold
:
∀
{
Σ
}
(
P
:
iProp
Σ
),
...
...
@@ -141,7 +141,7 @@ Module Export iProp_solution : iProp_solution_sig.
ofe_funUR
(
λ
i
,
gmapUR
gname
(
Σ
i
(
iPreProp
Σ
))).
Notation
iProp
Σ
:
=
(
uPredC
(
iResUR
Σ
)).
Global
Instance
iPreProp_cofe
:
Cofe
(
iPreProp
Σ
)
:
=
_
.
Global
Instance
iPreProp_cofe
{
Σ
}
:
Cofe
(
iPreProp
Σ
)
:
=
_
.
Definition
iProp_unfold
{
Σ
}
:
iProp
Σ
-
n
>
iPreProp
Σ
:
=
solution_fold
(
iProp_result
Σ
).
Definition
iProp_fold
{
Σ
}
:
iPreProp
Σ
-
n
>
iProp
Σ
:
=
solution_unfold
_
.
...
...
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