Theorems · Theorem · logic and foundations
PrimrecRel.listFilter
∀ {α : Type u_1} {β : Type u_2} {R : α → β → Prop} [inst : Primcodable α] [inst_1 : Primcodable β],
PrimrecRel R → ∀ [inst_2 : DecidableRel R], Primrec₂ fun L b => List.filter (fun a => decide (R a b)) LIf R a b is decidable, then given L : List α and b : β, it is primitive recursive
to filter L for elements a with R a b
- Defined in
- Mathlib.Computability.Primrec.List
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 96 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites14
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Primcodablestatement and proof · cited by 325
- Primrec₂statement and proof · cited by 93
- Primrec.compproof · cited by 80
- Primrec.sndproof · cited by 66
- Primrec.fstproof · cited by 58
- Primrec.constproof · cited by 57
- Primrec₂.compproof · cited by 55
- PrimrecRelstatement and proof · cited by 22
- PrimrecRel.compproof · cited by 17
- Primrec.eqproof · cited by 12
- Primrec.iteproof · cited by 9
- Primrec.option_someproof · cited by 7
Cited by2
Results whose statement or proof uses this declaration.
- PrimrecRel.exists_mem_listproof · cited by 1
- PrimrecRel.forall_mem_listproof · cited by 1