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
4a19cacf
Commit
4a19cacf
authored
Nov 16, 2008
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closure conversion defined
parent
533e2737
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
904 additions
and
15 deletions
+904
-15
Firstorder.v
src/Firstorder.v
+7
-4
Intensional.v
src/Intensional.v
+885
-4
Tactics.v
src/Tactics.v
+12
-7
No files found.
src/Firstorder.v
View file @
4a19cacf
...
...
@@ -146,10 +146,13 @@ Module Concrete.
induction
G1
as
[
|
[
x
''
t
'
]
tl
]
;
crush
;
eauto
;
match
goal
with
|
[
H
:
_
|-
v
_
:
_
|-
_
]
=>
inversion
H
end
;
crush
;
elimtype
False
;
eauto
;
match
goal
with
|
[
H
:
nil
|-
v
_
:
_
|-
_
]
=>
inversion
H
end
.
end
;
crush
;
(
elimtype
False
;
eauto
;
match
goal
with
|
[
H
:
nil
|-
v
_
:
_
|-
_
]
=>
inversion
H
end
)
||
match
goal
with
|
[
H
:
_
|-
_
]
=>
apply
H
;
crush
;
eauto
end
.
Qed
.
Implicit
Arguments
subst_lookup
[
x
'
t
G1
]
.
...
...
src/Intensional.v
View file @
4a19cacf
This diff is collapsed.
Click to expand it.
src/Tactics.v
View file @
4a19cacf
...
...
@@ -72,7 +72,7 @@ Ltac simplHyp invOne :=
Ltac
rewriteHyp
:=
match
goal
with
|
[
H
:
_
|-
_
]
=>
rewrite
H
|
[
H
:
_
|-
_
]
=>
rewrite
H
;
auto
;
[
idtac
]
end
.
Ltac
rewriterP
:=
repeat
(
rewriteHyp
;
autorewrite
with
cpdt
in
*
)
.
...
...
@@ -122,12 +122,17 @@ Ltac un_done :=
Ltac
crush
'
lemmas
invOne
:=
let
sintuition
:=
simpl
in
*;
intuition
;
try
subst
;
repeat
(
simplHyp
invOne
;
intuition
;
try
subst
)
;
try
congruence
in
(
sintuition
;
rewriter
;
match
lemmas
with
|
false
=>
idtac
|
_
=>
repeat
((
app
ltac
:
(
fun
L
=>
inster
L
L
)
lemmas
||
appHyps
ltac
:
(
fun
L
=>
inster
L
L
))
;
repeat
(
simplHyp
invOne
;
intuition
))
;
un_done
end
;
sintuition
;
try
omega
;
try
(
elimtype
False
;
omega
))
.
in
(
sintuition
;
autorewrite
with
cpdt
in
*;
repeat
(
match
goal
with
|
[
H
:
_
|-
_
]
=>
(
rewrite
H
;
[])
||
(
rewrite
H
;
[
|
solve
[
crush
'
lemmas
invOne
]
])
end
;
autorewrite
with
cpdt
in
*
)
;
match
lemmas
with
|
false
=>
idtac
|
_
=>
repeat
((
app
ltac
:
(
fun
L
=>
inster
L
L
)
lemmas
||
appHyps
ltac
:
(
fun
L
=>
inster
L
L
))
;
repeat
(
simplHyp
invOne
;
intuition
))
;
un_done
end
;
sintuition
;
try
omega
;
try
(
elimtype
False
;
omega
))
.
Ltac
crush
:=
crush
'
false
fail
.
...
...
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