Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
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
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
Paolo G. Giarrusso
iris
Commits
da56bbb0
Commit
da56bbb0
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Unused premises go to the last premise of iApply (instead of the first).
parent
4d3e8866
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ProofMode.md
+2
-2
2 additions, 2 deletions
ProofMode.md
theories/proofmode/tactics.v
+1
-1
1 addition, 1 deletion
theories/proofmode/tactics.v
theories/tests/proofmode.v
+1
-1
1 addition, 1 deletion
theories/tests/proofmode.v
with
4 additions
and
4 deletions
ProofMode.md
+
2
−
2
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
...
...
This diff is collapsed.
Click to expand it.
theories/proofmode/tactics.v
+
1
−
1
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
)])
.
...
...
This diff is collapsed.
Click to expand it.
theories/tests/proofmode.v
+
1
−
1
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
.
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