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
18f88572
Commit
18f88572
authored
6 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'isimpl_test' into 'master'
Add an `iSimpl in "%"` test. See merge request
iris/iris!240
parents
603bbea9
63adcecf
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/proofmode.ref
+7
-0
7 additions, 0 deletions
tests/proofmode.ref
tests/proofmode.v
+4
-0
4 additions, 0 deletions
tests/proofmode.v
with
11 additions
and
0 deletions
tests/proofmode.ref
+
7
−
0
View file @
18f88572
...
@@ -122,6 +122,13 @@ Tactic failure: iSpecialize: cannot instantiate (⌜φ⌝ → P -∗ False)%I wi
...
@@ -122,6 +122,13 @@ Tactic failure: iSpecialize: cannot instantiate (⌜φ⌝ → P -∗ False)%I wi
--------------------------------------∗
--------------------------------------∗
⌜S (S (S x)) = y⌝
⌜S (S (S x)) = y⌝
"test_iSimpl_in4"
: string
The command has indeed failed with message:
In nested Ltac calls to "iSimpl in (constr)",
"iEval (tactic) in (constr)" and "<iris.proofmode.ltac_tactics.iEval_go>",
last call failed.
Tactic failure: iEval: %: unsupported selection pattern.
"test_iFrame_later_1"
"test_iFrame_later_1"
: string
: string
1 subgoal
1 subgoal
...
...
This diff is collapsed.
Click to expand it.
tests/proofmode.v
+
4
−
0
View file @
18f88572
...
@@ -483,6 +483,10 @@ Lemma test_iSimpl_in3 x y z :
...
@@ -483,6 +483,10 @@ Lemma test_iSimpl_in3 x y z :
⌜
S
(
S
(
S
x
))
=
y
⌝
:
PROP
.
⌜
S
(
S
(
S
x
))
=
y
⌝
:
PROP
.
Proof
.
iIntros
"#H1 H2"
.
iSimpl
in
"#"
.
Show
.
done
.
Qed
.
Proof
.
iIntros
"#H1 H2"
.
iSimpl
in
"#"
.
Show
.
done
.
Qed
.
Check
"test_iSimpl_in4"
.
Lemma
test_iSimpl_in4
x
y
:
⌜
(
3
+
x
)
%
nat
=
y
⌝
-∗
⌜
S
(
S
(
S
x
))
=
y
⌝
:
PROP
.
Proof
.
iIntros
"H"
.
Fail
iSimpl
in
"%"
.
by
iSimpl
in
"H"
.
Qed
.
Lemma
test_iIntros_pure_neg
:
(
⌜
¬
False
⌝
:
PROP
)
%
I
.
Lemma
test_iIntros_pure_neg
:
(
⌜
¬
False
⌝
:
PROP
)
%
I
.
Proof
.
by
iIntros
(?)
.
Qed
.
Proof
.
by
iIntros
(?)
.
Qed
.
...
...
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