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
60083ed1
Commit
60083ed1
authored
Nov 04, 2008
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Firstorder clean-ups after class
parent
e8b7e237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
+6
-16
Firstorder.v
src/Firstorder.v
+6
-16
No files found.
src/Firstorder.v
View file @
60083ed1
...
@@ -102,13 +102,7 @@ Module Concrete.
...
@@ -102,13 +102,7 @@ Module Concrete.
eapply
weaken_hasType
'
;
eauto
.
eapply
weaken_hasType
'
;
eauto
.
Qed
.
Qed
.
Theorem
weaken_hasType_closed
:
forall
e
t
,
Hint
Resolve
weaken_hasType
.
nil
|-
e
e
:
t
->
forall
G
,
G
|-
e
e
:
t
.
intros
;
rewrite
(
app_nil_end
G
)
;
apply
weaken_hasType
;
auto
.
Qed
.
Hint
Resolve
weaken_hasType_closed
.
Section
subst
.
Section
subst
.
Variable
x
:
var
.
Variable
x
:
var
.
...
@@ -243,7 +237,8 @@ Module Concrete.
...
@@ -243,7 +237,8 @@ Module Concrete.
Inductive
step
:
exp
->
exp
->
Prop
:=
Inductive
step
:
exp
->
exp
->
Prop
:=
|
Beta
:
forall
x
e1
e2
,
|
Beta
:
forall
x
e1
e2
,
App
(
Abs
x
e1
)
e2
==>
[
x
~>
e2
]
e1
val
e2
->
App
(
Abs
x
e1
)
e2
==>
[
x
~>
e2
]
e1
|
Cong1
:
forall
e1
e2
e1
'
,
|
Cong1
:
forall
e1
e2
e1
'
,
e1
==>
e1
'
e1
==>
e1
'
->
App
e1
e2
==>
App
e1
'
e2
->
App
e1
e2
==>
App
e1
'
e2
...
@@ -367,13 +362,7 @@ Module DeBruijn.
...
@@ -367,13 +362,7 @@ Module DeBruijn.
eapply
weaken_hasType
'
;
eauto
.
eapply
weaken_hasType
'
;
eauto
.
Qed
.
Qed
.
Theorem
weaken_hasType_closed
:
forall
e
t
,
Hint
Resolve
weaken_hasType
.
nil
|-
e
e
:
t
->
forall
G
,
G
|-
e
e
:
t
.
intros
;
rewrite
(
app_nil_end
G
)
;
apply
weaken_hasType
;
auto
.
Qed
.
Hint
Resolve
weaken_hasType_closed
.
Section
subst
.
Section
subst
.
Variable
e1
:
exp
.
Variable
e1
:
exp
.
...
@@ -465,7 +454,8 @@ Module DeBruijn.
...
@@ -465,7 +454,8 @@ Module DeBruijn.
Inductive
step
:
exp
->
exp
->
Prop
:=
Inductive
step
:
exp
->
exp
->
Prop
:=
|
Beta
:
forall
e1
e2
,
|
Beta
:
forall
e1
e2
,
App
(
Abs
e1
)
e2
==>
[
O
~>
e2
]
e1
val
e2
->
App
(
Abs
e1
)
e2
==>
[
O
~>
e2
]
e1
|
Cong1
:
forall
e1
e2
e1
'
,
|
Cong1
:
forall
e1
e2
e1
'
,
e1
==>
e1
'
e1
==>
e1
'
->
App
e1
e2
==>
App
e1
'
e2
->
App
e1
e2
==>
App
e1
'
e2
...
...
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