An Internalist Approach to Correct-by-Construction Compilers. Pardo, A., Gunther, E., Pagano, M., & Viera, M. In Proceedings of the 20th International Symposium on Principles and Practice of Declarative Programming, of PPDP '18, pages 1–12, Frankfurt am Main, Germany, September, 2018. Association for Computing Machinery.
An Internalist Approach to Correct-by-Construction Compilers [link]Paper  doi  abstract   bibtex   
In this paper we present a methodology to organize the construction of a correct compiler, taking advantage of the power of full dependently type systems. The basic idea consists in decorating the abstract syntax of languages with their semantics, allowing to express the correctness of the compiler at type level. We show our methodology in a first small example and then explore how it can be promoted to more realistic languages, realizing that our internalistic approach is feasible for defining a correct-by-construction compiler from an imperative language with conditional iteration to a stack based intermediate language. We also show how this methodology can be combined with the externalist approach, compiling from the intermediate language to an assembly-like low level code and separately proving its correctness.
@inproceedings{pardo_internalist_2018,
	address = {Frankfurt am Main, Germany},
	series = {{PPDP} '18},
	title = {An {Internalist} {Approach} to {Correct}-by-{Construction} {Compilers}},
	isbn = {978-1-4503-6441-6},
	url = {https://doi.org/10.1145/3236950.3236965},
	doi = {10/gh36j5},
	abstract = {In this paper we present a methodology to organize the construction of a correct compiler, taking advantage of the power of full dependently type systems. The basic idea consists in decorating the abstract syntax of languages with their semantics, allowing to express the correctness of the compiler at type level. We show our methodology in a first small example and then explore how it can be promoted to more realistic languages, realizing that our internalistic approach is feasible for defining a correct-by-construction compiler from an imperative language with conditional iteration to a stack based intermediate language. We also show how this methodology can be combined with the externalist approach, compiling from the intermediate language to an assembly-like low level code and separately proving its correctness.},
	urldate = {2020-05-12},
	booktitle = {Proceedings of the 20th {International} {Symposium} on {Principles} and {Practice} of {Declarative} {Programming}},
	publisher = {Association for Computing Machinery},
	author = {Pardo, Alberto and Gunther, Emmanuel and Pagano, Miguel and Viera, Marcos},
	month = sep,
	year = {2018},
	keywords = {compiler design, correct-by-construction, dependent types, dependently-typed programming indexed families, ornaments},
	pages = {1--12},
}

Downloads: 0