Map M for M
List.mapM_forM
Project documentation
our own variant of map_congr, for filterMap -/ public theorem filterMap_congr {f g : α → Option β} : ∀ {l : List α}, (∀ x ∈ l, f x = g x) → filterMap f l = filterMap g l | [], _ => rfl | a :: l, h => by let ⟨h₁, h₂⟩ := forall_mem_cons.1 h rw [filterMap, filterMap, h₁, filterMap_congr h₂] public theorem filterMap_empty_iff_all_none {f : α → Option β} {xs :...
Source project: Cedar Specification
Person-level attribution pending.