Synthesizing Abstract Transformers

05/02/2021
by   Pankaj Kumar Kalita, et al.
0

This paper addresses the problem of creating abstract transformers automatically. The method we present provides the basis for creating a tool to automate the construction of program analyzers in a fashion similar to the way yacc automates the construction of parsers. Our method treats the problem as a program-synthesis problem. The user provides specifications of (i) the concrete semantics of a given operation O, (ii) the abstract domain A to be used by the analyzer, and (iii) the semantics of a domain-specific language L in which the abstract transformer is to be expressed. As output, our method creates an abstract transformer for O for abstract domain A, expressed in DSL L. We implemented our method, and used it to create a set of replacement abstract transformers for those used in an existing analyzer, and obtained essentially identical performance. However, when we compared the existing transformers with the generated transformers, we discovered that two of the existing transformers were unsound, which demonstrates the risk of using manually created transformers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/11/2018

Learning Abstractions for Program Synthesis

Many example-guided program synthesis techniques use abstractions to pru...
research
08/25/2021

The Next 700 Program Transformers

In this paper, we describe a hierarchy of program transformers in which ...
research
01/26/2023

Synthesizing Specifications

Every program should always be accompanied by a specification that descr...
research
03/29/2019

A Provable Defense for Deep Residual Networks

We present a training system, which can provably defend significantly la...
research
02/22/2021

Position Information in Transformers: An Overview

Transformers are arguably the main workhorse in recent Natural Language ...
research
08/17/2022

Proof Engineering with Predicate Transformer Semantics

We present a lightweight, open source Agda framework for manually verify...
research
04/25/2023

Application of Transformers for Nonlinear Channel Compensation in Optical Systems

In this paper, we introduce a new nonlinear channel equalization method ...

Please sign up or login with your details

Forgot password? Click here to reset