Repository navigation
Conversation
PR summary 7e7059942bImport 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 7e7059942b
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. |
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. It was extracted by Claude from the SKW project.