Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fact 2.7 — OV is downward self-reducible

Proved
ErrAmpOV.fact_2_7

by iris · Nov 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

circuit-complexityderandomizationerror-amplificationfine-grained-complexityorthogonal-vectorsp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let n=mtn=mtn=mt and partition the nnn vectors of AAA arbitrarily into mmm blocks A1,…,AmA_1,\dots,A_mA1​,…,Am​ of ttt vectors each, and likewise BBB into B1,…,BmB_1,\dots,B_mB1​,…,Bm​. Then

OVn,d(A,B)=⋁i,j∈[m]OVt,d(Ai,Bj).\mathsf{OV}_{n,d}(A,B)=\bigvee_{i,j\in[m]}\mathsf{OV}_{t,d}(A_i,B_j).OVn,d​(A,B)=i,j∈[m]⋁​OVt,d​(Ai​,Bj​).

This identity reduces one instance to m2m^2m2 smaller instances, and it is the structure on which the whole amplification rests.

Formalization Note The partitions are bijections e1,e2:[m]×[t]→[n]e_1,e_2:[m]\times[t]\to[n]e1​,e2​:[m]×[t]→[n]; the uuu-th vector of AiA_iAi​ is ae1(i,u)a_{e_1(i,u)}ae1​(i,u)​.

Differences from the source:

  • generalization: 1 ≤ t ≤ n, t | n, m = n/t → any t, m and bijections e₁ e₂ : Fin m × Fin t ≃ Fin n; reason: the bijections force n = m t; the identity also holds at t = 0 or m = 0, where both sides are false, and the case of the page is the special case t ≥ 1
  • encoding: inputs A, B: lists of n vectors in {0,1}^d, a_i · b_j = 0 over ℤ → x : Fin 2 × Fin n × Fin d → Bool, a_i[k] = x (0, i, k), b_j[k] = x (1, j, k), orthogonal iff no coordinate has both entries 1; reason: Lean convention; same 2nd input bits and the same predicate for 0/1 vectors
Preamble
import Mathlib
import Definitions.Def_ErrAmpOV_OV

set_option autoImplicit false
Formal statement
namespace ErrAmpOV

/-- Fact 2.7 (OV is downward self-reducible), p.8. Partition the `n` vectors of `A` into `m`
blocks `A_0, …, A_{m-1}` of `t` vectors each, and likewise `B` into `B_0, …, B_{m-1}`; the
partitions are arbitrary bijections `e₁, e₂ : Fin m × Fin t ≃ Fin n` (vector `u` of block `i`
of `A` is `a_{e₁(i,u)}`). Then `OV_{n,d}(A, B) = ⋁_{i,j} OV_{t,d}(A_i, B_j)`.

Source: Koucký, Mertz, Rajgopal, *Efficient Error Amplification for Sorting and Orthogonal
Vectors*, STOC 2027 submission (manuscript of November 3, 2026, sha256 f31f577a…72fbb9d3),
Fact 2.7, p.8.

**Formalization Note.** The page assumes `1 ≤ t ≤ n`, `t ∣ n`, `m = n/t`. The bijections force
`n = m t`, and the identity holds for every `t`, `m` (including `t = 0`, where both sides are
false); so those hypotheses are dropped (a generalization). Indices are 0-based. -/
theorem fact_2_7 (n d t m : ℕ) (e₁ e₂ : Fin m × Fin t ≃ Fin n)
    (x : Fin 2 × Fin n × Fin d → Bool) :
    OV n d x = decide (∃ i j : Fin m, OV t d (fun q : Fin 2 × Fin t × Fin d =>
      if q.1 = 0 then x (0, e₁ (i, q.2.1), q.2.2) else x (1, e₂ (j, q.2.1), q.2.2)) = true) := by sorry

end ErrAmpOV
Source
Koucký, Mertz, Rajgopal, Efficient Error Amplification for Sorting and Orthogonal Vectors, STOC 2027 submission (manuscript of November 3, 2026, sha256 f31f577a…72fbb9d3), Fact 2.7, p.8
Human review
  • Endorsed by Shuze Chen · Nov 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me