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
6fc0ecff
Commit
6fc0ecff
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Remove redundant cases in iIntro tactic.
parent
1805a435
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/proofmode/tactics.v
+5
-3
5 additions, 3 deletions
theories/proofmode/tactics.v
with
5 additions
and
3 deletions
theories/proofmode/tactics.v
+
5
−
3
View file @
6fc0ecff
...
@@ -769,19 +769,21 @@ Tactic Notation "iIntros" constr(pat) :=
...
@@ -769,19 +769,21 @@ Tactic Notation "iIntros" constr(pat) :=
let
rec
go
pats
:=
let
rec
go
pats
:=
lazymatch
pats
with
lazymatch
pats
with
|
[]
=>
idtac
|
[]
=>
idtac
(* Optimizations to avoid generating fresh names *)
|
IPureElim
::
?pats
=>
iIntro
(?);
go
pats
|
IPureElim
::
?pats
=>
iIntro
(?);
go
pats
|
IAlwaysElim
IAnom
::
?pats
=>
let
H
:=
iFresh
in
iIntro
#
H
;
go
pats
|
IAnom
::
?pats
=>
let
H
:=
iFresh
in
iIntro
H
;
go
pats
|
IAlwaysElim
(
IName
?H
)
::
?pats
=>
iIntro
#
H
;
go
pats
|
IAlwaysElim
(
IName
?H
)
::
?pats
=>
iIntro
#
H
;
go
pats
|
IName
?H
::
?pats
=>
iIntro
H
;
go
pats
|
IName
?H
::
?pats
=>
iIntro
H
;
go
pats
(* Introduction patterns that can only occur at the top-level *)
|
IPureIntro
::
?pats
=>
iPureIntro
;
go
pats
|
IPureIntro
::
?pats
=>
iPureIntro
;
go
pats
|
IAlwaysIntro
::
?pats
=>
iAlways
;
go
pats
|
IAlwaysIntro
::
?pats
=>
iAlways
;
go
pats
|
IModalIntro
::
?pats
=>
iModIntro
;
go
pats
|
IModalIntro
::
?pats
=>
iModIntro
;
go
pats
|
ISimpl
::
?pats
=>
simpl
;
go
pats
|
IForall
::
?pats
=>
repeat
iIntroForall
;
go
pats
|
IForall
::
?pats
=>
repeat
iIntroForall
;
go
pats
|
IAll
::
?pats
=>
repeat
(
iIntroForall
||
iIntro
);
go
pats
|
IAll
::
?pats
=>
repeat
(
iIntroForall
||
iIntro
);
go
pats
(* Clearing and simplifying introduction patterns *)
|
ISimpl
::
?pats
=>
simpl
;
go
pats
|
IClear
?H
::
?pats
=>
iClear
H
;
go
pats
|
IClear
?H
::
?pats
=>
iClear
H
;
go
pats
|
IClearFrame
?H
::
?pats
=>
iFrame
H
;
go
pats
|
IClearFrame
?H
::
?pats
=>
iFrame
H
;
go
pats
(* Introduction + destruct *)
|
IAlwaysElim
?pat
::
?pats
=>
|
IAlwaysElim
?pat
::
?pats
=>
let
H
:=
iFresh
in
iIntro
#
H
;
iDestructHyp
H
as
pat
;
go
pats
let
H
:=
iFresh
in
iIntro
#
H
;
iDestructHyp
H
as
pat
;
go
pats
|
?pat
::
?pats
=>
|
?pat
::
?pats
=>
...
...
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