๐ฎ
๐ฎ
The Ethereal
A Complex Java Code Generator for ACL2 Based on a Shallow Embedding of ACL2 in Java
May 24, 2022 ยท The Ethereal ยท ๐ International Workshop on the ACL2 Theorem Prover and Its Applications
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Alessandro Coglio
arXiv ID
2205.11707
Category
cs.LO: Logic in CS
Cross-listed
cs.PL,
cs.SE
Citations
1
Venue
International Workshop on the ACL2 Theorem Prover and Its Applications
Last Checked
5 months ago
Abstract
This paper describes a code generator that translates ACL2 constructs to corresponding Java constructs, according to a shallow embedding of ACL2 in Java. Starting from purely functional ACL2 code, the generated Java code exhibits imperative and object-oriented features like destructive updates, loops, and overloading. The overall translation from ACL2 to Java is fairly elaborate, consisting of several ACL2-to-ACL2 pre-translation steps, an ACL2-to-Java proper translation step, and several Java-to-Java post-translation steps. Experiments suggest that the generated Java code is not much slower than the ACL2 code. The code generator can also recognize, and translate to Java, ACL2 representations of certain Java constructs, forerunning a code generation approach based on a shallow embedding of Java in ACL2 (i.e. going the other way). This code generator builds upon, and significantly extends, a simple Java code generator for ACL2 based on a deep embedding of ACL2 in Java.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Logic in CS
๐ฎ
๐ฎ
The Ethereal
Safe Reinforcement Learning via Shielding
๐ฎ
๐ฎ
The Ethereal
Formal Verification of Piece-Wise Linear Feed-Forward Neural Networks
๐ฎ
๐ฎ
The Ethereal
Heterogeneous substitution systems revisited
๐ฎ
๐ฎ
The Ethereal
Omega-Regular Objectives in Model-Free Reinforcement Learning
๐ฎ
๐ฎ
The Ethereal