Affine wall-decision cover certificates #
AffineCover.CoverTree proves a union of cones by choosing a violated row from
every cone. Highly overlapping cone families can make that proof enormous.
This file supplies the dual passive certificate: branch on one integral affine
wall and its exact strict complement, stop as soon as one advertised cone is
literally contained in the active rows, and close infeasible sign chambers by
a Farkas certificate.
The checker is deliberately small. Generated search code is untrusted; only the Boolean replay and the theorem below enter the proof.
Passive, emitter-friendly wall decision data.
- impossible {m : ℕ} (farkas : FarkasData) : DecisionTreeData m
- select {m : ℕ} (cone : ℕ) : DecisionTreeData m
- branch {m : ℕ} (form : AffineForm m) (holds fails : DecisionTreeData m) : DecisionTreeData m
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Validity of a decision tree relative to the affine constraints active at this node.
Equations
- One or more equations did not get rendered due to their size.
- Utilities.Certificate.AffineCover.DecisionTreeData.ValidActive cones active (Utilities.Certificate.AffineCover.DecisionTreeData.impossible farkas) = farkas.Valid active
Instances For
Check active affine constraints at each decision-tree node using Boolean arithmetic.
Equations
- One or more equations did not get rendered due to their size.
- Utilities.Certificate.AffineCover.DecisionTreeData.checkActive cones active (Utilities.Certificate.AffineCover.DecisionTreeData.impossible farkas) = farkas.check active
Instances For
Mathematical validity of wall-decision data at the displayed base rows.
Equations
- data.Valid base cones = Utilities.Certificate.AffineCover.DecisionTreeData.ValidActive cones base data
Instances For
Executable exact replay of wall-decision data.
Equations
- data.check base cones = Utilities.Certificate.AffineCover.DecisionTreeData.checkActive cones base data
Instances For
Public one-step reduction rule, allowing large generated trees to cache checked subtrees in separate modules instead of reducing the whole tree in one kernel invocation.
Accepted wall-decision data proves that the advertised cones cover the base region at every integral point.
Indexed form of covers_of_check_eq_true, for consumers whose semantic
payload is stored in a list parallel to the advertised cones.