Eliminating reflection from type theory. Winterhalter, T., Sozeau, M., & Tabareau, N. In Proceedings of the 8th ACM SIGPLAN International Conference on Certified Programs and Proofs, of CPP 2019, pages 91–103, Cascais, Portugal, January, 2019. Association for Computing Machinery.
Paper doi abstract bibtex Type theories with equality reflection, such as extensional type theory (ETT), are convenient theories in which to formalise mathematics, as they make it possible to consider provably equal terms as convertible. Although type-checking is undecidable in this context, variants of ETT have been implemented, for example in NuPRL and more recently in Andromeda. The actual objects that can be checked are not proof-terms, but derivations of proof-terms. This suggests that any derivation of ETT can be translated into a typecheckable proof term of intensional type theory (ITT). However, this result, investigated categorically by Hofmann in 1995, and 10 years later more syntactically by Oury, has never given rise to an effective translation. In this paper, we provide the first effective syntactical translation from ETT to ITT with uniqueness of identity proofs and functional extensionality. This translation has been defined and proven correct in Coq and yields an executable plugin that translates a derivation in ETT into an actual Coq typing judgment. Additionally, we show how this result is extended in the context of homotopy type theory to a two-level type theory.
@inproceedings{winterhalter_eliminating_2019,
address = {Cascais, Portugal},
series = {{CPP} 2019},
title = {Eliminating reflection from type theory},
isbn = {978-1-4503-6222-1},
url = {https://doi.org/10.1145/3293880.3294095},
doi = {10/gh36j6},
abstract = {Type theories with equality reflection, such as extensional type theory (ETT), are convenient theories in which to formalise mathematics, as they make it possible to consider provably equal terms as convertible. Although type-checking is undecidable in this context, variants of ETT have been implemented, for example in NuPRL and more recently in Andromeda. The actual objects that can be checked are not proof-terms, but derivations of proof-terms. This suggests that any derivation of ETT can be translated into a typecheckable proof term of intensional type theory (ITT). However, this result, investigated categorically by Hofmann in 1995, and 10 years later more syntactically by Oury, has never given rise to an effective translation. In this paper, we provide the first effective syntactical translation from ETT to ITT with uniqueness of identity proofs and functional extensionality. This translation has been defined and proven correct in Coq and yields an executable plugin that translates a derivation in ETT into an actual Coq typing judgment. Additionally, we show how this result is extended in the context of homotopy type theory to a two-level type theory.},
urldate = {2020-06-23},
booktitle = {Proceedings of the 8th {ACM} {SIGPLAN} {International} {Conference} on {Certified} {Programs} and {Proofs}},
publisher = {Association for Computing Machinery},
author = {Winterhalter, Théo and Sozeau, Matthieu and Tabareau, Nicolas},
month = jan,
year = {2019},
keywords = {dependent types, formalisation, translation},
pages = {91--103},
}
Downloads: 0
{"_id":"roXhbQobLzDuosKG6","bibbaseid":"winterhalter-sozeau-tabareau-eliminatingreflectionfromtypetheory-2019","author_short":["Winterhalter, T.","Sozeau, M.","Tabareau, N."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","address":"Cascais, Portugal","series":"CPP 2019","title":"Eliminating reflection from type theory","isbn":"978-1-4503-6222-1","url":"https://doi.org/10.1145/3293880.3294095","doi":"10/gh36j6","abstract":"Type theories with equality reflection, such as extensional type theory (ETT), are convenient theories in which to formalise mathematics, as they make it possible to consider provably equal terms as convertible. Although type-checking is undecidable in this context, variants of ETT have been implemented, for example in NuPRL and more recently in Andromeda. The actual objects that can be checked are not proof-terms, but derivations of proof-terms. This suggests that any derivation of ETT can be translated into a typecheckable proof term of intensional type theory (ITT). However, this result, investigated categorically by Hofmann in 1995, and 10 years later more syntactically by Oury, has never given rise to an effective translation. In this paper, we provide the first effective syntactical translation from ETT to ITT with uniqueness of identity proofs and functional extensionality. This translation has been defined and proven correct in Coq and yields an executable plugin that translates a derivation in ETT into an actual Coq typing judgment. Additionally, we show how this result is extended in the context of homotopy type theory to a two-level type theory.","urldate":"2020-06-23","booktitle":"Proceedings of the 8th ACM SIGPLAN International Conference on Certified Programs and Proofs","publisher":"Association for Computing Machinery","author":[{"propositions":[],"lastnames":["Winterhalter"],"firstnames":["Théo"],"suffixes":[]},{"propositions":[],"lastnames":["Sozeau"],"firstnames":["Matthieu"],"suffixes":[]},{"propositions":[],"lastnames":["Tabareau"],"firstnames":["Nicolas"],"suffixes":[]}],"month":"January","year":"2019","keywords":"dependent types, formalisation, translation","pages":"91–103","bibtex":"@inproceedings{winterhalter_eliminating_2019,\n\taddress = {Cascais, Portugal},\n\tseries = {{CPP} 2019},\n\ttitle = {Eliminating reflection from type theory},\n\tisbn = {978-1-4503-6222-1},\n\turl = {https://doi.org/10.1145/3293880.3294095},\n\tdoi = {10/gh36j6},\n\tabstract = {Type theories with equality reflection, such as extensional type theory (ETT), are convenient theories in which to formalise mathematics, as they make it possible to consider provably equal terms as convertible. Although type-checking is undecidable in this context, variants of ETT have been implemented, for example in NuPRL and more recently in Andromeda. The actual objects that can be checked are not proof-terms, but derivations of proof-terms. This suggests that any derivation of ETT can be translated into a typecheckable proof term of intensional type theory (ITT). However, this result, investigated categorically by Hofmann in 1995, and 10 years later more syntactically by Oury, has never given rise to an effective translation. In this paper, we provide the first effective syntactical translation from ETT to ITT with uniqueness of identity proofs and functional extensionality. This translation has been defined and proven correct in Coq and yields an executable plugin that translates a derivation in ETT into an actual Coq typing judgment. Additionally, we show how this result is extended in the context of homotopy type theory to a two-level type theory.},\n\turldate = {2020-06-23},\n\tbooktitle = {Proceedings of the 8th {ACM} {SIGPLAN} {International} {Conference} on {Certified} {Programs} and {Proofs}},\n\tpublisher = {Association for Computing Machinery},\n\tauthor = {Winterhalter, Théo and Sozeau, Matthieu and Tabareau, Nicolas},\n\tmonth = jan,\n\tyear = {2019},\n\tkeywords = {dependent types, formalisation, translation},\n\tpages = {91--103},\n}\n\n","author_short":["Winterhalter, T.","Sozeau, M.","Tabareau, N."],"key":"winterhalter_eliminating_2019","id":"winterhalter_eliminating_2019","bibbaseid":"winterhalter-sozeau-tabareau-eliminatingreflectionfromtypetheory-2019","role":"author","urls":{"Paper":"https://doi.org/10.1145/3293880.3294095"},"keyword":["dependent types","formalisation","translation"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/SilverSylvester","dataSources":["YCBcQPneB9oxahSnp"],"keywords":["dependent types","formalisation","translation"],"search_terms":["eliminating","reflection","type","theory","winterhalter","sozeau","tabareau"],"title":"Eliminating reflection from type theory","year":2019}