Explicit-potential local subdivision certificates #
This module defines a local arithmetic checker for rank-one subdivision certificates. It deliberately avoids shortest-path and negative-cycle reasoning. A certificate supplies, for every rank-one anchor, one integral linear potential on the expanded core. The displayed cone contains the endpoint inequalities for those potentials literally.
The Boolean checker verifies only exact integer data:
- expanded edges are loopless;
- the proposed divisor has the advertised degree;
- endpoint slope bounds are compatible and make every core residual nonnegative; and
- every positivity/bound form needed by the semantics is either the zero form or occurs in the displayed cone.
The theorems below turn an accepted record and a point in its cone into the positive segment lengths, endpoint slope inequalities, nonnegative core balances, and nonnegative interior second differences needed to assemble an actual firing script on a subdivision graph. The graph-construction layer is kept separate so that this file remains a small arithmetic trust boundary.
Local shorthand for the affine-cover arithmetic type.
Equations
Instances For
Local shorthand for conjunctions of affine-cover rows.
Equations
Instances For
Executable universal quantification over a finite index type.
Equations
Instances For
Endpoint slopes and a core potential for one removed-chip test.
The integer tail-end slope contribution on each slot, used in the lower bound on the potential rise.
The integer head-end slope contribution on each slot, whose negative bounds the potential rise from above.
- potential : Fin n → AffineForm m
The affine potential value at each core vertex for this removed-chip test.
Instances For
Passive local data for a rank-one divisor over one length cone.
- core : Core n p
The ordered core incidence data underlying the local certificate.
- segment : Fin p → AffineForm m
The affine length expression assigned to each core slot.
The proposed integer chip weight at each core vertex.
- witness : Fin n → AnchorWitness m n p
The endpoint-slope and affine-potential witness for removing a chip at each anchor vertex.
- cone : List (AffineForm m)
The affine inequalities defining the local length region; validity of the proposed witnesses on this region is checked separately.
Instances For
Integral scalar multiplication, kept explicit to make the generated data grammar independent of typeclass inference.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Difference of two integral affine forms.
Equations
- left.sub right = { fixedValue := left.fixedValue - right.fixedValue, coefficient := fun (coordinate : Fin m) => left.coefficient coordinate - right.coefficient coordinate }
Instances For
The strict-integral positivity row form(point) - 1 >= 0.
Equations
- form.positive = { fixedValue := form.fixedValue - 1, coefficient := form.coefficient }
Instances For
The potential rise from the tail to the head of one expanded edge.
Equations
Instances For
The displayed lower endpoint inequality rise - alpha * length >= 0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The displayed upper endpoint inequality
-beta * length - rise >= 0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The target coefficient at a core vertex after removing the anchor chip.
Equations
Instances For
The conservative endpoint contribution checked before seeing any lengths.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Point-independent exact validity of a passive local record.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Executable exact validity checker.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every expanded segment has positive integral length at a point in an accepted local cone.
The natural-number segment length decoded from an integral point.
Equations
- certificate.segmentNat point edge = (Utilities.Certificate.AffineCover.AffineForm.eval (certificate.segment edge) point).toNat
Instances For
Numerical core-potential rise at one integral length point.
Equations
- certificate.riseValue anchor point edge = Utilities.Certificate.AffineCover.AffineForm.eval (certificate.rise anchor edge) point
Instances For
Membership of the explicit lower/upper forms yields their endpoint rise bounds with no shortest-path theorem.
The two endpoint slopes supplied by integer interpolation dominate the
advertised alpha/beta bounds.
Actual interpolated endpoint contribution at a core vertex.
Equations
- One or more equations did not get rendered due to their size.
Instances For
At every expanded core vertex, the target plus actual interpolated edge contributions is nonnegative.
Interpolation is convex at every positive interior offset, hence its second difference (the path-interior principal-divisor coefficient) is nonnegative.