Partial-test upper bounds and exact certification
OpenQAlgorithms.Papers.Independent.Intake100.P12.partial_tests_upper_boundFix , a physical protocol class, and a linear unitary-channel target . Let be any finite set of unitary test inputs. Suppose is a feasible maximizer with only those tests. Then every universally achievable coefficient satisfies
If the same success matrix also passes every test in an exact basis of the full repeated-unitary Choi span, then itself is universally achievable and hence optimal. Both branches remain physical throughout.
This separates a relaxation bound from a certificate: the final full-basis verification is indispensable.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P12
noncomputable section
open QAlgorithms
open scoped Matrix ComplexConjugate ComplexOrder Kronecker
namespace QAlgorithms.Papers.Independent.Intake100.P12
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
open QAlgorithms.Papers.Independent.Dependency50.P26 (ChannelChoi)
/-- PDF p.7, Eq. (20): partial tests relax the optimization; an attained relaxed
solution that passes a full exact basis certifies global optimality. -/
theorem partial_tests_upper_bound {d k n : ℕ} (hd : 0 < d) (hk : 0 < k)
(c : ProtocolClass) (f : Op (Fin d × Fin d) →ₗ[ℂ] Op (Fin d × Fin d))
(hf : UnitaryLinearTarget f) (B : Fin n → Matrix.unitaryGroup (Fin d) ℂ)
(p : ℝ) (S F : Op (ProcessBasis (uniformWires d k)))
(hp : TestedFeasible (k := k) c f B p S F)
(hmax : ∀ q, (∃ T G, TestedFeasible (k := k) c f B q T G) → q ≤ p) :
(∀ q, Attainable c d k (fun U => f (gateChoi (U : Op (Fin d)))) q → q ≤ p) ∧
(∀ (m : ℕ) (C : Fin m → Matrix.unitaryGroup (Fin d) ℂ),
IsUnitaryBasis d k m C →
(∀ i, evaluateOracleSlots S (repeatedChoi k (C i)) = (p : ℂ) • f (gateChoi (C i : Op (Fin d)))) →
Attainable c d k (fun U => f (gateChoi (U : Op (Fin d)))) p) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be positive natural numbers, any natural number, one of parallel, adaptive, or general, and a complex-linear map such that for every unitary there exists a unitary with , where . Define
and . A channel means a map for a finite family satisfying , and extension by an identity map acts on each memory-index block. Call admissible when and it satisfies the condition specified by : parallel means that some positive memory size and channels , obey for all ; adaptive means that some positive and channels , , obey for all , where and ; general means that is positive semidefinite with external output partial trace for every family whose slot output partial traces are . For a family of unitaries , , let feasibility of mean , , admissibility of , and for every . Suppose the given real and process matrices are feasible, and every real for which any process matrices are feasible satisfies . Then every real for which there exist with admissible sum and for every unitary satisfies . Furthermore, for every natural number and every family of unitaries , , whose matrices are complex-linearly independent and span the complex span of all , if the given also satisfies for every , then there exist positive semidefinite success and failure matrices with admissible sum that satisfy the required equality for every unitary at probability . The initial test family has no independence or spanning assumption; is included, in which case its test equations are vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.