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
Rodolphe Lepigre
Iris
Commits
e76659e6
Commit
e76659e6
authored
Jan 11, 2019
by
Robbert Krebbers
Browse files
Tactic `iBiOfGoal` that gives the BI of the proof mode goal.
parent
4ae3b6c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/ltac_tactics.v
View file @
e76659e6
...
...
@@ -52,6 +52,9 @@ Ltac iTypeOf H :=
let
Δ
:
=
match
goal
with
|-
envs_entails
?
Δ
_
=>
Δ
end
in
pm_eval
(
envs_lookup
H
Δ
).
Ltac
iBiOfGoal
:
=
match
goal
with
|-
@
envs_entails
?PROP
_
_
=>
PROP
end
.
Tactic
Notation
"iMatchHyp"
tactic1
(
tac
)
:
=
match
goal
with
|
|-
context
[
environments
.
Esnoc
_
?x
?P
]
=>
tac
x
P
...
...
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