The dual q-Pascal recurrence, valid for `k ≤ n`.
ProvedGarsiaQBinom.qBinom_pascal_paether-catalogspeculative
The dual q-Pascal recurrence, valid for k ≤ n.
theorem GarsiaQBinom.qBinom_pascal_p: ∀ {n k : ℕ}, k ≤ n →
qBinom (n + 1) (k + 1) = X ^ (n - k) * qBinom n k + qBinom n (k + 1) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Speculative/NumberTheory/GarsiaQBinomial.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Speculative/NumberTheory/GarsiaQBinomial.lean
import Mathlib
import Definitions.Def_Speculative_NumberTheory_GarsiaQBinomial
/-!
# Gaussian binomial coefficients (q-binomials)
A memorial-tribute companion file for *Adriano Garsia (1928–2024)*. Garsia's
mathematical life was devoted to **q-analogs** and their combinatorics: the
theory of Macdonald polynomials, the `(q,t)`-Catalan numbers, the
Garsia–Haiman modules, and the shuffle theory of the diagonal harmonics. At the
heart of every one of these subjects sit the **Gaussian binomial coefficients**
`⟦ n choose k ⟧_q`, the q-analog of the ordinary binomial coefficients.
This file develops a small, self-contained theory of these polynomials over
`ℤ[q]` (here `q = Polynomial.X`), defined through the **q-Pascal recurrence**
`⟦ n+1 , k+1 ⟧ = ⟦ n , k ⟧ + q^(k+1) · ⟦ n , k+1 ⟧`.
We prove:
* `qBinom_eq_zero_of_lt` : the coefficient vanishes for `k > n`;
* `qBinom_self` : `⟦ n , n ⟧ = 1`;
* `qBinom_one_right` : `⟦ n , 1 ⟧ = [n]_q = 1 + q + ⋯ + q^{n-1}`;
* `qBinom_pascal'` : the *dual* q-Pascal recurrence
`⟦ n+1 , k+1 ⟧ = q^{n-k}·⟦ n , k ⟧ + ⟦ n , k+1 ⟧`;
* `qBinom_symm` : the symmetry `⟦ n , k ⟧ = ⟦ n , n-k ⟧`;
* `qBinom_eval_one` : the specialization `q = 1` recovers the ordinary
binomial coefficient `Nat.choose n k`;
* `qNat_eval_one` : `[n]_q` specializes to `n` at `q = 1`;
* `qNat_add` : additivity of q-integers `[a+b]_q = [a]_q + q^a·[b]_q`;
* `qFactorial_product` : the **q-factorial product formula**
`⟦n,k⟧_q · [k]_q! · [n-k]_q! = [n]_q!`, the
division-free q-analog of `C(n,k)·k!·(n-k)! = n!`;
* `qFactorial_eval_one` : `[n]_q!` specializes to `n!` at `q = 1`;
* `choose_mul_factorial_from_q` : the classical `C(n,k)·k!·(n-k)! = n!` as a
`q = 1` corollary of the product formula.
All results are proved from scratch; nothing here relies on a pre-existing
Gaussian-binomial theory.
-/
open GarsiaQBinom
open Polynomial
open scoped BigOperatorsFormal statement
theorem GarsiaQBinom.qBinom_pascal_p: ∀ {n k : ℕ}, k ≤ n →
qBinom (n + 1) (k + 1) = X ^ (n - k) * qBinom n k + qBinom n (k + 1) := by sorrySource