Macaulay2 » Documentation
Packages » HookPieri :: runningCompare
next | previous | forward | backward | up | index | toc

runningCompare -- compare two hook tabloids in the running partial order

Description

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.

i1 : runningCompare({{1,1,2},{2,3}}, {{1,1,3},{2,2}})

o1 = <

o1 : Keyword
i2 : runningCompare({{1,1,2},{2,3}}, {{1,1,3},{2,2}}, Verbose => true)
runningCompare: the last disagreement is at the running index (t,s) = {1, 2}
    V(T) = {2, 4, 4}
    V(U) = {2, 3, 4}
    V(U) <= V(T) coordinatewise, so T < U

o2 = <

o2 : Keyword
i3 : runningCompare(tabloid {{1,1,3},{2,2}}, tabloid {{1,1,2},{2,3}})

o3 = >

o3 : Keyword
i4 : runningCompare(tabloid {{1,1,3},{2,2}}, {{1,1,3},{2,2}})

o4 = ==

o4 : Keyword

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.

i5 : T = tabloid {{4,5,6},{7,1,2},{8}};
i6 : all(keys hookStraighten T, U -> runningCompare(U, T) === symbol <)

o6 = true

Among the hook tabloids of shape $(3,2)$ on three letters some pairs are incomparable.

i7 : L = hookTabloids({3,2}, 3);
i8 : P = first select(subsets(L, 2), p -> runningCompare(p#0, p#1) === incomparable)

      +-+-+-+  +-+-+-+
o8 = {|1|1|1|, |1|1|2|}
      |2|3| |  |2|2| |
      +-+-+-+  +-+-+-+

o8 : List
i9 : runningCompare(P#0, P#1, Verbose => true)
runningCompare: the last disagreement is at the running index (t,s) = {2, 0}
    V(T) = {3, 4, 5}
    V(U) = {2, 5, 5}
    neither vector is coordinatewise below the other, so T and U are incomparable

o9 = incomparable

o9 : Symbol

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.

See also

Ways to use runningCompare:

  • runningCompare(BasicList,BasicList)

For the programmer

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.