Repository navigation
Conversation
PR summary e19e7a2456Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 5156 | 1 | exposed public sections |
Current commit e19e7a2456
Reference commit c47f9ad906
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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
|
Cool! Previous attempt at #28676, in which it was also discussed that perhaps the bundled version should simply replace btw may I suggest prefixing the title with "bundle"? (though this check doesn't block merging) |
Thanks for the pointer, I hadn't seen that there was already a PR on this. It looks inactive, but I'll contact the author to make sure. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
LGTM. @SnirBroshi anything else, or are you OK with where this is now? |
SnirBroshi
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by SnirBroshi. |
…rithmetic function (#46097) This PR defines Euler's totient function as an arithmetic function, `ArithmeticFunction.totient`, in a new file `NumberTheory/ArithmeticFunction/Totient.lean`. It proves that it is multiplicative, that its Dirichlet convolution with `ζ` is the identity and that the convolution of `μ` with the identity is the totient. It also proves that `φ (lcm m n) * φ (gcd m n) = φ m * φ n`. This supersedes #28676, which was closed by its author. In the discussion there, it was suggested that the bundled version could replace `Nat.totient` altogether, but there did not seem to be a consensus, so this PR keeps both, with `ArithmeticFunction.totient` unfolding to `Nat.totient`. The replacement can be done in a follow-up PR if desired. :robot: This result is used in the proof of Stickelberger's theorem in #46022. Claude extracted it from my [SKW project](https://github.com/xroblot/SKW).
|
Pull request successfully merged into master. Build succeeded: |
…rithmetic function (leanprover-community#46097) This PR defines Euler's totient function as an arithmetic function, `ArithmeticFunction.totient`, in a new file `NumberTheory/ArithmeticFunction/Totient.lean`. It proves that it is multiplicative, that its Dirichlet convolution with `ζ` is the identity and that the convolution of `μ` with the identity is the totient. It also proves that `φ (lcm m n) * φ (gcd m n) = φ m * φ n`. This supersedes leanprover-community#28676, which was closed by its author. In the discussion there, it was suggested that the bundled version could replace `Nat.totient` altogether, but there did not seem to be a consensus, so this PR keeps both, with `ArithmeticFunction.totient` unfolding to `Nat.totient`. The replacement can be done in a follow-up PR if desired. :robot: This result is used in the proof of Stickelberger's theorem in leanprover-community#46022. Claude extracted it from my [SKW project](https://github.com/xroblot/SKW).
This PR defines Euler's totient function as an arithmetic function,
ArithmeticFunction.totient, in a new fileNumberTheory/ArithmeticFunction/Totient.lean. It proves that it is multiplicative, that its Dirichlet convolution withζis the identity and that the convolution ofμwith the identity is the totient. It also proves thatφ (lcm m n) * φ (gcd m n) = φ m * φ n.This supersedes #28676, which was closed by its author. In the discussion there, it was suggested that the bundled version could replace
Nat.totientaltogether, but there did not seem to be a consensus, so this PR keeps both, withArithmeticFunction.totientunfolding toNat.totient. The replacement can be done in a follow-up PR if desired.🤖 This result is used in the proof of Stickelberger's theorem in #46022. Claude extracted it from my SKW project.