NLA-lib Explorer

NLAlib.givensLog_flatMap

Library · theorem

The unitary of a concatenation of logs is the product of their unitaries.

NLAlib.givensLog_flatMap.{u_1} {α : Type u_1} (n : ℕ) (f : α → List GivensEntry) (L : List α) :
  givensLog n (List.flatMap f L) = (List.map (fun a ↦ givensLog n (f a)) L).prod

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensLog.