(hm : 0 < m) (L : EuclideanSpaceℝ (Fin m) ≃L[ℝ] E)
(e : E ≃L[ℝ] P×V) (b : Basis ι ℝP) {C : SetV} (hC : IsCompactC)
(r : E→ℝ) (hr : ContDiffℝ∞ r) (hrp : OAI.Analysis.PDE.Dirichlet.LatticePeriodic e b r)
(hbounded : ∀ x, r x ≤0→ (e x).2∈C)
(hreg : ∀ x, r x = 0→ fderiv ℝ r x ≠0)
{hΩD : {x | r x < 0} ⊆ {x | r x ≤0}} {α : ℝ}
(U : OAI.Analysis.Normed.Function.Holder.C2Holder (F:=ℝ) hΩD α) (hU : U∈OAI.Analysis.Normed.Function.Holder.C2Holder.latticeDirichlet e b)
(hN : 2≤N)
(hf : ContDiffOnℝN (OAI.Analysis.Normed.Function.Holder.boundedZeroExtension (OAI.Analysis.Normed.Function.Holder.C2Holder.value U)) {x | r x ≤0}) :
∃g : E→ℝ, ContDiffℝN g ∧OAI.Analysis.PDE.Dirichlet.LatticePeriodic e b g ∧
(∀ x, r x = 0→ g x = 0) ∧
(∀x : {x | r x ≤0}, OAI.Analysis.Normed.Function.Holder.C2Holder.value U x = g x) ∧
(∀x : {x | r x ≤0}, OAI.Analysis.Normed.Function.Holder.C2Holder.firstDerivative U x = fderiv ℝ g x) ∧
(∀x : {x | r x ≤0}, OAI.Analysis.Normed.Function.Holder.C2Holder.secondDerivative U x =
fderiv ℝ (fderiv ℝ g) x) :=by
havehper : OAI.Analysis.PDE.Dirichlet.LatticePeriodic e b (OAI.Analysis.Normed.Function.Holder.boundedZeroExtension (OAI.Analysis.Normed.Function.Holder.C2Holder.value U)) := hU.2
obtain ⟨g, hg, hgp, hgeq⟩ := exists_latticePeriodic_extension_regular_sublevel_equiv hm L
e b hC r hr hrp hbounded hreg (OAI.Analysis.Normed.Function.Holder.boundedZeroExtension (OAI.Analysis.Normed.Function.Holder.C2Holder.value U)) hper hf
haveheq : ∀x : {x | r x ≤0}, g x = OAI.Analysis.Normed.Function.Holder.C2Holder.value U x :=by
intro x
simpa only [OAI.Analysis.Normed.Function.Holder.boundedZeroExtension_apply _ x.property] using hgeq x x.property
havehclosure : {x | r x ≤0} ⊆ closure {x | r x < 0} :=by
rw [OAI.Analysis.PDE.Weak.closure_strict_sublevel_of_regular r (hr.of_le (by simp)) hreg]