Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

determinant over quotient ring hangs #3407

Closed
mahrud opened this issue Aug 13, 2024 · 1 comment · Fixed by #3558
Closed

determinant over quotient ring hangs #3407

mahrud opened this issue Aug 13, 2024 · 1 comment · Fixed by #3558
Assignees

Comments

@mahrud
Copy link
Member

mahrud commented Aug 13, 2024

Here the determinant is instantaneously zero over the field or even the polynomial ring, but it never finishes over the quotient ring:

det matrix(ZZ/32003[x]/(x),
       {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},{0,-2,0,0,-2,0,0,0,0,0,0,1,0,0,0,0,3,0,0},{0,0,2,0,0,-1,0,0,0,3,0,0,-1,0,-3,
       0,0,1,0},{0,0,0,-2,0,0,1,1,0,0,3,0,0,0,0,0,0,0,3},{0,-1,0,0,3,0,0,0,3,0,0,2,0,3,0,0,3,0,0},{0,0,1,0,0,-1,0,0,0,0,0,0
       ,-1,0,1,0,0,-1,0},{0,0,0,2,0,0,3,-1,0,0,1,0,0,0,0,3,0,0,1},{0,0,0,0,0,0,-1,0,0,0,-1,0,0,0,0,1,0,0,-1},{0,-2,0,0,-2,0,
       0,0,0,0,0,1,0,0,0,0,3,0,0},{0,0,3,0,0,2,0,0,0,1,0,0,2,0,-1,0,0,-2,0},{0,0,0,2,0,0,3,-1,0,0,1,0,0,0,0,3,0,0,1},{0,-1,0
       ,0,-2,0,0,0,1,0,0,1,0,1,0,0,2,0,0},{0,0,-1,0,0,0,0,0,0,-3,0,0,0,0,-3,0,0,-2,0},{0,0,0,0,2,0,0,0,-2,0,0,-1,0,-2,0,0,-1
       ,0,0},{0,0,-2,0,0,-3,0,0,0,-1,0,0,-3,0,2,0,0,1,0},{0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,-2,0,0,2},{0,2,0,0,-3,0,0,0,-2,0,0,-
       2,0,-2,0,0,3,0,0},{0,0,-3,0,0,-3,0,0,0,3,0,0,-3,0,-1,0,0,-1,0},{0,0,0,2,0,0,-2,-1,0,0,3,0,0,0,0,1,0,0,3}})
@Devlin-Mallory
Copy link
Contributor

You may have gotten this far already, but if not: if you call that matrix m, the sticking point occurs when exteriorPower(19,m) calls rawExteriorPower(19, raw m, getMinorsStrategy(R)). Since R is the quotient of a polynomial ring, getMinorsStrategy(R) returns 1, corresponding to the "Bareiss" strategy (whatever that is). If you instead use one of the other strategies rawExteriorPower(19, raw m, 0) or rawExteriorPower(19, raw m, 2), you get 0 fairly instantaneously, so it appears the problem is with the Bareiss strategy for rawExteriorPower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants