Skip to content

feat: restricted power series form a ring - #23338

Closed
WilliamCoram wants to merge 7 commits into
masterfrom
WilliamCoram_RestrictedPowerseries
Closed

WilliamCoram wants to merge 7 commits into
masterfrom
WilliamCoram_RestrictedPowerseries

Conversation

@WilliamCoram

Copy link
Copy Markdown
Collaborator

We define restricted powerseries over a normed ring R, and show they form a ring when R has the ultrametric property.


Open in Gitpod

@github-actions github-actions Bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Mar 26, 2025
@github-actions

github-actions Bot commented Mar 26, 2025 •

Copy link
Copy Markdown

PR summary bb38781a57

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.RingTheory.PowerSeries.Restricted (new file) 1600

Declarations diff

+ Equiv_cToAbs
+ IsGroup
+ IsRestricted
+ IsRing
+ SetOf
+ add
+ addsubgroup
+ bddabove
+ bddabove_nneg
+ convergenceSet
+ mul
+ neg
+ one
+ subring:
+ zero

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@WilliamCoram WilliamCoram added the t-number-theory Number theory (also use t-algebra or t-analysis to specialize) label Mar 26, 2025
@Paul-Lez
Paul-Lez self-requested a review March 26, 2025 14:11
Comment thread Mathlib/Analysis/Normed/Ring/Ultra.lean Resolved
import Mathlib.RingTheory.PowerSeries.Basic
import Mathlib.Analysis.Normed.Ring.Ultra

variable (c : NNReal) (R : Type*) [NormedRing R]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It's always useful to have a module docstring to give a brief description of the mathematical contents of your file + the main results and definitions!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Added, not sure if it is the best it could be though.


/-- The set of restricted powerseries over a normed ring `R` for a given parameter `c` as a subset
of the powerseries over `R`. -/
def CRestrictedPowerSeries : Set (PowerSeries R) :=

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think it might be more idiomatic to structure your file roughly in the same way as homogeneous (multivariate) polynomials:

  • Working with a predicate IsCRestrictedPowerSeries (i.e. your Convergent) and stating properties below in terms of this, e.g the first result in your file would be something like
theorem isCRestrictedPowerSeries_zero : IsCRestrictedPowerSeries c R 0 := ...
  • One this is done, defining the algebraic structures.

This may be worth asking about on the Zulip (in the PR review channel)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

My supervisor and I agreed on this; I have pushed everything to adapt to this notation for now.

open scoped Topology

/-- The convergence property for restricted powerseries. -/
def Convergent (f : PowerSeries R) : Prop :=

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There also seems to be a more general definition of restricted power series available for arbitrary topological rings - is your plan to connect the two at a later stage? It may be worth discussing this on Zulip to ask for maintainer feedback on this!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I had no plan to extend the definition further than I have given. I will ask around about this though. Thanks.

@WilliamCoram
WilliamCoram requested a review from Paul-Lez April 1, 2025 15:37
@grunweg

grunweg commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

@WilliamCoram Can you fix the failing build, please? (Otherwise, this PR will not appear on the review queue - which makes it much less likely for reviewers to notice it.)

@grunweg

grunweg commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

If you'd like help, feel free to ask on zulip, e.g. in the new members channel!

@grunweg grunweg changed the title feat: Restricted powerseries form a ring feat: restricted power series form a ring Apr 11, 2025
@WilliamCoram
WilliamCoram requested a review from kbuzzard April 20, 2025 21:15
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 14, 2025
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 18, 2025
@WilliamCoram
WilliamCoram requested a review from CBirkbeck June 18, 2025 11:03
@WilliamCoram

Copy link
Copy Markdown
Collaborator Author

Closed as moved file to a fork to meet contribution guidelines.

@YaelDillies
YaelDillies deleted the WilliamCoram_RestrictedPowerseries branch August 18, 2025 07:31
mathlib-bors Bot pushed a commit that referenced this pull request Sep 22, 2025
We define restricted power series over a normed ring R, and show they form a ring when R has the ultrametric property
<NEWLINE>
This is an update of [#23338](#23338) to meet new expectations of PRs from forks.

Co-authored-by: Riccardo Brasca <[email protected]>
mathlib-bors Bot pushed a commit that referenced this pull request Sep 22, 2025
We define restricted power series over a normed ring R, and show they form a ring when R has the ultrametric property
<NEWLINE>
This is an update of [#23338](#23338) to meet new expectations of PRs from forks.

Co-authored-by: Riccardo Brasca <[email protected]>
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
We define restricted power series over a normed ring R, and show they form a ring when R has the ultrametric property
<NEWLINE>
This is an update of [leanprover-community#23338](leanprover-community#23338) to meet new expectations of PRs from forks.

Co-authored-by: Riccardo Brasca <[email protected]>
zhuyizheng pushed a commit to zhuyizheng/mathlib4 that referenced this pull request Oct 2, 2025
We define restricted power series over a normed ring R, and show they form a ring when R has the ultrametric property
<NEWLINE>
This is an update of [leanprover-community#23338](leanprover-community#23338) to meet new expectations of PRs from forks.

Co-authored-by: Riccardo Brasca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-number-theory Number theory (also use t-algebra or t-analysis to specialize)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants