Skip to content

[Merged by Bors] - feat(RingTheory): krull dimension of a polynomial ring in an infinite number of variables - #41098

Closed
vlad902 wants to merge 3 commits into
leanprover-community:masterfrom
vlad902:krull-dim-infinite-mvpoly
Closed

[Merged by Bors] - feat(RingTheory): krull dimension of a polynomial ring in an infinite number of variables#41098
vlad902 wants to merge 3 commits into
leanprover-community:masterfrom
vlad902:krull-dim-infinite-mvpoly

Conversation

@vlad902

@vlad902 vlad902 commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Add a simp lemma that dim(R[X_1, ...]) = ∞ and also derive an ENat-valued lemma that dim(R[X_s]) = dim(R) + card(X_s). Note that I keep the original lemma for finite index sets as @[simp] since this is likely to be the more common case in practice.


Open in Gitpod

@github-actions github-actions Bot added the t-ring-theory Ring theory label Jun 27, 2026
@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown

PR summary bc0d031df7

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ MvPolynomial.ringKrullDim_of_isNoetherianRing_of_finite
+ add_top_of_ne_bot
+ ringKrullDim_mvPolynomial_of_infinite
+ top_add_of_ne_bot

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

Lean-aware diff — post-build, computed from the Lean environment (commit bc0d031).

  • +4 new declarations
  • −0 removed declarations
+MvPolynomial.ringKrullDim_of_isNoetherianRing_of_finite
+WithBot.add_top_of_ne_bot
+WithBot.top_add_of_ne_bot
+ringKrullDim_mvPolynomial_of_infinite

No changes to strong technical debt.
No changes to weak technical debt.

Current commit bc0d031df7
Reference commit 251e86bd1f

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py 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).

@mathlib-merge-conflicts mathlib-merge-conflicts 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 Jul 8, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

@vlad902
vlad902 force-pushed the krull-dim-infinite-mvpoly branch from 432b060 to b2717ba Compare July 9, 2026 07:01
@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 9, 2026
@vlad902
vlad902 force-pushed the krull-dim-infinite-mvpoly branch from b2717ba to e3dd444 Compare August 1, 2026 08:02
@vlad902
vlad902 force-pushed the krull-dim-infinite-mvpoly branch from e3dd444 to a1c6ca5 Compare August 11, 2026 16:56
Comment thread Mathlib/RingTheory/KrullDimension/NonZeroDivisors.lean Outdated
@robin-carlier robin-carlier added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Sep 5, 2026
@robin-carlier

Copy link
Copy Markdown
Contributor

Apart from the naming nitpick, LGTM!

@vlad902
vlad902 force-pushed the krull-dim-infinite-mvpoly branch from a1c6ca5 to 8ce61eb Compare September 5, 2026 13:21
@vlad902 vlad902 removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Sep 5, 2026
… number of variables

Add a simp lemma that `dim(R[X_1, ...]) = ∞` and also derive an
ENat-valued lemma that `dim(R[X_s]) = dim(R) + card(X_s)`. Note that I
keep the original lemma for finite index sets as @[simp] since this is
likely to be the more common case in practice.
@vlad902
vlad902 force-pushed the krull-dim-infinite-mvpoly branch from 8ce61eb to bc0d031 Compare September 5, 2026 14:57
@robin-carlier

Copy link
Copy Markdown
Contributor

Thanks!

maintainer merge

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by robin-carlier.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Sep 6, 2026

@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

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Sep 7, 2026
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Sep 7, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 7, 2026
… number of variables (#41098)

Add a simp lemma that `dim(R[X_1, ...]) = ∞` and also derive an ENat-valued lemma that `dim(R[X_s]) = dim(R) + card(X_s)`. Note that I keep the original lemma for finite index sets as @[simp] since this is likely to be the more common case in practice.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 7, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Sep 7, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Sep 7, 2026
… number of variables (#41098)

Add a simp lemma that `dim(R[X_1, ...]) = ∞` and also derive an ENat-valued lemma that `dim(R[X_s]) = dim(R) + card(X_s)`. Note that I keep the original lemma for finite index sets as @[simp] since this is likely to be the more common case in practice.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Sep 7, 2026
@mathlib-bors

mathlib-bors Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(RingTheory): krull dimension of a polynomial ring in an infinite number of variables [Merged by Bors] - feat(RingTheory): krull dimension of a polynomial ring in an infinite number of variables Sep 7, 2026
@mathlib-bors mathlib-bors Bot closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. ready-to-merge This PR has been sent to bors. t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants