NLA-lib Explorer

NLAlib.Ops.map_length_eq_two

Library · theorem

A list of two blocks of the lengths l₁, l₂.

NLAlib.Ops.map_length_eq_two {K : Type} {ys : List (List K)} {l₁ l₂ : ℕ}
  (h : List.map List.length ys = [l₁, l₂]) :
  ∃ y₁ y₂, ys = [y₁, y₂] ∧ y₁.length = l₁ ∧ y₂.length = l₂

Full source on GitHub

Import NLAlib.Ops.BlockRel.