Theorems · Theorem · logic and foundations
Primrec.option_guard
∀ {α : Type u_1} {β : Type u_2} [inst : Primcodable α] [inst_1 : Primcodable β] {p : α → β → Prop}
[inst_2 : DecidableRel p],
PrimrecRel p → ∀ {f : α → β}, Primrec f → Primrec fun a => Option.guard (fun b => decide (p a b)) (f a)- Defined in
- Mathlib.Computability.Primrec.Basic
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 83 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
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.constproof · cited by 57
- Primrec.idproof · cited by 40
- PrimrecPredproof · cited by 23
- PrimrecRelstatement and proof · cited by 22
- PrimrecRel.compproof · cited by 17
- Primrec.option_some_iffproof · cited by 11
- Primrec.iteproof · cited by 9
Cited by1
Results whose statement or proof uses this declaration.
- Primrec.decode₂proof · cited by 2