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

p-adic fields should have Witt Frobenius #8241

Closed
sagetrac-dmharvey mannequin opened this issue Feb 11, 2010 · 20 comments
Closed

p-adic fields should have Witt Frobenius #8241

sagetrac-dmharvey mannequin opened this issue Feb 11, 2010 · 20 comments

Comments

@sagetrac-dmharvey
Copy link
Mannequin

sagetrac-dmharvey mannequin commented Feb 11, 2010

If K is an unramified extension of Qp, there should be a function that computes the canonical Witt p-Frobenius:

sage: K.<a> = Qp(25)
sage: a.witt_frobenius()
???

Apply attachment: trac_8241-frobenius.patch to the Sage library.

Component: padics

Author: David Roe

Reviewer: Kiran Kedlaya, David Loeffler

Merged: sage-5.0.beta9

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

@sagetrac-dmharvey
Copy link
Mannequin Author

sagetrac-dmharvey mannequin commented Feb 11, 2010

comment:1

(oops the Qp above should be Qq)

@roed314
Copy link
Contributor

roed314 commented Nov 22, 2010

Author: David Roe

@roed314
Copy link
Contributor

roed314 commented Nov 22, 2010

comment:2

I called the function frobenius rather than witt_frobenius.

@roed314 roed314 added this to the sage-4.6.1 milestone Nov 22, 2010
@roed314
Copy link
Contributor

roed314 commented Dec 3, 2010

comment:3

Fixed a small problem revealed by the test-bot.

@kedlaya
Copy link
Sponsor Contributor

kedlaya commented Jun 17, 2011

comment:4

For consistency, these methods should also apply to Qp, with Frobenius acting as the identity map. For instance, the following should not raise an exception:

sage: Qp(7)(2).frobenius()

@roed314
Copy link
Contributor

roed314 commented Jun 21, 2011

comment:6

There's now a frobenius method for p-adic base rings and fields.

@roed314
Copy link
Contributor

roed314 commented Jun 22, 2011

comment:7

I have no idea why adding a method to Qp causes a test in sage/libs/fplll/fplll.py to fail.

@jdemeyer
Copy link

comment:8

Replying to @roed314:

I have no idea why adding a method to Qp causes a test in sage/libs/fplll/fplll.py to fail.

See #10195.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Sep 16, 2011

Reviewer: Kiran Kedlaya

@nexttime

This comment has been minimized.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Sep 16, 2011

comment:9

Ping. (#11586, which has positive review, depends on this one.)

@roed314
Copy link
Contributor

roed314 commented Feb 21, 2012

comment:10

Attachment: 8241.patch.gz

As Sebastian Pancratz noted in his talk, it would be great if someone wrote a better implementation of this.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 10, 2012

comment:11

The patchbot finds some Sphinx formatting errors in the docstrings:

docstring of sage.rings.padics.padic_ZZ_pX_CA_element.pAdicZZpXCAElement.teichmuller_list:4: WARNING: Inline interpreted text or phrase reference start-string without end-string.
docstring of sage.rings.padics.padic_ZZ_pX_CA_element:2: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of sage.rings.padics.padic_ZZ_pX_CR_element.pAdicZZpXCRElement.teichmuller_list:4: WARNING: Inline interpreted text or phrase reference start-string without end-string.
docstring of sage.rings.padics.padic_ZZ_pX_CR_element:2: WARNING: Block quote ends without a blank line; unexpected unindent.
docstring of sage.rings.padics.padic_ext_element.pAdicExtElement.frobenius:6: WARNING: Inline interpreted text or phrase reference start-string without end-string.

It's also harping on about trailing whitespace (which is apparently now a Bad Thing, although Sage has been tolerating it cheerfully for years).

@loefflerd

This comment has been minimized.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 12, 2012

Changed reviewer from Kiran Kedlaya to Kiran Kedlaya, David Loeffler

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 12, 2012

comment:13

Here's a new patch with the docstrings straightened out and trailing whitespace removed. I've also added a doctest to show that an error is raised when "frobenius" is called on an element of a ramified extension. I'm happy with the rest of the code, so if David's happy with my changes we can call this that's a positive review.

@roed314
Copy link
Contributor

roed314 commented Mar 12, 2012

comment:14

Looks good to me. I've created #12657: write a more efficient implementation of Frobenius.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 12, 2012

Attachment: trac_8241-frobenius.patch.gz

Apply only this patch. Patch against 5.0.beta7

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Mar 12, 2012

comment:15

Patchbot's grumbling about trailing whitespace again, so I removed one single space character and re-uploaded the patch.

@jdemeyer
Copy link

Merged: sage-5.0.beta9

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