Repository navigation
Conversation
|
This PR/issue depends on:
|
PR summary 09d67beb35
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.NumberTheory.NumberField.CMField | 3429 | 3154 | -275 (-8.02%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.NumberTheory.NumberField.CMField |
-275 |
5 filesMathlib.NumberTheory.FLT.Three Mathlib.NumberTheory.NumberField.Cyclotomic.Galois Mathlib.NumberTheory.NumberField.Cyclotomic.Ideal Mathlib.NumberTheory.NumberField.Cyclotomic.PID Mathlib.NumberTheory.NumberField.Ideal.Basic |
1 |
Mathlib.NumberTheory.NumberField.Cyclotomic.CMField (new file) |
3623 |
Declarations diff (regex)
+ Algebra.intCast_trace_int_eq_sum_automorphisms
+ Algebra.norm_one_add_smul_eq_one_of_isUnit
+ Units.ringOfIntegersComplexConj_eq_self_iff
+ coe_unitsComplexConj
+ dvd_of_intCast_dvd_sum_zsmul_toInteger_pow
+ dvd_sub_of_intCast_dvd_sum_zsmul_toInteger_pow
+ exists_natCast_dvd_pow_sub_intCast_pow
+ exists_notMem_and_notMem_and_spanSingleton_div_eq
+ indexRealUnits_eq_one_of_prime
+ indexRealUnits_eq_one_of_prime_pow
+ quotientMk_span_zeta_sub_one_apply
+ quotientMk_span_zeta_sub_one_comp
+ zeta_sub_one_dvd_trace_sub_smul
+ zeta_sub_one_pow_dvd_norm_one_add_smul_sub
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
09d67be).
- +14 new declarations
- −0 removed declarations
+Algebra.intCast_trace_int_eq_sum_automorphisms
+Algebra.norm_one_add_smul_eq_one_of_isUnit
+FractionalIdeal.exists_notMem_and_notMem_and_spanSingleton_div_eq
+IsCyclotomicExtension.Rat.exists_natCast_dvd_pow_sub_intCast_pow
+IsCyclotomicExtension.Rat.indexRealUnits_eq_one_of_prime
+IsCyclotomicExtension.Rat.indexRealUnits_eq_one_of_prime_pow
+IsCyclotomicExtension.Rat.quotientMk_span_zeta_sub_one_apply
+IsCyclotomicExtension.Rat.quotientMk_span_zeta_sub_one_comp
+IsCyclotomicExtension.Rat.zeta_sub_one_dvd_trace_sub_smul
+IsCyclotomicExtension.Rat.zeta_sub_one_pow_dvd_norm_one_add_smul_sub
+IsPrimitiveRoot.dvd_of_intCast_dvd_sum_zsmul_toInteger_pow
+IsPrimitiveRoot.dvd_sub_of_intCast_dvd_sum_zsmul_toInteger_pow
+NumberField.IsCMField.Units.ringOfIntegersComplexConj_eq_self_iff
+NumberField.IsCMField.coe_unitsComplexConjNo changes to strong technical debt.
No changes to weak technical debt.
Current commit 09d67beb35
Reference commit 9a422c5b43
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).
ℚ(ζ_{p^k})ℚ(ζ_{p^k})
This PR proves that, for an odd prime
p, the units of the cyclotomic fieldℚ(ζ_{p^(k+1)})are generated by the real units and the roots of unity, that is, the indexindexRealUnitsis equal to1.This result goes in a new file
NumberField/Cyclotomic/CMField.lean. We also moveIsCyclotomicExtension.Rat.isCMFieldand the corresponding instance fromNumberField/CMField.leanto this new file where they belong.This PR also make
unitsComplexConjadefand deprecateUnits.complexConj_eq_self_iffin favor of the newUnits.ringOfIntegersComplexConj_eq_self_iff.🤖 This result is used in the proof of the Kronecker-Weber theorem in #46376. Claude extracted it from my SKW project.