claimroutineinferred_dep
Tuple-by-tuple algorithm computes Z_E
Claim·§3.3 Separating the sum by fixing measurements·inside lemSeparating sums by fixing measurements
Statement (paper)
The algorithm, which processes the measurement tuples one at a time starting from , skips each tuple for which some is empty, and otherwise computes by scanning and adding to whenever and for , and then updates , terminates with .
In plain English
The algorithm that loops over measurement tuples , skips tuples where some is empty, computes by scanning each , and accumulates , ends with .
Why it's here
This is the correctness step: by the factorization claim, is the sum over tuples of the products , with empty tuples contributing zero. The algorithm computes exactly these terms, since each is the sum of at the shifted argument over with and on . Adding the products one at a time therefore yields .
Classified routine:
A direct correctness check for the enumeration loop: it computes each per-part sum by brute force and adds up the products, matching the factorization in the preceding claim (claim-lem-measurement-separation-1) term by term.
Sources
PaperOpen
- Section
- §3.3 Separating the sum by fixing measurements
- Page
- —
- Label
—- Line
main_full_version.tex:1850
Leannot aligned
Phase 2 aligns this node to a Lean declaration.
Friction
- infoinferred_depoutline: "Tuple-by-tuple evaluation algorithm" rests on claim-lem-measurement-separation-1