The repeated linear-constraints processor meets its specification #
RepSpec.lp_iff for repLp (issue #280, P2b): at good questions and readable answers of the
right lengths, the processor halts exactly when every coordinate's processor does, and then
outputs the product's constraints. The lengths the program reads off the calculator's outputs are
the coordinates' (lensOf_quarter), so its twelve lengths at a coordinate are those of
TailoredGame.padCons (lens_lpPads), its queries to the input processor are the
coordinates' (lpPQs_eq), and its output is the product's constraints (lpOut_eq).
Lengths of the scans #
The lengths of the triple at a position: the sum before, the length at, the sum after.
Sums over the coordinates #
Quarters #
The calls to the input calculator answered, the lengths read off the results are the coordinates'.
The padding by twelve lengths is the padding of the product.
The state of the processor at (n, x, y, a^R, b^R).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The calls to L̄ answered by rs₁, the four quarters of lengths.
The twelve lengths of every coordinate are those of the product's padding.
The queries to the input processor are the coordinates'.
The output is the padded constraints of the coordinates.
The processor #
The program of the repeated processor: the core with (S̄, L̄, P̄, λ, τ) stored.
Equations
- MIPRE.Tailored.RepProg.repLpProg sp lp pp lam tau = MIPRE.Cost.hardcode (MIPRE.Tailored.RepProg.lpCore MIPRE.Cost.selfUniversal.univ) (MIPRE.Cost.encode (sp, lp, pp, lam, tau))
Instances For
The repeated linear-constraints processor.
Equations
- MIPRE.Tailored.RepProg.repLp S L P lam tau = { prog := MIPRE.Tailored.RepProg.repLpProg S.prog L.prog P.prog lam tau, closed := ⋯ }
Instances For
The specification #
A result of univ on (c, q), when there is one.
Equations
- MIPRE.Tailored.RepProg.chooseRun c q = if h : ∃ (r : MIPRE.Cost.Data) (t : ℕ), MIPRE.Cost.selfUniversal.univ.Runs (c.cons q) r t then h.choose else MIPRE.Cost.Data.nil
Instances For
RepSpec.lp_iff for the repeated processor.