NLA-lib Explorer

NLAlib.Ops.Inputs.Oracles

Library · structure

The oracles of a model on a problem. Data that is in no buffer can affect a run only through an operation whose contract mentions it. This declares those operations: every other operation and every query has one contract at all sizes and inputs (as for NLAlib.Ops.AccessModel.Uniform), and the contract of a declared operation depends on the input only through its declared unstored part. A reader of a certificate whose inputs are not all in memory checks the contracts and the costs of the operations in ops: the cost of the certificate is counted in calls of them.

NLAlib.Ops.Inputs.Oracles {K Op Tst : Type} {r b : ℕ} (D : Ops.Inputs K r b)
  (M : Ops.AccessModel Op Tst D.problem) : Type

Full source on GitHub

Import NLAlib.Ops.RoutineProblem.