Theorems · Theorem · logic and foundations
Primrec.of_graph
∀ {α : Type u_1} [inst : Primcodable α] {f : α → ℕ},
Primrec.PrimrecBounded f → (PrimrecRel fun a b => f a = b) → Primrec fTo show a function f : α → ℕ is primitive recursive, it is enough to show that the function
is bounded by a primitive recursive function and that its graph is primitive recursive
- Defined in
- Mathlib.Computability.Primrec.Basic
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 84 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- Primcodable
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites8
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
- Encodable.encodeproof · cited by 118
- Primrec.of_eqproof · cited by 50
- PrimrecRelstatement and proof · cited by 22
- Nat.findGreatest_specproof · cited by 9
- Primrec.PrimrecBoundedstatement and proof · cited by 1
- Primrec.nat_findGreatestproof · cited by 1
Cited by1
Results whose statement or proof uses this declaration.
- Primrec.nat_divproof · cited by 2