Download data/lean/OAI/Geometry/HeilbronnTriangle/AnisotropicCount.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 18.1 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/HeilbronnTriangle/AnisotropicCount.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/HeilbronnTriangle/AnisotropicCount.lean
-
curl -L -o AnisotropicCount.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/HeilbronnTriangle/AnisotropicCount.lean
18.1 kB
| import OAI.Geometry.HeilbronnTriangle.AnisotropicGeometry | |
| import OAI.Geometry.HeilbronnTriangle.AnisotropicDyadic | |
| import OAI.Geometry.HeilbronnTriangle.PlaneFiberAssembly | |
| import OAI.Geometry.HeilbronnTriangle.IntegerNormalGroups | |
| import OAI.Geometry.HeilbronnTriangle.AnisotropicPlaneData | |
| namespace OAI | |
| noncomputable section | |
| namespace Problem355.Anisotropic | |
| open Matrix | |
| open scoped Matrix | |
| open PrimitiveNormal | |
| abbrev Triple := PlaneFiberAssembly.Triple | |
| theorem thick_fiber_card_le | |
| (S : Finset Triple) (y : IntVector) (d : PlaneData y) (t : β€) | |
| (Rβ Rβ Rβ : β) (hββ : Rβ β€ Rβ) (hββ : Rβ β€ Rβ) | |
| (hlarge : d.second β€ Rβ) | |
| (hdet : β x β S, x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t) | |
| (hcross : β x β S, β a : β€, a β 0 β§ x.2.1 β¨―β x.2.2 = a β’ y) | |
| (hplane : β x β S, x.2.1 β¬α΅₯ y = 0 β§ x.2.2 β¬α΅₯ y = 0) | |
| (hnorm : β x β S, length x.1 β€ Rβ β§ | |
| length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ) : | |
| (S.card : β) β€ 2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2 / length y ^ 3 := by | |
| have h := PlaneFiberAssembly.triple_count_of_plane_counts S y t Rβ Rβ Rβ | |
| (36 * Real.pi * Rβ ^ 2 / length y) | |
| (9 * Real.pi * Rβ ^ 2 / length y) | |
| (9 * Real.pi * Rβ ^ 2 / length y) | |
| (by positivity) (by positivity) hdet hcross hplane hnorm | |
| (fun T center hT => affine_plane_card_le y d T center Rβ | |
| (hlarge.trans (hββ.trans hββ)) (fun v hv => (hT v hv).2) | |
| (fun v hv w hw => by rw [sub_dotProduct, (hT v hv).1, (hT w hw).1, sub_self])) | |
| (fun T hT => d.large_count T Rβ (hlarge.trans hββ) hT) | |
| (fun T hT => d.large_count T Rβ hlarge hT) | |
| convert h using 1; ring | |
| theorem thin_fiber_card_le | |
| (S : Finset Triple) (y : IntVector) (d : PlaneData y) (t : β€) | |
| (Rβ Rβ Rβ : β) (hββ : Rβ β€ Rβ) | |
| (hlarge : d.second β€ Rβ) (hfirst : d.first β€ Rβ) (hthin : Rβ < d.second) | |
| (hdet : β x β S, x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t) | |
| (hcross : β x β S, β a : β€, a β 0 β§ x.2.1 β¨―β x.2.2 = a β’ y) | |
| (hplane : β x β S, x.2.1 β¬α΅₯ y = 0 β§ x.2.2 β¬α΅₯ y = 0) | |
| (hnorm : β x β S, length x.1 β€ Rβ β§ | |
| length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ) : | |
| (S.card : β) β€ 972 * Real.pi ^ 2 * Rβ ^ 2 * Rβ ^ 2 * Rβ / | |
| (length y ^ 2 * d.first) := by | |
| have h := PlaneFiberAssembly.triple_count_of_plane_counts S y t Rβ Rβ Rβ | |
| (36 * Real.pi * Rβ ^ 2 / length y) | |
| (9 * Real.pi * Rβ ^ 2 / length y) (3 * Rβ / d.first) | |
| (by positivity) (by positivity) hdet hcross hplane hnorm | |
| (fun T center hT => affine_plane_card_le y d T center Rβ | |
| (hlarge.trans hββ) (fun v hv => (hT v hv).2) | |
| (fun v hv w hw => by rw [sub_dotProduct, (hT v hv).1, (hT w hw).1, sub_self])) | |
| (fun T hT => d.large_count T Rβ hlarge hT) | |
| (fun T hT => d.small_count T Rβ hfirst hthin hT) | |
| convert h using 1; ring | |
| theorem scales_le_of_nonempty | |
| (S : Finset Triple) (y : IntVector) (d : PlaneData y) (t : β€) (ht : t β 0) | |
| (Rβ Rβ : β) (hββ : Rβ β€ Rβ) (hS : S.Nonempty) | |
| (hdet : β x β S, x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t) | |
| (hplane : β x β S, x.2.1 β¬α΅₯ y = 0 β§ x.2.2 β¬α΅₯ y = 0) | |
| (hnorm : β x β S, length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ) : | |
| d.first β€ Rβ β§ d.second β€ Rβ := by | |
| obtain β¨x, hxβ© := hS | |
| have hc : x.2.1 β¨―β x.2.2 β 0 := by | |
| intro hc | |
| apply ht | |
| have h := hdet x hx | |
| simpa [hc] using h.symm | |
| have hv : x.2.2 β 0 := by | |
| intro hv | |
| apply hc | |
| simp [hv] | |
| refine β¨(d.first_le _ (hplane x hx).2 hv).trans (hnorm x hx).2, ?_β© | |
| exact (d.second_le _ _ (hplane x hx).1 (hplane x hx).2 hc).trans | |
| (max_le (hnorm x hx).1 ((hnorm x hx).2.trans hββ)) | |
| theorem thin_shell_sum_le | |
| (S : Finset IntVector) (first weight : IntVector β β) | |
| (Rβ Rβ Rβ U Y Cβ Cβ : β) | |
| (hU : 0 < U) (hY : 0 < Y) (hRβ : 0 β€ Rβ) (hUR : U β€ Rβ) | |
| (hCβ : 0 β€ Cβ) (hCβ : 0 β€ Cβ) | |
| (hcard : (S.card : β) β€ Cβ * U ^ 2 * Y ^ 2) | |
| (hrange : β y β S, U β€ first y β§ Y β€ length y) | |
| (hweight : β y β S, weight y β€ | |
| Cβ * Rβ ^ 2 * Rβ ^ 2 * Rβ / (length y ^ 2 * first y)) : | |
| β y β S, weight y β€ Cβ * Cβ * (Rβ * Rβ * Rβ) ^ 2 := by | |
| have hB : 0 β€ Cβ * Rβ ^ 2 * Rβ ^ 2 * Rβ / (Y ^ 2 * U) := by positivity | |
| calc | |
| β y β S, weight y β€ | |
| β _y β S, Cβ * Rβ ^ 2 * Rβ ^ 2 * Rβ / (Y ^ 2 * U) := by | |
| apply Finset.sum_le_sum | |
| intro y hy | |
| apply (hweight y hy).trans | |
| apply div_le_div_of_nonneg_left (by positivity) (by positivity) | |
| exact mul_le_mul (pow_le_pow_leftβ hY.le (hrange y hy).2 2) | |
| (hrange y hy).1 hU.le (sq_nonneg _) | |
| _ = (S.card : β) * (Cβ * Rβ ^ 2 * Rβ ^ 2 * Rβ / (Y ^ 2 * U)) := by simp | |
| _ β€ (Cβ * U ^ 2 * Y ^ 2) * | |
| (Cβ * Rβ ^ 2 * Rβ ^ 2 * Rβ / (Y ^ 2 * U)) := | |
| mul_le_mul_of_nonneg_right hcard hB | |
| _ = (Cβ * Cβ) * U ^ 2 * Y ^ 2 * (Rβ ^ 2 / Y) * | |
| (Rβ ^ 2 / Y) * (Rβ / U) := by field_simp | |
| _ β€ (Cβ * Cβ) * (Rβ * Rβ * Rβ) ^ 2 := | |
| thin_normal_group_numeric hU hY hRβ hUR (mul_nonneg hCβ hCβ) | |
| theorem thin_normal_sum_le | |
| (S : Finset IntVector) (first weight : IntVector β β) | |
| (Rβ Rβ Rβ Cβ Cβ : β) | |
| (hβ : 1 β€ Rβ) (hβ : 1 β€ Rβ) | |
| (hββ : Rβ β€ Rβ) (hββ : Rβ β€ Rβ) | |
| (hCβ : 0 β€ Cβ) (hCβ : 0 β€ Cβ) | |
| (hweight0 : β y β S, 0 β€ weight y) | |
| (hrange : β y β S, 1 β€ first y β§ first y β€ Rβ β§ | |
| 1 β€ length y β§ length y β€ Rβ * Rβ) | |
| (hweight : β y β S, weight y β€ | |
| Cβ * Rβ ^ 2 * Rβ ^ 2 * Rβ / (length y ^ 2 * first y)) | |
| (hgroup : β (T : Finset IntVector), T β S β β U Y : β, | |
| 1 β€ U β 1 β€ Y β | |
| (β y β T, U β€ first y β§ first y β€ 2 * U β§ | |
| Y β€ length y β§ length y β€ 2 * Y) β | |
| (T.card : β) β€ Cβ * U ^ 2 * Y ^ 2) : | |
| β y β S, weight y β€ | |
| 2 * Cβ * Cβ * (Rβ * Rβ * Rβ) ^ 2 * | |
| (Real.log (2 * Rβ) / Real.log 2) ^ 2 := by | |
| classical | |
| have hprod : 1 β€ Rβ * Rβ := by nlinarith | |
| have hA : 0 β€ Cβ * Cβ * (Rβ * Rβ * Rβ) ^ 2 := by positivity | |
| have h := sum_le_of_dyadic_shell_estimates S first length weight hβ hprod hA | |
| hweight0 hrange (by | |
| intro i j | |
| let T := S.filter fun y => (2 : β) ^ i β€ first y β§ first y < 2 ^ (i + 1) β§ | |
| (2 : β) ^ j β€ length y β§ length y < 2 ^ (j + 1) | |
| have hU : 1 β€ (2 : β) ^ i := one_le_powβ (by norm_num) | |
| have hY : 1 β€ (2 : β) ^ j := one_le_powβ (by norm_num) | |
| have hTS : T β S := Finset.filter_subset _ _ | |
| have hT (y : IntVector) (hy : y β T) : | |
| (2 : β) ^ i β€ first y β§ first y β€ 2 * 2 ^ i β§ | |
| (2 : β) ^ j β€ length y β§ length y β€ 2 * 2 ^ j := by | |
| obtain β¨_, hβ, hβ, hβ, hββ© := Finset.mem_filter.mp hy | |
| exact β¨hβ, by simpa [pow_succ, mul_comm] using hβ.le, | |
| hβ, by simpa [pow_succ, mul_comm] using hβ.leβ© | |
| change β y β T, weight y β€ _ | |
| by_cases hne : T.Nonempty | |
| Β· obtain β¨y, hyβ© := hne | |
| exact thin_shell_sum_le T first weight Rβ Rβ Rβ _ _ Cβ Cβ | |
| (by positivity) (by positivity) (by linarith) | |
| ((hT y hy).1.trans (hrange y (hTS hy)).2.1) hCβ hCβ | |
| (hgroup T hTS _ _ hU hY hT) | |
| (fun z hz => β¨(hT z hz).1, (hT z hz).2.2.1β©) | |
| (fun z hz => hweight z (hTS hz)) | |
| Β· rw [Finset.not_nonempty_iff_eq_empty.mp hne] | |
| simpa using hA) | |
| calc | |
| β y β S, weight y β€ | |
| (Cβ * Cβ * (Rβ * Rβ * Rβ) ^ 2) * | |
| ((Real.log (2 * Rβ) / Real.log 2) * | |
| (Real.log (2 * (Rβ * Rβ)) / Real.log 2)) := by | |
| simpa only [mul_assoc] using h | |
| _ β€ (Cβ * Cβ * (Rβ * Rβ * Rβ) ^ 2) * | |
| (2 * (Real.log (2 * Rβ) / Real.log 2) ^ 2) := | |
| mul_le_mul_of_nonneg_left (dyadic_log_product_le hβ hβ hββ hββ) hA | |
| _ = _ := by ring | |
| theorem triple_card_le_of_normal_assignment | |
| (hplanes : β y : IntVector, IsPrimitive y β Nonempty (PlaneData y)) | |
| (S : Finset Triple) (normal : Triple β IntVector) (t : β€) (ht : t β 0) | |
| (Rβ Rβ Rβ : β) (hβ : 1 β€ Rβ) (hββ : Rβ β€ Rβ) (hββ : Rβ β€ Rβ) | |
| (hdet : β x β S, x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t) | |
| (hprim : β x β S, IsPrimitive (normal x)) | |
| (hcross : β x β S, β a : β€, a β 0 β§ x.2.1 β¨―β x.2.2 = a β’ normal x) | |
| (hplane : β x β S, x.2.1 β¬α΅₯ normal x = 0 β§ x.2.2 β¬α΅₯ normal x = 0) | |
| (hnormal : β x β S, length (normal x) β€ Rβ * Rβ) | |
| (hnorm : β x β S, length x.1 β€ Rβ β§ | |
| length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ) : | |
| (S.card : β) β€ 35721000 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2 * | |
| (Real.log (2 * Rβ) / Real.log 2) ^ 2 := by | |
| classical | |
| let Y := S.image normal | |
| let F (y : IntVector) := S.filter (fun x => normal x = y) | |
| let weight (y : IntVector) : β := (F y).card | |
| let data (y : IntVector) (hy : IsPrimitive y) : PlaneData y := | |
| Classical.choice (hplanes y hy) | |
| let first (y : IntVector) := if hy : IsPrimitive y then (data y hy).first else 1 | |
| let second (y : IntVector) := if hy : IsPrimitive y then (data y hy).second else 1 | |
| have hY (y : IntVector) (hy : y β Y) : IsPrimitive y β§ | |
| 1 β€ length y β§ length y β€ Rβ * Rβ β§ (F y).Nonempty := by | |
| obtain β¨x, hx, rflβ© := Finset.mem_image.mp hy | |
| exact β¨hprim x hx, LatticeBox.one_le_norm_realVector (hprim x hx).ne_zero, | |
| hnormal x hx, β¨x, Finset.mem_filter.mpr β¨hx, rflβ©β©β© | |
| have hFdet (y : IntVector) : β x β F y, | |
| x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t := | |
| fun x hx => hdet x (Finset.mem_filter.mp hx).1 | |
| have hFcross (y : IntVector) : β x β F y, | |
| β a : β€, a β 0 β§ x.2.1 β¨―β x.2.2 = a β’ y := by | |
| intro x hx | |
| obtain β¨hxS, hxyβ© := Finset.mem_filter.mp hx | |
| simpa only [hxy] using hcross x hxS | |
| have hFplane (y : IntVector) : β x β F y, | |
| x.2.1 β¬α΅₯ y = 0 β§ x.2.2 β¬α΅₯ y = 0 := by | |
| intro x hx | |
| obtain β¨hxS, hxyβ© := Finset.mem_filter.mp hx | |
| simpa only [hxy] using hplane x hxS | |
| have hFnorm (y : IntVector) : β x β F y, length x.1 β€ Rβ β§ | |
| length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ := | |
| fun x hx => hnorm x (Finset.mem_filter.mp hx).1 | |
| have hscale (y : IntVector) (hy : y β Y) : | |
| 1 β€ first y β§ first y β€ Rβ β§ second y β€ Rβ := by | |
| have hp := (hY y hy).1 | |
| have hs := scales_le_of_nonempty (F y) y (data y hp) t ht Rβ Rβ hββ | |
| (hY y hy).2.2.2 (hFdet y) (hFplane y) (fun x hx => (hFnorm y x hx).2) | |
| simpa only [first, second, dite_eq_left hp] using | |
| And.intro (data y hp).one_le_first hs | |
| let E := Y.filter (fun y => second y β€ Rβ) | |
| let T := Y.filter (fun y => Β¬ second y β€ Rβ) | |
| have hβ : 1 β€ Rβ := hβ.trans hββ | |
| have hβ : 1 β€ Rβ := hβ.trans hββ | |
| have hRprod : 1 β€ Rβ * Rβ := by nlinarith | |
| have hthin : β y β T, weight y β€ | |
| 2 * (18000 * Real.pi) * (972 * Real.pi ^ 2) * (Rβ * Rβ * Rβ) ^ 2 * | |
| (Real.log (2 * Rβ) / Real.log 2) ^ 2 := by | |
| apply thin_normal_sum_le T first weight Rβ Rβ Rβ _ _ hβ hβ hββ (hββ.trans hββ) | |
| (by positivity) (by positivity) | |
| Β· intro y hy | |
| exact Nat.cast_nonneg _ | |
| Β· intro y hy | |
| have hyY := (Finset.mem_filter.mp hy).1 | |
| exact β¨(hscale y hyY).1, (hscale y hyY).2.1, | |
| (hY y hyY).2.1, (hY y hyY).2.2.1β© | |
| Β· intro y hy | |
| obtain β¨hyY, hytβ© := Finset.mem_filter.mp hy | |
| have hp := (hY y hyY).1 | |
| have hlarge : (data y hp).second β€ Rβ := by | |
| simpa only [second, dite_eq_left hp] using (hscale y hyY).2.2 | |
| have hfirst : (data y hp).first β€ Rβ := by | |
| simpa only [first, dite_eq_left hp] using (hscale y hyY).2.1 | |
| have hlow : Rβ < (data y hp).second := by | |
| simpa only [second, dite_eq_left hp] using lt_of_not_ge hyt | |
| simpa only [first, dite_eq_left hp, weight] using | |
| thin_fiber_card_le (F y) y (data y hp) t Rβ Rβ Rβ hββ | |
| hlarge hfirst hlow (hFdet y) (hFcross y) (hFplane y) (hFnorm y) | |
| Β· intro A hAT U Z hU hZ hA | |
| apply normal_shell_card_le hplanes hU (by linarith) A | |
| intro y hy | |
| have hyY := (Finset.mem_filter.mp (hAT hy)).1 | |
| have hp := (hY y hyY).1 | |
| refine β¨hp, (hA y hy).2.2.2, data y hp, ?_, ?_β© | |
| Β· simpa only [first, dite_eq_left hp] using (hA y hy).1 | |
| Β· simpa only [first, dite_eq_left hp] using (hA y hy).2.1 | |
| have heasy : β y β E, weight y β€ | |
| (2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2) * | |
| ((125 / Real.log 2) * Real.log (2 * (Rβ * Rβ))) := by | |
| calc | |
| β y β E, weight y β€ β y β E, | |
| (2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2) / length y ^ 3 := by | |
| apply Finset.sum_le_sum | |
| intro y hy | |
| obtain β¨hyY, hyeβ© := Finset.mem_filter.mp hy | |
| have hp := (hY y hyY).1 | |
| have hlarge : (data y hp).second β€ Rβ := by | |
| simpa only [second, dite_eq_left hp] using hye | |
| exact thick_fiber_card_le (F y) y (data y hp) t Rβ Rβ Rβ hββ hββ | |
| hlarge (hFdet y) (hFcross y) (hFplane y) (hFnorm y) | |
| _ = (2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2) * | |
| β y β E, 1 / length y ^ 3 := by | |
| rw [Finset.mul_sum] | |
| apply Finset.sum_congr rfl | |
| intro y hy | |
| ring | |
| _ β€ _ := mul_le_mul_of_nonneg_left | |
| (LatticeBox.reciprocal_cube_sum_le_log hRprod E (by | |
| intro y hy | |
| have h := hY y (Finset.mem_filter.mp hy).1 | |
| exact β¨h.1.ne_zero, h.2.2.1β©)) (by positivity) | |
| have hlog2 : 0 < Real.log 2 := Real.log_pos (by norm_num) | |
| have hlogprod : 0 β€ Real.log (2 * (Rβ * Rβ)) / Real.log 2 := by | |
| apply div_nonneg _ hlog2.le | |
| exact Real.log_nonneg (by nlinarith) | |
| have hlog3 : 1 β€ Real.log (2 * Rβ) / Real.log 2 := by | |
| apply (le_div_iffβ hlog2).mpr | |
| simpa using Real.log_le_log (by norm_num : (0 : β) < 2) (by linarith : 2 β€ 2 * Rβ) | |
| have hlogbound : Real.log (2 * (Rβ * Rβ)) / Real.log 2 β€ | |
| 2 * (Real.log (2 * Rβ) / Real.log 2) ^ 2 := by | |
| exact (le_mul_of_one_le_left hlogprod hlog3).trans | |
| (dyadic_log_product_le hβ hβ hββ (hββ.trans hββ)) | |
| have heasy' : β y β E, weight y β€ | |
| 250 * 2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2 * | |
| (Real.log (2 * Rβ) / Real.log 2) ^ 2 := by | |
| calc | |
| β y β E, weight y β€ _ := heasy | |
| _ = (125 * 2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2) * | |
| (Real.log (2 * (Rβ * Rβ)) / Real.log 2) := by ring | |
| _ β€ (125 * 2916 * Real.pi ^ 3 * (Rβ * Rβ * Rβ) ^ 2) * | |
| (2 * (Real.log (2 * Rβ) / Real.log 2) ^ 2) := | |
| mul_le_mul_of_nonneg_left hlogbound (by positivity) | |
| _ = _ := by ring | |
| have hcard : (S.card : β) = β y β Y, weight y := by | |
| dsimp only [weight, F] | |
| exact_mod_cast (Finset.card_eq_sum_card_fiberwise | |
| (s := S) (t := Y) (f := normal) (fun x hx => Finset.mem_image_of_mem normal hx)) | |
| have hsplit : (β y β E, weight y) + (β y β T, weight y) = | |
| β y β Y, weight y := Finset.sum_filter_add_sum_filter_not Y _ _ | |
| rw [hcard, β hsplit] | |
| calc | |
| _ β€ _ := add_le_add heasy' hthin | |
| _ = _ := by ring | |
| theorem anisotropic_count_of_planeData | |
| (hplanes : β y : IntVector, IsPrimitive y β Nonempty (PlaneData y)) | |
| (S : Finset Triple) (t : β€) (ht : t β 0) | |
| (Rβ Rβ Rβ : β) (hβ : 1 β€ Rβ) (hββ : Rβ β€ Rβ) (hββ : Rβ β€ Rβ) | |
| (hdet : β x β S, x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t) | |
| (hnorm : β x β S, length x.1 β€ Rβ β§ | |
| length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ) : | |
| (S.card : β) β€ (35721000 * Real.pi ^ 3 / (Real.log 2) ^ 2) * | |
| (Rβ * Rβ * Rβ) ^ 2 * Real.log (2 * Rβ) ^ 2 := by | |
| classical | |
| have hex : β x : Triple, β y : IntVector, x β S β | |
| IsPrimitive y β§ (β a : β€, a β 0 β§ x.2.1 β¨―β x.2.2 = a β’ y) β§ | |
| (x.2.1 β¬α΅₯ y = 0 β§ x.2.2 β¬α΅₯ y = 0) β§ length y β€ Rβ * Rβ := by | |
| intro x | |
| by_cases hx : x β S | |
| Β· have hnz : x.2.1 β¨―β x.2.2 β 0 := by | |
| intro hc | |
| apply ht | |
| have hd := hdet x hx | |
| simpa [hc] using hd.symm | |
| obtain β¨a, ha, y, hyp, hfactor, horthβ, horthβ, hyl, _β© := | |
| CrossNormal.exists_bounded_primitive_cross_factor x.2.1 x.2.2 hnz | |
| refine β¨y, fun _ => β¨hyp, β¨a, ne_of_gt ha, hfactorβ©, β¨horthβ, horthββ©, ?_β©β© | |
| exact hyl.trans (mul_le_mul (hnorm x hx).2.1 (hnorm x hx).2.2 | |
| (norm_nonneg _) ((norm_nonneg _).trans (hnorm x hx).2.1)) | |
| Β· exact β¨0, fun h => (hx h).elimβ© | |
| choose normal hnormal using hex | |
| have h := triple_card_le_of_normal_assignment hplanes S normal t ht | |
| Rβ Rβ Rβ hβ hββ hββ hdet (fun x hx => (hnormal x hx).1) | |
| (fun x hx => (hnormal x hx).2.1) (fun x hx => (hnormal x hx).2.2.1) | |
| (fun x hx => (hnormal x hx).2.2.2) hnorm | |
| convert h using 1; simp only [div_pow]; ring | |
| theorem anisotropic_count | |
| (S : Finset Triple) (t : β€) (ht : t β 0) | |
| (Rβ Rβ Rβ : β) (hβ : 1 β€ Rβ) (hββ : Rβ β€ Rβ) (hββ : Rβ β€ Rβ) | |
| (hdet : β x β S, x.1 β¬α΅₯ (x.2.1 β¨―β x.2.2) = t) | |
| (hnorm : β x β S, length x.1 β€ Rβ β§ | |
| length x.2.1 β€ Rβ β§ length x.2.2 β€ Rβ) : | |
| (S.card : β) β€ (35721000 * Real.pi ^ 3 / (Real.log 2) ^ 2) * | |
| (Rβ * Rβ * Rβ) ^ 2 * Real.log (2 * Rβ) ^ 2 := | |
| anisotropic_count_of_planeData exists_planeData S t ht Rβ Rβ Rβ | |
| hβ hββ hββ hdet hnorm | |
| theorem anisotropic_constant_pos : | |
| 0 < 35721000 * Real.pi ^ 3 / (Real.log 2) ^ 2 := by | |
| have h : 0 < Real.log 2 := Real.log_pos (by norm_num) | |
| positivity | |
| end Problem355.Anisotropic | |
| end | |
| end OAI | |