AFTD Auto-Formalizing Theoretical Domains

IsNatFactorization

def

A factorization of a natural number n is a multiset of integers greater than 1 whose product is n.

Statement

def IsNatFactorization (n : ℕ) (x : Multiset ℕ) : Prop
Defined in
arXiv:2611.18194 (The Möbius function of factorizations with a simple prime factor), Section 1 (factorizations of n)
Verified
17 Nov 2026
Axioms
none listed
Used by 8

Read back from the Lean

A multiset of natural numbers x is a natural factorization of a natural number n if and only if every element a in x satisfies 1 < a (i.e., every factor is strictly greater than 1) and the product of the elements of x equals n.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- `x` is a factorization of `n`: a multiset of integers greater than one whose product is `n` (order ignored). -/
def IsNatFactorization (n : ℕ) (x : Multiset ℕ) : Prop :=
  (∀ a ∈ x, 1 < a) ∧ x.prod = n
See it in the graphDiscuss this resultChallenge it