Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
George Pirlea
Iris
Commits
da56bbb0
Commit
da56bbb0
authored
Jan 23, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unused premises go to the last premise of iApply (instead of the first).
parent
4d3e8866
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ProofMode.md
ProofMode.md
+2
-2
theories/proofmode/tactics.v
theories/proofmode/tactics.v
+1
-1
theories/tests/proofmode.v
theories/tests/proofmode.v
+1
-1
No files found.
ProofMode.md
View file @
da56bbb0
...
...
@@ -17,8 +17,8 @@ Applying hypotheses and lemmas
conclusion of
`pm_trm`
and generates goals for the premises of
`pm_trm`
. See
proof mode terms below.
If the applied term has more premises than given specialization patterns, the
pattern is extended with
`[
-
] ... [
-
]`
. As a consequence, all unused spatial
hypotheses move to the
fir
st premise without an explicit specialization
pattern is extended with
`[] ... []`
. As a consequence, all unused spatial
hypotheses move to the
la
st premise without an explicit specialization
pattern.
Context management
...
...
theories/proofmode/tactics.v
View file @
da56bbb0
...
...
@@ -431,7 +431,7 @@ Tactic Notation "iApply" open_constr(lem) :=
[
env_cbv
;
reflexivity
|
apply
_
|
lazy
beta
(* reduce betas created by instantiation *)
]
|
iSpecializePat
H
"[
-
]"
;
last
go
H
]
in
|
iSpecializePat
H
"[]"
;
last
go
H
]
in
iPoseProofCore
lem
as
false
true
(
fun
H
=>
first
[
iExact
H
|
go
H
|
iTypeOf
H
(
fun
Q
=>
fail
1
"iApply: cannot apply"
Q
)]).
...
...
theories/tests/proofmode.v
View file @
da56bbb0
...
...
@@ -118,5 +118,5 @@ Proof.
Qed
.
Lemma
demo_11
(
M
:
ucmraT
)
(
P
Q
R
:
uPred
M
)
:
(
P
-
∗
Q
-
∗
True
-
∗
True
-
∗
R
)
-
∗
P
-
∗
Q
-
∗
R
.
(
P
-
∗
True
-
∗
True
-
∗
Q
-
∗
R
)
-
∗
P
-
∗
Q
-
∗
R
.
Proof
.
iIntros
"H HP HQ"
.
by
iApply
(
"H"
with
"[HP]"
).
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