AFTD Auto-Formalizing Theoretical Domains

factorizationMobiusToTop_singleton

theoremverified

The Möbius function of the factorization poset of n is 1 at the top element: μ(n, n) = 1.

Statement

theorem factorizationMobiusToTop_singleton (n : ℕ) : factorizationMobiusToTop n {n} = 1
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 3
  • factorizationMobiusToTopFor a natural number n and a multiset x of natural numbers, factorizationMobiusToTop n x (n first, then x) is the integer defined by…
  • IsNatFactorizationA factorization of a natural number n is a multiset of integers greater than 1 whose product is n.
  • 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…

The proof, explained

The proof unwinds the definition of factorizationMobiusToTop for the singleton multiset {n}. Since the cardinality of a singleton is 1, the base case condition (cardinality at most 1) is satisfied, so the function evaluates immediately to 1.

  1. factorizationMobiusToTop n {n} = 1 automation

    Unfolding the definition of factorizationMobiusToTop, the condition {n}.card ≤ 1 holds because the singleton {n} has cardinality 1 ≤ 1. The simplifier evaluates this condition to true and reduces the if-then-else expression to 1 = 1, closing the goal.

    line 2

    uses factorizationMobiusToTop

      rw [factorizationMobiusToTop]; simp
factorizationMobiusToTop
the definition of the Möbius function to the top element of the factorization poset, which equals 1 when the multiset has cardinality at most 1, and is defined by recursive inversion otherwise

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 factorizationMobiusToTop_singleton (n : ℕ) : factorizationMobiusToTop n {n} = 1 := by  rw [factorizationMobiusToTop]; simp
See it in the graphDiscuss this resultChallenge it