setAttemptsAtGenericReduction(R,n)
Changes the number of attempts made to reduce R modulo a generic regular sequence of generators of the irrelevant maximal ideal in order to compute the Bass numbers of the local ring obtained by localizing R at the irrelevant maximal ideal. The function has the effect of setting R.attemptsAtGenericReduction = n, and the number of attempts made is at most n^2. The default value is 25, so if R.attemptsAtGenericReduction is not set, then at most 625 attempts are made.





If the value of R.attemptsAtGenericReduction is too small, then the computation of Bass numbers may fail resulting in an error message. Notice, though, that if the local ring obtained by localizing R at the irrelevant maximal ideal has embedding dimension at most 3, then the Bass numbers are computed without any attempt to reduce the ring, and R.attemptsAtGenericReduction has no significance.




The object setAttemptsAtGenericReduction is a function closure.