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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Maxime Dénès
stdpp
Commits
33e935c9
Commit
33e935c9
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
add exact_vm_cast
parent
4c60de24
Branches
test-bigop-synchanges
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/tactics.v
+7
-0
7 additions, 0 deletions
theories/tactics.v
with
7 additions
and
0 deletions
theories/tactics.v
+
7
−
0
View file @
33e935c9
...
@@ -77,6 +77,13 @@ Ltac done_if b :=
...
@@ -77,6 +77,13 @@ Ltac done_if b :=
|
false
=>
idtac
|
false
=>
idtac
end
.
end
.
(** A version of [exact] that inserts a vm_cast into the term. On the pro side,
this means that vm_compute will be used at Qed time to check the cast. However,
this also embeds a copy of the current goal into the proof term, resulting in a
larger term. The difference to ssreflect's [exact<:] is that conversion checking
is also performed immediately, whereas [exact<:] only checks at Qed time. *)
Ltac
exact_vm_cast
t
:=
match
goal
with
|
-
?P
=>
exact
(
t
<:
P
)
end
.
(** Aliases for trans and etrans that are easier to type *)
(** Aliases for trans and etrans that are easier to type *)
Tactic
Notation
"trans"
constr
(
A
)
:=
transitivity
A
.
Tactic
Notation
"trans"
constr
(
A
)
:=
transitivity
A
.
Tactic
Notation
"etrans"
:=
etransitivity
.
Tactic
Notation
"etrans"
:=
etransitivity
.
...
...
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