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
8bb63778
Commit
8bb63778
authored
Oct 07, 2008
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get Coinductive compiling again
parent
e51986f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Coinductive.v
src/Coinductive.v
+1
-1
Tactics.v
src/Tactics.v
+5
-6
No files found.
src/Coinductive.v
View file @
8bb63778
...
...
@@ -412,7 +412,7 @@ Definition regmapCompat (rm : regmap nat) (rm' : regmap (option nat)) :=
(
**
remove
printing
*
*
)
Ltac
compat
:=
unfold
regmapCompat
in
*;
crush
;
match
goal
with
|
[
|-
match
get
_
?
R
with
Some
_
=>
_
|
None
=>
_
end
]
=>
destruct
R
;
crush
|
[
H
:
_
|-
match
get
_
?
R
with
Some
_
=>
_
|
None
=>
_
end
]
=>
generalize
(
H
R
)
;
destruct
R
;
crush
end
.
Lemma
regmapCompat_set_None
:
forall
rm
rm
'
r
n
,
...
...
src/Tactics.v
View file @
8bb63778
...
...
@@ -111,17 +111,16 @@ Ltac un_done :=
|
[
H
:
done
_
|-
_
]
=>
clear
H
end
.
Ltac
crush
'
'
tryLemmas
lemmas
invOne
:=
Ltac
crush
'
lemmas
invOne
:=
let
sintuition
:=
simpl
in
*;
intuition
;
try
subst
;
repeat
(
simplHyp
invOne
;
intuition
;
try
subst
)
;
try
congruence
in
(
sintuition
;
rewriter
;
match
tryLemmas
with
|
true
=>
repeat
((
app
ltac
:
(
fun
L
=>
inster
L
L
)
lemmas
||
appHyps
ltac
:
(
fun
L
=>
inster
L
L
))
;
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
|
_
=>
idtac
end
;
sintuition
;
try
omega
;
try
(
elimtype
False
;
omega
))
.
Ltac
crush
:=
crush
''
false
tt
fail
.
Ltac
crush
'
:=
crush
''
true
.
Ltac
crush
:=
crush
'
false
fail
.
Theorem
dep_destruct
:
forall
(
T
:
Type
)
(
T
'
:
T
->
Type
)
x
(
v
:
T
'
x
)
(
P
:
T
'
x
->
Prop
)
,
(
forall
x
'
(
v
'
:
T
'
x
'
)
(
Heq
:
x
'
=
x
)
,
P
(
match
Heq
in
(
_
=
x
)
return
(
T
'
x
)
with
...
...
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