Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
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
Gaëtan Gilbert
Iris
Commits
c9418149
Verified
Commit
c9418149
authored
5 years ago
by
Paolo G. Giarrusso
Browse files
Options
Downloads
Patches
Plain Diff
tactic->tactic3 for user-facing tactics
parent
1f3e92e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/proofmode/ltac_tactics.v
+20
-20
20 additions, 20 deletions
theories/proofmode/ltac_tactics.v
with
20 additions
and
20 deletions
theories/proofmode/ltac_tactics.v
+
20
−
20
View file @
c9418149
...
...
@@ -1634,7 +1634,7 @@ Tactic Notation "iIntros" constr(p) "(" simple_intropattern(x1)
(* Used for generalization in iInduction and iLöb *)
Tactic
Notation
"iRevertIntros"
constr
(
Hs
)
"with"
tactic
(
tac
)
:=
Tactic
Notation
"iRevertIntros"
constr
(
Hs
)
"with"
tactic
3
(
tac
)
:=
let
rec
go
Hs
:=
lazymatch
Hs
with
|
[]
=>
tac
...
...
@@ -1643,56 +1643,56 @@ Tactic Notation "iRevertIntros" constr(Hs) "with" tactic(tac) :=
end
in
try
iStartProof
;
let
Hs
:=
iElaborateSelPat
Hs
in
go
Hs
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
")"
constr
(
Hs
)
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
);
tac
;
iIntros
(
x1
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
);
tac
;
iIntros
(
x1
x2
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
x3
);
tac
;
iIntros
(
x1
x2
x3
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
constr
(
Hs
)
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
x3
x4
);
tac
;
iIntros
(
x1
x2
x3
x4
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
ident
(
x5
)
")"
constr
(
Hs
)
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
x3
x4
x5
);
tac
;
iIntros
(
x1
x2
x3
x4
x5
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
ident
(
x6
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
ident
(
x5
)
ident
(
x6
)
")"
constr
(
Hs
)
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
x3
x4
x5
x6
);
tac
;
iIntros
(
x1
x2
x3
x4
x5
x6
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
")"
constr
(
Hs
)
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
x3
x4
x5
x6
x7
);
tac
;
iIntros
(
x1
x2
x3
x4
x5
x6
x7
))
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
ident
(
x8
)
")"
constr
(
Hs
)
"with"
tactic
(
tac
):=
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
ident
(
x8
)
")"
constr
(
Hs
)
"with"
tactic
3
(
tac
):=
iRevertIntros
Hs
with
(
iRevert
(
x1
x2
x3
x4
x5
x6
x7
x8
);
tac
;
iIntros
(
x1
x2
x3
x4
x5
x6
x7
x8
))
.
Tactic
Notation
"iRevertIntros"
"with"
tactic
(
tac
)
:=
Tactic
Notation
"iRevertIntros"
"with"
tactic
3
(
tac
)
:=
iRevertIntros
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
")"
"with"
tactic
(
tac
):=
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
")"
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
")"
"with"
tactic
(
tac
):=
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
")"
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
")"
"with"
tactic
(
tac
):=
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
x3
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
")"
"with"
tactic
(
tac
):=
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
x3
x4
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
")"
"with"
tactic
(
tac
):=
ident
(
x5
)
")"
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
x3
x4
x5
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
ident
(
x6
)
")"
"with"
tactic
(
tac
):=
ident
(
x5
)
ident
(
x6
)
")"
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
x3
x4
x5
x6
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
")"
"with"
tactic
(
tac
):=
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
")"
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
x3
x4
x5
x6
x7
)
""
with
tac
.
Tactic
Notation
"iRevertIntros"
"("
ident
(
x1
)
ident
(
x2
)
ident
(
x3
)
ident
(
x4
)
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
ident
(
x8
)
")"
"with"
tactic
(
tac
):=
ident
(
x5
)
ident
(
x6
)
ident
(
x7
)
ident
(
x8
)
")"
"with"
tactic
3
(
tac
):=
iRevertIntros
(
x1
x2
x3
x4
x5
x6
x7
x8
)
""
with
tac
.
(** * Destruct tactic *)
...
...
@@ -1901,7 +1901,7 @@ Ltac iHypsContaining x :=
let
Γs
:=
lazymatch
goal
with
|
-
envs_entails
(
Envs
_
?Γs
_)
_
=>
Γs
end
in
let
Hs
:=
go
Γp
x
(
@
nil
ident
)
in
go
Γs
x
Hs
.
Tactic
Notation
"iInductionRevert"
constr
(
x
)
constr
(
Hs
)
"with"
tactic
(
tac
)
:=
Tactic
Notation
"iInductionRevert"
constr
(
x
)
constr
(
Hs
)
"with"
tactic
3
(
tac
)
:=
iRevertIntros
Hs
with
(
iRevertIntros
"∗"
with
(
idtac
;
...
...
@@ -2083,7 +2083,7 @@ Tactic Notation "iLöbCore" "as" constr (IH) :=
|
_
=>
idtac
end
]
.
Tactic
Notation
"iLöbRevert"
constr
(
Hs
)
"with"
tactic
(
tac
)
:=
Tactic
Notation
"iLöbRevert"
constr
(
Hs
)
"with"
tactic
3
(
tac
)
:=
iRevertIntros
Hs
with
(
iRevertIntros
"∗"
with
tac
)
.
...
...
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