Documentation

HexTruncatedSeriesTheory.Ops

theorem HexTruncatedSeriesTheory.pow_eq_mathlib {R : Type u} {n : ℕ} [CommRing R] (a : Hex.TSeries R n) (k : ℕ) :
a.pow k = NPow.npow k a

The executable square-and-multiply power agrees with Mathlib's recursive monoid power. This bridges the standalone Pow instance in the Mathlib-free layer with the npow field supplied by commRing.

@[simp]

Truncation carries Mathlib powers to the executable square-and-multiply power.

@[simp]

Truncating Mathlib's constant series gives the executable constant series.

@[simp]

Truncating Mathlib's variable gives the executable variable.

@[simp]

Truncating an already truncated Mathlib series to a smaller precision is the direct truncation at that precision.

@[simp]

Executable multiplication by x^k is truncation of multiplication by Mathlib's X^k.

Coefficients of a truncated derivative agree with Mathlib's formal derivative wherever both are represented.

@[simp]

Executable differentiation commutes with truncation, at the precision lost by differentiation.