The actual CL continuation on the unvisited registers #
The residual presentation follows a claimed output, including an off-image one. It acts only on the complement of the registers already visited. The next local map and register are computed from the original presentation.
Recursively compute the remaining depth, retaining definitional equations.
Equations
Instances For
Continue after k reported components; the remaining depth is ℓ-k.
Equations
- MIPRE.Introspection.CLChecks.residual x✝¹ 0 x✝ = x✝¹
- MIPRE.Introspection.CLChecks.residual MIPRE.CL.CLFun.zero n.succ x✝ = MIPRE.CL.CLFun.zero
- MIPRE.Introspection.CLChecks.residual (MIPRE.CL.CLFun.cons S L₁ next) k.succ x✝ = MIPRE.Introspection.CLChecks.residual (next ((MIPRE.CL.proj S) x✝)) k ((MIPRE.CL.proj Sᶜ) x✝)
Instances For
Every continuation acts only on the coordinates that have not been read.
Exact partitioning also survives passing to a continuation.
The first register of the continuation is the original next register.
The local linear map at a claimed prefix, with its actual finite-set support.
Equations
- MIPRE.Introspection.CLChecks.stageLinear MIPRE.CL.CLFun.zero x✝¹ x✝ = 0
- MIPRE.Introspection.CLChecks.stageLinear (MIPRE.CL.CLFun.cons S L next) 0 x✝ = L
- MIPRE.Introspection.CLChecks.stageLinear (MIPRE.CL.CLFun.cons S L₁ next) k.succ x✝ = MIPRE.Introspection.CLChecks.stageLinear (next ((MIPRE.CL.proj S) x✝)) k ((MIPRE.CL.proj Sᶜ) x✝)
Instances For
This is the minimal residual support required by the product induction.
Passing one stage adds exactly its selected register to the prefix.
Mixing removes precisely the current factor, giving the next residual register.
Every next factor is determined by the already reported prefix.
Adding the selected next linear answer advances the actual sampler prefix.
The recursive dual answer is exactly the selected coordinate linear readout, transported back into the original register.