Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
18f88572
Commit
18f88572
authored
May 08, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'isimpl_test' into 'master'
Add an `iSimpl in "%"` test. See merge request
iris/iris!240
parents
603bbea9
63adcecf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
tests/proofmode.ref
tests/proofmode.ref
+7
-0
tests/proofmode.v
tests/proofmode.v
+4
-0
No files found.
tests/proofmode.ref
View file @
18f88572
...
...
@@ -122,6 +122,13 @@ Tactic failure: iSpecialize: cannot instantiate (⌜φ⌝ → P -∗ False)%I wi
--------------------------------------∗
⌜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"
: string
1 subgoal
...
...
tests/proofmode.v
View file @
18f88572
...
...
@@ -483,6 +483,10 @@ Lemma test_iSimpl_in3 x y z :
⌜
S
(
S
(
S
x
))
=
y
⌝
:
PROP
.
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
.
Proof
.
by
iIntros
(?).
Qed
.
...
...
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