|
ABSTRACT
The aim of our work is to provide an infrastructure for formal proofs over Generic Haskell-style polytypic programs. For this goal to succeed, we must have a definition of polytypic programming which is both fully formal and as close as possible to the definition in Generic Haskell. In this paper we show a formalization in the proof assistant Coq of type and term specialization. Our definition of term specialization can be interpreted as a formal proof that the result of term specialization has the type computed by type specialization.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Andreas Abel. Type-Based Termination of Generic Programs. Science of Computer Programming, 2007. MPC'06 special issue. Submitted.
|
| |
2
|
Artem Alimarine. Generic Functional Programming: Conceptual Design, Implementation and Applications. PhD thesis, Radbound Universiteit Nijmegen, 2005.
|
| |
3
|
|
| |
4
|
|
| |
5
|
|
| |
6
|
Coq Development Team. Coq frequently asked questions (v8.1), 2008. http://coq.inria.fr/doc-eng.html.
|
| |
7
|
Thierry Coquand and Gérard Huet. The Calculus of Constructions. Information and Computation, 760 (2-3):0 95--120, 1988. ISSN 0890-5401. http://dx.doi.org/10.1016/0890-5401(88)90005-3.
|
| |
8
|
N. G. de Bruijn. A lambda calculus notation with nameless dummies, a tool for automatic formula manipulation, with application to the Church-Rosser theorem. Indagationes Mathematicae, 34:0 381--392, 1972.
|
| |
9
|
|
| |
10
|
|
| |
11
|
Ralf Hinze. Generic Programs and Proofs. Habilitationsschrift, Universität Bonn, Germany, 2000b.
|
| |
12
|
|
| |
13
|
Ralf Hinze and Simon Peyton Jones. Derivable Type Classes. In Graham Hutton, editor, Proceedings of the 2000 ACM SIG-PLAN Haskell Workshop, Electronic Notes in Theoretical Computer Science, Volume 41.1. Elsevier Science, 2000.
|
| |
14
|
Ralf Hinze and Andres Löh. Generic Programming, Now! In Roland Backhouse, Jeremy Gibbons, Ralf Hinze, and Johan Jeuring, editors, School on Datatype-Generic Programming, 2006, volume 4719 of Lecture Notes in Computer Science, pages 150--208. Springer-Verlag, 2006a.
|
| |
15
|
Ralf Hinze and Andres Löh. "Scrap Your Boilerplate"' Revolutions. In Tarmo Uustalu, editor, Mathematics of Program Construction: 8th International Conference (MPC 2006), volume 4014 of Lecture Notes in Computer Science, pages 180--208. Springer-Verlag, 2006b.
|
| |
16
|
Ralf Hinze, Johan Jeuring, and Andres Löh. Comparing Approaches to Generic Programming in Haskell. In Roland Backhouse, Jeremy Gibbons, Ralf Hinze, and Johan Jeuring, editors, School on Datatype-Generic Programming, 2006, volume 4719 of Lecture Notes in Computer Science, pages 72--149. Springer-Verlag, 2006a.
|
| |
17
|
Ralf Hinze, Andres Löh, and Bruno Oliveira. "Scrap Your Boilerplate" Reloaded. In Proceedings of FLOPS 2006, 2006b.
|
| |
18
|
|
 |
19
|
|
 |
20
|
|
 |
21
|
|
| |
22
|
Andres Löh. Exploring Generic Haskell. PhD thesis, Instituut voor Programmatuurkunde en Algoritmiek, 2004.
|
| |
23
|
Conor McBride. Dependently Typed Functional Programs and their Proofs. PhD thesis, University of Edinburgh, 1999.
|
| |
24
|
Peter Morris, Thorsten Altenkirch, and Conor McBride. Exploring the Regular Tree Types. In Jean-Christophe Filliâtre, Christine Paulin-Mohring, and Benjamin Werner, editors, Types for Proofs and Programs (TYPES 2004), volume 3839 of Lecture Notes in Computer Science, pages 252--267. Springer-Verlag, 2006.
|
| |
25
|
Peter Morris, Thorsten Altenkirch, and Neil Ghani. Constructing Strictly Positive Families. In Joachim Gudmundsson and Barry Jay, editors, Theory of Computing (CATS 2007), Conferences in Research and Practice in Information Technology (CRPIT), Volume 65, 2007.
|
| |
26
|
Ulf Norell. Functional generic programming and type theory. Master's thesis, Computing Science, Chalmers University of Technology, 2002.
|
 |
27
|
Simon Peyton Jones , Dimitrios Vytiniotis , Stephanie Weirich , Geoffrey Washburn, Simple unification-based type inference for GADTs, Proceedings of the eleventh ACM SIGPLAN international conference on Functional programming, September 16-21, 2006, Portland, Oregon, USA
|
| |
28
|
Holger Pfeifer and Harald Rueß. Polytypic Abstraction in Type Theory. In Roland Backhouse and Tim Sheard, editors, Workshop on Generic Programming (WGP'98). June 1998.
|
| |
29
|
|
| |
30
|
Tim Sheard. Generic Programming in mega. In Roland Backhouse, Jeremy Gibbons, Ralf Hinze, and Johan Jeuring, editors, Spring School on Datatype-Generic Programming, volume 4719 of Lecture Notes in Computer Science. Springer-Verlag, 2007.
|
| |
31
|
M. H. Sørensen and P. Urzyczyn. Lectures on the Curry-Howard Isomorphism. Elsevier, 2006.
|
| |
32
|
Wendy Verbruggen. Coq sources for this paper, 2008. https://www.cs.tcd.ie/verbruwj/pub/.
|
|