Raw rich-chip divisors on closed faces #
The RPF representation stores chips as raw (slot, affine form, coefficient)
triples. A rich-leaf soundness proof evaluates the forms and supplies a
closed-face vertex decoder (with the C first-match convention). This module
is deliberately agnostic about that decoder: it packages the resulting chip
divisor and its degree calculation once, so the endpoint-specific decoder is
the only remaining W5 geometry.
Raw signed chip mass at a literal coordinate of one displayed slot. Unlike a quotient-core vertex, this remains meaningful before any zero-length core edges are contracted. The W5 endpoint bridge identifies this mass with the C first-match prefix/suffix accounting on collapsed endpoint runs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Evaluated physical chip positions #
Raw RPF forms denote positions by evaluation at the current parameter point. The decoder below clamps only to make it total; W1 and W3 later prove that every accepted chip already lies in the displayed closed interval, so the clamp is definitionally inactive on actual leaf data.
Decode an integer coordinate on one slot to its closed-face path vertex.
The min is a totality device for this standalone definition, not a semantic
relaxation: evaluatedPathVertex_eq_pathVertex removes it under the W1/W3
bounds supplied by an accepted rich leaf.
Equations
- Utilities.Subdivision.ClosedRowProof.RichWitness.evaluatedPathVertex d edge coordinate = d.pathVertex edge ⟨min coordinate.toNat (d.length edge), ⋯⟩
Instances For
Under the natural closed-interval bounds, evaluating a form uses its literal integer position rather than the total decoder's clamp.
A total raw-chip decoder. The fallback is used only for malformed slot
indices; w3Checks proves those cannot occur in an accepted witness.
Equations
- One or more equations did not get rendered due to their size.
Instances For
On an accepted rich leaf, a raw chip's physical decoded vertex is exactly the path vertex of its W3-named endpoint. W1 supplies the interval bounds that make the total decoder's clamp inactive.
Core divisor on a contracted face #
The rich RPF divisor is written on the uncontracted core. On a closed face its coefficients must be summed over each quotient class, exactly as for the existing explicit-potential certificate. Keeping this operation next to the raw chip divisor makes the final degree calculation independent of the W5 endpoint accounting.
Push the raw core coefficient list to the quotient core of a degenerate subdivision; interior vertices receive no core coefficient.
Equations
- Utilities.Subdivision.ClosedRowProof.RichWitness.richCoreDivisor d w (Sum.inl c) = ∑ v : Fin n with d.rep v = ↑c, w.divisorCore.getD (↑v) 0
- Utilities.Subdivision.ClosedRowProof.RichWitness.richCoreDivisor d w (Sum.inr val) = 0
Instances For
Quotienting the core cannot change its total degree.
C first-match chip accounting #
rawChipDivisor deliberately decodes a chip by its evaluated physical
position. The checker, on the other hand, uses syntactic named endpoints to
assign a chip to the first matching interior point. The following small
list layer exposes that assignment as an ordinary sum of indicator terms.
It is independent of the closed-face geometry and is consequently reusable
both for W4 runs and for W5 endpoint prefixes/suffixes.
The Boolean predicate by which the C checker assigns a raw chip to a
named point. The range (i - 1) clause makes this the first syntactic match;
index zero is excluded separately by chipAt.
Equations
- One or more equations did not get rendered due to their size.
Instances For
At every nonzero named index, chipAt is exactly the sum of coefficients
of raw chips whose first syntactic match is that index.
The inclusive named-point sum used in chipPrefix has an explicit raw
chip indicator expansion. Index zero contributes nothing, so this remains
valid even for the tail candidate s = 0.
The head-side named-point sum used by headCandidate, before subtracting
the block-slope bound, likewise expands into first-match chip indicators.
The divisor represented by raw RPF chips once their slot/form positions have been decoded on a particular closed face.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pointwise coefficient formula for decoded raw chips. The endpoint-specific decoder instantiation will identify the right side with W5's first-matched prefix/suffix sums.
Exact raw-list coefficient formula at an interior vertex of a closed
face. Instantiating decode with evaluatedChipVertex is the row-local
bridge needed by W4: it says that the only remaining geometric question is
which named endpoints evaluate to this particular interior offset. No
injectivity of pathVertex is assumed (and none is available on a closed
face).
Decoding positions cannot change degree: every raw coefficient contributes exactly once. In particular this is compatible with chips collapsing onto a core class.