Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpdt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
research
cpdt
Commits
bc911257
Commit
bc911257
authored
Dec 16, 2009
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prosified Extensional
parent
2ccd7485
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
467 additions
and
352 deletions
+467
-352
Extensional.v
src/Extensional.v
+445
-352
Tactics.v
src/Tactics.v
+22
-0
No files found.
src/Extensional.v
View file @
bc911257
This diff is collapsed.
Click to expand it.
src/Tactics.v
View file @
bc911257
...
...
@@ -156,3 +156,25 @@ Ltac clear_all :=
repeat
match
goal
with
|
[
H
:
_
|-
_
]
=>
clear
H
end
.
Ltac
guess
tac
H
:=
repeat
match
type
of
H
with
|
forall
x
:
?
T
,
_
=>
match
type
of
T
with
|
Prop
=>
(
let
H
'
:=
fresh
"H'"
in
assert
(
H
'
:
T
)
;
[
solve
[
tac
]
|
generalize
(
H
H
'
)
;
clear
H
H
'
;
intro
H
])
||
fail
1
|
_
=>
let
x
:=
fresh
"x"
in
evar
(
x
:
T
)
;
let
x
'
:=
eval
cbv
delta
[
x
]
in
x
in
clear
x
;
generalize
(
H
x
'
)
;
clear
H
;
intro
H
end
end
.
Ltac
guessKeep
tac
H
:=
let
H
'
:=
fresh
"H'"
in
generalize
H
;
intro
H
'
;
guess
tac
H
'
.
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