Skip to content

[Merged by Bors] - feat(Algebra/Order): add Finite(Mul)ArchimedeanClass - #28394

Closed
wwylele wants to merge 14 commits into
leanprover-community:masterfrom
wwylele:wwylele-hahn-finiteclass
Closed

wwylele wants to merge 14 commits into
leanprover-community:masterfrom
wwylele:wwylele-hahn-finiteclass

Conversation

@wwylele

@wwylele wwylele commented Aug 14, 2025 •

Copy link
Copy Markdown
Collaborator

Separated from #25970. This adds a subtype of (Mul)ArchimedeanClass that is useful in formalizing Hahn embedding theorem.

The only code change since last review was doc string update for to_additive


Open in Gitpod

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Aug 14, 2025
@github-actions

github-actions Bot commented Aug 14, 2025 •

Copy link
Copy Markdown

PR summary 45e60eb5ad

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.Order.Archimedean.Class 760 761 +1 (+0.13%)
Import changes for all files
Files Import difference
Mathlib.Algebra.Order.Archimedean.Class 1

Declarations diff

+ FiniteMulArchimedeanClass
+ ind
+ instance [MulArchimedean M] : Subsingleton (FiniteMulArchimedeanClass M)
+ instance [Nontrivial M] : Nonempty (FiniteMulArchimedeanClass M) := by
+ lift
+ liftOrderHom
+ liftOrderHom_mk
+ lift_mk
+ mk
+ mk_le_mk
+ mk_lt_mk
+ val_mk
+ withTopOrderIso
+ withTopOrderIso_apply_coe
+ withTopOrderIso_symm_apply
+ «forall»

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

@wwylele
wwylele requested a review from YaelDillies August 14, 2025 07:21

@YaelDillies YaelDillies 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 for splitting!

@wwylele
wwylele force-pushed the wwylele-hahn-finiteclass branch from b0014fa to 21ac1ab Compare August 14, 2025 08:13
@wwylele
wwylele requested a review from YaelDillies August 14, 2025 08:46
@wwylele
wwylele requested a review from YaelDillies August 14, 2025 09:39

@YaelDillies YaelDillies 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!

maintainer delegate

@github-actions

Copy link
Copy Markdown

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

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 14, 2025
@wwylele
wwylele force-pushed the wwylele-hahn-finiteclass branch from c31ee49 to 3537a15 Compare August 14, 2025 22:48
@wwylele

wwylele commented Aug 14, 2025

Copy link
Copy Markdown
Collaborator Author

Small changes since YaelDillies's review on 0d83c45:

  • Addressed comment on missing space
  • Fixed a "an/a" typo in doc
  • Rebased to latest master to resolve a conflict in the imports

@bryangingechen bryangingechen 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+

@mathlib-bors

mathlib-bors Bot commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

✌️ wwylele can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Aug 18, 2025
@wwylele

wwylele commented Aug 18, 2025

Copy link
Copy Markdown
Collaborator Author

Looks like I got hit by cache issue again... let me just try merging?

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Aug 18, 2025
Separated from #25970. This adds a subtype of (Mul)ArchimedeanClass that is useful in formalizing Hahn embedding theorem.

The only code change since last review was doc string update for `to_additive`
@mathlib-bors

mathlib-bors Bot commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Algebra/Order): add Finite(Mul)ArchimedeanClass [Merged by Bors] - feat(Algebra/Order): add Finite(Mul)ArchimedeanClass Aug 18, 2025
@mathlib-bors mathlib-bors Bot closed this Aug 18, 2025
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Aug 20, 2025
…unity#28394)

Separated from leanprover-community#25970. This adds a subtype of (Mul)ArchimedeanClass that is useful in formalizing Hahn embedding theorem.

The only code change since last review was doc string update for `to_additive`
Paul-Lez pushed a commit to Paul-Lez/mathlib4 that referenced this pull request Aug 23, 2025
…unity#28394)

Separated from leanprover-community#25970. This adds a subtype of (Mul)ArchimedeanClass that is useful in formalizing Hahn embedding theorem.

The only code change since last review was doc string update for `to_additive`
pechersky pushed a commit to pechersky/mathlib4 that referenced this pull request Aug 25, 2025
…unity#28394)

Separated from leanprover-community#25970. This adds a subtype of (Mul)ArchimedeanClass that is useful in formalizing Hahn embedding theorem.

The only code change since last review was doc string update for `to_additive`
@wwylele
wwylele deleted the wwylele-hahn-finiteclass branch September 2, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants