Counting in an appended tuple #
The number of entries of Fin.append x y satisfying a predicate is the number for x plus the
number for y.
Main results #
Fin.card_filter_append: counting entries satisfying a predicate acrossFin.append.
theorem Fin.card_filter_append {α : Type u_1} {m p : ℕ} (P : α → Prop) [DecidablePred P] (x : Fin m → α) (y : Fin p → α) :
The entries of Fin.append x y satisfying P are those of x and those of y.