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
de133a57
Commit
de133a57
authored
Aug 29, 2012
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish complete proofreading pass
parent
419e2d0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cpdt.bib
latex/cpdt.bib
+3
-3
ProgLang.v
src/ProgLang.v
+1
-1
No files found.
latex/cpdt.bib
View file @
de133a57
...
...
@@ -17,7 +17,7 @@
title = {A Mechanically Checked Proof of the Correctness of the Kernel of the {AMD5k86} Floating-Point Division Algorithm},
journal = {IEEE Transactions on Computers},
volume = {47(9)},
pages = {913--926}
pages = {913--926}
,
year = {1998}
}
...
...
@@ -162,7 +162,7 @@
title = {Higher-order abstract syntax},
booktitle = {Proceedings of the ACM SIGPLAN 1988 Conference on Programming Language Design and Implementation},
year = {1988},
pages = {199--208},
%
pages = {199--208},
}
@article{HOU,
...
...
@@ -300,7 +300,7 @@
title = {How to make ad-hoc polymorphism less ad hoc},
booktitle = {Proceedings of the 16th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages},
year = {1989},
pages = {60--76},
%
pages = {60--76},
}
@inproceedings{reflection,
...
...
src/ProgLang.v
View file @
de133a57
...
...
@@ -330,7 +330,7 @@ Module HigherOrder.
|
Let
:
forall
t1
t2
,
term
t1
->
(
term
t1
->
term
t2
)
->
term
t2
.
]]
However
,
Coq
rejects
this
definition
for
failing
to
meet
the
%
\
index
{
strict
positivity
re
striction
}%
strict
positivity
restriction
.
For
instance
,
the
constructor
[
Abs
]
takes
an
argument
that
is
a
function
over
the
same
type
family
[
term
]
that
we
are
defining
.
Inductive
definitions
of
this
kind
can
be
used
to
write
non
-
terminating
Gallina
programs
,
which
breaks
the
consistency
of
Coq
'
s
logic
.
However
,
Coq
rejects
this
definition
for
failing
to
meet
the
%
\
index
{
strict
positivity
re
quirement
}%
strict
positivity
restriction
.
For
instance
,
the
constructor
[
Abs
]
takes
an
argument
that
is
a
function
over
the
same
type
family
[
term
]
that
we
are
defining
.
Inductive
definitions
of
this
kind
can
be
used
to
write
non
-
terminating
Gallina
programs
,
which
breaks
the
consistency
of
Coq
'
s
logic
.
An
alternate
higher
-
order
encoding
is
%
\
index
{
parametric
higher
-
order
abstract
syntax
}
\
index
{
PHOAS
}%
_
parametric
HOAS_
,
as
introduced
by
Washburn
and
Weirich
%~
\
cite
{
BGB
}%
for
Haskell
and
tweaked
by
me
%~
\
cite
{
PhoasICFP08
}%
for
use
in
Coq
.
Here
the
idea
is
to
parametrize
the
syntax
type
by
a
type
family
standing
for
a
_
representation
of
variables_
.
*
)
...
...
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