Type Inference for Isabelle2Cpp
<|reference_start|>Type Inference for Isabelle2Cpp: Isabelle2Cpp is a code generation framework that supports automatic generation of C++ code from Isabelle/HOL specifications. However, if some type information of Isabelle/HOL specification is missing, Isabelle2Cpp may not complete the code generation automatically. In order to solve this problem, this paper provides a type system for Isabelle2Cpp, which is used to perform type inference and type unification for expressions of the intermediate representation in Isabelle2Cpp. The system introduces new type inference rules and unification algorithms to enhance the Isabelle2Cpp framework. By incorporating the type system, the Isabelle2Cpp framework can provide more comprehensive type information for expression generation, which leads to more complete and accurate C++ code.<|reference_end|>
@article{jiang2024type,
    title={Type Inference for Isabelle2Cpp},
    author={Dongchen Jiang, Chenxi Fu},
    journal={arXiv preprint arXiv:2404.18067},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.18067},
    primaryClass={cs.LO}
}