TorchLean API

NN.MLTheory.CROWN.Proofs.Overview

CROWN/LiRPA soundness proofs (overview) #

This directory contains proof-level soundness results for the CROWN/LiRPA family of bound propagation methods, plus “checker-style” theorems for certificate checking on our verifier-graph dialect (NN.MLTheory.CROWN.Graph).

The core pattern repeated throughout the development is:

  1. Define a value semantics for a supported graph dialect (typically over ).
  2. Define a bound-propagation step function (IBP, CROWN, α-CROWN, α/β-CROWN) that computes a certificate entry from parent certificate entries.
  3. Prove a transfer-rule soundness lemma for the step function.
  4. Use a topological-order induction to obtain an end-to-end “checker implies enclosure” theorem.

Relation to existing implementations #

These theorems are designed to align with the standard producer/checker split used in practical verifiers:

In TorchLean, we aim to keep the trusted core small: theorems are stated against the Lean semantics, and any external solver can be treated as an untrusted certificate producer.

Status note #

NN.MLTheory.CROWN.Proofs.GraphAlphaCrownTransferSoundness contains the (large) op-by-op transfer proofs for the concrete α-CROWN / α/β-CROWN step functions. It is not imported by this umbrella module so that the overview remains a fast orientation point; import it directly when you are working on those transfer proofs.

References (code) #

References (papers) #