Mathlib Map

Theorems · Theorem

List.filterMap_eq_flatMap_toList

∀ {α : Type u} {β : Type v} (f : α → Option β) (l : List α), List.filterMap f l = List.flatMap (fun a => (f a).toList) l
Defined in
Mathlib.Data.List.Basic
Cited by
1 results in Mathlib
Foundations
Depth 11 from the axioms · uses propext

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Primrec.listFilterMap · cited by 4Primrec.listFilterMapList.filterMap_eq_flatMap_toL…CITED BYCITES

Cites0

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Nothing in Mathlib beyond the foundations.

Cited by1

Results whose statement or proof uses this declaration.