AFTD Auto-Formalizing Theoretical Domains

designated_partition_gen_fun

def

The generating function F in PowerSeries ℕ for partitions with designated summands, defined via Nat.Partition.genFun.

Statement

noncomputable def designated_partition_gen_fun : PowerSeries ℕ
Defined in
arXiv:2611.05623, Section 2, Definition 2.1
Verified
05 Nov 2026
Axioms
none listed
Used by 5

Read back from the Lean

The definition designated_partition_gen_fun defines a formal power series with natural number coefficients (PowerSeries ℕ) to be Nat.Partition.genFun (fun _ c => c). This applies the partition generating function constructor Nat.Partition.genFun to a weight function that takes two arguments (typically the part size and its multiplicity c), ignores the part size, and returns the multiplicity c.

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

/-- Generating function F for partitions with designated summands. -/
noncomputable def designated_partition_gen_fun : PowerSeries ℕ := Nat.Partition.genFun fun _ c => c
See it in the graphDiscuss this resultChallenge it