NLA-lib Explorer

NLAlib.Ops.Functional.isFnWithAdm

Library · theorem

Recover an exact primitive contract with its declared operand admission.

NLAlib.Ops.Functional.isFnWithAdm {K Op : Type} [Inhabited K] {r b : ℕ} {P : Ops.Problem K r b}
  {dec : K → ℝ} {functions : (d : Fin r → ℕ) → P.Input d → Op → Ops.BlockFn K}
  {admissible : Op → List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop}
  {resources : Ops.ResourceModel Op Ops.CmpTst} {d : Fin r → ℕ} {x : P.Input d}
  {I : Ops.Interp Op Ops.CmpTst K}
  (h : (Ops.Functional.modelWithAdm P dec functions admissible resources).contracts d x I)
  (o : Op) : I.IsFn Ops.Mode.total o (functions d x o) (admissible o)

Full source on GitHub

Import NLAlib.Ops.Catalog.Functional.