g= elementary(f,k,m)
Factors out a general element, reducing the rank of f. More precisely, the routine adds random multiples of the last row, whose coefficients are polynomials in the first m variables, to the k preceding rows and drops the last row. For this to be effective, the target degrees of f must be in ascending order.
This is a fundamental operation in the theory of basic elements, see D. Eisenbud and E. G. Evans, Basic elements: theorems from algebraic k-theory, Bulletin of the AMS, 78, No.4, 1972, 546-549.
Here is a basic example:
|
|
|
|
Here is a more involved example. This is also how this function is used within the package.
|
|
|
|
|
|
|
|
|
This method is called by evansGriffith.
The object elementary is a method function.