NLA-lib Explorer

NLAlib.Ops.extendOperands_of_shaped

Library ยท theorem

The operands admitted by NLAlib.Ops.ExtendOperands: the inputs are a basis Q and a block W, and the outputs are the new columns, placed at the end of Q at the dimensions [n, k, b], then W and the coefficients C; the three buffers are different. The new columns are not an independent operand, which is why implements (which names every operand) does not apply to a basis extension.

NLAlib.Ops.extendOperands_of_shaped {K ๐•œ : Type} [Inhabited K] {dec : K โ†’ ๐•œ} {ok : โ„• โ†’ โ„• โ†’ โ„• โ†’ Prop}
  {P : Ops.ExtendPred ๐•œ} {d : List โ„•} {ins outs : List (โ„• ร— โ„•)}
  (h : (Ops.extendRelOf dec ok P).Shaped Ops.ExtendOperands d ins outs) :
  โˆƒ Q W C,
    ins = [Q, W] โˆง
      outs = [(Q.1, Q.2 + d.getD 1 0 * d.headD 0), W, C] โˆง Q.1 โ‰  W.1 โˆง Q.1 โ‰  C.1 โˆง W.1 โ‰  C.1

Full source on GitHub

Import NLAlib.Ops.Catalog.OrthRoutine.