Skip to content

[Merged by Bors] - feat(NumberTheory): IsDiscreteValuationRing (v.adicCompletionIntegers K) - #27117

Closed
pechersky wants to merge 14 commits into
leanprover-community:masterfrom
pechersky:is-dvr-adic-completion-integers
Closed

pechersky wants to merge 14 commits into
leanprover-community:masterfrom
pechersky:is-dvr-adic-completion-integers

Conversation

@pechersky

@pechersky pechersky commented Jul 14, 2025 •

Copy link
Copy Markdown
Contributor

as well as the base ring that is not completed
the proofs are basically identical
which means there is some missing API
but this is the shortest route to
getting local fields ready
and showing that K_v is locally compact


Open in Gitpod

pechersky added 10 commits July 14, 2025 00:05
for both the base valuation and the one on the extension
helper lemma to get access to prop-style properties of valuation integer ring
…ingleton`

and general DenselyOrdered API and instances
needed for showing that valuations mapping into Zm0 are discrete and thus DVR
for proving that it is not densely ordered
for PIR -> DVR for valuations
simplifies coercions and golfs existing instance
…s K)`

as well as the base ring that is not completed
the proofs are basically identical
which means there is some missing API
but this is the shortest route to
getting local fields ready
and showing that `K_v` is locally compact
@pechersky pechersky added t-number-theory Number theory (also use t-algebra or t-analysis to specialize) t-analysis Analysis (normed *, calculus) t-algebra Algebra (groups, rings, fields, etc) labels Jul 14, 2025
@github-actions

github-actions Bot commented Jul 14, 2025 •

Copy link
Copy Markdown

PR summary 0775e914be

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.NumberTheory.NumberField.FinitePlaces 2809 2816 +7 (+0.25%)
Import changes for all files
Files Import difference
Mathlib.NumberTheory.NumberField.FinitePlaces Mathlib.NumberTheory.NumberField.ProductFormula 7

Declarations diff

+ instance : IsDiscreteValuationRing (v.adicCompletionIntegers K)
+ instance : IsDiscreteValuationRing (v.valuation K).integer
+ instance : IsPrincipalIdealRing (v.adicCompletionIntegers K) := by
+ instance : IsPrincipalIdealRing (v.valuation K).integer := by

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

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jul 14, 2025
@alreadydone alreadydone changed the title feat(NumberTheory): `IsDiscreteValuationRing (v.adicCompletionIntegers K) feat(NumberTheory): IsDiscreteValuationRing (v.adicCompletionIntegers K) Jul 14, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Jul 15, 2025
…ial (#27114)

for proving that it is not densely ordered
for PIR -> DVR for valuations

Since this is a nontrivial set, then it can't be densely ordered when the codomain is Zm0, as shown in #27112. Together, it is used in #27117 to show that a Zm0-valued valuation's subring is a DVR. 




Co-authored-by: Yakov Pechersky <[email protected]>
@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 Jul 15, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

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

BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Jul 16, 2025
…ial (leanprover-community#27114)

for proving that it is not densely ordered
for PIR -> DVR for valuations

Since this is a nontrivial set, then it can't be densely ordered when the codomain is Zm0, as shown in leanprover-community#27112. Together, it is used in leanprover-community#27117 to show that a Zm0-valued valuation's subring is a DVR. 




Co-authored-by: Yakov Pechersky <[email protected]>
@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 Jul 16, 2025
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…ial (leanprover-community#27114)

for proving that it is not densely ordered
for PIR -> DVR for valuations

Since this is a nontrivial set, then it can't be densely ordered when the codomain is Zm0, as shown in leanprover-community#27112. Together, it is used in leanprover-community#27117 to show that a Zm0-valued valuation's subring is a DVR. 




Co-authored-by: Yakov Pechersky <[email protected]>
hrmacbeth pushed a commit to szqzs/mathlib4 that referenced this pull request Jul 28, 2025
…ial (leanprover-community#27114)

for proving that it is not densely ordered
for PIR -> DVR for valuations

Since this is a nontrivial set, then it can't be densely ordered when the codomain is Zm0, as shown in leanprover-community#27112. Together, it is used in leanprover-community#27117 to show that a Zm0-valued valuation's subring is a DVR. 




Co-authored-by: Yakov Pechersky <[email protected]>
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Aug 7, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 7, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown

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

@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 Aug 8, 2025

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Sep 1, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Sep 1, 2025
…s K)` (#27117)

as well as the base ring that is not completed
the proofs are basically identical
which means there is some missing API
but this is the shortest route to
getting local fields ready
and showing that `K_v` is locally compact
@mathlib-bors

mathlib-bors Bot commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(NumberTheory): IsDiscreteValuationRing (v.adicCompletionIntegers K) [Merged by Bors] - feat(NumberTheory): IsDiscreteValuationRing (v.adicCompletionIntegers K) Sep 1, 2025
@mathlib-bors mathlib-bors Bot closed this Sep 1, 2025
CBirkbeck pushed a commit to CBirkbeck/mathlib4 that referenced this pull request Sep 8, 2025
…s K)` (leanprover-community#27117)

as well as the base ring that is not completed
the proofs are basically identical
which means there is some missing API
but this is the shortest route to
getting local fields ready
and showing that `K_v` is locally compact
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…s K)` (leanprover-community#27117)

as well as the base ring that is not completed
the proofs are basically identical
which means there is some missing API
but this is the shortest route to
getting local fields ready
and showing that `K_v` is locally compact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc) t-analysis Analysis (normed *, calculus) 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.

5 participants