Hostname: page-component-8448b6f56d-m8qmq Total loading time: 0 Render date: 2024-04-19T04:33:58.629Z Has data issue: false hasContentIssue false

Pure type systems with explicit substitutions

Published online by Cambridge University Press:  09 November 2015

DANIEL FRIDLENDER
Affiliation:
FaMAF, Universidad Nacional de Córdoba, Córdoba, Argentina (e-mail: fridlend@famaf.unc.edu.ar, pagano@famaf.unc.edu.ar)
MIGUEL PAGANO
Affiliation:
FaMAF, Universidad Nacional de Córdoba, Córdoba, Argentina (e-mail: fridlend@famaf.unc.edu.ar, pagano@famaf.unc.edu.ar)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

We introduce a new formulation of pure type systems (PTSs) with explicit substitution and de Bruijn indices and formally prove some of its meta-theory. Using techniques based on Normalisation by Evaluation, we prove that untyped conversion can be typed for predicative PTSs. Although this equivalence was settled by Siles and Herbelin for the conventional presentation of PTSs, we strongly conjecture that our proof method can also be applied to PTSs with η.

Type
Articles
Copyright
Copyright © Cambridge University Press 2015 

References

Abadi, M., Cardelli, L., Curien, P.-L., & Lévy, J. J. (1990) Explicit substitutions. In Proceedings of the 17th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages POPL '90: San Francisco, California, USA, January 1990. ACM, pp. 31–46.CrossRefGoogle Scholar
Abel, A. (2010) Towards normalization by evaluation for the βη-calculus of constructions. In Functional and Logic Programming, Blume, M., Kobayashi, N. & Vidal, G. (eds), Lectures Notes in Computer Science, vol. 6009. Sendai, Japan, April 19–21, 2010, Berlin Heidelberg: Springer, pp. 224239.CrossRefGoogle Scholar
Abel, A., Coquand, T. & Dybjer, P. (2007) Normalization by evaluation for Martin-Löf type theory with typed equality judgements. In Lics. Wrocław, Poland, July 10–14 2007. IEEE Computer Society, pp. 312.Google Scholar
Abel, A., Coquand, T. & Dybjer, P. (2008) Verifying a semantic βη-conversion test for Martin-Löf type theory. In Proceedings of the 9th International Conference on Mathematics of Program Construction, MPC 2008, Marseille (Luminy), France, 15–18 July 2008, Audebaud, P. & Paulin-Mohring, C. (eds), Lectures Notes in Computer Science, vol. 5133. Springer, pp. 2956.Google Scholar
Abel, A., Coquand, T. & Pagano, M. (2011) A modular type-checking algorithm for type theory with singleton types and proof irrelevance. Log. Methods Comput. Sci. 7 (2:4), 157.Google Scholar
Abramsky, S. & Jung, A. (1994) Domain Theory. Oxford University Press. pp. 1168.Google Scholar
Adams, R. (2006) Pure type systems with judgemental equality. J. Funct. Program. 16 (2), 219246.CrossRefGoogle Scholar
Altenkirch, T. & Chapman, J. (2009) Big-step normalisation. J. Funct. Program. 19 (3–4), 311333.CrossRefGoogle Scholar
Asperti, A., Ricciotti, W., Coen, C. S. & Tassi, E. (2011) The Matita interactive theorem prover. In Cade, Wrocław, Poland, 31 July–5 August 2011, Bjørner, N. & Sofronie-Stokkermans, V. (eds), Lecture Notes in Computer Science, vol. 6803. Springer, pp. 6469.Google Scholar
Barendregt, H. (1992) Lambda calculi with types. In Handbook of Logic in Computer Science, Abramsky, S., Gabbay, D. M., & Maibaum, T. S. E. (eds), Oxford University Press, pp. 117309.Google Scholar
Barras, B. (1998) Verification of the interface of a small proof system in coq. In Types for Proofs and Programs, Aussois, France, December 15–19, 1996, Giménez, E. & Paulin-Mohring, C. (eds), Lectures Notes in Computer Science, vol. 1512. Berlin Heidelberg: Springer, pp. 2845.CrossRefGoogle Scholar
Barthe, G. & Coquand, T. (2006) Remarks on the equational theory of non-normalizing pure type systems. J. Funct. Program. 16, 137155.CrossRefGoogle Scholar
Barthe, G. & Sørensen, M. H. (2000) Domain-free pure type systems. J. Funct. Program. 10 (5), 417452.CrossRefGoogle Scholar
Bloo, R. (2001) Pure type systems with explicit substitution. Math. Struct. Comput. Sci. 11 (1), 319.CrossRefGoogle Scholar
Coq, Development Team. (2004) The Coq Proof Assistant Reference Manual. Version 8.0.Google Scholar
Curien, P.-L., Hardin, T. & Lévy, J.-J. (1996) Confluence properties of weak and strong calculi of explicit substitutions. J. Assoc. Comput. Mach. 43, 362397.CrossRefGoogle Scholar
Curien, P.-L., Hardin, T. & Ríos, A. (1992) Strong normalization of substitutions. In Mfcs, Prague, Czechoslovakia, August 24–28, 1992, Havel, I. M., & Koubek, V. (eds), Lectures Notes in Computer Science, vol. 629. Springer, pp. 209217.Google Scholar
Danielsson, N. A. (2007) A formalisation of a dependently typed language as an inductive-recursive family. In Types for Proofs and Programs, Cividale del Friuli, Italy, May 2–5, 2007, Altenkirch, T. & McBride, C. (eds), Lecture Notes in Computer Science, vol. 4502. Berlin Heidelberg: Springer, pp. 93109.CrossRefGoogle Scholar
Dybjer, P. (1996) Internal type theory. In Types for Proofs and Programs, International Workshop, TYPES'95, Torino, Italy, June 5–8, 1995, Berardi, S. & Coppo, M. (eds), Lectures Notes in Computer Science, vol. 1158. Springer, pp. 120134.CrossRefGoogle Scholar
Dybjer, P. (2000) A general formulation of simultaneous inductive-recursive definitions in type theory. J. Symb. Log. 65 (2), 525549.CrossRefGoogle Scholar
Fridlender, D. & Pagano, M. (2013) A type-checking algorithm for Martin-Löf type theory with subtyping based on normalisation by evaluation. In Typed Lambda Calculi and Applications, Eindhoven, The Netherlands, 26–28 June 2013, Hasegawa, M. (ed), Lecture Notes in Computer Science, vol. 7941. Berlin Heidelberg: Springer, pp. 140155.CrossRefGoogle Scholar
Geuvers, H. (1993) Logics and Type Systems. Ph.D. thesis, Katholieke Universiteit Nijmegen.Google Scholar
Geuvers, H., & Werner, B. (1994) On the Church-Rosser property for expressive type systems and its consequences for their metatheoretic study. In Proceedings Symposium on Logic in Computer Science, 1994. LICS '94, Paris, France, July 4–7, 1994. pp. 320–329.CrossRefGoogle Scholar
Hardin, T. (1989) Confluence results for the pure strong categorical logic CCL: Lambda-Calculi as subsystems of CCL. Theor. Comput. Sci. 65 (3), 291342.CrossRefGoogle Scholar
Kesner, D. (2000) Confluence of extensional and non-extensional λ-calculi with explicit substitutions. Theor. Comput. Sci. 238 (1–2), 183220.CrossRefGoogle Scholar
Luo, Z. (1994) Computation and Reasoning: A Type Theory for Computer Science. International Series of Monographs on Computer Science. Clarendon Press.CrossRefGoogle Scholar
Miquel, A. & Werner, B. (2002) The not so simple proof-irrelevant model of CC. In Types, Berg en Dal, The Netherlands, April 24–28, 2002, Geuvers, H. & Wiedijk, F. (eds), Lecture Notes in Computer Science, vol. 2646. Springer, pp. 240258.Google Scholar
Muñoz, C. (2001) Dependent types and explicit substitutions: A meta-theoretical development. Math. Struct. Comput. Sci. 11, 91129.CrossRefGoogle Scholar
Siles, V. (2010) Investigation on the Typing of Equality in Type Systems. Ph.D. thesis, École Polytechnique.Google Scholar
Siles, V. & Herbelin, H. (2010) Equality is typable in semi-full pure type systems. In Lics. Edinburgh, Scotland, UK, July 11–14, 2010, IEEE Computer Soc. Press, pp. 2130.Google Scholar
Siles, V. & Herbelin, H. (2012) Pure type System conversion is always typable. J. Funct. Program. 22 (2), 153180.CrossRefGoogle Scholar
Streicher, T. (1989) Correctness and Completeness of a Categorical Semantics of the Calculus of Constructions. Ph.D. thesis, Universität Passau, Passau, West Germany.Google Scholar
Submit a response

Discussions

No Discussions have been published for this article.