Two-Level Polynomials
- Two-Level Polynomials are structured expressions with two interacting layers, capturing both numerical values and functional dependencies.
- They appear in higher-order complexity as second-order polynomials with arctic degree calculus and in combinatorial counting with controlled degree and depth parameters.
- Their robust algebraic and compositional properties enable precise classification and analysis in areas like decision-tree complexity, representation theory, and finite-field applications.
Searching arXiv for relevant papers on "Two-Level Polynomials" across the main technical usages of the term. Searching arXiv for: "Two-Level Polynomials" second-order polynomials arXiv, counting with two-level polynomials, level-p complexity two-level majority. “Two-Level Polynomials” is not a single universally fixed notion. In current arXiv usage, the phrase denotes several distinct constructions whose common feature is a stratification by two interacting layers. In higher-order complexity theory, it is used for second-order polynomials , where is a value variable and ranges over monotone functions ; their degree is no longer a natural number but an arctic first-order polynomial in a symbolic variable (Lim et al., 2023). In combinatorics, a two-level polynomial is a family in which, for fixed , is polynomial or quasi-polynomial in , while the degree in and the leading codegree coefficients vary polynomially with 0, with a depth parameter measuring how many leading layers exhibit that behavior (Bogart et al., 7 Jul 2025). Other papers use related “two-level” language for iterated-majority decision-tree complexity, level-two Demazure-character polynomials, level-2 complete permutation polynomials, and a map-level versus level-set-level bilipschitz dichotomy (Jansson et al., 2023, Biswal et al., 2019, Rajagopal et al., 2023, Bodin, 2019).
1. Terminological scope
The phrase has several established meanings, and their separation is mathematically important. In the higher-order-complexity line, “Two-Level Polynomials” are explicitly identified with second-order polynomials: formal expressions built from a numerical variable 1, a functional variable 2, the operations 3 and 4, and application 5 (Lim et al., 2023). In the combinatorial-counting line, the same phrase denotes an infinite sequence 6 whose fixed-7 specialization is polynomial or quasi-polynomial in 8, with degree and upper codegree coefficients controlled by polynomial functions of 9 up to a prescribed depth (Bogart et al., 7 Jul 2025).
Other usages are narrower and context-specific. In Boolean decision-tree complexity, “two-level” refers to two-level iterated majority, and the relevant polynomials are expected-cost polynomials in the Bernoulli parameter 0 whose lower envelope gives level-1 complexity (Jansson et al., 2023). In representation theory, the symmetric polynomials 2 interpolate between specialized Macdonald polynomials and graded characters of level two Demazure modules (Biswal et al., 2019). In finite-field theory, a polynomial is “complete to level 2” when 3, 4, and 5 are all permutation polynomials (Rajagopal et al., 2023). In Lipschitz geometry, a “two-level” phenomenon separates bilipschitz equivalence of polynomial maps from bilipschitz equivalence of individual level sets (Bodin, 2019).
A recurrent misconception is to treat these meanings as interchangeable. They are not. The higher-order-complexity and combinatorial-counting theories each provide an explicit formal definition of a “two-level polynomial,” but they formalize different kinds of two-parameter structure.
2. Second-order polynomials in higher-order complexity
In the usage of higher-order computational complexity, a univariate second-order polynomial is a formal expression over 6 with one value variable 7 and one functional variable 8, where 9 ranges over
0
Its syntax is
1
The semantics is structural: given 2 and 3, one interprets 4 as 5, 6 and 7 as the usual operations on 8, and 9 as 0. Monotonicity and totality of 1 are assumed throughout; there is no subtraction (Lim et al., 2023).
This formalism is motivated by higher-order complexity frameworks, including the use of length functionals 2 defined by
3
as in second-order complexity for oracle computations. In that setting, 4 abstracts the role played by such monotone size functionals. The “two-level” designation refers to the coexistence of a first-order layer of values and a second-order layer of functions (Lim et al., 2023).
Syntactic equivalence is generated by commutativity and associativity of 5 and 6, distributivity, and congruence under 7, 8, and 9. This matters because the degree theory is required to be well defined modulo those identifications. A key semantic rigidity theorem states that if 0 are pairwise syntactically non-equivalent, then there exists 1 such that the values 2 are pairwise distinct. This rules out accidental collapse of syntactically distinct second-order polynomials at the semantic level (Lim et al., 2023).
3. Arctic degree, composition laws, and normal forms
The degree of a second-order polynomial is not an integer. It is an arctic first-order polynomial in one indeterminate 3, where “arctic” means an expression built using 4, 5, and 6. The inductive definition is
7
The interpretation is structural: sums become maxima, products become sums, and each application of 8 multiplies the degree by 9. In the univariate case, every arctic polynomial stabilizes to an ordinary polynomial for sufficiently large 0; this asymptotic polynomial is denoted 1 (Lim et al., 2023).
The degree transforms cleanly under two natural notions of composition. The first, written 2, replaces every occurrence of 3 in 4 by 5: 6 The second, written 7, replaces 8 in 9 by 0: 1 Their degree laws are
2
and
3
Moreover, the nesting depth of 4 in 5 equals the ordinary degree of 6 (Lim et al., 2023).
A representative example is
7
for which
8
If
9
then 0 for 1, and hence
2
while
3
This illustrates the difference between substituting into the value slot and substituting into the functional slot (Lim et al., 2023).
The same paper establishes a normal form for second-order polynomials using labelled directed acyclic graphs. Leaves are 4 and 5; internal nodes are labelled by expressions of the form 6, where 7 is a multivariate first-order polynomial in the immediate child variables; roots are labelled by first-order polynomials without 8. After merging and normalization, syntactically equivalent sets of polynomials yield isomorphic labelled DAGs, and distinct normalized nodes can be made semantically distinct by a suitable choice of 9. This gives a canonical structural representative up to isomorphism (Lim et al., 2023).
The framework extends to third-order polynomials 0, where 1 ranges over monotone operators 2. The corresponding degree 3 is an arctic second-order polynomial in 4, with rules
5
and three composition laws, one for replacing 6, one for replacing 7, and one for replacing 8 (Lim et al., 2023). This suggests a hierarchical degree calculus for higher types.
4. Two-level polynomials in combinatorial counting
In the counting literature, a two-level polynomial is an infinite sequence 9 indexed by a parameter 00, where each 01 is polynomial in 02 of degree 03, and the leading codegree coefficients are polynomial in 04 up to a depth 05. Here 06 is an eventually nonnegative numerical polynomial, 07, and 08. Writing
09
with 10 for 11, the requirement is that there exist polynomials 12 such that 13 whenever 14. The quasi-polynomial version allows periodic dependence on 15 via a period function 16 and coefficient polynomials 17 indexed by residue classes 18 (Bogart et al., 7 Jul 2025).
Depth is the central refinement. Infinite depth means that all codegree coefficients agree with polynomial functions in 19, including the zero coefficients beyond the degree. Finite depth means only the top portion of the coefficient array behaves polynomially in 20. Depth 21 is used to accommodate formal manipulations in which no coefficient agreement is required (Bogart et al., 7 Jul 2025).
The algebra of these objects is robust. If 22 and 23 are two-level quasi-polynomials of degrees 24 and 25, depths 26 and 27, and period functions 28 and 29, then their product is a two-level quasi-polynomial of degree 30, depth 31, and period 32. Scalar multiplication by a polynomial 33 preserves depth unless 34, in which case the resulting depth is 35. If the leading coefficient is constant, powers 36 normalize to monic two-level quasi-polynomials. Aligned infinite sums and composition in 37 with a fixed polynomial 38 also preserve the structure, with explicit formulas for the resulting degree, depth, and periods (Bogart et al., 7 Jul 2025).
A general schema proves two-level polynomiality by organizing a counting problem into “objects,” “cruxes,” and “foundations.” The crux captures the 39-dependence; the foundation captures the 40-dependence. Conditions S1–S9 control how crux types, foundation isomorphisms, and codegrees interact. The resulting theorem implies that a large class of combinatorial counts is two-level polynomial or two-level quasi-polynomial (Bogart et al., 7 Jul 2025).
The examples are broad. For chromatic polynomials, the path family satisfies
41
with degree 42 and
43
for 44, giving infinite depth. Cycles satisfy
45
with degree 46 and depth 47. The grid 48 has degree 49, leading coefficient 50, codegree-1 coefficient 51, and codegree-2 coefficient 52 (Bogart et al., 7 Jul 2025).
Other examples include the partition numbers 53, which are quasi-polynomial in 54 of degree 55; nonattacking rook counts
56
which form a two-level polynomial of degree 57 and infinite depth; labeled nonattacking queens, which form a two-level quasi-polynomial of infinite depth via inside-out polytopes; ordered Sidon sets, with degree 58 and leading coefficient 59; and Sheffer sequences defined by
60
for which 61 is a monic two-level polynomial of degree 62 and infinite depth (Bogart et al., 7 Jul 2025).
In this usage, “two-level” refers to a two-parameter asymptotic organization: fixed-63 polynomiality in 64, with 65-polynomial control over degree and upper codegree data. This is conceptually different from the second-order-polynomial formalism, even though both theories use a two-layer structure.
5. Other mathematically distinct uses of the term
In Boolean decision-tree complexity, the relevant object is not a family 66 or a second-order term 67, but a set of expected-cost polynomials in the Bernoulli parameter 68. For a decision tree 69 computing a Boolean function 70,
71
and for any fixed tree the recurrence
72
implies polynomial dependence on 73. The level-74 complexity is therefore the lower envelope of a finite set of polynomials. For the two-level iterated majority 75, the lower envelope collapses to a single polynomial,
76
which strictly improves the earlier conjectured polynomial of Jansson (Jansson et al., 2023).
In representation theory, the polynomials
77
form a two-parameter symmetric-function family indexed by dominant weights. They satisfy
78
and 79 is the graded character of a level two Demazure module associated to 80. For admissible pairs 81, 82 is Schur positive (Biswal et al., 2019).
In finite-field theory, “two-level” appears through completeness to level 83. A polynomial 84 is complete to level 85 if
86
are all permutation polynomials. For odd characteristic, this yields an explicit level-2 notion. The families
87
are complete to level 88 on 89, and hence are 2-complete when 90; scaled versions become maximally complete, of level 91, on fields with a middle subfield (Rajagopal et al., 2023).
In Lipschitz geometry, the family
92
exhibits a two-tier classification phenomenon: distinct parameters 93 give polynomial maps that are not right-bilipschitz equivalent at infinity, yet selected level sets can still be bilipschitz equivalent. Over 94, 95 and 96 are not right-bilipschitz equivalent at infinity when 97, but the paper constructs explicit bilipschitz maps sending 98 to 99 and 00 to 01 (Bodin, 2019).
A neighboring but separate notion is the “level of a pair of polynomials” 02 in characteristic 03, defined as the minimal 04 such that some 05 satisfies
06
This depends only on the rational function 07 and can be infinite (Boix et al., 2019). Despite the shared vocabulary of levels, this theory is not a definition of “two-level polynomials” in the sense of (Lim et al., 2023) or (Bogart et al., 7 Jul 2025).
6. Applications, limitations, and open directions
The second-order-polynomial formalism is designed for higher-order computational complexity. Its degree calculus supports modular reasoning under substitution, oracle composition, and operator nesting. The paper also notes that if oracle machines have running times bounded by second-order polynomials 08 and 09, then the degrees of the composed bounds transform according to the star and circle laws. This gives a refined classification beyond mere 10-nesting depth (Lim et al., 2023).
Its limitations are explicit. The theory assumes 11 is nondecreasing and total, and it relies on the absence of subtraction. Univariate arctic stabilization yields an exact ordinary polynomial for large 12, but in the multivariate arctic setting stabilization only holds up to constant factors. The paper sketches multivariate generalizations and further orders, including interest in monotone functions 13, but does not establish a full theory there (Lim et al., 2023).
The counting theory is intended for uniform asymptotics in two parameters. It packages a large range of graph-polynomial, partition, chess-placement, inside-out-polytope, Sidon-set, and Sheffer-sequence phenomena into a single framework. Its principal technical device is the control of codegree layers through depth. The limitations are equally specific: depth can drop under addition when degrees differ by a nonconstant amount or when leading coefficients cancel; many quasi-polynomial periods grow with codegree; some families, such as products of paths or cycles, yield only finite depth; and open problems remain for flow polynomials, anti-magic squares, uniform period bounds, and large-14 coefficient asymptotics (Bogart et al., 7 Jul 2025).
The alternative uses of “two-level” have their own boundaries. The generic library for level-15 complexity becomes too slow for deeper iterated majority, even though thinning, memoization, and exact polynomial comparison suffice for 16 (Jansson et al., 2023). The higher-level-completeness construction for permutation polynomials reaches the maximal level 17 only when the field has a middle subfield; for fields without such a subfield, the paper guarantees level 18 but does not settle level 19 (Rajagopal et al., 2023). In bilipschitz geometry, map-level moduli and fiberwise equivalence coexist, showing that topological or level-set information alone does not determine bilipschitz classification at infinity (Bodin, 2019).
Across these literatures, the phrase “Two-Level Polynomials” consistently signals a structured interaction between two regimes rather than a single algebraic species. In higher-order complexity the two levels are values and functionals; in combinatorial counting they are the 20-variable polynomial law and the 21-parameterized degree-and-coefficient law; in the other usages they refer to two-level circuit composition, level-two representation-theoretic data, level-2 completeness, or a split between map-level and fiber-level geometry. The unifying theme is not a shared definition, but a shared methodology of encoding one layer of polynomial behavior inside another.