Formalizing The Theory of Bit-vectors for Integration of SMT Solvers and Theorem Provers

Lean-SMT is a tactic to integrate the Lean Theorem Prover with cvc5, a Satisfiability Modulo Theory (SMT) solver. To increase automation in Lean, the tactic will reconstruct a proof of unsatisfiability produced by cvc5 in Lean step by step. For successful proof reconstruction in Lean, every cvc5 proof rule and rewrite rule must already be a term in Lean’s library. Consequently, for cvc5’s bit-vector solver, we formalize a theory of bit-vectors in Lean. This includes formalizing a novel bit-vector representation, bit-blasting theorems, and bit-vector rewrite rules. We discuss the formalization primarily and some challenges we faced.

Publication Details

Journal
Stanford Digital Repository
Published
2024-08-21
DOI
https://doi.org/10.25740/nb615dd3764
Primary Topic
Environmental DNA in Biodiversity Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Formalizing The Theory of Bit-vectors for Integration of SMT Solvers and Theorem Provers

Stanford Digital Repository
Environmental DNA in Biodiversity Studies
article

Formalizing The Theory of Bit-vectors for Integration of SMT Solvers and Theorem Provers

article en

Abstract

Lean-SMT is a tactic to integrate the Lean Theorem Prover with cvc5, a Satisfiability Modulo Theory (SMT) solver. To increase automation in Lean, the tactic will reconstruct a proof of unsatisfiability produced by cvc5 in Lean step by step. For successful proof reconstruction in Lean, every cvc5 proof rule and rewrite rule must already be a term in Lean’s library. Consequently, for cvc5’s bit-vector solver, we formalize a theory of bit-vectors in Lean. This includes formalizing a novel bit-vector representation, bit-blasting theorems, and bit-vector rewrite rules. We discuss the formalization primarily and some challenges we faced.

Stanford Digital Repository
Openalex Percentile: Top 62%
Environmental DNA in Biodiversity Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Formalizing The Theory of Bit-vectors for Integration of SMT Solvers and Theorem Provers · Stanford Digital Repository (2024) | TGRS Research Map | TGRS