← Lab /Software

Deductive system soundly and completely proves CPU leakage contracts via relative bisimulation

The authors assert their deductive proof system is sound, complete, and enables modular contract-satisfaction proofs

Software arXiv 10 Apr 2026 Method Prototype evidence

Published as “A Deductive System for Contract Satisfaction Proofs”

Why it matters

The system gives a mechanized foundation for higher-assurance verification of hardware-software contracts, potentially reducing reliance on brittle testing or model-checking pipelines.

Summary

The authors built a deductive system for contract satisfaction that is sound and complete, and they mechanized it in Coq, successfully proving two hardware-software contracts for simple CPUs. The system uses a new relative bisimulation technique that constructs invariants incrementally and supports up-to reasoning for symmetry and transitivity. Evidence comes from two case studies (always-mispredict and sequential contracts) on simplified hardware models. The paper also notes limitations such as a simplified scheduler, no nested speculation, and the difficulty of finding invariants. No large-scale empirical evaluation is presented.

What they found 1

  1. The deductive system is provably sound and complete and enables modular, incremental proofs.

    “Our system is provably sound and complete, and it enables a modular and incremental proof style.”

Caveats 6

  • The authors acknowledge that, despite completeness, finding and expressing suitable invariants can be difficult in practice.
  • A rule (Augment-Hardware-Leakage) is unsound without a lockstep restriction, requiring a corrective limitation.
  • our hardware semantics uses a simplified scheduler that does not feature a fetch-execute-retire pipeline.
  • we are yet to combine the always-mispredict feature with the out-of-order scheduler.
  • we have not considered nested speculation in this paper.
  • Although our deductive system is complete, finding and expressing such invariants might be difficult in practice.

What’s new here 4

  • Provides an interactive-proof-assistant based approach instead of testing or model checking.
  • Introduces relative bisimulation as a sound and complete technique for relative trace equality.
  • Supports modular, incremental proofs with up-to techniques (symmetry, transitivity, leakage equivalence).
  • Handles asynchronous reasoning by combining coinductive and inductive phases.