8000 Jacobi theta functions implemented as lazy series by tscrim · Pull Request #40093 · sagemath/sage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Jacobi theta functions implemented as lazy series #40093

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

Merged
merged 4 commits into from
Jun 1, 2025

Conversation

tscrim
Copy link
Collaborator
@tscrim tscrim commented May 13, 2025

An important special function $\vartheta_{ab}(z; \tau)$, which can be considered as a (formal) power series in terms of the nome $q = e^{\pi i \tau}$ with coefficient parameter $w = e^{\pi i z}$.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

@tscrim
Copy link
Collaborator Author
tscrim commented May 13, 2025

@mantepse Here is a special function with lots of good identities that require quite a bit of the machinery we've developed. Although we should figure out a way to share the parent-level special function methods between the LazyLaurentSeriesRing and LazyPowerSeriesRing. A related part towards this, the coefficients parameter in the _element_constructor_ of the two parents behaves differently (a bug which we need to fix at some point).

@mantepse
Copy link
Contributor

beautiful!

@tscrim
Copy link
Collaborator Author
tscrim commented May 13, 2025

Thank you. I have fixed them all.

Copy link
Contributor
@mantepse mantepse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@tscrim
Copy link
Collaborator Author
tscrim commented May 13, 2025

Thank you.

@vbraun
Copy link
Member
vbraun commented May 15, 2025

PDF docs don't build

@tscrim
Copy link
Collaborator Author
tscrim commented May 16, 2025

Okay, that was a bad latex mistake on my part. Hopefully the bot will actually work to check the pdf build this time…

@tscrim tscrim force-pushed the lazy_series/jacobi_theta branch from 7ac2664 to 724e9ee Compare May 19, 2025 04:11
@mantepse
Copy link
Contributor

is there a way to fix the ci?

@tscrim
Copy link
Collaborator Author
tscrim commented May 19, 2025

@mantepse I wish I knew. I keep trying to re-run it, but it doesn't seem to be something local to this PR. I could verify it locally if I wanted to test it, but I don't really want to... ^^;;

+ 108810*q^15 + O(q^16)
sage: LHS[:30] == RHS[:30]
True

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

sorry.

@mantepse
Copy link
Contributor

@fchapoton, codespell complains about "nome" (and suggests "gnome"). Is there a way to fix that?

@fchapoton
Copy link
Contributor

do you mean your local codespell ? i don't think we run codespell in the CI.

There are config files in src, namely src/.codespell-ignore.txt

@mantepse
Copy link
Contributor

do you mean your local codespell ? i don't think we run codespell in the CI.

There are config files in src, namely src/.codespell-ignore.txt

Ah, cool. OK, but if codespell is not run in the CI, I guess it is better not to add nome to the file, because it is quite close to, eg, name and none.

@mantepse
Copy link
Contributor

Looks great except for the whitespace!

@tscrim
Copy link
Collaborator Author
tscrim commented May 24, 2025

Thank you. I have removed the trailing whitespace. Based on your comment, I am allowing myself to set this to a positive review.

vbraun pushed a commit to vbraun/sage that referenced this pull request May 26, 2025
sagemathgh-40093: Jacobi theta functions implemented as lazy series
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

An important special function $\vartheta_{ab}(z; \tau)$, which can be
considered as a (formal) power series in terms of the nome $q = e^{\pi i
\tau}$ with coefficient parameter $w = e^{\pi i z}$.

### 📝 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.
- [x] 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.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#40093
Reported by: Travis Scrimshaw
Reviewer(s): Martin Rubey
vbraun pushed a commit to vbraun/sage that referenced this pull request May 28, 2025
sagemathgh-40093: Jacobi theta functions implemented as lazy series
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

An important special function $\vartheta_{ab}(z; \tau)$, which can be
considered as a (formal) power series in terms of the nome $q = e^{\pi i
\tau}$ with coefficient parameter $w = e^{\pi i z}$.

### 📝 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.
- [x] 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.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#40093
Reported by: Travis Scrimshaw
Reviewer(s): Martin Rubey
@vbraun vbraun merged commit d4dc08f into sagemath:develop Jun 1, 2025
14 of 21 checks passed
@tscrim tscrim deleted the lazy_series/jacobi_theta branch June 8, 2025 23:58
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 9, 2025
sagemathgh-40141: Adding the polylogarithm as lazy series
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Another special function that is important in many areas of math.

### 📝 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.
- [x] 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.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->

- sagemath#40093: Adds to the same places in the files.
    
URL: sagemath#40141
Reported by: Travis Scrimshaw
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 9, 2025
sagemathgh-40141: Adding the polylogarithm as lazy series
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Another special function that is important in many areas of math.

### 📝 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.
- [x] 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.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->

- sagemath#40093: Adds to the same places in the files.
    
URL: sagemath#40141
Reported by: Travis Scrimshaw
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 13, 2025
sagemathgh-40141: Adding the polylogarithm as lazy series
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Another special function that is important in many areas of math.

### 📝 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.
- [x] 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.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->

- sagemath#40093: Adds to the same places in the files.
    
URL: sagemath#40141
Reported by: Travis Scrimshaw
Reviewer(s):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0