The Top-Down Solver Verified: Building Confidence in Static Analyzers

Yannick Stade, Sarah Tilscher, Helmut Seidl

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

1 Zitat (Scopus)

Abstract

The top-down solver (TD) is a local fixpoint algorithm for arbitrary equation systems. It considers the right-hand sides as black boxes and detects dependencies between unknowns on the fly—features that significantly increase both its usability and practical efficiency. At the same time, the recursive evaluation strategy of the TD, combined with the non-local destabilization mechanism, obfuscates the correctness of the computed solution. To strengthen the confidence in tools relying on the TD as their fixpoint engine, we provide a first machine-checked proof of the partial correctness of the TD. Our proof builds on the observation that the TD can be obtained from a considerably simpler recursive fixpoint algorithm, the plain TD, by applying an optimization that neither affects the termination behavior nor the computed result. Accordingly, we break down the proof into a partial correctness proof of the plain TD, which is only then extended to include the optimization. The backbone of our proof is a mutual induction following the solver’s computation trace. We establish sufficient invariants about the solver state to conclude the correctness of its optimization, i.e., the plain TD terminates if and only if the TD terminates, and they return the identical result. The proof is written using Isabelle/HOL and is available in the archive of formal proofs.

OriginalspracheEnglisch
TitelComputer Aided Verification - 36th International Conference, CAV 2024, Proceedings
Redakteure/-innenArie Gurfinkel, Vijay Ganesh
Herausgeber (Verlag)Springer Science and Business Media Deutschland GmbH
Seiten303-324
Seitenumfang22
ISBN (Print)9783031656262
DOIs
PublikationsstatusVeröffentlicht - 2024
Veranstaltung36th International Conference on Computer Aided Verification, CAV 2024 - Montreal, Kanada
Dauer: 24 Juli 202427 Juli 2024

Publikationsreihe

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Band14681 LNCS
ISSN (Print)0302-9743
ISSN (elektronisch)1611-3349

Konferenz

Konferenz36th International Conference on Computer Aided Verification, CAV 2024
Land/GebietKanada
OrtMontreal
Zeitraum24/07/2427/07/24

Fingerprint

Untersuchen Sie die Forschungsthemen von „The Top-Down Solver Verified: Building Confidence in Static Analyzers“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren