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

Coercion issue with Laurent polynomial rings #31320

Closed
mezzarobba opened this issue Feb 1, 2021 · 13 comments
Closed

Coercion issue with Laurent polynomial rings #31320

mezzarobba opened this issue Feb 1, 2021 · 13 comments

Comments

@mezzarobba
Copy link
Member

sage: coercion_model.common_parent(Frac(QQ['t']), LaurentPolynomialRing(CC,'t'))
Fraction Field of Univariate Polynomial Ring in t over Rational Field

Component: coercion

Author: Frédéric Chapoton

Branch/Commit: 8d97f9d

Reviewer: Travis Scrimshaw

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

@mezzarobba mezzarobba added this to the sage-9.3 milestone Feb 1, 2021
@fchapoton
Copy link
Contributor

comment:1

more data

sage: cm = coercion_model
sage: cm.explain(Frac(QQ['t']), LaurentPolynomialRing(CC,'t'))                  
Coercion on right operand via
    Conversion via converter map:
      From: Univariate Laurent Polynomial Ring in t over Complex Field with 53 bits of precision
      To:   Fraction Field of Univariate Polynomial Ring in t over Rational Field
Arithmetic performed after coercions.
Result lives in Fraction Field of Univariate Polynomial Ring in t over Rational Field
Fraction Field of Univariate Polynomial Ring in t over Rational Field

@mkoeppe
Copy link
Contributor

mkoeppe commented May 10, 2021

comment:2

Moving to 9.4, as 9.3 has been released.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 May 10, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@fchapoton
Copy link
Contributor

New commits:

ed5f0cafix coercion of Laurent into fraction fields

@fchapoton
Copy link
Contributor

Author: Frédéric Chapoton

@fchapoton
Copy link
Contributor

Branch: u/chapoton/31320

@fchapoton
Copy link
Contributor

Commit: ed5f0ca

@tscrim
Copy link
Collaborator

tscrim commented Feb 15, 2022

comment:6

Subtle, but a good catch. Green bot => positive review.

@tscrim
Copy link
Collaborator

tscrim commented Feb 15, 2022

Reviewer: Travis Scrimshaw

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 15, 2022

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

8d97f9danother fix

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 15, 2022

Changed commit from ed5f0ca to 8d97f9d

@fchapoton
Copy link
Contributor

comment:8

I had to change the correction, but now the bot is green.

The issue was about the existence of a morphism from Laurent[t]/QQ to Frac(ZZ[t]).

May I switch to positive ?

By the way, thanks a lot for your reviews, Travis. Domo arigato.

@tscrim
Copy link
Collaborator

tscrim commented Feb 15, 2022

comment:9

No problem. Thank you for all your work on improving Sage, especially the code and doc polishing.

@vbraun
Copy link
Member

vbraun commented Feb 20, 2022

Changed branch from u/chapoton/31320 to 8d97f9d

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

5 participants