Characterizations of polymatroidal ideals

Caius Folkerts

Abstract. A monomial ideal is polymatroidal precisely when every monomial localization has a linear resolution; among equigenerated ideals, the same property is characterized by reverse lexicographic linear quotients for every variable ordering. The localization degrees recover a polymatroid polytope, while local socle degrees detect its missing lattice points, giving a third characterization by integral closedness and local equigeneration. On the order side, every failed exchange reduces to at most four coordinates. These two reductions yield sharp degree-dependent bounds on the localizations, syzygy positions, and variable orders needed to test polymatroidality. All results hold over
an arbitrary field. AI tools, including GPT-6 Astra, GPT-5.6 Sol, and Kimi K3, assisted in developing the proofs in this paper. The primary results of this paper have been formalised in Lean 4 here.

1. Introduction

The exchange axiom defining a polymatroidal ideal constrains pairs of monomial generators, whereas a linear resolution records relations among the whole generating family. We show that the exchange axiom can be recovered either from linear resolutions of monomial localizations or from linear quotients in reverse lexicographic orders. The proofs identify the obstructions to exchange closely enough to determine which localizations, syzygy positions, and variable orders are needed, so the characterizations and their sharp testing forms come from the same reductions.

Let S=k[x1,…,xn]S=\kk [x_1,\ldots ,x_n], with E=[n]E=[n] and m=(x1,…,xn)\m =(x_1,\ldots ,x_n). Write G(I)G(I) for the minimal monomial generating set of II, and put B={a∈Nn:xa∈G(I)}\B =\{a\in \NN ^n:x^a\in G(I)\}. For a∈Nna\in \NN ^n, write |a|=∑iai|a|=\sum _i a_i and a(U)=∑i∈Uaia(U)=\sum _{i\in U}a_i; let ei\ee _i be the coordinate unit vectors. The ideal II is polymatroidal if all its minimal generators have the same degree and

(1)a,b∈B,ai>bi⟹∃j: aj<bj,a−ei+ej∈B.\begin{equation} a,b\in \B ,\quad a_i>b_i \quad \Longrightarrow \quad \exists j:\ a_j<b_j,\quad a-\ee _i+\ee _j\in \B . \label {eq:exchange} \end{equation}

For U⊆EU\subseteq E, its monomial localization

IU=I(PU)⊆SU=k[xi:i∈U],PU=(xi:i∈U),I_U=I(P_U)\subseteq S_U=\kk [x_i:i\in U], \qquad P_U=(x_i:i\in U),

is obtained by setting the variables outside UU equal to one. These localizations are transitive; (IU)V=IV(I_U)_V=I_V for V⊆UV\subseteq U. We include the zero ideal by the empty-generator convention and regard SS as generated by 11 in degree zero.

Theorem 1.1 (The two characterizations).

(A)
A monomial ideal II is polymatroidal if and only if every monomial localization IUI_U, including IE=II_E=I, has a linear resolution.
(B)
An equigenerated monomial ideal II is polymatroidal if and only if its minimal generators have linear quotients in decreasing reverse lexicographic order for every ordering of the variables.

Part (A) proves the conjecture of Bandari and Herzog [1], previously known for squarefree ideals and several other classes, including all ideals in at most four variables [3]. Part (B) proves the reverse lexicographic characterization proposed by Bandari and Rahmati-Asghar [2], whose lexicographic characterization had established the corresponding result for that order.

The localization proof distinguishes the convex geometry of the exponents from their possible missing lattice points. When every IUI_U is equigenerated, the local generator degrees form a supermodular subset function whose polymatroid ideal is exactly I―\overline I, by Theorem 2.11. A missing lattice point remains missing in a smallest localization, where it lies below a socle monomial. The degree of that socle monomial then violates one of the polymatroid inequalities unless it is larger than a linear resolution permits. This is why local linear resolutions recover exchange, and also why integral closedness together with local equigeneration gives a third characterization.

The order proof uses a different local reduction. A linear presentation connects the generators inside each coordinate box. Along such a path, the first failed exchange is already visible between two exponent vectors at ℓ1\ell _1-distance four. A suitable reverse lexicographic order detects it. The same exchange geometry shows that a polymatroidal ideal has linear quotients when its generators are listed decreasingly under any monomial term order, as proved in Theorem 3.12.

These reductions give sharp tests as well as characterizations. For the homological criterion, it suffices to inspect a specified band of localizations and syzygy positions depending on the generator degree. Ideals with one deleted generator attain the cutoffs. For the order criterion, the exact minimum number of variable orders in unrestricted degree is 3(n3)3\binom n3 for n≥4n\ge 4; for every fixed generator degree at least two, the minimum has order log⁡n\log n. Sections 2 and 3 establish the two reductions, and Sections 4 and 5 determine their sharp testing forms.

2. Local degrees, socles, and integral closure

A monomial outside II remains outside a smallest localization, where it lies below a socle monomial. The socle degree translates failure of membership into a violated subset inequality. Equigeneration will make the subset degrees supermodular, while the socle condition will ensure that their inequalities recover every generator; the resulting description then yields exchange.

2.1. Linear resolutions and socles.

Lemma 2.1 (Linear quotients imply a linear resolution). If u1,…,utu_1,\ldots ,u_t are minimal generators of one degree dd and each (u1,…,uj−1):uj(u_1,\ldots ,u_{j-1}):u_j is generated by variables, then I=(u1,…,ut)I=(u_1,\ldots ,u_t) has a dd-linear resolution.

Proof. Put Ij=(u1,…,uj)I_j=(u_1,\ldots ,u_j) and Cj=Ij−1:ujC_j=I_{j-1}:u_j. Adjoining uju_j gives

0⟶Ij−1⟶Ij⟶(S/Cj)(−d)⟶0.0\longrightarrow I_{j-1}\longrightarrow I_j \longrightarrow (S/C_j)(-d)\longrightarrow 0.

The quotient has its shifted Koszul resolution in degrees d+id+i. Induction in the long exact Tor sequence gives the same concentration for the middle ideal. □

For later use, a nonzero ideal in m≥1m\ge 1 polynomial variables has Torm(J,k)=0\Tor _m(J,\kk )=0. Indeed, a top Koszul cycle would be an element of JJ annihilated by every variable, and multiplication by a variable is injective in the polynomial ring.

Lemma 2.2 (Socle degree). Let R=k[y1,…,ym]R=\kk [y_1,\ldots ,y_m], with m≥1m\ge 1, and let 0≠J⊊R0\ne J\subsetneq R have an ee-linear resolution. If a monomial v∉Jv\notin J satisfies yiv∈Jy_i v\in J for every ii, then

(2)deg⁡v=e−1.\begin{equation} \deg v=e-1. \label {eq:socle-degree} \end{equation}

Proof. In the Koszul complex of R/JR/J, the element v¯e1∧⋯∧em\bar v\,e_1\wedge \cdots \wedge e_m is a nonzero cycle in top homological degree. There are no boundaries entering this degree, so

TormR(R/J,k)deg⁡v+m≠0.\Tor _m^R(R/J,\kk )_{\deg v+m}\ne 0.

The resolution of R/JR/J is obtained by placing RR before the resolution of JJ. Since JJ is ee-linear, the displayed Tor group can be nonzero only in total degree e+m−1e+m-1. Hence deg⁡v+m=e+m−1\deg v+m=e+m-1, as required. This argument includes m=1m=1 and uses no assumption on the characteristic. □

2.2. Local rank inequalities. For a nonzero monomial ideal, define the subset function

(3)r(U)=min{a(U):xa∈G(I)}(U⊆E).\begin{equation} r(U)=\min \{a(U):x^a\in G(I)\}\qquad (U\subseteq E). \label {eq:r} \end{equation}

It is integer-valued, nondecreasing, and satisfies r(∅)=0r(\varnothing )=0.

Lemma 2.3 (Projection preserves subset minima). For V⊆U⊆EV\subseteq U\subseteq E,

(4)min{b(V):xb∈G(IU)}=r(V).\begin{equation} \min \{b(V):x^b\in G(I_U)\}=r(V). \label {eq:projected-min} \end{equation}

In particular, if IUI_U is equigenerated, its generator degree is r(U)r(U).

Proof. Project the exponents of every generator of II to UU. The minimal generators of IUI_U are exactly the divisibility-minimal members of this projected list. Every discarded member has a retained divisor, which has no larger sum on VV; every retained member is itself in the original projected list. The minima are consequently equal. □

Lemma 2.4 (Local degrees are supermodular). If every IUI_U is equigenerated, then

(5)r(A)+r(B)≤r(A∪B)+r(A∩B)(A,B⊆E).\begin{equation} r(A)+r(B)\le r(A\cup B)+r(A\cap B) \qquad (A,B\subseteq E). \label {eq:supermod} \end{equation}

Proof. Set U=A∪BU=A\cup B and C=A∩BC=A\cap B. Choose xb∈G(IU)x^b\in G(I_U) minimizing b(C)b(C). Lemma 2.3 and equigeneration give

b(C)=r(C),b(U)=r(U),b(A)≥r(A),b(B)≥r(B).b(C)=r(C),\qquad b(U)=r(U),\qquad b(A)\ge r(A),\quad b(B)\ge r(B).

Therefore

r(A)+r(B)≤b(A)+b(B)=b(U)+b(C)=r(U)+r(C).◻r(A)+r(B)\le b(A)+b(B)=b(U)+b(C)=r(U)+r(C). \qedhere
□

Lemma 2.5 (Local socles recover the ideal). If every IUI_U is generated in degree r(U)r(U) and Soc(SU/IU)\Soc (S_U/I_U) is concentrated in degree r(U)−1r(U)-1, then

(6)I=⋂U⊆EPUr(U).\begin{equation} I=\bigcap _{U\subseteq E}P_U^{\,r(U)}. \label {eq:intersection} \end{equation}

In particular, this holds if every IUI_U has a linear resolution.

