Documentation

LeanPool.Feige.TransferTestFunctions

Test functions for the exponential transfer identity #

This file formalizes the two test functions used in the exponential transfer identity. They are written with max and min; for positive c,d this is equivalent to the corresponding indicator notation and makes global continuity transparent.

φ(x) = (1 - exp (-x/d)) 1_{x ≥ 0} for d > 0.

Equations
Instances For

    ψ(x) = 1_{x ≥ 0} + exp (x/c) 1_{x < 0} for c > 0.

    Equations
    Instances For
      theorem Feige.TransferTestFunctions.transferPhi_of_nonneg {d x : } (hd : 0 < d) (hx : 0 x) :
      transferPhi d x = 1 - Real.exp (-x / d)
      theorem Feige.TransferTestFunctions.transferPhi_of_nonpos {d x : } (hd : 0 < d) (hx : x 0) :
      theorem Feige.TransferTestFunctions.transferPsi_of_nonneg {c x : } (hc : 0 < c) (hx : 0 x) :
      theorem Feige.TransferTestFunctions.transferPsi_of_nonpos {c x : } (hc : 0 < c) (hx : x 0) :

      φ is continuous, including at its joining point zero.

      ψ is continuous, including at its joining point zero.

      Exponential-weight integrability required by the Stein identity.

      Exponential damping supplies the boundary term at infinity.

      theorem Feige.TransferTestFunctions.hasDerivAt_transferPhi_of_pos {d x : } (hd : 0 < d) (hx : 0 < x) :

      Derivative of φ on the positive half-line.

      Derivative of φ on the negative half-line.

      Derivative of ψ on the positive half-line.

      theorem Feige.TransferTestFunctions.hasDerivAt_transferPsi_of_neg {c x : } (hc : 0 < c) (hx : x < 0) :

      Derivative of ψ on the negative half-line.

      Away from zero, φ' has the piecewise formula used by the transfer identity.

      Away from zero, ψ' has the piecewise formula used by the transfer identity.

      The a.e. derivative used when applying Stein's identity to φ.

      Equations
      Instances For

        The a.e. derivative used when applying Stein's identity to ψ.

        Equations
        Instances For

          Weighted integrability of the formal derivative of φ along an affine path.

          Weighted integrability of the formal derivative of ψ.

          The formal derivative of φ is integrable on every finite interval.

          The formal derivative of ψ is integrable on every finite interval.

          theorem Feige.TransferTestFunctions.ae_hasDerivAt_transferPhi_comp_affine {d y a : } (hd : 0 < d) (ha : a 0) :
          ∀ᵐ (e : ), HasDerivAt (transferPhi d fun (t : ) => y + a * t) (a * transferPhiDeriv d (y + a * e)) e

          An affine path hits the exceptional point zero only on a null set, so the composite φ (y + a e) has the expected derivative a.e.

          theorem Feige.TransferTestFunctions.ae_hasDerivAt_transferPsi_comp_affine {c y a : } (hc : 0 < c) (ha : a 0) :
          ∀ᵐ (e : ), HasDerivAt (transferPsi c fun (t : ) => y + a * t) (a * transferPsiDeriv c (y + a * e)) e

          The analogous a.e. composite derivative statement for ψ.

          theorem Feige.TransferTestFunctions.transferPhi_stein_fixed {d y a : } (hd : 0 < d) (ha : a 0) :
          ( (e : ) in Set.Ioi 0, transferPhi d (y + a * e) * Real.exp (-e)) - transferPhi d y = (e : ) in Set.Ioi 0, a * transferPhiDeriv d (y + a * e) * Real.exp (-e)

          Fixed-y, positive-scale one-sided Stein identity for the first test function. The proof splits according to whether the unique affine kink -y/a lies in the positive half-line.

          theorem Feige.TransferTestFunctions.transferPsi_stein_fixed {c y a : } (hc : 0 < c) (ha : a 0) :
          ( (e : ) in Set.Ioi 0, transferPsi c (y + a * e) * Real.exp (-e)) - transferPsi c y = (e : ) in Set.Ioi 0, a * transferPsiDeriv c (y + a * e) * Real.exp (-e)

          Fixed-y, positive-scale one-sided Stein identity for ψ.

          theorem Feige.TransferTestFunctions.transferPhi_stein_fixed_sub {d y b : } (hd : 0 < d) (hb : 0 < b) :
          transferPhi d y - (e : ) in Set.Ioi 0, transferPhi d (y - b * e) * Real.exp (-e) = (e : ) in Set.Ioi 0, b * transferPhiDeriv d (y - b * e) * Real.exp (-e)

          Negative-affine fixed-y Stein identity for φ.

          theorem Feige.TransferTestFunctions.transferPsi_stein_fixed_sub {c y b : } (hc : 0 < c) (hb : 0 < b) :
          transferPsi c y - (e : ) in Set.Ioi 0, transferPsi c (y - b * e) * Real.exp (-e) = (e : ) in Set.Ioi 0, b * transferPsiDeriv c (y - b * e) * Real.exp (-e)

          Negative-affine fixed-y Stein identity for ψ.

          theorem Feige.TransferTestFunctions.transferPhi_stein_fixed_two_sided {d y a b : } (hd : 0 < d) (ha : 0 < a) (hb : 0 < b) :
          ( (e : ) in Set.Ioi 0, transferPhi d (y + a * e) * Real.exp (-e)) - (e : ) in Set.Ioi 0, transferPhi d (y - b * e) * Real.exp (-e) = ( (e : ) in Set.Ioi 0, a * transferPhiDeriv d (y + a * e) * Real.exp (-e)) + (e : ) in Set.Ioi 0, b * transferPhiDeriv d (y - b * e) * Real.exp (-e)

          Fixed-y two-sided exponential Stein identity for φ.

          theorem Feige.TransferTestFunctions.transferPsi_stein_fixed_two_sided {c y a b : } (hc : 0 < c) (ha : 0 < a) (hb : 0 < b) :
          ( (e : ) in Set.Ioi 0, transferPsi c (y + a * e) * Real.exp (-e)) - (e : ) in Set.Ioi 0, transferPsi c (y - b * e) * Real.exp (-e) = ( (e : ) in Set.Ioi 0, a * transferPsiDeriv c (y + a * e) * Real.exp (-e)) + (e : ) in Set.Ioi 0, b * transferPsiDeriv c (y - b * e) * Real.exp (-e)

          Fixed-y two-sided exponential Stein identity for ψ.