The PCP parameters of answer reduction, and the routine computing them #
Pieces AR-3d and AR-3f of planning/answer-reduction.md. At index n, with the parameters
(λ, μ, σ), answer reduction runs the PCP of a PcpDecider at pcpparams(n, T, Q, σ) with
Q = (λn + 1)^μ the input sampler's budget and T = 2^{(Q + 5)(μ + 1)} (tPcp): an input
decider within its budget 2^Q (|d| + 1)^μ accepts honest answers, of length at most 2^Q,
within T steps, which is what the PCP's completeness asks. m and m' are powers of two, so
this is a PcpFamily (family).
The routine parProg computes the family's parameters pd n from n, with (λ, μ, σ)
hardcoded. Its budgets' routine budCore computes (Q, T): λ and n in unary (λ replaced
by 0 at the index 0, where it is not needed, so that no step is longer than Q), Q by a
power loop, μ in unary and T from both. Then the PCP's parameter program gives (k, m, s),
and k, m, s are written in unary. parProg_runs is its correctness.
The input sampler's budget Q = (λn + 1)^μ.
Equations
- MIPRE.AnswerReduction.arQ lam mu n = (lam * n + 1) ^ mu
Instances For
The PCP's time bound T = 2^{(Q + 5)(μ + 1)}: an input decider running within
2^Q (|d| + 1)^μ on inputs of answers at most 2^Q long accepts within T.
Equations
- MIPRE.AnswerReduction.tPcp lam mu n = 2 ^ ((MIPRE.AnswerReduction.arQ lam mu n + 5) * (mu + 1))
Instances For
The PCP parameters at index n: pcpparams(n, T, Q, σ).
Equations
- MIPRE.AnswerReduction.arPar PD lam mu sigma n = PD.params n (MIPRE.AnswerReduction.tPcp lam mu n) (MIPRE.AnswerReduction.arQ lam mu n) sigma
Instances For
The family of PCP parameters of answer reduction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The routine #
The hardcoded (λ, μ, σ).
Instances For
Stage 1: λ in unary, or 0 at the index 0, where λ is not needed and may be
arbitrarily large. The input is X₀ = (λ, μ, σ), n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Stage 2: n in unary; then the base λn + 1 and the exponent μ.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Stage 3: Q = (λn + 1)^μ in unary, kept in front of the input.
Instances For
Stage 4: μ in unary; then (Q, T) in binary, T = 2^{(Q + 5)(μ + 1)}.
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
Stages 4, 5, 6: k, m, s in unary.
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
The budgets' routine, on ((λ, μ, σ), n): (Q, T) in binary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The PCP's parameters (k, m, s), from ((Q, T), (λ, μ, σ), n).
Equations
- One or more equations did not get rendered due to their size.
Instances For
log₂ of a power of two, from its binary encoding, in unary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
c copies of a unary numeral.
Equations
Instances For
Stage 6's post-processing: the parameters pd n. The context is (m, k, (k, m, s)) in unary
and binary, the answer s in unary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The routine's core, on ((λ, μ, σ), n): the budgets, the PCP's parameters, then k,
m, s in unary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The parameter routine of answer reduction, with (λ, μ, σ) hardcoded.
Equations
- MIPRE.AnswerReduction.parProg PD lam mu sigma = MIPRE.Cost.hardcode (MIPRE.AnswerReduction.ParRoutine.core PD) (MIPRE.Cost.encode (lam, mu, sigma))
Instances For
The budgets' routine computes (Q, T).
The routine's core computes the parameters of the family, from ((λ, μ, σ), n).
The routine computes the parameters of the family.