NLA-lib Explorer

NLAlib.Ops.ContextLinear.guarded_satisfies

Library · theorem

Ordinary exact scalar/vector laws and isolated raw data give every guarded source contract. No source execution assumption is required to establish these local laws.

NLAlib.Ops.ContextLinear.guarded_satisfies {I : Ops.Interp Ops.RCLikeBlas.Operation Ops.CmpTst ℝ}
  (hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hB : Ops.RCLikeBlas.IsExact I)
  (context : List (ℕ × ℕ)) (index : Fin context.length) {n : ℕ} {C : ℕ → Prop}
  (reference : Ops.Store ℝ) (raw : List ℝ) (hc : ∀ z ∈ context, C z.1)
  (hData : reference.readBlock context[index].1 context[index].2 (n * n) = some raw)
  (o : Ops.Standard.Operation) :
  (Ops.ContextLinear.guarded I context index C reference n raw).Satisfies Ops.Mode.total o
    ((Ops.ContextLinear.relation (Ops.StoredOperator.denseMatrix n n raw) o).spec
      (Ops.ContextLinear.admissible n o))

Full source on GitHub

Import NLAlib.Ops.Profiles.ContextLinearGuarded.