A Proof-Generating C Code Generator for ACL2 Based on a Shallow Embedding of C in ACL2

05/24/2022
by   Alessandro Coglio, et al.
0

This paper describes a C code generator for ACL2 that recognizes ACL2 representations of C constructs, according to a shallow embedding of C in ACL2, and translates those representations to the represented C constructs. The code generator also generates ACL2 theorems asserting the correctness of the C code with respect to the ACL2 code. The code generator currently supports a limited but growing subset of C that already suffices for some interesting programs. This paper also offers a general perspective on language embedding and code generation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/24/2022

A Complex Java Code Generator for ACL2 Based on a Shallow Embedding of ACL2 in Java

This paper describes a code generator that translates ACL2 constructs to...
research
06/08/2019

Finding a Generator Matrix of a Multidimensional Cyclic Code

We generalize Sepasdar's method for finding a generator matrix of two-di...
research
01/04/2018

Hygienic Source-Code Generation Using Functors

Existing source-code-generating tools such as Lex and Yacc suffer from p...
research
11/25/2017

Total Haskell is Reasonable Coq

We would like to use the Coq proof assistant to mechanically verify prop...
research
07/03/2020

Collaborative Learning for Faster StyleGAN Embedding

The latent code of the recent popular model StyleGAN has learned disenta...
research
05/22/2021

Choosing is Losing: How to combine the benefits of shallow and deep embeddings through reflection

Dependently-typed host languages empower users to verify a wide range of...
research
10/09/2020

Generating Novel Glyph without Human Data by Learning to Communicate

In this paper, we present Neural Glyph, a system that generates novel gl...

Please sign up or login with your details

Forgot password? Click here to reset