Documentation

CslibFrontier.Computability.Circuit.Frontier.Layouts.Switched.RotForm

The rotation family and its double-integral form #

Canonical triple in ℝ³: v_k = e₀, v_i = I e₀ + sᵢ e₁, v_j(ψ) = J e₀ + sⱼ (cos ψ e₁ + sin ψ e₂), and rotF ψ = P(all < h) - P(all ≥ h).

Adapted from the MIT-licensed Lean 4 companion of [Gas26] (doi:10.5281/zenodo.23883489, module CubicPathwidth.C3.RotForm).

References #

Auxiliary definition lowSet in the switched Gaussian sweep.

Auxiliary definition highSet in the switched Gaussian sweep.

noncomputable def Cslib.Circuits.Frontier.Switched.Rot.rotF (I J si sj h ψ : ℝ) :

The rotation family value.

noncomputable def Cslib.Circuits.Frontier.Switched.Rot.indA (I si h x₀ x₁ : ℝ) :

Indicator of the low region in (x₀, x₁).

noncomputable def Cslib.Circuits.Frontier.Switched.Rot.indB (I si h x₀ x₁ : ℝ) :

Indicator of the high region in (x₀, x₁).

noncomputable def Cslib.Circuits.Frontier.Switched.Rot.beta (J sj h ψ x₀ x₁ : ℝ) :

The normalized threshold for x₂.

theorem Cslib.Circuits.Frontier.Switched.Rot.slice_low (I J si sj h : ℝ) {ψ : ℝ} (hs : 0 < sj * Real.sin ψ) (x₀ x₁ : ℝ) :
(ProbabilityTheory.gaussianReal 0 1).real {x₂ : ℝ | (x₀, x₁, x₂) ∈ lowSet I J si sj h ψ} = indA I si h x₀ x₁ * Phi (beta J sj h ψ x₀ x₁)
theorem Cslib.Circuits.Frontier.Switched.Rot.slice_high (I J si sj h : ℝ) {ψ : ℝ} (hs : 0 < sj * Real.sin ψ) (x₀ x₁ : ℝ) :
(ProbabilityTheory.gaussianReal 0 1).real {x₂ : ℝ | (x₀, x₁, x₂) ∈ highSet I J si sj h ψ} = indB I si h x₀ x₁ * (1 - Phi (beta J sj h ψ x₀ x₁))

Calculus facts #

noncomputable def Cslib.Circuits.Frontier.Switched.Rot.dbeta {J sj h : ℝ} (θ x₀ x₁ : ℝ) :

The angular derivative of the normalized threshold.

theorem Cslib.Circuits.Frontier.Switched.Rot.Phi_beta_sub {J sj h ψ₁ ψ₂ : ℝ} (hsj : 0 < sj) (h1 : 0 < ψ₁) (h12 : ψ₁ ≤ ψ₂) (h2 : ψ₂ < Real.pi) (x₀ x₁ : ℝ) :
Phi (beta J sj h ψ₂ x₀ x₁) - Phi (beta J sj h ψ₁ x₀ x₁) = ∫ (θ : ℝ) in ψ₁..ψ₂, phi (beta J sj h θ x₀ x₁) * dbeta θ x₀ x₁

The pointwise FTC in the angle.

theorem Cslib.Circuits.Frontier.Switched.Rot.hasDerivAt_g {J sj h θ : ℝ} (hsj : 0 < sj) (hθ : Real.sin θ ≠ 0) (x₀ x₁ : ℝ) :
HasDerivAt (fun (x₁ : ℝ) => phi x₁ * phi (beta J sj h θ x₀ x₁)) (-(phi x₁ * (phi (beta J sj h θ x₀ x₁) * dbeta θ x₀ x₁))) x₁

The integration-by-parts identity in x₁.