arrow
Return

Type Inference for Isabelle2Cpp

delete2026-04-14
delete0
PRE
AI
蒋
蒋东辰 (Dongchen Jiang)
M
Mao, Yongkang
C
Chenxi Fu *
DOI:10.3390/app16083828delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Isabelle2Cpp is a code generation framework that supports the automatic generation of C++ code from Isabelle/HOL specifications. However, when type information in an Isabelle/HOL specification is incomplete, Isabelle2Cpp may not be able to complete code generation automatically. To address this issue, this paper presents a type system for Isabelle2Cpp that performs type inference and type unification for expressions in its intermediate representation. The system introduces new type inference rules and unification algorithms to enhance the Isabelle2Cpp framework. By incorporating this type system, Isabelle2Cpp provides more comprehensive type information for expressions, leading to more complete and accurate C++ code generation.
Keywords:
Isabelle2Cpp
type inference
type system
code generation
errShare
errSave
Local Contextual Type Inference
err2026-01-01
err0
PREAI
errXue, Xu; Cui, Chen; Jiang, Shengyi; Oliveira, Bruno C. D. S.
errShare
errSave
Type Inference on Executables
err2016-05-02
err44
PREAI
errCaballero, Juan; Lin, Zhiqiang
errShare
errSave
How do developers use type inference: an exploratory study in Kotlin
err2025-01-16
err0
PREAI
errFlint, Samuel W.; Keshk, Ali M.; Dyer, Robert; Bagheri, Hamid
errShare
errSave
Generating Python Type Annotations from Type Inference: How Far Are We?
err2024-06-03
err3
errOAAI
errGuo, Yimeng; Chen, Zhifei; Chen, Lin; Xu, Wenjie; Li, Yanhui; Zhou, Yuming; Xu, Baowen
errShare
errSave
Evolving Fortran types with inferred units-of-measure
err2015-07-01
err6
errOAAI
errOrchard, Dominic; Rice, Andrew; Oshmyan, Oleg
errShare
errSave
Fully-Automatic Type Inference for Borrows with Lifetimes
err2026-04-01
err0
PREAI
errBrandon, William; Driscoll, Benjamin; Dai, Frank; Ragan-Kelley, Jonathan; Milano, Mae; Aiken, Alex
errShare
errSave

Journal

A
Applied Sciences-Basel
IF:
2.5
Papers:
7.6K
Citations:
2.9K

Organization

Beijing Forestry University cover
Beijing Forestry University
Scholars:
1.7K
Papers: 498
Citations: 9.1K
Cited Papers

Cited Papers

Object-oriented type inference
err1991-11-01
err0
PREAI
errPalsberg,Jens; Schwartzbach,Michael I.
errShare
errSave
Local type inference
err2000-01-01
err0
errOAAI
errBenjamin C. Pierce; David N. Turner
errShare
errSave
Type systems
err1996-03-01
err45
errOAAI
errCardelli, L
errShare
errSave
Explaining type inference
err1996-07-01
err0
PREAI
errDominic Duggan; Frederick Bent
errShare
errSave
OutsideIn(X)Modular type inference with local assumptions
err2011-05-16
err0
errOAAI
errDIMITRIOS VYTINIOTIS; SIMON PEYTON JONES; TOM SCHRIJVERS; MARTIN SULZMANN
errShare
errSave
researcher View more