Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
116
Issues
116
List
Boards
Labels
Service Desk
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
aa7871c7
Commit
aa7871c7
authored
Sep 19, 2019
by
Robbert Krebbers
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test cases for iStopProof.
parent
87729375
Pipeline
#19792
passed with stage
in 21 minutes and 4 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
tests/proofmode.ref
tests/proofmode.ref
+5
-0
tests/proofmode.v
tests/proofmode.v
+7
-0
No files found.
tests/proofmode.ref
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:
...
...
tests/proofmode.v
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
.
...
...
Robbert
@robbertkrebbers
mentioned in merge request
!311 (merged)
·
Sep 19, 2019
mentioned in merge request
!311 (merged)
mentioned in merge request !311
Toggle commit list
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