Theorems · Theorem
AList.insertRec.eq_def
∀ {α : Type u} {β : α → Type v} [inst : DecidableEq α] {C : AList β → Sort u_1} (H0 : C ∅)
(IH : (a : α) → (b : β a) → (l : AList β) → a ∉ l → C l → C (AList.insert a b l)) (x : AList β),
AList.insertRec H0 IH x =
match x with
| { entries := [], nodupKeys := nodupKeys } => H0
| { entries := c :: l, nodupKeys := h } =>
⋯.mpr (IH c.fst c.snd { entries := l, nodupKeys := ⋯ } ⋯ (AList.insertRec H0 IH { entries := l, nodupKeys := ⋯ }))- Defined in
- Mathlib.Data.List.AList
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 48 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites7
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- AListstatement and proof · cited by 122
- List.NodupKeysstatement and proof · cited by 53
- AList.insertstatement and proof · cited by 27
- AList.insertRecstatement and proof · cited by 4
- List.nodupKeys_of_nodupKeys_consstatement and proof · cited by 3
- List.notMem_keys_of_nodupKeys_consproof · cited by 2
- AList.mk_cons_eq_insertproof · cited by 1
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.