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
Yixuan Chen
Iris
Commits
7da8952e
Commit
7da8952e
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
add more tests
parent
260e0593
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
tests/proofmode.v
+3
-3
3 additions, 3 deletions
tests/proofmode.v
tests/proofmode_monpred.v
+11
-0
11 additions, 0 deletions
tests/proofmode_monpred.v
with
14 additions
and
3 deletions
tests/proofmode.v
+
3
−
3
View file @
7da8952e
...
@@ -457,17 +457,17 @@ Proof. iIntros (?) "HP #HQ HR". iPureIntro; eauto. Qed.
...
@@ -457,17 +457,17 @@ Proof. iIntros (?) "HP #HQ HR". iPureIntro; eauto. Qed.
(* Ensure that [% ...] works as a pattern when the left-hand side of and/sep is
(* Ensure that [% ...] works as a pattern when the left-hand side of and/sep is
pure. *)
pure. *)
Lemma
test_pure_and_sep_destruct_affine
`{
!
BiAffine
PROP
}
(
φ
:
Prop
)
(
P
:
PROP
)
:
Lemma
test_pure_and_sep_destruct_affine
`{
!
BiAffine
PROP
}
(
φ
:
Prop
)
P
:
⌜
φ
⌝
∧
(
⌜
φ
⌝
∗
P
)
-∗
P
.
⌜
φ
⌝
∧
(
⌜
φ
⌝
∗
P
)
-∗
P
.
Proof
.
Proof
.
iIntros
"[% [% $]]"
.
iIntros
"[% [% $]]"
.
Qed
.
Qed
.
Lemma
test_pure_and_sep_destruct_1
(
φ
:
Prop
)
(
P
:
PROP
)
:
Lemma
test_pure_and_sep_destruct_1
(
φ
:
Prop
)
P
:
⌜
φ
⌝
∧
(
<
affine
>
⌜
φ
⌝
∗
P
)
-∗
P
.
⌜
φ
⌝
∧
(
<
affine
>
⌜
φ
⌝
∗
P
)
-∗
P
.
Proof
.
Proof
.
iIntros
"[% [% $]]"
.
iIntros
"[% [% $]]"
.
Qed
.
Qed
.
Lemma
test_pure_and_sep_destruct_2
(
φ
:
Prop
)
(
P
:
PROP
)
:
Lemma
test_pure_and_sep_destruct_2
(
φ
:
Prop
)
P
:
⌜
φ
⌝
∧
(
⌜
φ
⌝
∗
<
absorb
>
P
)
-∗
<
absorb
>
P
.
⌜
φ
⌝
∧
(
⌜
φ
⌝
∗
<
absorb
>
P
)
-∗
<
absorb
>
P
.
Proof
.
Proof
.
iIntros
"[% [% $]]"
.
iIntros
"[% [% $]]"
.
...
...
This diff is collapsed.
Click to expand it.
tests/proofmode_monpred.v
+
11
−
0
View file @
7da8952e
...
@@ -103,6 +103,17 @@ Section tests.
...
@@ -103,6 +103,17 @@ Section tests.
iAssumption
.
iAssumption
.
Qed
.
Qed
.
Lemma
test_monPred_at_and_pure
P
i
j
:
(
monPred_in
j
∧
P
)
i
⊢
⌜
j
⊑
i
⌝
∧
P
i
.
Proof
.
iDestruct
1
as
"[% $]"
.
done
.
Qed
.
Lemma
test_monPred_at_sep_pure
P
i
j
:
(
monPred_in
j
∗
<
absorb
>
P
)
i
⊢
⌜
j
⊑
i
⌝
∧
<
absorb
>
P
i
.
Proof
.
iDestruct
1
as
"[% ?]"
.
auto
.
Qed
.
Context
(
FU
:
BiFUpd
PROP
)
.
Context
(
FU
:
BiFUpd
PROP
)
.
Lemma
test_apply_fupd_intro_mask_subseteq
E1
E2
P
:
Lemma
test_apply_fupd_intro_mask_subseteq
E1
E2
P
:
...
...
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