Download data/lean/OAI/Probability/FKPressure/ComplexSeries.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FKPressure/ComplexSeries.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FKPressure/ComplexSeries.lean
-
curl -L -o ComplexSeries.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FKPressure/ComplexSeries.lean
4.22 kB
| import OAI.Probability.FKPressure.Coefficients | |
| namespace OAI | |
| noncomputable section | |
| open Finset FormalMultilinearSeries | |
| open scoped Classical Topology NNReal ENNReal | |
| namespace BelowOne.PressureSeries | |
| open MultiaffineDerivative | |
| variable {V : Type*} [Fintype V] | |
| def complexify (p : FormalMultilinearSeries β (V β β) β) : | |
| FormalMultilinearSeries β (V β β) β := fun n => | |
| β Ο : Fin n β V, (weight p β¨n,Οβ© : β) β’ | |
| (ContinuousMultilinearMap.mkPiAlgebra β (Fin n) β).compContinuousLinearMap | |
| (fun j => ContinuousLinearMap.proj (Ο j)) | |
| lemma complexify_apply (p : FormalMultilinearSeries β (V β β) β) | |
| (n : β) (x : Fin n β V β β) : | |
| complexify p n x = β Ο : Fin n β V, (weight p β¨n,Οβ© : β) * β j, x j (Ο j) := by | |
| simp only [complexify, _root_.sum_apply, _root_.smul_apply, | |
| ContinuousMultilinearMap.compContinuousLinearMap_apply, | |
| ContinuousMultilinearMap.mkPiAlgebra_apply, ContinuousLinearMap.proj_apply, smul_eq_mul] | |
| lemma complexify_real (p : FormalMultilinearSeries β (V β β) β) | |
| (n : β) (x : Fin n β V β β) : | |
| complexify p n (fun j i => (x j i : β)) = (p n x : β) := by | |
| rw [complexify_apply, PositiveMultilinear.expansion] | |
| push_cast | |
| apply sum_congr rfl | |
| intro Ο hΟ | |
| exact mul_comm _ _ | |
| lemma complexify_norm_le (p : FormalMultilinearSeries β (V β β) β) | |
| (hp : β a, 0 β€ weight p a) (n : β) : βcomplexify p nβ β€ βp nβ := by | |
| have hpos : 0 β€ p n (fun _ _ => 1) := | |
| PositiveMultilinear.nonneg _ (fun Ο => hp β¨n,Οβ©) _ (fun _ _ => zero_le_one) | |
| have hle : βcomplexify p nβ β€ p n (fun _ _ => 1) := by | |
| apply (complexify p n).opNorm_le_bound hpos | |
| intro x | |
| rw [complexify_apply, PositiveMultilinear.ones_eq_sum, sum_mul] | |
| refine (norm_sum_le _ _).trans (sum_le_sum ?_) | |
| intro Ο hΟ | |
| rw [norm_mul, Complex.norm_real, Real.norm_of_nonneg (hp β¨n,Οβ©), norm_prod] | |
| apply mul_le_mul_of_nonneg_left _ (hp β¨n,Οβ©) | |
| exact prod_le_prodβ (fun _ _ => norm_nonneg _) (fun j _ => norm_le_pi_norm (x j) (Ο j)) | |
| apply hle.trans | |
| rw [β Real.norm_of_nonneg hpos] | |
| apply (p n).le_opNorm _ |>.trans | |
| have hb : β(fun _ : V => (1 : β))β β€ 1 := | |
| (pi_norm_le_iff_of_nonneg zero_le_one).mpr (fun _ => by simp) | |
| have hprod : (β _ : Fin n, β(fun _ : V => (1 : β))β) β€ 1 := by | |
| exact prod_le_oneβ (fun _ _ => norm_nonneg _) (fun _ _ => hb) | |
| simpa only [mul_one] using mul_le_mul_of_nonneg_left hprod (norm_nonneg (p n)) | |
| lemma complexify_radius (p : FormalMultilinearSeries β (V β β) β) | |
| (hp : β a, 0 β€ weight p a) : p.radius β€ (complexify p).radius := by | |
| unfold FormalMultilinearSeries.radius | |
| apply iSup_le | |
| intro r | |
| apply iSup_le | |
| intro C | |
| apply iSup_le | |
| intro hC | |
| apply (complexify p).le_radius_of_bound C | |
| intro n | |
| exact (mul_le_mul_of_nonneg_right (complexify_norm_le p hp n) (by positivity)).trans (hC n) | |
| lemma norm_lt_of_coordinates {r : β} (hr : 0 < r) {x : V β β} | |
| (hx : β i, βx iβ < r) : βxβ < r := by | |
| exact (pi_norm_lt_iff hr).mpr hx | |
| lemma complexify_hasSum (p : FormalMultilinearSeries β (V β β) β) | |
| (hp : β a, 0 β€ weight p a) {r : β} (hr : 0 < r) | |
| (hR : ENNReal.ofReal r < p.radius) (x : V β β) (hx : β i, βx iβ < r) : | |
| HasSum (fun m : V β β => (coefficient p m : β) * β i, x i ^ m i) ((complexify p).sum x) := by | |
| have hnorm := norm_lt_of_coordinates hr hx | |
| have he : βxββ < (complexify p).radius := by | |
| exact (show βxββ β€ ENNReal.ofReal r by | |
| simpa only [ofReal_norm] using ENNReal.ofReal_le_ofReal hnorm.le).trans_lt | |
| (hR.trans_le (complexify_radius p hp)) | |
| apply hasSum_coefficients_of_complex_degrees p hp hr.le hR x (fun i => (hx i).le) | |
| exact ((complexify p).summable (mem_eball_zero_iff.mpr he)).hasSum.congr_fun | |
| (fun n => (complexify_apply p n (fun _ => x)).symm) | |
| lemma complexify_sum_real (p : FormalMultilinearSeries β (V β β) β) | |
| (x : V β β) : (complexify p).sum (fun i => (x i : β)) = (p.sum x : β) := by | |
| simp only [FormalMultilinearSeries.sum, complexify_real, Complex.ofReal_tsum] | |
| end BelowOne.PressureSeries | |
| end | |
| end OAI | |