regularSequenceCheck -- how much of a list is regular

Description

Given a list X, the function regularSequenceCheck gives an integer indicating how many initial elements of a List form a regular sequence.
 i1 : A = ZZ[x_1..x_4]/(x_4^2) o1 = A o1 : QuotientRing i2 : regularSequenceCheck({x_1..x_4},A) o2 = 3

This symbol is provided by the package Depth.

Caveat

regularSequenceCheck merely checks the injectivity of the maps in question. It does not check to see if XA = A.

Ways to use regularSequenceCheck :

• "regularSequenceCheck(List,Module)"
• "regularSequenceCheck(List,Ring)"
• "regularSequenceCheck(Matrix,Module)"
• "regularSequenceCheck(Matrix,Ring)"

For the programmer

The object regularSequenceCheck is .