Langlib

Langlib.Utilities.WrittenByOthers.ListTakeJoin

List Take/Join Lemma #

This file packages a reusable list lemma imported from an external public-domain source.

Main declarations #

theorem List.take_join_of_lt {α : Type u_1} {L : List (List α)} {n : } (notall : n < L.flatten.length) :
∃ (m : ) (k : ) (mlt : m < L.length), k < (L.get m, mlt).length take n L.flatten = (take m L).flatten ++ take k (L.get m, mlt)