Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.6 — Carlitz's q-binomial inverse formula

Proved
HScattered.Hyperplanes.theorem_5_6

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussian-binomialinversion-formulap2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1q-series

Let q>1q > 1q>1 be real and let (ak)k≥0(a_k)_{k \ge 0}(ak​)k≥0​, (bk)k≥0(b_k)_{k \ge 0}(bk​)k≥0​ be sequences of complex numbers. Then

ak=∑j=0k(−1)jqj(j−1)/2[kj]qbj  for all ka_k = \sum_{j=0}^{k} (-1)^j q^{j(j-1)/2}\begin{bmatrix} k\\ j\end{bmatrix}_q b_j \ \text{ for all } kak​=j=0∑k​(−1)jqj(j−1)/2[kj​]q​bj​  for all k

if and only if

bk=∑j=0k(−1)jqj(j+1)/2−jk[kj]qaj  for all k.b_k = \sum_{j=0}^{k} (-1)^j q^{j(j+1)/2 - jk}\begin{bmatrix} k\\ j\end{bmatrix}_q a_j \ \text{ for all } k .bk​=j=0∑k​(−1)jqj(j+1)/2−jk[kj​]q​aj​  for all k.

This inversion formula (a special case of [7, Theorem 2]) is what turns the expression of βk\beta_kβk​ through the αj\alpha_jαj​ into equation (24).

Formalization Note "If … then … and vice versa" is read as an equivalence between the two families of identities over all k≥0k \ge 0k≥0. The exponent j(j+1)/2−jk=(j2)+j−jkj(j+1)/2 - jk = \binom{j}{2} + j - jkj(j+1)/2−jk=(2j​)+j−jk may be negative, so it is an integer power of qqq.

Preamble
import Mathlib
import Definitions.Def_HScattered_Hyperplanes_gaussBinom
Formal statement
namespace HScattered.Hyperplanes

/-- Theorem 5.6 (arXiv:1906.10590v2, p. 19; Carlitz's `q`-binomial inverse formula,
[7, Theorem 2]): for real `q > 1` and complex sequences `(a_k)`, `(b_k)`,
`a_k = ∑_{j=0}^k (−1)^j q^{j(j−1)/2} [k j]_q b_j` for all `k` if and only if
`b_k = ∑_{j=0}^k (−1)^j q^{j(j+1)/2 − jk} [k j]_q a_j` for all `k`
(`j(j−1)/2 = C(j, 2)` and `j(j+1)/2 − jk = C(j, 2) + j − jk`, an integer exponent). -/
theorem theorem_5_6 (q : ℝ) (hq : 1 < q) (a b : ℕ → ℂ) :
    (∀ k : ℕ, a k = ∑ j ∈ Finset.range (k + 1),
        (-1 : ℂ) ^ j * (q : ℂ) ^ (j.choose 2) * (gaussBinom q k j : ℂ) * b j) ↔
      (∀ k : ℕ, b k = ∑ j ∈ Finset.range (k + 1),
        (-1 : ℂ) ^ j * (q : ℂ) ^ ((j.choose 2 : ℤ) + j - (j : ℤ) * k) *
          (gaussBinom q k j : ℂ) * a j) := by sorry

end HScattered.Hyperplanes
Source
B. Csajbók, G. Marino, O. Polverino, F. Zullo, Generalising the scattered property of subspaces, arXiv:1906.10590v2, p. 19, Theorem 5.6 (citing [7, Theorem 2, p. 897, (4.2) and (4.3)])
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me