lemmaintegral_scaled_semicircle {L : ℝ} (hL : 0<L) :
(∫ t in (-L)..L,Real.sqrt (1-(t/L)^2))=Real.pi*L/2:=by
proof · 6
lines
have hi := intervalIntegral.integral_comp_div (funt : ℝ↦Real.sqrt (1-t^2))
(a := -L) (b :=L) hL.ne'
rw [neg_div,div_self hL.ne',integral_sqrt_one_sub_sq] at hi
calc
_=L*(Real.pi/2) := hi
_=Real.pi*L/2:=by ring
obtain ⟨L,hL,hband,hin⟩ := planar_radial_extent hA hd h0 hout1
refine ⟨L,hL,hband,planarTorusPerimeter_ge_semicircle_calibration hA hL ?_ hin
(planar_radial_empty_fiber hd hout0)⟩
intro y hy
obtain ⟨t,he,ht⟩ := axisCircle_exists_centered_rep (y 1)
exact ⟨t,ht ▸ hband y hy,he⟩
lemmaplanar_flux_translation {F : Plane→Plane} (hF : PlanarAdmissibleFieldF)
(a : Plane) (A : SetTransverseProduct) :
(∫ y in (funz : TransverseProduct↦ z+planarQuotient a) ⁻¹' A,
planeDivergence F (planarRepresentative y))=
∫ y inA,planeDivergence (fun z ↦F (z-a)) (planarRepresentative y) :=by
proof · 12
lines
havehe : (funy : TransverseProduct↦ planeDivergence F (planarRepresentative y))=
(fun y ↦ planeDivergence (fun z ↦F (z-a)) (planarRepresentative (y+planarQuotient a))) :=by
funext y
simp only [sub_eq_add_neg,planeDivergence_translate]
havehq : planarQuotient (planarRepresentative (y+planarQuotient a)+-a)=
planarQuotient (planarRepresentative y) :=by simp
obtain ⟨n,hn⟩ := planar_same_quotient_lattice hq
rw [hn,planeDivergence_periodic hF.2.1]
rw [he]
exact (measurePreserving_add_right (volume : MeasureTransverseProduct) (planarQuotient a)).setIntegral_preimage_emb
(Homeomorph.addRight (planarQuotient a)).measurableEmbedding
(fun y ↦ planeDivergence (fun z ↦F (z-a)) (planarRepresentative y)) A
theoremplanarTorusPerimeter_translation (A : SetTransverseProduct) (a : TransverseProduct) :
planarTorusPerimeter ((funy : TransverseProduct↦ y+a) ⁻¹' A)=planarTorusPerimeter A:=by
proof · 8
lines
have ha := planarQuotient_representative a
refine le_antisymm (by simpa only [ha] using planarTorusPerimeter_translation_le A (planarRepresentative a)) ?_
have hh := planarTorusPerimeter_translation_le ((funy : TransverseProduct↦ y+a) ⁻¹' A) (-planarRepresentative a)
havehe : (funy : TransverseProduct↦ y+planarQuotient (-planarRepresentative a)) ⁻¹'
((funy : TransverseProduct↦ y+a) ⁻¹' A)=A:=by
ext y
simp
rwa [he] at hh
lemmacenteredAxialSlice_closure_subset (O : SetTorus) (b : Fin3→Bool) (i : Fin3) (t : AxisCircle) :
closure (centeredAxialSlice O b i t)⊆centeredAxialSlice (closure O) b i t :=by
theoremisMinimizerAt_centered_section_radial {V : ℝ} (hV : V∈Ioo01)
{E : SetTorus} (hmin : IsMinimizerAtVE)
(hR : ∀i : Fin3,E=ᵐ[torusVolume]((axisReflection i).torus ⁻¹' E))
{b : Fin3→Bool}
(hd : ∀ x∈upperOctant,∀ y∈upperOctant,OrientedCoordinateLE b x y →
quotientMap y∈openRepresentative E→quotientMap x∈openRepresentative E)
(i : Fin3) (t : AxisCircle) :
PlanarRadialDownset (centeredAxialSlice (openRepresentative E) b i t) :=by
proof · 16
lines
intro y z hyz hz
letY:= (torusAxialSplit i).symm (t,y+axialSectionCenter b i)
letZ:= (torusAxialSplit i).symm (t,z+axialSectionCenter b i)
change Y∈openRepresentative Ehave hre := reflection_invariant_openRepresentative hmin.1.1 hR
apply (upperFold_phase hre Y).mp
apply isMinimizerAt_closed_octant_order hV hmin hR hd (upperFold_mem Y) (upperFold_mem Z) _
((upperFold_phase hre Z).mpr hz)
intro k
rcases Fin.eq_self_or_eq_succAbove i k with hki|⟨j,rfl⟩
· subst k
change if b i then1-‖Y i‖≤1-‖Z i‖ else1-‖Z i‖≤1-‖Y i‖
simp only [Y,Z,torusAxialSplit_symm_same,le_refl,ite_self]
· dsimp only [Y,Z]
rw [upperFold_centered_slice,upperFold_centered_slice]
cases b (i.succAbove j) <;> simp only [Bool.false_eq_true,ite_false,ite_true] <;> linarith [hyz j]
lemmacentered_section_corner (b : Fin3→Bool) (i : Fin3) (t : ℝ) (n : Fin2→Bool) :
(torusAxialSplit i).symm ((t : AxisCircle),planarSquareCorner n+axialSectionCenter b i)=
quotientMap (axialSectionCorner b i t n) :=by
proof · 13
lines
ext k
rcases Fin.eq_self_or_eq_succAbove i k with hki|⟨j,rfl⟩
· subst k
simp [quotientMap]
· simp only [torusAxialSplit_symm_succAbove,Pi.add_apply,planarSquareCorner,axialSectionCenter]
simp only [quotientMap,axialSectionCorner,Fin.insertNth_apply_succAbove]
change (if n j then ((1/2 : ℝ) : AxisCircle) else0)+
(if b (i.succAbove j) then ((1/2 : ℝ) : AxisCircle) else0)=
(octantHeight b (i.succAbove j) (if n j then1else0) : AxisCircle)
cases hn : n j <;> cases hb : b (i.succAbove j) <;>
norm_num [octantHeight,hn,hb,AddCircle.coe_period]
rw [←AddCircle.coe_add]
norm_num [AddCircle.coe_period]
lemmacentered_section_zero (b : Fin3→Bool) (i : Fin3) (t : ℝ) :
(torusAxialSplit i).symm ((t : AxisCircle),(0 : TransverseProduct)+axialSectionCenter b i)=
quotientMap (axialSectionCorner b i t (fun _ ↦false)) :=by
proof · 2
lines
havehe : planarSquareCorner (fun _ ↦false)=(0 : TransverseProduct) :=by ext j; simp [planarSquareCorner]
simpa only [he] using centered_section_corner b i t (fun _ ↦false)
lemmacenteredAxialSlice_volume (O : SetTorus) (b : Fin3→Bool) (i : Fin3) (t : AxisCircle) :
volume.real (centeredAxialSlice O b i t)=volume.real (axialSlice O i t) :=by
proof · 3
lines
apply congrArg ENNReal.toReal
exact (measurePreserving_add_right (volume : MeasureTransverseProduct) (axialSectionCenter b i)).measure_preimage_emb
(Homeomorph.addRight (axialSectionCenter b i)).measurableEmbedding _
lemmacenteredAxialSlice_perimeter (O : SetTorus) (b : Fin3→Bool) (i : Fin3) (t : AxisCircle) :
planarTorusPerimeter (centeredAxialSlice O b i t)=planarTorusPerimeter (axialSlice O i t) :=
theoremisMinimizerAt_section_disk_perimeter {V : ℝ} (hV : V∈Ioo01)
{E : SetTorus} (hmin : IsMinimizerAtVE)
(hR : ∀i : Fin3,E=ᵐ[torusVolume]((axisReflection i).torus ⁻¹' E))
{b : Fin3→Bool}
(hd : ∀ x∈upperOctant,∀ y∈upperOctant,OrientedCoordinateLE b x y →
quotientMap y∈openRepresentative E→quotientMap x∈openRepresentative E)
(i : Fin3) (t : ℝ)
(hin : quotientMap (axialSectionCorner b i t (fun _ ↦false))∈openRepresentative E)
(hout0 : quotientMap (axialSectionCorner b i t (fun j ↦ j==0))∉closure (openRepresentative E))
(hout1 : quotientMap (axialSectionCorner b i t (fun j ↦ j==1))∉closure (openRepresentative E)) :
ENNReal.ofReal (2*Real.sqrt (Real.pi*volume.real (axialSlice (openRepresentative E) i (t : AxisCircle))))≤
planarTorusPerimeter (axialSlice (openRepresentative E) i (t : AxisCircle)) :=by
proof · 18
lines
havehzero : (0 : TransverseProduct)∈centeredAxialSlice (openRepresentative E) b i (t : AxisCircle) :=by
change (torusAxialSplit i).symm ((t : AxisCircle),0+axialSectionCenter b i)∈openRepresentative E
rwa [centered_section_zero]
havehv0 : planarFirstAxisPoint (1/2)∉closure (centeredAxialSlice (openRepresentative E) b i (t : AxisCircle)) :=by
intro hh
have hz := centeredAxialSlice_closure_subset (openRepresentative E) b i (t : AxisCircle) hh
change (torusAxialSplit i).symm ((t : AxisCircle),planarFirstAxisPoint (1/2)+axialSectionCenter b i)∈closure (openRepresentative E) at hz
rw [centered_section_first_axis] at hz
exact hout0 hz
havehv1 : planarAxisPoint (1/2)∉closure (centeredAxialSlice (openRepresentative E) b i (t : AxisCircle)) :=by
intro hh
have hz := centeredAxialSlice_closure_subset (openRepresentative E) b i (t : AxisCircle) hh
change (torusAxialSplit i).symm ((t : AxisCircle),planarAxisPoint (1/2)+axialSectionCenter b i)∈closure (openRepresentative E) at hz
rw [centered_section_second_axis] at hz
exact hout1 hz
have hp := planar_radial_isoperimetric (centeredAxialSlice_isOpen (isOpen_openRepresentative E) b i _)
(isMinimizerAt_centered_section_radial hV hmin hR hd i _) hzero hv0 hv1
simpa only [centeredAxialSlice_volume,centeredAxialSlice_perimeter] using hp
lemmaplanar_integral_divergence_compl {A : SetTransverseProduct} (hA : NullMeasurableSetA volume)
{F : Plane→Plane} (hF : PlanarAdmissibleFieldF) :
(∫ y inAᶜ,planeDivergence F (planarRepresentative y))=
-(∫ y inA,planeDivergence F (planarRepresentative y)) :=by
proof · 4
lines
have hi := integral_add_compl₀ hA
((planar_descended_divergence_continuous hF).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _))
rw [planar_integral_divergence_zero hF] at hi
linarith
lemmaisMinimizerAt_complement_octant_downset {V : ℝ} (hV : V∈Ioo01)
{E : SetTorus} (hmin : IsMinimizerAtVE)
(hR : ∀i : Fin3,E=ᵐ[torusVolume]((axisReflection i).torus ⁻¹' E))
{b : Fin3→Bool}
(hd : ∀ x∈upperOctant,∀ y∈upperOctant,OrientedCoordinateLE b x y →
quotientMap y∈openRepresentative E→quotientMap x∈openRepresentative E) :
∀ x∈upperOctant,∀ y∈upperOctant,OrientedCoordinateLE (fun i ↦ !b i) x y →
quotientMap y∈openRepresentative Eᶜ →quotientMap x∈openRepresentative Eᶜ :=by
proof · 11
lines
have hcl := isMinimizerAt_closure_openRepresentative_null hV hmin
intro u hu v hv huv hvO
simp only [openRepresentative,compl_compl,mem_compl_iff] at hvO ⊢
intro hucl
havehur : u∈closedUpperOctant :=fun i ↦ ⟨(hu i).1.le,(hu i).2.le⟩
havehvr : v∈closedUpperOctant :=fun i ↦ ⟨(hv i).1.le,(hv i).2.le⟩
have hh := octant_downset_closure (isOpen_openRepresentative E)
(reflection_invariant_openRepresentative hmin.1.1 hR) hd hvr hur
((orientedCoordinateLE_reverse b u v).mp huv) (by rwa [hcl])
rw [hcl] at hh
exact hvO (by simpa only [compl_compl] using hh)
lemmaaxialSectionCorner_reverse (b : Fin3→Bool) (i : Fin3) (t : ℝ) (n : Fin2→Bool) :
axialSectionCorner (fun k ↦ !b k) i t n=axialSectionCorner b i t (fun j ↦ !n j) :=by
proof · 6
lines
ext k
rcases Fin.eq_self_or_eq_succAbove i k with hki|⟨j,rfl⟩
· subst k; simp [axialSectionCorner]
· simp only [axialSectionCorner,Fin.insertNth_apply_succAbove]
dsimp only [octantHeight]
by_cases hn : n j=true <;> by_cases hb : b (i.succAbove j)=true <;> norm_num [hn,hb]
rw [planarTorusPerimeter_congr_ae (axialSlice_openRepresentative_compl_ae hV hmin i t hn),
planarTorusPerimeter_compl (axialSlice_measurable (isOpen_openRepresentative E).measurableSet i t).nullMeasurableSet]
theoremisMinimizerAt_section_extent_perimeter {V : ℝ} (hV : V∈Ioo01)
{E : SetTorus} (hmin : IsMinimizerAtVE)
(hR : ∀i : Fin3,E=ᵐ[torusVolume]((axisReflection i).torus ⁻¹' E))
{b : Fin3→Bool}
(hd : ∀ x∈upperOctant,∀ y∈upperOctant,OrientedCoordinateLE b x y →
quotientMap y∈openRepresentative E→quotientMap x∈openRepresentative E)
(i : Fin3) (t : ℝ)
(hin : quotientMap (axialSectionCorner b i t (fun _ ↦false))∈openRepresentative E)
(hout0 : quotientMap (axialSectionCorner b i t (fun j ↦ j==0))∉closure (openRepresentative E))
(hout1 : quotientMap (axialSectionCorner b i t (fun j ↦ j==1))∉closure (openRepresentative E)) :
∃L : ℝ,L∈Ioo0 (1/2) ∧
(∀ y∈centeredAxialSlice (openRepresentative E) b i (t : AxisCircle),‖y 1‖<L) ∧ENNReal.ofReal (volume.real (axialSlice (openRepresentative E) i (t : AxisCircle))/L+Real.pi*L)≤
planarTorusPerimeter (axialSlice (openRepresentative E) i (t : AxisCircle)) :=by
proof · 18
lines
havehzero : (0 : TransverseProduct)∈centeredAxialSlice (openRepresentative E) b i (t : AxisCircle) :=by
change (torusAxialSplit i).symm ((t : AxisCircle),0+axialSectionCenter b i)∈openRepresentative E
rwa [centered_section_zero]
havehv0 : planarFirstAxisPoint (1/2)∉closure (centeredAxialSlice (openRepresentative E) b i (t : AxisCircle)) :=by
intro hh
have hz := centeredAxialSlice_closure_subset (openRepresentative E) b i (t : AxisCircle) hh
change (torusAxialSplit i).symm ((t : AxisCircle),planarFirstAxisPoint (1/2)+axialSectionCenter b i)∈closure (openRepresentative E) at hz
rw [centered_section_first_axis] at hz
exact hout0 hz
havehv1 : planarAxisPoint (1/2)∉closure (centeredAxialSlice (openRepresentative E) b i (t : AxisCircle)) :=by
intro hh
have hz := centeredAxialSlice_closure_subset (openRepresentative E) b i (t : AxisCircle) hh
change (torusAxialSplit i).symm ((t : AxisCircle),planarAxisPoint (1/2)+axialSectionCenter b i)∈closure (openRepresentative E) at hz
rw [centered_section_second_axis] at hz
exact hout1 hz
have hp := planar_radial_calibration (centeredAxialSlice_isOpen (isOpen_openRepresentative E) b i _)
(isMinimizerAt_centered_section_radial hV hmin hR hd i _) hzero hv0 hv1
simpa only [centeredAxialSlice_volume,centeredAxialSlice_perimeter] using hp