Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
coq-stdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marianna Rapoport
coq-stdpp
Commits
33e935c9
Commit
33e935c9
authored
Mar 01, 2018
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add exact_vm_cast
parent
4c60de24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
theories/tactics.v
theories/tactics.v
+7
-0
No files found.
theories/tactics.v
View file @
33e935c9
...
...
@@ -77,6 +77,13 @@ Ltac done_if b :=
|
false
=>
idtac
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 *)
Tactic
Notation
"trans"
constr
(
A
)
:
=
transitivity
A
.
Tactic
Notation
"etrans"
:
=
etransitivity
.
...
...
Write
Preview
Markdown
is supported
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