Skip to content

feat(Algebra/SkewPolynomial/Basic): add API#37437

Open
mariainesdff wants to merge 2 commits intomasterfrom
skew_poly_1
Open

feat(Algebra/SkewPolynomial/Basic): add API#37437
mariainesdff wants to merge 2 commits intomasterfrom
skew_poly_1

Conversation

@mariainesdff
Copy link
Copy Markdown
Contributor

We add API for SkewPolynomial, including monomial, coeff, C and X.

Co-authored by: @xgenereux.


Open in Gitpod

@mariainesdff mariainesdff added the t-algebra Algebra (groups, rings, fields, etc) label Mar 31, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

PR summary 5ccfc60402

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.SkewPolynomial.Basic 983 990 +7 (+0.71%)
Import changes for all files
Files Import difference
Mathlib.Algebra.SkewPolynomial.Basic 7

Declarations diff

+ C
+ CRingHom
+ CRingHom_eq_C
+ C_0
+ C_1
+ C_add
+ C_eq_natCast
+ C_eq_zero
+ C_inj
+ C_injective
+ C_mul
+ C_mul_X_eq_monomial
+ C_mul_X_pow_eq_monomial
+ C_mul_monomial
+ C_pow
+ Nontrivial.of_polynomial_ne
+ X
+ X_mul
+ X_mul_monomial
+ X_pow_mul
+ X_pow_mul_monomial
+ addHom_ext
+ addHom_ext'
+ coeff
+ coeff_C
+ coeff_C_ne_zero
+ coeff_C_succ
+ coeff_C_zero
+ coeff_X
+ coeff_X_of_ne_one
+ coeff_X_one
+ coeff_X_zero
+ coeff_monomial
+ coeff_monomial_succ
+ coeff_natCast_ite
+ coeff_ofNat_succ
+ coeff_ofNat_zero
+ coeff_one
+ coeff_one_zero
+ coeff_zero
+ eq_zero_of_eq_zero
+ ext
+ ext_iff
+ linearMap_ext'
+ mem_support_iff
+ monomial_eq_monomial_iff
+ monomial_eq_zero_iff
+ monomial_injective
+ monomial_mul_C
+ monomial_mul_X
+ monomial_mul_X_pow
+ monomial_one_one_eq_X
+ monomial_one_right_eq_X_pow
+ monomial_zero_left
+ mul_def
+ notMem_support_iff
+ sum
+ sum_C_index
+ sum_def
+ sum_def'
+ sum_monomial
+ sum_monomial_index
+ sum_sum_index
+ sum_zero
+ support_eq_skewMonoidAlgebra_support
+ zero_def

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


Increase in tech debt: (relative, absolute) = (2.00, 0.00)
Current number Change Type
636 2 erw

Current commit 894399be75
Reference commit 5ccfc60402

You can run this locally as

./scripts/reporting/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 the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@mathlib-merge-conflicts mathlib-merge-conflicts bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 10, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants