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
Gaëtan Gilbert
Iris
Commits
e9cc023b
Commit
e9cc023b
authored
2 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add test.
parent
fa902781
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/proofmode_iris.v
+5
-0
5 additions, 0 deletions
tests/proofmode_iris.v
with
5 additions
and
0 deletions
tests/proofmode_iris.v
+
5
−
0
View file @
e9cc023b
...
@@ -56,6 +56,11 @@ Section iris_tests.
...
@@ -56,6 +56,11 @@ Section iris_tests.
Context
`{
!
invGS_gen
hlc
Σ
,
!
cinvG
Σ
,
!
na_invG
Σ
}
.
Context
`{
!
invGS_gen
hlc
Σ
,
!
cinvG
Σ
,
!
na_invG
Σ
}
.
Implicit
Types
P
Q
R
:
iProp
Σ
.
Implicit
Types
P
Q
R
:
iProp
Σ
.
Lemma
test_except_0_inv
N
P
:
▷
False
-∗
inv
N
P
.
Proof
.
iIntros
"H"
.
by
iMod
"H"
.
(* works because invariants are [IsExcept0] *)
Qed
.
Lemma
test_masks
N
E
P
Q
R
:
Lemma
test_masks
N
E
P
Q
R
:
↑
N
⊆
E
→
↑
N
⊆
E
→
(
True
-∗
P
-∗
inv
N
Q
-∗
True
-∗
R
)
-∗
P
-∗
▷
Q
=
{
E
}
=∗
R
.
(
True
-∗
P
-∗
inv
N
Q
-∗
True
-∗
R
)
-∗
P
-∗
▷
Q
=
{
E
}
=∗
R
.
...
...
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