A polynomial on a block of the variables #
A coefficient vector in n variables read on a block of them, as a coefficient vector in the
block's n' variables (LowIndDegPoly.blockPoly), and the exponent vectors that carry it
(expandIdx). Moved from MIPRE/Background/QLD/Complete.lean, where the Pauli basis test's
completion uses them, so that answer reduction can use them without importing that test.
A polynomial on a block of the variables #
The exponent vector on Fin n carried by the injection idx from one on Fin n', zero off
the range.
Equations
- MIPRE.LIDT.expandIdx idx e' k = if h : ∃ (j : Fin n'), idx j = k then e' h.choose else 0
Instances For
A coefficient vector read on a block of the variables, as a coefficient vector on the block.
Equations
- MIPRE.LIDT.LowIndDegPoly.blockPoly idx H e' = H (MIPRE.LIDT.expandIdx idx e')
Instances For
A vector supported on the range of idx evaluates through the block.
A coefficient vector in a block's variables, placed on the block: zero on every monomial that reads a variable off the block.
Equations
Instances For
Reading a placed vector back on its block gives it back.
A placed vector evaluates through the block.