Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Iris
Commits
bfdd67a7
Commit
bfdd67a7
authored
Sep 27, 2017
by
Robbert Krebbers
Browse files
Fix `iIntros` regression caused by
b0ae1102
.
parent
c95907b9
Pipeline
#4544
passed with stages
in 9 minutes and 23 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
theories/proofmode/tactics.v
View file @
bfdd67a7
...
@@ -939,7 +939,7 @@ Tactic Notation "iIntros" constr(pat) :=
...
@@ -939,7 +939,7 @@ Tactic Notation "iIntros" constr(pat) :=
|
?pat
::
?pats
=>
|
?pat
::
?pats
=>
let
H
:
=
iFresh
in
iIntro
H
;
iDestructHyp
H
as
pat
;
go
pats
let
H
:
=
iFresh
in
iIntro
H
;
iDestructHyp
H
as
pat
;
go
pats
end
end
in
let
pats
:
=
intro_pat
.
parse
pat
in
iStartProof
;
go
pats
.
in
let
pats
:
=
intro_pat
.
parse
pat
in
try
iStartProof
;
go
pats
.
Tactic
Notation
"iIntros"
:
=
iIntros
[
IAll
].
Tactic
Notation
"iIntros"
:
=
iIntros
[
IAll
].
Tactic
Notation
"iIntros"
"("
simple_intropattern
(
x1
)
")"
:
=
Tactic
Notation
"iIntros"
"("
simple_intropattern
(
x1
)
")"
:
=
...
...
theories/tests/proofmode.v
View file @
bfdd67a7
...
@@ -93,6 +93,10 @@ Proof.
...
@@ -93,6 +93,10 @@ Proof.
iIntros
"# _ //"
.
iIntros
"# _ //"
.
Qed
.
Qed
.
Lemma
test_very_fast_iIntros
P
:
∀
x
y
:
nat
,
⌜
x
=
y
⌝
-
∗
P
-
∗
P
.
Proof
.
by
iIntros
.
Qed
.
Lemma
test_iDestruct_spatial_and
P
Q1
Q2
:
P
∗
(
Q1
∧
Q2
)
-
∗
P
∗
Q1
.
Lemma
test_iDestruct_spatial_and
P
Q1
Q2
:
P
∗
(
Q1
∧
Q2
)
-
∗
P
∗
Q1
.
Proof
.
iIntros
"[H1 [H2 _]]"
.
by
iFrame
.
Qed
.
Proof
.
iIntros
"[H1 [H2 _]]"
.
by
iFrame
.
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