Download data/lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/BoundaryRaySeparation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.7 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/BoundaryRaySeparation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/BoundaryRaySeparation.lean
-
curl -L -o BoundaryRaySeparation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/GroupTheory/PolycyclicRecognition/Geometry/BoundaryRaySeparation.lean
3.7 kB
Lean 4 Β· 3
declarations fullstatements
| import OAI.GroupTheory.PolycyclicRecognition.Geometry.BoundaryHeight | |
| import OAI.GroupTheory.PolycyclicRecognition.Geometry.PositiveWeightCones | |
| namespace OAI | |
| /-! # Uniform separation after deleting a whole positive weight ray | |
| The original generator list may contain repeated positive rays. A positive | |
| balanced relation still makes the remaining rays separate the height space. | |
| -/ | |
| noncomputable section | |
| namespace PolycyclicRecognition | |
| open scoped BigOperators | |
| variable {W I : Type*} [NormedAddCommGroup W] [NormedSpace β W] | |
| [Fintype I] | |
| /-- A balanced positive family cannot be positive on its only nonzero ray. -/ | |
| theorem nonpos_of_vanishing_outside_positive_ray | |
| (Ξ± : I β W ββ[β] β) (c : I β β) (hc : β i, 0 < c i) | |
| (hrel : β w, β i, c i * Ξ± i w = 0) | |
| (k : I) (w : W) | |
| (hw : β i, Ξ± i β positiveWeightRay (Ξ± k) β Ξ± i w = 0) : Ξ± k w β€ 0 := by | |
| by_contra h | |
| have hk : 0 < Ξ± k w := lt_of_not_ge h | |
| have hnonneg (i : I) : 0 β€ c i * Ξ± i w := by | |
| by_cases hi : Ξ± i β positiveWeightRay (Ξ± k) | |
| Β· obtain β¨t, ht, heβ© := hi | |
| rw [he, LinearMap.smul_apply, smul_eq_mul] | |
| exact (mul_pos (hc i) (mul_pos ht hk)).le | |
| Β· rw [hw i hi, mul_zero] | |
| have hsum : 0 < β i, c i * Ξ± i w := Finset.sum_pos' | |
| (fun i _ => hnonneg i) β¨k, Finset.mem_univ k, mul_pos (hc k) hkβ© | |
| rw [hrel] at hsum | |
| exact lt_irrefl _ hsum | |
| /-- Removing every duplicate of one positive ray preserves separation. -/ | |
| theorem separates_outside_positive_ray | |
| (Ξ± : I β W ββ[β] β) (c : I β β) (hc : β i, 0 < c i) | |
| (hrel : β w, β i, c i * Ξ± i w = 0) | |
| (hsep : β w, (β i, Ξ± i w = 0) β w = 0) | |
| (k : I) (w : W) | |
| (hw : β i, Ξ± i β positiveWeightRay (Ξ± k) β Ξ± i w = 0) : w = 0 := by | |
| have hk : Ξ± k w = 0 := by | |
| have hp := nonpos_of_vanishing_outside_positive_ray Ξ± c hc hrel k w hw | |
| have hn := nonpos_of_vanishing_outside_positive_ray Ξ± c hc hrel k (-w) | |
| (fun i hi => by simp only [map_neg, hw i hi, neg_zero]) | |
| rw [map_neg] at hn | |
| linarith | |
| apply hsep w | |
| intro i | |
| by_cases hi : Ξ± i β positiveWeightRay (Ξ± k) | |
| Β· obtain β¨t, _, heβ© := hi | |
| simp only [he, LinearMap.smul_apply, smul_eq_mul, hk, mul_zero] | |
| Β· exact hw i hi | |
| /-- The norm bound is uniform over the finite generator list, including | |
| when several generators determine the same positive ray. -/ | |
| theorem exists_bound_outside_positive_ray [FiniteDimensional β W] | |
| (Ξ± : I β W ββ[β] β) (c : I β β) (hc : β i, 0 < c i) | |
| (hrel : β w, β i, c i * Ξ± i w = 0) | |
| (hsep : β w, (β i, Ξ± i w = 0) β w = 0) : | |
| β C : β, 0 < C β§ β (k : I) (w : W) (B : β), 0 β€ B β | |
| (β i, Ξ± i β positiveWeightRay (Ξ± k) β |Ξ± i w| β€ B) β βwβ β€ C * B := by | |
| classical | |
| have hlocal (k : I) : β C : β, 0 < C β§ β (w : W) (B : β), 0 β€ B β | |
| (β i, Ξ± i β positiveWeightRay (Ξ± k) β |Ξ± i w| β€ B) β βwβ β€ C * B := by | |
| obtain β¨C, hC, hbβ© := exists_bound_of_separating_forms | |
| (fun i : {i : I // Ξ± i β positiveWeightRay (Ξ± k)} => Ξ± i) | |
| (fun w hw => separates_outside_positive_ray Ξ± c hc hrel hsep k w | |
| (fun i hi => hw β¨i, hiβ©)) | |
| exact β¨C, hC, fun w B hB hw => hb w B hB (fun i => hw i i.property)β© | |
| choose C hC hbound using hlocal | |
| have hs : 0 β€ β i, C i := Finset.sum_nonneg (fun i _ => (hC i).le) | |
| refine β¨(β i, C i) + 1, by linarith, ?_β© | |
| intro k w B hB hw | |
| apply (hbound k w B hB hw).trans | |
| apply mul_le_mul_of_nonneg_right _ hB | |
| have hk : C k β€ β i, C i := Finset.single_le_sum | |
| (fun i _ => (hC i).le) (Finset.mem_univ k) | |
| linarith | |
| end PolycyclicRecognition | |
| end | |
| end OAI | |
Outline