math / data /lean /OAI /GroupTheory /PolycyclicRecognition /Geometry /BoundaryRaySeparation.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.7 kB
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