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

Better interface to Galois groups #28782

Closed
roed314 opened this issue Nov 20, 2019 · 35 comments
Closed

Better interface to Galois groups #28782

roed314 opened this issue Nov 20, 2019 · 35 comments

Comments

@roed314
Copy link
Contributor

roed314 commented Nov 20, 2019

You currently have to decide explicitly whether you want a fully functional Galois group (type=None) or a fast Galois group (type="pari"). We should instead create an object that lazily computes any relevant attributes so that we can have a unified interface.

Depends on #28781
Depends on #26817

Component: number fields

Author: David Roe

Branch/Commit: 1a4b1eb

Reviewer: Travis Scrimshaw, Xavier Caruso

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

@roed314 roed314 added this to the sage-9.0 milestone Nov 20, 2019
@roed314
Copy link
Contributor Author

roed314 commented Nov 20, 2019

Dependencies: #28781, #26817

@roed314
Copy link
Contributor Author

roed314 commented Dec 20, 2019

Branch: u/roed/gal_revision

@embray
Copy link
Contributor

embray commented Jan 6, 2020

comment:3

Ticket retargeted after milestone closed

@embray embray modified the milestones: sage-9.0, sage-9.1 Jan 6, 2020
@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 14, 2020

comment:4

Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.1, sage-9.2 Apr 14, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Aug 29, 2020
@mkoeppe
Copy link
Contributor

mkoeppe commented Feb 13, 2021

comment:6

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Feb 13, 2021
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 2, 2021

Commit: 8453ffb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 2, 2021

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 2, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

3efc05eWorking on galois group revisions
5de987bWorking on changing Galois groups so that they can be implemented for things other than number fields
43c23a9Changing inheritance for GaloisGroups
9d1a658Merge branch 't/28782/gal_revision' of /home/roed/sage9 into t/28782/galois_update

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 2, 2021

Changed commit from 8453ffb to 9d1a658

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2021

Changed commit from 9d1a658 to 14c1448

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

14c1448Working on Galois groups of number fields

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

d5b9025Fixing some documentation, moving code up to sage.groups.galois_group

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2021

Changed commit from 14c1448 to d5b9025

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

7e435cbAdd some docstrings

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2021

Changed commit from d5b9025 to 7e435cb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

1ac12b4Fixing doctests elsewhere in Sage

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2021

Changed commit from 7e435cb to 1ac12b4

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

6ce601eFix more doctests

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2021

Changed commit from 1ac12b4 to 6ce601e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

52dc1e7Fix pyflakes
4480e4aFix blocks plugin report
94687b1Fix doctest (embeddings)

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2021

Changed commit from 6ce601e to 94687b1

@tscrim
Copy link
Collaborator

tscrim commented Mar 5, 2021

comment:16

I think you can replace

-@cached_method(key=lambda self, algorithm: self._get_algorithm(algorithm))
+@cached_method(key=GaloisGroup._get_algorithm)

but I haven't tested it yet. Otherwise I would be okay setting this to a positive review (although I am not someone who uses this code).

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 6, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

82ff4d3Fix relative fields, implement Travis' suggestion on key for _pol_galgp

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 6, 2021

Changed commit from 94687b1 to 82ff4d3

@roed314
Copy link
Contributor Author

roed314 commented Mar 6, 2021

comment:18

Thanks Travis. I also fixed a couple issues Xavier Caruso pointed out. I'm happy with the current state of this ticket (and am also planning on working on followups soon).


New commits:

82ff4d3Fix relative fields, implement Travis' suggestion on key for _pol_galgp

@tscrim
Copy link
Collaborator

tscrim commented Mar 8, 2021

comment:19

One trivially failing test:

        Check that it works for relative number fields.  This behavior will change in the future::

            sage: K.<a> = NumberField(x^3 - 2)
            sage: L.<b> = NumberField(x^2 - x + 17*a)
            sage: G = L.galois_group()
            ...DeprecationWarning: Use .absolute_field().galois_group() if you want the Galois group of the absolute field
            See https://trac.sagemath.org/28782 for details.
            sage: G                   <----------------------------------
            sage: M, emb = G._gcdata

I think you meant to remove this line. Once this is fixed, you can set a positive review.

@tscrim
Copy link
Collaborator

tscrim commented Mar 8, 2021

Reviewer: Travis Scrimshaw, Xavier Caruso

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 8, 2021

Changed commit from 82ff4d3 to bdc5d06

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 8, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

bdc5d06Fix doctest

@roed314
Copy link
Contributor Author

roed314 commented Mar 8, 2021

comment:21

Fixed. Thanks, both of you!

@vbraun
Copy link
Member

vbraun commented Mar 8, 2021

comment:22

PDF docs fail to build

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 8, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

1a4b1ebFix doc build

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 8, 2021

Changed commit from bdc5d06 to 1a4b1eb

@roed314
Copy link
Contributor Author

roed314 commented Mar 8, 2021

comment:24

Sorry about that. I fixed the error and tested the docbuild for both html and pdf.

@slel slel modified the milestones: sage-9.4, sage-9.3 Mar 9, 2021
@vbraun
Copy link
Member

vbraun commented Mar 14, 2021

Changed branch from u/roed/gal_revision to 1a4b1eb

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

6 participants