Pith. sign in

REVIEW 1 cited by

Auto-active Verification of Graph Algorithms, Written in OCaml

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2207.09854 v1 pith:7M2DYC7A submitted 2022-07-20 cs.LO

classification cs.LO
keywords ocamlverificationwrittenfunctionalproofsalgorithmsauto-activecameleer
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Functional programming offers the perfect ground for building correct-by-construction software. Languages of such paradigm normally feature state-of-the-art type systems, good abstraction mechanisms, and well-defined execution models. We claim that all of these make software written in a functional language excellent targets for formal certification. Yet, somehow surprising, techniques such as deductive verification have been seldom applied to large-scale programs, written in mainstream functional languages. In this paper, we wish to address this situation and present the auto-active proof of realistic OCaml implementations. We choose implementations issued from the OCamlgraph library as our target, since this is both a large-scale and widely-used piece of OCaml code. We use Cameleer, a recently proposed tool for the deductive verification of OCaml programs, to conduct the proofs of the selected case studies. The vast majority of such proofs are completed fully-automatically, using SMT solvers, and when needed we can apply lightweight interactive proof inside the Why3 IDE (Cameleer translates an input program into an equivalent WhyML one, the language of the Why3 verification framework). To the best of our knowledge, these are the first mechanized, mostly-automated proofs of graph algorithms written in OCaml.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Unfolding Iterators: Specification and Verification of Higher-Order Iterators, in OCaml

    cs.PL 2025-06 conditional novelty 6.0 of 10

    A translation-based methodology lets Gospel specs of higher-order OCaml iterators be verified automatically by converting them to first-order cursor loops in WhyML.

Pith tools