A Grammatical Calculus for the Ramanujan Polynomials
Pith reviewed 2026-05-19 11:40 UTC · model grok-4.3
The pith
A labeling scheme for rooted trees with marks on improper edges yields a grammatical calculus for the Ramanujan polynomials.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We present a labeling scheme for rooted trees by employing an extra label marking improper edges. Harnessed by this grammar, we develop a grammatical calculus for the Ramanujan polynomials heavily relying on the constant properties. Moreover, we provide a grammatical formulation of a correspondence that leads to the recurrence relation due to Berndt-Evans-Wilson and Shor.
What carries the argument
Labeling scheme for rooted trees that adds an extra mark on improper edges, used to define grammatical rules based on constant properties.
If this is right
- The grammatical rules generate the Ramanujan polynomials directly from the tree labels.
- The same grammar yields the recurrence relation for the polynomials.
- The construction supplies a combinatorial interpretation for the polynomials via rooted trees.
Where Pith is reading between the lines
- The same improper-edge labeling might extend to other tree-based polynomials that lack combinatorial models.
- Constant properties could be used to derive additional identities for the Ramanujan polynomials beyond the recurrence.
- The grammar might unify several known formulas for these polynomials under one set of rewriting rules.
Load-bearing premise
The proposed labeling of improper edges together with the grammatical rules produces the Ramanujan polynomials exactly, with no extra adjustments needed.
What would settle it
Generate the first few Ramanujan polynomials from the grammatical rules and check whether their coefficients match the known values; any mismatch falsifies the claim.
Figures
read the original abstract
The Ramanujan polynomials arise in three intertwined contexts. As remarked by BerndtEvans-Wilson, no combinatorial perspective seems to be alluded to in the original definition of Ramanujan. On a different stage, Dumont-Ramamonjisoa uncovered a combinatorial structure underneath an equation also considered by Ramanujan. Around the same time, Shor came up with the same construction as a refinement of the classical formula of Cayley for trees. We present a labeling scheme for rooted trees by employing an extra label marking improper edges. Harnessed by this grammar, we develop a grammatical calculus for the Ramanujan polynomials heavily relying on the constant properties. Moreover, we provide a grammatical formulation of a correspondence that leads to the recurrence relation due to Berndt-Evans-Wilson and Shor.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces a labeling scheme for rooted trees that marks improper edges with an extra label. It then develops a grammatical calculus for the Ramanujan polynomials that relies on constant properties of this grammar, and supplies a grammatical reformulation of the correspondence that recovers the recurrence relation originally due to Berndt-Evans-Wilson and Shor.
Significance. If the construction is self-contained, it would supply the combinatorial perspective on the Ramanujan polynomials that has been noted as missing since their introduction. The tree-labeling approach unifies the enumerative viewpoint of Shor with the algebraic recurrences, and a successful grammatical calculus could yield new identities or proofs that are not obvious from the classical definitions.
major comments (1)
- [Grammatical calculus section] The central construction (labeling of improper edges together with the grammatical rules) is asserted to generate the Ramanujan polynomials via their constant properties, yet the manuscript provides no explicit small-n enumeration table or direct comparison that would confirm the output matches the classical polynomials independently of the target recurrence; without such a check the derivation risks importing the same algebraic relations it claims to explain combinatorially.
minor comments (2)
- [Abstract] The abstract refers to 'constant properties' without a brief parenthetical reminder of their definition or origin, which may hinder readers who have not yet reached the main text.
- [Labeling scheme] Notation for the extra improper-edge label is introduced but its interaction with the existing tree labels could be illustrated with a small diagram or example in the first section where the scheme is defined.
Simulated Author's Rebuttal
We thank the referee for their careful reading and constructive feedback on the manuscript. The major comment raises a valid point about verification that we address directly below.
read point-by-point responses
-
Referee: [Grammatical calculus section] The central construction (labeling of improper edges together with the grammatical rules) is asserted to generate the Ramanujan polynomials via their constant properties, yet the manuscript provides no explicit small-n enumeration table or direct comparison that would confirm the output matches the classical polynomials independently of the target recurrence; without such a check the derivation risks importing the same algebraic relations it claims to explain combinatorially.
Authors: We agree that an independent small-n check would strengthen the claim that the grammatical calculus produces the Ramanujan polynomials on its own terms. The labeling scheme and grammatical rules are defined combinatorially from the rooted-tree model with improper edges, and the constant properties are used to derive the generating function without presupposing the recurrence. Nevertheless, to make this independence explicit, the revised manuscript now includes a table that enumerates the output of the grammatical rules for n=1 to n=5 by direct application of the rules to the labeled trees and compares these values to the classical Ramanujan polynomials computed from their original definition (prior to invoking the Berndt-Evans-Wilson/Shor recurrence). This provides the requested direct comparison. revision: yes
Circularity Check
Combinatorial grammar provides independent derivation of recurrence
full rationale
The paper introduces a new labeling scheme for rooted trees that marks improper edges and uses this to construct a grammatical calculus. The derivation of the Berndt-Evans-Wilson/Shor recurrence is presented as following directly from the grammatical rules applied to the labeled trees, rather than by fitting parameters or importing the target identities by definition. No self-citation chain or ansatz is shown to be load-bearing for the central claim; the constant properties appear to be outputs of the grammar rather than presupposed inputs. The construction is self-contained against external benchmarks as a combinatorial model.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption Rooted trees equipped with an extra improper-edge label admit a grammatical calculus that generates the Ramanujan polynomials.
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The rules are summarized into the following grammar: G = {z → vz², v → uv²z, u → u²vz}.
-
IndisputableMonolith/Foundation/ArithmeticFromLogic.leanLogicNat.induction unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
We have the following constant properties: D(u⁻¹v)=0, D(ze^{u⁻¹})=0, …
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
Berndt, B.C.: Ramanujan’s Notebooks, Part I, chap. 3. Springer, New York (1985)
work page 1985
-
[2]
Berndt, B.C., Evans, R.J., Wilson, B.M.: Chapter 3 of Ramanujan’s second note- books. Adv. Math. 49, 123–169 (1983)
work page 1983
-
[3]
Chen, W.Y .C.: Context-free grammars, differential operators and formal power series. Theoret. Comput. Sci. 117, 113–129 (1993)
work page 1993
-
[4]
Chen, W.Y .C., Fu, A.M.: Context-free grammars, permutations and increasing trees. Adv. Appl. Math. 82, 58–82 (2017)
work page 2017
-
[5]
Chen, W.Y .C., Fu, A.M.: A grammatical calculus for peaks and runs of permutations. J. Algebraic Combin. 57, 1139–1162 (2023) 21
work page 2023
-
[6]
Chen, W.Y .C., Fu, A.M.: The Dumont ansatz for the Eulerian polynomials, peak polynomials and derivative polynomials. Ann. Combin. 27, 707–735 (2023)
work page 2023
-
[7]
Chen, W.Y .C., Guo, V .J.W.: A bijection behind the Ramanujan polynomials. Adv. Appl. Math. 27, 336–356 (2001)
work page 2001
-
[8]
Chen, W.Y .C., Yang, H.R.L: A context-free grammar for the Ramanujan-Shor poly- nomials. Adv. in Appl. Math. 126, 101908 (2021)
work page 2021
-
[9]
Dong, J.J.W., Du, L.R., Ji, K.Q., Zhang, D.T.X.: New refinements of Narayana poly- nomials and Motzkin polynomials. Adv. Appl. Math. 166, 102855 (2025)
work page 2025
- [10]
-
[11]
Guo, V .J.W.: A bijective proof of the Shor recurrence. European J. Combin. 70, 92–98 (2018)
work page 2018
-
[12]
Ramanujan, S.: Notebooks, vol. 1, pp. 35–36. Tata Institute of Fundamental Research, Bombay (1957)
work page 1957
-
[13]
Randazzo, L.: Arboretum for a generalization of Ramanujan polynomials. Ramanujan J. 54, 591–604 (2021)
work page 2021
-
[14]
Shor, P.W.: A new proof of Cayley’s formula for counting labelled trees. J. Combin. Theory Ser. A 71, 154–158 (1995)
work page 1995
- [15]
-
[16]
Zeng, J.: A Ramanujan sequence that refines the Cayley formula for trees. Ramanujan J. 3, 45–54 (1999) 22
work page 1999
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.