Lemma 6.2
OpenQAlgorithms.Papers.Independent.Extend50.P34.rank_tester_copy_complexityFor and , the Rank Tester has copy complexity
Its upper bound is uniform in every positive ambient dimension and has perfect completeness and soundness error at most . Conversely, for some ambient dimension , every copy count below an absolute multiple of has an -far input accepted with probability greater than . This establishes both directions for the named tester.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P34
noncomputable section
open scoped Matrix BigOperators
open MeasureTheory
namespace QAlgorithms.Papers.Independent.Extend50.P34
attribute [local instance] Classical.propDecidable
-- Reuse exact pinned definitions; these are imports, not local declarations.
open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)
open QAlgorithms.Papers.Independent.Advance50.P28 (counts)
/-- Lemma 6.2, arXiv:1501.05028v1, PDF p.56. Correct p.58 non-heavy substring expectation from 2epsilon*d to 2epsilon*n, and its final dimension threshold to the copy count n. Lower bound is existential in d; r=1 uses p.5. -/
theorem rank_tester_copy_complexity
: ∃ C c : ℝ, 0 < C ∧ 0 < c ∧ ∀ r : ℕ, 1 ≤ r →
∀ epsilon : ℝ, 0 < epsilon → epsilon ≤ 1/2 →
(∀ d : ℕ, 0 < d → ∃ n : ℕ, (n : ℝ) ≤ C*r^2/epsilon ∧
RankTesterWorks d n r epsilon) ∧
(∃ d : ℕ, r < d ∧ ∀ n : ℕ, (n : ℝ) < c*r^2/epsilon →
∃ rho : Matrix (Fin d) (Fin d) ℂ, IsDensityMatrix rho ∧
Far (supportProperty d r) epsilon (decreasingSpectrum rho) ∧ 1/3 < rankAccept n r rho) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P34
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exist real constants such that, for every natural number and every real , the following assertions hold. For a positive dimension , let consist of nonnegative vectors of length summing to with at most nonzero entries, and write for the decreasing eigenvalue vector of a positive semidefinite, trace- matrix . Set . To define , for every -cell Young diagram with at most rows, fix its prescribed cell numbering, let preserve rows and columns, and let project orthogonally onto the range of the matrix . Put , , where , and
with tensor entries . First, for every , there is a natural number such that every -dimensional density matrix satisfies both
Second, there is a natural number such that, for every natural number , there exists a -dimensional density matrix satisfying for every , but . Neither assertion requires ; at , the definitions use empty products and the empty diagram. The upper assertion also includes , when every density matrix's spectrum belongs to and its distance hypothesis cannot hold for positive .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.