Documentation

Complexitylib.Algebraic.LowerBound.AC0.ParityParameters

Concrete switching parameters for parity depth reduction #

This module records a simple source-faithful choice of parameters. For target tree depth t >= 1, use

In every round the switching base 5 * p_i * t_i is exactly 1/2, while the retained ratio is half of p_i. Hence every charged failure bound is

S * (1/2)^(t+1),

and the single sufficient smallness condition is that this be below the minimum ratio 1/(20t). Constants are intentionally conservative so exact first-moment slack remains visible; optimizing them is not mathematically important for the lower-bound exponent.

Width one before any switching step, then the common target depth t.

Equations
Instances For

    Constant first-round restriction probability, followed by probability inversely proportional to the common tree depth.

    Equations
    Instances For

      Keep half of the expected live fraction available as failure slack.

      Equations
      Instances For

        The smallest retained ratio occurring in the schedule.

        Equations
        Instances For
          @[simp]
          theorem Algebraic.AC0.ParityParameters.probability_le_one (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) :
          probability t level ≤ 1

          Every scheduled restriction parameter is a probability.

          theorem Algebraic.AC0.ParityParameters.treeBound_mono (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) :
          treeBound t level ≤ treeBound t (level + 1)

          The scheduled tree allowance is monotone.

          theorem Algebraic.AC0.ParityParameters.five_mul_probability_mul_treeBound_nnreal (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) :
          5 * probability t level * ↑(treeBound t level) = 1 / 2

          Exact switching base, first proved in the finite nonnegative reals.

          theorem Algebraic.AC0.ParityParameters.five_mul_probability_mul_treeBound (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) :
          5 * ↑(probability t level) * ↑(treeBound t level) = 1 / 2

          Exact switching base in the extended nonnegative reals used by finite probabilities.

          The retention ratio is exactly half the restriction probability.

          theorem Algebraic.AC0.ParityParameters.retention_twice_eq_probability (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) :
          ↑(retentionRatio t level) + ↑(retentionRatio t level) = ↑(probability t level)

          The half-probability identity after coercion to exact finite probabilities.

          The later-round ratio is no larger than the first-round ratio.

          noncomputable def Algebraic.AC0.ParityParameters.switchingFailure {n g : ℕ} (program : Program signature n g) (t : ℕ) :

          Common charged switching failure bound for every round.

          Equations
          Instances For
            theorem Algebraic.AC0.ParityParameters.layerFailure_eq {n g : ℕ} (program : Program signature n g) (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) :
            Program.layerFailureBoundOfBounds program (probability t level) (treeBound t level) (treeBound t (level + 1)) = switchingFailure program t

            Every concrete round has the same charged failure bound.

            theorem Algebraic.AC0.ParityParameters.layer_slack {n g : ℕ} (program : Program signature n g) (t : ℕ) (oneLe : 1 ≤ t) (level : ℕ) (small : switchingFailure program t < ↑(minimumRatio t)) :
            Program.layerFailureBoundOfBounds program (probability t level) (treeBound t level) (treeBound t (level + 1)) + ↑(retentionRatio t level) < ↑(probability t level)

            One uniform small-failure hypothesis supplies the probability slack for every concrete round.