Documentation

CslibFrontier.Computability.Circuit.Frontier.Layouts.Gaussian.PairBound.PlanarVolume

Planar quadrilateral and reflected-cone volume bounds #

Lebesgue area upper bounds for the planar cross-straddling region planarRectSet b1 b2 rb vx vy ξ η arising after orthogonal conditioning of a matched pair of degree-3 stars on their sum projections:

Planar cross-straddling fiber { (x, y) | |x| < |ξ - b1*rb*x + b1*vx*y| ∧ |y| < |η + b2*vy*x - b2*rb*y| }.

Four-quadrant rational assembly #

noncomputable def Cslib.Circuits.Frontier.Gaussian.PairBound.pairCAB (x1 x2 P detM : ℝ) :

Constant rational term in the four-quadrant planar rectangle volume upper bound.

noncomputable def Cslib.Circuits.Frontier.Gaussian.PairBound.pairCxp (u2 vy x1 x2 detM : ℝ) :

Positive-branch linear rational coefficient in the planar rectangle volume bound.

noncomputable def Cslib.Circuits.Frontier.Gaussian.PairBound.pairCxm (u2 vy x1 x2 detM : ℝ) :

Negative-branch linear rational coefficient in the planar rectangle volume bound.

noncomputable def Cslib.Circuits.Frontier.Gaussian.PairBound.pairCxMax (u2 vy x1 x2 detM : ℝ) :

Envelope max pairCxp pairCxm of the linear rational planar volume coefficients.

Positive quadratic denominator (1 + b1 * rb)^2 - b2^2 * (rb - b1 * D)^2.

Negative quadratic denominator (1 - b1 * rb)^2 - b2^2 * (rb + b1 * D)^2.

Bilinear cross-term rational coefficient in the planar rectangle volume bound.

Quadratic ξ^2 rational coefficient in the planar rectangle volume bound.

Quadratic η^2 rational coefficient in the planar rectangle volume bound.

theorem Cslib.Circuits.Frontier.Gaussian.PairBound.volume_planarRectSet_le_out {b1 b2 rb vx vy : ℝ} (hrb : 0 < rb) (hvx : 0 ≤ vx) (hvy : 0 ≤ vy) (hx1 : |b1| * rb < 1) (hx2 : |b2| * rb < 1) (hvxy : vx * vy ≤ 2 * rb ^ 2) (hdetM : 0 < (1 - |b1| * rb) * (1 - |b2| * rb) - |b1| * |b2| * vx * vy) (ξ η : ℝ) :
have u1 := |b1|; have u2 := |b2|; have x1 := u1 * rb; have x2 := u2 * rb; have P := u1 * u2 * vx * vy; have detM := (1 - x1) * (1 - x2) - P; MeasureTheory.volume (planarRectSet b1 b2 rb vx vy ξ η) ≤ ENNReal.ofReal (pairCxMax u2 vy x1 x2 detM * ξ ^ 2 + pairCxMax u1 vx x2 x1 detM * η ^ 2 + pairCAB x1 x2 P detM * (|ξ| * |η|))
theorem Cslib.Circuits.Frontier.Gaussian.PairBound.volume_planarRectSet_le_in {b1 b2 rb vx vy : ℝ} (hrb : 0 < rb) (hvx : 0 ≤ vx) (hvy : 0 ≤ vy) (hx1 : |b1| * rb < 1) (hx2 : |b2| * rb < 1) (hvxy : vx * vy ≤ 2 * rb ^ 2) (hdetM2 : 0 < (1 - |b1| * rb) * (1 - |b2| * rb) - 2 * (|b1| * |b2| * vx * vy)) (ξ η : ℝ) :
have D := vx * vy - rb ^ 2; have u1 := |b1|; have u2 := |b2|; have x1 := u1 * rb; have x2 := u2 * rb; have P := u1 * u2 * vx * vy; have detM := (1 - x1) * (1 - x2) - P; have detM2 := (1 - x1) * (1 - x2) - 2 * P; have k2 := u2 * vy * (1 - x2) / detM2; have k1 := u1 * vx * (1 - x1) / detM2; have cxe := pairCxe b1 b2 rb D; have cxm := pairCxMax u2 vy x1 x2 detM; have cem := pairCxMax u1 vx x2 x1 detM; have cAB := pairCAB x1 x2 P detM; have tail_cx := cxm + max 0 (cAB - cxe) * k2 + cem * k2 ^ 2; have tail_ce := cem + max 0 (cAB - cxe) * k1 + cxm * k1 ^ 2; MeasureTheory.volume (planarRectSet b1 b2 rb vx vy ξ η) ≤ ENNReal.ofReal ((pairAbsCx2 b1 b2 rb vy D * ξ ^ 2 + pairAbsCe2 b1 b2 rb vx D * η ^ 2 + cxe * (|ξ| * |η|) + if |η| < k2 * |ξ| then tail_cx * ξ ^ 2 else 0) + if |ξ| < k1 * |η| then tail_ce * η ^ 2 else 0)