Initialize the native numerical proxy workspace over any ordered field
ProvedSmaleNinth.numeric_resident_workspace_ordered_fieldRun the existing resident workspace initializer with arbitrary ordered-field scalar data. It allocates the numerical comparison row and symbolic query workspace within the original dimension and address clock, retaining the cached magnitudes, numerators and flags and all scalar data.
Preamble
import Definitions.Def_OAILP_Compression_SignWireInitialResidentTerms import Definitions.Def_OAILP_Compression_SymbolicWorkspaceAddress open OAI.Optimization.LinearProgramming.RAM open OAI.Optimization.LinearProgramming.Compression open OAI.Optimization.LinearProgramming.Compression.MinorProxyCache open OAI.Optimization.LinearProgramming.Compression.SignWire
Formal statement
theorem SmaleNinth.numeric_resident_workspace_ordered_field {K : Type*} [Field K] [LinearOrder K]
[IsStrictOrderedRing K] {n fuel precision limit : ℕ} {L : Buffers} {magnitudes : ℕ → K}
(m : Memory K) (P : K → Prop) (safe : m.AllData P)
(cache : StableCache m L n fuel precision magnitudes) (bounded : ∀ i, m.index i ≤ limit) :
∃ steps t, steps ≤ initialResidentClock limit n fuel ∧ Block.Eval (Memory.AllData P) initialResidentBlock m steps t ∧
StableCache t L n fuel precision magnitudes ∧ t.data = m.data ∧
t.index 60 = symbolicQueryCap n fuel+1 ∧ t.index 67 = initialResidentRow L n ∧
t.index 97 = initialResidentRow L n+n+1 ∧ t.index 68 = initialResidentRow L n+n+1 ∧
(∀ i, 98 ≤ i → t.index i = m.index i) := by sorrySource