Download data/lean/OAI/Geometry/PrescribedPotential/BoundedPoisson.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.42 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/PrescribedPotential/BoundedPoisson.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/PrescribedPotential/BoundedPoisson.lean
-
curl -L -o BoundedPoisson.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/PrescribedPotential/BoundedPoisson.lean
6.42 kB
| import Mathlib | |
| import OAI.Geometry.PrescribedPotential.ConstantProjection | |
| import OAI.Geometry.PrescribedPotential.PatchCutoffs | |
| import OAI.Geometry.PrescribedPotential.NormalizedPoisson | |
| namespace OAI | |
| /-! Bounded Poisson. -/ | |
| section | |
| noncomputable section | |
| open Set Filter Topology | |
| open scoped ContDiff Classical | |
| namespace GlobalElliptic | |
| namespace LinearNormalization | |
| variable {H : Type*} [NormedAddCommGroup H] [NormedSpace β H] | |
| def coefficient (C : β βL[β] H) (hC : Function.Injective C) (P : H βL[β] H) | |
| (hP : β u, P u β (C : β ββ[β] H).range) : H βL[β] β := by | |
| let S := (C : β ββ[β] H).range | |
| letI : FiniteDimensional β S := LinearMap.finiteDimensional_range _ | |
| let e : β ββ[β] S := LinearEquiv.ofInjective (C : β ββ[β] H) hC | |
| let l : S βL[β] β := LinearMap.toContinuousLinearMap e.symm.toLinearMap | |
| exact l βL P.codRestrict S hP | |
| lemma coefficient_spec (C : β βL[β] H) (hC : Function.Injective C) (P : H βL[β] H) | |
| (hP : β u, P u β (C : β ββ[β] H).range) (u : H) : | |
| C (coefficient C hC P hP u) = P u := | |
| LinearEquiv.ofInjective_symm_apply (C : β ββ[β] H) (h := hC) β¨P u, hP uβ© | |
| end LinearNormalization | |
| open Anticanonical SourceSmooth EllipticKernel SobolevChart | |
| variable {d : β} {X : Type*} [TopologicalSpace X] [T2Space X] [CompactSpace X] | |
| [ConnectedSpace X] {A : ComplexAtlas d X} {ΞΉ : Type*} [Fintype ΞΉ] | |
| namespace Localizers | |
| variable (D : Localizers A ΞΉ) | |
| def constantsOrder (s : β) : β βL[β] D.Sobolev s := | |
| LinearMap.toContinuousLinearMap ((D.embed s).comp Smooth.constLinear) | |
| omit [ConnectedSpace X] in | |
| @[simp] lemma constantsOrder_apply (s : β) (c : β) : | |
| D.constantsOrder s c = D.embed s (Smooth.const c) := rfl | |
| lemma constants_injective : Function.Injective D.constants := by | |
| intro c e h | |
| have hh := D.embed_injective 0 h | |
| let x : X := Classical.arbitrary X | |
| exact congrArg (fun u : Smooth A => u x) hh | |
| variable {D} | |
| def ConstantProjection.coefficient (P : D.ConstantProjection) : D.Sobolev 0 βL[β] β := | |
| LinearNormalization.coefficient D.constants D.constants_injective P.proj (by | |
| intro u | |
| obtain β¨c, hcβ© := P.value u | |
| exact β¨c, hc.symmβ©) | |
| lemma ConstantProjection.coefficient_spec (P : D.ConstantProjection) (u : D.Sobolev 0) : | |
| D.constants (P.coefficient u) = P.proj u := | |
| LinearNormalization.coefficient_spec _ _ _ _ u | |
| lemma ConstantProjection.coefficient_constants (P : D.ConstantProjection) (c : β) : | |
| P.coefficient (D.constants c) = c := by | |
| apply D.constants_injective | |
| rw [P.coefficient_spec] | |
| exact P.fixed c | |
| end Localizers | |
| namespace GluingData | |
| variable {g : KaehlerMetric A} (D : GluingData g ΞΉ) | |
| lemma fredholm_injective (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) : | |
| Function.Injective (1 - D.fredholmOperator m hm he P : | |
| D.localizers.Sobolev 0 βL[β] D.localizers.Sobolev 0) := by | |
| intro u v huv | |
| have hz : (1 - D.fredholmOperator m hm he P) (u-v) = 0 := by | |
| rw [map_sub, huv, sub_self] | |
| have hh : D.fredholmOperator m hm he P (u-v) = u-v := by | |
| exact (sub_eq_zero.mp hz).symm | |
| exact sub_eq_zero.mp (D.fredholm_kernel m hm he P (u-v) hh) | |
| def fredholmEquiv (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) : | |
| D.localizers.Sobolev 0 βL[β] D.localizers.Sobolev 0 := | |
| ContinuousLinearEquiv.ofBijective (1 - D.fredholmOperator m hm he P) | |
| (LinearMap.ker_eq_bot.mpr (D.fredholm_injective m hm he P)) | |
| (LinearMap.range_eq_top.mpr (D.fredholm_surjective m hm he P)) | |
| @[simp] lemma fredholmEquiv_apply (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) (u : D.localizers.Sobolev 0) : | |
| D.fredholmEquiv m hm he P u = | |
| u - ((m^2 : β) β’ D.resolventZero m hm he u - P.proj u) := rfl | |
| def poissonInput (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) : D.localizers.Sobolev 0 βL[β] D.localizers.Sobolev 0 := | |
| - (D.fredholmEquiv m hm he P).symm.toContinuousLinearMap | |
| lemma poissonInput_equation (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) (f : D.localizers.Sobolev 0) : | |
| D.poissonInput m hm he P f = -f - P.proj (D.poissonInput m hm he P f) + | |
| (m^2 : β) β’ D.resolventZero m hm he (D.poissonInput m hm he P f) := by | |
| have h : D.fredholmEquiv m hm he P (D.poissonInput m hm he P f) = -f := by | |
| change D.fredholmEquiv m hm he P (- (D.fredholmEquiv m hm he P).symm f) = -f | |
| rw [map_neg, ContinuousLinearEquiv.apply_symm_apply] | |
| rw [D.fredholmEquiv_apply] at h | |
| calc | |
| _ = -f + ((m^2 : β) β’ D.resolventZero m hm he (D.poissonInput m hm he P f) - | |
| P.proj (D.poissonInput m hm he P f)) := sub_eq_iff_eq_add.mp h | |
| _ = _ := by abel | |
| def poissonRaw (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) : D.localizers.Sobolev 0 βL[β] D.localizers.Sobolev 2 := | |
| D.completedResolvent m hm he βL D.poissonInput m hm he P | |
| def poissonResidue (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) : D.localizers.Sobolev 0 βL[β] β := | |
| P.coefficient βL D.poissonInput m hm he P | |
| lemma poissonRaw_equation (m : β) (hm : 1 β€ m) (he : βD.completedError m hmβ < 1) | |
| (P : D.localizers.ConstantProjection) (f : D.localizers.Sobolev 0) : | |
| D.completedL (D.poissonRaw m hm he P f) = f + D.localizers.constants (D.poissonResidue m hm he P f) := by | |
| have h := D.completedResolvent_equation m hm he (D.poissonInput m hm he P f) | |
| have hw := D.poissonInput_equation m hm he P f | |
| change (m^2 : β) β’ D.resolventZero m hm he (D.poissonInput m hm he P f) - | |
| D.completedL (D.poissonRaw m hm he P f) = D.poissonInput m hm he P f at h | |
| change _ = f + D.localizers.constants (P.coefficient (D.poissonInput m hm he P f)) | |
| rw [P.coefficient_spec] | |
| have hh := h.trans hw | |
| apply sub_right_inj.mp | |
| calc | |
| (m^2 : β) β’ D.resolventZero m hm he (D.poissonInput m hm he P f) - | |
| D.completedL (D.poissonRaw m hm he P f) = _ := hh | |
| _ = (m^2 : β) β’ D.resolventZero m hm he (D.poissonInput m hm he P f) - | |
| (f + P.proj (D.poissonInput m hm he P f)) := by abel | |
| end GluingData | |
| end GlobalElliptic | |
| end | |
| end | |
| end OAI | |