AFTD Auto-Formalizing Theoretical Domains

isFactorizationCoarsening_refl

theoremverified

Every multiset is a coarsening of itself (the partition into singletons).

Statement

theorem isFactorizationCoarsening_refl (x : Multiset ℕ) : IsFactorizationCoarsening x x
Source
arXiv:2611.18194 (The Möbius function of factorizations with a simple prime factor): sanity lemma for the factorization-poset definitions
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • IsFactorizationCoarseningA 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…
Used by 1
  • factorization_mobius_simple_primeTheorem 1 of arXiv:2611.18194. Let n = mq where q is a prime not dividing m, and let x be a factorization of n (a multiset of integers…

The proof, explained

To prove that any multiset x is a factorization coarsening of itself, we choose the trivial partition where each element a ∈ x is placed in its own singleton multiset {a}. The three defining properties of a coarsening are then verified: each singleton is non-empty, the join of the singletons recovers x, and the product of each singleton {a} is a, returning x.

  1. To show that x is a factorization coarsening of itself, it suffices to choose the multiset of singletons G = {{a} | a ∈ x} as the witness.

    By definition, a multiset x is a factorization coarsening of y if there exists a multiset of non-empty multisets G such that the join of G is x and the multiset of products of each part is y. Choosing G to be the multiset of singletons obtained by mapping a ↦ {a} over x reduces the theorem to three sub-goals: each part is non-empty, the join of G is x, and the element-wise products equal x.

    line 2

      refine ⟨x.map (fun a => {a}), ?_, ?_, ?_⟩
  2. Every part in the partition into singletons is non-empty.

    Every element of G has the form {a} for some a ∈ x. A singleton multiset contains an element and is therefore non-zero (non-empty), which simp recognizes and simplifies to true.

    line 3

      · simp
  3. Joining the singletons recovers the original multiset x.

    Flattening the multiset of singletons (x.map (fun a => {a})).join sums all the singleton multisets together, which yields the multiset x itself.

    line 4

    uses Multiset.join

      · simp [Multiset.join]
  4. The multiset of products of the singletons is x.

    For each singleton {a}, the product of its elements is simply a. Mapping the multiset product over the singletons thus applies the identity function to each element of x, recovering x.

    line 5

      · simp
Multiset.join
The operation that flattens a multiset of multisets into a single multiset by taking their sum.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem isFactorizationCoarsening_refl (x : Multiset ℕ) : IsFactorizationCoarsening x x := by  refine ⟨x.map (fun a => {a}), ?_, ?_, ?_⟩  · simp  · simp [Multiset.join]  · simp
See it in the graphDiscuss this resultChallenge it