Chebyshev quotients, Demazure multiplicities, and Dyck-path models
Abstract.
We study Chebyshev quotients that arise in the representation theory of Lie algebras, specifically within the theory of Demazure flags for fusion products of -modules. Using a recent formula that expresses numerical Demazure multiplicities as coefficients of such quotients, we prove a general eventual non-negativity theorem for the same rational functions that compute these multiplicities: each quotient either terminates or has strictly positive coefficients for sufficiently large degrees, which we in turn interpret in terms of matchings and bounded walks. In several natural infinite families, these are unsigned bounded Dyck path models, giving both a structural explanation for the observed positivity phenomenon and concrete combinatorial models for key families of Demazure multiplicities. The theorems in this paper were autonomously produced and formalized in Lean/Mathlib by AxiomProver from natural-language statements.
Key words and phrases:
Demazure flag, fusion product, Chebyshev polynomial, Dyck path2020 Mathematics Subject Classification:
17B67, 05A15, 33C45, 11P841. Introduction
Fusion products for , in the sense of Chari and Venkatesh, give a representation-theoretic framework for many finite-dimensional graded current-algebra modules, including local Weyl modules and Demazure modules [2, 5, 7]. Let
be a partition, and write . We denote by the corresponding fusion product. If , then admits a level- Demazure flag, also called an excellent filtration, and the multiplicities of the graded shifts of are independent of the chosen flag (see, for example, [4]).
The graded multiplicity polynomials arising from these filtrations encode refined structural information about the modules. They also interact with tensor product decompositions of irreducible integrable highest weight modules over affine Lie algebras through character identities, filtrations, and recursive structures; see [10]. Explicit combinatorial interpretations of their coefficients can therefore make these multiplicities more transparent and more computable.
Following the notation of [1], we write
| (1.1) |
for the associated graded multiplicity polynomial. The present paper concerns the numerical specialization . The Chebyshev-quotient formula of [1], recalled in Proposition 1, shows that is obtained by extracting a single coefficient from a rational function built from a simple Chebyshev-type polynomial sequence. Our aim is to analyze these rational functions directly: we prove an eventual positivity dichotomy for their coefficient sequences, give an exact signed combinatorial formula for those coefficients, and isolate families in which the signs cancel to give bounded Dyck-path models.
The novelty of the present paper is not the Chebyshev-quotient formula itself, which is recalled from [1], but rather the systematic analysis of the coefficient sequences that arise from that formula. We prove that, after the evident cancellations, these quotients satisfy a sharp dichotomy: they either terminate or are eventually strictly positive. We then explain the coefficients by an explicit signed model involving matchings and bounded walks, and identify natural infinite families for which the quotient factors into Dyck-path-compatible pieces, yielding direct unsigned bounded-Dyck-path interpretations. Thus, this paper turns the Chebyshev quotient from a compact character-theoretic expression into a structural and combinatorial description of numerical Demazure multiplicities. In this way, the results refine the Demazure-flag multiplicity formulas arising from the Chari–Venkatesh framework by identifying the eventual sign behavior and by producing explicit path models for natural infinite families of numerical multiplicities.
We use the polynomial sequence
and, for a partition , set
| (1.2) |
For a power series and an integer , we use the convention if , and otherwise. Throughout, unless . The following fact was proved by the first author in earlier work (see Theorem 2.3 of [1]).
Proposition 1.
Let be a partition, let , and let . Write
Then
The coefficient is understood to be if is not a nonnegative integer.
Proposition 1 is the bridge from Demazure flags to the Chebyshev-polynomial side. For fixed representation-theoretic data , the numerical Demazure multiplicity is exactly the coefficient of degree in the quotient
Thus, every statement about the coefficient sequence of this quotient is, in particular, a statement about the Chebyshev expression that computes the corresponding Demazure-flag multiplicity. Theorem 1.1 should be understood in this sense: it identifies the eventual coefficient behavior of precisely the rational functions that occur in the Demazure multiplicity formula. Theorem 1.2 then explains these coefficients by a signed matching-and-walk model, while Theorem 1.3 identifies natural families in which this signed model becomes an unsigned bounded-Dyck-path model. Finally, Corollary 1.4 translates these quotient identities back into direct formulas for numerical Demazure multiplicities.
Theorem 1.1 is the structural result that underlies the rest of the paper. It applies not to an auxiliary family of generating functions, but directly to the Chebyshev quotients appearing in Proposition 1. Consequently, when , it describes the eventual coefficient behavior of the very rational functions whose coefficient extractions compute the numerical Demazure multiplicities .
1.1. Background, definitions, and statements
We begin with the basic combinatorial objects used in the second theorem.
Definition 1.
For an integer , let denote the path graph on vertices , with edge set
When , we interpret as the empty graph. A matching in is a set of pairwise disjoint edges. We write for the number of matchings in having exactly edges.
Definition 2.
Fix and integers . A strip walk of height from to is a finite sequence
of integers such that
and
We denote by the number of such walks of length . When and , we call these full-height strip walks.
Definition 3.
If is a full-height strip walk of height and length , then . We define the excess of by
Thus is a nonnegative integer. More generally, if is a strip walk from to with and length , then , and we define
Again is a nonnegative integer.
Definition 4.
A Dyck path is a lattice path in starting at , ending on the -axis, using up-steps and down-steps , and never going below the -axis; see, for example, [19]. Its semilength is half of its total number of steps. The height of a Dyck path is the largest -coordinate reached along the path.
Fix and integers with . For , let be the set of Dyck paths of height at most and semilength whose first steps are up-steps and whose last steps are down-steps. We write
| (1.3) |
In particular, is the set of Dyck paths of height at most and semilength whose last steps are down-steps.
The first main result is the eventual-positivity dichotomy for these quotient coefficients.
Theorem 1.1.
Fix , let be a partition with for all , and let . Write
and set
If we let then the following are true:
(1) If , then .
(2) Assume that .
-
(a)
If , then is a polynomial. In particular, for all sufficiently large .
-
(b)
If , then for all sufficiently large .
In representation-theoretic terms, Theorem 1.1 separates the Chebyshev quotients arising from Demazure flags into two cases. If sufficiently many parts of are equal to the level , then the denominator is cancelled and the quotient is a polynomial; consequently only finitely many possible coefficient extractions can be nonzero. Otherwise the quotient has a genuine pole at the smallest positive root of , and the resulting coefficient sequence is eventually strictly positive. Since Proposition 1 identifies the relevant Demazure multiplicity with one coefficient of this same quotient, Theorem 1.1 gives a structural explanation for why the Chebyshev expressions governing these multiplicities have eventual positivity after the evident cancellations.
The next theorem gives the promised combinatorial description of the coefficients. To state it, we use the notation of Theorem 1.1, and assume
Let
and let
be the parts of that are strictly smaller than , listed with multiplicity. Thus
and
For , we define
In words, is the number of full-height strip walks whose excess is .
Theorem 1.2.
With the notation above, for every one has
Here, the second product is interpreted as when . Equivalently, is the signed count of tuples
with the following properties:
-
(1)
for each , the object is a matching in the path graph ;
-
(2)
for each , the object is a full-height strip walk of height ;
-
(3)
the total weight condition
holds;
-
(4)
the sign of such a tuple is
Remark 1.
For , Theorem 1.1 says that the only obstruction to strict eventual positivity is whether enough copies of cancel to make the rational function a polynomial. Theorem 1.2 explains why positivity is not obvious term-by-term: in general the coefficients are not counting a single family of ordinary partitions or paths, but rather a signed combination of matchings and bounded walks.
The next result identifies families for which the quotient admits a factorization compatible with the denominator exponent , leading to unsigned Dyck-path models.
Theorem 1.3.
Assume the notation in Theorem 1.2, so that
Assume that there exist integers
such that
for every , and such that
Because , this factorization condition depends only on the polynomial product
rather than on the particular presentation of that product by the multiset
However, the existence of a decomposition into exactly admissible pairs is itself a nontrivial restriction. Then we have
In particular, is the number of -tuples
in which each belongs to for some and
Hence all coefficients are nonnegative.
Moreover, this criterion produces the following explicit infinite families of unsigned quotient identities. In these three families, the quotient is with . A notation such as records a multiset of parts; the corresponding partition is arranged in nonincreasing order.
-
(a)
Let
and write
Then, for every , counts tuples
with the following properties:
-
(i)
, so is a Dyck path of height at most and semilength whose last steps are down-steps;
-
(ii)
for , one has , so is a Dyck path of height at most and semilength whose last steps are down-steps;
-
(iii)
.
-
(i)
-
(b)
Let
Write
If , equivalently if , then, for every , counts Dyck paths in . Equivalently, is the number of Dyck paths of height at most and semilength whose first steps are up-steps and whose last steps are down-steps.
If , then, for every , counts tuples
with the following properties:
-
(i)
;
-
(ii)
, so is a Dyck path of height at most and semilength whose first steps are up-steps and whose last steps are down-steps;
-
(iii)
for , one has ;
-
(iv)
.
-
(i)
-
(c)
More generally, let
and write
If , then, for every , counts tuples
with the following properties:
-
(i)
;
-
(ii)
for , one has ;
-
(iii)
for , one has ;
-
(iv)
.
-
(i)
The factorization hypothesis is restrictive: it requires the numerator product to decompose into exactly admissible factors corresponding to the denominator copies of . The explicit families below are precisely situations where such a decomposition occurs naturally. In particular, when the number of numerator factors becomes large relative to the denominator exponent , one cannot generally expect positivity for the coefficients of the corresponding Chebyshev quotient. The positivity phenomenon in Theorem 1.3 is also related to positive linearization formulas for orthogonal polynomials. Certain families, including the Chebyshev polynomials, admit expansions
which allow products in the numerator to be reorganized combinatorially; see [17].
We now return from the quotient level to the representation-theoretic multiplicities themselves.
Corollary 1.4.
Fix and set
If , then we have the following formula for the Demazure multiplicity
-
(a)
Let
and write
Then we have
If , then
If , then is the number of tuples
for which
and
-
(b)
Let
and write
Then we have
If , then
If and , then
If , then is the number of tuples
for which
and
When and , no unsigned Dyck-path model is asserted here; the displayed coefficient formula remains valid.
-
(c)
Let
and write
Then
If , then
If , then is the number of tuples
for which
and
If , no unsigned Dyck-path model is asserted here; the displayed coefficient formula remains valid.
Theorem 1.3 is deliberately a quotient statement. The point is that the same quotient can arise from different multiplicity problems once the target weight varies. Corollary 1.4 records the corresponding direct formulas for numerical Demazure multiplicities in the three families treated here.
The remainder of the paper is organized as follows. Section 2 proves the eventual-positivity theorem by analyzing the roots of . Section 3 interprets the basic generating-series factors in terms of matchings and bounded strip walks, and Section 4 combines these interpretations to prove the signed coefficient formula. Section 5 gives the unsigned bounded-Dyck-path quotient families and then translates them back to direct multiplicity statements. Finally, in Section 6 we discuss how AxiomProver, an AI tool for mathematics research, autonomously produced and formalized the theorems in this paper.
2. The root-theoretic proof of eventual positivity
In this section we prove Theorem 1.1. The argument separates the Chebyshev quotient into a cancellable polynomial part and a genuinely rational part, and then uses the smallest positive root of to control the eventual sign of the coefficients. This is the only place where we use the precise location of the roots of the Chebyshev-type polynomials.
We first record the structure of the roots of for .
Lemma 2.1.
Assume . The roots of are
These roots are simple, positive, and satisfy
In particular, is the unique root of having smallest modulus.
Proof.
Set . The recurrence for is equivalent to the standard identity
where is the Chebyshev polynomial of the second kind. The zeros of are , , and
[15, Ch. 2]. Since , every root of is nonzero. Thus a zero of satisfies
for some . If is odd, the value gives the zero of and hence no finite value of . The remaining indices occur in pairs and , and these two values of have opposite signs and hence the same value of . Therefore the distinct roots of are precisely
The recurrence also gives , so the displayed distinct roots account for all roots and are simple.
Finally,
and is strictly decreasing on . Hence the sequence is strictly decreasing and the sequence is strictly increasing. Since all roots are positive, is the unique root of smallest modulus. ∎
Lemma 2.2.
Assume . Let and . If , then
Proof.
Using the Chebyshev formula, with the positive square root,
so
Since and for , both denominator and numerator are positive. Hence . ∎
Proof of Theorem 1.1.
If , then , , and every part of is equal to . Hence and therefore . This proves part (1).
Now assume . Write
Since for all , we may factor
where
is a polynomial all of whose factors have index . Hence
Set
Every factor of is of the form with , because . By Lemma 2.2, each such factor is positive at , so
If , then
is a polynomial, proving part (2a).
Now assume , so that
Then we have
By Lemma 2.1, with , we have
so
Because , the function has a pole of order exactly at .
If , then , and so
Write the Taylor expansion of at as
where . Then
Splitting off the terms , we obtain
where is a polynomial and
The coefficient of in is
Hence the contribution from the pole at is
where is a polynomial of degree with leading coefficient . Therefore for all sufficiently large . Since the polynomial part contributes only finitely many nonzero coefficients, we conclude that for all sufficiently large .
It remains to treat the case . Define
Then is analytic at and
because for all . Thus, near , we have
Therefore the partial fraction decomposition of contains a term
with
Hence, we may write
where is a polynomial and the are constants.
The coefficient of in is
Hence the contribution from the pole at is again
where is a polynomial of degree whose leading coefficient is . In particular, there exist constants and such that
Let denote the contribution from the polynomial part and the poles with . Since the polynomial part contributes only finitely many nonzero coefficients, and since there are only finitely many pairs with , there exist constants and such that
Because , we have . Therefore, for all sufficiently large ,
For such , we have
This proves part (2b). ∎
3. Walk and matching interpretations of the basic factors
In this section we prove two standard facts: first, and related quotients admit a transfer-matrix interpretation in terms of strip walks; second, is the matching polynomial of a path graph after a simple change of variables. Both viewpoints are standard: see Flajolet [8] for transfer-matrix/continued-fraction methods and Godsil [9] for matching polynomials.
Remark 2.
The transfer-matrix interpretation underlying Corollary 3.2 is classical and extends more generally to orthogonal polynomials and continued fractions; see, for example, Theorem 10.11.1 of Krattenthaler [12]. Related determinant-based proofs appear already in Chapter V of Viennot’s monograph on orthogonal polynomials [16], and combinatorial proofs via heaps are discussed in Cigler and Krattenthaler [6].
Our purpose here is to specialize these methods to the Chebyshev quotients arising from Demazure multiplicities and to connect them with the signed and unsigned combinatorial models developed in later sections. More generally, quotient formulas of this type arise naturally in the theory of orthogonal polynomials and bounded Motzkin path enumeration. In Viennot’s framework [16], the generating function for bounded Motzkin paths can be expressed in terms of quotients of reciprocal orthogonal polynomials. See also Stanton and Kim [11] for a modern formulation of these results. The Chebyshev case considered here corresponds to the specialization and (up to normalization), in which Motzkin paths reduce to Dyck paths.
Let be the adjacency matrix of the path graph on vertices :
For an indeterminate , define
We also set
with the convention .
Lemma 3.1.
For every one has
Proof.
The determinant satisfies the same recurrence as . Indeed, expanding along the last row (or last column) gives
with initial values
Since and
it follows by induction on that for all . ∎
Proposition 2.
Let and . Then
By symmetry the same formula holds for after interchanging and .
Proof.
By Cramer’s rule,
where denotes the matrix obtained by deleting row and column . When , the tridiagonal shape of implies that this minor is block upper triangular, with one block equal to , one block equal to , and a chain of off-diagonal entries linking them. Consequently,
Using Lemma 3.1, we obtain
as claimed. ∎
Corollary 3.2.
Let and . Then
In particular, we have
and
Proof.
Since the constant term of is the identity matrix, the inverse exists as a formal power series and the Neumann-series identity gives
The -entry of counts walks of length from to on the path graph with vertex set , and those walks are exactly the strip walks defined in Section 1. Therefore
Combining this with Proposition 2 yields
Now every strip walk from to has length congruent to , so writing and substituting gives
Taking gives the formula for , while taking gives the second displayed identity. ∎
Remark 3.
Lemma 3.3.
For every , we have
Equivalently, we have
where is the number of -edge matchings in the path graph . In particular,
Proof.
The closed formula for follows by an easy induction on from the recurrence . The resulting interpretation as a matching polynomial for a path graph is standard; see, for example, Godsil [9, Ch. 1]. For the matching interpretation, note that a -edge matching in may be specified by choosing indices
with the additional condition , because adjacent edges cannot both belong to a matching. Setting
produces a strictly increasing -tuple
This construction is reversible, so the number of such matchings is
Substituting this into the closed formula gives the stated matching-polynomial identity. ∎
4. Proof of the combinatorial coefficient formula
With the interpretations from the previous section in hand, the proof of Theorem 1.2 is a direct coefficient extraction. We expand the numerator factors using the matching model, expand each reciprocal factor using bounded strip walks, and then collect the coefficient of a fixed power of .
Proof of Theorem 1.2.
By construction, we have
By Lemma 3.3, each factor has the expansion
where the binomial coefficient is automatically zero when . By Corollary 3.2, we also have
Therefore, we have
Expanding the product and collecting the coefficient of gives
which is the first assertion.
For the equivalent signed description, we interpret each factor combinatorially. By Lemma 3.3, the number of choices for a matching in with is exactly . By definition of , the number of choices for a full-height strip walk with excess is exactly . Thus each summand in the displayed formula counts tuples
with total weight
and sign
Summing over all allowable weight vectors yields exactly the signed count stated in the theorem. ∎
5. When the signed formula is manifestly positive
In this section we prove Theorem 1.3. The key point is that the strip-walk quotients from Corollary 3.2 are equivalent to families of bounded Dyck paths after a simple and explicit bijection.
Proposition 3.
Fix and integers with . For each , let be the set of strip walks of height from to and length
For , let denote the word in obtained by recording an up-step when and a down-step when . Then the map
is a bijection.
Proof.
Let . Since starts at height , ends at height , and stays between heights and , the word describes a lattice path that begins at height , ends at height , and remains inside the strip . After prepending up-steps and appending down-steps, the resulting path never goes below the -axis and never rises above height . Thus is a Dyck path of height at most .
Its total length is
so its semilength is . By construction, its first steps are up-steps and its last steps are down-steps. Hence belongs to .
Conversely, let . By definition, the first steps of are up-steps and the last steps are down-steps. Delete those initial and terminal blocks. The remaining middle segment starts at height , ends at height , and stays in the strip . Its length is
so it lies in . This construction is plainly inverse to , so is a bijection. ∎
Proof of Theorem 1.3.
Assume first that we are given integers for with
and
Then, we have
Fix . Since , Corollary 3.2 with
gives
By Proposition 3, the coefficient on the right is exactly . Therefore
Multiplying these identities proves the product formula
Now expand the product and collect the coefficient of . One obtains
This is precisely the number of -tuples such that for each and . In particular, all coefficients are nonnegative.
We now prove the three explicit families.
For part (a), let and write with and . Then
so
Since , we have , and therefore
The first factor is the case of the general criterion, while each factor is the case . Hence
and
Multiplying these series and extracting the coefficient of gives exactly the tuple count stated in part (a).
For part (b), let with , and write with and .
Assume first that , so and . Then
Again , so
This is the single-factor case of the general criterion with
Therefore, we have
which is exactly the claimed Dyck-path description.
Now assume . Then
and therefore
These factors correspond respectively to , , and . Hence, we have
Multiplying these series and extracting the coefficient of gives the tuple count stated in part (b).
For part (c), let with , and write
Then we have
so
Because , we have
If , then we may rewrite this as
These factors correspond to , to for , and to for the remaining factors. Therefore
Multiplying these series and extracting the coefficient of gives the tuple count stated in part (c). ∎
Proof of Corollary 1.4.
When , the displayed coefficient formula in each case is obtained by applying Proposition 1 with
If , the multiplicity is interpreted as zero as stated; in the subcases below this agrees with the displayed coefficient, because the same degree estimates show that the relevant coefficient vanishes when the Euclidean quotient is negative. We then rewrite the resulting quotient using the Euclidean division displayed in the statement. We also use the elementary bound , which follows immediately from the recurrence defining .
For part (a), write
Then we have
so Proposition 1 gives
If , this is exactly the quotient appearing in Theorem 1.3(a), so the stated bounded-Dyck-path interpretation follows by extracting the coefficient of . If , write with . Then
is a polynomial of degree at most
because
Hence, the coefficient of is zero.
For part (b), write
Then we have
so Proposition 1 gives
If , we factor the quotient as
and apply the general criterion in Theorem 1.3 with the pairs
This yields the stated tuple model.
Now assume . Then
If , then lies between and , and
Thus Theorem 1.3 applies with the single pair
and therefore
Extracting the coefficient of gives the stated formula. If instead , write with . Then
is a polynomial of degree at most
because
Hence the coefficient of is zero. The only remaining subcase is and , and there we make no unsigned Dyck-path claim.
Remark 4.
We emphasize that an alternative combinatorial model for the fat-hook families considered here was obtained in [3] in terms of admissible Dyck paths. That construction is different from the present one, which is designed to arise directly from the Chebyshev quotient.
The transfer-matrix and continued-fraction interpretations underlying Corollary 3.2 are classical. General forms for quotients associated with orthogonal polynomials appear, for example, in Krattenthaler [12, Theorem 10.11.1]; see also Chapter V of Viennot’s monograph [16]. Determinant-style proofs of this type are standard, while alternative combinatorial proofs using heaps are discussed in [6].
In [3], a co-major index statistic on admissible Dyck paths was shown to capture the full graded multiplicities. In contrast, for the combinatorial model introduced in this paper, the appropriate statistic that realizes the full graded multiplicities is not yet known. Determining such a statistic remains an interesting open problem.
6. Appendix: Autonomous proof production and formalization
At Axiom Math, we are developing AxiomProver, an AI system for mathematical research based on autoformalization. As a test case, we gave AxiomProver two tasks111The formalization of Theorem 1.1 was completed before the authors had finalized the content of Theorems 1.2 and 1.3, which explains the existence of two separate tasks. of autoformalizing Theorem 1.1, 1.2 and 1.3 in this paper, offering examples of AI assistance in mathematical research. This appendix is separate from the rest of the manuscript. The prose exposition of this paper, including this appendix, was written without the use of AI. AxiomProver runs Lean, an interactive theorem prover and a functional programming language built on dependent type theory, designed to provide a rigorous computational framework for validating mathematical proofs [14]. This appendix is included not only to record that formal proofs were produced, but also to clarify the division of labor between the human-written mathematics and the AI-generated formalizations. The mathematical statements supplied to AxiomProver were written in natural language by the authors. AxiomProver’s role was to convert these statements into Lean and to construct machine-checkable formal proofs. Thus, in the tasks described below, AxiomProver was not being asked to choose the main theorems or to decide the final organization of the paper; it was being asked to produce complete formal proofs of the supplied statements.
Autoformalization involves automatically and autonomously converting natural-language mathematics into machine-verifiable formal language. Lean files are created to pass type checkers, while the natural language papers aim to communicate ideas to readers. Given problems in natural or formal language, AxiomProver attempts to generate a complete formal proof. When it succeeds, the system produces two files:
-
•
problem.lean, which formalizes the problem statement if a formal problem statement is absent;
-
•
solution.lean, which represents a complete proof in a formal language.
We now describe the two tasks in more detail:
Task 1 (Theorem 1.1). We give the following files as input for AxiomProver:
-
•
task.md contains the informal statement of Theorem 1.1.
-
•
.environment specifies the version used is 4.28.0.
Task 2 (Theorem 1.2 and 1.3). We give the following files as input for AxiomProver:
- •
-
•
theorem1.lean is a verbatim copy of the output from Task 1.
- •
-
•
.environment specifies the version used is 4.28.0.
The two tasks should therefore be viewed as sequential, but not as a case in which the first task already contained the full content of the second. Task 1 concerned only the eventual-positivity dichotomy of Theorem 1.1. Its output, theorem1.lean, was supplied to Task 2 as a verified formal ingredient and as context for the notation and hypotheses already formalized. Task 2 then addressed the separate combinatorial assertions in Theorems 1.2 and 1.3. In particular, the formalization of Theorem 1.3 was not merely extracted from the formal proof of Theorem 1.1; it required AxiomProver to formalize additional objects and arguments, including the matching and bounded-walk interpretations and the quotient identities used in the unsigned Dyck-path cases.
At the time Task 2 was run, the detailed natural-language statements of Theorems 1.2 and 1.3 had already been formulated by the authors and were included in source.tex. AxiomProver was therefore not used to discover the statement of Theorem 1.3. Rather, its contribution was to produce a machine-checkable Lean formalization and proof of the already supplied statement, using the formalization of Theorem 1.1 from Task 1 as an available input.
In both cases, AxiomProver autonomously produced Lean files that were accepted by the Lean type checker. Here “autonomously” means that, after receiving the specified input files, AxiomProver generated the corresponding problem.lean and solution.lean files without further mathematical intervention in the proof script. The authors did not hand-write or repair the Lean proofs line by line. The resulting formal proofs were then used as machine-checkable certificates for the stated theorems. The relevant files are posted in the following repository222The version used is 4.28.0. Compatibility with other versions is not guaranteed due to the evolving nature of the Lean 4 compiler and its core libraries.:
At first glance, the proofs generated by AxiomProver do not resemble the narrative outlined in this paper. Converting a Lean file into a proof understandable by humans is challenging because Lean is designed as code for a type-checker, not as a reader-friendly explanation. It makes all the “obvious” bookkeeping explicit, such as rewrite steps, coercions, side conditions, and case splits, and tends to follow the most convenient lemmas and tactics for the library, rather than the most clear conceptual route. A mathematician can usually condense this significantly by relying on shared historical context, standard arguments, and informal identifications that Lean cannot assume. As a result, writing a paper from Lean files is not just about reformatting. The authors must understand the formal script, reconstruct the underlying ideas, and then translate the code into a narrative that emphasizes the key insights while safely omitting routine details.
Acknowledgments
The authors are grateful to Christian Krattenthaler and Dennis Stanton for helpful comments and references regarding quotients of orthogonal polynomials, bounded lattice path models, and positivity phenomena. Their observations helped improve the exposition and historical context of this paper.
References
- [1] R. Biswal, Graded characters, Demazure multiplicities, and Chebyshev polynomials, Ramanujan J., to appear; arXiv:2604.17437.
- [2] R. Biswal, V. Chari, L. Schneider, and S. Viswanath, Demazure flags, Chebyshev polynomials, partial and mock theta functions, J. Combin. Theory Ser. A 140 (2016), 38–75.
- [3] R. Biswal and D. Kus, A combinatorial formula for graded multiplicities in excellent filtrations, Transform. Groups 26 (2021), no. 1, 81–114.
- [4] V. Chari, L. Schneider, P. Shereen, and J. Wand, Modules with Demazure flags and character formulae, SIGMA Symmetry Integrability Geom. Methods Appl. 10 (2014), Paper No. 032, 16 pp.
- [5] V. Chari and R. Venkatesh, Demazure modules, fusion products and -systems, Comm. Math. Phys. 333 (2015), no. 2, 799–830.
- [6] J. Cigler and C. Krattenthaler, Bounded Dyck paths, bounded alternating sequences, orthogonal polynomials, and reciprocity, European J. Combin. 121 (2024), 103840.
- [7] B. Feigin and S. Loktev, On generalized Kostka polynomials and the quantum Verlinde rule, in Differential Topology, Infinite-Dimensional Lie Algebras, and Applications, Amer. Math. Soc. Transl. Ser. 2, vol. 194, Amer. Math. Soc., Providence, RI, 1999, pp. 61–79.
- [8] P. Flajolet, Combinatorial aspects of continued fractions, Discrete Math. 32 (1980), no. 2, 125–161.
- [9] C. D. Godsil, Algebraic Combinatorics, Chapman & Hall, New York, 1993.
- [10] D. Jakelić and A. Moura, Limits of multiplicities in excellent filtrations and tensor product decompositions for affine Kac–Moody algebras, Algebr. Represent. Theory 21 (2018), 239–258.
- [11] J. S. Kim and D. Stanton, Reciprocal duality and -positivity for generalized Eulerian polynomials, arXiv:2009.14475.
- [12] C. Krattenthaler, Lattice Path Enumeration, in: Handbook of Enumerative Combinatorics, M. Bóna (ed.), Discrete Mathematics and its Applications, CRC Press, Boca Raton, FL, 2015, pp. 589–678.
- [13] C. Krattenthaler, Permutations with restricted patterns and Dyck paths, Adv. Appl. Math. 27 (2001), no. 2–3, 510–530.
- [14] L. de Moura, S. Kong, J. Avigad, F. van Doorn, and J. von Raumer, The Lean theorem prover (system description), in Automated Deduction – CADE-25, Lecture Notes in Computer Science 9195, Springer, 2015, 378–388.
- [15] J. C. Mason and D. C. Handscomb, Chebyshev Polynomials, Chapman & Hall/CRC, Boca Raton, FL, 2002.
- [16] G. Viennot, Une théorie combinatoire des polynômes orthogonaux généraux, Lecture notes, Université du Québec à Montréal, 1983.
- [17] M. de Sainte-Catherine and G. Viennot, Combinatorial interpretation of integrals of products of Hermite, Laguerre and Tchebycheff polynomials, in: Orthogonal Polynomials and Applications (Bar-le-Duc, 1984), Lecture Notes in Math. 1171, Springer, Berlin, 1985, pp. 120–128.
- [18] The mathlib Community, The Lean mathematical library, in Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), ACM, 2020.
- [19] R. P. Stanley, Catalan Numbers, Cambridge University Press, New York, 2015.