Skip to content

Commit

Permalink
chore(data/polynomial/expand): update docstrings for move (#16044)
Browse files Browse the repository at this point in the history
Ref: #13776.
  • Loading branch information
Ruben-VandeVelde committed Aug 15, 2022
1 parent ecc542a commit 92b557b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/data/polynomial/expand.lean
Expand Up @@ -9,6 +9,13 @@ import tactic.ring_exp

/-!
# Expand a polynomial by a factor of p, so `∑ aₙ xⁿ` becomes `∑ aₙ xⁿᵖ`.
## Main definitions
* `polynomial.expand R p f`: expand the polynomial `f` with coefficients in a
commutative semiring `R` by a factor of p, so `expand R p (∑ aₙ xⁿ)` is `∑ aₙ xⁿᵖ`.
* `polynomial.contract p f`: the opposite of `expand`, so it sends `∑ aₙ xⁿᵖ` to `∑ aₙ xⁿ`.
-/

universes u v w
Expand Down
3 changes: 0 additions & 3 deletions src/field_theory/separable.lean
Expand Up @@ -20,9 +20,6 @@ properties about separable polynomials here.
## Main definitions
* `polynomial.separable f`: a polynomial `f` is separable iff it is coprime with its derivative.
* `polynomial.expand R p f`: expand the polynomial `f` with coefficients in a
commutative semiring `R` by a factor of p, so `expand R p (∑ aₙ xⁿ)` is `∑ aₙ xⁿᵖ`.
* `polynomial.contract p f`: the opposite of `expand`, so it sends `∑ aₙ xⁿᵖ` to `∑ aₙ xⁿ`.
-/

Expand Down

0 comments on commit 92b557b

Please sign in to comment.