The stage programs of a copy of the PCP sampler #
Piece AR-3d of planning/answer-reduction.md: polynomial-time functions answering the queries
of one copy of the seeded test, on the three runs of k-bit blocks (MIPRE/Background/ AnswerReduction/Layout). A copy is described by its offset o, length sz = 2^jw, selector
width jw and seed index c, all in unary (Desc), and a test type numbered 0, 1, 2.
The answers are first written as plain functions of the blocks (margL, linL, facL),
with the field arithmetic done by the introspection stage programs (selectedDirectionProg,
axisRepresentativeProg, lineRepresentativeProg); copyProg computes them.
A copy: offset, length, selector width and seed index, in unary.
Equations
Instances For
The three runs of blocks: point, direction, seeds.
Equations
Instances For
The answers, as functions of the blocks #
The zero field element.
Equations
- MIPRE.AnswerReduction.StageProg.zb k = List.map (fun (x : Unit) => false) k
Instances For
Every block replaced by zero.
Equations
- MIPRE.AnswerReduction.StageProg.zeroed k l = List.map (fun (x : MIPRE.Cost.BitStr) => MIPRE.AnswerReduction.StageProg.zb k) l
Instances For
The copy's seed.
Equations
- MIPRE.AnswerReduction.StageProg.seedOf d seeds = (List.drop (List.length d.2.2.2) seeds).headD []
Instances For
The selected direction of a diagonal line.
Equations
Instances For
The third stage's map of the point register.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The seed run of the first stage.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The direction run of the second stage.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The point run of the third stage.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The marginal at level j.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The stage map at level j, from the prefix u, applied to y.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The block of k copies of a bit.
Equations
- MIPRE.AnswerReduction.StageProg.blk k b = List.map (fun (x : Unit) => b) k
Instances For
The factor space at level j, as blocks of indicator bits.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The runs of a bit string of 2m' + 6 blocks of k bits.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bits of three runs.
Equations
- MIPRE.AnswerReduction.StageProg.bitsOf x = (x.1 ++ x.2.1 ++ x.2.2).flatten
Instances For
The answer of a copy to a query of kind kind at level j with vectors u, y.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The programs #
Placing, as a program: (fill, o, w, l) ↦ placeL fill o w l.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Slicing, as a program: (o, sz, l) ↦ sliceL o sz l.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The input of a copy's program: (k, d, τ, m', kind, j, u, y).
Equations
Instances For
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
The program of a copy.
Equations
- One or more equations did not get rendered due to their size.