Skip to content

[Merged by Bors] - feat: add Ideal.IsPrincipal.of_isPrincipal_pow_of_coprime#39982

Closed
riccardobrasca wants to merge 18 commits into
leanprover-community:masterfrom
riccardobrasca:principal-power-classgroup
Closed

[Merged by Bors] - feat: add Ideal.IsPrincipal.of_isPrincipal_pow_of_coprime#39982
riccardobrasca wants to merge 18 commits into
leanprover-community:masterfrom
riccardobrasca:principal-power-classgroup

Conversation

@riccardobrasca

Copy link
Copy Markdown
Member

Open in Gitpod

@github-actions github-actions Bot added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-ring-theory Ring theory labels May 28, 2026
@riccardobrasca
riccardobrasca force-pushed the principal-power-classgroup branch from 4a10a83 to 17f3e5d Compare May 28, 2026 17:12
@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 May 28, 2026
@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown

PR summary c0a8576cf7

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ FractionalIdeal.isPrincipal.of_isPrincipal_pow_of_coprime
+ Ideal.IsPrincipal.of_isPrincipal_pow_of_coprime

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

  • +2 new declarations
  • −0 removed declarations
+FractionalIdeal.isPrincipal.of_isPrincipal_pow_of_coprime
+Ideal.IsPrincipal.of_isPrincipal_pow_of_coprime

No changes to strong technical debt.

No changes to weak technical debt.

Current commit c0a8576cf7
Reference commit 8f560a2211

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

@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 Jun 5, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

# Conflicts:
#	Mathlib/RingTheory/ClassGroup.lean
@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 5, 2026
@riccardobrasca
riccardobrasca temporarily deployed to cache-upload-forks June 5, 2026 10:55 — with GitHub Actions Inactive
Comment thread Mathlib/RingTheory/ClassGroup/Basic.lean Outdated
Comment thread Mathlib/RingTheory/ClassGroup/Basic.lean Outdated
Comment thread Mathlib/RingTheory/ClassGroup/Basic.lean Outdated
@mariainesdff

Copy link
Copy Markdown
Contributor

I have the impression that it will be worth it to create a ClassGroup namespace in this file (but not in this PR).

@mariainesdff mariainesdff added the awaiting-author A reviewer has asked the author a question or requested changes. label Jun 25, 2026
riccardobrasca and others added 6 commits June 25, 2026 11:39
Co-authored-by: María Inés de Frutos-Fernández <88536493+mariainesdff@users.noreply.github.com>
Co-authored-by: María Inés de Frutos-Fernández <88536493+mariainesdff@users.noreply.github.com>
Co-authored-by: María Inés de Frutos-Fernández <88536493+mariainesdff@users.noreply.github.com>
@riccardobrasca riccardobrasca removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jun 30, 2026
@riccardobrasca

riccardobrasca commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

@mariainesdff can you have another look? Thanks!

Comment thread Mathlib/RingTheory/ClassGroup/Basic.lean Outdated
@mariainesdff

Copy link
Copy Markdown
Contributor

Thanks!
maintainer delegate

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by mariainesdff.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 20, 2026
riccardobrasca and others added 3 commits July 21, 2026 10:03
Co-authored-by: María Inés de Frutos-Fernández <88536493+mariainesdff@users.noreply.github.com>

@Vierkantor Vierkantor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! 🎉

bors d+

Comment thread Mathlib/RingTheory/ClassGroup/Basic.lean Outdated
Comment thread Mathlib/RingTheory/ClassGroup/Basic.lean Outdated
@mathlib-bors mathlib-bors Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jul 22, 2026
@mathlib-bors

mathlib-bors Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

✌️ riccardobrasca can now approve this pull request until 2026-08-05 17:24 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

⚠️ This delegation only covers changes within Archive/**, Counterexamples/**, docs/**, DownstreamTest/**, Mathlib/**, MathlibTest/**, widget/**, Archive.lean, Counterexamples.lean, docs.lean, Mathlib.lean; an author commit touching anything else will revoke it. Bors also revokes it if a later push changes too many files for it to check the full list — even if it stays within scope.

@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 22, 2026
riccardobrasca and others added 3 commits July 23, 2026 13:18
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@riccardobrasca

Copy link
Copy Markdown
Member Author

bors merge

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Jul 23, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jul 23, 2026
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Jul 23, 2026
@mathlib-bors

mathlib-bors Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: add Ideal.IsPrincipal.of_isPrincipal_pow_of_coprime [Merged by Bors] - feat: add Ideal.IsPrincipal.of_isPrincipal_pow_of_coprime Jul 23, 2026
@mathlib-bors mathlib-bors Bot closed this Jul 23, 2026
@mathlib-bors mathlib-bors Bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jul 23, 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