Download data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/CompactCrossing.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.08 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/CompactCrossing.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/CompactCrossing.lean
-
curl -L -o CompactCrossing.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/LinearAlgebra/CompactCrossing.lean
2.08 kB
| import Mathlib | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Metric | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| variable {Q E : Type*} [NormedAddCommGroup Q] [NormedSpace β Q] | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| lemma bilinear_lower_of_unit (L : E βL[β] E βL[β] β) {c : β} | |
| (h : β v:E, βvβ=1 β c β€ L v v) (v:E) : c*βvβ^2 β€ L v v := by | |
| by_cases hv : v=0 | |
| Β· simp [hv] | |
| have hn : 0 < βvβ := norm_pos_iff.mpr hv | |
| let w := βvββ»ΒΉ β’ v | |
| have hw : βwβ=1 := by simp only [w,norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hn),inv_mul_cancelβ hn.ne'] | |
| have he : v=βvβ β’ w := by dsimp [w]; rw [smul_smul,mul_inv_cancelβ hn.ne',one_smul] | |
| have H := mul_le_mul_of_nonneg_left (h w hw) (sq_nonneg βvβ) | |
| calc | |
| c*βvβ^2 = βvβ^2*c := mul_comm _ _ | |
| _ β€ βvβ^2*L w w := H | |
| _ = L (βvβ β’ w) (βvβ β’ w) := by simp only [map_smul,smul_apply,smul_eq_mul]; ring | |
| _ = L v v := by rw [βhe] | |
| lemma bilinear_diag_abs_le (L : E βL[β] E βL[β] β) (v:E) : | |
| |L v v| β€ βLβ*βvβ^2 := by | |
| calc | |
| |L v v| = βL v vβ := (Real.norm_eq_abs _).symm | |
| _ β€ βL vβ*βvβ := (L v).le_opNorm _ | |
| _ β€ (βLβ*βvβ)*βvβ := mul_le_mul_of_nonneg_right (L.le_opNorm _) (norm_nonneg _) | |
| _ = βLβ*βvβ^2 := by ring | |
| lemma bilinear_time_hasDerivAt {H : βΓQ β E βL[β] E βL[β] β} | |
| {t:β} {q:Q} (hH : DifferentiableAt β H (t,q)) (v:E) : | |
| HasDerivAt (fun s => H (s,q) v v) (fderiv β H (t,q) (1,0) v v) t := by | |
| have hp : HasDerivAt (fun s : β => (s,q)) (1,0) t := | |
| (hasDerivAt_id t).prodMk (hasDerivAt_const t q) | |
| have HD : HasDerivAt (fun s : β => H (s,q)) (fderiv β H (t,q) (1,0)) t := | |
| HasFDerivAt.comp_hasDerivAt (l := H) (l' := fderiv β H (t,q)) | |
| (f := fun s : β => (s,q)) t hH.hasFDerivAt hp | |
| have HV := (HD.clm_apply (hasDerivAt_const t v)).clm_apply (hasDerivAt_const t v) | |
| simpa only [Function.comp_def,map_zero,add_zero,zero_add] using HV | |
| end WeakMTWTransport | |
| end | |
| end OAI | |