Skip to content

[Merged by Bors] - chore(AdicCompletion): generalise algebra instance to separate rings - #19466

Closed
YaelDillies wants to merge 2 commits into
masterfrom
adic_completion_general_smul
Closed

[Merged by Bors] - chore(AdicCompletion): generalise algebra instance to separate rings#19466
YaelDillies wants to merge 2 commits into
masterfrom
adic_completion_general_smul

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Nov 25, 2024

Copy link
Copy Markdown
Contributor

In the existing instance Algebra R (AdicCompletion I R), R appears three times: On the left, on the right, and in I : Ideal R. The left occurrence can be generalised to a ring S such that R is a S-algebra.

Closes ImperialCollegeLondon/FLT/issues/230.

From FLT


Open in Gitpod

@YaelDillies YaelDillies added t-algebra Algebra (groups, rings, fields, etc) FLT part of the ongoing formalization of Fermat's Last Theorem labels Nov 25, 2024
@github-actions

github-actions Bot commented Nov 25, 2024

Copy link
Copy Markdown

PR summary bf5de9cbbb

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ instIsCentralScalar
+ instIsScalarTower
+ instSMul
+ instSMulCommClass
+ instance [Algebra S R] : Algebra S (AdicCompletion I R)
+ instance [Semiring S] [SMul S R] [Module S M] [IsScalarTower S R M] :
+ val_add_apply
+ val_neg
+ val_neg_apply
+ val_smul_apply
+ val_sub_apply
+ val_sum_apply
+ val_zero_apply
- instance : Algebra R (AdicCompletion I R)
- instance : Module R (AdicCompletion I M)
- instance : SMul R (AdicCompletion I M)
- instance : SMul ℕ (AdicCompletion I M)
- instance : SMul ℤ (AdicCompletion I M)

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

Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated
@YaelDillies
YaelDillies force-pushed the adic_completion_general_smul branch from dc6152b to 323e4c3 Compare November 25, 2024 18:14
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean
@kbuzzard kbuzzard added the awaiting-author A reviewer has asked the author a question or requested changes. label Dec 4, 2024
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated
@YaelDillies YaelDillies removed the awaiting-author A reviewer has asked the author a question or requested changes. label Dec 7, 2024
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/Basic.lean Outdated

@eric-wieser eric-wieser 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.

bors d+

Thanks!

@mathlib-bors

mathlib-bors Bot commented Dec 8, 2024

Copy link
Copy Markdown
Contributor

✌️ YaelDillies 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 the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Dec 8, 2024
In the existing instance `Algebra R (AdicCompletion I R)`, `R` appears three times: On the left, on the right, and in `I : Ideal R`. The left occurrence can be generalised to a ring `S` such that `R` is a `S`-algebra.

From FLT
@YaelDillies
YaelDillies force-pushed the adic_completion_general_smul branch from 285449d to bf5de9c Compare December 8, 2024 07:40
@YaelDillies

Copy link
Copy Markdown
Contributor Author

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Dec 8, 2024
…19466)

In the existing instance `Algebra R (AdicCompletion I R)`, `R` appears three times: On the left, on the right, and in `I : Ideal R`. The left occurrence can be generalised to a ring `S` such that `R` is a `S`-algebra.

Closes ImperialCollegeLondon/FLT/issues/230.

From FLT
@mathlib-bors

mathlib-bors Bot commented Dec 8, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(AdicCompletion): generalise algebra instance to separate rings [Merged by Bors] - chore(AdicCompletion): generalise algebra instance to separate rings Dec 8, 2024
@mathlib-bors mathlib-bors Bot closed this Dec 8, 2024
@mathlib-bors
mathlib-bors Bot deleted the adic_completion_general_smul branch December 8, 2024 07:51
YaelDillies added a commit that referenced this pull request Jan 31, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Feb 14, 2025
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). FLT part of the ongoing formalization of Fermat's Last Theorem t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoiding Algebra K (adicCompletion L w) diamond

3 participants