Commit 2024-11-15 09:38 12f31632

View on Github →

chore(Algebra/Polynomial/Degree): split Definitions.lean (#19038) This file was very big and contained many more things than just the definitions of Polynomial.degree et al. This PR splits off the following files:

  • Degree/Operations.lean: lemmas to compute the degree for various ring operations (this is probably the file to import if you're missing something after merging this PR)
  • Degree/Domain.lean: Polynomial.instIsDomain instance and its consequences
  • Degree/Monomial.lean: lemmas to compute the degree for monomials
  • Degree/SmallDegree.lean: lemmas where the degree is a specific small number such as 2 or 3
  • Degree/Support.lean: lemmas about writing polynomials as sum over the support
  • Degree/Units.lean: lemmas about the degree of units

Estimated changes

deleted theorem Polynomial.X_add_C_ne_one
deleted theorem Polynomial.as_sum_range'
deleted theorem Polynomial.as_sum_range
deleted theorem Polynomial.as_sum_support
deleted theorem Polynomial.degree_X_add_C
deleted theorem Polynomial.degree_X_sub_C
deleted theorem Polynomial.degree_add_C
deleted theorem Polynomial.degree_cubic
deleted theorem Polynomial.degree_linear
deleted theorem Polynomial.degree_lt_wf
deleted theorem Polynomial.degree_mul'
deleted theorem Polynomial.degree_mul
deleted theorem Polynomial.degree_mul_X
deleted theorem Polynomial.degree_pow'
deleted theorem Polynomial.degree_pow
deleted theorem Polynomial.degree_smul_le
deleted theorem Polynomial.degree_sub_C
deleted theorem Polynomial.isUnit_iff
deleted theorem Polynomial.natDegree_mul'
deleted theorem Polynomial.natDegree_mul
deleted theorem Polynomial.natDegree_pow'
deleted theorem Polynomial.natDegree_pow
deleted theorem Polynomial.not_isUnit_X
deleted theorem Polynomial.sum_fin
deleted theorem Polynomial.sum_over_range
added theorem Polynomial.degree_mul'
added theorem Polynomial.degree_mul
added theorem Polynomial.degree_pow'
added theorem Polynomial.degree_pow