-
Notifications
You must be signed in to change notification settings - Fork 628
feat(RingTheory/PowerSeries/Substitution): add API #26961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(RingTheory/PowerSeries/Substitution): add API #26961
Conversation
PR summary bc780624b0
|
File | Base Count | Head Count | Change |
---|---|---|---|
Mathlib.RingTheory.PowerSeries.Substitution | 1411 | 1412 | +1 (+0.07%) |
Import changes for all files
Files | Import difference |
---|---|
Mathlib.RingTheory.PowerSeries.Substitution |
1 |
Declarations diff
+ rescaleAlgHom
+ rescaleAlgHom_apply
+ rescaleAlgHom_def
+ rescale_eq
+ rescale_eq_subst
+ rescale_map_eq_map_rescale
+ rescale_map_eq_map_rescale'
+ subst_def
+ subst_linear_subst_scalar_comm
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.
No changes to technical debt.
You can run this locally as
./scripts/technical-debt-metrics.sh pr_summary
- The
relative
value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolute
value is therelative
value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
@@ -624,6 +624,18 @@ theorem rescale_mul (a b : R) : rescale (a * b) = (rescale b).comp (rescale a) : | |||
ext | |||
simp [← rescale_rescale] | |||
|
|||
theorem rescale_map_eq_map_rescale' {S : Type*} [CommSemiring S] (φ : R →+* S) (r : R) (f : R⟦X⟧) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we find a better way to distinguish this lemma than the prime suffix?
rw [rescale_eq, RingHom.coe_coe, rescaleAlgHom_def, MvPowerSeries.rescaleAlgHom_apply] | ||
|
||
/-- When `p` is linear, substitution of `p` and then a scalar homothety is substitution of | ||
the homothety then `p`. -/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the homothety then `p`. -/ | |
the homothety then `p`. -/ |
intro d hd | ||
convert hp_lin d hd using 1 | ||
simp [Finsupp.weight, Finsupp.linearCombination, Finsupp.degree] | ||
rfl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rfl
seems to indicate missing API
Co-authored-by: @AntoineChambert-Loir