NLA-lib Explorer

NLAlib.Ops.Routine.Domain.toInputs_cast

Library · theorem

A domain read at another routine with the same interface has the same inputs.

NLAlib.Ops.Routine.Domain.toInputs_cast {K Op Tst : Type} {r b : ℕ} {R : Ops.Routine Op Tst}
  (D : R.Domain K r b) (R' : Ops.Routine Op Tst) (hnd : R'.nd = R.nd)
  (hports : R'.ports = R.ports) : (D.cast R' hnd hports).toInputs = D.toInputs

Full source on GitHub

Import NLAlib.Ops.RoutineProblem.