Theorem 2: three regimes of the optimal type-I error
OpenQAlgorithms.Papers.Independent.Advance50.P01.theorem2_threeRegimesLet and be positive semidefinite complex matrices of trace one on a common nonzero finite-dimensional Hilbert space, with . All logarithms are natural. Write and , with zero kernel contributions. Tests are all binary POVMs on the -fold tensor product; their conditional errors are and . Let denote the standard normal cumulative distribution function.
For fixed real and fixed , define as the minimum of subject to . Then
The result resolves the transition at the relative-entropy threshold. The first and third branches also cover zero variance.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P01
noncomputable section
open Filter
open scoped Topology
namespace QAlgorithms.Papers.Independent.Advance50.P01
open QAlgorithms.Papers.Independent.Information100.P71 (SupportIncluded)
open QAlgorithms.Papers.Independent.Information100.P63 (normalCDF normalQuantile tensorPower)
open QAlgorithms.Papers.Independent.Information100.P58 (testingBeta testingD)
open QAlgorithms.Papers.Independent.Dependency50.P36 (relativeEntropyFinite)
attribute [local instance] Classical.propDecidable
-- Match the universe-zero matrix indices of the pinned accepted interfaces.
variable {I : Type} [Fintype I] [DecidableEq I]
-- SupportIncluded is opened directly from the accepted Information100.P71 module.
/-- Theorem 2, source PDF pp. 5–6. All three regimes are retained. The central branch
has V>0, the nonsingular domain identified on p. 17; the other branches allow V=0. -/
theorem theorem2_threeRegimes [Nonempty I] (rho sigma : Matrix I I ℂ)
(hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
(hsupport : SupportIncluded rho sigma) (E1 E2 : ℝ) (f : ℕ → ℝ) :
((E1 < relativeEntropyNats rho sigma ∧
(f =o[atTop] (fun n : ℕ => (n : ℝ)))) →
Tendsto (constrainedTypeI rho sigma E1 E2 f) atTop (nhds 0)) ∧
((E1 = relativeEntropyNats rho sigma ∧ 0 < relativeVarianceNats rho sigma ∧
(f =o[atTop] (fun n : ℕ => Real.sqrt (n : ℝ)))) →
Tendsto (constrainedTypeI rho sigma E1 E2 f) atTop
(nhds (normalCDF (E2 / Real.sqrt (relativeVarianceNats rho sigma))))) ∧
((relativeEntropyNats rho sigma < E1 ∧
(f =o[atTop] (fun n : ℕ => (n : ℝ)))) →
Tendsto (constrainedTypeI rho sigma E1 E2 f) atTop (nhds 1)) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P01
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a nonempty finite type with decidable equality, and let be positive semidefinite complex matrices indexed by , each of trace one, satisfying . Define
For arbitrary and , let
Tensor powers have entries given by products over the coordinates, including the empty product at . The theorem asserts all three implications:
where all limits are as , and . Only the middle implication assumes positive variance.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.