Lean 4 Β· 57
declarations statementsfull
| import Mathlib | |
| import OAI.Geometry.CubicTorus.Reflection.AxialSectionCorner | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| lemma integral_closedCentralArc {K : β} (hK : KβIco 0 (1/2)) (f : AxisCircle ββ) : | |
| (β« z in closedCentralArc K,f z)=β« t in (-K)..K,f (t : AxisCircle) := by | |
| have hsub : Icc (-K) K β Ioc (-(1/2 : β)) (-(1/2 : β)+1) := by | |
| intro t ht | |
| constructor <;> linarith [ht.1,ht.2,hK.2] | |
| have he (t : β) (ht : tβIoc (-(1/2 : β)) (-(1/2 : β)+1)) : | |
| (t : AxisCircle)βclosedCentralArc K βtβIcc (-K) K := by | |
| constructor | |
| Β· rintro β¨s,hs,hstβ© | |
| have hh := (AddCircle.coe_eq_coe_iff_of_mem_Ioc (hsub hs) ht).mp hst | |
| rwa [βhh] | |
| Β· intro ht | |
| exact β¨t,ht,rflβ© | |
| calc | |
| _=β« z : AxisCircle,(closedCentralArc K).indicator f z := | |
| (integral_indicator (closedCentralArc_isCompact K).measurableSet).symm | |
| _=β« t in Ioc (-(1/2 : β)) (-(1/2 : β)+1),(closedCentralArc K).indicator f (t : AxisCircle) := | |
| (AddCircle.integral_preimage (1 : β) (-(1/2 : β)) _).symm | |
| _=β« t in Ioc (-(1/2 : β)) (-(1/2 : β)+1),(Icc (-K) K).indicator | |
| (fun t : β β¦ f (t : AxisCircle)) t := by | |
| apply setIntegral_congr_fun measurableSet_Ioc | |
| intro t ht | |
| by_cases htk : tβIcc (-K) K | |
| Β· simp only [indicator_of_mem htk,indicator_of_mem ((he t ht).mpr htk)] | |
| Β· simp only [indicator_of_notMem htk,indicator_of_notMem (mt (he t ht).mp htk)] | |
| _=β« t in Icc (-K) K,f (t : AxisCircle) := by | |
| rw [setIntegral_indicator measurableSet_Icc,inter_eq_right.mpr hsub] | |
| _=β« t in (-K)..K,f (t : AxisCircle) := by | |
| rw [intervalIntegral.integral_of_le (by linarith [hK.1]),integral_Icc_eq_integral_Ioc] | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| lemma integral_scaled_semicircle {L : β} (hL : 0<L) : | |
| (β« t in (-L)..L,Real.sqrt (1-(t/L)^2))=Real.pi*L/2 := by | |
| have hi := intervalIntegral.integral_comp_div (fun t : β β¦ 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 | |
| theorem planarTorusPerimeter_ge_semicircle_calibration | |
| {A : Set TransverseProduct} (hA : IsOpen A) {L : β} (hL : LβIoo 0 (1/2)) | |
| (hband : β yβA,β t : β,|t|<L β§(t : AxisCircle)=y 1) | |
| (hin : β t : β,|t|<L ββ y : TransverseProduct,y 0=0 βy 1=(t : AxisCircle) βyβA) | |
| (hout : β y : TransverseProduct,y 0=((1/2 : β) : AxisCircle) βyβclosure A) : | |
| ENNReal.ofReal (volume.real A/L+Real.pi*L)β€planarTorusPerimeter A := by | |
| let f : β ββ := fun t β¦ Real.sqrt (1-(t/L)^2) | |
| have hf : Continuous f := (continuous_const.sub ((continuous_id.div_const L).pow 2)).sqrt | |
| have hb (q : β) (hq : qβIoo 0 1) : | |
| ENNReal.ofReal (q/L*volume.real A+2*(β« t in (-(q*L))..(q*L),f t))β€planarTorusPerimeter A := by | |
| obtain β¨u,v,hu,hv,pu,pv,hu0,huv,huBand,hvBandβ© := exists_planar_affine_band_field hL hq | |
| have hqL : 0<q*L := mul_pos hq.1 hL.1 | |
| have hqLL : q*L<L := by nlinarith [hq.2,hL.1] | |
| have hKhalf : q*L<1/2 := hqLL.trans hL.2 | |
| have hbound := planarTorusPerimeter_ge_corner_calibration hA (closedCentralArc_isCompact (q*L)) | |
| hu hv pu pv hu0 (fun t β¦ (huv t).le) (a := 0) (c := 1/2) (by norm_num) (by norm_num) | |
| (fun y hy0 hyT β¦ ?_) hout (k := q/L) (fun y hy β¦ ?_) | |
| Β· have hInt : (β« t in (-(q*L))..(q*L),f t)β€β« z in closedCentralArc (q*L),pu.lift z := by | |
| rw [integral_closedCentralArc β¨hqL.le,hKhalfβ©] | |
| change (β« t in (-(q*L))..(q*L),f t)β€β« t in (-(q*L))..(q*L),u t | |
| apply intervalIntegral.integral_mono_on (by linarith) (hf.intervalIntegrable _ _) (hu.continuous.intervalIntegrable _ _) | |
| intro t ht | |
| have htL : |t|β€L := (abs_le.mpr ht).trans hqLL.le | |
| rw [huBand t htL] | |
| apply Real.sqrt_le_sqrt | |
| have hq2 : q^2β€1 := by nlinarith [hq.1,hq.2] | |
| have hmul := mul_nonneg (sq_nonneg (t/L)) (sub_nonneg.mpr hq2) | |
| have he : (q/L*t)^2=q^2*(t/L)^2 := by ring | |
| rw [he] | |
| nlinarith | |
| exact (ENNReal.ofReal_le_ofReal (by linarith)).trans hbound | |
| Β· obtain β¨t,ht,heβ© := hyT | |
| have htt : |t|<L := (abs_le.mpr ht).trans_lt hqLL | |
| exact hin t htt y (by simpa using hy0) he.symm | |
| Β· obtain β¨t,ht,heβ© := hband y hy | |
| rw [βhe] | |
| exact hvBand t ht | |
| have hp : Continuous (fun z : β β¦ β« t in (0 : β)..z,f t) := | |
| intervalIntegral.continuous_primitive (fun _ _ β¦ hf.intervalIntegrable _ _) 0 | |
| have hI : Continuous (fun q : β β¦ β« t in (-(q*L))..(q*L),f t) := by | |
| have he (q : β) : (β« t in (-(q*L))..(q*L),f t)= | |
| (β« t in (0 : β)..(q*L),f t)-(β« t in (0 : β)..(-(q*L)),f t) := | |
| (intervalIntegral.integral_interval_sub_left (hf.intervalIntegrable _ _) (hf.intervalIntegrable _ _)).symm | |
| simp_rw [he] | |
| exact (hp.comp (continuous_id.mul_const L)).sub (hp.comp (continuous_id.mul_const L).neg) | |
| have hc : Continuous (fun q : β β¦ ENNReal.ofReal (q/L*volume.real A+2*(β« t in (-(q*L))..(q*L),f t))) := | |
| ENNReal.continuous_ofReal.comp (((continuous_id.div_const L).mul_const _).add (continuous_const.mul hI)) | |
| have hs : IsClosed {q : β | ENNReal.ofReal (q/L*volume.real A+2*(β« t in (-(q*L))..(q*L),f t))β€planarTorusPerimeter A} := | |
| isClosed_le hc continuous_const | |
| have h1 : (1 : β)βclosure (Ioo (0 : β) 1) := by rw [closure_Ioo (by norm_num : (0 : β)β 1)]; exact β¨by norm_num,le_rflβ© | |
| have hh := closure_minimal (fun q hq β¦ hb q hq) hs h1 | |
| change ENNReal.ofReal (1/L*volume.real A+2*(β« t in (-(1*L))..(1*L),f t))β€planarTorusPerimeter A at hh | |
| simp only [one_mul] at hh | |
| change ENNReal.ofReal (1/L*volume.real A+2*(β« t in (-L)..L,Real.sqrt (1-(t/L)^2)))β€_ at hh | |
| rw [integral_scaled_semicircle hL.1] at hh | |
| convert hh using 1 | |
| congr 1 | |
| ring | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| def PlanarRadialDownset (A : Set TransverseProduct) : Prop := | |
| β y z : TransverseProduct,(β j,βy jββ€βz jβ) βzβA βyβA | |
| def planarAxisPoint (t : β) : TransverseProduct := ![0,(t : AxisCircle)] | |
| lemma planarAxisPoint_continuous : Continuous planarAxisPoint := by | |
| apply continuous_pi | |
| intro j | |
| fin_cases j | |
| Β· exact continuous_const | |
| Β· exact AddCircle.continuous_mk' (1 : β) | |
| lemma planar_axis_can_grow {A : Set TransverseProduct} (hA : IsOpen A) | |
| {t : β} (ht : t<1/2) (hm : planarAxisPoint tβA) : | |
| β s : β,t<s β§ s<1/2 β§ planarAxisPoint sβA := by | |
| have ho : IsOpen (planarAxisPoint β»ΒΉ' A β© Iio (1/2 : β)) := | |
| (hA.preimage planarAxisPoint_continuous).inter isOpen_Iio | |
| obtain β¨Ξ΅,hΞ΅,hballβ© := Metric.isOpen_iff.mp ho t β¨hm,htβ© | |
| have he : t+Ξ΅/2βMetric.ball t Ξ΅ := by | |
| rw [Metric.mem_ball,Real.dist_eq] | |
| have hp : 0<Ξ΅/2 := half_pos hΞ΅ | |
| rw [show t+Ξ΅/2-t=Ξ΅/2 by ring,abs_of_pos hp] | |
| linarith | |
| exact β¨t+Ξ΅/2,by linarith,(hball he).2,(hball he).1β© | |
| lemma axisCircle_norm_le_half (z : AxisCircle) : βzββ€1/2 := by | |
| simpa using AddCircle.norm_le_half_period 1 (x := z) (by norm_num) | |
| lemma axisCircle_norm_coe_small {t : β} (ht : |t|β€1/2) : β(t : AxisCircle)β=|t| := by | |
| apply (AddCircle.norm_coe_eq_abs_iff 1 (by norm_num)).mpr | |
| simpa using ht | |
| theorem planar_radial_extent {A : Set TransverseProduct} (hA : IsOpen A) | |
| (hd : PlanarRadialDownset A) (h0 : (0 : TransverseProduct)βA) | |
| (hout : planarAxisPoint (1/2)βclosure A) : | |
| β L : β,LβIoo 0 (1/2) β§ | |
| (β yβA,βy 1β<L) β§ | |
| (β t : β,|t|<L ββ y : TransverseProduct,y 0=0 βy 1=(t : AxisCircle) βyβA) := by | |
| let T : Set β := {t | tβIcc 0 (1/2) β§ planarAxisPoint tβA} | |
| have he0 : planarAxisPoint 0=(0 : TransverseProduct) := by ext j; fin_cases j <;> simp [planarAxisPoint] | |
| have hzero : planarAxisPoint 0βA := he0 βΈ h0 | |
| have hne : T.Nonempty := β¨0,β¨by constructor <;> norm_num,hzeroβ©β© | |
| have hb : BddAbove T := β¨1/2,fun t ht β¦ ht.1.2β© | |
| let L : β := sSup T | |
| have hLhalf : Lβ€1/2 := csSup_le hne (fun t ht β¦ ht.1.2) | |
| have hcl : planarAxisPoint Lβclosure A := by | |
| exact closure_minimal (s := T) (t := planarAxisPoint β»ΒΉ' closure A) | |
| (fun t ht β¦ subset_closure ht.2) | |
| (isClosed_closure.preimage planarAxisPoint_continuous) (csSup_mem_closure hne hb) | |
| have hLlt : L<1/2 := lt_of_le_of_ne hLhalf (fun he β¦ hout (he βΈ hcl)) | |
| obtain β¨s,hs,hsH,hsAβ© := planar_axis_can_grow hA (by norm_num : (0 : β)<1/2) hzero | |
| have hsL : sβ€L := le_csSup hb β¨β¨hs.le,hsH.leβ©,hsAβ© | |
| refine β¨L,β¨hs.trans_le hsL,hLltβ©,?_,?_β© | |
| Β· intro y hy | |
| have hp : planarAxisPoint βy 1ββA := by | |
| apply hd _ y _ hy | |
| intro j | |
| fin_cases j | |
| Β· simp [planarAxisPoint] | |
| Β· change β((βy 1β : β) : AxisCircle)ββ€βy 1β | |
| rw [axisCircle_norm_coe_small (by simpa only [abs_norm] using axisCircle_norm_le_half (y 1)),abs_norm] | |
| have hrL : βy 1ββ€L := le_csSup hb β¨β¨norm_nonneg _,axisCircle_norm_le_half _β©,hpβ© | |
| obtain β¨s,hs,hsH,hsAβ© := planar_axis_can_grow hA (hrL.trans_lt hLlt) hp | |
| exact hs.trans_le (le_csSup hb β¨β¨(norm_nonneg _).trans hs.le,hsH.leβ©,hsAβ©) | |
| Β· intro t ht y hy0 hy1 | |
| obtain β¨s,hs,hstβ© := exists_lt_of_lt_csSup hne ht | |
| apply hd y (planarAxisPoint s) _ hs.2 | |
| intro j | |
| fin_cases j | |
| Β· simp [planarAxisPoint,hy0] | |
| Β· change βy 1ββ€β(s : AxisCircle)β | |
| rw [hy1,axisCircle_norm_coe_small (ht.le.trans hLhalf), | |
| axisCircle_norm_coe_small (by simpa [abs_of_nonneg hs.1.1] using hs.1.2),abs_of_nonneg hs.1.1] | |
| exact hst.le | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| lemma axisCircle_exists_centered_rep (z : AxisCircle) : | |
| β t : β,(t : AxisCircle)=z β§ |t|=βzβ := by | |
| let t := (AddCircle.equivIco (1 : β) (-(1/2 : β)) z : β) | |
| have ht := (AddCircle.equivIco (1 : β) (-(1/2 : β)) z).property | |
| have hbound : |t|β€1/2 := abs_le.mpr β¨ht.1,by dsimp [t]; linarith [ht.2]β© | |
| have he : (t : AxisCircle)=z := AddCircle.coe_equivIco | |
| exact β¨t,he,by rw [βhe,axisCircle_norm_coe_small hbound]β© | |
| def planarFirstAxisPoint (t : β) : TransverseProduct := ![(t : AxisCircle),0] | |
| lemma planar_radial_empty_fiber {A : Set TransverseProduct} (hd : PlanarRadialDownset A) | |
| (hout : planarFirstAxisPoint (1/2)βclosure A) : | |
| β y : TransverseProduct,y 0=((1/2 : β) : AxisCircle) βyβclosure A := by | |
| let f : TransverseProduct βTransverseProduct := fun y β¦ ![y 0,0] | |
| have hc : Continuous f := by | |
| apply continuous_pi | |
| intro j | |
| fin_cases j | |
| Β· exact continuous_apply 0 | |
| Β· exact continuous_const | |
| have hm : Aβf β»ΒΉ' closure A := by | |
| intro y hy | |
| apply subset_closure | |
| apply hd (f y) y _ hy | |
| intro j | |
| fin_cases j <;> simp [f] | |
| have hcl := closure_minimal hm (isClosed_closure.preimage hc) | |
| intro y hy hya | |
| apply hout | |
| have he : f y=planarFirstAxisPoint (1/2) := by | |
| ext j | |
| fin_cases j <;> simp [f,planarFirstAxisPoint,hy] | |
| exact he βΈ hcl hya | |
| theorem planar_radial_calibration {A : Set TransverseProduct} (hA : IsOpen A) | |
| (hd : PlanarRadialDownset A) (h0 : (0 : TransverseProduct)βA) | |
| (hout0 : planarFirstAxisPoint (1/2)βclosure A) | |
| (hout1 : planarAxisPoint (1/2)βclosure A) : | |
| β L : β,LβIoo 0 (1/2) β§ | |
| (β yβA,βy 1β<L) β§ | |
| ENNReal.ofReal (volume.real A/L+Real.pi*L)β€planarTorusPerimeter A := by | |
| 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β© | |
| theorem planar_radial_isoperimetric {A : Set TransverseProduct} (hA : IsOpen A) | |
| (hd : PlanarRadialDownset A) (h0 : (0 : TransverseProduct)βA) | |
| (hout0 : planarFirstAxisPoint (1/2)βclosure A) | |
| (hout1 : planarAxisPoint (1/2)βclosure A) : | |
| ENNReal.ofReal (2*Real.sqrt (Real.pi*volume.real A))β€planarTorusPerimeter A := by | |
| obtain β¨L,hL,hband,hpβ© := planar_radial_calibration hA hd h0 hout0 hout1 | |
| apply le_trans (ENNReal.ofReal_le_ofReal ?_) hp | |
| have ha : 0β€volume.real A := measureReal_nonneg | |
| have hs : (Real.sqrt (Real.pi*volume.real A))^2=Real.pi*volume.real A := | |
| Real.sq_sqrt (mul_nonneg Real.pi_pos.le ha) | |
| have hq := sq_nonneg (Real.sqrt (volume.real A/L)-Real.sqrt (Real.pi*L)) | |
| have hu : (Real.sqrt (volume.real A/L))^2=volume.real A/L := Real.sq_sqrt (div_nonneg ha hL.1.le) | |
| have hv : (Real.sqrt (Real.pi*L))^2=Real.pi*L := Real.sq_sqrt (mul_nonneg Real.pi_pos.le hL.1.le) | |
| have he : Real.sqrt (volume.real A/L)*Real.sqrt (Real.pi*L)=Real.sqrt (Real.pi*volume.real A) := by | |
| rw [βReal.sqrt_mul (div_nonneg ha hL.1.le)] | |
| congr 1 | |
| field_simp [hL.1.ne'] | |
| nlinarith | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| def planarQuotient (x : Plane) : TransverseProduct := fun j β¦ (x j : AxisCircle) | |
| lemma planarQuotient_representative (y : TransverseProduct) : | |
| planarQuotient (planarRepresentative y)=y := by | |
| ext j | |
| exact AddCircle.coe_equivIco | |
| lemma planarQuotient_add (x y : Plane) : planarQuotient (x+y)=planarQuotient x+planarQuotient y := by | |
| ext j | |
| change ((x j+y j : β) : AxisCircle)=(x j : AxisCircle)+(y j : AxisCircle) | |
| simp only [AddCircle.coe_add] | |
| lemma planarQuotient_neg (x : Plane) : planarQuotient (-x)=-planarQuotient x := by | |
| ext j | |
| change ((-x j : β) : AxisCircle)=-(x j : AxisCircle) | |
| simp only [AddCircle.coe_neg] | |
| lemma planar_same_quotient_lattice {x y : Plane} (h : planarQuotient x=planarQuotient y) : | |
| β n : Fin 2 ββ€,x=y+WithLp.toLp 2 (fun j β¦ (n j : β)) := by | |
| have hh : β j : Fin 2,β n : β€,(n : β)=x j-y j := by | |
| intro j | |
| have hi : ((x j-y j : β) : AxisCircle)=0 := by | |
| have he := congrFun h j | |
| simpa only [planarQuotient,AddCircle.coe_sub] using sub_eq_zero.mpr he | |
| simpa only [zsmul_eq_mul,mul_one] using ((AddCircle.coe_eq_zero_iff (1 : β)).mp hi) | |
| choose n hn using hh | |
| refine β¨n,?_β© | |
| ext j | |
| change x j=y j+(n j : β) | |
| linarith [hn j] | |
| lemma planeDivergence_translate (F : Plane βPlane) (a y : Plane) : | |
| planeDivergence (fun z β¦ F (z+a)) y=planeDivergence F (y+a) := by | |
| simp only [planeDivergence,fderiv_comp_add_right] | |
| lemma planeDivergence_periodic {F : Plane βPlane} | |
| (hF : β (n : Fin 2 ββ€) y,F (y+WithLp.toLp 2 (fun j β¦ (n j : β)))=F y) | |
| (n : Fin 2 ββ€) (y : Plane) : | |
| planeDivergence F (y+WithLp.toLp 2 (fun j β¦ (n j : β)))=planeDivergence F y := by | |
| have he : (fun y : Plane β¦ F (y+WithLp.toLp 2 (fun j β¦ (n j : β))))=F := funext (hF n) | |
| rw [βplaneDivergence_translate,he] | |
| lemma planarAdmissibleField_translate {F : Plane βPlane} (hF : PlanarAdmissibleField F) (a : Plane) : | |
| PlanarAdmissibleField (fun y β¦ F (y+a)) := by | |
| refine β¨hF.1.comp (contDiff_id.add contDiff_const),?_,fun y β¦ hF.2.2 _β© | |
| intro n y | |
| change F ((y+WithLp.toLp 2 (fun j β¦ (n j : β)))+a)=F (y+a) | |
| rw [add_right_comm,hF.2.1] | |
| lemma planar_flux_translation {F : Plane βPlane} (hF : PlanarAdmissibleField F) | |
| (a : Plane) (A : Set TransverseProduct) : | |
| (β« y in (fun z : TransverseProduct β¦ z+planarQuotient a) β»ΒΉ' A, | |
| planeDivergence F (planarRepresentative y))= | |
| β« y in A,planeDivergence (fun z β¦ F (z-a)) (planarRepresentative y) := by | |
| have he : (fun y : 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] | |
| have hq : 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 : Measure TransverseProduct) (planarQuotient a)).setIntegral_preimage_emb | |
| (Homeomorph.addRight (planarQuotient a)).measurableEmbedding | |
| (fun y β¦ planeDivergence (fun z β¦ F (z-a)) (planarRepresentative y)) A | |
| lemma planarTorusPerimeter_translation_le (A : Set TransverseProduct) (a : Plane) : | |
| planarTorusPerimeter ((fun y : TransverseProduct β¦ y+planarQuotient a) β»ΒΉ' A)β€planarTorusPerimeter A := by | |
| apply iSup_le | |
| intro F | |
| apply iSup_le | |
| intro hF | |
| rw [planar_flux_translation hF a A] | |
| have hG : PlanarAdmissibleField (fun y β¦ F (y-a)) := by | |
| simpa only [sub_eq_add_neg] using planarAdmissibleField_translate hF (-a) | |
| exact le_iSup_of_le (fun y β¦ F (y-a)) (le_iSup_of_le hG le_rfl) | |
| theorem planarTorusPerimeter_translation (A : Set TransverseProduct) (a : TransverseProduct) : | |
| planarTorusPerimeter ((fun y : TransverseProduct β¦ y+a) β»ΒΉ' A)=planarTorusPerimeter A := by | |
| have ha := planarQuotient_representative a | |
| refine le_antisymm (by simpa only [ha] using planarTorusPerimeter_translation_le A (planarRepresentative a)) ?_ | |
| have hh := planarTorusPerimeter_translation_le ((fun y : TransverseProduct β¦ y+a) β»ΒΉ' A) (-planarRepresentative a) | |
| have he : (fun y : TransverseProduct β¦ y+planarQuotient (-planarRepresentative a)) β»ΒΉ' | |
| ((fun y : TransverseProduct β¦ y+a) β»ΒΉ' A)=A := by | |
| ext y | |
| simp | |
| rwa [he] at hh | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| lemma axisCircle_norm_add_half (z : AxisCircle) : | |
| βz+((1/2 : β) : AxisCircle)β=1/2-βzβ := by | |
| obtain β¨t,he,htβ© := axisCircle_exists_centered_rep z | |
| have hb : |t|β€1/2 := ht.trans_le (axisCircle_norm_le_half z) | |
| rw [βhe,βAddCircle.coe_add,axisCircle_norm_coe_small hb] | |
| by_cases hpos : 0β€t | |
| Β· rw [circle_norm_upper β¨by linarith,(by linarith [(le_abs_self t).trans hb])β©,abs_of_nonneg hpos] | |
| ring | |
| Β· have ht0 := le_of_not_ge hpos | |
| have hp : 0β€t+1/2 := by linarith [neg_le_of_abs_le hb] | |
| rw [axisCircle_norm_coe_small (by rw [abs_of_nonneg hp]; linarith),abs_of_nonneg hp,abs_of_nonpos ht0] | |
| ring | |
| def axialSectionCenter (b : Fin 3 βBool) (i : Fin 3) : TransverseProduct := | |
| fun j β¦ if b (i.succAbove j) then ((1/2 : β) : AxisCircle) else 0 | |
| def centeredAxialSlice (O : Set Torus) (b : Fin 3 βBool) (i : Fin 3) (t : AxisCircle) : Set TransverseProduct := | |
| (fun y β¦ y+axialSectionCenter b i) β»ΒΉ' axialSlice O i t | |
| lemma upperFold_centered_slice (b : Fin 3 βBool) (i : Fin 3) (t : AxisCircle) | |
| (y : TransverseProduct) (j : Fin 2) : | |
| upperFold ((torusAxialSplit i).symm (t,y+axialSectionCenter b i)) (i.succAbove j)= | |
| if b (i.succAbove j) then 1/2+βy jβ else 1-βy jβ := by | |
| rw [upperFold_slice_succAbove] | |
| change 1-βy j+(if b (i.succAbove j) then ((1/2 : β) : AxisCircle) else 0)β=_ | |
| cases b (i.succAbove j) <;> simp only [Bool.false_eq_true,ite_false,ite_true,add_zero] | |
| rw [axisCircle_norm_add_half] | |
| ring | |
| lemma centeredAxialSlice_isOpen {O : Set Torus} (hO : IsOpen O) (b : Fin 3 βBool) (i : Fin 3) (t : AxisCircle) : | |
| IsOpen (centeredAxialSlice O b i t) := | |
| (axialSlice_isOpen hO i t).preimage (continuous_add_const _) | |
| lemma centeredAxialSlice_closure_subset (O : Set Torus) (b : Fin 3 βBool) (i : Fin 3) (t : AxisCircle) : | |
| closure (centeredAxialSlice O b i t)βcenteredAxialSlice (closure O) b i t := by | |
| apply closure_minimal | |
| Β· exact preimage_mono (preimage_mono subset_closure) | |
| Β· exact (isClosed_closure.preimage ((torusAxialSplit_symm_continuous i).comp | |
| (continuous_const.prodMk (continuous_add_const (axialSectionCenter b i))))) | |
| theorem isMinimizerAt_centered_section_radial {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) | |
| (hR : β i : Fin 3,E=α΅[torusVolume]((axisReflection i).torus β»ΒΉ' E)) | |
| {b : Fin 3 βBool} | |
| (hd : β xβupperOctant,β yβupperOctant,OrientedCoordinateLE b x y β | |
| quotientMap yβopenRepresentative E βquotientMap xβopenRepresentative E) | |
| (i : Fin 3) (t : AxisCircle) : | |
| PlanarRadialDownset (centeredAxialSlice (openRepresentative E) b i t) := by | |
| intro y z hyz hz | |
| let Y := (torusAxialSplit i).symm (t,y+axialSectionCenter b i) | |
| let Z := (torusAxialSplit i).symm (t,z+axialSectionCenter b i) | |
| change YβopenRepresentative E | |
| have 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 then 1-βY iββ€1-βZ iβ else 1-β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] | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| def planarSquareCorner (n : Fin 2 βBool) : TransverseProduct := | |
| fun j β¦ if n j then ((1/2 : β) : AxisCircle) else 0 | |
| lemma centered_section_corner (b : Fin 3 βBool) (i : Fin 3) (t : β) (n : Fin 2 βBool) : | |
| (torusAxialSplit i).symm ((t : AxisCircle),planarSquareCorner n+axialSectionCenter b i)= | |
| quotientMap (axialSectionCorner b i t n) := by | |
| 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) else 0)+ | |
| (if b (i.succAbove j) then ((1/2 : β) : AxisCircle) else 0)= | |
| (octantHeight b (i.succAbove j) (if n j then 1 else 0) : 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] | |
| lemma centered_section_zero (b : Fin 3 βBool) (i : Fin 3) (t : β) : | |
| (torusAxialSplit i).symm ((t : AxisCircle),(0 : TransverseProduct)+axialSectionCenter b i)= | |
| quotientMap (axialSectionCorner b i t (fun _ β¦ false)) := by | |
| have he : planarSquareCorner (fun _ β¦ false)=(0 : TransverseProduct) := by ext j; simp [planarSquareCorner] | |
| simpa only [he] using centered_section_corner b i t (fun _ β¦ false) | |
| lemma centered_section_first_axis (b : Fin 3 βBool) (i : Fin 3) (t : β) : | |
| (torusAxialSplit i).symm ((t : AxisCircle),planarFirstAxisPoint (1/2)+axialSectionCenter b i)= | |
| quotientMap (axialSectionCorner b i t (fun j β¦ j==0)) := by | |
| have he : planarFirstAxisPoint (1/2)=planarSquareCorner (fun j β¦ j==0) := by | |
| ext j; fin_cases j <;> simp [planarFirstAxisPoint,planarSquareCorner] | |
| rw [he,centered_section_corner] | |
| lemma centered_section_second_axis (b : Fin 3 βBool) (i : Fin 3) (t : β) : | |
| (torusAxialSplit i).symm ((t : AxisCircle),planarAxisPoint (1/2)+axialSectionCenter b i)= | |
| quotientMap (axialSectionCorner b i t (fun j β¦ j==1)) := by | |
| have he : planarAxisPoint (1/2)=planarSquareCorner (fun j β¦ j==1) := by | |
| ext j; fin_cases j <;> simp [planarAxisPoint,planarSquareCorner] | |
| rw [he,centered_section_corner] | |
| lemma centeredAxialSlice_volume (O : Set Torus) (b : Fin 3 βBool) (i : Fin 3) (t : AxisCircle) : | |
| volume.real (centeredAxialSlice O b i t)=volume.real (axialSlice O i t) := by | |
| apply congrArg ENNReal.toReal | |
| exact (measurePreserving_add_right (volume : Measure TransverseProduct) (axialSectionCenter b i)).measure_preimage_emb | |
| (Homeomorph.addRight (axialSectionCenter b i)).measurableEmbedding _ | |
| lemma centeredAxialSlice_perimeter (O : Set Torus) (b : Fin 3 βBool) (i : Fin 3) (t : AxisCircle) : | |
| planarTorusPerimeter (centeredAxialSlice O b i t)=planarTorusPerimeter (axialSlice O i t) := | |
| planarTorusPerimeter_translation _ _ | |
| theorem isMinimizerAt_section_disk_perimeter {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) | |
| (hR : β i : Fin 3,E=α΅[torusVolume]((axisReflection i).torus β»ΒΉ' E)) | |
| {b : Fin 3 βBool} | |
| (hd : β xβupperOctant,β yβupperOctant,OrientedCoordinateLE b x y β | |
| quotientMap yβopenRepresentative E βquotientMap xβopenRepresentative E) | |
| (i : Fin 3) (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 | |
| have hzero : (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] | |
| have hv0 : 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 | |
| have hv1 : 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 | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| lemma planar_descended_divergence_continuous {F : Plane βPlane} (hF : PlanarAdmissibleField F) : | |
| Continuous (fun y : TransverseProduct β¦ planeDivergence F (planarRepresentative y)) := by | |
| have hLF := liftPlanarField_admissible (0 : Fin 3) hF | |
| have hc := continuous_periodic_descent (continuous_divergence hLF.1) (divergence_periodic hLF.2.1) | |
| have hh := hc.comp ((torusAxialSplit_symm_continuous 0).comp | |
| ((continuous_const : Continuous (fun _ : TransverseProduct β¦ (0 : AxisCircle))).prodMk (continuous_id : Continuous (fun y : TransverseProduct β¦ y)))) | |
| convert hh using 1 | |
| funext y | |
| dsimp only [Function.comp_apply,id_eq] | |
| rw [divergence_liftPlanarField 0 hF.1,planeAxisProjection_representative] | |
| lemma planar_integral_divergence_zero {F : Plane βPlane} (hF : PlanarAdmissibleField F) : | |
| (β« y : TransverseProduct,planeDivergence F (planarRepresentative y))=0 := by | |
| have hLF := liftPlanarField_admissible (0 : Fin 3) hF | |
| have hc := continuous_periodic_descent (continuous_divergence hLF.1) (divergence_periodic hLF.2.1) | |
| have hz : (β« z : Torus,divergence (liftPlanarField 0 F) (representative z) βtorusVolume)=0 := by | |
| have hh := setIntegral_lift (continuous_divergence hLF.1) (divergence_periodic hLF.2.1) (E := univ) MeasurableSet.univ | |
| simpa only [setIntegral_univ,preimage_univ,inter_univ,integral_divergence_fundamentalCube hLF] using hh | |
| have hh := axialSliceIntegral_pairing (E := univ) MeasurableSet.univ (0 : Fin 3) hc | |
| (Ο := fun _ β¦ (1 : β)) continuous_const | |
| simp only [one_mul,setIntegral_univ] at hh | |
| rw [hz] at hh | |
| simp only [axialSliceIntegral,axialSlice,mem_univ,ofPred_true, | |
| divergence_liftPlanarField 0 hF.1,planeAxisProjection_representative,setIntegral_univ] at hh | |
| simpa using hh | |
| lemma planarAdmissibleField_neg {F : Plane βPlane} (hF : PlanarAdmissibleField F) : | |
| PlanarAdmissibleField (fun y β¦ -F y) := by | |
| refine β¨hF.1.neg,fun n y β¦ congrArg Neg.neg (hF.2.1 n y),?_β© | |
| intro y | |
| simpa only [norm_neg] using hF.2.2 y | |
| lemma planeDivergence_neg (F : Plane βPlane) (y : Plane) : | |
| planeDivergence (fun z β¦ -F z) y=-planeDivergence F y := by | |
| simp [planeDivergence] | |
| ring | |
| lemma planar_integral_divergence_compl {A : Set TransverseProduct} (hA : NullMeasurableSet A volume) | |
| {F : Plane βPlane} (hF : PlanarAdmissibleField F) : | |
| (β« y in AαΆ,planeDivergence F (planarRepresentative y))= | |
| -(β« y in A,planeDivergence F (planarRepresentative y)) := by | |
| 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 | |
| theorem planarTorusPerimeter_compl {A : Set TransverseProduct} (hA : NullMeasurableSet A volume) : | |
| planarTorusPerimeter AαΆ=planarTorusPerimeter A := by | |
| have hle : β B : Set TransverseProduct,NullMeasurableSet B volume β | |
| planarTorusPerimeter BαΆβ€planarTorusPerimeter B := by | |
| intro B hB | |
| apply iSup_le | |
| intro F | |
| apply iSup_le | |
| intro hF | |
| apply le_iSup_of_le (fun y β¦ -F y) | |
| apply le_iSup_of_le (planarAdmissibleField_neg hF) | |
| rw [planar_integral_divergence_compl hB hF] | |
| simp only [planeDivergence_neg,integral_neg,le_refl] | |
| exact le_antisymm (hle A hA) (by simpa only [compl_compl] using hle AαΆ hA.compl) | |
| lemma planarTorusPerimeter_congr_ae {A B : Set TransverseProduct} (h : A=α΅[volume]B) : | |
| planarTorusPerimeter A=planarTorusPerimeter B := by | |
| unfold planarTorusPerimeter | |
| congr 1 | |
| funext F | |
| congr 1 | |
| funext hF | |
| rw [setIntegral_congr_set h] | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| lemma isMinimizerAt_complement_octant_downset {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) | |
| (hR : β i : Fin 3,E=α΅[torusVolume]((axisReflection i).torus β»ΒΉ' E)) | |
| {b : Fin 3 β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 | |
| 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 | |
| have hur : uβclosedUpperOctant := fun i β¦ β¨(hu i).1.le,(hu i).2.leβ© | |
| have hvr : 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) | |
| lemma axialSectionCorner_reverse (b : Fin 3 βBool) (i : Fin 3) (t : β) (n : Fin 2 βBool) : | |
| axialSectionCorner (fun k β¦ !b k) i t n=axialSectionCorner b i t (fun j β¦ !n j) := by | |
| 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] | |
| lemma openRepresentative_compl_eq {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) : | |
| openRepresentative EαΆ=(closure (openRepresentative E))αΆ := by | |
| rw [isMinimizerAt_closure_openRepresentative_null hV hmin] | |
| simp only [openRepresentative,compl_compl] | |
| lemma closure_openRepresentative_compl_eq {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) : | |
| closure (openRepresentative EαΆ)=(openRepresentative E)αΆ := by | |
| have hVc : 1-VβIoo (0 : β) 1 := β¨by linarith [hV.2],by linarith [hV.1]β© | |
| rw [isMinimizerAt_closure_openRepresentative_null hVc ((isMinimizerAt_compl β¨hV.1.le,hV.2.leβ©).mpr hmin)] | |
| simp only [openRepresentative,compl_compl] | |
| lemma axialSlice_openRepresentative_compl_ae {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) (i : Fin 3) (t : AxisCircle) | |
| (hn : volume (axialSlice (frontier (openRepresentative E)) i t)=0) : | |
| axialSlice (openRepresentative EαΆ) i t=α΅[volume]((axialSlice (openRepresentative E) i t)αΆ : Set TransverseProduct) := by | |
| have hnb : βα΅ y : TransverseProduct,yβaxialSlice (frontier (openRepresentative E)) i t := by | |
| rw [ae_iff] | |
| convert hn using 2 | |
| ext y | |
| simp | |
| filter_upwards [hnb] with y hy | |
| rw [openRepresentative_compl_eq hV hmin] | |
| apply propext | |
| change ((torusAxialSplit i).symm (t,y)βclosure (openRepresentative E)) β | |
| (torusAxialSplit i).symm (t,y)βopenRepresentative E | |
| constructor | |
| Β· intro h hc; exact h (subset_closure hc) | |
| Β· intro h hc | |
| apply hy | |
| change (torusAxialSplit i).symm (t,y)βfrontier (openRepresentative E) | |
| rw [(isOpen_openRepresentative E).frontier_eq] | |
| exact β¨hc,hβ© | |
| lemma axialSlice_complement_volume {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) (i : Fin 3) (t : AxisCircle) | |
| (hn : volume (axialSlice (frontier (openRepresentative E)) i t)=0) : | |
| volume.real (axialSlice (openRepresentative EαΆ) i t)= | |
| 1-volume.real (axialSlice (openRepresentative E) i t) := by | |
| have hv : volume (axialSlice (openRepresentative E) i t)β€1 := by | |
| simpa using (measure_mono (subset_univ (axialSlice (openRepresentative E) i t)) : volume _β€volume univ) | |
| rw [measureReal_def,measure_congr (axialSlice_openRepresentative_compl_ae hV hmin i t hn)] | |
| rw [measure_compl (axialSlice_measurable (isOpen_openRepresentative E).measurableSet i t) (measure_ne_top _ _), | |
| measure_univ,ENNReal.toReal_sub_of_le hv ENNReal.one_ne_top, | |
| ENNReal.toReal_one] | |
| rfl | |
| lemma axialSlice_complement_perimeter {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) (i : Fin 3) (t : AxisCircle) | |
| (hn : volume (axialSlice (frontier (openRepresentative E)) i t)=0) : | |
| planarTorusPerimeter (axialSlice (openRepresentative EαΆ) i t)= | |
| planarTorusPerimeter (axialSlice (openRepresentative E) i t) := by | |
| rw [planarTorusPerimeter_congr_ae (axialSlice_openRepresentative_compl_ae hV hmin i t hn), | |
| planarTorusPerimeter_compl (axialSlice_measurable (isOpen_openRepresentative E).measurableSet i t).nullMeasurableSet] | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| theorem isMinimizerAt_section_extent_perimeter {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) | |
| (hR : β i : Fin 3,E=α΅[torusVolume]((axisReflection i).torus β»ΒΉ' E)) | |
| {b : Fin 3 βBool} | |
| (hd : β xβupperOctant,β yβupperOctant,OrientedCoordinateLE b x y β | |
| quotientMap yβopenRepresentative E βquotientMap xβopenRepresentative E) | |
| (i : Fin 3) (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βIoo 0 (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 | |
| have hzero : (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] | |
| have hv0 : 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 | |
| have hv1 : 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 | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| theorem isMinimizerAt_section_complement_calibration {V : β} (hV : VβIoo 0 1) | |
| {E : Set Torus} (hmin : IsMinimizerAt V E) | |
| (hR : β i : Fin 3,E=α΅[torusVolume]((axisReflection i).torus β»ΒΉ' E)) | |
| {b : Fin 3 βBool} | |
| (hd : β xβupperOctant,β yβupperOctant,OrientedCoordinateLE b x y β | |
| quotientMap yβopenRepresentative E βquotientMap xβopenRepresentative E) | |
| (i : Fin 3) (t : β) | |
| (hout : quotientMap (axialSectionCorner b i t (fun _ β¦ true))βclosure (openRepresentative E)) | |
| (hin0 : quotientMap (axialSectionCorner b i t (fun j β¦ j==0))βopenRepresentative E) | |
| (hin1 : quotientMap (axialSectionCorner b i t (fun j β¦ j==1))βopenRepresentative E) | |
| (hn : volume (axialSlice (frontier (openRepresentative E)) i (t : AxisCircle))=0) : | |
| β L : β,LβIoo 0 (1/2) β§ | |
| (β yβcenteredAxialSlice (openRepresentative EαΆ) (fun k β¦ !b k) i (t : AxisCircle),βy 1β<L) β§ | |
| ENNReal.ofReal ((1-volume.real (axialSlice (openRepresentative E) i (t : AxisCircle)))/L+Real.pi*L)β€ | |
| planarTorusPerimeter (axialSlice (openRepresentative E) i (t : AxisCircle)) β§ | |
| ENNReal.ofReal (2*Real.sqrt (Real.pi*(1-volume.real (axialSlice (openRepresentative E) i (t : AxisCircle)))))β€ | |
| planarTorusPerimeter (axialSlice (openRepresentative E) i (t : AxisCircle)) := by | |
| have hVc : 1-VβIoo (0 : β) 1 := β¨by linarith [hV.2],by linarith [hV.1]β© | |
| have hmc := (isMinimizerAt_compl β¨hV.1.le,hV.2.leβ©).mpr hmin | |
| have hRc (i : Fin 3) : EαΆ=α΅[torusVolume]((axisReflection i).torus β»ΒΉ' EαΆ) := (hR i).compl | |
| have hdc := isMinimizerAt_complement_octant_downset hV hmin hR hd | |
| have hswap0 : (fun j : Fin 2 β¦ !(j==0))=(fun j β¦ j==1) := by funext j; fin_cases j <;> decide | |
| have hswap1 : (fun j : Fin 2 β¦ !(j==1))=(fun j β¦ j==0) := by funext j; fin_cases j <;> decide | |
| have hin : quotientMap (axialSectionCorner (fun k β¦ !b k) i t (fun _ β¦ false))βopenRepresentative EαΆ := by | |
| rw [openRepresentative_compl_eq hV hmin,axialSectionCorner_reverse] | |
| exact hout | |
| have hv0 : quotientMap (axialSectionCorner (fun k β¦ !b k) i t (fun j β¦ j==0))βclosure (openRepresentative EαΆ) := by | |
| rw [closure_openRepresentative_compl_eq hV hmin,axialSectionCorner_reverse,hswap0] | |
| simpa using hin1 | |
| have hv1 : quotientMap (axialSectionCorner (fun k β¦ !b k) i t (fun j β¦ j==1))βclosure (openRepresentative EαΆ) := by | |
| rw [closure_openRepresentative_compl_eq hV hmin,axialSectionCorner_reverse,hswap1] | |
| simpa using hin0 | |
| obtain β¨L,hL,hband,hpβ© := isMinimizerAt_section_extent_perimeter hVc hmc hRc hdc i t hin hv0 hv1 | |
| have hh := isMinimizerAt_section_disk_perimeter hVc hmc hRc hdc i t hin hv0 hv1 | |
| rw [axialSlice_complement_volume hV hmin i _ hn,axialSlice_complement_perimeter hV hmin i _ hn] at hp hh | |
| exact β¨L,hL,hband,hp,hhβ© | |
| end CubicTorus | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal NNReal Topology RealInnerProductSpace | |
| namespace CubicTorus | |
| end CubicTorus | |
| end | |
| end | |
| end | |
| end OAI | |
Outline
- lemma
integral_closedCentralArc13 - lemma
integral_scaled_semicircle55 - theorem
planarTorusPerimeter_ge_semicircle_calibration64 - def
PlanarRadialDownset135 - def
planarAxisPoint138 - lemma
planarAxisPoint_continuous140 - lemma
planar_axis_can_grow147 - lemma
axisCircle_norm_le_half160 - lemma
axisCircle_norm_coe_small163 - theorem
planar_radial_extent167 - lemma
axisCircle_exists_centered_rep222 - def
planarFirstAxisPoint230 - lemma
planar_radial_empty_fiber232 - theorem
planar_radial_calibration256 - theorem
planar_radial_isoperimetric270 - def
planarQuotient301 - lemma
planarQuotient_representative303 - lemma
planarQuotient_add308 - lemma
planarQuotient_neg312 - lemma
planar_same_quotient_lattice317 - lemma
planeDivergence_translate331 - lemma
planeDivergence_periodic335 - lemma
planarAdmissibleField_translate342 - lemma
planar_flux_translation349 - lemma
planarTorusPerimeter_translation_le367 - theorem
planarTorusPerimeter_translation378 - lemma
axisCircle_norm_add_half401 - def
axialSectionCenter414 - def
centeredAxialSlice417 - lemma
upperFold_centered_slice420 - lemma
centeredAxialSlice_isOpen430 - lemma
centeredAxialSlice_closure_subset434 - theorem
isMinimizerAt_centered_section_radial441 - def
planarSquareCorner478 - lemma
centered_section_corner481 - lemma
centered_section_zero498 - lemma
centered_section_first_axis504 - lemma
centered_section_second_axis511 - lemma
centeredAxialSlice_volume518 - lemma
centeredAxialSlice_perimeter524 - theorem
isMinimizerAt_section_disk_perimeter528 - lemma
planar_descended_divergence_continuous571 - lemma
planar_integral_divergence_zero582 - lemma
planarAdmissibleField_neg597 - lemma
planeDivergence_neg603 - lemma
planar_integral_divergence_compl608 - theorem
planarTorusPerimeter_compl617 - lemma
planarTorusPerimeter_congr_ae632 - lemma
isMinimizerAt_complement_octant_downset653 - lemma
axialSectionCorner_reverse673 - lemma
openRepresentative_compl_eq682 - lemma
closure_openRepresentative_compl_eq688 - lemma
axialSlice_openRepresentative_compl_ae695 - lemma
axialSlice_complement_volume717 - lemma
axialSlice_complement_perimeter730 - theorem
isMinimizerAt_section_extent_perimeter750 - theorem
isMinimizerAt_section_complement_calibration795
Xet Storage Details
- Size:
- 41.5 kB
- Xet hash:
- 6f32c111acab7c6d0e6258274492152f60185ff173129e41f7718dfe0f3697d6
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.