NLAlib.Ops.Algorithm.good_of_buffers_eq
Library · theorem
In a uniform model the output cannot depend on data that is in no buffer. If two inputs have the same supplied buffers, the one run of a certified program from those buffers, under any interpretation the model allows, meets the output condition of both. So a specification whose output condition separates two inputs with the same buffers has no certificate in a uniform model.
NLAlib.Ops.Algorithm.good_of_buffers_eq {Op Tst K : Type} {r b : ℕ} {P : Ops.Problem K r b}
{M : Ops.AccessModel Op Tst P} {S : Ops.Specification Op Tst P} [M.Uniform]
(A : Ops.Algorithm M S) {d : Fin r → ℕ} (hd : P.valid d) {x y : P.Input d} (h : (↑x).2 = (↑y).2)
{I : Ops.Interp Op Tst K} (hI : M.contracts d x I) (τ : Ops.Tape K) :
∃ st,
Ops.Reference.Execution A.program I M.resources P.formats τ d (P.initial d x) st ∧
S.good d x τ st.cost st.mem ∧ S.good d y τ st.cost st.memImport NLAlib.Ops.Dependence.