Proof. Every generator of II satisfies a(U)≥r(U)a(U)\ge r(U), so the forward containment holds. Let xa∉Ix^a\notin I. Choose an inclusion-minimal subset U⊆EU\subseteq E such that

(7)xaU∉IU.\begin{equation} x^{a_U}\notin I_U. \label {eq:legacy-3-5}\end{equation}

Such a subset exists because EE works, and it is nonempty because I∅=kI_\varnothing =\kk.

Put J=IUJ=I_U. For each i∈Ui\in U, minimality gives xaU∖{i}∈IU∖{i}x^{a_{U\setminus \{i\}}}\in I_{U\setminus \{i\}}. Thus, for some integer ki≥1k_i\ge 1,

xikixaU∈J.x_i^{k_i}x^{a_U}\in J.

Only finitely many multiples of xaUx^{a_U} can remain outside JJ; the exponent increment in coordinate ii must be less than kik_i. Choose a divisibility-maximal such multiple vv. It satisfies v∉Jv\notin J and xiv∈Jx_i v\in J for all i∈Ui\in U. The socle assumption now gives

a(U)≤deg⁡v=r(U)−1.a(U)\le \deg v=r(U)-1.

Hence xa∉PUr(U)x^a\notin P_U^{r(U)}, proving the reverse containment. For the final assertion apply Lemma 2.2 at each nonunit localization. □

Lemma 2.6 (Tight sets force exchange). Let r:2E→Nr:2^E\to \NN be any supermodular function. Suppose II is generated in degree dd and I=⋂U⊆EPUr(U)I=\bigcap _{U\subseteq E}P_U^{r(U)}. Then II is polymatroidal.

Proof. Take generator exponents a,ba,b and an index ii with ai>bia_i>b_i. Put

D={j:aj<bj}.D=\{j:a_j<b_j\}.

This set is nonempty because |a|=|b|=d|a|=|b|=d. Suppose every a−ei+eja-\ee _i+\ee _j, j∈Dj\in D, fails to be a generator. These are nonnegative vectors of degree dd, so their monomials are outside II. By (2.5), each has a violated subset inequality. Since aa satisfies every inequality, there is a set Aj⊆EA_j\subseteq E with

(8)i∈Aj,j∉Aj,a(Aj)=r(Aj).\begin{equation} i\in A_j,\qquad j\notin A_j,\qquad a(A_j)=r(A_j). \label {eq:blockers} \end{equation}

Call a set AA tight at aa if a(A)=r(A)a(A)=r(A). If A,BA,B are tight, then

r(A)+r(B)=a(A)+a(B)=a(A∪B)+a(A∩B)≥r(A∪B)+r(A∩B)≥r(A)+r(B).\begin{align*} r(A)+r(B) &=a(A)+a(B)\\ &=a(A\cup B)+a(A\cap B)\\ &\ge r(A\cup B)+r(A\cap B)\\ &\ge r(A)+r(B). \end{align*}

Thus every inequality is an equality, and tight sets are closed under both union and intersection. In particular,

C=⋂j∈DAjC=\bigcap _{j\in D}A_j

is tight, contains ii, and contains no element of DD. Consequently aℓ≥bℓa_\ell \ge b_\ell for every ℓ∈C\ell \in C, with strict inequality at ii. This gives the contradiction

r(C)=a(C)>b(C)≥r(C).r(C)=a(C)>b(C)\ge r(C).

The required exchange therefore exists. □

Proof of the converse in Theorem 1.1(A). Linear resolutions give equigeneration at every localization. Lemma 2.4 gives supermodularity, Lemma 2.5 gives the exact subset inequalities, and Lemma 2.6 proves the exchange axiom. □

Corollary 2.7 (Only the local socles are needed). A nonzero monomial ideal is polymatroidal if and only if every IUI_U is equigenerated, say in degree eUe_U, and

(9)Soc(SU/IU) is concentrated in degree eU−1\begin{equation} \Soc (S_U/I_U) \text { is concentrated in degree }e_U-1 \label {eq:legacy-3-7}\end{equation}

whenever IU≠SUI_U\ne S_U. A zero socle satisfies this condition.

Proof. The converse is precisely Lemmas 2.4–2.6. The forward implication follows from Section 2.3 and Lemma 2.2. □

2.3. Exchange and localization.

Proposition 2.8. Every monomial localization of a polymatroidal ideal is polymatroidal.

Proof. It suffices to set xn=1x_n=1. Let dd be the generator degree and let c=max{an:a∈B}c=\max \{a_n:a\in \B \}. Given a∈Ba\in \B, choose a base bb in the layer bn=cb_n=c minimizing ∑h<n(bh−ah)+\sum _{h<n}(b_h-a_h)_+. If this sum is positive, exchange from bb toward aa at a surplus coordinate h<nh<n. The receiving coordinate qq satisfies bq<aqb_q<a_q, so it cannot be nn, since bn=c≥anb_n=c\ge a_n. The new base stays in the same layer and decreases the objective by one, a contradiction. Consequently bh≤ahb_h\le a_h for every h<nh<n, and the projection of bb divides the projection of aa. Thus the minimal projected generators are exactly the projections of the bases in the layer an=ca_n=c; they all have degree d−cd-c.

Apply (1.1) to two bases in that layer. Their nn-th coordinates agree, so neither the chosen surplus coordinate nor the receiving deficit coordinate can be nn. Exchange remains in the same layer and descends to the projection. Iterating proves the assertion. □

Proposition 2.9. For every variable ordering, decreasing reverse lexicographic order gives linear quotients for a polymatroidal ideal.

Proof. Relabel so the variable order is x1>⋯>xnx_1>\cdots >x_n. Suppose xax^a precedes xbx^b, and let ii be the last differing coordinate. Then ai<bia_i<b_i. Exchange from bb toward aa at ii gives c=b−ei+ej∈Bc=b-\ee _i+\ee _j\in \B with bj<ajb_j<a_j. Necessarily j<ij<i, so xcx^c precedes xbx^b, and

xcgcd(xc,xb)=xjdividesxagcd(xa,xb).\frac {x^c}{\gcd (x^c,x^b)}=x_j \quad \text {divides}\quad \frac {x^a}{\gcd (x^a,x^b)}.

Thus every preceding colon ratio has a variable divisor supplied by an earlier generator, which is the linear-quotient condition. □

Propositions 2.8 and 2.9, together with Lemma 2.1, complete the forward implication in (A). Proposition 2.9 also proves the forward implication in (B).

Corollary 2.10 (Field independence). If every monomial localization of a fixed monomial ideal has a linear resolution over one field, then all of them have linear resolutions over every field.

Proof. Theorem 1.1(A) makes the exponent family polymatroidal. The forward proof works over every field. □

2.4. The integral closure. The local degrees determine more than the inequalities needed for the preceding proof; under local equigeneration, they recover the entire convex hull of the generators. The obstruction to polymatroidality therefore consists exactly of missing integer points, which integral closure supplies.

Theorem 2.11 (The polymatroidal integral closure). Suppose I≠0I\ne 0 and every IUI_U, including II, is equigenerated. Let dd be the degree of II, let B\B be its generator exponents, and define rr by (2.2). Then

(10)conv(B)=Q(r):={x∈R≥0n:x(E)=d, x(U)≥r(U) for all U},\begin{equation} \conv (\B )= Q(r):=\{x\in \RR _{\ge 0}^n:x(E)=d,\ x(U)\ge r(U)\text { for all }U\}, \label {eq:polytope} \end{equation}

and

(11)I―=⋂U⊆EPUr(U)\begin{equation} \cl I=\bigcap _{U\subseteq E}P_U^{r(U)} \label {eq:normalization} \end{equation}

is polymatroidal, generated in degree dd. Consequently,

