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

implement inversion of elements in a (more) general quotient ring #9500

Closed
williamstein opened this issue Jul 14, 2010 · 9 comments
Closed

Comments

@williamstein
Copy link
Contributor

*** This ticket depends on #9499 ***

Make this work:


            sage: R.<x,y> = QQ[]
            sage: I = R.ideal([x^2 + 1, y^3 - 2])
            sage: S.<i,cuberoot> = R.quotient(I)
            sage: 1/(1+i)
            -1/2*i + 1/2

        Confirm via symbolic computation::
        
            sage: 1/(1+sqrt(-1))
            -1/2*I + 1/2

        Another more complicated quotient::
        
            sage: b = 1/(i+cuberoot); b
            1/5*i*cuberoot^2 - 2/5*i*cuberoot + 2/5*cuberoot^2 - 1/5*i + 1/5*cuberoot - 2/5
            sage: b*(i+cuberoot)
            1

Component: algebra

Author: William Stein

Reviewer: Martin Albrecht

Merged: sage-4.5.2.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/9500

@williamstein
Copy link
Contributor Author

comment:1

Relevant benchmarks: http://wiki.sagemath.org/days23.5/projects/relative_number_fields

@williamstein

This comment has been minimized.

@williamstein
Copy link
Contributor Author

Attachment: trac_9500.patch.gz

@williamstein
Copy link
Contributor Author

comment:3

#9499 needs to be finished before this can be reviewed.

@malb
Copy link
Member

malb commented Jul 14, 2010

comment:4

Patch look good and applies cleanly to 4.4.4 +#9499 (which is required).

@malb
Copy link
Member

malb commented Jul 14, 2010

comment:5

Doctests pass.

@qed777
Copy link
Mannequin

qed777 mannequin commented Jul 20, 2010

Merged: sage-4.5.2.alpha0

@qed777
Copy link
Mannequin

qed777 mannequin commented Jul 20, 2010

Author: William Stein

@qed777
Copy link
Mannequin

qed777 mannequin commented Jul 20, 2010

Reviewer: Martin Albrecht

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

No branches or pull requests

3 participants