AFTD Auto-Formalizing Theoretical Domains

op2130_path_positive_vertex_covariance

theoremverified

On a four-vertex path, a fixed eight-request greedy schedule produces two adjacent vertex discrepancies with strictly positive covariance 1/8. Thus pairwise nonpositive correlation cannot justify a uniform interval variance bound.

Statement

theorem op2130_path_positive_vertex_covariance :
    let es : List (Fin 4 × Fin 4) := [(0,1),(1,2),(2,3),(1,2),(0,1),(2,3),(1,2),(0,1)]
    let d : (Fin 8 → Bool) → Fin 4 → ℤ := fun r =>
      (carpool_discrepancies 4 es (carpool_greedy_orientations 4 es (List.ofFn r))).getD 8 (fun _ => 0)
    (∑ r : Fin 8 → Bool, d r 0 * d r 1) = 32 ∧
      (∑ r : Fin 8 → Bool, d r 0) = 0 ∧ (∑ r : Fin 8 → Bool, d r 1) = 0
Source
OP-2130, obstruction to pairwise negative-correlation variance argument
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • carpool_discrepanciesThe sequence of discrepancy vectors (d₀, ..., d_T) starting from the zero vector, where each d_t is updated from d_{t-1} using the t-th…
  • carpool_greedy_orientationsGiven a list of edges and a list of tie-breaking coins, randomized greedy carpooling orients each edge toward the endpoint with smaller…

Lean source view module on GitHub

set_option maxRecDepth 10000
set_option maxHeartbeats 3000000

theorem op2130_path_positive_vertex_covariance :
    let es : List (Fin 4 × Fin 4) := [(0,1),(1,2),(2,3),(1,2),(0,1),(2,3),(1,2),(0,1)]
    let d : (Fin 8 → Bool) → Fin 4 → ℤ := fun r =>
      (carpool_discrepancies 4 es (carpool_greedy_orientations 4 es (List.ofFn r))).getD 8 (fun _ => 0)
    (∑ r : Fin 8 → Bool, d r 0 * d r 1) = 32 ∧
      (∑ r : Fin 8 → Bool, d r 0) = 0 ∧ (∑ r : Fin 8 → Bool, d r 1) = 0 := by
  decide
See it in the graphDiscuss this resultChallenge it