constructor
· intro h
havehc : Finsupp.linearCombination F (wordSeries (F:=F) (n := n))
f.polynomial = 0:=by
simpa only [Finsupp.linearCombination_apply] using
(f.series_eq_smul_sum.symm.trans h)
havehp : f.polynomial = 0:=
(linearIndependent_iff.mp (wordSeries_independent (F:=F) (n := n))) f.polynomial hc
funext w
exact congrArg (funp : Word n →₀ F=> p w) hp
· intro h
havehp : f.polynomial = 0:=by
ext w
exact congrFun h w
simp [series, hp]