Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jules Jacobs
Iris
Commits
042cbada
Commit
042cbada
authored
Mar 18, 2020
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add regression test
parent
6afa0332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tests/algebra.v
tests/algebra.v
+14
-0
No files found.
tests/algebra.v
View file @
042cbada
From
iris
.
algebra
Require
Import
auth
excl
.
From
iris
.
base_logic
.
lib
Require
Import
invariants
.
(** Make sure that the same [Equivalence] instance is picked for Leibniz OFEs
...
...
@@ -34,3 +35,16 @@ Proof.
-
apply
_
.
-
reflexivity
.
Qed
.
(** Regression test for <https://gitlab.mpi-sws.org/iris/iris/issues/255>. *)
Definition
testR
:
=
authR
(
prodUR
(
prodUR
(
optionUR
(
exclR
unitO
))
(
optionUR
(
exclR
unitO
)))
(
optionUR
(
agreeR
(
boolO
)))).
Section
test_prod
.
Context
`
{!
inG
Σ
testR
}.
Lemma
test_prod_persistent
γ
:
Persistent
(
PROP
:
=
iPropI
Σ
)
(
own
γ
(
◯
((
None
,
None
),
Some
(
to_agree
true
)))).
Proof
.
apply
_
.
Qed
.
End
test_prod
.
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