Download data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Smooth/SymbolPointwise.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 10.6 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Smooth/SymbolPointwise.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Smooth/SymbolPointwise.lean
-
curl -L -o SymbolPointwise.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Smooth/SymbolPointwise.lean
10.6 kB
| import OAI.AlgebraicGeometry.Comparison.Betti.HigherSmoothSymbols | |
| import OAI.AlgebraicGeometry.Comparison.Betti.AlternatingCovectors | |
| /-! # Symbol Pointwise -/ | |
| namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.SymbolPointwise | |
| noncomputable section | |
| section | |
| /-! Pointwise exterior-covector description of every realized algebraic symbol. -/ | |
| open scoped _root_.Manifold ContDiff | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [IsManifold π(β, E) β M] | |
| {A : Type*} [CommRing A] [Algebra β A] | |
| (Ο : A ββ[β] C(M, β)) | |
| (hΟ : β a : A, ContMDiff π(β, E) π(β, β) β (Ο a)) | |
| local instance tangentNormedGroup (x : M) : NormedAddCommGroup (TangentSpace π(β, E) x) := | |
| inferInstanceAs (NormedAddCommGroup E) | |
| local instance tangentNormedSpace (x : M) : NormedSpace β (TangentSpace π(β, E) x) := | |
| inferInstanceAs (NormedSpace β E) | |
| /-- The one-covector is the actual exterior derivative, evaluated at the given point. -/ | |
| def functionCovector (a : A) (x : M) : TangentSpace π(β, E) x [β^Fin 1]βL[β] β := | |
| Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (FormRealization.zeroFormMap Ο hΟ a) x | |
| theorem smoothSymbol_covectors : β (n : β) (a : Fin (n + 1) β A) (x : M), | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n a x = | |
| AlternatingCovectors.Smooth.iteratedCovectorWedge n (Ο (a 0) x) (fun i => functionCovector Ο hΟ (a i.succ) x) := by | |
| intro n | |
| induction n with | |
| | zero => intro a x; rfl | |
| | succ n ih => | |
| intro a x | |
| change AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge (HigherSmoothSymbols.smoothSymbol Ο hΟ n (Fin.init a) x) | |
| (functionCovector Ο hΟ (a (Fin.last (n + 1))) x) = | |
| AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge | |
| (AlternatingCovectors.Smooth.iteratedCovectorWedge n (Ο (a 0) x) | |
| (Fin.init (fun i : Fin (n + 1) => functionCovector Ο hΟ (a i.succ) x))) | |
| (functionCovector Ο hΟ (a (Fin.last n).succ) x) | |
| rw [ih] | |
| have hvec : (fun i : Fin n => functionCovector Ο hΟ (Fin.init a i.succ) x) = | |
| Fin.init (fun i : Fin (n + 1) => functionCovector Ο hΟ (a i.succ) x) := by | |
| funext i | |
| change functionCovector Ο hΟ (a i.succ.castSucc) x = | |
| functionCovector Ο hΟ (a i.castSucc.succ) x | |
| rw [Fin.succ_castSucc] | |
| rw [hvec] | |
| rfl | |
| theorem functionCovector_add (a b : A) (x : M) : | |
| functionCovector Ο hΟ (a + b) x = functionCovector Ο hΟ a x + functionCovector Ο hΟ b x := by | |
| unfold functionCovector | |
| rw [map_add, map_add] | |
| rfl | |
| theorem functionCovector_smul (c : β) (a : A) (x : M) : | |
| functionCovector Ο hΟ (c β’ a) x = c β’ functionCovector Ο hΟ a x := by | |
| unfold functionCovector | |
| rw [map_smul, map_smul] | |
| rfl | |
| /-- The scalar factors in Leibniz are actual evaluations at the same point. -/ | |
| theorem functionCovector_mul (a b : A) (x : M) : | |
| functionCovector Ο hΟ (a * b) x = | |
| Ο a x β’ functionCovector Ο hΟ b x + Ο b x β’ functionCovector Ο hΟ a x := by | |
| unfold functionCovector | |
| rw [FormRealization.d_zeroFormMap_mul] | |
| rfl | |
| theorem functionCovector_constant (c : β) (x : M) : | |
| functionCovector Ο hΟ (algebraMap β A c) x = 0 := by | |
| have hc : algebraMap β A c = c β’ (1 : A) := | |
| ((Algebra.smul_def c (1 : A)).trans (mul_one _)).symm | |
| rw [hc, functionCovector_smul] | |
| change c β’ (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (FormRealization.zeroFormMap Ο hΟ 1) x) = 0 | |
| rw [FormRealization.d_zeroFormMap_one] | |
| ext v | |
| exact mul_zero c | |
| /-- Every repeated algebraic differential vanishes in the actual smooth realization. -/ | |
| theorem smoothSymbol_repeated {n : β} (a : Fin (n + 1) β A) | |
| (i j : Fin n) (hij : i β j) (ha : a i.succ = a j.succ) : | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n a = 0 := by | |
| apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext | |
| intro x | |
| rw [smoothSymbol_covectors] | |
| exact AlternatingCovectors.Smooth.iteratedCovectorWedge_repeated _ _ i j hij (congrArg (fun b => functionCovector Ο hΟ b x) ha) | |
| end | |
| /-! Every defining algebraic form relation vanishes in genuine smooth forms. -/ | |
| open scoped _root_.Manifold ContDiff | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [IsManifold π(β, E) β M] | |
| {A : Type*} [CommRing A] [Algebra β A] | |
| (Ο : A ββ[β] C(M, β)) | |
| (hΟ : β a : A, ContMDiff π(β, E) π(β, β) β (Ο a)) | |
| attribute [local instance] tangentNormedGroup tangentNormedSpace | |
| theorem covectors_update_zero {n : β} (a : Fin (n + 1) β A) (b : A) (x : M) : | |
| (fun i : Fin n => functionCovector Ο hΟ (Function.update a 0 b i.succ) x) = | |
| (fun i => functionCovector Ο hΟ (a i.succ) x) := by | |
| funext i | |
| rw [Function.update_of_ne i.succ_ne_zero] | |
| theorem covectors_update_succ {n : β} (a : Fin (n + 1) β A) (i : Fin n) (b : A) (x : M) : | |
| (fun j : Fin n => functionCovector Ο hΟ (Function.update a i.succ b j.succ) x) = | |
| Function.update (fun j => functionCovector Ο hΟ (a j.succ) x) i (functionCovector Ο hΟ b x) := by | |
| change (fun b => functionCovector Ο hΟ b x) β Fin.tail (Function.update a i.succ b) = | |
| Function.update ((fun b => functionCovector Ο hΟ b x) β Fin.tail a) i (functionCovector Ο hΟ b x) | |
| rw [Fin.tail_update_succ, Function.comp_update] | |
| theorem smoothSymbol_add {n : β} (a : Fin (n + 1) β A) (i : Fin (n + 1)) (b c : A) : | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i (b + c)) = | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i b) + HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i c) := by | |
| apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext | |
| intro x | |
| change HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i (b + c)) x = | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i b) x + HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i c) x | |
| simp only [smoothSymbol_covectors] | |
| refine Fin.cases ?_ (fun j => ?_) i | |
| Β· simp only [covectors_update_zero, Function.update_self, map_add, ContinuousMap.add_apply] | |
| exact AlternatingCovectors.Smooth.iteratedCovectorWedge_add_coeff _ _ _ | |
| Β· simp only [covectors_update_succ, Function.update_of_ne (Ne.symm j.succ_ne_zero), functionCovector_add] | |
| exact AlternatingCovectors.Smooth.iteratedCovectorWedge_add_slot _ _ _ _ _ | |
| theorem smoothSymbol_smul {n : β} (a : Fin (n + 1) β A) (i : Fin (n + 1)) (c : β) (b : A) : | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i (c β’ b)) = | |
| c β’ HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i b) := by | |
| apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext | |
| intro x | |
| change HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i (c β’ b)) x = | |
| c β’ HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i b) x | |
| simp only [smoothSymbol_covectors] | |
| refine Fin.cases ?_ (fun j => ?_) i | |
| Β· simp only [covectors_update_zero, Function.update_self, map_smul, ContinuousMap.smul_apply, smul_eq_mul] | |
| exact AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_coeff _ _ _ | |
| Β· simp only [covectors_update_succ, Function.update_of_ne (Ne.symm j.succ_ne_zero), functionCovector_smul] | |
| exact AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_slot _ _ _ _ _ | |
| theorem smoothSymbol_leibniz {n : β} (a : Fin (n + 1) β A) (i : Fin n) (b c : A) : | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i.succ (b * c)) = | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update (Function.update a 0 (a 0 * b)) i.succ c) + | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update (Function.update a 0 (a 0 * c)) i.succ b) := by | |
| apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext | |
| intro x | |
| change HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i.succ (b * c)) x = | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update (Function.update a 0 (a 0 * b)) i.succ c) x + | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update (Function.update a 0 (a 0 * c)) i.succ b) x | |
| simp only [smoothSymbol_covectors, covectors_update_succ, covectors_update_zero, | |
| Function.update_of_ne (Ne.symm i.succ_ne_zero), Function.update_self, | |
| functionCovector_mul, map_mul, ContinuousMap.mul_apply] | |
| erw [AlternatingCovectors.Smooth.iteratedCovectorWedge_add_slot, AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_slot, | |
| AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_slot, | |
| mul_comm (Ο (a 0) x) (Ο b x), mul_comm (Ο (a 0) x) (Ο c x), | |
| AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_coeff, AlternatingCovectors.Smooth.iteratedCovectorWedge_smul_coeff] | |
| rfl | |
| theorem smoothSymbol_constant {n : β} (a : Fin (n + 1) β A) (i : Fin n) (c : β) : | |
| HigherSmoothSymbols.smoothSymbol Ο hΟ n (Function.update a i.succ (algebraMap β A c)) = 0 := by | |
| apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext | |
| intro x | |
| rw [smoothSymbol_covectors, covectors_update_succ, functionCovector_constant] | |
| exact AlternatingCovectors.Smooth.iteratedCovectorWedge_zero_slot _ _ _ | |
| /-- The complete presentation, including differential closure, is respected. -/ | |
| theorem rawSmoothMap_relation_zero {n : β} {r : Algebraic.Forms.RawForm A n} | |
| (hr : Algebraic.Forms.FormRelation A n r) : HigherSmoothSymbols.rawSmoothMap Ο hΟ n r = 0 := by | |
| induction hr with | |
| | add n a i b c => | |
| rw [map_sub, map_sub, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, | |
| smoothSymbol_add] | |
| abel | |
| | smul n a i c b => | |
| rw [map_sub, map_smul, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, smoothSymbol_smul, sub_self] | |
| | leibniz n a i b c => | |
| rw [map_sub, map_sub, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, HigherSmoothSymbols.rawSmoothMap_symbol, | |
| smoothSymbol_leibniz] | |
| abel | |
| | constant n a i c => rw [HigherSmoothSymbols.rawSmoothMap_symbol, smoothSymbol_constant] | |
| | alternating n a i j hij ha => rw [HigherSmoothSymbols.rawSmoothMap_symbol, smoothSymbol_repeated Ο hΟ a i j hij ha] | |
| | differential hr ih => rw [HigherSmoothSymbols.rawSmoothMap_d, ih, map_zero] | |
| end | |
| end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.SymbolPointwise | |