feat(IK): prove the three divisor-decomposition lemmas locally - #1749
Open
Chessing234 wants to merge 2 commits into
Open
feat(IK): prove the three divisor-decomposition lemmas locally#1749Chessing234 wants to merge 2 commits into
Chessing234 wants to merge 2 commits into
Conversation
A divisor of a coprime product splits, and the split is unique because the first component is forced: for any admissible pair, gcd(d, a) is that component, since the second component is coprime to a. Mathlib PR #36495 is expected to supply this; until that lands and the toolchain moves, the local statement need not be a `sorry`.
The divisor sum of `f` is the Dirichlet convolution `ζ * f`, and a convolution of multiplicative functions is multiplicative, so the sum splits over a coprime product in one step. Injectivity of `(a, b) ↦ a * b` on the product of divisor sets is the uniqueness half of `unique_divisor_decomposition`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
unique_divisor_decomposition,sum_divisors_mul_of_coprimeanddivisors_mul_injectiveare allsorry, each marked as upstreamed to Mathlib PR #36495. That PR is not in the pinned Mathlib (Nat.divisorshas no such lemmas there today), so the three are open in the meantime and#print axiomson anything above them reportssorryAx.The proofs are short:
unique_divisor_decomposition— existence isexists_dvd_and_dvd_of_dvd_mul; uniqueness because the first component is forced: for any admissible pair,gcd(d, a)is that component, since the second component dividesband is therefore coprime toa.sum_divisors_mul_of_coprime— the divisor sum offis the Dirichlet convolutionζ * f, andIsMultiplicative.mulsays a convolution of multiplicative functions is multiplicative, somap_mul_of_coprimegives it directly.divisors_mul_injective— the uniqueness half of the first lemma.I know the intent is to take these from Mathlib once the bump lands — happy to close this if you would rather wait. Swapping a local proof for the upstream lemma later is a one-line change per site, whereas the
sorrys are load-bearing for everything above them today.Refs #1011.