Documentation

CslibFrontier.Computability.Circuit.Frontier.Layouts.Gaussian.Straddle

The straddling probability of one vertex #

Let G be a loopless multigraph in which every vertex has three edges, and let the unit kernel rows of adjacent vertices have inner product at least ρ₀ ≥ 0. The three edge vectors at a vertex v then have inner product at least κ = √((1 + ρ₀)/2) ≥ √2/2 with the row of v: they lie in a spherical cap.

Hence v straddles t with probability at most (1/4) (6 / π) arccos ((3 κ ^ 2 - 1)/2) = (3 / (2π)) arccos ((1 + 3 ρ₀)/4) (Cslib.Circuits.Frontier.Gaussian.measureReal_straddleEvent_le).

Main definitions #

Main results #

References #

The bound (3 / (2π)) arccos ((1 + 3 ρ₀)/4) on the probability that a vertex straddles a threshold, when adjacent kernel rows have inner product at least ρ₀.

def Cslib.Circuits.Frontier.Gaussian.straddleEvent {V : Type u_1} {E : Type u_2} [Fintype V] (G : Multigraph V E) (q : ℝ) (R : ℕ) (t : ℝ) (v : V) :
Set (V → ℝ)

The event that the edge scores at v straddle the threshold t.

theorem Cslib.Circuits.Frontier.Gaussian.measurableSet_straddlesOn {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} [Finite E] (q : ℝ) (R : ℕ) (t : ℝ) (S : Set E) :
MeasurableSet {ω : V → ℝ | StraddlesOn (edgeScore G q R ω) t S}

Whether the edge scores on S straddle a threshold t is a measurable event.

theorem Cslib.Circuits.Frontier.Gaussian.measurableSet_straddleEvent {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} [Finite E] (q : ℝ) (R : ℕ) (t : ℝ) (v : V) :

Whether a vertex straddles a threshold is a measurable event.

theorem Cslib.Circuits.Frontier.Gaussian.dependsOn_straddleEvent {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} (q : ℝ) (R : ℕ) (t : ℝ) (v : V) :
DependsOn (fun (x : V → ℝ) => x ∈ straddleEvent G q R t v) (closedBall G.toSimpleGraph v (R + 1))

Locality. Whether v straddles a threshold depends only on the coordinates of the sample in the closed ball of radius R + 1 around v.

theorem Cslib.Circuits.Frontier.Gaussian.four_mul_measureReal_straddleEvent_le {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} {q : ℝ} {R : ℕ} [Finite E] {v : V} {s : Finset E} (hs : ↑s = G.incidenceSet v) (hcard : s.card = 3) (t : ℝ) :
4 * (MeasureTheory.Measure.pi fun (x : V) => ProbabilityTheory.gaussianReal 0 1).real (straddleEvent G q R t v) ≤ ∑ p ∈ s.offDiag, (MeasureTheory.Measure.pi fun (x : V) => ProbabilityTheory.gaussianReal 0 1).real {ω : V → ℝ | t ∈ Set.uIoc (edgeScore G q R ω p.1) (edgeScore G q R ω p.2)}

Counting separated pairs. If the edges at v form a three-element set s, then four times the probability that v straddles t is at most the sum, over the ordered pairs of distinct edges at v, of the probabilities that t separates their scores.

theorem Cslib.Circuits.Frontier.Gaussian.sum_arccos_edgeVector_offDiag_le_of_average {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} {q : ℝ} {R : ℕ} {ρ₀ : ℝ} [Finite E] (hloop : G.Loopless) (hdeg : G.MaxDegreeLE 3) (hq : 0 ≤ q) (hρ₀ : 0 ≤ ρ₀) (hρ : ρ₀ ≤ 2 * q / (1 + q ^ 2) - 3 * (2 * q ^ 2) ^ R) {v : V} {s : Finset E} (hs : ↑s = G.incidenceSet v) (hcard : s.card = 3) {a : ℝ} (haverage : 6 * a ≤ ∑ p ∈ s.offDiag, inner ℝ (edgeVector G q R p.1) (edgeVector G q R p.2)) :
∑ p ∈ s.offDiag, Real.arccos (inner ℝ (edgeVector G q R p.1) (edgeVector G q R p.2)) ≤ 6 * Real.arccos a

Jensen bound on the six off-diagonal arccos angles at a degree-3 vertex in a loopless multigraph of maximum degree at most 3, given a lower bound 6 * a on the off-diagonal inner-product sum.

theorem Cslib.Circuits.Frontier.Gaussian.sum_arccos_edgeVector_offDiag_le {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} {q : ℝ} {R : ℕ} {ρ₀ : ℝ} [Finite E] (hloop : G.Loopless) (hdeg : G.MaxDegreeLE 3) (hq : 0 ≤ q) (hρ₀ : 0 ≤ ρ₀) (hρ : ρ₀ ≤ 2 * q / (1 + q ^ 2) - 3 * (2 * q ^ 2) ^ R) {v : V} {s : Finset E} (hs : ↑s = G.incidenceSet v) (hcard : s.card = 3) :
∑ p ∈ s.offDiag, Real.arccos (inner ℝ (edgeVector G q R p.1) (edgeVector G q R p.2)) ≤ 6 * Real.arccos ((1 + 3 * ρ₀) / 4)

Cap-and-Jensen bound on the six off-diagonal arccos angles at a degree-3 vertex in a loopless multigraph of maximum degree at most 3.

theorem Cslib.Circuits.Frontier.Gaussian.measureReal_straddleEvent_le_of_average {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} {q : ℝ} {R : ℕ} {ρ₀ : ℝ} [Finite E] (hloop : G.Loopless) (h3 : ∀ (v : V), (G.incidenceSet v).ncard = 3) (hq : 0 ≤ q) (hρ₀ : 0 ≤ ρ₀) (hρ : ρ₀ ≤ 2 * q / (1 + q ^ 2) - 3 * (2 * q ^ 2) ^ R) (t : ℝ) {v : V} {s : Finset E} (hs : ↑s = G.incidenceSet v) {a : ℝ} (haverage : 6 * a ≤ ∑ p ∈ s.offDiag, inner ℝ (edgeVector G q R p.1) (edgeVector G q R p.2)) :

The straddling probability, from the average inner product. In a loopless multigraph in which every vertex has three edges, let adjacent kernel rows have inner product at least ρ₀ ≥ 0. If the inner products of the edge vectors at v, over the ordered pairs of distinct edges, sum to at least 6 a, then v straddles any fixed threshold with probability at most (3 / (2π)) arccos a.

theorem Cslib.Circuits.Frontier.Gaussian.measureReal_straddleEvent_le {V : Type u_1} {E : Type u_2} [Fintype V] {G : Multigraph V E} {q : ℝ} {R : ℕ} {ρ₀ : ℝ} [Finite E] (hloop : G.Loopless) (h3 : ∀ (v : V), (G.incidenceSet v).ncard = 3) (hq : 0 ≤ q) (hρ₀ : 0 ≤ ρ₀) (hρ : ρ₀ ≤ 2 * q / (1 + q ^ 2) - 3 * (2 * q ^ 2) ^ R) (t : ℝ) (v : V) :

The straddling probability. In a loopless multigraph in which every vertex has three edges, if adjacent kernel rows have inner product at least ρ₀ ≥ 0, then each vertex straddles each threshold with probability at most straddleBound ρ₀.