(12)I is polymatroidal⟺{I is integrally closed,every IU is equigenerated.\begin{equation} I\text { is polymatroidal} \quad \Longleftrightarrow \quad \begin {cases} I\text { is integrally closed},\\ \text {every }I_U\text { is equigenerated}. \end {cases} \label {eq:integral-characterization} \end{equation}

Proof. We first realize every greedy vector of the proposed polytope as a generator exponent of II, thereby identifying the convex hull. Tight sets then lower every integral point above degree dd to that hull, identifying the whole monomial integral closure.

Fix a permutation π\pi and set Uj={π1,…,πj}U_j=\{\pi _1,\ldots ,\pi _j\}. Starting with the generator 11 of I∅I_\varnothing, successively lift a minimal generator of IUj−1I_{U_{j-1}} to a minimal generator of IUjI_{U_j}. Such a lift exists because every minimal projected generator is an actual member of the projected generating list. Equigeneration forces the exponent in the new coordinate to be r(Uj)−r(Uj−1)r(U_j)-r(U_{j-1}). At the end this gives bπ∈Bb^\pi \in \B with

(13)bπ(Uj)=r(Uj)(0≤j≤n).\begin{equation} b^\pi (U_j)=r(U_j)\quad (0\le j\le n). \label {eq:legacy-6-4}\end{equation}

Certainly conv(B)⊆Q(r)\conv (\B )\subseteq Q(r). Given any real vector ww, choose π\pi with wπ1≥⋯≥wπnw_{\pi _1}\ge \cdots \ge w_{\pi _n}. For x∈Q(r)x\in Q(r), summation by parts gives

w⋅x=wπnd+∑j=1n−1(wπj−wπj+1)x(Uj)≥wπnd+∑j=1n−1(wπj−wπj+1)r(Uj).w\cdot x =w_{\pi _n}d+ \sum _{j=1}^{n-1}(w_{\pi _j}-w_{\pi _{j+1}})x(U_j) \ge w_{\pi _n}d+ \sum _{j=1}^{n-1}(w_{\pi _j}-w_{\pi _{j+1}})r(U_j).

The vector bπb^\pi attains equality. Thus every linear functional has the same minimum on Q(r)Q(r) and on B\B. Both convex sets are compact, so separation proves (2.9).

Put J=⋂UPUr(U)J=\bigcap _U P_U^{r(U)}. If an integer exponent aa satisfies the inequalities for JJ and |a|>d|a|>d, some positive coordinate can be decreased by one while preserving every inequality. Otherwise each i∈supp(a)i\in \supp (a) has a tight set AiA_i containing it. Tight sets are closed under unions by supermodularity, so their union AA satisfies

|a|=a(A)=r(A)≤r(E)=d,|a|=a(A)=r(A)\le r(E)=d,

a contradiction. Repeated reduction yields b≤ab\le a in Q(r)Q(r) with |b|=d|b|=d.

For a monomial zz, integrality over II is equivalent to zq∈Iqz^q\in I^q for some q≥1q\ge 1, by coefficient comparison in an integral equation. Clearing denominators in rational convex combinations gives the Newton criterion

(14){a:xa∈I―}=(conv(B)+R≥0n)∩Zn.\begin{equation}\label {eq:newton-criterion} \{a:x^a\in \overline I\} =\bigl (\conv (\B )+\RR _{\ge 0}^n\bigr )\cap \ZZ ^n. \end{equation}

The reduction above and (2.9) place every monomial of JJ in this polyhedron, so J⊆I―J\subseteq \overline I. Conversely, let νU(f)\nu _U(f) be the least total UU-degree of a term of a nonzero polynomial ff. If ff is integral over II and νU(f)<r(U)\nu _U(f)<r(U), its integral equation has its leading power as the unique term of smallest UU-degree, a contradiction. Hence every term of ff belongs to every PUr(U)P_U^{r(U)}, proving I―⊆J\overline I\subseteq J. The reduction shows that JJ is generated in degree dd; Lemma 2.6 proves its exchange axiom.

For (2.11), the converse follows from (2.10). For the forward direction, Section 2.3 and Lemma 2.5 express a polymatroidal ideal as an intersection of prime powers. The same νU\nu _U argument shows that each such prime power is integrally closed, and that their intersection is integrally closed. □

The equivalence (2.11) also holds for I=0I=0, since the zero ideal is integrally closed in the domain SS and the empty generator family satisfies exchange and local equigeneration by our convention.

Corollary 2.12 (An intersection-type characterization). A nonzero monomial ideal is polymatroidal if and only if it is an intersection of powers of monomial primes and every monomial localization is equigenerated.

Proof. An intersection of powers of monomial primes is integrally closed, as in the preceding proof. The converse therefore follows from Theorem 2.11; the forward implication follows from Lemma 2.5 and Proposition 2.8. This formulation connects the local socle argument with the ideals of intersection type studied in [4]. □

3. Local exchange and linear quotients

For monomials of one fixed degree, decreasing reverse lexicographic order compares exponents at the last differing variable; the smaller exponent comes first.

For an ordered minimal monomial generating set, linear quotients are equivalent to the following witness condition

(15)a precedes b⟹∃w preceding b, ∃i,wgcd(w,b)=xiandxi∣agcd(a,b).\begin{equation} \begin {gathered} a\text { precedes }b\quad \Longrightarrow \quad \exists w\text { preceding }b,\ \exists i,\\ \frac {w}{\gcd (w,b)}=x_i \quad \text {and}\quad x_i\mid \frac {a}{\gcd (a,b)}. \end {gathered} \label {eq:witness} \end{equation}

Indeed, the ratios a/gcd(a,b)a/\gcd (a,b) generate the colon ideal.

3.1. Connected boxes and nearby exchange. Let B⊆Nn\B \subseteq \NN ^n be a nonempty finite family of vectors of one total degree dd. For C∈NnC\in \NN ^n, put BC={b∈B:b≤C}\B _C=\{b\in \B :b\le C\}. Its unit-exchange graph joins two vectors when their difference is ei−ej\ee _i-\ee _j. The first syzygies have a direct interpretation in these graphs.

Lemma 3.1 (Linear presentations and connected boxes). A degree-dd monomial ideal has a linear presentation if and only if every nonempty BC\B _C has a connected unit-exchange graph. In particular, this holds whenever its generators admit a linear-quotient order.

Proof. In multidegree CC, the free module on the minimal generators has a basis indexed by BC\B _C. The first-syzygy space is the subspace of coefficient sum zero. Degree-(d+1)(d+1) syzygies, multiplied to degree CC, are spanned by the differences across unit-exchange edges. They span the whole sum-zero subspace exactly when the graph is connected. This argument is valid over every field. The last assertion follows from Lemma 2.1. □

Connectivity does not by itself prescribe which coordinate an exchange must decrease. To recover such a prescription, follow a path until the desired decrease first becomes possible. The preceding vertex and the new neighbor then differ by just two exchanges. This reduces every failure of the exchange axiom to the following local configuration.

Lemma 3.2 (A failed exchange at distance four). Suppose every nonempty BC\B _C has a connected unit-exchange graph. If B\B is not polymatroidal, then the exchange axiom fails for two members c,u∈Bc,u\in \B with ‖u−c‖1=4\lVert u-c\rVert _1=4.

Proof. Choose a failed exchange from bb toward aa, with prescribed donor jj, and put C=max(a,b)C=\max (a,b) coordinatewise. There is no jj-decreasing neighbor of bb in BC\B _C; an allowed receiver hh would satisfy bh<Chb_h<C_h, hence ah>bha_h>b_h, and that exchange was assumed absent.

Take a unit-exchange path in BC\B _C from bb to aa. Call a vertex good if it has a jj-decreasing neighbor in this graph. A good vertex occurs because the path must eventually lower coordinate jj. Let c′c' be the first good vertex and cc its predecessor. Up to this point the path cannot lower jj or raise it above its initial value Cj=bjC_j=b_j. Thus

c′=c−ep+eq,p,q≠j,p≠q,cj=cj′=Cj.c'=c-\ee _p+\ee _q,\qquad p,q\ne j,\quad p\ne q, \qquad c_j=c'_j=C_j.

Choose a good neighbor u=c′−ej+ei∈BCu=c'-\ee _j+\ee _i\in \B _C. The case i=pi=p would give u=c−ej+equ=c-\ee _j+\ee _q, making cc good. Hence i∉{p,j}i\notin \{p,j\}, and

u−c=ei+eq−ep−eju-c=\ee _i+\ee _q-\ee _p-\ee _j

has ℓ1\ell _1-norm four, allowing i=qi=q. The only positive coordinates are i,qi,q. Either corresponding jj-decreasing exchange from cc would lie in the box and make cc good. Both are therefore absent, as required. □

Theorem 3.3 (A local exchange criterion). An equigenerated monomial ideal is polymatroidal if and only if it has a linear presentation and the exchange axiom holds for every pair of generators whose exponent vectors have ℓ1\ell _1-distance four.

Proof. The converse is Lemmas 3.1 and 3.2. A polymatroidal ideal has the exchange property and a linear resolution by Section 2.3. □

3.2. Reverse lexicographic quotients. To determine which variable orders suffice, we refine the nearby obstruction. Final pairs first force all exchanges having a unique receiver.

Lemma 3.4 (Orders with a prescribed final pair). Suppose that for every ordered pair of distinct variables i,ji,j, some linear-quotient reverse lexicographic order ends with (i,j)(i,j). Then

(16)a,b∈B,{h:ah>bh}={i},bj>aj⟹b−ej+ei∈B.\begin{equation} a,b\in \B ,\quad \{h:a_h>b_h\}=\{i\},\quad b_j>a_j \quad \Longrightarrow \quad b-\ee _j+\ee _i\in \B . \label {eq:single-deficit} \end{equation}

Proof. Use an order ending in (i,j)(i,j). The vector aa precedes bb, and its colon quotient is a positive power of xix_i. A variable witness must therefore have the form b+ei−ehb+\ee _i-\ee _h. It precedes bb only if hh comes after ii. The only possible hh is jj. □

Lemma 3.5 (A four-coordinate obstruction). Suppose every nonempty BC\B _C has a connected unit-exchange graph and (3.2) holds. If B\B is not polymatroidal, there are c,u∈Bc,u\in \B and four distinct indices p,q,i,jp,q,i,j such that

(17)u=c−ep−ej+eq+ei,\begin{equation} u=c-\ee _p-\ee _j+\ee _q+\ee _i, \label {eq:four-pattern} \end{equation}

and the following four vectors lie outside B\B

(18)c−ej+ei,c−ej+eq,c−eq+ei,c−ei+eq.\begin{equation} c-\ee _j+\ee _i,\quad c-\ee _j+\ee _q,\quad c-\ee _q+\ee _i,\quad c-\ee _i+\ee _q. \label {eq:four-absent} \end{equation}

Proof. The construction in Lemma 3.2 gives (3.3), with i=qi=q as the only possible coincidence, and with both jj-decreasing exchanges absent. If i=qi=q, the only positive coordinate of u−cu-c is ii, so (3.2) gives c−ej+ei∈Bc-\ee _j+\ee _i\in \B, a contradiction. Thus all four indices are distinct.

If v=c+ei−eqv=c+\ee _i-\ee _q belonged to B\B, the only positive coordinate of u−vu-v would be qq, while vj>ujv_j>u_j. Formula (3.2) would give

v−ej+eq=c−ej+ei∈B,v-\ee _j+\ee _q=c-\ee _j+\ee _i\in \B ,

contradicting the first absence. Interchanging i,qi,q proves the fourth absence. A vector with a negative coordinate is already absent from B\B. □

Theorem 3.6 (Sufficient order coverage). Let F\mathcal F be a nonempty family of variable orderings satisfying these two conditions

(i)
every ordered pair (i,j)(i,j) of distinct variables occurs as the final two variables of some ordering in F\mathcal F;
(ii)
for every jj and every two-element set A⊆E∖{j}A\subseteq E\setminus \{j\}, some ordering in F\mathcal F ends with the two variables of AA, in either order, followed by jj.

If every reverse lexicographic order from F\mathcal F gives linear quotients, then B\B is polymatroidal.

Proof. Lemma 3.1 gives connectivity in every upper box, and condition (i) gives (3.2). If B\B were not polymatroidal, take the configuration (3.3)–(3.4). By condition (ii), choose an available variable order ending with {i,q}\{i,q\}, then jj. The vector uu precedes cc, and its colon quotient is xixqx_i x_q. A variable witness must receive at ii or qq. Its donor cannot lie before both receivers, since that neighbor would follow cc. The only other donors are the other receiver and jj, and all those exchanges are excluded by (3.4). There is no witness, a contradiction. □

Proof of Theorem 1.1(B). The forward implication is Proposition 2.9. For the converse, all variable orderings satisfy the two coverage conditions in Theorem 3.6. □

In at most three variables, the final-pair tests alone suffice; Lemma 3.5 would otherwise require four distinct indices.

3.3. Removing the degree hypothesis. The same order criterion can recover equigeneration itself if we compare monomials at their last differing coordinate without first comparing total degrees. On a finite family this gives pure reverse lexicographic order, a total order in which a proper divisor precedes a proper multiple. Although it is not a well-ordering of all monomials, it orders the finite generating set, and universal linear quotients in these orders force that set to have one degree.

Lemma 3.7 (The first generator has minimum degree). In any linear-quotient order of a minimal monomial generating set, the first generator has minimum total degree.

Proof. Let dd be the minimum generator degree, and let bb be the first degree-dd generator in the order. If an earlier generator exists, the nonzero colon before bb contains a variable, so some earlier generator ww satisfies

w/gcd(w,b)=xi.w/\gcd (w,b)=x_i.

Thus w∣xibw\mid x_i b. If deg⁡w>d\deg w>d, then w=xibw=x_i b, contradicting minimality of the generating set. Hence deg⁡w≤d\deg w\le d, so deg⁡w=d\deg w=d, contradicting the choice of bb. Therefore bb was the first generator. □

Lemma 3.8 (Coordinate bounds preserve linear quotients). Let CC be a finite monomial antichain having linear quotients in some order, and let c∈Nnc\in \NN ^n. The subfamily

C≤c={xa∈C:a≤c coordinatewise}C_{\le c}=\{x^a\in C:a\le c\text { coordinatewise}\}

has linear quotients in the induced order.

Proof. For xa,xb∈C≤cx^a,x^b\in C_{\le c} with the former earlier, take a witness xwx^w in (3.1). Its exponents satisfy

wi=bi+1≤ai≤ci,wj≤bj≤cj(j≠i).w_i=b_i+1\le a_i\le c_i,\qquad w_j\le b_j\le c_j\quad (j\ne i).

The witness remains in C≤cC_{\le c}, so the witness condition holds in the subfamily. □

Lemma 3.9 (Pure reverse lexicographic quotients force one degree). Let CC be a finite nonempty monomial antichain. Suppose that for every variable xix_i there is a pure reverse lexicographic linear-quotient order of CC whose variable ordering puts xix_i last. Then CC is equigenerated. In particular, this holds if every variable ordering gives pure reverse lexicographic linear quotients.

Proof. Let dd be the minimum degree and suppose xb∈Cx^b\in C has degree larger than dd. Among all degree-dd generators choose xax^a minimizing

(19)δ(a,b)=∑i(ai−bi)+.\begin{equation} \delta (a,b)=\sum _i(a_i-b_i)_+. \label {eq:legacy-4-2}\end{equation}

The minimum is positive, since otherwise xa∣xbx^a\mid x^b. Put c=max(a,b)c=\max (a,b) coordinatewise and A={i:ai>bi}≠∅A=\{i:a_i>b_i\}\ne \varnothing.

If xa′∈C≤cx^{a'}\in C_{\le c} has degree dd, it has no positive excess over bb outside AA, and ai′≤aia'_i\le a_i on AA. Thus δ(a′,b)≤δ(a,b)\delta (a',b)\le \delta (a,b). Minimality forces equality, and each summand is individually bounded above by its counterpart. It follows that

(20)ai′=aifor every i∈A.\begin{equation} a'_i=a_i\qquad \text {for every }i\in A. \label {eq:legacy-4-3}\end{equation}

Choose any i∈Ai\in A and use the available variable ordering ending in xix_i. Since bi<ai=ai′b_i<a_i=a'_i, the monomial xbx^b precedes every degree-dd member of C≤cC_{\le c}. Lemma 3.8 gives linear quotients for this subfamily, yet its first member cannot have its minimum degree dd, contrary to Lemma 3.7. This contradiction proves the claim. □

Corollary 3.10. For an arbitrary nonzero monomial ideal, without an equigeneration assumption, the following are equivalent

(i)
II is polymatroidal;
(ii)
every variable ordering gives linear quotients when G(I)G(I) is ordered by pure reverse lexicographic order.

Proof. The converse follows by applying Lemma 3.9 first and then part (B). The forward implication is Proposition 2.9. □

Corollary 3.11 (Localization of universal quotients). If G(I)G(I) has linear quotients in pure reverse lexicographic order for every variable ordering, then the same is true of G(IU)G(I_U) for every U⊆EU\subseteq E.

Proof. Corollary 3.10 makes II polymatroidal. Apply Propositions 2.8 and 2.9. □

3.4. Arbitrary monomial orders.

Theorem 3.12. If II is polymatroidal, its minimal generators, listed decreasingly under any monomial term order, have linear quotients. Thus the following three conditions on an equigenerated monomial ideal are equivalent

(i)
II is polymatroidal;
(ii)
all variable-induced reverse lexicographic orders give linear quotients;
(iii)
every monomial term order gives linear quotients.

Proof. For a general term order, an arbitrary allowed exchange need not move to an earlier generator. We will match every surplus unit of aa to a deficit unit through an exchange feasible at bb. Multiplicativity of the order then forces at least one of these exchanges to move earlier.

The lower-inequality description of the generator family is already proved. Fix two bases a,ba,b and put

A={i:ai>bi},D={j:bj>aj},αi=ai−bi,βj=bj−aj.A=\{i:a_i>b_i\},\quad D=\{j:b_j>a_j\},\quad \alpha _i=a_i-b_i,\quad \beta _j=b_j-a_j.

Total demand ∑Aαi\sum _A\alpha _i equals total supply ∑Dβj\sum _D\beta _j. Join j∈Dj\in D to i∈Ai\in A if b−ej+eib-\ee _j+\ee _i is a base. There is a matching between βj\beta _j copies of every donor and αi\alpha _i copies of every receiver, using these edges.

Here is the capacitated Hall verification. Fix T⊆AT\subseteq A. If j∉N(T)j\notin N(T), for each i∈Ti\in T there is a tight set at bb containing jj and omitting ii. Their intersection is tight, contains jj, and avoids TT. Union over j∈D∖N(T)j\in D\setminus N(T) gives a tight set CC containing all those donors and avoiding TT. Use C=∅C=\varnothing when there are none. Since a(C)≥r(C)=b(C)a(C)\ge r(C)=b(C),

∑j∈D∖N(T)βj≤∑j∈D∩Cβj≤∑i∈A∩Cαi≤∑i∈A∖Tαi.\sum _{j\in D\setminus N(T)}\beta _j \le \sum _{j\in D\cap C}\beta _j \le \sum _{i\in A\cap C}\alpha _i \le \sum _{i\in A\setminus T}\alpha _i.

Subtracting from the equal total supply and demand proves

∑i∈Tαi≤∑j∈N(T)βj.\sum _{i\in T}\alpha _i\le \sum _{j\in N(T)}\beta _j.

For T=∅T=\varnothing the same inequality is immediate. Ordinary Hall matching after cloning the vertices proves the claim.

Now suppose xa>xbx^a>x^b in the chosen monomial term order. The matching pairs all factors of xa/gcd(xa,xb)x^a/\gcd (x^a,x^b) with all factors of xb/gcd(xa,xb)x^b/\gcd (x^a,x^b), and each pair i,ji,j gives a feasible neighbor b−ej+eib-\ee _j+\ee _i. If every matched xi<xjx_i<x_j, multiplicativity, followed by cancellation of the gcd, would give xa<xbx^a<x^b. Thus some pair has xi>xjx_i>x_j. For this pair

w=xb−ej+ei>xb,w/gcd(w,xb)=xi∣xa/gcd(xa,xb).w=x^{b-\ee _j+\ee _i}>x^b,\qquad w/\gcd (w,x^b)=x_i\mid x^a/\gcd (x^a,x^b).

This is a linear-quotient witness. The equivalence follows from Theorem 1.1(B), since the reverse lexicographic order on an equigenerated family is the restriction of graded reverse lexicographic term order. □

Remark 3.13. The matching is one-sided; all its exchanges are feasible at the original base bb. It asserts neither simultaneous exchange of all matched units nor a symmetric base-ordering property.

4. Sharp homological tests

The local rank geometry identifies the missing generators. A minimal coordinate obstruction bounds the syzygy position where they are detected; rank increments then bound the localizations that must be examined. The sharp examples will reverse this procedure; deleting one generator creates a controlled socle class, and coordinate caps arrange for it to survive at just one chosen localization.

4.1. Minimal local obstructions. For a graded module, write regM=max{j−i:Tori(M,k)j≠0}\reg M=\max \{j-i:\Tor _i(M,\kk )_j\ne 0\}. If a nonzero finite-length module has highest nonzero degree tt, its regularity is tt; its Koszul groups in homological degree ii have total degrees at most t+it+i, while a nonzero element of degree tt gives a top Koszul class.

Proposition 4.1 (A minimal localized obstruction). Suppose I≠0I\ne 0 is generated in degree dd and every proper monomial localization is polymatroidal. Put J=I―J=\cl I. Then JJ is polymatroidal, J/IJ/I has finite length, and, if I≠JI\ne J, then

(21)t:=max{deg⁡u:u is a monomial in J∖I}satisfiesregI=t+1>d.\begin{equation} t:=\max \{\deg u:u\text { is a monomial in }J\setminus I\} \quad \text {satisfies}\quad \reg I=t+1>d. \label {eq:legacy-6-6}\end{equation}

In particular,

(22)min{q≥0:mqI is polymatroidal}=regI−d.\begin{equation} \min \{q\ge 0:\m ^q I\text { is polymatroidal}\}=\reg I-d. \label {eq:legacy-6-7}\end{equation}

Proof. Every localization is equigenerated, so Theorem 2.11 applies. Monomial localization commutes with finite intersections, since coordinate projection commutes with least common multiples. In the expression J=⋂WPWr(W)J=\bigcap _WP_W^{r(W)}, localization to UU discards exactly the nontrivial factors with W⊈UW\nsubseteq U. The remaining inequalities describe IUI_U, by its polymatroidality and Lemma 2.3. Thus JU=IUJ_U=I_U for every proper UU. In particular, (J/I)xi=0(J/I)_{x_i}=0 for each variable. Since J/IJ/I is finitely generated, a power of each variable annihilates it, and it has finite length.

Assume I≠JI\ne J. Both ideals are generated in degree dd, so t≥dt\ge d. The sequence 0→I→J→J/I→00\to I\to J\to J/I\to 0, together with regJ=d\reg J=d and reg(J/I)=t\reg (J/I)=t, gives regI≤t+1\reg I\le t+1. A monomial v∈J∖Iv\in J\setminus I of degree tt has xiv∈Ix_i v\in I for every ii. Its top Koszul class gives

Torn−1S(I,k)t+n≠0,\Tor _{n-1}^S(I,\kk )_{t+n}\ne 0,

so regI≥(t+n)−(n−1)=t+1\reg I\ge (t+n)-(n-1)=t+1.

For completeness, mqJ=J≥d+q\m ^qJ=J_{\ge d+q} is polymatroidal; in its lower inequalities increase r(E)r(E) from dd to d+qd+q and leave every proper-set value unchanged. Supermodularity is preserved, and the integer-reduction and tight-exchange proofs apply unchanged. The Newton polyhedra of II and JJ are equal, and Newton polyhedra add under products. Hence mqI―=mqJ\cl {\m ^qI}=\m ^qJ. If mqI\m ^qI is polymatroidal, integral closedness forces equality with mqJ\m ^qJ; the converse is immediate. Since I,JI,J are generated in degree dd, this equality holds exactly when d+q>td+q>t. Its least possible qq is t−d+1=regI−dt-d+1=\reg I-d. If I=JI=J, both sides are zero. □

4.2. How many syzygies are needed.

Theorem 4.2 (Degree-bounded localization test). A nonzero monomial ideal II is polymatroidal if and only if every IUI_U is equigenerated and, writing its positive generator degree as eUe_U, one has

(23)ToriSU(IU,k)j=0for 0≤i≤eU−1,j≠eU+i.\begin{equation} \Tor _i^{S_U}(I_U,\kk )_j=0 \quad \text {for }0\le i\le e_U-1,\quad j\ne e_U+i. \label {eq:legacy-7-1}\end{equation}

Units require no check. Equivalently, at IUI_U it is enough to check positions through

(24)min{eU−1, |U|−1}.\begin{equation} \min \{e_U-1,\ |U|-1\}. \label {eq:legacy-7-2}\end{equation}

Proof. Only the converse needs proof. For A⊆EA\subseteq E, let I|A=I∩SAI|_A=I\cap S_A, the ideal obtained by setting variables outside AA equal to zero. Its minimal generators are exactly those members of G(I)G(I) supported on AA.

A mixed coordinate minor is obtained by setting disjoint sets of variables equal to zero and one. Local equigeneration is inherited by every nonzero such minor. Indeed, for K=I|AK=I|_A and U⊆AU\subseteq A, put V=U∪(E∖A)V=U\cup (E\setminus A). The substitutions are disjoint, so

(25)KU=(IV)|U.\begin{equation} K_U=(I_V)|_U. \label {eq:legacy-7-3}\end{equation}

The right side retains some minimal generators of the equigenerated ideal IVI_V. If nonzero, it has exactly the same generator degree.

Coordinate restriction also preserves multigraded Betti numbers in degrees supported on the retained variables

(26)ToriSA(I|A,k)α≅ToriS(I,k)α(suppα⊆A).\begin{equation} \Tor _i^{S_A}(I|_A,\kk )_\alpha \cong \Tor _i^S(I,\kk )_\alpha \qquad (\supp \alpha \subseteq A). \label {eq:legacy-7-4}\end{equation}

This is immediate from the multigraded Koszul complex. A wedge containing an omitted variable would require a negative coefficient exponent, so its multigraded component is zero.

Localization removes variables that are irrelevant to a failure, while restriction removes variables outside the support of a missing generator. A minor minimal under both operations must therefore have a missing generator of full support. Its degree will bound the number of remaining variables, and hence the position of the nonlinear socle class.

Suppose II is not polymatroidal. Among its nonzero, non-polymatroidal mixed coordinate minors, choose LL with the fewest remaining variables, say y1,…,ymy_1,\ldots ,y_m. Let ee be its generator degree. By Theorem 2.11, H=L―H=\overline L is polymatroidal and generated in degree ee. Since LL is not, choose ya∈G(H)∖Ly^a\in G(H)\setminus L.

This exponent aa must have full support. By the Newton criterion (2.13), it lies in the convex hull of the generator exponents of LL; their common total degree ee leaves no nonzero summand from the nonnegative orthant. If A=supp(a)⊊[m]A=\supp (a)\subsetneq [m], every generator occurring with positive weight in a convex representation of aa is also supported on AA. Consequently K=L|AK=L|_A is nonzero and ya∈K―y^a\in \overline K. Minimality makes KK polymatroidal and hence integrally closed, so ya∈K⊆Ly^a\in K\subseteq L, a contradiction. Thus

(27)e=|a|≥m.\begin{equation} e=|a|\ge m. \label {eq:legacy-7-5}\end{equation}

Every proper localization of LL is polymatroidal and therefore satisfies the socle condition in Corollary 2.7. Since LL is not polymatroidal, that corollary gives a monomial socle element vv of k[y1,…,ym]/L\kk [y_1,\ldots ,y_m]/L of degree t≠e−1t\ne e-1. A monomial can be chosen because the socle is multigraded and monomial classes form a basis of the quotient. Every yivy_iv lies in the degree-ee ideal LL, so t+1≥et+1\ge e and hence t≥et\ge e. As in Lemma 2.2, its top Koszul class gives

Torm−1(L,k)t+m≠0.\Tor _{m-1}(L,\kk )_{t+m}\ne 0.

Write LL as a coordinate restriction of an original localization IVI_V. Both have generator degree ee. By (4.6), the same nonlinear class occurs in IVI_V. Its homological index satisfies m−1≤e−1m-1\le e-1, contradicting (4.3). This proves the converse. The forward implication follows from Theorem 1.1(A). The next proposition shows that the degree cutoff cannot be lowered uniformly. □

Proposition 4.3 (The nonlinear strand of a deleted generator). Let a∈Nna\in \NN ^n have |a|=d|a|=d and support AA of size ℓ≥2\ell \ge 2, and set

I=(xb:|b|=d, b≠a).I=(x^b:|b|=d,\ b\ne a).

Every proper monomial localization is the unit ideal. The only possible nonlinear entries are

(28)βp,d+p+1(I)=(n−ℓp+1−ℓ),\begin{equation}\label {eq:deleted-strand} \beta _{p,d+p+1}(I)=\binom {n-\ell }{p+1-\ell }, \end{equation}

where a binomial coefficient outside its usual range is zero. More precisely, the nonlinear multigraded entries are one in degrees a+1Fa+\mathbf 1_F with F⊇AF\supseteq A and |F|=p+1|F|=p+1, and zero otherwise. In particular, the first nonlinear position is ℓ−1\ell -1. When aa has full support, the sole nonlinear entry is βn−1,d+n(I)=1\beta _{n-1,d+n}(I)=1.

Proof. All pure powers are retained, so every proper localization is the unit ideal. Put J=mdJ=\mathfrak m^d. For every ii, choose j∈A∖{i}j\in A\setminus \{i\}; the retained monomial xaxi/xjx^ax_i/x_j divides xixax_ix^a. Hence Q=J/I≅k(−d)Q=J/I\cong \kk (-d). Both JJ and QQ have dd-linear resolutions. The long exact Tor sequence leaves only degrees d+pd+p and d+p+1d+p+1 in Torp(I,k)\Tor _p(I,\kk ), and identifies the latter with the cokernel of

Torp+1(J,k)⟶Torp+1(Q,k).\Tor _{p+1}(J,\kk )\longrightarrow \Tor _{p+1}(Q,\kk ).

Consider a target basis class xa―eF\overline {x^a}e_F. If A⊈FA\nsubseteq F, choose j∈A∖Fj\in A\setminus F. Compute the boundary

∂[(xa/xj)eF∪{j}]\partial \bigl [(x^a/x_j)e_{F\cup \{j\}}\bigr ]

in the ambient polynomial Koszul complex. All its coefficients have degree dd, so it is a cycle in K|F|(J)K_{|F|}(J), although its primitive need not belong to K(J)K(J). It maps to the chosen class up to sign; every other coefficient is a retained generator. This lifts every target class whose exterior support misses a variable of xax^a. The remaining classes cannot lift; if A⊆FA\subseteq F, the map is zero in that fine degree. Indeed every ambient polynomial Koszul cycle of positive internal degree is a boundary. A boundary could have a nonzero coefficient xax^a at eFe_F only from a term (xa/xj)eF∪{j}(x^a/x_j)e_{F\cup \{j\}} with j∉Fj\notin F and aj>0a_j>0, which is impossible. Thus the cokernel has precisely the asserted basis. Counting the sets FF gives (4.8). □

Taking n=d=en=d=e and xa=x1⋯xex^a=x_1\cdots x_e shows that the cutoff e−1e-1 in Theorem 4.2 cannot be lowered to e−2e-2.

4.3. Which localizations are needed. We next bound how many variables may be omitted from a localization that needs to be tested. If a bad localization is maximal, restoring any omitted variable raises its minimum generator degree by at least one. Supermodularity makes these increases add, bounding the number n−|U|n-|U| of omitted variables in terms of the original degree.

Lemma 4.4 (The degree cost of a maximal obstruction). Let II be generated in degree dd, and let UU be inclusion-maximal among the sets whose localization is not equigenerated, or among those whose localization does not have a linear resolution. Then

|U|≥2,d≥r(U)+n−|U|≥1+n−|U|.|U|\ge 2,\qquad d\ge r(U)+n-|U|\ge 1+n-|U|.

In the second case, if all localizations are equigenerated, then r(U)≥2r(U)\ge 2.

Proof. The unit ideal and nonzero ideals in at most one variable satisfy both properties. Every strict superset of UU is equigenerated. For t∉Ut\notin U, equality r(U∪{t})=r(U)r(U\cup \{t\})=r(U) would force every generator of IU∪{t}I_{U\cup \{t\}} to have zero tt-exponent; its projection cannot have degree below r(U)r(U). This would make it a polynomial extension of IUI_U, contradicting maximality. Each such rank increment is therefore at least one.

The supermodularity proof in Lemma 2.4 uses equigeneration only at the union. It consequently applies throughout [U,E][U,E]. Successively adjoining the omitted variables gives d≥r(U)+n−|U|d\ge r(U)+n-|U|. A nonunit localization has r(U)≥1r(U)\ge 1; an equigenerated ideal of degree one is generated by variables, so a nonlinear one has degree at least two. □

Theorem 4.5 (Degree-dependent localization coverage). Let n≥2n\ge 2 and let II be generated in degree d≥2d\ge 2. It is polymatroidal if and only if IUI_U has a linear resolution for every UU with

(29)|U|≥2,n−|U|≤d−1.\begin{equation} |U|\ge 2,\qquad n-|U|\le d-1. \label {eq:localization-tests} \end{equation}

Every prime in this collection is individually necessary for a fixed family of localization tests valid for all degree-dd ideals. Thus the exact minimum number of tests is

(30)∑k=0min(d−1,n−2)(nk).\begin{equation} \sum _{k=0}^{\min (d-1,n-2)}\binom nk. \label {eq:legacy-11-2}\end{equation}

If all monomial localizations are assumed equigenerated in advance, the sharp bound is instead n−|U|≤d−2n-|U|\le d-2, with minimum number ∑k=0min(d−2,n−2)(nk)\sum _{k=0}^{\min (d-2,n-2)}\binom nk.

Sufficiency. An inclusion-maximal localization without a linear resolution must lie in the stated range by Lemma 4.4. Thus the tests force all localizations to have linear resolutions, and Theorem 1.1(A) applies. Under prior local equigeneration the same lemma improves the codimension bound to d−2d-2. The constructions below prove necessity and the counts. □

Lemma 4.6 (A deleted bounded-Veronese generator). Let the variables be partitioned into UU and WW. Let qq be a positive-degree monomial in UU, let h=q∏w∈Wxwh=q\prod _{w\in W}x_w, and put e=deg⁡he=\deg h. Take all degree-ee monomials with exponents at most one on WW, except hh. The resulting ideal has linear quotients in every decreasing reverse lexicographic order whose last variable belongs to WW.

For W′⊆WW'\subseteq W with |supp(q)|+|W′|≥2|\supp (q)|+|W'|\ge 2, its localization to U∪W′U\cup W' is generated by all degree-deg⁡q+|W′|\deg q+|W'| monomials capped by one on W′W', except q∏w∈W′xwq\prod _{w\in W'}x_w.

Proof. Fix an order whose last variable ww lies in WW. The full bounded family permits every surplus-to-deficit exchange. For an earlier target and a current base bb, take the usual witness bxi/xpb x_i/x_p, where pp is their last differing coordinate. If it is retained, there is nothing to prove. Otherwise it equals the deleted hh. The donor pp cannot be ww, since bb would then have xwx_w-exponent two, violating the cap. The receiver ii cannot be ww, since the usual witness precedes bb. Thus bb has xwx_w-exponent one. The alternative generator

bxi/xw=hxp/xwb x_i/x_w=h x_p/x_w

satisfies every coordinate cap, differs from hh because p≠wp\ne w, and precedes bb. Its colon quotient is xix_i, which divides the target’s colon quotient.

For the projection assertion, put h′=q∏w∈W′xwh'=q\prod _{w\in W'}x_w. The caps on the omitted variables give the minimum projected degree deg⁡q+|W′|\deg q+|W'|. Every retained monomial of that degree lifts by adjoining all omitted variables, whereas h′h' has only the deleted lift hh. A higher-degree projection has a divisor of the minimum degree; only h′h' could be missing. Such a projection then has an extra factor xtx_t with t∈Ut\in U, since h′h' already saturates all surviving caps. Choose s∈supp(h′)∖{t}s\in \supp (h')\setminus \{t\}, possible by the support hypothesis. The retained monomial h′xt/xsh'x_t/x_s is another divisor of the minimum degree. Thus no higher-degree projection is minimal. □

Proposition 4.7 (Isolating a single bad localization). Fix U⊆EU\subseteq E with |U|≥2|U|\ge 2, and let V=E∖UV=E\setminus U, k=|V|k=|V|.

(i)
There is a degree-k+2k+2 monomial ideal for which every localization is equigenerated and IUI_U is the only localization without a linear resolution.
(ii)
If k≥1k\ge 1, there is such a unique bad localization for an ideal of degree k+1k+1, with IUI_U not equigenerated.

These degrees are the smallest possible under the respective conditions. For U=EU=E, the smallest equigenerated example has degree two.

Proof. For (i), choose distinct a,b∈Ua,b\in U, put h=xaxb∏v∈Vxvh=x_a x_b\prod _{v\in V}x_v, and let II consist of all degree-k+2k+2 monomials with exponents at most one on VV, except hh. All pure powers of the variables in UU remain, so a localization omitting any variable of UU is the unit ideal.

At PU∪WP_{U\cup W}, for W⊆VW\subseteq V, the minimal generators are exactly the degree-2+|W|2+|W| monomials capped by one on WW, except hW=xaxb∏w∈Wxwh_W=x_a x_b\prod _{w\in W}x_w, by the projection assertion of Lemma 4.6.

When W≠∅W\ne \varnothing, Lemma 4.6 gives a linear resolution. When W=∅W=\varnothing, the localization is mU2\m _U^2 with xaxbx_a x_b removed. That monomial is a socle element of degree two, whereas a linear resolution would force degree one. This proves (i).

For (ii), fix a∈Ua\in U, and delete h=xa∏v∈Vxvh=x_a\prod _{v\in V}x_v from the degree-k+1k+1 family with the same caps. Again a localization omitting a UU-variable is the unit ideal. If ∅≠W⊆V\varnothing \ne W\subseteq V, its minimal generators are the degree-1+|W|1+|W| capped family with hW=xa∏Wxwh_W=x_a\prod _Wx_w removed, since hWh_W still has support at least two. Lemma 4.6 gives both this description and linear quotients. The remaining localization is exactly

(31)IU=(xt:t∈U∖{a})+(xa2),\begin{equation} I_U=(x_t:t\in U\setminus \{a\})+(x_a^2), \label {eq:legacy-11-5}\end{equation}

which is not equigenerated. The variables in this list lift by multiplying ∏Vxv\prod _Vx_v, and xa2x_a^2 lifts by omitting any one VV-variable; xax_a itself would lift only to the deleted generator.

The lower degree bounds follow from Lemma 4.4, applied to the unique bad localization. When all locals are equigenerated it gives d≥k+2d\ge k+2; otherwise, for proper UU, it gives d≥k+1d\ge k+1. An equigenerated ideal of degree zero or one is polymatroidal, proving the remaining maximal-prime claim. □

To finish the necessity assertion in Theorem 4.5, take the corresponding isolator and multiply it by a monomial to raise its degree to dd. Such multiplication merely shifts each localized resolution and each exchange vector; it preserves exactly which localizations are linear. Thus omitting any prime in the claimed test collection admits a counterexample passing all remaining tests. Counting subsets gives the stated sums.

Corollary 4.8 (Unbounded degree). For arbitrary generator degrees, every coordinate prime generated by at least two variables is individually necessary in a fixed localization-testing characterization. The exact number of necessary tests is 2n−n−12^n-n-1.

4.4. The joint homological bound. The degree bounds in Sections 4.2 and 4.3 can be imposed simultaneously. Write k(U)=n−|U|k(U)=n-|U|.

Theorem 4.9 (Triangular homological characterization). Let I≠0I\ne 0 be generated in degree d≥2d\ge 2. Then II is polymatroidal if and only if, for every U⊆EU\subseteq E with |U|≥2|U|\ge 2 and k=k(U)≤d−1k=k(U)\le d-1, the following conditions hold

(i)
IUI_U is equigenerated, say in degree eUe_U;
(ii)
if eU>0e_U>0, its resolution is linear through position
(32)min{eU−1, d−1−k, |U|−1}.\begin{equation} \min \{e_U-1,\ d-1-k,\ |U|-1\}. \label {eq:triangular-depth} \end{equation}

Equigeneration is the test in homological position zero. In particular, at k=d−1k=d-1 no positive syzygy position needs to be checked. The assertion holds over every field.

Proof. Condition (i) forces every localization to be equigenerated; otherwise Lemma 4.4 places a maximal nonpure localization among the tested sets. Thus rr is globally supermodular.

If II were not polymatroidal, the obstruction constructed in the proof of Theorem 4.2 would give a localization IV0I_{V_0}, of degree e>0e>0, with a nonlinear Betti number in some position 1≤i≤e−11\le i\le e-1. Choose V⊇V0V\supseteq V_0 inclusion-maximal subject to r(V)=r(V0)=er(V)=r(V_0)=e. Every degree-ee generator of IVI_V projects into the degree-ee ideal IV0I_{V_0}, so its exponents on V∖V0V\setminus V_0 vanish. Therefore

IV=IV0SV.I_V=I_{V_0}S_V.

The same nonlinear Betti number occurs in IVI_V. Maximality gives r(V∪{t})≥e+1r(V\cup \{t\})\ge e+1 for each t∉Vt\notin V. Supermodularity then yields

d≥e+k(V),i+k(V)≤e−1+k(V)≤d−1.d\ge e+k(V),\qquad i+k(V)\le e-1+k(V)\le d-1.

Since also i≤e−1i\le e-1 and i≤|V|−1i\le |V|-1, this contradicts the required test (4.12). The forward implication is Theorem 1.1(A). □

Proposition 4.10 (Sharpness of the initial-segment depths). Fix U⊆EU\subseteq E, |U|=m≥2|U|=m\ge 2, and put k=n−mk=n-m. If k≤d−2k\le d-2, there is a degree-dd ideal whose only localization without a linear resolution is IUI_U, for which every localization is equigenerated, and whose first nonlinear syzygy at UU has position

(33)min{d−1−k, m−1}.\begin{equation} \min \{d-1-k,\ m-1\}. \label {eq:legacy-12-2}\end{equation}

At every outer-band set k=d−1k=d-1, the generation test is individually necessary as well.

Proof. Suppose first d≤nd\le n. Put e=d−ke=d-k, choose A⊆UA\subseteq U with |A|=e|A|=e, and let T=E∖UT=E\setminus U. From all degree-dd monomials capped by one on TT, delete

h=∏a∈Axa∏t∈Txt.h=\prod _{a\in A}x_a\prod _{t\in T}x_t.

Every localization omitting a variable of UU is the unit ideal. At PU∪WP_{U\cup W}, W⊆TW\subseteq T, the minimal generators are the degree-e+|W|e+|W| family capped by one on WW, with hW=∏Axa∏Wxwh_W=\prod _Ax_a\prod _Wx_w deleted. This is the projection assertion of Lemma 4.6, whose support hypothesis holds because e≥2e\ge 2. For W≠∅W\ne \varnothing, the same lemma gives linear quotients.

At UU, the ideal is mUe\mathfrak m_U^e with q=∏Axaq=\prod _Ax_a removed. Its deleted monomial has support size ee, so Proposition 4.3 gives first nonlinear position e−1=d−1−ke-1=d-1-k directly.

If d>nd>n, use this construction in degree nn, with A=UA=U, and multiply by a monomial of degree d−nd-n. Such multiplication preserves all localized linearity properties and their homological positions. The first nonlinear position is m−1m-1, as required. Finally, the mixed-degree isolator in Proposition 4.7(ii), with k=d−1k=d-1, proves the outer-band assertion. □

The sharpness statement concerns predetermined initial segments depending only on n,d,kn,d,k. It does not assert that every intermediate Betti position is indispensable in an arbitrary selection of homological tests; for example, Corollary 2.7 uses a different selection.

5. Sharp families of variable orders

The four-coordinate obstruction also determines the variable orders that a fixed testing family must contain. A prescribed final pair forces single-receiver exchanges, while a prescribed final triple rules out the remaining two-receiver failure. To show that neither pattern can be omitted, we construct ideals whose failing orders are exactly those realizing that pattern. The family here is chosen before the ideal and must work in every generator degree; the fixed-degree version will require only patterns on a bounded number of variables.

Lemma 5.1 (An exact final-pair obstruction). Let n≥3n\ge3, fix distinct i,ji,j, and put V=E∖{i,j}V=E\setminus \{i,j\}. Take all degree-n−1n-1 monomials with exponents at most one on VV, and remove the generator h=xi∏v∈Vxvh=x_i\prod _{v\in V}x_v. The resulting ideal is not polymatroidal. Its reverse lexicographic order fails to have linear quotients exactly for the variable orderings ending in (i,j)(i,j).

Proof. Before removing hh, every surplus-to-deficit unit exchange respects the coordinate bounds. Thus a failed prescribed exchange after removal must have a single receiver qq, and the current base must be h+ep−eqh+\ee _p-\ee _q. Since every VV-coordinate of hh is at its upper bound, the donor pp is ii or jj; since hj=0h_j=0, the receiver qq is ii or an element of VV. If q∈Vq\in V, a target with qq as its only positive deficit can increase it by only one, so equality of degrees forces the target to be hh, which is absent. The sole remaining failure has current base

b=xj∏v∈Vxv,b=x_j\prod _{v\in V}x_v,

donor jj, and receiver ii. It occurs, for example, against a=xi2∏v∈V∖{v0}xva=x_i^2\prod _{v\in V\setminus \{v_0\}}x_v, where v0∈Vv_0\in V.

Every pair outside this exceptional case has the ordinary last-differing-coordinate colon witness. At bb, the only variable witnesses for an exceptional target are bxi/xvb x_i/x_v, v∈Vv\in V. Such a witness precedes bb exactly when ii comes before vv. Hence all these witnesses are unavailable exactly when all VV come before ii. Under that condition, an exceptional target precedes bb exactly when jj comes after ii. This is precisely the claimed final pair. □

Lemma 5.2 (An exact final-triple obstruction). Let n≥4n\ge 4, fix a two-element set A={a1,a2}A=\{a_1,a_2\} and z∉Az\notin A, and put C=E∖(A∪{z})C=E\setminus (A\cup \{z\}). Take every degree-n−2n-2 monomial such that

(i)
each exponent on CC is at most one; and
(ii)
either the exponent of zz is positive, or both exponents on AA are positive.

The resulting ideal is not polymatroidal. Its reverse lexicographic order fails to have linear quotients exactly when the final three variables are AA, in either order, then zz.

Proof. The coordinate bounds alone preserve every surplus-to-deficit exchange. Examine when condition (ii) can fail after a move. If the current zz-exponent is at least two, or is one and the donor is not zz, it persists. If that exponent is one and the donor is zz, a target with zero zz-exponent has both AA-coordinates positive. When the current base already has both positive, any exchange works; when it has exactly one positive, exchange into the other works. When it has neither, the degree and coordinate bounds force the unique current base

b=xz∏c∈Cxc.b=x_z\prod _{c\in C}x_c.

Finally, if the current zz-exponent is zero, the only move that could destroy condition (ii) decreases an AA-coordinate of exponent one. The target then has that coordinate zero and therefore has positive zz-exponent; exchanging into zz works. Thus the only failed prescribed exchanges are at bb, with donor zz, against targets of positive-deficit set AA. Such a target exists; xa1xa2∏c∈C∖{c0}xcx_{a_1}x_{a_2}\prod _{c\in C\setminus \{c_0\}}x_c, for c0∈Cc_0\in C.

At bb, the possible variable witnesses for such a target are exactly bxar/xcb x_{a_r}/x_c, for c∈Cc\in C and r=1,2r=1,2. They all follow bb exactly when every CC-variable comes before both AA-variables. Under that condition a target precedes bb exactly when zz comes after both variables of AA. All other pairs have the ordinary exchange witness. This proves the exact failure signature. □

Theorem 5.3 (Exact coverage and minimum number of tests). For n≥4n\ge 4, a fixed family of variable orders characterizes polymatroidality among all equigenerated monomial ideals if and only if it satisfies both coverage conditions in Theorem 3.6. The minimum possible size is

(34)N(1)=0,N(2)=1,N(3)=6,N(n)=n(n−12)=3(n3)(n≥4).\begin{equation} \begin {gathered} N(1)=0,\qquad N(2)=1,\qquad N(3)=6,\\ N(n)=n\binom {n-1}{2}=3\binom n3\qquad (n\ge 4). \end {gathered} \label {eq:legacy-10-1}\end{equation}

Empty families are allowed in defining the minimum.

Proof. The two isolator lemmas show that each coverage condition is necessary, and Theorem 3.6 proves sufficiency. Each permutation supplies exactly one pointed final triple, so the triple isolators give the lower bound n(n−12)n\binom {n-1}{2}.

For the matching upper bound, fix the final variable jj. Orient the complete graph on E∖{j}E\setminus \{j\} so that every vertex has an incoming edge; orient a Hamilton cycle cyclically and orient all remaining edges arbitrarily. For every directed edge a→ba\to b, choose one order ending in (a,b,j)(a,b,j), with all other variables earlier. There is exactly one order per pointed final triple, and every final pair (b,j)(b,j) occurs because bb has an incoming edge. Doing this for all jj attains the bound.

In one variable every nonzero equigenerated ideal is principal. In two variables, one linear-quotient order makes the unit-exchange graph connected; the degree-dd monomials form a line, so a connected subset is an interval and is polymatroidal. Zero tests fail, as (x12,x22)(x_1^2,x_2^2) shows. For three variables all six orders suffice, and each of the six final-pair isolators fails exactly one of them, so all six are necessary. □

5.1. Coverage in a fixed degree. In degree dd, a current generator has at most d−1d-1 positive donor coordinates besides a prescribed donor. Their relative positions are all that the colon-witness argument needs to control. Thus the final triples of the unrestricted test can be replaced by patterns on a bounded number of variables.

For pairwise disjoint C,A,{j}C,A,\{j\}, with |A|=2|A|=2, say that a variable ordering realizes the pattern (C,A,j)(C,A,j) if every element of CC comes before both elements of AA, and both elements of AA come before jj. Variables outside these sets may occur anywhere.

Theorem 5.4 (Degree-sensitive order coverage). Fix n≥4n\ge 4, d≥2d\ge 2, and s=min(d−1,n−3)s=\min (d-1,n-3). A fixed family F\mathcal F of variable permutations characterizes polymatroidality among all degree-dd monomial ideals by its reverse lexicographic linear-quotient tests if and only if

(i)
for every disjoint C,A,{j}C,A,\{j\} with |C|=s|C|=s and |A|=2|A|=2, some order in F\mathcal F realizes (C,A,j)(C,A,j);
(ii)
if d≥n−1d\ge n-1, each ordered pair (i,j)(i,j) of distinct variables occurs as the final two variables of some order in F\mathcal F.

When d≤n−2d\le n-2, condition (i) alone suffices. For n=3,d≥2n=3,d\ge 2, all six permutations are necessary and sufficient; for n=2,d≥2n=2,d\ge 2, any nonempty family suffices. If d≤1d\le 1 or n≤1n\le 1, no tests are needed.

Proof. For necessity of (i), use the triple isolator of Lemma 5.2 on the s+3s+3 active variables C∪A∪{j}C\cup A\cup \{j\}. It has degree s+1s+1. Extend it to SS and multiply by a monomial to raise its degree to dd. Unused variables and a common monomial factor affect neither generator comparisons nor colon quotients. Thus this nonpolymatroidal ideal fails exactly the orders realizing the given pattern. If d≥n−1d\ge n-1, the degree-n−1n-1 pair isolator, similarly padded, proves necessity of (ii).

For sufficiency, first establish the singleton-deficit exchange property (3.2). When d≥n−1d\ge n-1, condition (ii) and Lemma 3.4 do this. Suppose d≤n−2d\le n-2. Let a,b∈Ba,b\in \B, let ii be the sole coordinate where ai>bia_i>b_i, and fix a donor jj with bj>ajb_j>a_j. Put

C0={h∉{i,j}:bh>0}.C_0=\{h\notin \{i,j\}:b_h>0\}.

Since bj≥1b_j\ge 1, one has |C0|≤d−1|C_0|\le d-1. Extend C0C_0 to a set CC of size d−1d-1 disjoint from i,ji,j, and choose k∉C∪{i,j}k\notin C\cup \{i,j\}. This is possible since d≤n−2d\le n-2; moreover bk=ak=0b_k=a_k=0. Use (i) with A={i,k}A=\{i,k\}. In that order jj is the last differing coordinate of a,ba,b, so aa precedes bb. Any variable colon witness must receive ii. Every possible donor other than jj belongs to CC and precedes ii, so such a move would follow bb. The witness must therefore be b−ej+eib-\ee _j+\ee _i. This proves (3.2).

Condition (i) supplies at least one order, so Lemma 3.1 gives connectivity in every upper box. If the ideal were not polymatroidal, Lemma 3.5 would give four distinct indices p,q,i,jp,q,i,j and

u=c−ep−ej+eq+ei,u=c-\ee _p-\ee _j+\ee _q+\ee _i,

with the four absences in (3.4). Put A={i,q}A=\{i,q\} and C0={h∉A∪{j}:ch>0}C_0=\{h\notin A\cup \{j\}:c_h>0\}. Since cj≥1c_j\ge 1, its size is at most min(d−1,n−3)=s\min (d-1,n-3)=s. Extend it to a set CC of size ss, disjoint from A∪{j}A\cup \{j\}, and choose an order realizing (C,A,j)(C,A,j). The target uu precedes cc, since p∈Cp\in C and jj is last among the four differing coordinates. A variable witness must receive ii or qq. A donor outside A∪{j}A\cup \{j\} either lies in CC, giving a later generator, or has exponent zero. The remaining donors are excluded by the four absences. This contradicts linear quotients. The small-nn assertions follow from Theorem 5.3 and its degree-two pair examples. □

Corollary 5.5 (Numbers of degree-dd tests). Let N(n,d)N(n,d) be the minimum size of such a fixed family. For n≥4n\ge 4 and d≥n−2d\ge n-2,

(35)N(n,d)=3(n3).\begin{equation} N(n,d)=3\binom n3. \label {eq:legacy-13-1}\end{equation}

For 2≤d≤n−22\le d\le n-2, put

Q=n(n−12)(n−3d−1),p=2d(d+1)(d+2).Q=n\binom {n-1}{2}\binom {n-3}{d-1}, \qquad p=\frac {2}{d(d+1)(d+2)}.

Then

(36)N(n,d)≤⌈p−1(log⁡Q+1)⌉,N(n,d)≥3(d+23).\begin{equation} N(n,d)\le \left \lceil p^{-1}(\log Q+1)\right \rceil , \qquad N(n,d)\ge 3\binom {d+2}{3}. \label {eq:legacy-13-2}\end{equation}

For n≥4,d≥2n\ge 4,d\ge 2, if M=N(n,d)M=N(n,d), one also has

(37)n−1≤(M⌊M/2⌋).\begin{equation} n-1\le \binom {M}{\lfloor M/2\rfloor }. \label {eq:legacy-13-3}\end{equation}

Consequently N(n,d)=Θd(log⁡n)N(n,d)=\Theta _d(\log n) for every fixed d≥2d\ge 2 as nn tends to infinity.

Proof. For d≥n−2d\ge n-2, the patterns are pointed final triples. Each permutation covers exactly one, so their isolators give the lower bound in (5.2). For d=n−2d=n-2, choose one orientation for each such triple. For larger degrees, the oriented-cycle construction in Theorem 5.3 also covers every final pair, with the same number of permutations.

For 2≤d≤n−22\le d\le n-2, there are QQ required patterns. A uniformly random permutation realizes a fixed pattern with probability

2(d−1)!(d+2)!=p.\frac {2(d-1)!}{(d+2)!}=p.

For MM independent random permutations, the probability that at least one pattern is missed is at most Q(1−p)M≤Qe−pMQ(1-p)^M\le Qe^{-pM}. The stated upper bound makes this quantity less than one. Repeated permutations may be discarded. Every permutation covers exactly (nd+2)\binom n{d+2} patterns, one for each active (d+2)(d+2)-set. Dividing QQ by this number gives the lower bound in (5.3).

Pattern coverage also supplies every relative order x<y<zx<y<z on three distinct variables; put xx in CC, yy in AA, and take j=zj=z, filling the remaining disjoint slots. Fix yy. For each x≠yx\ne y, form its binary signature across the MM orders, with a one exactly when xx precedes yy. For distinct x,zx,z, both x<y<zx<y<z and z<y<xz<y<x occur, so their signatures are incomparable. They form an antichain in the Boolean lattice on MM elements. Its size is at most the middle binomial coefficient; counting pairs consisting of an antichain member and a maximal chain gives ∑B(M|B|)−1≤1\sum _B\binom M{|B|}^{-1}\le 1. This proves (5.4), hence M≥log2⁡(n−1)M\ge \log _2(n-1). The upper bound is O(d4log⁡n)O(d^4\log n), which proves the final assertion. □

5.2. The probability of detecting failure.

Theorem 5.6 (Sharp rejection fraction). Fix n≥4n\ge 4 and d≥2d\ge 2, and put t=min(d,n−2)t=\min (d,n-2). For every nonpolymatroidal ideal generated in degree dd, a uniformly random ordering of the variables makes decreasing reverse lexicographic order fail to have linear quotients with probability at least

(38)2t(t+1)(t+2).\begin{equation} \frac {2}{t(t+1)(t+2)}. \label {eq:legacy-14-1}\end{equation}

This bound is attained. For n=3,d≥2n=3,d\ge 2, the sharp probability is 1/61/6; for n=2,d≥2n=2,d\ge 2, it is one.

Proof. If no variable ordering gives linear quotients, the assertion is immediate. Otherwise the upper-box connectivity lemma applies.

Suppose first that a singleton-deficit exchange fails, with unique receiver ii and donor jj. When d≤n−2d\le n-2, construct C,A={i,k}C,A=\{i,k\} exactly as in the singleton-deficit part of the proof of Theorem 5.4. Every order realizing this fixed pattern fails; the target precedes the current generator and there is no variable witness. The pattern has t+2=d+2t+2=d+2 active variables and occurs with probability 2/[t(t+1)(t+2)]2/[t(t+1)(t+2)]. When d≥n−1d\ge n-1, every order ending in (i,j)(i,j) fails. Its probability is

1n(n−1) ≥ 2(n−2)(n−1)n,\frac {1}{n(n-1)} \ \ge \ \frac {2}{(n-2)(n-1)n},

as n≥4n\ge 4.

If all singleton-deficit exchanges hold, Lemma 3.5 gives the four-coordinate configuration. The final part of the proof of Theorem 5.4 constructs a fixed pattern (C,A,j)(C,A,j) with |C|=t−1|C|=t-1, every realization of which fails. Its probability is again the value in (5.5).

For equality, use the triple isolator on t+2t+2 active variables. It has degree tt. Extend by the remaining variables and multiply by a monomial of degree d−td-t. Lemma 5.2 shows that its failure orders are exactly one of the displayed patterns, giving the claimed probability. For three variables the pair isolator fails exactly one of the six orders, and the full characterization forces at least one failure. For two variables, the proof of Theorem 5.3 shows that even one successful order would force polymatroidality. □

Thus MM independent random order tests miss a fixed nonpolymatroidal degree-dd ideal with probability at most (1−p)M(1-p)^M, where pp is the sharp value in (5.5).

References

[1]
S. Bandari and J. Herzog, Monomial localizations and polymatroidal ideals, European Journal of Combinatorics 34 (2013), 752–763. arXiv 1206.3069.
[2]
S. Bandari and R. Rahmati-Asghar, On the polymatroidal property of monomial ideals with a view towards orderings of minimal generators, Bulletin of the Iranian Mathematical Society 45 (2019), 657–666. DOI 10.1007/s41980-018-0157-z. arXiv 1808.06438.
[3]
A. Mafi and D. Naderi, Linear resolutions and polymatroidal ideals, Proceedings of the Indian Academy of Sciences (Mathematical Sciences) 131 (2021), article 25. DOI 10.1007/s12044-021-00620-z.
[4]
J. Herzog and M. Vladoiu, Monomial ideals with primary components given by powers of monomial prime ideals, Electronic Journal of Combinatorics 21 (2014), no. 1, Paper P1.69. DOI 10.37236/3813.