pith. machine review for the scientific record. sign in
theorem proved term proof

omega_def

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  84@[simp] theorem omega_def : omega = ArithmeticFunction.cardDistinctFactors := rfl

proof body

Term-mode proof.

  85
  86/-- `ω(n) = n.primeFactorsList.dedup.length`. -/