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
c031da7d
Commit
c031da7d
authored
Jun 23, 2016
by
Robbert Krebbers
Browse files
Tactic iSimplifyEq that substitutes Leibniz equalities that are in the proof mode context.
parent
7c4416b6
Pipeline
#1591
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Sidebyside
proofmode/tactics.v
View file @
c031da7d
...
...
@@ 34,6 +34,11 @@ Tactic Notation "iTypeOf" constr(H) tactic(tac):=

Some
(
?p
,
?P
)
=>
tac
p
P
end
.
Ltac
iMatchGoal
tac
:
=
match
goal
with


context
[
environments
.
Esnoc
_
?x
?P
]
=>
tac
x
P
end
.
(** * Start a proof *)
Tactic
Notation
"iProof"
:
=
lazymatch
goal
with
...
...
@@ 789,6 +794,10 @@ Tactic Notation "iRewrite" open_constr(t) "in" constr(H) :=
Tactic
Notation
"iRewrite"
""
open_constr
(
t
)
"in"
constr
(
H
)
:
=
iRewriteCore
true
t
in
H
.
Ltac
iSimplifyEq
:
=
repeat
(
iMatchGoal
ltac
:
(
fun
H
P
=>
match
P
with
(
_
=
_
)%
I
=>
iDestruct
H
as
%?
end
)

simplify_eq
/=).
(* Make sure that by and done solve trivial things in proof mode *)
Hint
Extern
0
(
of_envs
_
⊢
_
)
=>
by
iPureIntro
.
Hint
Extern
0
(
of_envs
_
⊢
_
)
=>
iAssumption
.
...
...
Write
Preview
Supports
Markdown
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