\section{The local nilpotent theorem}\label{sec:local} Let $k$ be an infinite field of characteristic zero. All lengths in this section are dimensions over $k$. For a finite-dimensional local $k$-algebra $A$, with residue field $k$ and maximal ideal $\mathfrak m$, write \[ \operatorname{top}M=M/\mathfrak mM, \qquad \operatorname{soc}M=0:_M\mathfrak m, \qquad \operatorname{type}A=\dim_k\operatorname{soc}A. \] The action algebra is the image of the unital representation in $\operatorname{End}_k(M)$. Write $D_k N=\operatorname{Hom}_k(N,k)$, with action $(a\varphi)(m)=\varphi(am)$, and put $M[t]=\ker(t:M\to M)$. \begin{theorem}[Local nilpotent bound]\label{thm:local} Let $t,b,c$ be commuting nilpotent endomorphisms of a finite-dimensional $k$-space $M$. If \[ \dim_k\ker t\leq4, \] then \[ \dim_k k[t,b,c]\leq\dim_k M. \] \end{theorem} We use the ideal-quotient lemma of Section~\ref{sec:ideal} and the curvilinear extension theorem of Section~\ref{sec:canonical}. The first applies to quotients of the ideal $(X,Y)$ in $k[X,Y,Z]$. The second applies to a module containing a type-two cyclic submodule with quotient $k[t]/(t^q)$, subject to the stated annihilator containment. \subsection{A minimal counterexample and its socle action} \paragraph{Proof of Theorem~\ref{thm:local}.} Suppose the theorem fails, and choose a counterexample of smallest length $n$, within the class of all nilpotent commuting triples with first kernel of dimension at most four. Set \[ A=k[t,b,c]\subseteq\operatorname{End}_k(M),\quad \dim_k A=n+e,\quad e\geq1. \] The action is faithful. The ideal $\mathfrak m=(t,b,c)A$ is nilpotent, and $A/\mathfrak m=k$, so $A$ is local. Every proper submodule and every nonzero proper quotient retains the original three operators and is shorter. Submodules retain the kernel bound by inclusion of their $t$-kernels. For a quotient $Q$, $Q/tQ$ is a quotient of $M/tM$, and $\dim\ker(t|Q)=\dim Q/tQ$. Thus the same kernel bound holds for quotients as well. Minimality consequently applies to their image algebras, even when their action is no longer faithful as an $A$-action. Put \[ U=\operatorname{top}M,\quad V=\operatorname{soc}M, \quad a=\dim U,\quad s=\dim V,\quad r=\dim M/tM=\dim\ker t. \] Both $a,s$ are positive, and $a,s\leq r\leq4$. Finite duality, with positive action $(\alpha\varphi)(m)=\varphi(\alpha m)$, preserves the annihilator, length and first-kernel dimension, and interchanges $a$ and $s$. We may therefore arrange $a\leq s$. Multiplication gives an injective map \[ \operatorname{soc}A\longrightarrow\operatorname{Hom}_k(U,V). \tag{LF.4} \] Indeed, a socle element kills $\mathfrak mM$, has image in $V$, and is zero if it kills $M$, by faithfulness. Denote its image by $\mathcal T$. For a nonzero functional $\phi\in U^*$, the inverse image $M_\phi$ of $\ker\phi$ is a submodule of codimension one. An element annihilating $M_\phi$ kills $\mathfrak mM$; hence its product with $\mathfrak m$ acts as zero on $M$, and faithfulness puts it in $\operatorname{soc}A$. Consequently \[ \operatorname{Ann}_A M_\phi \simeq\{v\in V:v\otimes\phi\in\mathcal T\}. \tag{LF.5} \] Minimality on $M_\phi$ says that its image algebra has length at most $n-1$. Therefore the space in (LF.5) has dimension at least $e+1$. Similarly, for $0\ne v\in V$, the line $kv$ is a submodule. If $gM\subseteq kv$, then $\mathfrak m gM=0$, so $g$ is in the algebra socle. Thus \[ \operatorname{Ann}_A(M/kv) \simeq\{\phi\in U^*:v\otimes\phi\in\mathcal T\}, \tag{LF.6} \] and this space also has dimension at least $e+1$. We recall the finite linear-algebra estimate needed to combine these two families. If $\Gamma:E\times F\to W$ is bilinear, its values span $W$, and its slices $\Gamma(e,-)$ and $\Gamma(-,f)$ have ranks at most $p,q$, respectively, then \[ \dim W\leq pq. \tag{LF.7} \] Here is a proof. Choose a first slice $f=\Gamma(e_0,-)$ of maximum rank $p_0\leq p$, and choose $v_1,\ldots,v_{p_0}$ whose images form a basis of $\operatorname{im}f$. The maximum-rank pencil lemma gives $\Gamma(e,\ker f)\subseteq\operatorname{im}f$ for all $e$. To see that lemma, put $f$ in the block form $\left(\begin{smallmatrix}I&0\\0&0\end{smallmatrix}\right)$: a nonzero entry of the kernel-to-cokernel block of another map would give a nonzero coefficient of the pencil parameter in an appropriate one-larger minor of the pencil, contradicting maximality over the infinite field. It follows that every value of $\Gamma$ lies in $\sum_i\Gamma(E,v_i)$: subtract a linear combination of the $v_i$ to reduce any second argument to $\ker f$, and note that $\operatorname{im}f$ is already in this sum. The sum has dimension at most $p_0q$, proving (LF.7). Apply (LF.7) to the quotient map \[ V\times U^*\longrightarrow \operatorname{Hom}_k(U,V)/\mathcal T, \qquad(v,\phi)\longmapsto[v\otimes\phi]. \] The rank-one operators span the target. With $d=e+1$, (LF.5)--(LF.6) give the two slice-rank bounds $a-d$ and $s-d$. In particular \[ d\leq a,s, \qquad d(a+s-d)\leq\operatorname{type}A\leq as. \tag{LF.8} \] Since $d\geq2$ and $d\leq a,s$, this also gives \[ 2(a+s-2)\leq\operatorname{type}A. \tag{LF.9} \] For example, the difference between the left sides of (LF.8) and (LF.9) is $(d-2)(a+s-d-2)\geq0$. \subsection{Fitting bounds for $H=M/tM$} To distinguish the source from the image algebra, let $S_0=k[T,B,C]\twoheadrightarrow A$ send the variables to $t,b,c$, and put $I=\ker(S_0\to A)=\operatorname{Ann}_{S_0}M$. Let $H=M/tM$, viewed over $R=S_0/(T)=k[B,C]$. In formulas for ideals of $R$ we write $b,c$ for its formal variables as well. Its support is $\mathfrak n=(b,c)$. Put \[ \mu=\dim_k A/tA. \] The ordinary zeroth Fitting ideal supplies \[ \operatorname{Fitt}_0^R(H) \subseteq\overline I:=(I+(T))/(T), \qquad \operatorname{type}A\leq\mu \leq\dim_k R/\operatorname{Fitt}_0^R(H). \tag{LF.10} \] Here $R/\overline I$ is the quotient algebra $A/tA$. For completeness, the first containment follows by reducing any free $S_0$-presentation of $M$ modulo $T$. Each maximal minor of a relation matrix annihilates all its module generators: multiply the selected square relation matrix by its adjugate. This proves the ordinary Fitting-annihilator containment before reduction and hence after base change. Finally $\operatorname{soc}A\subseteq\operatorname{Ann}_A(t)$, and multiplication by $t$ on $A$ gives $\dim\operatorname{Ann}_A(t)=\dim A/tA=\mu$. The top of $H$ is $U$. For top dimension at least three and $\dim_k H\leq4$, the following list is exhaustive up to a linear change of $b,c$. The table gives the zeroth Fitting ideals and their colengths. \begin{center} \begin{tabular}{@{}cllr@{}} \hline Top dimension & $H$ & $\operatorname{Fitt}_0(H)$ & Colength\\ \hline $4$ & $k^4$ & $\mathfrak n^4$ & $10$\\ $3$ & $k^3$ & $\mathfrak n^3$ & $6$\\ $3$ & $\omega_Q\oplus k$, $Q=R/\mathfrak n^2$ & $\mathfrak n^3$ & $6$\\ $3$ & $D\oplus k^2$, $D=R/(c,b^2)$ & $(c,b^2)\mathfrak n^2$ & $7$\\ \hline \end{tabular} \end{center} Here $\omega_Q=D_kQ$. To prove exhaustiveness, only the length-four, top-three case needs discussion. Its radical has dimension one and is killed by $\mathfrak n$. Multiplication by $b,c$ on the three-dimensional top is therefore a pair of row forms with the same one-dimensional target. If the forms are independent, suitable top bases give the canonical length-three module $\omega_Q$ and one simple summand. If they are proportional, a linear coordinate change makes $c$ zero and gives a single length-two $b$-chain and two simple summands. This is a module decomposition, because all products of two radical operators vanish. The Fitting ideals follow from direct sums and presentations: $\operatorname{Fitt}_0(k)=\mathfrak n$, $\operatorname{Fitt}_0(D)=(c,b^2)$, and $\operatorname{Fitt}_0(\omega_Q)=\mathfrak n^2$. The last equality is given by the two-by-three presentation with columns $(c,0),(0,b),(b,-c)$. In the last row of the table the surviving monomials are $1,b,c,b^2,bc,c^2,b^3$, giving colength seven. For top dimension two consider the ranks of tensors in the initial relation space. Choose lifts $u,v$ of a top basis. The initial relation space is \[ \mathcal R_1=\ker\bigl[ (\mathfrak n/\mathfrak n^2)\otimes\operatorname{top}H \longrightarrow\mathfrak nH/\mathfrak n^2H\bigr]. \tag{LF.11} \] Its dimension is at least $4-(\dim H-2)\geq2$. If $\mathcal R_1$ contains a rank-two tensor, write its coefficient forms as $F_1,G_1$; they are independent linear forms in $b,c$. Their relation in $H$ has error in $\mathfrak n^2H$. Since $u,v$ generate $H$, subtract $f_2u+g_2v$ with $f_2,g_2\in\mathfrak n^2$. Lifting the resulting relation in $H$ to $M$ leaves a $t$-multiple, which can be written $t(pu+qv)$, since $u,v$ generate $M$. Hence \[ (F_1-f_2-tp)u+(G_1-g_2-tq)v=0. \tag{LF.12} \] Put $F=F_1-f_2-tp$, $G=G_1-g_2-tq$ in the algebra $A$. Their classes together with $t$ span the same cotangent space $\mathfrak m/\mathfrak m^2$ as $t,b,c$: the transverse coefficient matrix is nonsingular, $f_2,g_2$ disappear, and $tp,tq$ only change the coefficient of $t$. These classes span the cotangent space, whose dimension may be less than three. Nilpotent Nakayama gives $A=k[F,G,t]$. Explicitly, the span assertion implies that the new ideal generates $\mathfrak m/\mathfrak m^2$, hence generates $\mathfrak m$ by iterating modulo its nilpotent powers; splitting coefficients into their scalar and radical parts then shows that the new elements generate the algebra. Use the new polynomial source $S'=k[X,Y,Z]$ acting by $F,G,t$. Its ideal $P=(X,Y)$ maps onto $M$ by $X\mapsto v$, $Y\mapsto-u$. This is well defined: the syzygies of $X,Y$ are generated by $(Y,-X)$, whose image is zero by (LF.12). The kernel is an ideal $N\subseteq P$. Thus $M\simeq P/N$, its action algebra is $S'/(N:P)=A$, and the ideal-quotient lemma rules out a counterexample. It remains to describe $\mathcal R_1$ when it has no rank-two tensor. A subspace of two-by-two matrices of rank at most one has dimension at most two and has a common factor. Here is the elementary reason. If two rank-one tensors have independent image vectors and independent functionals, their sum has rank two. Fixing one nonzero tensor, either all images are in its image line, or one independent image forces all functionals into its functional line. Each such space has dimension at most two. In (LF.11) equality must hold. It follows that $\dim\mathfrak nH/\mathfrak n^2H=2$; since the whole length is at most four, in fact \[ \dim H=4,\qquad\mathfrak n^2H=0. \] The two common-factor alternatives are exactly \[ H=D^2\quad\hbox{or}\quad H=Q\oplus k, \qquad D=R/(c,b^2),\quad Q=R/\mathfrak n^2, \tag{LF.13} \] after a linear change of transverse coordinates in the first case. A common variable factor kills both generators and the other variable identifies the two-dimensional top with the radical, giving $D^2$. A common generator factor makes one generator simple, while the other has two independent radical images, giving $Q\oplus k$. These basis descriptions prove the module isomorphisms. The rank-two relation case and (LF.13) therefore exhaust the possibilities. In particular, the rank-two relation argument excludes heads of length at most three. In both cases of (LF.13) the Fitting colength is six: \[ \operatorname{Fitt}_0(D^2)=(c,b^2)^2, \qquad \operatorname{Fitt}_0(Q\oplus k)=\mathfrak n^3. \tag{LF.14} \] \subsection{Reduction to top and socle dimension two} By (LF.8), $a,s\geq2$. If $a=4$, then also $s=4$, and (LF.9) requires type at least twelve, contrary to the first table row and (LF.10). If $a=3$, the same bound requires type at least eight, contrary to the remaining table rows. Therefore $a=2$. The preceding head argument gives $r=4$, (LF.13), and $\mu\leq6$. Now $e+1\leq a=2$ forces $e=1$. Equations (LF.8) and (LF.4) give \[ \operatorname{type}A=2s,\qquad \operatorname{soc}A\simeq\operatorname{Hom}_k(k^2,\operatorname{soc}M), \qquad s\in\{2,3\}. \tag{LF.15} \] The isomorphism is the socle action. We exclude $s=3$ by considering a proper submodule or quotient. In this case $\operatorname{type}A=\mu=6$, so $\operatorname{Ann}_A(t)=\operatorname{soc}A$. If $H=Q\oplus k$, let $P\subset M$ be the inverse image of its simple summand. It has length $n-3$ and contains $tM$. Any element annihilating $P$ therefore kills $tM$; faithfulness gives $gt=0$, so it lies in the algebra socle. It annihilates $P$ exactly when its full socle matrix kills that one top line. Hence $\dim\operatorname{Ann}_A P=3$. Its action image has length $n+1-3=n-2>\dim P$, a shorter counterexample. Suppose instead that $H=D^2$. The dual head $D_k M/tD_k M\simeq D_k(M[t])$ has length four and top dimension three. The table leaves $\omega_Q\oplus k$ or $D'\oplus k^2$, where $D'=R/(c',(b')^2)$ for suitable linear coordinates $b',c'$. In the first case its Fitting ideal is $\mathfrak n^3$; this ideal is invariant under linear changes of $b,c$. Combined with the original head's $(c^2,b^2c,b^4)$, it bounds $\mu$ by the colength of $(c^2,b^2c,b^3)$, namely five, a contradiction. In the second case $W=M[t]\simeq D'\oplus k^2$, since the coefficient-of-$b'$ pairing identifies $D'$ with its positive dual. Take its cyclic summand $L=D'$, of length two and socle dimension one. If $g$ annihilates $M/L$, then $gM\subseteq L\subseteq M[t]$, so $gt=0$ and $g\in\operatorname{soc}A$. Its image is therefore in $\operatorname{soc}L$. Full socle action gives annihilator dimension exactly two. The quotient has length $n-2$ and image algebra length $n-1$, again contradicting minimality. Applying the argument to the dual module gives the corresponding dual case. We have reached \[ a=s=2,\quad e=1,\quad\operatorname{type}A=4, \quad\operatorname{soc}A=\operatorname{Hom}_k(\operatorname{top}M, \operatorname{soc}M). \tag{LF.16} \] Both the original and the dual heads satisfy (LF.13). \subsection{The case $H=Q\oplus k$} Assume that $H=Q\oplus k$. Choose $u\in M$ so that $\dim_k Au$ is maximal and its coefficient on the $Q$-generator of $H$ is nonzero. The two requirements are nonempty open conditions on the same affine space: the first is the nonvanishing of a maximal evaluation minor, and the second is the nonvanishing of a linear coordinate. Their intersection has a $k$-point because $k$ is infinite. For every $u$ with nonzero top, (LF.16) gives $\operatorname{soc}A\,u=\operatorname{soc}M$. Thus $Au$ contains the whole socle, and \[ R_0=A/\operatorname{Ann}_A(u)\simeq Au \quad\hbox{has type two}. \tag{LF.17} \] Indeed, the socle of the submodule $Au$ is exactly $Au\cap\operatorname{soc}M=\operatorname{soc}M$. Maximum cyclic length supplies the needed annihilator nesting. Apply the maximum-rank pencil lemma to the evaluation maps $A\to M$, $a\mapsto au$ and $a\mapsto av$, for arbitrary $v$. It gives \[ \operatorname{Ann}_A(u)M\subseteq Au. \tag{LF.18} \] Consequently the preimage of $\operatorname{Ann}_A(u)$ in the polynomial source kills $M/Au$. The image of $u$ generates a length-three cyclic submodule in the head $Q\oplus k$: its $Q$-component is a unit. Hence, for $N=M/Au$, \[ \dim N/tN=1. \] Nilpotent Nakayama over $k[t]$ now gives an isomorphism $N\simeq k[t]/(t^q)$, with $q\geq1$. The quotient is nonzero since $M$ has two minimal generators. Operators commuting with the cyclic $t$-action are multiplication by polynomials in $t$. Subtract these polynomials from $b,c$ on this same source, making both act as zero on $N$; their constants are zero by nilpotence. This change preserves the generated algebra and fixes $t$ and $Au$. We therefore have precisely the extension and annihilator nesting of Theorem~\ref{thm:extension}, with the type-two parent (LF.17). Its dimension bound contradicts $\dim A=n+1$. If $D_k M/tD_k M$ has this form, apply the argument to $D_k M$. Duality preserves dimension, the action algebra and the kernel dimension of $t$. It remains to consider the case in which both quotients have the form $D^2$. \subsection{The case $H=D^2$ and $M[t]=D^2$} The argument uses the entire ideal $K=\operatorname{Ann}_A(t)$, not just the four-dimensional algebra socle. First, minimality gives \[ \mu\geq r+e=5. \tag{LF.19} \] In fact $\operatorname{Ann}_A(tM)=\operatorname{Ann}_A(t)$ by faithfulness. Its dimension is $\mu$. Minimality applied to the submodule $tM$, of dimension $n-r$, gives $n+e-\mu\leq n-r$. The submodule is proper; the same calculation also covers $tM=0$. Thus $5\leq\mu\leq6$. The two $D^2$ quotients may initially have different annihilating linear forms. Their Fitting ideals contain the squares of those forms. If the forms are independent, their squares have quotient colength four, contradicting (LF.19). They therefore align. After changing transverse coordinates and independently normalizing the two chain bases we have module identifications for the same $b,c$: \[ H=M/tM=D^2,\quad W=M[t]=D^2, \qquad D=k[b]/(b^2),\quad cH=cW=0. \tag{LF.20} \] On $W$, this follows by dualizing the $D^2$ decomposition for $D_k M/tD_k M$; the length-two module is self-dual. Choose the bases of $H$ and $W$ independently. Each element of $K$ kills $tM$ and has image in $W$. The map \[ K\longrightarrow\operatorname{Hom}_R(H,W) =\operatorname{Mat}_2(D) \tag{LF.21} \] is injective by faithfulness. In these coordinates (LF.16) says that its socle subspace is exactly $b\operatorname{Mat}_2(k)$. Reduction modulo $b$ therefore gives a subspace \[ \overline{K}\subseteq\operatorname{Mat}_2(k),\qquad \dim\overline{K}=\mu-4\leq2, \tag{LF.22} \] and $K$ is the full inverse image of $\overline{K}$: the entire kernel $b\operatorname{Mat}_2(k)$ is contained in the image. Its reduction kernel is exactly the algebra socle, because a map in (LF.21) with zero reduction has image in $bW=\operatorname{soc}M$; faithfulness then puts its scalar in $\operatorname{soc}A$. Call a vector in $D^2$ primitive if its reduction modulo $b$ is nonzero. Write each matrix over $D$ as $Y+bZ$, where $Y,Z\in\operatorname{Mat}_2(k)$. For every primitive $v=v_0+bv_1\in W=D^2$, the cyclic submodule $L_v=Dv$ is a submodule, of length two. Its quotient annihilator consists exactly of the elements of $K$ whose maps in (LF.21) have image in $L_v$. For a fixed reduced matrix $Y=v_0\alpha$, the permitted tail matrices are $Z=v_1\alpha+v_0\beta$, with the row $\beta$ arbitrary. Thus the tail fiber has dimension two, and \[ \dim\operatorname{Ann}_A(M/L_v) =2+\dim\{Y\in\overline{K}:\operatorname{im}Y\subseteq kv_0\}. \tag{LF.23} \] The full inverse-image description in (LF.22) makes this condition sufficient. Minimality on the length-$n-2$ quotient forces the left side to be at least three. Hence every nonzero target vector $v_0$ has a nonzero image-line fiber in $\overline{K}$. For every primitive $w=w_0+bw_1\in H=D^2$, let $P_w\subset M$ be the inverse image of $Dw$. It has codimension two and contains $tM$. Its annihilator is in $K$ and has the exact formula \[ \dim\operatorname{Ann}_A(P_w) =2+\dim\{Y\in\overline{K}:Yw_0=0\}. \tag{LF.24} \] Indeed, the remaining tail equation is $Zw_0=-Yw_1$. For every nonzero $w_0$, evaluation on $w_0$ from all two-by-two matrices is surjective, with a two-dimensional kernel; all these tails belong to $K$. Minimality on $P_w$, also of length $n-2$, again makes (LF.24) at least three. The two requirements on the at-most-two-dimensional space $\overline{K}$ are incompatible. Choose nonzero matrices in the image-line fibers of the two coordinate vectors. They have the form $e_1\alpha$ and $e_2\beta$, are independent, and therefore span $\overline{K}$. A nonzero matrix in the fiber of $e_1+e_2$ is a linear combination whose two rows coincide; both coefficients are nonzero, so $\alpha,\beta$ are proportional. Consequently $\overline{K}=k^2\otimes k\phi$ for a nonzero functional $\phi$. For $w_0$ with $\phi(w_0)\ne0$, evaluation $\overline{K}\to k^2$, $Y\mapsto Yw_0$, is injective. Its kernel fiber is zero, contradicting (LF.24). This contradiction proves the theorem.\hfill$\square$