Repository navigation
Conversation
PR summary 63a20d81f3
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.RingTheory.Polynomial.Cyclotomic.Eval | 2843 | 2844 | +1 (+0.04%) |
| Mathlib.NumberTheory.NumberField.Cyclotomic.Basic | 3599 | 3600 | +1 (+0.03%) |
Import changes for all files
| Files | Import difference |
|---|---|
31 filesMathlib.Analysis.Fourier.ZMod Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar Mathlib.NumberTheory.AddCharacter.Trace Mathlib.NumberTheory.Cyclotomic.Discriminant Mathlib.NumberTheory.Cyclotomic.Gal Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots Mathlib.NumberTheory.DirichletCharacter.GaussSum Mathlib.NumberTheory.Fermat Mathlib.NumberTheory.GaussSum Mathlib.NumberTheory.JacobiSum.Basic Mathlib.NumberTheory.LSeries.DirichletContinuation Mathlib.NumberTheory.LSeries.Nonvanishing Mathlib.NumberTheory.LSeries.PrimesInAP Mathlib.NumberTheory.LSeries.WeakPNT Mathlib.NumberTheory.LSeries.ZMod Mathlib.NumberTheory.LSeries.ZetaZeros Mathlib.NumberTheory.LegendreSymbol.AddCharacter Mathlib.NumberTheory.LegendreSymbol.Complex Mathlib.NumberTheory.LegendreSymbol.JacobiSymbol Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.GaussSum Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity Mathlib.NumberTheory.LucasLehmer Mathlib.NumberTheory.NumberField.CMField Mathlib.NumberTheory.NumberField.Cyclotomic.Basic Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings Mathlib.NumberTheory.NumberField.Cyclotomic.Three Mathlib.NumberTheory.PrimesCongruentOne Mathlib.RingTheory.LittleWedderburn Mathlib.RingTheory.Polynomial.Cyclotomic.Eval Mathlib.Tactic.NormNum.LegendreSymbol Mathlib.Tactic |
1 |
Declarations diff (regex)
+ eval_one_cyclotomic_of_not_isPrimePow
+ isUnit_natCast_iff_eq_one
+ isUnit_sub_one_iff
+ isUnit_sub_one_iff_isUnit_eval_one_cyclotomic
+ isUnit_sub_one_iff_of_prime_pow
+ isUnit_sub_one_of_not_isPrimePow
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
63a20d8).
- +6 new declarations
- −0 removed declarations
+IsPrimitiveRoot.isUnit_sub_one_iff
+IsPrimitiveRoot.isUnit_sub_one_iff_isUnit_eval_one_cyclotomic
+IsPrimitiveRoot.isUnit_sub_one_iff_of_prime_pow
+IsPrimitiveRoot.isUnit_sub_one_of_not_isPrimePow
+Polynomial.eval_one_cyclotomic_of_not_isPrimePow
+isUnit_natCast_iff_eq_oneNo changes to strong technical debt.
No changes to weak technical debt.
Current commit 63a20d81f3
Reference commit f1070cd4d9
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).
|
This pull request has conflicts, please merge |
…-sub-one # Conflicts: # Mathlib/RingTheory/Polynomial/Cyclotomic/Eval.lean
|
This pull request has conflicts, please merge |
…-sub-one # Conflicts: # Mathlib/RingTheory/RootsOfUnity/CyclotomicUnits.lean
artie2000
left a comment
There was a problem hiding this comment.
Thanks!
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by artie2000. |
|
Thanks! bors merge |
…45220) For a primitive `n`-th root of unity `ζ` in a domain, `ζ - 1` is a unit precisely when the `n`-th cyclotomic polynomial takes a unit value at `1`. Consequently `ζ - 1` is a unit when `n > 1` is not a prime power, and, when `algebraMap ℤ R` is a local homomorphism (e.g. for rings of integers), only then. We also add `eval_one_cyclotomic_of_not_isPrimePow`, stated with `IsPrimePow`, and deprecate `eval_one_cyclotomic_not_prime_pow` in its favour. The hypothesis of `IsPrimitiveRoot.norm_toInteger_sub_one_eq_one` is restated with `IsPrimePow`. :robot: Claude extracted this PR from my [SKW project](https://github.com/xroblot/SKW).
|
Pull request successfully merged into master. Build succeeded: |
ζ - 1 a unitζ - 1 a unit
…eanprover-community#45220) For a primitive `n`-th root of unity `ζ` in a domain, `ζ - 1` is a unit precisely when the `n`-th cyclotomic polynomial takes a unit value at `1`. Consequently `ζ - 1` is a unit when `n > 1` is not a prime power, and, when `algebraMap ℤ R` is a local homomorphism (e.g. for rings of integers), only then. We also add `eval_one_cyclotomic_of_not_isPrimePow`, stated with `IsPrimePow`, and deprecate `eval_one_cyclotomic_not_prime_pow` in its favour. The hypothesis of `IsPrimitiveRoot.norm_toInteger_sub_one_eq_one` is restated with `IsPrimePow`. :robot: Claude extracted this PR from my [SKW project](https://github.com/xroblot/SKW).
For a primitive
n-th root of unityζin a domain,ζ - 1is a unit precisely when then-th cyclotomic polynomial takes a unit value at1. Consequentlyζ - 1is a unit whenn > 1is not a prime power, and, whenalgebraMap ℤ Ris a local homomorphism (e.g. for rings of integers), only then. We also addeval_one_cyclotomic_of_not_isPrimePow, stated withIsPrimePow, and deprecateeval_one_cyclotomic_not_prime_powin its favour. The hypothesis ofIsPrimitiveRoot.norm_toInteger_sub_one_eq_oneis restated withIsPrimePow.🤖 Claude extracted this PR from my SKW project.