lemmabranchFinitePair_v {s : Fin3→ℝ} {f : Fin2→TorusL2} (i : Fin3)
(z : TorusEndingData s (branchNormalize i f)) (x : Coord3) :
(branchFinitePair i z).v x=branchNormalize i (z.w.v x) :=by
lemmabranchFinitePair_initial {s : Fin3→ℝ}
(hs : ∀x y : ℝ,(1/2)*(x^2+y^2) ≤ s 0*x^2+2*s 1*x*y+s 2*y^2)
{f : Fin2→TorusL2} (i : Fin3) (z : TorusEndingData s (branchNormalize i f))
(x : Coord3) (hx : x 0∈Ioo z.d (z.d+z.e)) :
(branchFinitePair i z).v x=fun j => torusAffineField s (centralBasisSlopes j i) (f j) x :=by
proof · 5
lines
rw [branchFinitePair_v,z.initial_field x hx]
change branchNormalize i (fun j => torusAffineField s (normalizedSlope j)
(branchNormalize i f j) x)=_
rw [branchNormalize_affineField hs i normalizedSlope (branchNormalize i f) (z.d_pos.trans hx.1),
branchNormalize_normalized_slope,branchNormalize_involutive]
lemmabranchFinitePair_terminal_flux {s : Fin3→ℝ} {f : Fin2→TorusL2} (i : Fin3)
(z : TorusEndingData s (branchNormalize i f)) (x : Coord3) (hx : z.R<x 0) (j : Fin2) :
((branchFinitePair i z).G x).col j=centralBasisSlopes j i • Pi.single 01:=by
proof · 5
lines
rw [branchFinitePair_flux]
havehe : (fun k => (z.w.G x).col k)=(fun k => normalizedSlope k • Pi.single 01) :=
funext fun k => z.terminal_flux k x hx
rw [he]
fin_cases i <;> fin_cases j <;> simp [branchNormalize,normalizedSlope,centralBasisSlopes]
lemmabranchFinitePair_initial_flux
(hs : ∀x y : ℝ,(1/2)*(x^2+y^2) ≤ s 0*x^2+2*s 1*x*y+s 2*y^2)
(j : Fin2) (x : Coord3) (hx : x 0∈Ioo z.d (z.d+z.e)) :
((branchFinitePair i z).G x).col j=
flatModeFlux s (torusAffineField s (centralBasisSlopes j i) (f j)) x :=by
proof · 9
lines
apply (branchFinitePair i z).flux_on_flat_patch
(V:={x : Coord3 | x 0∈Ioo z.d (z.d+z.e)})
(isOpen_Ioo.preimage (continuous_apply 0)) s
(fun x hx => branchFinitePair_initial_E i z x ⟨hx.1.le,hx.2.le⟩)
(fun x j => torusAffineField s (centralBasisSlopes j i) (f j) x)
(contDiffOn_pi.mpr fun j => ((torusAffineField_smooth hs _ _).of_le
(show (2 : WithTopℕ∞)≤↑(⊤:ℕ∞) fromWithTop.coe_le_coe.mpr le_top)).mono
(fun y hy => z.d_pos.trans hy.1))
(fun x hx => branchFinitePair_initial hs i z x hx) j x hx
lemmabranchCorrection_zero
(hs : ∀x y : ℝ,(1/2)*(x^2+y^2) ≤ s 0*x^2+2*s 1*x*y+s 2*y^2)
(j : Fin2) (x : Coord3) (hx : x 0<z.d) : branchCorrection i z j x=0:=by
proof · 3
lines
exact (torusEndingCorrection_initial_zero z.e_pos
(fun y hy => congrFun (branchFinitePair_initial hs i z y hy) j)
(by linarith [z.e_pos] : x 0<z.d+3*z.e/4)).eq_of_nhds
lemmabranchFluxCorrection_periodic (j : Fin2) :
AngularPeriodic (2*Real.pi) (branchFluxCorrection i z j) :=by
proof · 5
lines
exact torusEndingFluxCorrection_periodic
(fun n x => congrArg (funM : Matrix (Fin3) (Fin2) ℝ=>M.col j)
((branchFinitePair i z).flux_periodic (branchFinitePair_periodic_v i z)
(branchFinitePair_periodic_E i z) n x))
(flatModeFlux_periodic (torusAffineField_periodic _ _ _))
lemmabranchFluxCorrection_zero
(hs : ∀x y : ℝ,(1/2)*(x^2+y^2) ≤ s 0*x^2+2*s 1*x*y+s 2*y^2)
(j : Fin2) (x : Coord3) (hx : x 0=0) : branchFluxCorrection i z j x=0:=by
proof · 3
lines
exact (torusEndingFluxCorrection_initial_zero z.e_pos
(fun y hy => branchFinitePair_initial_flux i z hs j y hy)
(by rw [hx]; linarith [z.d_pos,z.e_pos])).eq_of_nhds
lemmabranchFluxCorrection_terminal (j : Fin2) (x : Coord3) (hx : z.R<x 0) :
branchFluxCorrection i z j x=centralBasisSlopes j i • Pi.single 01-
flatModeFlux s (torusAffineField s (centralBasisSlopes j i) (f j)) x :=by
proof · 4
lines
rw [show branchFluxCorrection i z j x=((branchFinitePair i z).G x).col j-
flatModeFlux s (torusAffineField s (centralBasisSlopes j i) (f j)) x from
(torusEndingFluxCorrection_terminal (by linarith [z.e_pos,z.overlap_lt] : z.d+z.e/2<x 0)).eq_of_nhds,
branchFinitePair_terminal_flux i z x hx j]