Repository navigation
refactor: TrivSqZeroExt extending Prod - #43232
Parcly-Taxel wants to merge 11 commits into
Conversation
PR summary ef23181274
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Topology.Instances.TrivSqZeroExt | 1368 | 1369 | +1 (+0.07%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Topology.Instances.TrivSqZeroExt |
1 |
Declarations diff (regex)
+ addEquiv
+ continuous_mk
+ equiv
+ instance : IsBoundedSMul S (tsze R M)
+ instance : NormedAddCommGroup (tsze R M)
+ instance : NormedAlgebra 𝕜 (tsze R M)
+ instance : NormedCommRing (tsze R M)
+ instance : NormedRing (tsze R M)
+ instance : NormedSpace 𝕜 (tsze R M)
+ instance : SeminormedAddCommGroup (tsze R M)
+ instance : SeminormedCommRing (tsze R M)
+ instance : SeminormedRing (tsze R M)
+ instance : TopologicalSpace (tsze R M)
+ instance : UniformSpace (tsze R M) := instUniformSpaceProd.comap equiv
+ instance [T2Space R] [T2Space M] : T2Space (tsze R M) := isEmbedding_equiv.t2Space
+ isEmbedding_equiv
+ mk_bijective
+ mk_injective
+ mk_surjective
+ mk_toProd
+ toProd_bijective
+ toProd_inj_iff
+ toProd_injective
+ toProd_mk
+ toProd_surjective
+ uniformEquivProd
- ext
- fst
- instL1IsBoundedSMul
- instL1NormedAddCommGroup
- instL1NormedAlgebra
- instL1NormedCommRing
- instL1NormedRing
- instL1NormedSpace
- instL1SeminormedAddCommGroup
- instL1SeminormedCommRing
- instL1SeminormedRing
- instTopologicalSpace
- instUniformSpace
- instance [T2Space R] [T2Space M] : T2Space (tsze R M)
- snd
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
ef23181).
- +43 new declarations
- −13 removed declarations
-Matrix.dualNumberEquiv_apply
+Matrix.dualNumberEquiv_apply_fst
+Matrix.dualNumberEquiv_apply_snd
+TrivSqZeroExt.addEquiv
+TrivSqZeroExt.addEquiv_apply
+TrivSqZeroExt.addEquiv_symm_apply
+TrivSqZeroExt.casesOn
+TrivSqZeroExt.continuous_mk
+TrivSqZeroExt.ctorIdx
+TrivSqZeroExt.equiv
+TrivSqZeroExt.equiv_apply
+TrivSqZeroExt.equiv_symm_apply
-TrivSqZeroExt.fst
+TrivSqZeroExt.instIsBoundedSMul
-TrivSqZeroExt.instL1IsBoundedSMul
-TrivSqZeroExt.instL1NormedAddCommGroup
-TrivSqZeroExt.instL1NormedAlgebra
-TrivSqZeroExt.instL1NormedCommRing
-TrivSqZeroExt.instL1NormedRing
-TrivSqZeroExt.instL1NormedSpace
-TrivSqZeroExt.instL1SeminormedAddCommGroup
-TrivSqZeroExt.instL1SeminormedCommRing
-TrivSqZeroExt.instL1SeminormedRing
+TrivSqZeroExt.instNormedAddCommGroup
+TrivSqZeroExt.instNormedAlgebra
+TrivSqZeroExt.instNormedCommRing
+TrivSqZeroExt.instNormedRing
+TrivSqZeroExt.instNormedSpace
+TrivSqZeroExt.instSeminormedAddCommGroup
+TrivSqZeroExt.instSeminormedCommRing
+TrivSqZeroExt.instSeminormedRing
-TrivSqZeroExt.invertibleEquivInvertibleFst_symm_apply_invOf
+TrivSqZeroExt.invertibleEquivInvertibleFst_symm_apply_invOf_fst
+TrivSqZeroExt.invertibleEquivInvertibleFst_symm_apply_invOf_snd
+TrivSqZeroExt.isEmbedding_equiv
+TrivSqZeroExt.mk
+TrivSqZeroExt.mk.inj
+TrivSqZeroExt.mk.injEq
+TrivSqZeroExt.mk.noConfusion
+TrivSqZeroExt.mk.sizeOf_spec
+TrivSqZeroExt.mk_bijective
+TrivSqZeroExt.mk_injective
+TrivSqZeroExt.mk_surjective
+TrivSqZeroExt.mk_toProd
+TrivSqZeroExt.noConfusion
+TrivSqZeroExt.noConfusionType
+TrivSqZeroExt.rec
+TrivSqZeroExt.recOn
-TrivSqZeroExt.snd
+TrivSqZeroExt.toProd
+TrivSqZeroExt.toProd_bijective
+TrivSqZeroExt.toProd_inj_iff
+TrivSqZeroExt.toProd_injective
+TrivSqZeroExt.toProd_mk
+TrivSqZeroExt.toProd_surjective
+TrivSqZeroExt.uniformEquivProdDecrease in strong tech debt: (relative, absolute) = (1.30, 0.00)
| Current number | Change | Type (strong) |
|---|---|---|
| 3496 | -4 | backward.isDefEq.respectTransparency |
| 1949 | -1 | backward.isDefEq.respectTransparency.types |
| 486 | -1 | erw |
Current commit ef23181274
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).
TrivSqZeroExt as a 2-field structureTrivSqZeroExt extending Prod
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
| R × M | ||
| It is a square-zero extension because `M ^ 2 = 0`. -/ | ||
| @[ext] | ||
| structure TrivSqZeroExt (R : Type u) (M : Type v) extends R × M |
There was a problem hiding this comment.
See also #26976, where we decided not to extend Prod. Though I don't think it's possible to give more informative names to the fields in this case.
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
Define à la
Unitization(#mathlib4 > TrivSqZeroExt as a 2-field structure @ 💬)This PR came out of investigating the source of the
DualQuaternionslowdown in #43078. (DualNumber Ris an abbrev forTrivSqZeroExt R R.)Topology.Instances.TrivSqZeroExtandAnalysis.Normed.Algebra.TrivSqZeroExtwere filled in with significant help from GPT-6.1 Sol.