theorem
Std.DTreeMap.Const.get?_foldl_no_touch
{α : Type u}
{β : Type v}
{cmp : α → α → Ordering}
[TransCmp cmp]
[LawfulEqCmp cmp]
(k : α)
(f : α → β → β → β)
(l : List (α × β))
(t : DTreeMap α (fun (x : α) => β) cmp)
(hno : ∀ (p : α × β), p ∈ l → cmp p.fst k ≠ Ordering.eq)
:
theorem
Std.DTreeMap.Const.get?_mergeWith
{α : Type u}
{β : Type v}
{cmp : α → α → Ordering}
[TransCmp cmp]
[LawfulEqCmp cmp]
(f : α → β → β → β)
(t₁ t₂ : DTreeMap α (fun (x : α) => β) cmp)
(k : α)
:
theorem
Std.DTreeMap.get?_filter_with_getKey_pfilter
{α : Type u}
{β : Type v}
{cmp : α → α → Ordering}
[TransCmp cmp]
(m : DTreeMap α (fun (x : α) => β) cmp)
(f : α → β → Bool)
(k : α)
:
Const.get? (filter f m) k = (Const.get? m k).pfilter fun (v : β) (h' : Const.get? m k = some v) => f (m.getKey k ⋯) v