virtualOfPair(I, L)
virtualOfPair(M, L)
virtualOfPair(C, L)
Given an ideal I or module M and a list of multidegrees L, this function produces a chain complex by iteratively computing syzygies in degrees in L. In particular, if the list L contains only one element which is in the multigraded regularity of M plus the dimension vector, the output will be the virtual resolution of a pair as defined in Section 1 of [BES20]. See Algorithm 3.4 of [BES20, arXiv:1703.07631] for further details.
If a resolution for the object exists in the cache or when the input is a chain complex C, virtualOfPair uses this information by simply removing the summands in degrees not in L. This option is useful when a minimal free resolution of M can be more efficiently computed in the engine or is already known. Otherwise, induced Schreyer orders are used to speed up the computation of syzygies. Note that this speedup is often very significant.
When L contains more than one multidegree, summands with degrees in at least one member of L are kept.
For example, consider the ideal of three points in $\PP^1\times\PP^1$.



We can now compute its minimal free resolution and a virtual resolution. One can show that $(2,0)$ is in the multigraded regularity of this example. Thus, since we want to compute a virtual resolution we apply virtualOfPair to the element $(3,1)$ since $(3,1)=(2,0)+(1,1)$ and $(1,1)$ is the dimension vector for $\PP^1\times\PP^1$.


Notice that the virtual resolution of the pair $(S^1/J, (2,0))$ is shorter and thinner than the graded minimal free resolution of $S^1/J$.
Finally, we check that the result is indeed virtual.

Given an element of the multigraded regularity, one must add the dimension vector of the product of projective spaces for this to return a virtual resolution.
The object virtualOfPair is a method function with options.