NLA-lib Explorer

NLAlib.Ops.Inputs.Checked

Library · def

What a certificate states, as one proposition: at every admitted size, for every tuple of inputs satisfying accepts, every interpretation satisfying the contracts of the model and every tape, the run of the fixed program from the buffers of the slots is accepted (NLAlib.Ops.Specification.Accepts): it succeeds, within the scratch, the budget, the work, the span and the memory of the specification, and its final memory satisfies the output condition. It is the statement of the certificate (NLAlib.Ops.Runs) with the inputs of the problem written as the admitted tuples. Every certificate on the problem has this as a theorem (NLAlib.Ops.Inputs.checked_all); a certificate's _checked theorem is this statement, or a form of it with the output condition written on values (NLAlib.Ops.Inputs.checked gives the bounds one by one, with the payload of the slots).

NLAlib.Ops.Inputs.Checked {K Op Tst : Type} {r b : ℕ} (D : Ops.Inputs K r b)
  {M : Ops.AccessModel Op Tst D.problem} {S : Ops.Specification Op Tst D.problem}
  (A : Ops.Algorithm M S) : Prop

Full source on GitHub

Import NLAlib.Ops.RoutineProblem.