Zulip Chat Archive

Stream: Is there code for X?

Topic: Power series expansion


Andrew Yang (Feb 10 2025 at 02:20):

Given a HasFPowerSeriesOnBall, how can I write the function as an actual sum of power series plus a remainder with the "shifted power series"? Concretely, here is a sorry that I want to fill in, but I don't think this is stated in the right generality and it is probably why I couldn't find API for it.

import Mathlib

open NNReal Finset in
example (f :   ) (a :   ) {x : } {r : 0}
    (hf : HasFPowerSeriesOnBall f (.ofScalars  a) x r) (k : ) :
     g :   , HasFPowerSeriesOnBall g (.ofScalars  (a <| · + k)) x r 
      f = (fun z   i  range k, a i * (z - x) ^ i + g z * (z - x) ^ k) := by
  refine fun z  if z = x then a (k + 1) else
      (f z -  i  range k, a i * (z - x) ^ i) / (z - x) ^ k, ?_, ?_⟩
  · sorry -- I don't know how
  · sorry -- true by definition

Last updated: May 02 2025 at 03:31 UTC