Work

Embedding Untrusted Imperative ML Oracles into Coq Verified Code

Year: 2019
Type: preprint
Abstract: This paper investigates a lightweight approach-combining Coq and OCaml typecheckers-in order to formally verify higher-order imperative programs in partial correctness. In this approach, the user does never formally reason about effects of imperative functions, but only about their results. Formal guarantees are obtained by combining parametric reasoning over polymorphic functions (i.e. "theorems for free" a la Wadler) with verified defensive programming. This paper illustrates the approach on several examples. Among them: first, the certification of a polymorphic memoized fixpoint operator using untrusted hash-tables; second, a certified Boolean SAT-solver, invoking internally any untrusted but state-of-the-art SAT-solver (itself generally programmed in C/C++).
Source: HAL
Institution: Verimag
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W2947683711
Cites: 33
Cited by: 6
Related to: 10