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

State global i or I is a number field element (and no longer in the symbolic ring) #31758

Closed
slel opened this issue Apr 30, 2021 · 31 comments
Closed

Comments

@slel
Copy link
Member

slel commented Apr 30, 2021

After #18036, the global i or I is defined as
a number field element rather than a symbolic constant.

Necessary adaptations throughout the code base were
made in #18036, as well as a deprecation in src/sage/symbolic/all.py, which should be updated
only after the usual one year deprecation period (starting
from the release of Sage 9.3).

Only a few more documentation bits need updating in:

  • src/doc/*/tutorial/tour_rings.pyx
  • src/sage/rings/complex_mpfr.pyx

as revealed by

git grep '``I``' src | grep ymbol
git grep '``I``' src/doc

Many places could also get the symbolic I directly
using SR.I() rather than converting with SR(I).

CC: @mezzarobba @slel @videlec @tscrim @umedoblock @embray

Component: documentation

Author: Marc Mezzarobba, Samuel Lelièvre, Travis Scrimshaw

Branch/Commit: da6bd33

Reviewer: Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre, Hideyuki Yasuda

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

@slel slel added this to the sage-9.4 milestone Apr 30, 2021
@mezzarobba
Copy link
Member

Branch: u/mmezzarobba/31758

@mezzarobba
Copy link
Member

Commit: b2f4df2

@mezzarobba
Copy link
Member

Author: Marc Mezzarobba

@mezzarobba
Copy link
Member

New commits:

b2f4df2#31758 minor doc update after #18036

@mkoeppe
Copy link
Contributor

mkoeppe commented Jul 5, 2021

Reviewer: Matthias Koeppe

@slel
Copy link
Member Author

slel commented Jul 6, 2021

comment:3

In sage.rings.complex_mpfr.is_ComplexNumber, let us
keep an introductory sentence for the example showing
that 1 + 2*I and CC(1 + 2*I) behave differently.

Let us also change the files src/doc/*/tutorial/tour_rings.tst
that used to mention the global I as symbolic.

The Japanese one at src/doc/*/tutorial/tour_rings.tst
still needs editing; the others need proofreading.

@slel
Copy link
Member Author

slel commented Jul 6, 2021

Changed author from Marc Mezzarobba to Marc Mezzarobba, Samuel Lelièvre

@slel
Copy link
Member Author

slel commented Jul 6, 2021

Changed commit from b2f4df2 to 3d67f89

@slel
Copy link
Member Author

slel commented Jul 6, 2021

New commits:

3d67f8931758: State the global I is an algebraic number

@slel
Copy link
Member Author

slel commented Jul 6, 2021

Changed branch from u/mmezzarobba/31758 to public/31758

@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
@slel
Copy link
Member Author

slel commented Feb 7, 2022

comment:7

Back to positive review, let's keep the missing bits
for a follow-up ticket.

Sorry for delaying this.

@slel
Copy link
Member Author

slel commented Feb 11, 2022

comment:8

Oops, I just gave positive review to my own changes.

Can someone fluent in Japanese check how to make similar changes in

as were done in

Ideally in this ticket. Otherwise in a follow-up ticket.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 12, 2022

Changed commit from 3d67f89 to da6bd33

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 12, 2022

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

e9f8210Merge branch 'public/31758' of git://trac.sagemath.org/sage into public/31758
da6bd33Updating Japanese and tweak to English tour_rings.rst.

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

Changed reviewer from Matthias Koeppe to Matthias Koeppe, Travis Scrimshaw

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

comment:10

I have updated the Japanese version. I also removed a comma from the English version as I believe it makes the sentence grammatically incorrect.

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

comment:11

My partner (who is Japanese) also double-checked my changes.

@slel
Copy link
Member Author

slel commented Feb 12, 2022

Changed author from Marc Mezzarobba, Samuel Lelièvre to Marc Mezzarobba, Samuel Lelièvre, Travis Scrimshaw

@slel
Copy link
Member Author

slel commented Feb 12, 2022

comment:12

Fantastic. Anyone happy to set this to positive review?

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

comment:13

Since I made the last commit, I should not do it. However, please go ahead since you seem to approve of my changes. :)

@umedoblock
Copy link

comment:14

I'm a Japanese.

I agree with tscrim.

@slel
Copy link
Member Author

slel commented Feb 12, 2022

Changed reviewer from Matthias Koeppe, Travis Scrimshaw to Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre

@slel
Copy link
Member Author

slel commented Feb 12, 2022

comment:15

Travis, I gather you give positive review to my changes.

gh-umedoblock, add your full name to the reviewers field
if you want to.

This seems ready to go in.

@umedoblock
Copy link

comment:16

slelievre, I added my name to the reviewers.

@umedoblock
Copy link

Changed reviewer from Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre to Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre, gh-umedoblock

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

comment:17

It should be your real name.

@umedoblock
Copy link

comment:18

OK ?

@umedoblock
Copy link

Changed reviewer from Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre, gh-umedoblock to Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre, Hideyuki YASUDA

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

comment:19

はい。記入頂きどうもありがとうございます。

@tscrim
Copy link
Collaborator

tscrim commented Feb 12, 2022

Changed reviewer from Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre, Hideyuki YASUDA to Matthias Koeppe, Travis Scrimshaw, Samuel Lelièvre, Hideyuki Yasuda

@vbraun
Copy link
Member

vbraun commented Feb 16, 2022

Changed branch from public/31758 to da6bd33

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

6 participants