- Boxes
- definitions
- Ellipses
- theorems and lemmas
- Blue border
- the statement of this result is ready to be formalized; all prerequisites are done
- Orange border
- the statement of this result is not ready to be formalized; the blueprint needs more work
- Blue background
- the proof of this result is ready to be formalized; all prerequisites are done
- Green border
- the statement of this result is formalized
- Green background
- the proof of this result is formalized
- Dark green background
- the proof of this result and all its ancestors are formalized
- Dark green border
- this is in Mathlib
Let \(S \subseteq \{ 1, \ldots , n\} \) be a nonempty partition of \(n\) into different parts with base \(b\), slope \(s\), max \(m = \max (S)\), and slope set \(D\). We define:
\(\alpha \): For \(S \in \mathcal{P}_\alpha (n)\) (equivalently, \(b \leq s\) and \(b \notin D\), or \(b \leq s - 1\)):
\(\beta \): For \(S \in \mathcal{P}_\beta (n)\) (equivalently, \(b {\gt} s\) and \(b \notin D\), or \(b \geq s + 2\)):
Consider a nonempty partition \(S \subseteq \{ 1, \ldots , n\} \) of \(n\) into different parts. We define the base \(b \in S\) as the smallest element of the partition, \(b = \min (S)\). Let \(\max (S)\) denote the largest element of \(S\). We define the slope \(s\) as:
and the slope set \(D\) as \(\{ \max (S), \max (S)-1, \ldots , \max (S)-s + 1\} \).
Let \(n \in \mathbb {N}\). We define the following sets of partitions of \(n\) into distinct positive parts:
We further define the number of even and odd partitions of \(n\) as \(p_e(n) = |\mathcal{P}_{\mathrm{even}}(n)|\) and \(p_o(n) = |\mathcal{P}_{\mathrm{odd}}(n)|\).
Let \(A = \texttt{LaurentPolynomial}\, \mathbb {C}\), \(z = T(1)\), \(z^{-1} = T(-1)\) viewed as constant power series in \(A[\! [ X]\! ]\). Define:
Here \(T(k)\) is the degree-\(k\) monomial in the Laurent polynomial ring \(A\), so \(T(n) = z^n\) and \(T(-(m+1)) = z^{-(m+1)}\).
\(\mathrm{jacobiProd}(q,z) := (q;q)_\infty \, (-z;q)_\infty \, (-q/z;q)_\infty \), and the bilateral series \(\mathrm{jacobiBilateral}(q,z) := \sum _{k\ge 0} z^k q^{\binom {k}{2}} + \sum _{m\ge 0} z^{-(m+1)} q^{\binom {m+2}{2}}\) (the non-negative and negative halves of \(\sum _{k\in \mathbb {Z}} z^k q^{k(k-1)/2}\)).
Let \(n \in \mathbb {N}_{\geq 1}\) be a positive integer. Consider \(S \in \mathcal{P}(n)\) nonempty with base \(b\), slope \(s\), and slope set \(D\). We define the following sets of partitions of \(n\) into distinct positive parts:
By convention \(\emptyset \in \mathcal{P}_{\mathrm{special}}(0)\) (and \(\mathcal{P}(0) = \{ \emptyset \} \)).
A partition of a positive integer \(n\), also called an integer partition, is a way of writing \(n\) as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same partition.
The partition function \(p(n)\) represents the number of possible partitions of a natural number \(n\).
The Gaussian binomial coefficient \(\binom {n}{k}_q \in R\) is defined by recursion on \(n\) and \(k\):
This is the \(q\)-Pascal recurrence in the form stated in Lemma 25 (with the index shift \(k \mapsto k+1\)). By construction \(\binom {n}{k}_q\) is a polynomial in \(q\) with integer coefficients, defined for every pair \((n, k) \in \mathbb {N}^2\) (no division, no roots-of-unity exclusion).
For \(n \in \mathbb {N}\), the finite \(q\)-Pochhammer symbol is
In Lean, this is implemented as \(\prod \) k \(\in \) Finset.range n, (1 - a * q^k), specialising to \((a; q)_0 = 1\) (the empty product).
defined unconditionally via tprod. The value is mathematically meaningful (and the product is convergent) under the hypothesis \(\| q\| {\lt} 1\) provided by Lemma 34.
For \(k \in \mathbb {N}_{\geq 1}\) define \( S_{-k}=\{ k, k+1, \ldots , 2k-1\} \) (a set of \(k\) elements summing to \((3k^2-k)/2\)).
For \(k\in \mathbb {N}_{\geq 1}\) define \(S_{k}=\{ k+1, k+2, \ldots , 2k\} \) (a set of \(k\) elements summing to \((3k^2+k)/2\)).
For all \(n, k \in \mathbb {N}\),
(Equivalently, with \(k \geq 1\): \(\binom {n+1}{k}_q = \binom {n}{k}_q + q^{n - k + 1}\binom {n}{k-1}_q\). A symmetric form \(\binom {n+1}{k+1}_q = q^{k+1}\binom {n}{k+1}_q + \binom {n}{k}_q\) also holds; we use the first.)
The map \(\alpha : \mathcal{P}_\alpha (n)\to \mathcal{P}_\beta (n)\) is a bijection.
The map \(\beta : \mathcal{P}_\beta (n)\to \mathcal{P}_\alpha (n)\) is a bijection.
The operations \(\alpha \) and \(\beta \) change the parity of the number of parts of a partition. More precisely,
If \(S\in \mathcal{P}_\alpha (n)\cap \mathcal{P}_{\mathrm{odd}}(n) \) then \(\alpha (S) \in \mathcal{P}_\beta (n)\cap \mathcal{P}_{\mathrm{even}}(n) \);
If \(S\in \mathcal{P}_\alpha (n)\cap \mathcal{P}_{\mathrm{even}}(n) \) then \(\alpha (S) \in \mathcal{P}_\beta (n)\cap \mathcal{P}_{\mathrm{odd}}(n) \);
If \(S\in \mathcal{P}_\beta (n)\cap \mathcal{P}_{\mathrm{odd}}(n) \) then \(\beta (S) \in \mathcal{P}_\alpha (n)\cap \mathcal{P}_{\mathrm{even}}(n) \);
If \(S\in \mathcal{P}_\beta (n)\cap \mathcal{P}_{\mathrm{even}}(n) \) then \(\beta (S) \in \mathcal{P}_\alpha (n)\cap \mathcal{P}_{\mathrm{odd}}(n) \).
For all positive natural numbers \(n\in \mathbb {N}_{\geq 1}\) the following holds: The sets \(\mathcal{P}_{\alpha }(n)\), \(\mathcal{P}_{\beta }(n)\), \(\mathcal{P}_{\mathrm{special}}(n)\) are pairwise disjoint.
We have
where \(c_0=1\) and \(c_n=p_e(n)-p_o(n)\) for \(n\geq 1\).
The generating function for \(p(n)\) is given by
For \(n\in \mathbb {N}_{\geq 1}\):
If \(n\) is not a pentagonal number, then \(\mathcal{P}_{\mathrm{special}}(n) = \emptyset \).
If \(n = \frac{3k^2 - k}{2}\) for some \(k \in \mathbb {Z}_{\geq 1}\), then \(\mathcal{P}_{\mathrm{special}}(n) = \{ S_{-k}\} \).
If \(n = \frac{3k^2 + k}{2}\) for some \(k \in \mathbb {Z}_{\geq 1}\), then \(\mathcal{P}_{\mathrm{special}}(n) = \{ S_{k}\} \).
For \(n = 0\), \(\mathcal{P}_{\mathrm{special}}(0) = \{ \emptyset \} \) by convention.
For every \(l \ge 0\):
For every \(k \ge 0\):
That is, the \(k\)-th diagonal sum of the Cauchy product equals \(X^{\binom {k}{2}}\).
In \(A[\! [ X]\! ]\) (with \(A = \texttt{LaurentPolynomial}\, \mathbb {C}\)):
that is,
For \(\| q\| {\lt} 1\), \(\| z\| {\lt} 1\), \(z \neq 0\), \(\; \mathrm{jacobiProd}(q,z) = \mathrm{jacobiBilateral}(q,z)\); that is,
For \(a, z, q \in \mathbb {C}\) with \(\| q\| {\lt} 1\) and \(\| z\| {\lt} 1\),
(Equivalent to Theorem 24.) The Lean theorem is QSeries.hasSum_qPochhammer_div_mul_pow in QSeries/CauchyIdentity.lean (in Qseries_Aristotle_new). The proof realised in Lean follows Heine’s functional-equation argument spelled out in the proof of Theorem 24 above, organised under section CauchyIdentity: non-vanishing of \((z;q)_\infty \) (qPochhammerInf_z_q_ne_zero), the telescoping recursion \((z;q)_\infty = (1-z)\, (zq;q)_\infty \) (qPochhammerInf_recursion), the coefficient recurrence \(c_{n+1}(1-q^{n+1}) = c_n(1 - a q^n)\) (cauchyCoeff_succ_mul), the functional equations for \(F\) and \(G\) (cauchy_functional_eq_F, cauchy_functional_eq_G), iteration on the disc (iterated_functional_eq_disc), and the Tannery-based limit \(F(q^n z) \to 1\) (tendsto_F_qpow). The alternative route via a finite Cauchy-type analog of Theorem 23 is not formalised.