Balancing local setting bias and exact accepted yield
OpenQAlgorithms.Papers.Independent.Intakethird100.P47.balanced_input_bias_and_yieldLet be a nonnegative binary conditional distribution normalized for each pair of settings, and let be a nonnegative normalized input law. The joint law is . Set , , and, when , let be the accepted setting law.
Let , , and assume both cross-setting acceptance probabilities vanish. Choose independent settings with . Acceptance has positive probability even at the endpoints. With ,
At this balancing bias,
For and , . This balances the raw key values and evaluates acceptance; it does not maximize a specified cryptographic rate.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P47
namespace QAlgorithms.Papers.Independent.Intakethird100.P47
open scoped ComplexConjugate
open scoped BigOperators
/-- VII B.2, PDF p.9, (19a,b): the unique equal local input bias balancing the ideal
accepted settings, with exact yield. The denominator is (sqrt(x)+sqrt(y)) squared.
The yield is a raw accepted-run probability, not an operational secrecy capacity. -/
theorem balanced_input_bias_and_yield (p : Behavior) (hp : IsBehavior p)
(x y r : ℝ) (hx : 0 < x) (hy : 0 < y) (hr : 0 ≤ r ∧ r ≤ 1)
(h00 : p false false false false = x) (h11 : p true true false false = y)
(h10 : p true false false false = 0) (h01 : p false true false false = 0) :
let w := binarySettingLaw r r
let rb := Real.sqrt y / (Real.sqrt x + Real.sqrt y)
0 < siftingProbability p w ∧ 0 < rb ∧ rb < 1 ∧
((∀ A, aliceMarginal (acceptedLaw p w) A = 1 / 2) ↔ x * r ^ 2 = y * (1 - r) ^ 2) ∧
(x * r ^ 2 = y * (1 - r) ^ 2 ↔ r = rb) ∧
(r = rb → siftingProbability p w = 2 * x * r ^ 2 ∧
siftingProbability p w = 2 * x * y / (Real.sqrt x + Real.sqrt y) ^ 2) ∧
(x = (5 * Real.sqrt 5 - 11) / 2 → y = Real.sqrt 5 - 2 →
rb = (Real.sqrt 5 - 1) / 2) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P47
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Identify false and true with and . Let be nonnegative for all , with for every . Let satisfy , , and , including the endpoints. Assume , , and . Put , , , , , and . Then , , and
If , then and . If additionally and , then .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.