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
d52fc276
Commit
d52fc276
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Add some tests.
parent
a1f630a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_CoqProject
+1
-0
1 addition, 0 deletions
_CoqProject
theories/tests/proofmode_monPred.v
+30
-0
30 additions, 0 deletions
theories/tests/proofmode_monPred.v
with
31 additions
and
0 deletions
_CoqProject
+
1
−
0
View file @
d52fc276
...
@@ -97,6 +97,7 @@ theories/tests/heap_lang.v
...
@@ -97,6 +97,7 @@ theories/tests/heap_lang.v
theories/tests/one_shot.v
theories/tests/one_shot.v
theories/tests/proofmode.v
theories/tests/proofmode.v
theories/tests/proofmode_iris.v
theories/tests/proofmode_iris.v
theories/tests/proofmode_monPred.v
theories/tests/list_reverse.v
theories/tests/list_reverse.v
theories/tests/tree_sum.v
theories/tests/tree_sum.v
theories/tests/ipm_paper.v
theories/tests/ipm_paper.v
...
...
This diff is collapsed.
Click to expand it.
theories/tests/proofmode_monPred.v
0 → 100644
+
30
−
0
View file @
d52fc276
From
iris
.
proofmode
Require
Import
tactics
monpred
.
From
iris
.
base_logic
Require
Import
base_logic
lib
.
invariants
.
Section
tests
.
Context
{
I
:
bi_index
}
{
PROP
:
sbi
}
.
Local
Notation
monPred
:=
(
monPred
I
PROP
)
.
Local
Notation
monPredI
:=
(
monPredI
I
PROP
)
.
Local
Notation
monPredSI
:=
(
monPredSI
I
PROP
)
.
Implicit
Types
P
Q
R
:
monPred
.
Implicit
Types
i
j
:
I
.
Lemma
test0
P
:
P
-∗
P
.
Proof
.
iIntros
"$"
.
Qed
.
Lemma
test_iStartProof_1
P
:
P
-∗
P
.
Proof
.
iStartProof
.
iStartProof
.
iIntros
"$"
.
Qed
.
Lemma
test_iStartProof_2
P
:
P
-∗
P
.
Proof
.
iStartProof
monPred
.
iStartProof
monPredI
.
iIntros
"$"
.
Qed
.
Lemma
test_iStartProof_3
P
:
P
-∗
P
.
Proof
.
iStartProof
monPredI
.
iStartProof
monPredSI
.
iIntros
"$"
.
Qed
.
Lemma
test_iStartProof_4
P
:
P
-∗
P
.
Proof
.
iStartProof
monPredSI
.
iStartProof
monPred
.
iIntros
"$"
.
Qed
.
Lemma
test_iStartProof_5
P
:
P
-∗
P
.
Proof
.
iStartProof
PROP
.
iIntros
(
i
)
"$"
.
Qed
.
Lemma
test_iStartProof_6
P
:
P
⊣⊢
P
.
Proof
.
iStartProof
PROP
.
iIntros
(
i
)
.
iSplit
;
iIntros
"$"
.
Qed
.
Lemma
test_iStartProof_7
P
:
((
P
≡
P
)
%
I
:
monPredI
)
.
Proof
.
iStartProof
PROP
.
done
.
Qed
.
End
tests
.
\ No newline at end of file
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