Skip to content

Commit c88a0e9

Browse files
author
Release Manager
committed
gh-40420: Method A-field for Drinfeld modules We implement the method `A_field` for Drinfeld modules. It is a synonym of `base`; however, having it will be convenient when we implement Anderson motives (coming soon) since A-field and base ring are not the same in this case. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: #40420 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière
2 parents 239c6f9 + a170739 commit c88a0e9

File tree

1 file changed

+53
-2
lines changed

1 file changed

+53
-2
lines changed

src/sage/categories/drinfeld_modules.py

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,30 @@ def Endsets(self):
363363
"""
364364
return Homsets().Endsets()
365365

366+
def A_field(self):
367+
r"""
368+
Return the underlying `A`-field of this category,
369+
viewed as an algebra over the function ring `A`.
370+
371+
This is an instance of the class
372+
:class:`sage.rings.ring_extension.RingExtension`.
373+
374+
NOTE::
375+
376+
This method has the same behavior as :meth:`base`.
377+
378+
EXAMPLES::
379+
380+
sage: Fq = GF(25)
381+
sage: A.<T> = Fq[]
382+
sage: K.<z> = Fq.extension(6)
383+
sage: phi = DrinfeldModule(A, [z, z^3, z^5])
384+
sage: C = phi.category()
385+
sage: C.A_field()
386+
Finite Field in z of size 5^12 over its base
387+
"""
388+
return self.base()
389+
366390
def base_morphism(self):
367391
r"""
368392
Return the base morphism of the category.
@@ -575,14 +599,41 @@ def super_categories(self):
575599

576600
class ParentMethods:
577601

602+
def A_field(self):
603+
r"""
604+
Return the underlying `A`-field of this Drinfeld module,
605+
viewed as an algebra over the function ring `A`.
606+
607+
This is an instance of the class
608+
:class:`sage.rings.ring_extension.RingExtension`.
609+
610+
NOTE::
611+
612+
This method has the same behavior as :meth:`base`.
613+
614+
EXAMPLES::
615+
616+
sage: Fq = GF(25)
617+
sage: A.<T> = Fq[]
618+
sage: K.<z> = Fq.extension(6)
619+
sage: phi = DrinfeldModule(A, [z, z^3, z^5])
620+
sage: phi.A_field()
621+
Finite Field in z of size 5^12 over its base
622+
"""
623+
return self.category().A_field()
624+
578625
def base(self):
579626
r"""
580-
Return the base field of this Drinfeld module, viewed as
581-
an algebra over the function ring.
627+
Return the underlying `A`-field of this Drinfeld module,
628+
viewed as an algebra over the function ring `A`.
582629
583630
This is an instance of the class
584631
:class:`sage.rings.ring_extension.RingExtension`.
585632
633+
NOTE::
634+
635+
This method has the same behavior as :meth:`A_field`.
636+
586637
EXAMPLES::
587638
588639
sage: Fq = GF(25)

0 commit comments

Comments
 (0)