Documentation

HexTruncatedSeriesTheory.Basic

theorem HexTruncatedSeriesTheory.natCast_succ {R : Type u} {n : ℕ} [CommRing R] (k : ℕ) :
↑(k + 1) = ↑k + 1

The core natural cast obeys Mathlib's successor law.

theorem HexTruncatedSeriesTheory.nsmul_zero {R : Type u} {n : ℕ} [CommRing R] (a : Hex.TSeries R n) :
0 • a = 0

The core natural scalar action obeys Mathlib's zero law.

theorem HexTruncatedSeriesTheory.nsmul_succ {R : Type u} {n : ℕ} [CommRing R] (k : ℕ) (a : Hex.TSeries R n) :
(k + 1) • a = k • a + a

The core natural scalar action obeys Mathlib's successor law.

@[instance_reducible]

Mathlib's commutative-ring structure on truncated series, pinned to the executable operations from the Mathlib-free core.

Equations
  • One or more equations did not get rendered due to their size.
noncomputable def HexTruncatedSeriesTheory.ofPowerSeries {R : Type u} {n : ℕ} [CommRing R] (f : PowerSeries R) :

Truncate a Mathlib power series to the first n coefficients.

Equations
Instances For
    @[simp]
    theorem HexTruncatedSeriesTheory.coeff_ofPowerSeries {R : Type u} {n : ℕ} [CommRing R] (f : PowerSeries R) (i : ℕ) (hi : i < n) :

    Coefficients of a truncated Mathlib power series agree below the precision.

    Truncation from power series is a ring homomorphism.

    Equations
    Instances For
      @[simp]

      Applying the truncation ring homomorphism is definitionally the same as truncating a Mathlib power series.

      Every truncated series is represented by a Mathlib power series.

      The kernel of coefficient truncation is the principal ideal (X^n).

      Fixed-precision series are power series modulo X^n.

      Equations
      Instances For
        @[simp]

        The quotient equivalence sends a power-series representative to its coefficient truncation.

        @[instance_reducible, instance 800]

        A rational algebra contains every natural inverse required by the Mathlib-free algorithms.

        Equations