theorem List.Nodup.countP_eq_card {α : Type u_2} {l : List α} {P : α → Prop} [DecidableEq α] [DecidablePred P] (h : l.Nodup) :
@[simp]
theorem List.map_toFinset {α : Type u_2} {β : Type u_3} [DecidableEq α] [DecidableEq β] (L : List α) (f : α → β) :
theorem List.map_toFinset_embedding {α : Type u_2} {β : Type u_3} [DecidableEq α] [DecidableEq β] (L : List α) (f : α ↪ β) :
theorem List.append_arc {α : Type u_1} (L : List α) (x y : α) (d e : ℕ) (hd : 0 < d) (he : 0 < e) (hsum : d + e = L.length) (hx : L.head? = some x) (hy : L[d] = y) :
Reassembling a list cut at index d: the head, the first arc, the element at d, the
second arc read cyclically, and the head again, concatenate to the list closed up. Used to
show that the two arcs of a polygon between two vertices cover it.