Skip to main content
QUICK REVIEW

[Paper Review] Transalg: a Tool for Translating Procedural Descriptions of Discrete Functions to SAT (Tool Paper).

Ilya Otpuschennikov, Alexander Semenov|arXiv (Cornell University)|May 7, 2014
Formal Methods in VerificationComputer Science17 references3 citations
TL;DR

Transalg is a tool that automatically generates SAT encodings for discrete functions specified as procedural programs in a domain-specific language. It leverages symbolic execution and propositional encoding techniques for formal computing models, successfully producing SAT encodings for multiple cryptographic functions.

ABSTRACT

In this paper we present the Transalg system, designed to produce SAT encodings for discrete functions, written as programs in a specific language. Translation of such programs to SAT is based on propositional encoding methods for formal computing models and on the concept of symbolic execution. We used the Transalg system to make SAT encodings for a number of cryptographic functions.

Motivation & Objective

  • To automate the generation of SAT encodings for discrete functions described as procedural programs.
  • To support formal verification and analysis of cryptographic primitives by translating them into SAT instances.
  • To reduce manual effort in creating SAT encodings by leveraging symbolic execution and propositional encoding methods.
  • To enable efficient encoding of complex discrete functions, particularly in cryptography, using a systematic and reusable approach.

Proposed method

  • The system uses a domain-specific language to represent procedural descriptions of discrete functions.
  • It applies symbolic execution to explore program paths and derive logical constraints.
  • Propositional encoding techniques are used to translate control flow and data operations into Boolean logic.
  • The method maps each program operation to equivalent propositional logic expressions, preserving functional behavior.
  • The resulting SAT formula is logically equivalent to the original program's behavior over finite domains.

Experimental results

Research questions

  • RQ1How can procedural descriptions of discrete functions be systematically translated into SAT formulas?
  • RQ2To what extent can symbolic execution improve the accuracy and efficiency of SAT encoding generation?
  • RQ3Can the proposed method produce correct and compact SAT encodings for cryptographic functions?
  • RQ4What is the scalability and reusability of the encoding process across diverse discrete functions?

Key findings

  • Transalg successfully generated SAT encodings for a range of cryptographic functions using its symbolic execution and propositional encoding pipeline.
  • The tool demonstrated the feasibility of automating SAT encoding for procedural discrete functions without manual intervention.
  • The generated encodings preserved functional correctness and were logically equivalent to the original program behavior.
  • The approach reduced the complexity and error-prone nature of manual SAT encoding for cryptographic primitives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.