Repository navigation
Conversation
PR summary 7113021a95
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.NumberTheory.Padics.HeightOneSpectrum | 2632 | 2647 | +15 (+0.57%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.NumberTheory.Padics.HeightOneSpectrum |
15 |
Declarations diff (regex)
+ Rat.HeightOneSpectrum.primesEquiv
+ absNorm_dvd_absNorm_of_liesOver
+ absNorm_ne_zero_nnreal
+ equivOfRingEquiv_apply_asIdeal
+ equivOfRingEquiv_symm_apply_asIdeal
+ instance : NeZero v.asIdeal := ⟨v.ne_bot⟩
+ primesEquivInt
+ primesEquivInt_apply_coe
+ primesEquivInt_symm_apply_asIdeal
+ primesEquiv_apply_coe
+ primesEquiv_symm_apply_asIdeal
+-+ one_lt_absNorm
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
7113021).
- +13 new declarations
- −1 removed declarations
+Ideal.absNorm_dvd_absNorm_of_liesOver
+Ideal.one_lt_absNorm
+IsDedekindDomain.HeightOneSpectrum.equivOfRingEquiv_apply_asIdeal
+IsDedekindDomain.HeightOneSpectrum.equivOfRingEquiv_symm_apply_asIdeal
+IsDedekindDomain.HeightOneSpectrum.instNeZeroIdealAsIdeal
+IsDedekindDomain.HeightOneSpectrum.primesEquiv
+IsDedekindDomain.HeightOneSpectrum.primesEquiv.congr_simp
+IsDedekindDomain.HeightOneSpectrum.primesEquivInt
+IsDedekindDomain.HeightOneSpectrum.primesEquivInt_apply_coe
+IsDedekindDomain.HeightOneSpectrum.primesEquivInt_symm_apply_asIdeal
+IsDedekindDomain.HeightOneSpectrum.primesEquiv_apply_coe
+IsDedekindDomain.HeightOneSpectrum.primesEquiv_symm_apply_asIdeal
+NumberField.HeightOneSpectrum.absNorm_ne_zero_nnreal
-Rat.HeightOneSpectrum.natGenerator.congr_simpDecrease in strong tech debt: (relative, absolute) = (2.00, 0.00)
| Current number | Change | Type (strong) |
|---|---|---|
| 1948 | -2 | backward.isDefEq.respectTransparency.types |
Current commit 7113021a95
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 |
…rm-cleanup # Conflicts: # Mathlib/RingTheory/Ideal/Int.lean
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
…rm-cleanup # Conflicts: # Mathlib/NumberTheory/Padics/HeightOneSpectrum.lean
This is the clean-up part of #42567, extracted so that the summability work can build on it.
Two divisibility and positivity results about the absolute norm of an ideal are generalized from
ℤto a Dedekind domain, and from prime ideals to proper ideals, with the earlier versions deprecated.The equivalence between the height-one prime ideals of the integral closure of
ℤinℚand the prime numbers is moved to the Dedekind domain files, where it belongs, and redefined through the absolute norm rather than through a generator of the corresponding ideal ofℤ. It now assumes less, and the auxiliary API it used to be built from is deprecated without replacement.Finally, the equivalence between the height-one spectra of two isomorphic rings is reworked so that the surjectivity proofs have the expected type, which removes the need for a
backward.isDefEqoption.The mathematics and design are mine. Claude Code was used as a coding assistant and for the housekeeping around this PR. 🤖