Download data/lean/OAI/Analysis/AncientFlat/Evolution/BetaRow.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.37 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/AncientFlat/Evolution/BetaRow.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/AncientFlat/Evolution/BetaRow.lean
-
curl -L -o BetaRow.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/AncientFlat/Evolution/BetaRow.lean
6.37 kB
| import OAI.Analysis.AncientFlat.Evolution.RowContinuity | |
| import OAI.Analysis.AncientFlat.Evolution.ClassicalSpatial | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter MeasureTheory | |
| open scoped SchwartzMap Topology ZeroAtInfty BoundedContinuousFunction ContDiff | |
| namespace SourceFrozenRows | |
| variable {V : Type} [NormedAddCommGroup V] [InnerProductSpace β V] | |
| [FiniteDimensional β V] [MeasurableSpace V] [BorelSpace V] | |
| variable {Ξ± Ξ² : β} | |
| lemma exists_timeBCF_four_bound (K : SchwartzMap V β) (hΞ± : 0 < Ξ±) : | |
| β C D : β, 0 β€ C β§ 0 β€ D β§ | |
| β (a : V βα΅ Icc Ξ± Ξ²) (L : β) (_hL : 0 β€ L) | |
| (_hLip : β x y, β(a x).val-(a y).valβ β€ L*βx-yβ) | |
| (f : V βα΅ β) (H : β) (_hH : 0 β€ H) | |
| (_hhold : β x y, βf x-f yβ β€ H*βx-yβ^(1/4 : β)) | |
| (q : β) (hq : 0 < q), | |
| βtimeBCF K hΞ± a q hq f 4β β€ H*C*q^(-15/16 : β)+βfβ*L*D*q^(-3/4 : β) := by | |
| obtain β¨C,D,hC,hD,hbβ© := exists_row_holder_bound K 4 (by omega) Ξ± Ξ² hΞ± (1/4) (by norm_num) (by norm_num) | |
| refine β¨C,D,hC,hD,?_β© | |
| intro a L hL hLip f H hH hhold q hq | |
| apply (BoundedContinuousFunction.norm_le (by positivity)).mpr | |
| intro x | |
| rw [timeBCF_apply] | |
| have h := hb (fun y => (a y).val) (continuous_subtype_val.comp a.continuous) | |
| (fun y => (a y).property) L hL hLip f H hH hhold (q^(1/4 : β)) (Real.rpow_pos_of_pos hq (1/4)) x | |
| apply h.trans_eq | |
| have h1 := radius_weight q hq 4 (1/4) | |
| have h2 := radius_weight q hq 4 1 | |
| norm_num only [Nat.cast_ofNat] at h1 h2 | |
| rw [Real.rpow_one] at h2 | |
| calc | |
| _ = H*C*((q^(1/4 : β))β»ΒΉ^4*(q^(1/4 : β))^(1/4 : β))+ | |
| βfβ*L*D*((q^(1/4 : β))β»ΒΉ^4*q^(1/4 : β)) := by ring | |
| _ = _ := by rw [h1,h2]; norm_num | |
| end SourceFrozenRows | |
| namespace ParametrixVolterra | |
| open SourceFrozenRows StrongWeightedVolterra | |
| variable {V : Type} [NormedAddCommGroup V] [InnerProductSpace β V] | |
| [FiniteDimensional β V] [MeasurableSpace V] [BorelSpace V] | |
| variable {T Ξ± Ξ² : β} (K : SchwartzMap V β) (hΞ± : 0 < Ξ±) | |
| (A : C(Slab T,V βα΅ Icc Ξ± Ξ²)) (j : Time T βα΅ Cβ(V,β)) | |
| def rowData (t : Time T) (u : UnitTime) : V βα΅ (V [Γ4]βL[β] β) := | |
| timeBCF K hΞ± (A (now (lag t u))) (t.val*(1-u.val)) | |
| (mul_pos t.property.1 (sub_pos.mpr u.property.2)) | |
| (unweighted j (lag t u).val).toBCF 4 | |
| lemma continuous_rowData : Continuous (Function.uncurry (rowData K hΞ± A j)) := by | |
| apply continuous_timeBCF K hΞ± _ _ | |
| (fun p => mul_pos p.1.property.1 (sub_pos.mpr p.2.property.2)) | |
| Β· exact A.continuous.comp (continuous_now.comp continuous_lag) | |
| Β· exact (continuous_subtype_val.comp continuous_fst).mul | |
| (continuous_const.sub (continuous_subtype_val.comp continuous_snd)) | |
| Β· exact ZeroAtInftyContinuousMap.isometry_toBCF.continuous.comp | |
| ((continuous_unweighted_on_time j).comp continuous_lag) | |
| lemma integrable_beta_unit (Ο p : β) (hΟ : Ο < 1) (hp : p < 1) : | |
| Integrable (fun u : UnitTime => BetaWeights.density Ο p 1 u.val) := by | |
| have hi := (intervalIntegrable_iff_integrableOn_Ioo_of_le (by norm_num : (0:β) β€ 1)).mp | |
| (BetaWeights.intervalIntegrable Ο p hΟ hp 1 zero_lt_one) | |
| exact (integrableOn_iff_comap_subtypeVal measurableSet_Ioo).mp hi | |
| lemma exists_rowData_bound (L H : β) (hL : 0 β€ L) (hH : 0 β€ H) | |
| (hLip : β s : Slab T, β x y, β(A s x).val-(A s y).valβ β€ L*βx-yβ) | |
| (hhold : β s : Time T, β x y, βunweighted j s.val x-unweighted j s.val yβ β€ | |
| H*s.val^(-7/8 : β)*βx-yβ^(1/4 : β)) | |
| (a : β) (ha : 0 < a) : | |
| β b : UnitTime β β, Integrable b β§ β t : Time T, a β€ t.val β | |
| β u, βrowData K hΞ± A j t uβ β€ b u := by | |
| obtain β¨C,D,hC,hD,hbβ© := exists_timeBCF_four_bound (Ξ² := Ξ²) K hΞ± | |
| let b : UnitTime β β := fun u => | |
| H*C*a^(-7/8 : β)*a^(-15/16 : β)*BetaWeights.density (7/8) (15/16) 1 u.val+ | |
| βjβ*L*D*a^(-3/4 : β)*a^(-3/4 : β)*BetaWeights.density (3/4) (3/4) 1 u.val | |
| refine β¨b,?_,?_β© | |
| Β· exact ((integrable_beta_unit (7/8) (15/16) (by norm_num) (by norm_num)).const_mul _).add | |
| ((integrable_beta_unit (3/4) (3/4) (by norm_num) (by norm_num)).const_mul _) | |
| Β· intro t ht u | |
| have hs := (lag t u).property.1 | |
| have htpos := t.property.1 | |
| have hup := u.property.1 | |
| have hum := sub_pos.mpr u.property.2 | |
| have hq : 0 < t.val*(1-u.val) := mul_pos t.property.1 (sub_pos.mpr u.property.2) | |
| have hn := norm_unweighted_le j (lag t u).val hs | |
| rw [β ZeroAtInftyContinuousMap.norm_toBCF_eq_norm] at hn | |
| have hrow := hb (A (now (lag t u))) L hL (hLip _) (unweighted j (lag t u).val).toBCF | |
| (H*(lag t u).val^(-7/8 : β)) (by positivity) (hhold (lag t u)) _ hq | |
| have hnorm := mul_le_mul_of_nonneg_right | |
| (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hn hL) hD) | |
| (Real.rpow_nonneg hq.le (-3/4)) | |
| refine hrow.trans ((add_le_add le_rfl hnorm).trans ?_) | |
| dsimp only [lag, b, BetaWeights.density] | |
| rw [Real.mul_rpow t.property.1.le u.property.1.le, | |
| Real.mul_rpow t.property.1.le (sub_pos.mpr u.property.2).le, | |
| Real.mul_rpow t.property.1.le u.property.1.le, | |
| Real.mul_rpow t.property.1.le (sub_pos.mpr u.property.2).le] | |
| have ht1 := Real.rpow_le_rpow_of_nonpos ha ht (by norm_num : (-7/8 : β) β€ 0) | |
| have ht2 := Real.rpow_le_rpow_of_nonpos ha ht (by norm_num : (-15/16 : β) β€ 0) | |
| have ht3 := Real.rpow_le_rpow_of_nonpos ha ht (by norm_num : (-3/4 : β) β€ 0) | |
| norm_num only [neg_div] | |
| calc | |
| _ = H*C*(t.val^(-7/8 : β)*t.val^(-15/16 : β))* | |
| (u.val^(-7/8 : β)*(1-u.val)^(-15/16 : β))+ | |
| βjβ*L*D*(t.val^(-3/4 : β)*t.val^(-3/4 : β))* | |
| (u.val^(-3/4 : β)*(1-u.val)^(-3/4 : β)) := by ring_nf | |
| _ β€ H*C*(a^(-7/8 : β)*a^(-15/16 : β))* | |
| (u.val^(-7/8 : β)*(1-u.val)^(-15/16 : β))+ | |
| βjβ*L*D*(a^(-3/4 : β)*a^(-3/4 : β))* | |
| (u.val^(-3/4 : β)*(1-u.val)^(-3/4 : β)) := by | |
| apply add_le_add | |
| Β· exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left | |
| (mul_le_mul ht1 ht2 (by positivity) (by positivity)) (by positivity)) (by positivity) | |
| Β· exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left | |
| (mul_le_mul ht3 ht3 (by positivity) (by positivity)) (by positivity)) (by positivity) | |
| _ = _ := by ring_nf | |
| end ParametrixVolterra | |
| end | |
| end OAI | |