AFTD Auto-Formalizing Theoretical Domains

canonical_partition_star

def

For natural numbers n and t, the canonical t-star canonical_partition_star n t is the finite set (of type Finset (Nat.Partition n)) of all partitions p of n such that t ≤ p.parts.count 1.

Statement

def canonical_partition_star (n t : ℕ) : Finset (Nat.Partition n)
Defined in
arXiv:2610.01747, Section 1, Eq. (132)
Verified
27 Oct 2026
Axioms
none listed

Read back from the Lean

For natural numbers n and t, canonical_partition_star n t is defined as the finite set (Finset) of all partitions of n (Nat.Partition n) in which the part 1 appears with multiplicity at least t (that is, p.parts.count 1 ≥ t).

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

/-- The canonical t-star T_{n, t} consists of all partitions of n containing at least t ones. -/
def canonical_partition_star (n t : ℕ) : Finset (Nat.Partition n) := Finset.univ.filter fun p => t ≤ p.parts.count 1
See it in the graphDiscuss this resultChallenge it