Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Gaussian.Frontier.Arccos

Angles in a star #

Vectors are functions ι → ℝ with the dot product ∑ i, y i * x i. For unit vectors the angle between them is arccos of their inner product. When unit vectors y j all have inner product at least κ with a common unit vector x, the angles over their ordered pairs are controlled by κ, exactly as the crossing ratios are in Complexitylib.Algebraic.LowerBound.Cutwidth.Gaussian.Frontier.Star.

theorem Algebraic.Cutwidth.Gaussian.sum_arccos_le {J : Type} (s : Finset J) (x : J → ℝ) {x₀ : ℝ} (hx : ∀ j ∈ s, 0 ≤ x j ∧ x j ≤ 1) (hsum : ↑s.card * x₀ ≤ ∑ j ∈ s, x j) :
∑ j ∈ s, Real.arccos (x j) ≤ ↑s.card * Real.arccos x₀

Concavity bound for arccos. arccos is concave on [0, 1] and antitone, so a finite family of arguments in that interval with average at least x₀ has arccos-sum at most the family size times arccos x₀.

theorem Algebraic.Cutwidth.Gaussian.sum_arccos_star_le {ι J : Type} [Fintype ι] [DecidableEq J] {x : ι → ℝ} (hx : ∑ i : ι, x i ^ 2 = 1) (s : Finset J) (hs : s.card = 3) (y : J → ι → ℝ) (hy : ∀ j ∈ s, ∑ i : ι, y j i ^ 2 = 1) {κ : ℝ} (hκ : 7 / 8 ≤ κ) (hyx : ∀ j ∈ s, κ ≤ ∑ i : ι, y j i * x i) :
∑ j ∈ s, ∑ j' ∈ s.erase j, Real.arccos (∑ i : ι, y j i * y j' i) ≤ 6 * Real.arccos ((3 * κ ^ 2 - 1) / 2)

Angles in a star of three. Three unit vectors with inner product at least κ ≥ 7/8 with a unit vector have pairwise angles summing, over the six ordered pairs, to at most 6 arccos ((3 κ² - 1) / 2).