Download data/lean/OAI/Analysis/Calculus/Current/Physical/Volume.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.17 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/Physical/Volume.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Current/Physical/Volume.lean
-
curl -L -o Volume.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/Physical/Volume.lean
5.17 kB
| import OAI.Analysis.Calculus.Current.Physical.Jacobian | |
| import OAI.Analysis.Calculus.Current.Physical.Parameters | |
| /-! Two-sided small-time bounds for the ordinary real-volume Jacobian. -/ | |
| noncomputable section | |
| namespace OAI.Analysis.Calculus.Current | |
| theorem continuousAt_physicalInverseJacobian {d : β} (a : β) (Ο : β) | |
| (u : Option (Fin d) β β) (hD : fiberDenominator (fun i => u (some i)) β 0) : | |
| ContinuousAt (fun p : β Γ (Option (Fin d) β β) => physicalInverseJacobian a p.1 p.2) (Ο, u) := by | |
| let E := Option (Fin d) β β | |
| let P := β Γ E | |
| have hj := (contDiffAt_physicalFiberInverse_joint a Ο u hD).restrict_scalars β | |
| have hf : ContDiffAt β β€ | |
| (Function.uncurry (fun (p : P) (v : E) => physicalFiberInverse a p.1 v)) ((Ο, u), u) := by | |
| have hg : ContDiffAt β β€ (fun v : P Γ E => (v.1.1, v.2)) ((Ο, u), u) := by | |
| dsimp only [P, E] | |
| fun_prop | |
| simpa only [Function.comp_def, Function.uncurry] using! hj.comp ((Ο, u), u) hg | |
| have hp : ContDiffAt β 0 | |
| (fun p : P => fderiv β (physicalFiberInverse a p.1) p.2) (Ο, u) := | |
| hf.fderiv contDiffAt_snd (by norm_num) | |
| exact ContinuousLinearMap.continuous_det.continuousAt.comp hp.continuousAt | |
| def normalizedInverseParameters (d : β) : Set (β Γ (Option (Fin d) β β)) := | |
| {Ο : β | 1 β€ βΟβ β§ βΟβ β€ 4} ΓΛ’ fiberParameterBall d | |
| theorem isCompact_normalizedInverseParameters (d : β) : | |
| IsCompact (normalizedInverseParameters d) := by | |
| have hc : IsCompact {Ο : β | 1 β€ βΟβ β§ βΟβ β€ 4} := by | |
| apply (isCompact_closedBall (0 : β) 4).of_isClosed_subset | |
| ((isClosed_le continuous_const continuous_norm).inter (isClosed_le continuous_norm continuous_const)) | |
| intro Ο hΟ | |
| simpa only [Metric.mem_closedBall, dist_zero_right] using (show βΟβ β€ 4 from hΟ.2) | |
| exact hc.prod (isCompact_fiberParameterBall d) | |
| theorem normalizedInverseParameters_nonempty (d : β) : | |
| (normalizedInverseParameters d).Nonempty := by | |
| refine β¨(1, 0), ?_, ?_β© | |
| Β· norm_num | |
| Β· simp [fiberParameterBall] | |
| theorem physicalInverseJacobian_normalized_bounds (d : β) : | |
| β c C : β, 0 < c β§ 0 < C β§ β (Ο : β) (u : Option (Fin d) β β), | |
| 1 β€ βΟβ β βΟβ β€ 4 β u β fiberParameterBall d β | |
| c β€ |physicalInverseJacobian 1 Ο u| β§ |physicalInverseJacobian 1 Ο u| β€ C := by | |
| have hc : ContinuousOn | |
| (fun p : β Γ (Option (Fin d) β β) => |physicalInverseJacobian 1 p.1 p.2|) | |
| (normalizedInverseParameters d) := by | |
| intro p hp | |
| exact (continuousAt_physicalInverseJacobian 1 p.1 p.2 | |
| (fiberParameterBall_denominator hp.2)).abs.continuousWithinAt | |
| have hpos (p : β Γ (Option (Fin d) β β)) (hp : p β normalizedInverseParameters d) : | |
| 0 < |physicalInverseJacobian 1 p.1 p.2| := by | |
| apply abs_pos.mpr | |
| exact physicalInverseJacobian_ne_zero 1 p.1 p.2 (by norm_num) | |
| (fiberParameterBall_numerator 1 p.1 (by norm_num) hp.1.1 hp.2) | |
| (fiberParameterBall_denominator hp.2) | |
| obtain β¨p, hp, hminβ© := (isCompact_normalizedInverseParameters d).exists_isMinOn | |
| (normalizedInverseParameters_nonempty d) hc | |
| change β q β normalizedInverseParameters d, | |
| |physicalInverseJacobian 1 p.1 p.2| β€ |physicalInverseJacobian 1 q.1 q.2| at hmin | |
| obtain β¨B, hBβ© := (isCompact_normalizedInverseParameters d).exists_bound_of_continuousOn hc | |
| refine β¨|physicalInverseJacobian 1 p.1 p.2|, |B| + 1, hpos p hp, by positivity, ?_β© | |
| intro Ο u ht ht' hu | |
| have htu : (Ο, u) β normalizedInverseParameters d := β¨β¨ht, ht'β©, huβ© | |
| constructor | |
| Β· exact hmin (Ο, u) htu | |
| Β· have hb := hB (Ο, u) htu | |
| simp only [Real.norm_eq_abs, abs_abs] at hb | |
| exact hb.trans (by linarith [le_abs_self B]) | |
| /-- Ordinary real volume in `(P,Z)` scales like `a^(2n)` relative to `(W,Ξ¦/a)`. -/ | |
| theorem physicalInverseJacobian_small_time_bounds (d : β) : | |
| β c C : β, 0 < c β§ 0 < C β§ β (a : β) (Ο : β) (u : Option (Fin d) β β), | |
| 0 < a β a β€ βΟβ β βΟβ β€ 4 * a β u β fiberParameterBall d β | |
| c * a ^ (2 * (d + 1)) β€ |physicalInverseJacobian a Ο u| β§ | |
| |physicalInverseJacobian a Ο u| β€ C * a ^ (2 * (d + 1)) := by | |
| obtain β¨c, C, hc, hC, hbβ© := physicalInverseJacobian_normalized_bounds d | |
| refine β¨c, C, hc, hC, ?_β© | |
| intro a Ο u ha ht ht' hu | |
| have hn : βaβ»ΒΉ β’ Οβ = βΟβ / a := by | |
| simp [Real.norm_eq_abs, abs_of_pos ha, div_eq_mul_inv, mul_comm] | |
| have ht1 : 1 β€ βaβ»ΒΉ β’ Οβ := by rw [hn]; exact (le_div_iffβ ha).mpr (by simpa using ht) | |
| have ht4 : βaβ»ΒΉ β’ Οβ β€ 4 := by rw [hn]; exact (div_le_iffβ ha).mpr (by nlinarith) | |
| obtain β¨hl, hu'β© := hb (aβ»ΒΉ β’ Ο) u ht1 ht4 hu | |
| have hs := physicalInverseJacobian_scale a (aβ»ΒΉ β’ Ο) u (fiberParameterBall_denominator hu) | |
| rw [smul_inv_smulβ ha.ne'] at hs | |
| rw [hs, abs_mul, abs_of_pos (pow_pos ha _)] | |
| constructor | |
| Β· simpa only [mul_comm] using mul_le_mul_of_nonneg_left hl (pow_nonneg ha.le _) | |
| Β· simpa only [mul_comm] using mul_le_mul_of_nonneg_left hu' (pow_nonneg ha.le _) | |
| end OAI.Analysis.Calculus.Current | |