Theorems · Theorem · logic and foundations
Primrec.listFilter
∀ {α : Type u_1} [inst : Primcodable α] {p : α → Prop} [inst_1 : DecidablePred p],
PrimrecPred p → Primrec fun L => List.filter (fun x => decide (p x)) LFiltering a list for elements that satisfy a decidable predicate is primitive recursive.
- Defined in
- Mathlib.Computability.Primrec.List
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 96 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- PrimcodableDecidablePred
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites10
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Primcodablestatement and proof · cited by 325
- Primrecstatement and proof · cited by 141
- Primrec.sndproof · cited by 66
- Primrec.constproof · cited by 57
- Primrec.idproof · cited by 40
- PrimrecPredstatement and proof · cited by 23
- Primrec.option_some_iffproof · cited by 11
- Primrec.iteproof · cited by 9
- Primrec.listFilterMapproof · cited by 4
- PrimrecPred.compproof · cited by 4
Cited by2
Results whose statement or proof uses this declaration.
- PrimrecPred.forall_mem_listproof · cited by 1
- PrimrecPred.exists_mem_listproof · cited by 1