Skip to content

Conversation

@xcaruso
Copy link
Contributor

@xcaruso xcaruso commented Nov 17, 2025

The bigoh of a Tate series with a nonzero log-radius is currently incorrectly printed.

sage: S.<x> = TateAlgebra(Qp(5), log_radii=[-1])
sage: S(x, 10)
(1 + O(5^9))*x + O(5^10 * <5*x>)

This should be O(5^10 * <x/5>). This PR fixes this.

📝 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.

@r-mb
Copy link
Contributor

r-mb commented Nov 18, 2025

Looks good to me, and CI failures are unrelated to this fix.

@xcaruso
Copy link
Contributor Author

xcaruso commented Nov 18, 2025

Thanks!

vbraun pushed a commit to vbraun/sage that referenced this pull request Nov 19, 2025
The bigoh of a Tate series with a nonzero log-radius is currently
incorrectly printed.

```
sage: S.<x> = TateAlgebra(Qp(5), log_radii=[-1])
sage: S(x, 10)
(1 + O(5^9))*x + O(5^10 * <5*x>)
```

This should be `O(5^10 * <x/5>)`. This PR fixes this.

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

URL: sagemath#41194
Reported by: Xavier Caruso
Reviewer(s): Rubén Muñoz--Bertrand
vbraun pushed a commit to vbraun/sage that referenced this pull request Nov 20, 2025
sagemathgh-41194: Fix printing of Tate series
    
The bigoh of a Tate series with a nonzero log-radius is currently
incorrectly printed.

```
sage: S.<x> = TateAlgebra(Qp(5), log_radii=[-1])
sage: S(x, 10)
(1 + O(5^9))*x + O(5^10 * <5*x>)
```

This should be `O(5^10 * <x/5>)`. This PR fixes this.

### 📝 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.
- [ ] 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.
    
URL: sagemath#41194
Reported by: Xavier Caruso
Reviewer(s): Rubén Muñoz--Bertrand
vbraun pushed a commit to vbraun/sage that referenced this pull request Nov 21, 2025
sagemathgh-41194: Fix printing of Tate series
    
The bigoh of a Tate series with a nonzero log-radius is currently
incorrectly printed.

```
sage: S.<x> = TateAlgebra(Qp(5), log_radii=[-1])
sage: S(x, 10)
(1 + O(5^9))*x + O(5^10 * <5*x>)
```

This should be `O(5^10 * <x/5>)`. This PR fixes this.

### 📝 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.
- [ ] 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.
    
URL: sagemath#41194
Reported by: Xavier Caruso
Reviewer(s): Rubén Muñoz--Bertrand
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.

2 participants