Prepare the masked subspace equations over ordered fields
ProvedSmaleNinth.masked_input_ordered_fieldThe support-query preprocessor takes an equation matrix and a zero-one support mask on the ordinary tape. It produces the masked equations and the exact headers needed by the subsequent elimination, over any ordered field within the original dimension-dependent clock.
Preamble
import Definitions.Def_OAILP_Recovery_MaskedProgramCode import Definitions.Def_OAILP_Recovery_MaskedLayout open Matrix OAI.Optimization.LinearProgramming open OAI.Optimization.LinearProgramming.RAM OAI.Optimization.LinearProgramming.Geometry open OAI.Optimization.LinearProgramming.Recovery
Formal statement
theorem SmaleNinth.masked_input_ordered_field {K : Type} [Field K] [LinearOrder K]
[IsStrictOrderedRing K] {h n : ℕ} (E : Matrix (Fin h) (Fin n) K) (S : Finset (Fin n))
(P : K → Prop) (zero : P 0) (one : P 1) (input : ∀ j : ℕ, P ((MaskedInput.bundle E S)[j]?.getD 0)) :
∃ t k, k ≤ MaskedInput.programTime h n ∧
Block.Eval (Memory.AllData P) MaskedInput.program (start [h,n] (MaskedInput.bundle E S)).memory k t ∧
PairBuilder.InputRegs (MaskedInput.pairLayout h n) t ∧
uniformRect (h+n) n (MaskedInput.base h n) t = maskedEquations E S := by sorrySource