Intersection_of_Primitive_Recursive_Sets
Provedcomputabilityprimitive-recursive-functionsproofwikiset-intersection
Let be subsets of the set of natural numbers . Let and both be primitive recursive. Then , the intersection of and , is primitive recursive.
Preamble
import Mathlib.Computability.Primrec
Formal statement
theorem Intersection_of_Primitive_Recursive_Sets (f g : ℕ → ℕ) (hf : Nat.Primrec f) (hg : Nat.Primrec g) : Nat.Primrec (fun n => f n * g n) := by sorry
Source