Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2020-07-16 19:13 33d45bf0

View on Github →

chore(data/polynomial): break up behemoth file (#3407) Polynomial refactor The goal is to split data/polynomial.lean into several self-contained files in the same place. For the time being, the new place for all these files is data/polynomial/. Future PRs may simplify proofs, remove duplicate lemmas, and move files out of the data directory.

Estimated changes

deleted def polynomial.C
deleted theorem polynomial.C_0
deleted theorem polynomial.C_1
deleted theorem polynomial.C_add
deleted theorem polynomial.C_bit0
deleted theorem polynomial.C_bit1
deleted theorem polynomial.C_comp
deleted theorem polynomial.C_eq_int_cast
deleted theorem polynomial.C_eq_nat_cast
deleted theorem polynomial.C_inj
deleted theorem polynomial.C_mul'
deleted theorem polynomial.C_mul
deleted theorem polynomial.C_neg
deleted theorem polynomial.C_pow
deleted theorem polynomial.C_sub
deleted def polynomial.X
deleted theorem polynomial.X_comp
deleted theorem polynomial.X_dvd_iff
deleted theorem polynomial.X_mul
deleted theorem polynomial.X_ne_zero
deleted theorem polynomial.X_pow_mul
deleted theorem polynomial.add_comp
deleted def polynomial.aeval
deleted theorem polynomial.aeval_C
deleted theorem polynomial.aeval_X
deleted theorem polynomial.aeval_alg_hom
deleted theorem polynomial.aeval_def
deleted theorem polynomial.apply_eq_coeff
deleted theorem polynomial.as_sum
deleted theorem polynomial.card_nth_roots
deleted theorem polynomial.card_roots'
deleted theorem polynomial.card_roots
deleted theorem polynomial.coe_norm_unit
deleted def polynomial.coeff
deleted theorem polynomial.coeff_C
deleted theorem polynomial.coeff_C_mul
deleted theorem polynomial.coeff_C_mul_X
deleted theorem polynomial.coeff_C_zero
deleted theorem polynomial.coeff_X
deleted theorem polynomial.coeff_X_one
deleted theorem polynomial.coeff_X_pow
deleted theorem polynomial.coeff_X_zero
deleted theorem polynomial.coeff_add
deleted theorem polynomial.coeff_map
deleted theorem polynomial.coeff_mk
deleted theorem polynomial.coeff_mul
deleted theorem polynomial.coeff_mul_C
deleted theorem polynomial.coeff_mul_X
deleted theorem polynomial.coeff_neg
deleted theorem polynomial.coeff_one
deleted theorem polynomial.coeff_one_zero
deleted theorem polynomial.coeff_single
deleted theorem polynomial.coeff_smul
deleted theorem polynomial.coeff_sub
deleted theorem polynomial.coeff_sum
deleted theorem polynomial.coeff_zero
deleted def polynomial.comp
deleted theorem polynomial.comp_C
deleted theorem polynomial.comp_X
deleted theorem polynomial.comp_one
deleted theorem polynomial.comp_zero
deleted def polynomial.degree
deleted theorem polynomial.degree_C
deleted theorem polynomial.degree_C_le
deleted theorem polynomial.degree_X
deleted theorem polynomial.degree_X_le
deleted theorem polynomial.degree_X_pow
deleted theorem polynomial.degree_X_sub_C
deleted theorem polynomial.degree_add_C
deleted theorem polynomial.degree_add_div
deleted theorem polynomial.degree_add_le
deleted theorem polynomial.degree_div_le
deleted theorem polynomial.degree_div_lt
deleted theorem polynomial.degree_eq_bot
deleted theorem polynomial.degree_lt_wf
deleted theorem polynomial.degree_map'
deleted theorem polynomial.degree_map
deleted theorem polynomial.degree_map_le
deleted theorem polynomial.degree_mul_eq'
deleted theorem polynomial.degree_mul_eq
deleted theorem polynomial.degree_mul_le
deleted theorem polynomial.degree_neg
deleted theorem polynomial.degree_one
deleted theorem polynomial.degree_one_le
deleted theorem polynomial.degree_pow_eq'
deleted theorem polynomial.degree_pow_eq
deleted theorem polynomial.degree_pow_le
deleted theorem polynomial.degree_sub_le
deleted theorem polynomial.degree_sub_lt
deleted theorem polynomial.degree_sum_le
deleted theorem polynomial.degree_zero
deleted theorem polynomial.derivative_C
deleted theorem polynomial.derivative_X
deleted theorem polynomial.derivative_add
deleted theorem polynomial.derivative_map
deleted theorem polynomial.derivative_mul
deleted theorem polynomial.derivative_neg
deleted theorem polynomial.derivative_one
deleted theorem polynomial.derivative_pow
deleted theorem polynomial.derivative_sub
deleted theorem polynomial.derivative_sum
deleted def polynomial.div
deleted def polynomial.div_X
deleted theorem polynomial.div_X_C
deleted theorem polynomial.div_X_add
deleted theorem polynomial.div_def
deleted theorem polynomial.div_wf_lemma
deleted def polynomial.eval
deleted theorem polynomial.eval_C
deleted theorem polynomial.eval_X
deleted theorem polynomial.eval_add
deleted theorem polynomial.eval_bit0
deleted theorem polynomial.eval_bit1
deleted theorem polynomial.eval_comp
deleted theorem polynomial.eval_int_cast
deleted theorem polynomial.eval_map
deleted theorem polynomial.eval_monomial
deleted theorem polynomial.eval_mul
deleted theorem polynomial.eval_nat_cast
deleted theorem polynomial.eval_neg
deleted theorem polynomial.eval_one
deleted theorem polynomial.eval_pow
deleted theorem polynomial.eval_smul
deleted theorem polynomial.eval_sub
deleted theorem polynomial.eval_sum
deleted theorem polynomial.eval_unique
deleted theorem polynomial.eval_zero
deleted def polynomial.eval₂
deleted theorem polynomial.eval₂_C
deleted theorem polynomial.eval₂_X
deleted theorem polynomial.eval₂_X_pow
deleted theorem polynomial.eval₂_add
deleted theorem polynomial.eval₂_bit0
deleted theorem polynomial.eval₂_bit1
deleted theorem polynomial.eval₂_comp
deleted theorem polynomial.eval₂_hom
deleted theorem polynomial.eval₂_map
deleted theorem polynomial.eval₂_mul
deleted theorem polynomial.eval₂_neg
deleted theorem polynomial.eval₂_one
deleted theorem polynomial.eval₂_pow
deleted theorem polynomial.eval₂_smul
deleted theorem polynomial.eval₂_sub
deleted theorem polynomial.eval₂_sum
deleted theorem polynomial.eval₂_zero
deleted theorem polynomial.ext
deleted theorem polynomial.ext_iff
deleted theorem polynomial.hom_eval₂
deleted theorem polynomial.irreducible_X
deleted theorem polynomial.is_root.def
deleted def polynomial.is_root
deleted theorem polynomial.is_unit_C
deleted theorem polynomial.is_unit_iff
deleted def polynomial.lcoeff
deleted theorem polynomial.lcoeff_apply
deleted def polynomial.map
deleted theorem polynomial.map_C
deleted theorem polynomial.map_X
deleted theorem polynomial.map_add
deleted theorem polynomial.map_div
deleted theorem polynomial.map_eq_zero
deleted theorem polynomial.map_id
deleted theorem polynomial.map_injective
deleted theorem polynomial.map_map
deleted theorem polynomial.map_mod
deleted theorem polynomial.map_monomial
deleted theorem polynomial.map_mul
deleted theorem polynomial.map_nat_cast
deleted theorem polynomial.map_neg
deleted theorem polynomial.map_one
deleted theorem polynomial.map_pow
deleted theorem polynomial.map_sub
deleted theorem polynomial.map_zero
deleted theorem polynomial.mem_map_range
deleted theorem polynomial.mem_nth_roots
deleted theorem polynomial.mem_roots
deleted def polynomial.mod
deleted theorem polynomial.mod_by_monic_X
deleted theorem polynomial.mod_def
deleted theorem polynomial.monic.as_sum
deleted theorem polynomial.monic.def
deleted theorem polynomial.monic.ne_zero
deleted def polynomial.monic
deleted theorem polynomial.monic_X
deleted theorem polynomial.monic_X_add_C
deleted theorem polynomial.monic_X_sub_C
deleted theorem polynomial.monic_map
deleted theorem polynomial.monic_mul
deleted theorem polynomial.monic_one
deleted theorem polynomial.monic_pow
deleted def polynomial.monomial
deleted theorem polynomial.monomial_add
deleted theorem polynomial.mul_coeff_zero
deleted theorem polynomial.mul_comp
deleted theorem polynomial.nat_degree_C
deleted theorem polynomial.nat_degree_X
deleted theorem polynomial.nat_degree_map
deleted theorem polynomial.nat_degree_neg
deleted theorem polynomial.nat_degree_one
deleted theorem polynomial.not_is_unit_X
deleted theorem polynomial.not_monic_zero
deleted theorem polynomial.one_comp
deleted theorem polynomial.prime_X
deleted theorem polynomial.prime_X_sub_C
deleted theorem polynomial.root_X_sub_C
deleted theorem polynomial.root_mul
deleted theorem polynomial.roots_X_sub_C
deleted theorem polynomial.roots_mul
deleted theorem polynomial.sum_C_index
deleted theorem polynomial.sum_C_mul_X_eq
deleted theorem polynomial.sum_over_range
deleted theorem polynomial.support_zero
deleted theorem polynomial.zero_comp
deleted def polynomial
added theorem polynomial.degree_map'
added theorem polynomial.monic_X
added theorem polynomial.monic_one
added theorem polynomial.degree_C
added theorem polynomial.degree_C_le
added theorem polynomial.degree_X
added theorem polynomial.degree_X_le
added theorem polynomial.degree_neg
added theorem polynomial.degree_one
added theorem polynomial.degree_zero
added theorem polynomial.monic.def
added def polynomial.monic
added theorem polynomial.X_dvd_iff
added def polynomial.div_X
added theorem polynomial.div_X_C
added theorem polynomial.div_X_add
added theorem polynomial.C_comp
added theorem polynomial.C_neg
added theorem polynomial.C_sub
added theorem polynomial.X_comp
added theorem polynomial.add_comp
added theorem polynomial.coeff_map
added def polynomial.comp
added theorem polynomial.comp_C
added theorem polynomial.comp_X
added theorem polynomial.comp_one
added theorem polynomial.comp_zero
added def polynomial.eval
added theorem polynomial.eval_C
added theorem polynomial.eval_X
added theorem polynomial.eval_add
added theorem polynomial.eval_bit0
added theorem polynomial.eval_bit1
added theorem polynomial.eval_map
added theorem polynomial.eval_neg
added theorem polynomial.eval_one
added theorem polynomial.eval_smul
added theorem polynomial.eval_sub
added theorem polynomial.eval_sum
added theorem polynomial.eval_zero
added theorem polynomial.eval₂_C
added theorem polynomial.eval₂_X
added theorem polynomial.eval₂_add
added theorem polynomial.eval₂_map
added theorem polynomial.eval₂_mul
added theorem polynomial.eval₂_neg
added theorem polynomial.eval₂_one
added theorem polynomial.eval₂_pow
added theorem polynomial.eval₂_sub
added theorem polynomial.eval₂_sum
added theorem polynomial.hom_eval₂
added theorem polynomial.is_root.def
added def polynomial.map
added theorem polynomial.map_C
added theorem polynomial.map_X
added theorem polynomial.map_add
added theorem polynomial.map_id
added theorem polynomial.map_map
added theorem polynomial.map_mul
added theorem polynomial.map_neg
added theorem polynomial.map_one
added theorem polynomial.map_pow
added theorem polynomial.map_sub
added theorem polynomial.map_zero
added theorem polynomial.one_comp
added theorem polynomial.zero_comp
added theorem polynomial.card_roots'
added theorem polynomial.card_roots
added theorem polynomial.is_unit_iff
added theorem polynomial.mem_roots
added theorem polynomial.prime_X
added theorem polynomial.root_mul
added theorem polynomial.roots_mul