runningCompare(T, U)runningCompare(T, U, Verbose => true)Compare the vector lists of runningVectors at the largest running index $(t_0,s_0)$ at which they differ. At that index, $$T\prec U\quad\Longleftrightarrow\quad V_{t_0,s_0}(U)_q\le V_{t_0,s_0}(T)_q \text{ for every }q.$$ At least one coordinate is strict, since this is a disagreement. Reverse inequalities give $U\prec T$; inequalities in both directions among different coordinates give incomparable. If there is no disagreement the result is symbol ==. Thus smaller tableau entries tend to give larger cumulative counts, which is why the vector inequality is reversed. The order is only partial, so incomparable pairs occur. The default monomial order of a hook ring, described by paperOrder, refines it.
The tableaux $T=\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array}$ and $U=\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\end{array}$ last disagree at the index $(1,2)$, where $V_{1,2}(U)=(2,3,4)\le(2,4,4)=V_{1,2}(T)$, so $T\prec U$. The reverse comparison gives >, and a tabloid compared with itself gives ==; the two arguments need not be given in the same input form.
|
|
|
|
These calls return $<,<,>,==$; the verbose second call displays the witness vectors $(2,4,4)$ and $(2,3,4)$. Equality here means equality of the running data. For inputs whose individual hooks have not been normalized, it need not mean equality of their row lists: permuting a column does not change its cumulative counts. Once the diagonal hooks are semistandard, straightening a nonsemistandard product produces terms that are strictly smaller in this order; here every term of the normal form of $T$ is smaller than $T$. verifyTriangularity checks this descent for one step on every tabloid of a shape and alphabet.
|
|
Among the hook tabloids of shape $(3,2)$ on three letters some pairs are incomparable.
|
|
|
The displayed pair is $\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array}$ and $\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\end{array}$. Its last vectors are $(3,4,5)$ and $(2,5,5)$: the first has a larger first coordinate but a smaller second coordinate. Neither dominates the other, so the answer is incomparable, not an arbitrary tie-break.
The object runningCompare is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/HookPieri/doc.m2:4991:0.