Ticket #9403 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

preimage method in NumberFieldHomomorphism_im_gens

Reported by: jeremywest Owned by: AlexGhitza
Priority: major Milestone: sage-4.5.2
Component: algebra Keywords: number field, embedding, homomorphism, preimage
Cc: ebeyerstedt, fwclarke, davidloeffler Work issues:
Report Upstream: N/A Reviewers: Aly Deines
Authors: Jeremy West Merged in: sage-4.5.2.alpha1
Dependencies: Stopgaps:

Description

I am adding a preimage method in the NumberFieldHomomorphism?_im_gens class. There may be a better or more general place to put this, but we need it for the descend_to method in EllipticCurve? so I am putting it there for now.

Attachments

trac_9403-preimage.patch Download (2.7 KB) - added by jeremywest 3 years ago.
A preimage method for NumberFieldHomomorphism?
trac_9403-new.patch Download (3.1 KB) - added by ebeyerstedt 3 years ago.
Replaces previous patch.
trac_9403-error_handling.patch Download (3.2 KB) - added by jeremywest 3 years ago.
Fixes error handling message, replaces all previous patches.

Change History

comment:1 Changed 3 years ago by jeremywest

  • Cc ebeyerstedt added
  • Status changed from new to needs_work

Changed 3 years ago by jeremywest

A preimage method for NumberFieldHomomorphism?

comment:2 Changed 3 years ago by jeremywest

  • Status changed from needs_work to needs_review

I have implemented the preimage method including documentation and tests. I just need a review now. Let me know if this should go somewhere better.

comment:3 Changed 3 years ago by ebeyerstedt

The new patch changes each usage of .vector_space to .absolute_vector_space. Also added a doctest.

Changed 3 years ago by ebeyerstedt

Replaces previous patch.

comment:4 Changed 3 years ago by ebeyerstedt

Updated documentation.

comment:5 Changed 3 years ago by cremona

  • Cc fwclarke, davidloeffler added

comment:6 Changed 3 years ago by aly.deines

  • Status changed from needs_review to positive_review

comment:7 Changed 3 years ago by jeremywest

I changed the error message that is returned when the input is not in the image of the homomorphism so that, rather than a message about solving a matrix equation, it gives a message about the input not being in the image.

comment:8 Changed 3 years ago by davidloeffler

  • Status changed from positive_review to needs_work

If you really must upload new patches to an already positively reviewed ticket, you *must* put the status back to "needs review".

comment:9 Changed 3 years ago by davidloeffler

  • Status changed from needs_work to needs_review

Changed 3 years ago by jeremywest

Fixes error handling message, replaces all previous patches.

comment:10 Changed 3 years ago by ddrake

David -- can you review the newest patch? If this ticket can get a positive review, then it and #9384 can get into 4.5.2.

comment:11 Changed 3 years ago by aly.deines

  • Status changed from needs_review to positive_review

comment:12 Changed 3 years ago by ddrake

  • Status changed from positive_review to closed
  • Resolution set to fixed
  • Merged in set to sage-4.5.2.alpha1

Please include the ticket number in your commit messages! Also, Jeremy, you might want to set your username in your .hgrc file -- your patch has a username of "jeremy@…".

comment:13 Changed 3 years ago by mpatel

  • Milestone changed from sage-5.0 to sage-4.5.2

comment:14 Changed 3 years ago by mpatel

  • Reviewers set to Aly Deines

I'm entering a guess for the Reviewer(s) field. Please correct me if I'm wrong.

comment:15 Changed 3 years ago by mpatel

  • Reviewers changed from Aly Deines to Alyson Deines

comment:16 Changed 2 years ago by aly.deines

  • Reviewers changed from Alyson Deines to Aly Deines
Note: See TracTickets for help on using tickets.