Repository navigation
[Merged by Bors] - chore(AlgebraicGeometry/EllipticCurve/*): improve some proofs - #22524
Multramate wants to merge 2 commits into
Conversation
PR summary 1978f2e8de
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.AlgebraicGeometry.EllipticCurve.Jacobian | 1464 | 1463 | -1 (-0.07%) |
| Mathlib.AlgebraicGeometry.EllipticCurve.Projective | 1464 | 1463 | -1 (-0.07%) |
Import changes for all files
| Files | Import difference |
|---|---|
5 filesMathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Degree Mathlib.AlgebraicGeometry.EllipticCurve.Group Mathlib.AlgebraicGeometry.EllipticCurve.Jacobian Mathlib.AlgebraicGeometry.EllipticCurve.Projective |
-1 |
Declarations diff
++ fromAffine_some_ne_zero
++ mk_ne_zero
++-- Equation.map
++-- baseChange_add
++-- equiv_iff_eq_of_Z_eq'
++-- fromAffine_ne_zero
++-- map_add
++-- map_addU
-++- map_dblU
-+-+ neg_smul
--++ baseChange_addX
--++ baseChange_addXYZ
--++ baseChange_addY
--++ baseChange_dblU
--++ baseChange_dblX
--++ baseChange_dblXYZ
--++ baseChange_dblY
--++ baseChange_dblZ
--++ baseChange_equation
--++ baseChange_neg
--++ baseChange_negAddY
--++ baseChange_negDblY
--++ baseChange_negY
--++ baseChange_nonsingular
--++ map_addX
--++ map_addXYZ
--++ map_addY
--++ map_addZ
--++ map_dblX
--++ map_dblXYZ
--++ map_dblY
--++ map_dblZ
--++ map_equation
--++ map_neg
--++ map_negAddY
--++ map_negDblY
--++ map_negY
--++ map_nonsingular
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for script/declarations_diff.sh contains some details about this script.
Decrease in tech debt: (relative, absolute) = (10.00, 0.01)
| Current number | Change | Type |
|---|---|---|
| 1221 | -10 | erw |
Current commit 1978f2e8de
Reference commit c94d2e2de0
You can run this locally as
./scripts/technical-debt-metrics.sh 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).
|
Thanks 🎉 bors merge |
This update cleans up some proofs in the Jacobian and projective coordinate files: - remove some `erw`s and `linear_combination'` - replace explicit `add` rewrites with the existing lemma `add_of(_not)_equiv` - change `open Classical` with `open scoped Classical` - add `mk_ne_zero` to simplify the proof of `fromAffine_ne_zero` - extract common variables in the `map` and `baseChange` lemmas
|
Pull request successfully merged into master. Build succeeded: |
This update cleans up some proofs in the Jacobian and projective coordinate files:
erws andlinear_combination'addrewrites with the existing lemmaadd_of(_not)_equivopen Classicalwithopen scoped Classicalmk_ne_zeroto simplify the proof offromAffine_ne_zeromapandbaseChangelemmas