-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
bugs for binary quadratic forms whose discriminant is a square #29028
Labels
Milestone
Comments
Branch: public/29028 |
Commit: |
Author: Dave Morris |
Dependencies: #28989 |
comment:6
Merged in #28989 again, to fix a merge conflict caused by the latest changes there. |
comment:7
Two little changes: We check that the first part of :trac:`29028` is fixed::
+
sage: Q = BinaryQF(0, 2, 0)
sage: Q.discriminant()
4 Test another part of :trac:`29028`::
+
sage: BinaryQF_reduced_representatives(10^2, proper=False, primitive_only=False) as you need a blankline after the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Thanks for the corrections. |
comment:10
Thanks. LGTM. |
Reviewer: Travis Scrimshaw |
Changed branch from public/29028 to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ticket #28989 fixes bugs for quadratic forms whose discriminant is positive, but not a square. This ticket addresses the remaining case where the discriminant is a square. Symptoms of the bugs include:
Two forms may be properly equivalent, but not equivalent, and equivalence is not reflexive:
The forms
-4*x^2 + 10*x*y
,-2*x^2 + 10*x*y
,10*x*y
,2*x^2 + 10*x*y
,4*x^2 + 10*x*y
, and5*x^2 + 10*x*y
are not primitive (i.e., the gcd of the coefficients is not 1), but they appear in a list of primitive forms:I will upload a PR soon.
Depends on #28989
CC: @simonbrandhorst
Component: number theory
Keywords: binary quadratic form
Author: Dave Morris
Branch/Commit:
4580620
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/29028
The text was updated successfully, but these errors were encountered: