AFTD Auto-Formalizing Theoretical Domains

IsFactorizationCoarsening

def

A multiset y is a coarsening of a multiset x of positive integers if x can be partitioned into nonempty groups so that y is the multiset of the products of the groups (the multiplicative form of Definition 2 of arXiv:2611.18194).

Statement

def IsFactorizationCoarsening (x y : Multiset ℕ) : Prop
Defined in
arXiv:2611.18194 (The Möbius function of factorizations with a simple prime factor), Definition 2 (coarsenings; exponent vectors replaced by the integers they encode, sums by products)
Verified
17 Nov 2026
Axioms
none listed
Used by 8

Read back from the Lean

Given two multisets of natural numbers x and y, IsFactorizationCoarsening x y asserts that there exists a multiset G of multisets of natural numbers (G : Multiset (Multiset ℕ)) such that: 1. Every element g of G is non-empty (g ≠ 0, where 0 is the empty multiset), 2. The join (flattening/sum) of G equals x (G.join = x), and 3. The multiset obtained by taking the product of the elements of each multiset in G equals y (G.map Multiset.prod = y).

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

/-- `y` is a coarsening of `x`: `x` is partitioned into nonempty groups (`G`, whose union is `x`) and each group is replaced by the product of its members. For factorizations of `n` this is the refinement order: `x ≤ y` when `y` is a coarsening of `x`. -/
def IsFactorizationCoarsening (x y : Multiset ℕ) : Prop :=
  ∃ G : Multiset (Multiset ℕ), (∀ g ∈ G, g ≠ 0) ∧ G.join = x ∧ G.map Multiset.prod = y
See it in the graphDiscuss this resultChallenge it