NLA-lib Explorer

NLAlib.Ops.«tacticImplements[_](_)→(_)With_»

Library · def

implements [n] (x, y) → (z) with hadm: a goal R.Implements B adm port. Names the dimensions, the input operands and the output operands of the contract, proves by computation that the numbers, the layout, the operands read and written and their lengths are those of the routine, and proves the separation R.SeparatedAt [n] (port [x, y] [z]) by routine_sep from the inequalities of buffers that the admission hadm : adm [n] [x, y] [z] gives. An admission that names an output as an input (an operation updating an operand in place) is substituted first, so the in-place output may be named again: implements [n] (α, x, y) → (y) with hadm. A fact that does not hold by computation, or a separation that the admission does not give literally, is left as a goal.

NLAlib.Ops.«tacticImplements[_](_)→(_)With_» : ParserDescr

Full source on GitHub

Import NLAlib.Ops.Logic.RoutineIntro.