Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Abel Nieto
Iris
Commits
aa7871c7
Commit
aa7871c7
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Test cases for iStopProof.
parent
87729375
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/proofmode.ref
+5
-0
5 additions, 0 deletions
tests/proofmode.ref
tests/proofmode.v
+7
-0
7 additions, 0 deletions
tests/proofmode.v
with
12 additions
and
0 deletions
tests/proofmode.ref
+
5
−
0
View file @
aa7871c7
...
...
@@ -433,6 +433,11 @@ Tactic failure: iFrame: cannot frame Q.
={E1,E2}=∗ QQQQQQQQQQQQQQQQQQ ∗ QQQQQQQQQQQQQQQQQQ ∗ QQQQQQQQQQQQQQQQQQ
={E1,E2}=∗ QQQQQQQQQQQQQQQQQQ ∗ QQQQQQQQQQQQQQQQQQ
"iStopProof_not_proofmode"
: string
The command has indeed failed with message:
Ltac call to "iStopProof" failed.
Tactic failure: iStopProof: proofmode not started.
"iAlways_spatial_non_empty"
: string
The command has indeed failed with message:
...
...
This diff is collapsed.
Click to expand it.
tests/proofmode.v
+
7
−
0
View file @
aa7871c7
...
...
@@ -44,6 +44,9 @@ Definition bar : PROP := (∀ P, foo P)%I.
Lemma
test_unfold_constants
:
bar
.
Proof
.
iIntros
(
P
)
"HP //"
.
Qed
.
Lemma
test_iStopProof
Q
:
emp
-∗
Q
-∗
Q
.
Proof
.
iIntros
"#H1 H2"
.
iStopProof
.
by
rewrite
bi
.
sep_elim_r
.
Qed
.
Lemma
test_iRewrite
{
A
:
ofeT
}
(
x
y
:
A
)
P
:
□
(
∀
z
,
P
-∗
<
affine
>
(
z
≡
y
))
-∗
(
P
-∗
P
∧
(
x
,
x
)
≡
(
y
,
x
))
.
Proof
.
...
...
@@ -765,6 +768,10 @@ Section error_tests.
Context
{
PROP
:
sbi
}
.
Implicit
Types
P
Q
R
:
PROP
.
Check
"iStopProof_not_proofmode"
.
Lemma
iStopProof_not_proofmode
:
10
=
10
.
Proof
.
Fail
iStopProof
.
Abort
.
Check
"iAlways_spatial_non_empty"
.
Lemma
iAlways_spatial_non_empty
P
:
P
-∗
□
emp
.
...
...
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