Skip to main content
QUICK REVIEW

[Paper Review] Higher-order Program Verification as Satisfiability Modulo Theories with Algebraic Data-types

Nikolaj Bjørner, Kenneth L. McMillan|arXiv (Cornell University)|Jun 21, 2013
Logic, programming, and type systemsComputer Science4 references15 citations
TL;DR

This paper proposes extending SMT-LIB to support higher-order program verification by enabling satisfiability modulo theories with algebraic data-types, allowing symbolic software model checking benchmarks to be exchanged and verified using standardized SMT solvers. The key contribution is a framework that decouples modeling and logic development from constraint-solving algorithms, enhancing modularity and reuse in formal verification tools.

ABSTRACT

A key driver of SMT over the past decade has been an interchange format, SMT-LIB, and a growing set of benchmarks sharing this common format. SMT-LIB captures very well an interface that is suitable for many tasks that reduce to solving first-order formulas modulo theories. Here we propose to extend these benefits into the domain of symbolic software model checking. We make a case that SMT-LIB can be used, and to a limited extent adapted, for exchanging symbolic software model checking benchmarks. We believe this layer facilitates dividing innovations in modeling, developing program logics and front-ends, from developing algorithms for solving constraints over recursive predicates. 1 SMT and checking properties of recursive predicates Progress in modern SMT solvers has been driven by a large set of applications in diverse areas. Ap-plications reduce problems to common first-order formats, SMT-LIB [5] and now also the THF [13] format in TPTP, for exchanging benchmarks. They benefit from the progress in automated deduction in SMT solvers and utilize the smorgasbord of theories that are supported with efficient and dedicated solvers. Common to SMT solvers is their support for simply typed first-order classical logic augmented

Motivation & Objective

  • To extend SMT-LIB to support symbolic software model checking benchmarks with recursive predicates and algebraic data-types.
  • To enable interoperability between program logics, front-ends, and SMT solvers by standardizing the interface for higher-order verification.
  • To separate innovations in program logic modeling and front-end development from low-level constraint-solving algorithms.
  • To facilitate progress in formal verification by reusing the SMT-LIB ecosystem and its efficient solvers for higher-order reasoning.

Proposed method

  • Extends SMT-LIB with syntax and semantics for algebraic data-types and recursive predicates to support higher-order reasoning.
  • Maps higher-order program verification problems into first-order SMT formulas using encoding techniques that preserve logical equivalence.
  • Leverages existing SMT solvers by translating recursive predicate constraints into a form compatible with SMT-LIB's theory support.
  • Introduces a modular architecture where program logics and front-ends generate SMT-LIB-formatted constraints, decoupling them from solver implementation.
  • Uses simply typed first-order classical logic as the foundation, augmented with support for recursive data and predicates.
  • Employs a common interchange format to unify diverse verification tools and solvers, promoting benchmark sharing and reproducibility.

Experimental results

Research questions

  • RQ1Can SMT-LIB be extended to express and exchange symbolic software model checking benchmarks involving recursive predicates and algebraic data-types?
  • RQ2How can higher-order program verification be reduced to satisfiability modulo theories in a way that preserves expressiveness and efficiency?
  • RQ3To what extent can existing SMT solvers be reused for higher-order verification through standardized encoding?
  • RQ4What architectural and syntactic extensions are needed to adapt SMT-LIB for symbolic model checking beyond first-order logic?
  • RQ5How can the separation of concerns between program logic design and constraint solving be achieved using a common benchmark format?

Key findings

  • The paper successfully extends SMT-LIB to support algebraic data-types and recursive predicates, enabling representation of higher-order program verification problems.
  • The proposed extension allows symbolic software model checking benchmarks to be exchanged in a standardized format, improving reproducibility and tool interoperability.
  • The framework decouples logic development and front-end design from constraint-solving algorithms, enabling modular innovation.
  • Existing SMT solvers can be effectively reused for higher-order verification when constraints are properly encoded into the extended SMT-LIB format.
  • The approach enables the use of SMT-LIB’s rich ecosystem of theories and solvers for reasoning over recursive data structures and predicates.
  • The work establishes a foundation for benchmark sharing and tool comparison in higher-order program verification, similar to what SMT-LIB achieved for first-order problems.

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.