AFTD Auto-Formalizing Theoretical Domains

nae_p_schedule_fixed_angle_lower_bound

theoremverified

If a permitted p-computation schedule at depth d reaches angle at least θ₀, then its query cost is at least (θ₀/π)(12/5)^d.

Statement

theorem nae_p_schedule_fixed_angle_lower_bound {d : ℕ} {θ₀ θ q : ℝ} (h : nae_p_schedule d θ q)
    (hθ : θ₀ ≤ θ) :
    (θ₀ / Real.pi) * (12 / 5 : ℝ) ^ d ≤ q
Source
The existing schedule potential bound, related to the p-computation rules in arXiv:1211.0721 Section 3.4.
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • nae_p_schedule_potential_strongFor every triple (d, θ, q) in nae_p_schedule, 0 ≤ θ ≤ π, q ≥ 0, and θ ≤ πq(5/12)^d.
  • nae_p_scheduleThe least inductive relation on triples (d, θ, q), where d is a natural number and θ and q are real numbers, contains (0, π, 1) and is…
Used by 1

The proof, explained

The proof establishes the query lower bound by inverting the potential upper bound for permitted schedules. By a known invariant of p-computation schedules (nae_p_schedule_potential_strong), the angle θ is bounded above by π * q * (5/12)^d, which in turn bounds the target angle θ₀ from above. Multiplying both sides by the reciprocal growth factor (12/5)^d cancels the geometric decay factor (5/12)^d, yielding θ₀ * (12/5)^d ≤ π * q. Dividing by π > 0 gives the desired lower bound (θ₀ / π) * (12/5)^d ≤ q.

  1. θ₀ * (12 / 5)^d ≤ (π * q * (5 / 12)^d) * (12 / 5)^d

    From the schedule potential bound (nae_p_schedule_potential_strong), the achieved angle satisfies θ ≤ π * q * (5 / 12)^d. Combining this with the hypothesis θ₀ ≤ θ by transitivity (le_trans) gives θ₀ ≤ π * q * (5 / 12)^d. Since 12 / 5 > 0, its d-th power is strictly positive (positivity), and multiplying both sides on the right by this non-negative factor preserves the inequality (mul_le_mul_of_nonneg_right).

    lines 5–7

    uses nae_p_schedule_potential_strong, le_trans, mul_le_mul_of_nonneg_right

      have hp := (nae_p_schedule_potential_strong h).2.2.2
      have hrpos : 0 < (12 / 5 : ℝ) ^ d := by positivity
      have hmul := mul_le_mul_of_nonneg_right (le_trans hθ hp) hrpos.le
  2. (5 / 12)^d * (12 / 5)^d = 1

    Combining the product of powers into a power of products via mul_pow gives ((5 / 12) * (12 / 5))^d. Arithmetic evaluation (norm_num) simplifies the base (5 / 12) * (12 / 5) to 1 and evaluates 1^d = 1.

    lines 8–10

    uses mul_pow

      have hcancel : (5 / 12 : ℝ) ^ d * (12 / 5 : ℝ) ^ d = 1 := by
        rw [← mul_pow]
        norm_num
  3. θ₀ * (12 / 5)^d ≤ π * q

    By associativity of multiplication (mul_assoc), the right-hand side of the inequality groups as (π * q) * ((5 / 12)^d * (12 / 5)^d). Applying the cancellation identity and simplifying multiplication by 1 (mul_one) reduces the right-hand side to π * q, yielding θ₀ * (12 / 5)^d ≤ π * q.

    lines 11–13

    uses mul_assoc, mul_one

      have hprod : (Real.pi * q * (5 / 12 : ℝ) ^ d) * (12 / 5 : ℝ) ^ d = Real.pi * q := by
        rw [mul_assoc, hcancel, mul_one]
      rw [hprod] at hmul
  4. (θ₀ / π) * (12 / 5)^d ≤ q

    Rewriting (θ₀ / π) * (12 / 5)^d as (θ₀ * (12 / 5)^d) / π using div_mul_eq_mul_div, and using π > 0 (Real.pi_pos) via div_le_iff₀, the goal is equivalent to θ₀ * (12 / 5)^d ≤ q * π. This inequality follows from θ₀ * (12 / 5)^d ≤ π * q by commutativity of multiplication, which nlinarith closes.

    lines 14–16

    uses div_mul_eq_mul_div, div_le_iff₀, Real.pi_pos

      rw [div_mul_eq_mul_div]
      apply (div_le_iff₀ Real.pi_pos).2
      nlinarith [Real.pi_pos]
nae_p_schedule_potential_strong
For any permitted p-computation schedule at depth d, the angle θ and query count q satisfy 0 ≤ θ ≤ π, q ≥ 0, and θ ≤ π * q * (5/12)^d.
le_trans
Inequality is transitive: if a ≤ b and b ≤ c, then a ≤ c.
mul_le_mul_of_nonneg_right
Multiplying both sides of an inequality b ≤ c by a non-negative number a ≥ 0 on the right preserves the inequality (b * a ≤ c * a).
mul_pow
The power of a product is the product of the powers: (a * b)^n = a^n * b^n.
mul_assoc
Multiplication is associative: (a * b) * c = a * (b * c).
mul_one
Multiplying any element by 1 leaves it unchanged: a * 1 = a.
div_mul_eq_mul_div
Multiplying a quotient by a number can be rewritten as multiplying the numerator: (a / b) * c = (a * c) / b.
div_le_iff₀
For c > 0, a quotient b / c ≤ a if and only if b ≤ a * c.
Real.pi_pos
The constant π is strictly positive (π > 0).

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- A fixed-angle lower bound for the restricted p-computation schedule. -/theorem nae_p_schedule_fixed_angle_lower_bound {d : ℕ} {θ₀ θ q : ℝ} (h : nae_p_schedule d θ q)    (hθ : θ₀ ≤ θ) :    (θ₀ / Real.pi) * (12 / 5 : ℝ) ^ d ≤ q := by  have hp := (nae_p_schedule_potential_strong h).2.2.2  have hrpos : 0 < (12 / 5 : ℝ) ^ d := by positivity  have hmul := mul_le_mul_of_nonneg_right (le_trans hθ hp) hrpos.le  have hcancel : (5 / 12 : ℝ) ^ d * (12 / 5 : ℝ) ^ d = 1 := by    rw [← mul_pow]    norm_num  have hprod : (Real.pi * q * (5 / 12 : ℝ) ^ d) * (12 / 5 : ℝ) ^ d = Real.pi * q := by    rw [mul_assoc, hcancel, mul_one]  rw [hprod] at hmul  rw [div_mul_eq_mul_div]  apply (div_le_iff₀ Real.pi_pos).2  nlinarith [Real.pi_pos]
See it in the graphDiscuss this resultChallenge it