Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
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
Iris
stdpp
Commits
ab9e7cc8
"...git-rts@gitlab.mpi-sws.org:simonspies/lambda-rust.git" did not exist on "07a18ef319c409c592c3e7a3e1acaf2725d0548e"
Commit
ab9e7cc8
authored
10 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Improve the csimpl tactic, this gives a minor overall speedup.
parent
0cf35200
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/tactics.v
+15
-13
15 additions, 13 deletions
theories/tactics.v
with
15 additions
and
13 deletions
theories/tactics.v
+
15
−
13
View file @
ab9e7cc8
...
...
@@ -171,27 +171,29 @@ Ltac fold_classes :=
repeat
change
(
@
alter
_
_
_
(
@
alter
_
_
_
F
))
with
(
@
alter
_
_
_
F
)
end
end
.
Ltac
fold_classes_hyps
:=
repeat
match
goal
with
|
_
:
appcontext
[
?F
]
|
-
_
=>
Ltac
fold_classes_hyps
H
:=
repeat
match
type
of
H
with
|
appcontext
[
?F
]
=>
progress
match
type
of
F
with
|
FMap
_
=>
change
F
with
(
@
fmap
_
F
)
in
*
;
repeat
change
(
@
fmap
_
(
@
fmap
_
F
))
with
(
@
fmap
_
F
)
in
*
change
F
with
(
@
fmap
_
F
)
in
H
;
repeat
change
(
@
fmap
_
(
@
fmap
_
F
))
with
(
@
fmap
_
F
)
in
H
|
MBind
_
=>
change
F
with
(
@
mbind
_
F
)
in
*
;
repeat
change
(
@
mbind
_
(
@
mbind
_
F
))
with
(
@
mbind
_
F
)
in
*
change
F
with
(
@
mbind
_
F
)
in
H
;
repeat
change
(
@
mbind
_
(
@
mbind
_
F
))
with
(
@
mbind
_
F
)
in
H
|
OMap
_
=>
change
F
with
(
@
omap
_
F
)
in
*
;
repeat
change
(
@
omap
_
(
@
omap
_
F
))
with
(
@
omap
_
F
)
in
*
change
F
with
(
@
omap
_
F
)
in
H
;
repeat
change
(
@
omap
_
(
@
omap
_
F
))
with
(
@
omap
_
F
)
in
H
|
Alter
_
_
_
=>
change
F
with
(
@
alter
_
_
_
F
)
in
*
;
repeat
change
(
@
alter
_
_
_
(
@
alter
_
_
_
F
))
with
(
@
alter
_
_
_
F
)
in
*
change
F
with
(
@
alter
_
_
_
F
)
in
H
;
repeat
change
(
@
alter
_
_
_
(
@
alter
_
_
_
F
))
with
(
@
alter
_
_
_
F
)
in
H
end
end
.
Tactic
Notation
"csimpl"
"in"
"*"
:=
try
(
progress
simpl
in
*
;
fold_classes
;
fold_classes_hyps
)
.
Tactic
Notation
"csimpl"
"in"
hyp
(
H
)
:=
try
(
progress
simpl
in
H
;
fold_classes_hyps
H
)
.
Tactic
Notation
"csimpl"
:=
try
(
progress
simpl
;
fold_classes
)
.
Tactic
Notation
"csimpl"
"in"
"*"
:=
repeat_on_hyps
(
fun
H
=>
csimpl
in
H
);
csimpl
.
Ltac
simplify_equality
:=
repeat
match
goal
with
...
...
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