cfahlgren1/math / lean /OAI /Algebra /FormulaHitting /SeriesFaithfulness.lean
cfahlgren1's picture
download
raw
977 Bytes
import OAI.Algebra.FormulaHitting.FormulaSeries
import OAI.Algebra.FormulaHitting.WordIndependence
namespace OAI
namespace NCHitting
namespace Formula
variable {F : Type*} {n : ℕ} [Field F] [CharZero F]
theorem series_eq_zero_iff (f : Formula F n) : f.series = 0 ↔ f.coeff = 0 := by
constructor
· intro h
have hc : 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)
have hp : f.polynomial = 0 :=
(linearIndependent_iff.mp (wordSeries_independent (F := F) (n := n))) f.polynomial hc
funext w
exact congrArg (fun p : Word n →₀ F => p w) hp
· intro h
have hp : f.polynomial = 0 := by
ext w
exact congrFun h w
simp [series, hp]
theorem series_ne_zero (f : Formula F n) (hf : f.coeff ≠ 0) : f.series ≠ 0 :=
mt f.series_eq_zero_iff.mp hf
end Formula
end NCHitting
end OAI

Xet Storage Details

Size:
977 Bytes
·
Xet hash:
bd7d8a8e0a1b4c28b1a1f943c496191c151c1e3782bef48ccaadfe05358e16fd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.