AFTD Auto-Formalizing Theoretical Domains

nae_p_schedule_fixed_angle_not_at_adversary_rate

theoremverified

For every positive fixed angle and every real C, some depth forces every permitted p-computation schedule attaining that angle to use more than C(3/√2)^d queries.

Statement

theorem nae_p_schedule_fixed_angle_not_at_adversary_rate (θ₀ C : ℝ) (hθ₀ : 0 < θ₀) :
    ∃ d : ℕ, ∀ θ q : ℝ, nae_p_schedule d θ q → θ₀ ≤ θ →
      C * (3 / Real.sqrt 2) ^ d < q
Source
Consequence of the fixed-angle schedule bound and the base comparison, for the restricted p-computation rules of arXiv:1211.0721 Section 3.4.
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • nae_p_schedule_fixed_angle_lower_boundIf a permitted p-computation schedule at depth d reaches angle at least θ₀, then its query cost is at least (θ₀/π)(12/5)^d.
  • nae_p_rule_strong_rate_separationFor every real C there is a natural d such that C(3/√2)^d is strictly less than (1/2)(12/5)^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…

The proof, explained

The proof works by comparing the exponential growth rate 12/5 of query complexity in permitted p-computation schedules to the adversary rate 3/√2. Because 12/5 = 2.4 exceeds 3/√2 ≈ 2.12, the query lower bound (θ₀/π)(12/5)^d for achieving a fixed angle θ ≥ θ₀ must eventually overtake C(3/√2)^d for any real constant C. The proof obtains such a depth d by applying strong rate separation with constant C / (2θ₀/π), and then chains the resulting strict inequality to the query lower bound.

  1. Define a positive scaling factor s = 2θ₀ / π > 0.

    Set s := 2θ₀ / π. Since θ₀ > 0 by assumption and π > 0, the positivity tactic establishes that s > 0.

    lines 5–6

      let s : ℝ := 2 * θ₀ / Real.pi
      have hs : 0 < s := by dsimp [s]; positivity
  2. There exists a depth d at which (12/5)^d dominates (3/√2)^d scaled by C / s.

    Applying the strong rate separation lemma nae_p_rule_strong_rate_separation to the constant C / s provides a depth d such that (C / s) * (3 / √2)^d < (1 / 2) * (12 / 5)^d.

    line 7

    uses nae_p_rule_strong_rate_separation

      obtain ⟨d, hd⟩ := nae_p_rule_strong_rate_separation (C / s)
  3. The product s * (C / s) equals C.

    Because s > 0, lemma ne_of_gt gives s ≠ 0, allowing field_simp to cancel s in the numerator and denominator.

    line 8

    uses ne_of_gt

      have hcs : s * (C / s) = C := by field_simp [ne_of_gt hs]
  4. It suffices to show that any schedule at depth d reaching angle θ ≥ θ₀ requires more than C * (3/√2)^d queries.

    We instantiate the existential quantifier with the depth d obtained from rate separation, and introduce an arbitrary schedule at depth d achieving angle θ with q queries, under the assumption that θ₀ ≤ θ.

    lines 9–10

      refine ⟨d, ?_⟩
      intro θ q h hθ
  5. C * (3 / √2)^d < q.

    Rewrite C as s * (C / s) and regroup factors so that C * (3 / √2)^d = s * ((C / s) * (3 / √2)^d). Applying the rate separation inequality scaled by s > 0 via mul_lt_mul_of_pos_left gives a strict upper bound s * ((1 / 2) * (12 / 5)^d), which simplifies to (θ₀ / π) * (12 / 5)^d because s * (1 / 2) = (2θ₀ / π) * (1 / 2) = θ₀ / π. Finally, nae_p_schedule_fixed_angle_lower_bound shows that this quantity is bounded above by the query count q.

    lines 11–16

    uses mul_lt_mul_of_pos_left, nae_p_schedule_fixed_angle_lower_bound

      calc
        C * (3 / Real.sqrt 2) ^ d = (s * (C / s)) * (3 / Real.sqrt 2) ^ d := by rw [hcs]
        _ = s * ((C / s) * (3 / Real.sqrt 2) ^ d) := by ring
        _ < s * ((1 / 2 : ℝ) * (12 / 5 : ℝ) ^ d) := mul_lt_mul_of_pos_left hd hs
        _ = (θ₀ / Real.pi) * (12 / 5 : ℝ) ^ d := by dsimp [s]; ring
        _ ≤ q := nae_p_schedule_fixed_angle_lower_bound h hθ
nae_p_rule_strong_rate_separation
For any real constant C, there exists a depth d such that C * (3/√2)^d < (1/2) * (12/5)^d.
ne_of_gt
If b < a in a preorder, then a ≠ b; in particular, a strictly positive real number is nonzero.
mul_lt_mul_of_pos_left
Multiplying a strict inequality b < c on the left by a strictly positive element a > 0 preserves the strict inequality: a * b < a * c.
nae_p_schedule_fixed_angle_lower_bound
Any permitted p-computation schedule of depth d achieving an angle θ ≥ θ₀ requires at least (θ₀/π) * (12/5)^d queries.

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

/-- Fixed nonzero angle cannot be reached at the adversary exponential rate by the restricted p-computation schedule. -/theorem nae_p_schedule_fixed_angle_not_at_adversary_rate (θ₀ C : ℝ) (hθ₀ : 0 < θ₀) :    ∃ d : ℕ, ∀ θ q : ℝ, nae_p_schedule d θ q → θ₀ ≤ θ →      C * (3 / Real.sqrt 2) ^ d < q := by  let s : ℝ := 2 * θ₀ / Real.pi  have hs : 0 < s := by dsimp [s]; positivity  obtain ⟨d, hd⟩ := nae_p_rule_strong_rate_separation (C / s)  have hcs : s * (C / s) = C := by field_simp [ne_of_gt hs]  refine ⟨d, ?_⟩  intro θ q h hθ  calc    C * (3 / Real.sqrt 2) ^ d = (s * (C / s)) * (3 / Real.sqrt 2) ^ d := by rw [hcs]    _ = s * ((C / s) * (3 / Real.sqrt 2) ^ d) := by ring    _ < s * ((1 / 2 : ℝ) * (12 / 5 : ℝ) ^ d) := mul_lt_mul_of_pos_left hd hs    _ = (θ₀ / Real.pi) * (12 / 5 : ℝ) ^ d := by dsimp [s]; ring    _ ≤ q := nae_p_schedule_fixed_angle_lower_bound h hθ
See it in the graphDiscuss this resultChallenge it