math / data /lean /OAI /AlgebraicGeometry /CycleClass /Thom /BilinearSupportSum.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.9 kB
import OAI.AlgebraicGeometry.CycleClass.Thom.Betti
/-! # Bilinear Support Sum -/
namespace OAI.AlgebraicGeometry.CycleClass.Thom.BilinearSupportSum.Constructions
noncomputable section
/-! Bilinear comparison requires equality only for the support pairs
actually occurring with nonzero coefficients in the given cycles. -/
open scoped BigOperators
variable {ΞΉ ΞΊ M : Type} [AddCommGroup M] [Module β„š M]
theorem bilinear_apply_support_sum
(F : (ΞΉ β†’β‚€ β„š) β†’β‚—[β„š] (ΞΊ β†’β‚€ β„š) β†’β‚—[β„š] M) (a : ΞΉ β†’β‚€ β„š) (b : ΞΊ β†’β‚€ β„š) :
F a b = βˆ‘ i ∈ a.support, βˆ‘ j ∈ b.support, (a i * b j) β€’ F (Finsupp.single i 1) (Finsupp.single j 1) := by
classical
have ha : a = βˆ‘ i ∈ a.support, a i β€’ Finsupp.single i (1 : β„š) := by
simpa only [Finsupp.sum, Finsupp.smul_single, smul_eq_mul, mul_one] using (Finsupp.sum_single a).symm
have hb : b = βˆ‘ j ∈ b.support, b j β€’ Finsupp.single j (1 : β„š) := by
simpa only [Finsupp.sum, Finsupp.smul_single, smul_eq_mul, mul_one] using (Finsupp.sum_single b).symm
conv_lhs => rw [ha, hb]
simp only [map_sum, map_smul, LinearMap.sum_apply, LinearMap.smul_apply, Finset.smul_sum, smul_smul]
rw [Finset.sum_comm]
apply Finset.sum_congr rfl
intro i hi
apply Finset.sum_congr rfl
intro j hj
rw [mul_comm]
theorem bilinear_apply_eq_of_support_pairs
(F G : (ΞΉ β†’β‚€ β„š) β†’β‚—[β„š] (ΞΊ β†’β‚€ β„š) β†’β‚—[β„š] M) (a : ΞΉ β†’β‚€ β„š) (b : ΞΊ β†’β‚€ β„š)
(h : βˆ€ i ∈ a.support, βˆ€ j ∈ b.support,
F (Finsupp.single i 1) (Finsupp.single j 1) = G (Finsupp.single i 1) (Finsupp.single j 1)) :
F a b = G a b := by
rw [bilinear_apply_support_sum F a b, bilinear_apply_support_sum G a b]
apply Finset.sum_congr rfl
intro i hi
apply Finset.sum_congr rfl
intro j hj
rw [h i hi j hj]
end
end OAI.AlgebraicGeometry.CycleClass.Thom.BilinearSupportSum.Constructions