The register data of the introspection processor #
Issue #281 (Phase 3 of planning/aldous-lyons-track.md). The linear-constraints processor of
the tailored introspection verifier (LpIntro.lean) works on an environment Env prepared once
per input: the clock 2^{(λn + 1)^5} in unary, the clamped description of the input M, the
index 2^n, the Pauli parameters (k, j, 2^j) in unary and the register width Q and the
cutoff R in unary (envOf). This file computes from it, at an auxiliary label t and a
register y of Q bits, the data the readable condition Typed.G reads:
ctxP w: the kernel's context (CLData.context) of rolew;srcQP t: the input questionsrcQuestion t y;splitU κ t: the input's splitsrcSplitR/srcSplitLat the register, in unary, by a clocked run of the input's answer-length calculator (InputRuns);GP t: the readable conditionTyped.Gitself, as a Boolean.
Each has its correctness theorem at envOf c λ n (clamp (T.progs, λ)), for a λ-bounded
tailored
input T, a λ-bounded normal form verifier V with T's sampler program, and 1 ≤ n.
The environment #
The field width k and the selector width j at (c, λ, n).
Equations
Instances For
Equations
Instances For
The register width Q = 2^{2^j} k (SourceCompiler.registerBits), in the form of
Typed.Q.
Equations
- MIPRE.Tailored.Intro.LpIntro.QQ c lam n = 2 ^ 2 ^ MIPRE.Tailored.Intro.LpIntro.jj c lam n * MIPRE.Tailored.Intro.LpIntro.kk c lam n
Instances For
The environment: the clock, the clamped description, the index 2^n, the Pauli parameters,
Q and R in unary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The environment at (c, λ, n) and the description M.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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
The kernel's context of role w, from the environment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The register level #
A register with the environment.
Instances For
The kernel's input of role w: its context and the register.
Equations
Instances For
The input question at an auxiliary label: L_w of the register at Sample, the register's
first dim bits otherwise.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A clocked result read as a length, in unary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The input's split at an auxiliary label, in unary: readable (κ = false) or linear.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Whether the input's answer fits the cutoff, off Hide (srcFits).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Whether the input's answer fits the cutoff (srcFits).
Equations
Instances For
The level of the prefix guard of a label: i at Hide i, 6 at Read.
Equations
Instances For
The prefix condition (Typed.prefixOK).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source membership at an Introspect register.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The readable condition Typed.G, as a Boolean.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Correctness #
The environment of the input T at (c, λ, n).
Equations
- MIPRE.Tailored.Intro.LpIntro.envT c lam n T = MIPRE.Tailored.Intro.LpIntro.envOf c lam n (MIPRE.Tailored.Intro.InputRuns.clamp.toFun (T.progs, lam))
Instances For
The input question at a register.
The input question has at most (2^n)^λ bits.
The input's split at a register, in unary.
The readable condition Typed.G at a register of Q bits.