Entropy splitting for a finite list
OpenQAlgorithms.Papers.Independent.Intakenext100.P14.entropy_splittingLet , let be finite random variables, and let and . Conditional min-entropy is the negative binary logarithm of the average guessing probability . Smoothing deletes an event of probability at most , without renormalization. Suppose every distinct pair satisfies . There exists a random index such that every independent index with satisfies
Here is independent of the whole original tuple and of . Different alphabets for the are allowed using a tagged union; in the condition supplies its tag. The conditioning event has probability at least . Smoothing levels above one are permitted, with zero retained mass corresponding to entropy . The Lean formula uses the exactly equivalent exponential guessing-probability bounds.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P14
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakenext100.P14
open scoped Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Dependency50.P47 (Law)
open QAlgorithms.Papers.Independent.Gap48.P11 (blockMatrix cqDistance)
open QAlgorithms.Papers.Independent.Claimed50.P31 (bb84Vector)
open QAlgorithms.Papers.Independent.Advance50.P05 (RectangularInstrument)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- Positive list length and inhabited fibers supply the tagged union's inhabitant.
This derived instance adds no hypothesis to Lemma 2.2. -/
local instance {m : ℕ} [NeZero m] {A : Fin m → Type*}
[∀ i, Nonempty (A i)] : Nonempty (Sigma A) :=
⟨⟨0, Classical.choice (inferInstance : Nonempty (A 0))⟩⟩
/-- PDF p.7, Lemma 2.2, with its construction and proof on pp.21-22.
V is chosen before the independent W. The entropy inequalities are written
as equivalent bounds on retained average guessing probabilities. -/
theorem entropy_splitting
(m : ℕ) [NeZero m]
{S : Type} {Z : Type*} [Fintype S] [Nonempty S] [Fintype Z] [Nonempty Z]
{A : Fin m → Type*} [∀ i, Fintype (A i)] [∀ i, Nonempty (A i)]
(p : Law S) (X : (i : Fin m) → S → A i) (z : S → Z)
(alpha epsilon : ℝ) (hepsilon : 0 ≤ epsilon)
(hpair : ∀ i j : Fin m, i ≠ j →
smoothGuess p.prob (fun s => (X i s, X j s)) z epsilon ≤
Real.rpow 2 (-alpha)) :
∃ V : S → Fin m, ∀ W : Law (Fin m),
(∀ i, W.prob i ≤ 1 / 2) →
smoothGuess
(conditionMass (fun sw : S × Fin m => p.prob sw.1 * W.prob sw.2)
(fun sw => V sw.1 ≠ sw.2))
(fun sw : S × Fin m => (⟨sw.2, X sw.2 sw.1⟩ : Sigma A))
(fun sw : S × Fin m => ((V sw.1, sw.2), z sw.1))
(2 * (m : ℝ) * epsilon) ≤
Real.rpow 2 (-(alpha / 2 - Real.logb 2 m - 1)) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P14
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a nonzero natural number, let be finite nonempty types, and let be a finite nonempty type for every . Let satisfy and , let , let , and let with . For finite types , with nonempty, define
using zero for an empty real infimum. Assume that, for every distinct ,
Then there exists a function such that, for every probability vector on satisfying for every , the following holds. Define
with division by zero interpreted as zero. Then
Here belongs to the disjoint union of the types , so its index is part of the guessed value. There is no upper bound on and no sign restriction on . The case is included: its pairwise hypothesis is vacuous, and no probability vector satisfies the required bound on every coordinate.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.