~/talk

Verify, but test: extracting property-based tests from F* specifications

Talkat ML 2022 · on Thursday, 2022-09-15· [testing]
links:none on file
links:none on file
slides:none on file

Extracts F pre and postconditions into OCaml Boolean predicates via a tiny Meta F tactic and runs them as QCheck tests against production data. Targets an incremental Merkle tree with two invariants Merkle property and left‑to‑right incrementality inside a ~1M LOC Tezos codebase. Builds a readable, reasonably fast prototype OCaml implementation from the model, uses a simple simulation function to map production representation to the model, supports only trivially computable predicates, and finds property testing catches integration issues without full verification.

AI-written summary · about

  1. 0:00Industrial verification is hard!
  2. 3:47Verification spectrum
  3. 5:11Testing with the initial specification
  4. 7:28F* Specification Extraction
  5. 9:11Case study: Incremental Merkle Trees
  6. 9:43IMT insertion spec
  7. 10:26Extracted Specification
  8. 11:04IMT verification
  9. 11:38Extracted Implementation
  10. 12:15Testing with the extracted reference
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.