Opened 13 months ago

Last modified 13 months ago

## #26339 new enhancement

# Better normalization for fraction field elements - follow up

Reported by: | mkoeppe | Owned by: | |
---|---|---|---|

Priority: | major | Milestone: | sage-8.4 |

Component: | commutative algebra | Keywords: | |

Cc: | tscrim, cheuberg, etn40ff, jakobkroeker, bhutz, robertwb, rws, emassop, cremona, mmezzarobba, saraedum | Merged in: | |

Authors: | Reviewers: | ||

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description (last modified by )

This is a follow-up on #16268 (and #16993), where the following further improvements were suggested:

- clearing denominators in the numerator and denominator instead of making the leading coefficient of the denominator monic when that makes sense (i.e., for printing, and perhaps for computations in nested rational function fields, but making it fast enough requires some work),
- also normalizing the leading coefficients over non-fields where that makes sense (see also discussion at #16993).

Related:

- #15297 Elements from a Field of Fractions that compare equal should have equal hashes

**Note:**See TracTickets for help on using tickets.