Bayes identities for accepted inputs
ProvedQAlgorithms.Papers.Independent.Intakethird100.P47.accepted_input_bayesprove2quantum
Let 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.
Assume . Define
Then and
These identities separate the observed input law from the conditional behavior and fix the conditioning used in subsequent scalar calculations.
Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P47
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P47
open scoped ComplexConjugate
open scoped BigOperators
/-- IV C, PDF p.6, (14)–(15): Bayes identities with a positive acceptance probability.
Direct inspection of PDF p.6 confirms (15b) already prints the correct (1,1) second term;
the plan's claim that it repeats (0,1) is erroneous. No source correction is made here. -/
theorem accepted_input_bayes (p : Behavior) (w : PairLaw)
(hp : IsBehavior p) (hw : IsPairLaw w) (hs : 0 < siftingProbability p w) :
siftingProbability p w = aliceMass p w false + aliceMass p w true ∧
aliceMass p w false =
p false false false false * w false false + p false true false false * w false true ∧
aliceMass p w true =
p true false false false * w true false + p true true false false * w true true ∧
aliceMarginal (acceptedLaw p w) false =
aliceMass p w false / (aliceMass p w false + aliceMass p w true) ∧
aliceMarginal (acceptedLaw p w) true =
aliceMass p w true / (aliceMass p w false + aliceMass p w true) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P47
Source
Device-independent quantum key distribution based on measurement inputs, arXiv:1308.6447v3, PDF p. 6, IV C: accepted-input Bayes identities (14)–(15)
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every function and function , assume every value of is nonnegative, for every , every value of is nonnegative, and . Here denotes false and true. Define
and assume . Then all five identities hold:
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.