Initialize the numerical minor-log cache over ordered fields
ProvedSmaleNinth.numeric_proxy_cache_ordered_fieldStarting with the dimension, rank and membership words and a vector of positive magnitudes in an ordered field, the existing numerical proxy fragment constructs the same stable cache and restores the four driver metadata fields within its original clock. This applies in particular to arbitrary positive real magnitudes. The clock depends on dimensions and fixed precision parameters, independently of the magnitudes.
Preamble
import Definitions.Def_OAILP_Compression_ProxyNumericCache open OAI.Optimization.LinearProgramming OAI.Optimization.LinearProgramming.Compression open OAI.Optimization.LinearProgramming.RAM OAI.Optimization.LinearProgramming.RAM.Callable open OAI.Optimization.LinearProgramming.Compression.MinorProxyCache
Formal statement
theorem SmaleNinth.numeric_proxy_cache_ordered_field {K : Type*} [Field K] [LinearOrder K]
[IsStrictOrderedRing K] (N g rank : ℕ) (member : Bool) (mag : Fin (g + 1) → K)
(positive : ∀ i, 0 < mag i) :
∃ t, numericProxyCache.Run (fun _ : K => True)
(start [N, g, member.toNat, rank] (List.ofFn mag)).memory (numericProxyCacheSteps N g) t ∧
StableCache t (numericProxyCacheBuffers N g) (g + 1) (manuscriptProxyFuel N)
(numericCachePrecision N) (tapeMagnitude mag) ∧
t.index 60 = 0 ∧ t.index 90 = N ∧ t.index 91 = g ∧ t.index 92 = member.toNat ∧
t.index 93 = rank ∧ ProxyDriverMetadata N g member.toNat rank t := by sorrySource