Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Information Theory

210 missions · 60 completed

Missions

Open150Completed60All210
🏆Completed
CombinatoricsComplexity TheoryTheoretical Computer Science·Captain: mikedeng1

Finding Short Synchronizing Words for Prefix Codes: Unless P = NP, the Shortest Synchronizing Word of a Binary Huffman Decoder Cannot Be Approximated Within c log nResearch Paper

Motivation

A prefix code is a set of binary words none of which is a prefix of another; Huffman codes are the standard example. Such a code is decoded by an automaton that walks down the code tree and returns to the root after each codeword. A transmission error can make the decoder lose track of codeword boundaries. A synchronizing word brings the decoder to one known state whatever state it starts in, so after reading it the decoder is aligned again. How long the shortest such word is has been studied for Huffman codes in coding theory and for automata in general in connection with the Černý conjecture (Volkov's survey).

Computing the length of a shortest synchronizing word is NP-hard (Eppstein 1990), and for binary automata it cannot be approximated within clog⁡nc \log nclogn unless P = NP (Berlinkov). Ryzhikov and Szykuła (arXiv:1806.06299, MFCS 2018) ask the same question for decoders of prefix codes; their Corollary 8 shows that the logarithmic barrier persists for binary Huffman decoders.

Setting

A complete automaton is a transition function δ:Q×Σ→Q\delta : Q \times \Sigma \to Qδ:Q×Σ→Q on a finite set of states QQQ and a finite alphabet Σ\SigmaΣ, extended to words by δ(q,wx)=δ(δ(q,w),x)\delta(q, wx) = \delta(\delta(q, w), x)δ(q,wx)=δ(δ(q,w),x). A word www is synchronizing if δ(q′,w)\delta(q', w)δ(q′,w) is the same state for every q′q'q′; the automaton is synchronizing if such a word exists, and ℓ(δ)\ell(\delta)ℓ(δ) is the length of a shortest one.

A first-return word of a state rrr is a nonempty word www with δ(r,w)=r\delta(r, w) = rδ(r,w)=r whose nonempty proper prefixes do not map rrr to rrr. A Huffman decoder is a strongly connected complete automaton with a state rrr whose first-return words form a finite set; that set is then a finite maximal prefix code, the code the automaton decodes. An automaton is strongly acyclic if every cycle is a self-loop and every state with a self-loop is a sink.

The problem Short Sync Word takes a synchronizing automaton and asks for ℓ(δ)\ell(\delta)ℓ(δ). It is approximable within ρ(n)\rho(n)ρ(n) on a class of automata if a polynomial-time algorithm outputs, for every synchronizing nnn-state automaton AAA of the class (nnn large enough), a number vvv with ℓ(A)≤v≤ρ(n) ℓ(A)\ell(A) \le v \le \rho(n)\,\ell(A)ℓ(A)≤v≤ρ(n)ℓ(A).

For codes, a set XXX of words is a code if every word factors over XXX in at most one way; a pair (ℓX,rX)(\ell_X, r_X)(ℓX​,rX​) of words of X∗X^*X∗ is absorbing if ℓXΣ∗∩Σ∗rX⊆X∗\ell_X\Sigma^* \cap \Sigma^* r_X \subseteq X^*ℓX​Σ∗∩Σ∗rX​⊆X∗; a synchronizing code is a complete code with an absorbing pair. For a bijection β\betaβ from the alphabet of a code YYY onto a code ZZZ, the composition is Y∘βZ={β(y):y∈Y}Y \circ_\beta Z = \{\beta(y) : y \in Y\}Y∘β​Z={β(y):y∈Y}.

The proof rests on one result from the literature, the Set Cover hardness of Berlinkov (DLT 2014), quoted on p. 5: for every γ>0\gamma > 0γ>0 there is c′>0c' > 0c′>0 such that Set Cover restricted to instances with ∣C∣≤∣X∣1+γ|C| \le |X|^{1+\gamma}∣C∣≤∣X∣1+γ has no polynomial-time c′log⁡∣X∣c' \log |X|c′log∣X∣-approximation unless P = NP.

Formalization targets

Goal: Corollary 8

Under the Set Cover hardness,

∃ c>0:Short Sync Word is approximable within clog⁡n on binary Huffman decoders  ⟹  P=NP.\exists\, c > 0:\quad \text{Short Sync Word is approximable within } c \log n \text{ on binary Huffman decoders} \;\Longrightarrow\; \mathrm{P} = \mathrm{NP}.∃c>0:Short Sync Word is approximable within clogn on binary Huffman decoders⟹P=NP.

The constant ccc is left unspecified, as in the paper.

Milestones

  1. Theorem 2's reduction (p. 5): for a Set Cover instance (X,C)(X, C)(X,C) with ∣X∣=p|X| = p∣X∣=p, the "pipe" automaton has p2+1p^2 + 1p2+1 states and ∣C∣|C|∣C∣ letters, is strongly acyclic, and ℓ=OPT(X,C)\ell = \mathrm{OPT}(X, C)ℓ=OPT(X,C).
  2. Theorem 2 (p. 5): clog⁡nc \log nclogn-inapproximability on strongly acyclic automata over alphabets of size n1+γn^{1+\gamma}n1+γ.
  3. Lemma 5 (p. 6): a polynomial-time map from synchronizing strongly acyclic automata over kkk letters to Huffman decoders over k+2k + 2k+2 letters preserving ℓ\ellℓ.
  4. Corollary 6 (iii) (p. 6): clog⁡nc \log nclogn-inapproximability on Huffman decoders over alphabets of size n1+γn^{1+\gamma}n1+γ.
  5. Theorem 7 (p. 7): Y∘ZY \circ ZY∘Z is synchronizing and its shortest absorbing pair has length between mℓm\ellmℓ and 2Mℓ+2c2M\ell + 2c2Mℓ+2c.
  6. The composition decoder (pp. 7–8): substituting the tree of ZZZ for the transitions of a decoder of YYY gives a decoder of (Y∘Z)∗(Y \circ Z)^*(Y∘Z)∗ over the alphabet of ZZZ with Θ(nYnZ)\Theta(n_Y n_Z)Θ(nY​nZ​) states.
  7. The composition bounds (p. 8): m ℓY≤ℓX≤M ℓY+∣wZ∣m\,\ell_Y \le \ell_X \le M\,\ell_Y + |w_Z|mℓY​≤ℓX​≤MℓY​+∣wZ​∣ for every word wZw_ZwZ​ with Σ∗wZ⊆Z∗\Sigma^* w_Z \subseteq Z^*Σ∗wZ​⊆Z∗.
  8. The Wielandt code (p. 8): ZL=0{0,1}L−1∪1{0,1}LZ_L = 0\{0,1\}^{L-1} \cup 1\{0,1\}^LZL​=0{0,1}L−1∪1{0,1}L is a maximal prefix code with 3⋅2L−13 \cdot 2^{L-1}3⋅2L−1 words of lengths LLL and L+1L+1L+1, and its shortest synchronizing word has length between L2−L+1L^2 - L + 1L2−L+1 and L2L^2L2.
  9. Padding (p. 8): the Set Cover hardness persists on instances whose optimum is at least dlog⁡∣X∣d \log |X|dlog∣X∣, for every d>0d > 0d>0.

Significance

Corollary 8 shows that restricting to decoders of finite binary prefix codes, a class with strong structure, does not make the shortest synchronizing word easier to approximate than for general binary automata. Theorem 7 is a general statement about composition of synchronizing codes and applies beyond this reduction.

The mission adds synchronizing automata, Huffman decoders and composition of codes to the platform, and a second hardness-of-approximation result in the published Turing-machine framework CookPvsNP, after Feige's Set Cover threshold. The results are proved on paper; none has a machine-checked proof. Two printed steps need repair, and the milestones state the corrected versions: the Wielandt code has 3⋅2L−13 \cdot 2^{L-1}3⋅2L−1 words, not 2L2^L2L, so the alphabet must be padded differently, and the printed justification of the padding claim (enumerating all subfamilies of size dlog⁡∣X∣d \log |X|dlog∣X∣) is not polynomial, while the claim itself holds.

Difficulty

Each reduction is elementary on paper. The work lies in three places.

First, polynomial time is measured on one-tape Turing machines: every reduction (pipe automaton, tree gadget, letter duplication, composition decoder, padding) must be realized by a machine on the encodings.

Second, the gap arithmetic of Corollary 8 does not close by Theorem 7 alone. Composition multiplies shortest synchronizing lengths by a factor between LLL and L+1L + 1L+1 but adds up to L2L^2L2, with L≈(1+γ)log⁡2pL \approx (1 + \gamma)\log_2 pL≈(1+γ)log2​p; the additive term is absorbed only when the optimum is of order log⁡p\log plogp (the padding milestone). Theorem 7 is about absorbing pairs of codes, not synchronizing words of decoders, so milestone 7 needs its own proof.

Third, the Wielandt bound requires an analysis of synchronizing words of the minimal automaton of ZL∗Z_L^*ZL∗​, a Wielandt automaton with L+1L + 1L+1 states.

Formalization scope

Automata are transition functions δ : σ → α → σ; instances of Short Sync Word are records of n states Fin n, k letters Fin k and a table δ, encoded in unary over Option Bool. Only complete automata occur. The length of a shortest synchronizing word is an infimum (syncLength), with junk value 0 on non-synchronizing automata; every statement assumes or proves synchronization. A Huffman decoder is strongly connected and has a state whose set of first-return words is finite. Binary means k = 2, with the paper's letters 0, 1 written false, true.

Approximability is in value form: a polynomial-time CookPvsNP machine outputs a unary number between the optimum and ρ(n)\rho(n)ρ(n) times it on every synchronizing instance of the class with at least n0n_0n0​ states, machine and n0n_0n0​ fixed before the instance; logarithms are natural. P = NP means NP Sym ⊆ P Sym for every finite nonempty alphabet. The Set Cover hardness of [4] enters as the hypothesis SetCoverHardness, in the same value form; it is the only hypothesis of the goal. The class in the goal is exactly the binary Huffman decoders, with no bound on the synchronizing length, no minimality condition and no restriction on the code, and the conclusion is P = NP itself; a statement with the algorithm or the constant chosen after the instance, a class without hard instances, or a conclusion weaker than P = NP does not formalize Corollary 8. "Alphabet of size n1+γn^{1+\gamma}n1+γ" in Theorem 2 and Corollary 6 (iii) is read as at most n1+γn^{1+\gamma}n1+γ.

Codes are Mathlib Languages with the Kleene star; the composition decoder's junk transition is never used for maximal prefix codes.

A complete development needs the reductions as Turing machines, unique-factorization arguments for prefix codes, and the synchronization analysis of the Wielandt automaton. The automata and code layers are reusable. Contributions on any milestone are welcome; the polynomial-time realizations are independent of the combinatorics.

Selected references

  • A. Ryzhikov, M. Szykuła, Finding Short Synchronizing Words for Prefix Codes, MFCS 2018, LIPIcs 117, 21. https://arxiv.org/abs/1806.06299 (v1), https://doi.org/10.4230/LIPIcs.MFCS.2018.21
  • M. V. Berlinkov, On two algorithmic problems about synchronizing automata, DLT 2014, LNCS 8633, 61–67, 2014. https://doi.org/10.1007/978-3-319-09698-8_6
  • M. V. Berlinkov, Approximating the minimum length of synchronizing words is hard, Theory of Computing Systems 54(2), 211–223, 2014. https://doi.org/10.1007/s00224-013-9511-y
  • D. S. Ananichev, V. V. Gusev, M. V. Volkov, Slowly synchronizing automata and digraphs, MFCS 2010, LNCS 6281, 55–65, 2010. https://doi.org/10.1007/978-3-642-15155-2_7
  • J. Berstel, D. Perrin, C. Reutenauer, Codes and Automata, Cambridge University Press, 2010. https://doi.org/10.1017/CBO9781139195768
  • D. Eppstein, Reset sequences for monotonic automata, SIAM Journal on Computing 19(3), 500–510, 1990. https://doi.org/10.1137/0219033
  • U. Feige, A threshold of ln n for approximating set cover, Journal of the ACM 45(4), 634–652, 1998. https://doi.org/10.1145/285055.285059
  • M. V. Volkov, Synchronizing automata and the Černý conjecture, LATA 2008, LNCS 5196, 11–27, 2008. https://doi.org/10.1007/978-3-540-88282-4_4
41 thms7 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningOperations Research·Captain: mikedeng1

Phase Transitions in Bandits with Switching Constraints: every policy with at most S switches has regret at least the phase-dependent rate up to a logarithmic factorResearch Paper

Motivation

In many sequential decision problems, changing the action is costly or administratively limited: a retailer can revise a posted price only a few times per season, a clinical trial can change its treatment allocation only a few times, and a firm can reconfigure its production line only so often. The multi-armed bandit with switching constraints (BwSC) captures this tension between learning and limited adaptivity: the learner must explore to find a good action, but every change of action consumes a hard budget. Simchi-Levi and Xu (arXiv:1905.10825, Management Science 2023) determine the optimal regret of this problem up to logarithmic factors.

Timeline. Classical bandit theory gives the minimax regret Θ(KT)\Theta(\sqrt{KT})Θ(KT​) for KKK arms and horizon TTT with unlimited switching (Auer, Cesa-Bianchi, Freund and Schapire, 2002; Lattimore and Szepesvári, Bandit Algorithms, 2020). Cesa-Bianchi, Dekel and Shamir (2013) showed that in adversarial bandits with switching costs the regret is Θ~(T2/3)\widetilde\Theta(T^{2/3})Θ(T2/3). For stochastic bandits processed in a fixed number of batches, Perchet, Rigollet, Chassang and Snowberg (2016) and Gao, Han, Ren and Zhou (2019) obtained regret rates of the form T1/(2−21−M)T^{1/(2-2^{1-M})}T1/(2−21−M) for MMM batches. Simchi-Levi and Xu (2019, revised 2021) treat a hard budget SSS on the number of switches and prove matching upper and lower bounds; the lower bound, Theorem 2, is the subject of this mission.

Setting

There are K>1K>1K>1 arms and TTT rounds. In round ttt the learner picks at∈[K]a_t\in[K]at​∈[K] and observes a reward Xt∼N(μat,1)X_t\sim\mathcal N(\mu_{a_t},1)Xt​∼N(μat​​,1) from the unit-variance Gaussian environment with mean vector μ∈RK\mu\in\mathbb R^Kμ∈RK; admissible environments have mean spread ∣μi−μj∣≤1|\mu_i-\mu_j|\le1∣μi​−μj​∣≤1. A policy π\piπ chooses at+1a_{t+1}at+1​ by a Markov kernel from the past actions and rewards; Pμπ\mathbb P^\pi_\muPμπ​ is the law of the history. The regret is

Rμπ(T)=Tmax⁡iμi−Eμπ[∑t=1TXt].R^\pi_\mu(T)=T\max_i\mu_i-\mathbb E^\pi_\mu\Big[\sum_{t=1}^T X_t\Big].Rμπ​(T)=Timax​μi​−Eμπ​[t=1∑T​Xt​].

With unit switching costs, the number of switches is ∑t=1T−11{at≠at+1}\sum_{t=1}^{T-1}\mathbb 1\{a_t\neq a_{t+1}\}∑t=1T−1​1{at​=at+1​}. For a budget S∈NS\in\mathbb NS∈N, the class ΠS\Pi_SΠS​ of SSS-switch policies consists of the policies whose number of switches is at most SSS almost surely under every environment.

The budget enters through the phase index q(S,K)=⌊(S−1)/(K−1)⌋q(S,K)=\lfloor (S-1)/(K-1)\rfloorq(S,K)=⌊(S−1)/(K−1)⌋ (with q(0,K)=0q(0,K)=0q(0,K)=0) and the remainder r(S,K)=S−1−q(S,K)(K−1)r(S,K)=S-1-q(S,K)(K-1)r(S,K)=S−1−q(S,K)(K−1) (so r(0,K)=−1r(0,K)=-1r(0,K)=−1). Two rates appear, with a(q)=1/(2−2−q)a(q)=1/(2-2^{-q})a(q)=1/(2−2−q):

A=(K−r(S,K))2−a(q(S,K))K Ta(q(S,K)),B=K1−a(q(S,K)+1) Ta(q(S,K)+1).A=\frac{(K-r(S,K))^{2-a(q(S,K))}}{K}\,T^{a(q(S,K))},\qquad B=K^{1-a(q(S,K)+1)}\,T^{a(q(S,K)+1)}.A=K(K−r(S,K))2−a(q(S,K))​Ta(q(S,K)),B=K1−a(q(S,K)+1)Ta(q(S,K)+1).

In Lean these are IsSwitchPolicy S T π, qIdx S K, rIdx S K, rateA K S T, rateB K S T, on top of the published BanditPolicy, banditMeasure, banditRegret and gaussianBandit.

Formalization targets

Goal: Theorem 2 (p. 21)

There is an absolute constant C>0C>0C>0 such that for all K>1K>1K>1, S∈NS\in\mathbb NS∈N, T≥2KT\ge2KT≥2K and every π∈ΠS\pi\in\Pi_Sπ∈ΠS​, some admissible Gaussian environment μ\muμ satisfies

Rμπ(T) ≥ Clog⁡Tmax⁡{A, B}.R^\pi_\mu(T)\ \ge\ \frac{C}{\log T}\max\{A,\ B\}.Rμπ​(T) ≥ logTC​max{A, B}.

The constant is not fixed: the goal asserts the shape of the bound, which survives any improvement of constants.

Milestones

The proof in Appendix J (pp. 59–75) reduces to the regime q(S,K)+2≤log⁡2log⁡2(T/K)q(S,K)+2\le\log_2\log_2(T/K)q(S,K)+2≤log2​log2​(T/K) (p. 59, two bounds by O(KT)O(\sqrt{KT})O(KT​) outside it) and then runs a five-step program on two families of environments:

  1. the localized Pinsker inequality (Lemma 5) and the generalized reverse Fano inequality (Proposition 5, (35));
  2. counting bounds on risky events under a single environment (Lemmas 6–7, Corollary 4);
  3. bad-event regret bounds under alternative environments and the reduction to bad-event probabilities (Lemmas 8–11);
  4. divergence bounds for restricted measures (property 1 of p. 72, Lemmas 12–13);
  5. the final probability bounds (46)–(47).

Significance

The result. Theorem 2, together with the AdaLS upper bound (Theorem 1), shows that the optimal regret is Θ~(max⁡{A,B})\widetilde\Theta(\max\{A,B\})Θ(max{A,B}) for every KKK, SSS and TTT. In particular, for fixed KKK the regret as a function of TTT is Θ~(T1/(2−2−q(S,K)))\widetilde\Theta(T^{1/(2-2^{-q(S,K)})})Θ(T1/(2−2−q(S,K))): it changes only when SSS crosses a multiple of K−1K-1K−1, a phase transition in the switching budget, and Θ(log⁡log⁡T)\Theta(\log\log T)Θ(loglogT) switches suffice for the classical T\sqrt TT​ rate. The lower bound holds for all randomized adaptive policies, not only batched ones.

Formalizing it. The result is proved on paper but has no machine-checked proof. Formalizing the lower bound adds a reusable change-of-measure toolkit for adaptively collected data: a reverse Fano-type inequality over families of measure spaces, stopping-time-based counting arguments on switching patterns, and divergence bounds for censored histories. Three printed steps needed repair (see Formalization scope), so the formal development also certifies a corrected version of the argument.

Difficulty

The obvious argument fails at the counting step. A naive choice of risky events (arms unobserved in fixed time windows) only gives a sum of probabilities of at least K−1−⌊S/(q+1)⌋K-1-\lfloor S/(q+1)\rfloorK−1−⌊S/(q+1)⌋, which vanishes when SSS is at the end of a phase; this loses the floor ⌊(S−1)/(K−1)⌋\lfloor (S-1)/(K-1)\rfloor⌊(S−1)/(K−1)⌋ in the exponent. The paper's events in the last window are defined through the stopping time at which the switching budget is exhausted, and they interact with the measure-change step: the restricted measures must hide enough information about the tested arm to make divergences small, while still deciding the stopping-time event. A second difficulty is that the policy is adaptive and randomized, so all events and measures are path-dependent.

Formalization scope

  • Model. Histories are the published canonical bandit histories Fin T → Fin K × ℝ; rounds are 1-based in every statement (entry sss is round s+1s+1s+1). Environments are unit-variance Gaussian (gaussianBandit), which is all the proof uses (p. 59).
  • Admissible policies. IsSwitchPolicy S T π asks the budget to hold almost surely under every unit-variance Gaussian environment, a weaker requirement than the paper's "for all sub-Gaussian D\mathcal DD", so the goal covers at least the paper's policy class. The regret lower bound is witnessed by one Gaussian instance with mean spread at most 111, which implies the paper's bound on the supremum.
  • Conventions. S∈NS\in\mathbb NS∈N and unit costs (§3, p. 14); q(0,K)=0q(0,K)=0q(0,K)=0 and r(0,K)=−1r(0,K)=-1r(0,K)=−1 by the paper's convention ⌊x⌋=0\lfloor x\rfloor=0⌊x⌋=0 for x<0x<0x<0; τ=∞\tau=\inftyτ=∞ is encoded as T+1T+1T+1; divergences are Mathlib's klDiv in [0,∞][0,\infty][0,∞], and the reverse KL is Dre(P∥Q)=KL(Q∥P)D_{\rm re}(\mathbb P\|\mathbb Q)=\mathrm{KL}(\mathbb Q\|\mathbb P)Dre​(P∥Q)=KL(Q∥P); conditional expectations in Lemmas 8 and 10 are stated in product form.
  • Repairs. (i) Lemma 8's integrand is the regret Tμ∗−∑tμatT\mu^*-\sum_t\mu_{a_t}Tμ∗−∑t​μat​​; the printed integrand is non-positive for j=q+2j=q+2j=q+2. (ii) The artificial measures (45) are replaced by records stopped at the first pull of the tested arm in the window; the printed measures do not have the claimed divergence. (iii) The p. 59 bound 2KT\sqrt{2KT}2KT​ is corrected to 2KT2\sqrt{KT}2KT​, and the companion bound for the first term, which the page omits, is a separate milestone. The first-class lemmas assume q(S,K)≥1q(S,K)\ge1q(S,K)≥1, where the page's construction is defined; the goal does not.
  • Ruled out. A constant CCC depending on KKK, SSS or TTT; dropping the mean-spread condition; restricting to deterministic or batched policies; a switching constraint only in expectation; or stating the theorem for one fixed (K,S)(K,S)(K,S) — each makes the statement trivial or different, and none is used.
  • Infrastructure. Reused: the published canonical bandit model, the Bernoulli divergence ExploreFirst.FundIneq.klBer, the first half of Lemma 5 (ExploreFirst.Collective.lemma_6) and the classical bound BanditAlgorithm.bandit_minimax_lower_bound. Needed and reusable beyond this mission: the divergence decomposition for stopped histories, joint convexity and data processing for KL across different spaces, and the KL divergence of unit-variance Gaussians. Proofs of any milestone, and of the Gaussian-instance reduction, are welcome.

Selected references

  • D. Simchi-Levi and Y. Xu, Phase Transitions in Bandits with Switching Constraints, Management Science, 2023; arXiv:1905.10825v4. https://arxiv.org/abs/1905.10825
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
  • N. Cesa-Bianchi, O. Dekel and O. Shamir, Online Learning with Switching Costs and Other Adaptive Adversaries, NeurIPS 2013. https://arxiv.org/abs/1302.4387
  • V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics, 2016. https://arxiv.org/abs/1505.00369
  • Z. Gao, Y. Han, Z. Ren and Z. Zhou, Batched Multi-armed Bandits Problem, NeurIPS 2019. https://arxiv.org/abs/1904.01763
  • S. Gerchinovitz, P. Ménard and G. Stoltz, Fano's Inequality for Random Variables, Statistical Science, 2020. https://arxiv.org/abs/1702.05985
31 thms7 active usersReviewed
🏆Completed
Quantum Information·Captain: mikedeng1

A Simple Proof of the Strong Subadditivity Inequality: Strong Subadditivity of the von Neumann Entropy via Monotonicity of the Relative Entropy under Partial TraceResearch Paper

Motivation

Strong subadditivity of the von Neumann entropy is the basic inequality of quantum information theory: most entropy inequalities used in quantum Shannon theory, the data-processing inequality for quantum mutual information, and many capacity converses rest on it (Nielsen–Chuang, ch. 11). This mission formalizes the route to it presented by M. A. Nielsen and D. Petz in A simple proof of the strong subadditivity inequality (arXiv:quant-ph/0408130v3), an expository account of Petz's proof through the relative modular operator and the operator convexity of −ln⁡-\ln−ln.

Timeline.

  • 1973: Lieb proves the concavity theorems (Adv. Math. 11); Lieb and Ruskai derive strong subadditivity from them (J. Math. Phys. 14).
  • 1975: Lindblad proves monotonicity of the relative entropy under completely positive maps, after strong subadditivity (Commun. Math. Phys. 40).
  • 1985–1986: Narnhofer and Thirring develop a relative-entropy approach (Fizika 17, 1985); independently, Petz gives the modular-operator proof that this mission follows (Rep. Math. Phys. 23).
  • 2005: Nielsen and Petz publish the finite-dimensional exposition (Quantum Inf. Comput. 5).

Setting

A finite quantum system AAA has a finite set of basis labels; an operator on AAA is a complex A×AA\times AA×A matrix, and M(A)M(A)M(A) is the space of them. A density matrix is a positive semidefinite matrix of trace 111. Operators on a composite system ABABAB are indexed by pairs (a,b)(a,b)(a,b), and the partial trace tr⁡B\operatorname{tr}_BtrB​ produces the reduced density matrix ρA=tr⁡BρAB\rho_A=\operatorname{tr}_B\rho_{AB}ρA​=trB​ρAB​.

The von Neumann entropy is S(ρ)≡−tr⁡(ρln⁡ρ)S(\rho)\equiv-\operatorname{tr}(\rho\ln\rho)S(ρ)≡−tr(ρlnρ) and the relative entropy is

S(ρ∥σ)≡tr⁡(ρln⁡ρ−ρln⁡σ),(3)S(\rho\|\sigma)\equiv\operatorname{tr}(\rho\ln\rho-\rho\ln\sigma),\tag{3}S(ρ∥σ)≡tr(ρlnρ−ρlnσ),(3)

both with the natural logarithm. IA/dAI_A/d_AIA​/dA​ is the maximally mixed state of AAA, dAd_AdA​ its dimension.

M(A)M(A)M(A) carries the Hilbert–Schmidt inner product ⟨X,Y⟩≡tr⁡(X†Y)\langle X,Y\rangle\equiv\operatorname{tr}(X^\dagger Y)⟨X,Y⟩≡tr(X†Y). For invertible density matrices ρ,σ\rho,\sigmaρ,σ the relative modular operator is the linear map Δ(X)=σXρ−1\Delta(X)=\sigma X\rho^{-1}Δ(X)=σXρ−1 on M(A)M(A)M(A), the product of left multiplication L(X)=σX\mathcal L(X)=\sigma XL(X)=σX and right multiplication R(X)=Xρ−1\mathcal R(X)=X\rho^{-1}R(X)=Xρ−1. It is strictly positive, and ln⁡(Δ)\ln(\Delta)ln(Δ) is defined by diagonalizing Δ\DeltaΔ and taking the logarithm of its eigenvalues. On a composite system, ΔAB\Delta_{AB}ΔAB​ and ΔA\Delta_AΔA​ are built from (ρAB,σAB)(\rho_{AB},\sigma_{AB})(ρAB​,σAB​) and from (ρA,σA)(\rho_A,\sigma_A)(ρA​,σA​). The map U:M(A)→M(AB)\mathcal U:M(A)\to M(AB)U:M(A)→M(AB) is

U(X)≡(XρA−1/2⊗IB) ρAB1/2.\mathcal U(X)\equiv(X\rho_A^{-1/2}\otimes I_B)\,\rho_{AB}^{1/2}.U(X)≡(XρA−1/2​⊗IB​)ρAB1/2​.

Formalization targets

Goal: strong subadditivity (1), p. 1

For every density matrix ρABC\rho_{ABC}ρABC​ of a three-component system,

S(ρABC)+S(ρB)≤S(ρAB)+S(ρBC).S(\rho_{ABC})+S(\rho_B)\le S(\rho_{AB})+S(\rho_{BC}).S(ρABC​)+S(ρB​)≤S(ρAB​)+S(ρBC​).

The goal is the existing Open platform theorem QAlgorithms.Papers.Independent.Gap48.P20.strongSubadditivity, which states 0≤H(CB)+H(RB)−H(B)−H(CRB)0\le H(CB)+H(RB)-H(B)-H(CRB)0≤H(CB)+H(RB)−H(B)−H(CRB) for every density matrix on C×(R×B)C\times(R\times B)C×(R×B). With A↦CA\mapsto CA↦C, C↦RC\mapsto RC↦R this is (1); it uses bits, which differ from nats by the positive factor 1/ln⁡21/\ln21/ln2.

Milestones

  • Lemma 1 (p. 3). f(x)=−ln⁡xf(x)=-\ln xf(x)=−lnx is operator convex. Existing Proved theorem TroppMatrixConcentration.ch8_log_operator_concave.
  • Lemma 2 (p. 3). For fff operator convex and an isometry UUU, f(U†XU)≤U†f(X)Uf(U^\dagger XU)\le U^\dagger f(X)Uf(U†XU)≤U†f(X)U. Existing Proved theorem TroppMatrixConcentration.ch8_jensen_isometric_compression.
  • (7), p. 4. For invertible ρ,σ\rho,\sigmaρ,σ: S(ρ∥σ)=⟨ρ1/2,−ln⁡(Δ)(ρ1/2)⟩S(\rho\|\sigma)=\langle\rho^{1/2},-\ln(\Delta)(\rho^{1/2})\rangleS(ρ∥σ)=⟨ρ1/2,−ln(Δ)(ρ1/2)⟩.
  • Properties (1)–(3) of U\mathcal UU, pp. 4–5. U†ΔABU=ΔA\mathcal U^\dagger\Delta_{AB}\mathcal U=\Delta_AU†ΔAB​U=ΔA​, U(ρA1/2)=ρAB1/2\mathcal U(\rho_A^{1/2})=\rho_{AB}^{1/2}U(ρA1/2​)=ρAB1/2​, U†U=IA\mathcal U^\dagger\mathcal U=\mathcal I_AU†U=IA​, together with the stated adjoint U†(Y)=tr⁡B(YρAB1/2(ρA−1/2⊗IB))\mathcal U^\dagger(Y)=\operatorname{tr}_B(Y\rho_{AB}^{1/2}(\rho_A^{-1/2}\otimes I_B))U†(Y)=trB​(YρAB1/2​(ρA−1/2​⊗IB​)).
  • (4), p. 2. Monotonicity, for invertible ρAB,σAB\rho_{AB},\sigma_{AB}ρAB​,σAB​:
S(ρA∥σA)≤S(ρAB∥σAB).S(\rho_A\|\sigma_A)\le S(\rho_{AB}\|\sigma_{AB}).S(ρA​∥σA​)≤S(ρAB​∥σAB​).
  • (5), p. 2. For every ρAB\rho_{AB}ρAB​: S(B∣A)=ln⁡dB−S(ρAB∥ρA⊗IB/dB)S(B|A)=\ln d_B-S(\rho_{AB}\|\rho_A\otimes I_B/d_B)S(B∣A)=lndB​−S(ρAB​∥ρA​⊗IB​/dB​), with S(B∣A)=S(ρAB)−S(ρA)S(B|A)=S(\rho_{AB})-S(\rho_A)S(B∣A)=S(ρAB​)−S(ρA​). The page prints the denominator as dbd_bdb​; it is dBd_BdB​.
  • (6), p. 2. For invertible ρABC\rho_{ABC}ρABC​:
S(ρAB∥IAdA⊗ρB)≤S(ρABC∥IAdA⊗ρBC).S\Big(\rho_{AB}\Big\|\frac{I_A}{d_A}\otimes\rho_B\Big)\le S\Big(\rho_{ABC}\Big\|\frac{I_A}{d_A}\otimes\rho_{BC}\Big).S(ρAB​​dA​IA​​⊗ρB​)≤S(ρABC​​dA​IA​​⊗ρBC​).

Significance

Strong subadditivity is equivalent to monotonicity of the relative entropy under partial trace, to the nonnegativity of quantum conditional mutual information, and to the data-processing inequality for quantum mutual information. A machine-checked proof makes all of these available to formal developments of quantum Shannon theory, which currently have to assume strong subadditivity.

On the platform the goal has been Open, while the two operator-convexity lemmas of this proof are already Proved in the Tropp matrix-concentration series. This mission supplies the remaining steps of Petz's route as separate targets: the modular-operator formula (7), the isometry U\mathcal UU with its three properties, monotonicity (4) for invertible states, and the identities (5)–(6) that connect monotonicity to strong subadditivity. Each is a known result; none of them, and neither strong subadditivity nor monotonicity of the relative entropy, has a machine-checked proof on the platform.

Difficulty

The density matrices in S(ρ∥σ)S(\rho\|\sigma)S(ρ∥σ) need not commute, so ln⁡ρ−ln⁡σ\ln\rho-\ln\sigmalnρ−lnσ cannot be combined into a single logarithm and the classical argument (apply ln⁡x≤x−1\ln x\le x-1lnx≤x−1 to a ratio of marginals) has no direct quantum analogue. Operator monotonicity or convexity of ln⁡\lnln on M(A)M(A)M(A) alone does not compare quantities living on M(A)M(A)M(A) and on M(AB)M(AB)M(AB); what is needed is a single operator on each space whose logarithm encodes the relative entropy, and a map between the spaces that intertwines those operators. Verifying the intertwining identities requires explicit computations with partial traces, Kronecker products and functional-calculus square roots in a vectorized picture of linear maps on matrices. The extension from invertible to arbitrary states is a continuity argument that the paper omits.

Formalization scope

  • Systems. Finite nonempty types in Type; bipartite operators are Matrix (A × B) (A × B) ℂ (Mathlib's ⊗ₖ order), tripartite ones Matrix (A × (B × C)) (A × (B × C)) ℂ. Density matrices are QAlgorithms.IsDensityMatrix (PSD, trace 1); "invertible" is PosDef. Partial traces are the published WildeQIT.partialTraceRight / partialTraceLeft; tr⁡C\operatorname{tr}_CtrC​ on triples is defined locally.
  • Logarithms are natural, via TroppMatrixConcentration.matrixLog (cfc Real.log, so ln⁡0=0\ln0=0ln0=0 on kernels); square roots via ch8_matrixFunction. The relative entropy is real-valued and every statement applies it only to pairs where the paper's value is finite.
  • Vectorization. A matrix XXX is identified with (Xij)(i,j)(X_{ij})_{(i,j)}(Xij​)(i,j)​ in row-major order, so ⟨X,Y⟩\langle X,Y\rangle⟨X,Y⟩ is the standard inner product and a linear map on M(A)M(A)M(A) is a matrix on CA×A\mathbb C^{A\times A}CA×A. Then Δ=σ⊗(ρ−1)T\Delta=\sigma\otimes(\rho^{-1})^TΔ=σ⊗(ρ−1)T (Kronecker), ln⁡(Δ)\ln(\Delta)ln(Δ) is its functional-calculus logarithm, and U\mathcal UU is the matrix whose column (a,a′)(a,a')(a,a′) is vec⁡ U(Eaa′)\operatorname{vec}\,\mathcal U(E_{aa'})vecU(Eaa′​), so U†\mathcal U^\daggerU† is its conjugate transpose.
  • Invertibility. (4), (6), (7) and the properties of U\mathcal UU assume invertible states: this is the paper's own §3 assumption (p. 3). The continuity argument to general states is omitted by the paper and is not a milestone; the general case is the goal itself.
  • Ruled out. ln⁡(Δ)\ln(\Delta)ln(Δ) is never defined as ln⁡L+ln⁡R\ln\mathcal L+\ln\mathcal RlnL+lnR, the relative entropy is never defined through (7), U\mathcal UU is the specific map above and not an arbitrary isometry with the properties assumed, and (4), (6) are not stated for σ=ρ\sigma=\rhoσ=ρ or with a free real in place of S(⋅∥⋅)S(\cdot\|\cdot)S(⋅∥⋅).
  • Reused layers. TroppMatrixConcentration_ch8_entropy (functional calculus, operator convexity, matrixLog, Löwner order), WildeQIT_partialTrace, QAlgorithms_Defs_Information. Reindexing Lemma 1 (stated on Fin d) to A × A-indexed matrices is proof work, as is the bridge from nats to the goal's bits. Contributions of general lemmas on Kronecker products, partial traces and the functional calculus of Kronecker matrices are reusable beyond this mission.

Selected references

  • M. A. Nielsen, D. Petz, A simple proof of the strong subadditivity inequality, Quantum Inf. Comput. 5 (2005) 507–513. arXiv:quant-ph/0408130v3
  • D. Petz, Quasi-entropies for finite quantum systems, Rep. Math. Phys. 23 (1986) 57–65. doi:10.1016/0034-4877(86)90067-4
  • E. H. Lieb, M. B. Ruskai, Proof of the strong subadditivity of quantum-mechanical entropy, J. Math. Phys. 14 (1973) 1938–1941. doi:10.1063/1.1666274
  • E. H. Lieb, Convex trace functions and the Wigner–Yanase–Dyson conjecture, Adv. Math. 11 (1973) 267–288. doi:10.1016/0001-8708(73)90011-X
  • G. Lindblad, Completely positive maps and entropy inequalities, Commun. Math. Phys. 40 (1975) 147–151. doi:10.1007/BF01609396
  • M. A. Nielsen, I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2000 (10th anniversary ed. 2010). doi:10.1017/CBO9780511976667
15 thms6 active usersReviewed
🏆Completed
OptimizationProbabilityStatistics·Captain: mikedeng1

Distributionally Robust Optimization: A Review: Variation²/4 ≤ Hellinger ≤ Kullback–Leibler ≤ J-Divergence, so the J, KL and Hellinger Balls of Radius ε Lie in the Variation Ball of Radius 2√εResearch Paper

Motivation

Distributionally robust optimization evaluates a decision against a set of plausible probability laws rather than against a single estimated law. A common way to specify that set is to choose a nominal law P0P_0P0​ and allow every law PPP whose discrepancy from P0P_0P0​ is below a radius ε\varepsilonε. Different discrepancies produce different ambiguity sets, so comparing them tells a modeler what one constraint guarantees about another. Rahimian and Mehrotra collect such constructions in their survey and state a chain of comparisons among variation, Hellinger, Kullback–Leibler, and J-divergences in Lemma 5.4 (arXiv:1908.05659v1, pp. 31, 34–35). The chain connects four common ways of controlling model error without requiring a finite outcome space or a common density chosen in advance.

The source is the 2019 arXiv v1 preprint of a survey. Its proof of Lemma 5.4 cites earlier work rather than giving a full derivation. The preprint also prints an additional J-to-χ2\chi^2χ2 comparison that is false; this mission isolates the part that holds for every pair of probability measures. The distinction matters when an ambiguity set is used to certify a bound under a different divergence: an inclusion based on the false link can certify laws that are outside the intended set.

Setting

Let (Ξ,F)(\Xi,\mathcal F)(Ξ,F) be a measurable space, and let M(Ξ,F)\mathfrak M(\Xi,\mathcal F)M(Ξ,F) be its probability measures. Given P1,P2∈M(Ξ,F)P_1,P_2\in\mathfrak M(\Xi,\mathcal F)P1​,P2​∈M(Ξ,F), a ϕ\phiϕ-divergence Dϕ(P1,P2)\mathfrak D^\phi(P_1,P_2)Dϕ(P1​,P2​) compares their densities using a function ϕ:[0,∞)→[0,∞]\phi:[0,\infty)\to[0,\infty]ϕ:[0,∞)→[0,∞] with ϕ(1)=0\phi(1)=0ϕ(1)=0. The paper assumes ϕ\phiϕ is convex. To account for measures that are not mutually absolutely continuous, take the common dominating measure ν=P1+P2\nu=P_1+P_2ν=P1​+P2​ and write p=dP1/dνp=dP_1/d\nup=dP1​/dν and q=dP2/dνq=dP_2/d\nuq=dP2​/dν. The integrand is qϕ(p/q)q\phi(p/q)qϕ(p/q) when q>0q>0q>0 and pϕ′(∞)p\phi'(\infty)pϕ′(∞) when q=0q=0q=0, where ϕ′(∞)=lim⁡t→∞ϕ(t)/t\phi'(\infty)=\lim_{t\to\infty}\phi(t)/tϕ′(∞)=limt→∞​ϕ(t)/t; a point with p=q=0p=q=0p=q=0 contributes zero (§5.1.2, p. 31).

Table 1 gives four generators used here:

ϕv(t)=∣t−1∣,ϕh(t)=(t−1)2,ϕkl(t)=tlog⁡t−t+1,ϕj(t)=(t−1)log⁡t.\phi_v(t)=|t-1|,\qquad \phi_h(t)=(\sqrt t-1)^2,\qquad \phi_{\mathrm{kl}}(t)=t\log t-t+1,\qquad \phi_j(t)=(t-1)\log t.ϕv​(t)=∣t−1∣,ϕh​(t)=(t​−1)2,ϕkl​(t)=tlogt−t+1,ϕj​(t)=(t−1)logt.

The first two divergences are the full L1L^1L1 variation discrepancy and the unhalved squared Hellinger discrepancy. In particular, Dϕv=2dTV\mathfrak D^{\phi_v}=2d_{\mathrm{TV}}Dϕv​=2dTV​, where dTVd_{\mathrm{TV}}dTV​ is the total variation distance defined later in the paper. The J generator has ϕj(0)=+∞\phi_j(0)=+\inftyϕj​(0)=+∞, understood as its limit at zero; ϕkl(0)=1\phi_{\mathrm{kl}}(0)=1ϕkl​(0)=1 under 0log⁡0=00\log0=00log0=0. The recession slopes of the four generators, in the displayed order, are 1,1,+∞,+∞1,1,+\infty,+\infty1,1,+∞,+∞ (Table 1, p. 31; §5.1.3, p. 35).

For a nominal probability measure P0P_0P0​ and a nonnegative radius ε\varepsilonε, equation (5.9) defines the ambiguity ball

Pϕ(P0;ε)={P∈M(Ξ,F):Dϕ(P,P0)≤ε}.\mathcal P^\phi(P_0;\varepsilon) =\{P\in\mathfrak M(\Xi,\mathcal F):\mathfrak D^\phi(P,P_0)\le\varepsilon\}.Pϕ(P0​;ε)={P∈M(Ξ,F):Dϕ(P,P0​)≤ε}.

Formalization targets

The three milestone comparisons are the valid initial part of (5.10), for every P,P0∈M(Ξ,F)P,P_0\in\mathfrak M(\Xi,\mathcal F)P,P0​∈M(Ξ,F):

14(Dϕv(P,P0))2≤Dϕh(P,P0)≤Dϕkl(P,P0)≤Dϕj(P,P0).\frac14\bigl(\mathfrak D^{\phi_v}(P,P_0)\bigr)^2 \le\mathfrak D^{\phi_h}(P,P_0) \le\mathfrak D^{\phi_{\mathrm{kl}}}(P,P_0) \le\mathfrak D^{\phi_j}(P,P_0).41​(Dϕv​(P,P0​))2≤Dϕh​(P,P0​)≤Dϕkl​(P,P0​)≤Dϕj​(P,P0​).

The middle comparison is also stated in footnote 18. The mission goal is the corrected Lemma 5.4: it joins these three comparisons to the resulting valid part of (5.11), for every nominal P0P_0P0​ and radius ε\varepsilonε:

Pϕj(P0;ε)⊆Pϕkl(P0;ε)⊆Pϕh(P0;ε)⊆Pϕv(P0;2ε).\mathcal P^{\phi_j}(P_0;\varepsilon) \subseteq\mathcal P^{\phi_{\mathrm{kl}}}(P_0;\varepsilon) \subseteq\mathcal P^{\phi_h}(P_0;\varepsilon) \subseteq\mathcal P^{\phi_v}(P_0;2\sqrt\varepsilon).Pϕj​(P0​;ε)⊆Pϕkl​(P0​;ε)⊆Pϕh​(P0​;ε)⊆Pϕv​(P0​;2ε​).

Each inclusion has the direction induced by the preceding divergence inequality: a stronger divergence constraint gives a smaller ball. The first comparison retains the paper's factor 1/41/41/4, and the final ball retains its radius 2ε2\sqrt\varepsilon2ε​ (Lemma 5.4, p. 34).

Significance

The result allows a J-divergence or KL-divergence ambiguity model to carry a simultaneous bound in Hellinger and full variation divergence. A Hellinger radius ε\varepsilonε yields the explicit variation radius 2ε2\sqrt\varepsilon2ε​; this makes the scale change visible when comparing two models built with different discrepancies. Without a general-measure statement, a finite-outcome approximation does not itself cover continuous laws or pairs with a singular component.

The paper presents the inequalities as known and cites sources for them. A finite-alphabet TV–Hellinger–KL chain and a general-measure KL–affinity bound already have machine-checked results in the platform catalog. The work here is to formalize the four generators with one shared general-measure divergence, close the remaining inequalities in that representation, and connect them to the ambiguity-ball inclusions. This also provides reusable definitions for other distributionally robust models that use the same divergence convention.

Difficulty

Writing the density ratio only with respect to P0P_0P0​ loses the part of PPP singular to P0P_0P0​. That would change both variation and Hellinger divergence and make the stated chain an unreliable comparison of the paper's objects. At the opposite boundary, PPP can vanish on a set that P0P_0P0​ charges. There the J generator must be infinite, although a direct use of a total real logarithm at zero can assign it an incorrect finite value. These two edge cases make an apparently routine pointwise comparison insufficient for the full measurable-space theorem.

Formalization scope

Lean represents PPP and P0P_0P0​ as ProbabilityMeasure Ξ on an arbitrary MeasurableSpace Ξ. It computes Radon–Nikodym densities relative to P+P0P+P_0P+P0​, evaluates the divergence with an extended nonnegative Lebesgue integral, and represents both divergence values and radii in ENNReal. The generic definition computes the recession slope as a limsup; for the four Table 1 generators this is the limit in the paper. The formal ambiguity ball contains probability measures only. A top radius is allowed by the type; the finite nonnegative radii are the paper's intended model parameters. The generic operation does not take a convexity certificate, but the four named generators are the only ones used in the theorem.

The formalization must not turn a nondominated pair into divergence zero or assign ϕj(0)=0\phi_j(0)=0ϕj​(0)=0: either choice changes the claimed chain. It must also retain the full variation divergence, without the half factor used for total variation distance. The definitions of the common-measure divergence, its four generators, and the ambiguity ball are intended for reuse. Contributions establishing properties of the recession slopes, comparison lemmas on arbitrary measurable spaces, and their ambiguity-set consequences are within scope.

The paper's final inequality in (5.10), Dϕj≤Dϕca2\mathfrak D^{\phi_j}\le\mathfrak D^{\phi_{\mathrm{ca}^2}}Dϕj​≤Dϕca2​, and the associated first inclusion in (5.11) are removed. They are false even on a two-point space: with P0=(1/2,1/2)P_0=(1/2,1/2)P0​=(1/2,1/2) and P=(0,1)P=(0,1)P=(0,1), J-divergence is +∞+\infty+∞ while the order-two χ\chiχ-divergence is 111. Thus PPP lies in the latter ball of radius 111 but outside the J ball of that radius. The source's footnote 18 separately notes an error in a cited Hellinger–KL comparison; the corrected Hellinger–KL inequality is retained (pp. 34–35).

Selected references

  • H. Rahimian and S. Mehrotra, Distributionally Robust Optimization: A Review, arXiv preprint arXiv:1908.05659v1, 2019. Preprint.
10 thms6 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningStatistics·Captain: mikedeng1

Explore First, Exploit Next: The True Shape of Regret in Bandit Problems I: Expected Draws Weighted by Arm Divergences Dominate the Binary Divergence of the Means of Any [0,1]-Valued StatisticResearch Paper

Motivation

Lower bounds on the regret of stochastic multi-armed bandit strategies say how often any reasonable strategy must sample an arm that is not the best one. They are the benchmark against which upper bounds for UCB, KL-UCB and Thompson sampling are judged optimal. The classical bounds of Lai and Robbins (1985) and Burnetas and Katehakis (1996) were proved by changes of measure on carefully chosen events, combined with Markov–Chernoff estimates of their probabilities.

Garivier, Ménard and Stoltz (arXiv:1602.07182v3), published in Mathematics of Operations Research in 2019, replace those arguments with one inequality, which they call the fundamental inequality of their article, inequality (6), p. 6. Every lower bound in the paper follows from it: the asymptotic Lai–Robbins / Burnetas–Katehakis bound for an arbitrary model (Theorem 1), the non-asymptotic bounds for small horizons (Theorems 2–4), and the non-asymptotic logarithmic bound for large horizons (Theorem 5). The same inequality, in the form of Lemma 1 of Kaufmann, Cappé and Garivier (2016), underlies lower bounds for best-arm identification. This mission formalizes the inequality and the lemma that carries its proof.

Setting

A bandit problem with KKK arms is a family ν‾=(νa)a=1,…,K\underline\nu=(\nu_a)_{a=1,\dots,K}ν​=(νa​)a=1,…,K​ of probability distributions on R\mathbb RR, each with a finite expectation. A strategy ψ\psiψ plays for TTT rounds. In round t+1t+1t+1 it picks an arm At+1A_{t+1}At+1​ as a measurable function of It=(U0,Y1,U1,…,Yt,Ut)I_t=(U_0,Y_1,U_1,\dots,Y_t,U_t)It​=(U0​,Y1​,U1​,…,Yt​,Ut​), where the UtU_tUt​ are independent uniforms on [0,1][0,1][0,1]. It then observes a reward Yt+1Y_{t+1}Yt+1​ drawn from νAt+1\nu_{A_{t+1}}νAt+1​​ and a fresh independent uniform Ut+1U_{t+1}Ut+1​. The strategy together with the problem determines the law Pν‾\mathbb P_{\underline\nu}Pν​​ of ITI_TIT​; Eν‾\mathbb E_{\underline\nu}Eν​​ is its expectation. The number of draws of arm aaa is

Nψ,a(T)=∑t=1TI{At=a}.N_{\psi,a}(T)=\sum_{t=1}^T\mathbb I\{A_t=a\}.Nψ,a​(T)=t=1∑T​I{At​=a}.

KL(P,Q)∈[0,+∞]\mathrm{KL}(P,Q)\in[0,+\infty]KL(P,Q)∈[0,+∞] is the Kullback–Leibler divergence between two probability measures: ∫ln⁡dPdQ dP\int\ln\frac{\mathrm dP}{\mathrm dQ}\,\mathrm dP∫lndQdP​dP when PPP is absolutely continuous with respect to QQQ and the integral exists, and +∞+\infty+∞ otherwise. The binary divergence kl(p,q)\mathrm{kl}(p,q)kl(p,q), for p,q∈[0,1]p,q\in[0,1]p,q∈[0,1], is the Kullback–Leibler divergence between the Bernoulli distributions of parameters ppp and qqq. For q∈(0,1)q\in(0,1)q∈(0,1) it is given by (5):

kl(p,q)=pln⁡pq+(1−p)ln⁡1−p1−q.\mathrm{kl}(p,q)=p\ln\frac pq+(1-p)\ln\frac{1-p}{1-q}.kl(p,q)=plnqp​+(1−p)ln1−q1−p​.

It equals +∞+\infty+∞ for q∈{0,1}q\in\{0,1\}q∈{0,1} and p≠qp\ne qp=q.

The Lean development builds on the published StochasticBandit K, which holds the arm laws ν.P a. The local FullStrategy K implements the paper's measurable strategy on ItI_tIt​; fullHistoryMeasure ν ψ T is the law of ITI_TIT​, fullPullCount ψ a is Nψ,a(T)N_{\psi,a}(T)Nψ,a​(T), and fullExpPulls ν ψ T a is its expectation. The published BanditPolicy K describes the observed-history kernel model used by the two referenced chain-rule results. The shared definitions supply the Bernoulli law and klBer p q for kl(p,q)\mathrm{kl}(p,q)kl(p,q).

Formalization targets

Goal: the fundamental inequality (6), p. 6

For every strategy ψ\psiψ, every pair of bandit problems ν‾,ν‾′\underline\nu,\underline\nu'ν​,ν​′, every horizon TTT, and every σ(IT)\sigma(I_T)σ(IT​)-measurable statistic ZZZ with values in [0,1][0,1][0,1]:

∑a=1KEν‾[Nψ,a(T)] KL(νa,νa′) ≥ kl(Eν‾[Z], Eν‾′[Z]),\sum_{a=1}^K\mathbb E_{\underline\nu}\big[N_{\psi,a}(T)\big]\,\mathrm{KL}(\nu_a,\nu'_a)\ \ge\ \mathrm{kl}\big(\mathbb E_{\underline\nu}[Z],\ \mathbb E_{\underline\nu'}[Z]\big),a=1∑K​Eν​​[Nψ,a​(T)]KL(νa​,νa′​) ≥ kl(Eν​​[Z], Eν​′​[Z]),

in [0,+∞][0,+\infty][0,+∞], with 0⋅(+∞)=00\cdot(+\infty)=00⋅(+∞)=0. The arm laws have the finite expectations required in §1.1; their divergences may be infinite.

Milestones, in the order of the proof (§2.1, pp. 7–8)

  1. (9), p. 7: the one-round chain rule. Under finite arm divergences, the divergence between the observed-history laws after round t+1t+1t+1 is the divergence after round ttt plus Eν‾[∑aKL(νa,νa′) I{At+1=a}]\mathbb E_{\underline\nu}\big[\sum_a\mathrm{KL}(\nu_a,\nu'_a)\,\mathbb I\{A_{t+1}=a\}\big]Eν​​[∑a​KL(νa​,νa′​)I{At+1​=a}]. The observed-history kernel version is proved on the platform.
  2. Equality in (8), p. 7: ∑aEν‾[Nψ,a(T)] KL(νa,νa′)=KL(Pν‾IT,Pν‾′IT)\sum_a\mathbb E_{\underline\nu}[N_{\psi,a}(T)]\,\mathrm{KL}(\nu_a,\nu'_a)=\mathrm{KL}(\mathbb P_{\underline\nu}^{I_T},\mathbb P_{\underline\nu'}^{I_T})∑a​Eν​​[Nψ,a​(T)]KL(νa​,νa′​)=KL(Pν​IT​​,Pν​′IT​​). The platform has the observed-history kernel version under finite arm divergences; relating it to the full information law is part of the goal's work.
  3. Lemma 1, first display, p. 8: KL(P1,P2)=KL(P1⊗λ,P2⊗λ)\mathrm{KL}(\mathbb P_1,\mathbb P_2)=\mathrm{KL}(\mathbb P_1\otimes\lambda,\mathbb P_2\otimes\lambda)KL(P1​,P2​)=KL(P1​⊗λ,P2​⊗λ), with λ\lambdaλ the Lebesgue measure on [0,1][0,1][0,1].
  4. Lemma 1, second display, p. 8: KL(P1,P2)≥kl((P1⊗λ)(E),(P2⊗λ)(E))\mathrm{KL}(\mathbb P_1,\mathbb P_2)\ge\mathrm{kl}\big((\mathbb P_1\otimes\lambda)(E),(\mathbb P_2\otimes\lambda)(E)\big)KL(P1​,P2​)≥kl((P1​⊗λ)(E),(P2​⊗λ)(E)) for every measurable E⊆Γ×[0,1]E\subseteq\Gamma\times[0,1]E⊆Γ×[0,1].
  5. Lemma 1, last display, p. 8: (P⊗λ){(γ,x):x≤Z(γ)}=E[Z](\mathbb P\otimes\lambda)\{(\gamma,x):x\le Z(\gamma)\}=\mathbb E[Z](P⊗λ){(γ,x):x≤Z(γ)}=E[Z].
  6. Lemma 1, p. 8: for probability measures P1,P2\mathbb P_1,\mathbb P_2P1​,P2​ on any measurable space and any measurable ZZZ with values in [0,1][0,1][0,1], KL(P1,P2)≥kl(E1[Z],E2[Z])\mathrm{KL}(\mathbb P_1,\mathbb P_2)\ge\mathrm{kl}(\mathbb E_1[Z],\mathbb E_2[Z])KL(P1​,P2​)≥kl(E1​[Z],E2​[Z]).

Significance

The result. Inequality (6) turns a lower bound on the number of draws into a choice of an alternative problem ν‾′\underline\nu'ν​′ and a statistic ZZZ, usually Z=Nψ,a(T)/TZ=N_{\psi,a}(T)/TZ=Nψ,a​(T)/T. The binary divergence then contains expected numbers of draws directly, and no event or concentration estimate is needed. In the paper this gives a few-line proof of the Lai–Robbins / Burnetas–Katehakis bound lim inf⁡TE[Nψ,a(T)]/ln⁡T≥1/Kinf⁡\liminf_T\mathbb E[N_{\psi,a}(T)]/\ln T\ge 1/\mathcal K_{\inf}liminfT​E[Nψ,a​(T)]/lnT≥1/Kinf​ for any model. It also gives the non-asymptotic bounds showing that the regret grows almost linearly while TTT is below a divergence-determined threshold. Each of these is a separate mission of this series, and each applies (6) once.

The formalization. The paper calls the equality in (8) standard and re-proves it for completeness; the inequality half, Lemma 1, is its own contribution. Observed-history kernel versions of the equality in (8) and the one-round step (9) are already formalized on the platform, under the hypothesis that every arm divergence is finite. Lemma 1 and the full-information inequality (6) itself are proved in the paper but not formalized. A machine-checked (6), stated with no divergence-finiteness hypothesis, would make every downstream lower bound in the series a matter of calculus with the binary divergence.

Difficulty

Two points need care. First, Lemma 1 is stated for an arbitrary [0,1][0,1][0,1]-valued ZZZ. The data-processing inequality only gives it directly for indicators of events, and pushing Pj\mathbb P_jPj​ forward by ZZZ gives a law on [0,1][0,1][0,1], not a Bernoulli law. The paper's route enlarges the space by an independent uniform variable, which needs the product with Lebesgue measure, the invariance of the divergence under that product, and Tonelli's theorem. Second, the goal has no finiteness hypothesis on the arm divergences, while the published chain-rule results assume it. When KL(νa,νa′)=+∞\mathrm{KL}(\nu_a,\nu'_a)=+\inftyKL(νa​,νa′​)=+∞ for an arm that is drawn with positive probability, the left side is +∞+\infty+∞ and there is nothing to prove. When such an arm is never drawn, its term is 0⋅(+∞)=00\cdot(+\infty)=00⋅(+∞)=0. The divergence between the history laws must then be shown to be finite and equal to the remaining sum, which the published decomposition does not cover.

Formalization scope

  • Arms are Fin K, indexed from 000. The horizon TTT is a natural number; at T=0T=0T=0 both sides are 000. For K=0K=0K=0 no policy exists, so K≥1K\ge1K≥1 needs no hypothesis.
  • Strategies are FullStrategy K, measurable functions of the paper's ItI_tIt​. The same strategy runs under ν‾\underline\nuν​ and ν‾′\underline\nu'ν​′. The local history law includes every auxiliary uniform, so ZZZ may depend on any of them.
  • Both bandit problems satisfy Integrable id for each arm, expressing §1.1's finite-expectation condition. The published StochasticBandit structure supplies only the probability-law condition.
  • The binary divergence is the [0,+∞][0,+\infty][0,+∞]-valued Kullback–Leibler divergence of two Bernoulli laws, klBer, never a real formula. A real formula would return a finite junk value at q∈{0,1}q\in\{0,1\}q∈{0,1}, where (5) is +∞+\infty+∞, and would make the goal trivially true there. A version with a finiteness hypothesis on the arm divergences, or with a real-valued binary divergence restricted to q∈(0,1)q\in(0,1)q∈(0,1), would be a weaker theorem and is not the target.
  • In Lemma 1 and its displays, the "distributions" are probability measures on an arbitrary measurable space. λ\lambdaλ is the volume on Mathlib's unitInterval. ZZZ is real-valued and measurable, with values in [0,1][0,1][0,1].
  • Builds on the published definitions StochasticBandit and BanditPolicy and on Mathlib's InformationTheory.klDiv. The goal uses a local explicit auxiliary-uniform strategy; the published chain-rule references use observed-history kernel policies and are related proof tools. Other tools are data processing (klDiv_map_le), the chain rule for klDiv and composition products, and Tonelli. The tensorization identity for products of probability measures is Proved on the platform as Tensorization.klDiv_prod_eq_add. Lemma 1 is reusable well beyond bandits, wherever a divergence must be compared with the means of a bounded statistic. Proofs of the milestones, and an extension of the chain rule to infinite arm divergences, are welcome.

Selected references

  • A. Garivier, P. Ménard, G. Stoltz, Explore First, Exploit Next: The True Shape of Regret in Bandit Problems, Mathematics of Operations Research 44(2), 2019; arXiv:1602.07182v3. https://arxiv.org/abs/1602.07182v3, https://doi.org/10.1287/moor.2017.0928
  • T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Advances in Applied Mathematics 6, 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • A. N. Burnetas, M. N. Katehakis, Optimal adaptive policies for sequential allocation problems, Advances in Applied Mathematics 17, 1996. https://doi.org/10.1006/aama.1996.0007
  • E. Kaufmann, O. Cappé, A. Garivier, On the complexity of best-arm identification in multi-armed bandit models, Journal of Machine Learning Research 17, 2016. https://jmlr.org/papers/v17/kaufman16a.html
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
11 thms6 active usersReviewed
🏆Completed
Machine LearningProbability·Captain: iris

Quantifying and Visualizing Attribute Interactions: interaction information satisfies McGill's recursion and decomposes total correlation, which vanishes exactly under mutual independenceResearch Paper

Why interaction information

Mutual information measures how much two attributes of a data set depend on each other. A pair of numbers does not describe three attributes. In the exclusive or, C=A+B(mod2)C=A+B \pmod 2C=A+B(mod2), each pair is independent while the triple is fully determined. A triplicated attribute, A=B=CA=B=CA=B=C, is the opposite case: every pair is fully dependent, and given one attribute the other two carry no further information. Classifiers and feature-selection methods behave differently in the two cases, so machine learning needs a quantity that tells them apart.

Interaction information is that quantity. A. Jakulin and I. Bratko, in Quantifying and Visualizing Attribute Interactions (arXiv:cs/0308002v3), survey it, draw it, and use it in supervised learning. Their mathematical core is §2.4, which generalizes the three-attribute calculus to any number of attributes and relates interaction information to total correlation.

  • 1948: Shannon introduces entropy and the rate of transmission (Shannon).
  • 1954: McGill defines multivariate transmission, with the formulas for three and four variables (McGill).
  • 1960: Watanabe defines total correlation (Watanabe).
  • 1980: Han studies multiple mutual information through the lattice of subsets (Han).
  • 1991: Yeung gives the set-theoretic I-measure (Yeung).
  • 2003: Jakulin and Bratko state the kkk-way identities used here and build diagrams on them.

The paper has no labelled theorem. Its displays (10) and (11), with the sign statement after Eq. (6), are the mission's goal.

Setting

Let A={X1,…,Xn}\mathcal A=\{X_1,\dots,X_n\}A={X1​,…,Xn​} be a finite set of attributes, each with a finite alphabet ℜX\Re_XℜX​. A law is a function PPP on ℜA=ℜX1×⋯×ℜXn\Re_{\mathcal A}=\Re_{X_1}\times\dots\times\Re_{X_n}ℜA​=ℜX1​​×⋯×ℜXn​​ with P≥0P\ge 0P≥0 and ∑aP(a)=1\sum_{\mathbf a}P(\mathbf a)=1∑a​P(a)=1. For S⊆A\mathcal S\subseteq\mathcal AS⊆A and an assignment s\mathbf ss of S\mathcal SS, the marginal P(s)P(\mathbf s)P(s) sums PPP over the full assignments that agree with s\mathbf ss. The entropy, in bits, is

H(S)=−∑vP(v)log⁡2P(v),0log⁡20=0.H(\mathcal S)=-\sum_{\mathbf v}P(\mathbf v)\log_2P(\mathbf v),\qquad 0\log_20=0.H(S)=−v∑​P(v)log2​P(v),0log2​0=0.

The interaction information and the total correlation of S\mathcal SS are

I(S)=−∑T⊆S(−1)∣S∣−∣T∣H(T),C(S)=∑X∈SH(X)−H(S).I(\mathcal S)=-\sum_{\mathcal T\subseteq\mathcal S}(-1)^{|\mathcal S|-|\mathcal T|}H(\mathcal T),\qquad C(\mathcal S)=\sum_{X\in\mathcal S}H(X)-H(\mathcal S).I(S)=−T⊆S∑​(−1)∣S∣−∣T∣H(T),C(S)=X∈S∑​H(X)−H(S).

This is McGill's sign: I({A,B})I(\{A,B\})I({A,B}) is the mutual information, the exclusive or has I=1I=1I=1 and a triplicated bit has I=−1I=-1I=−1.

The conditional interaction information I(R∣X)I(\mathcal R\mid X)I(R∣X) is the average over the values xxx of XXX, with weights P(x)P(x)P(x), of I(R)I(\mathcal R)I(R) computed under the conditional law given X=xX=xX=x.

Formalization targets

Goal

For every finite family of finite attributes, every law PPP and every S\mathcal SS:

C(S)=∑T⊆S, ∣T∣≥2I(T),(a)C(\mathcal S)=\sum_{\mathcal T\subseteq\mathcal S,\ |\mathcal T|\ge2}I(\mathcal T),\tag{a}C(S)=T⊆S, ∣T∣≥2∑​I(T),(a) I(S)=I(S∖X∣X)−I(S∖X)for ∣S∣≥2, X∈S,(b)I(\mathcal S)=I(\mathcal S\setminus X\mid X)-I(\mathcal S\setminus X)\quad\text{for }|\mathcal S|\ge2,\ X\in\mathcal S,\tag{b}I(S)=I(S∖X∣X)−I(S∖X)for ∣S∣≥2, X∈S,(b) C(S)≥0,  and  C(S)=0  ⟺  P(s)=∏X∈SP(sX)  for all s.(c)C(\mathcal S)\ge0,\ \text{ and }\ C(\mathcal S)=0\iff P(\mathbf s)=\prod_{X\in\mathcal S}P(s_X)\ \text{ for all }\mathbf s.\tag{c}C(S)≥0,  and  C(S)=0⟺P(s)=X∈S∏​P(sX​)  for all s.(c)

Eq. (10) of the paper is printed for all kkk and is false at k=1k=1k=1: for a fair bit XXX, I({X})=−1I(\{X\})=-1I({X})=−1 while I(∅∣X)−I(∅)=0I(\emptyset\mid X)-I(\emptyset)=0I(∅∣X)−I(∅)=0. The paper's kkk-way interactions start at 222, and clause (b) carries that hypothesis. The paper prints the sign clause for two and three attributes; clause (c) states it for every S\mathcal SS.

Milestones

In proof order: the sum forms of conditional entropy, mutual information and conditional mutual information, Eqs. (2)–(4), with their signs and the independence criterion for pairs; the forms and the symmetry of I(A;B;C)I(A;B;C)I(A;B;C), Eq. (5); the decomposition, sign and independence criterion for three attributes, Eq. (6); the entropy form of I(R∣X)I(\mathcal R\mid X)I(R∣X); and the inversion H(S)=−∑∅≠T⊆SI(T)H(\mathcal S)=-\sum_{\emptyset\ne\mathcal T\subseteq\mathcal S}I(\mathcal T)H(S)=−∑∅=T⊆S​I(T) of §3.1.

Significance

The decomposition says that the kkk-way dependence measured by total correlation is the sum of interactions among at most kkk attributes, which is the basis for reading interaction information as a breakdown of dependence. The sign clause says that total correlation detects dependence exactly: it vanishes for mutually independent attributes and for no others. The recursion is what lets conditional and unconditional interactions be compared, which is how the paper separates synergy from redundancy.

All three facts are classical on paper. On the platform, a search found no classical interaction information or total correlation; related items are quantum, restricted to a uniform sample space, or to one common alphabet. A completed mission adds Shannon entropy indexed by subsets of an arbitrary finite family, for an arbitrary finite law, together with the independence criterion in both directions. The measure-theoretic Lean development of the PFR project treats entropy and conditional mutual information of random variables; the definitions here are elementary finite sums on subsets of attributes.

Difficulty

Clause (a) is sign bookkeeping on the subset lattice once Eq. (10) is the definition of III. Clause (b) cannot be read off the definition, because I(R∣X)I(\mathcal R\mid X)I(R∣X) is an average over conditional laws: the entropies of these laws must first be turned into differences of joint entropies, and the alternating sum then needs the hypothesis ∣S∣≥2|\mathcal S|\ge2∣S∣≥2. Clause (c) is the analytic part. The inequality is the easy half. The equality case must produce the factorization at every assignment, including those of mass zero, for arbitrarily many attributes, and a statement restricted to fully supported laws would miss it. Pairwise independence does not suffice, as the exclusive or shows, so an argument that only examines pairs fails.

Formalization scope

Laws are real weight functions P : (∀ i, α i) → ℝ with the predicate IsLaw, over a Fintype index ι and alphabets α i that may differ. Zero masses are allowed and n=0n=0n=0 is allowed. Subsets are Finset ι, and an assignment of S is a function on the subtype ↥S. Logarithms are Real.logb 2, so that 0log⁡20=00\log_20=00log2​0=0 holds by the library convention. I and C are the first forms of Eqs. (10) and (11). The conditional object condI is the average over condLaw, never the entropy expression: that expression is a milestone, and with it as a definition clause (b) would be trivial. For the same reason H is the entropy of the marginals of one law, not an abstract set function. Clause (c) needs IsLaw.

The definitions of Eqs. (2)–(4) work with groups of attributes, because the paper uses I(A,B;C)I(A,B;C)I(A,B;C) and H(A∣B,C)H(A\mid B,C)H(A∣B,C). They are reusable beyond this mission. gibbs_inequality is included as a tool; its equality case is not stated there. Two published results on finite weights, OAI.EntropyRateDimension.FiniteEntropy.conditionalEntropy_eq_sum and …conditionalEntropy_condition_le, are in nats and may also be useful. Contributions proving any milestone, or general finite-entropy lemmas, are welcome.

Selected references

  • A. Jakulin, I. Bratko, Quantifying and Visualizing Attribute Interactions: An Approach Based on Entropy, arXiv preprint, v3, 2004. https://arxiv.org/abs/cs/0308002v3
  • W. J. McGill, Multivariate information transmission, Psychometrika 19(2), 97–116, 1954. https://doi.org/10.1007/BF02289159
  • S. Watanabe, Information theoretical analysis of multivariate correlation, IBM Journal of Research and Development 4(1), 66–82, 1960. https://doi.org/10.1147/rd.41.0066
  • T. S. Han, Multiple mutual informations and multiple interactions in frequency data, Information and Control 46(1), 26–45, 1980. https://doi.org/10.1016/S0019-9958(80)90478-7
  • R. W. Yeung, A new outlook on Shannon's information measures, IEEE Transactions on Information Theory 37(3), 466–474, 1991. https://doi.org/10.1109/18.79902
  • C. E. Shannon, A mathematical theory of communication, Bell System Technical Journal 27, 379–423, 1948. https://doi.org/10.1002/j.1538-7305.1948.tb01338.x
22 thms5 active usersReviewed
🏆Completed
Quantum Information·Captain: mikedeng1

No-local-broadcasting theorem for quantum correlations: A Bipartite State Can Be Locally Broadcast if and only if It Is Classical-ClassicalResearch Paper

Motivation

A quantum state of two systems can be correlated without being entangled, and the question of which of those unentangled correlations are still "quantum" has been studied from several directions: quantum discord (Ollivier & Zurek 2001), the classical correlations of Henderson & Vedral 2001, and the work-deficit of Oppenheim, Horodecki et al. 2002. Piani, Horodecki and Horodecki (arXiv:0707.0848, Phys. Rev. Lett. 100, 090502 (2008)) give an operational answer. They single out the classical-classical states, those that merely embed a joint probability distribution of two classical registers, and characterize them by two tasks: extracting all correlations by local measurements, and local broadcasting, in which each party, acting alone on its share, tries to produce two copies of the shared state.

The standard no-broadcasting theorem (Barnum, Caves, Fuchs, Jozsa & Schumacher 1996) says that a family of states of one system can be broadcast by a single channel if and only if the states commute. This mission formalizes its bipartite, local counterpart.

Setting

Let AAA and BBB be finite-dimensional quantum systems. A state ρ=ρAB\rho=\rho_{AB}ρ=ρAB​ of A⊗BA\otimes BA⊗B is a positive semidefinite operator of trace one; ρA=Tr⁡Bρ\rho_A=\operatorname{Tr}_B\rhoρA​=TrB​ρ and ρB=Tr⁡Aρ\rho_B=\operatorname{Tr}_A\rhoρB​=TrA​ρ are its reductions. A channel is a trace-preserving completely positive map, written with finitely many Kraus operators X↦∑kKkXKk†X\mapsto\sum_kK_kXK_k^\daggerX↦∑k​Kk​XKk†​, ∑kKk†Kk=1\sum_kK_k^\dagger K_k=\mathbb 1∑k​Kk†​Kk​=1. A local channel is a product ΛA⊗ΓB\Lambda_A\otimes\Gamma_BΛA​⊗ΓB​ of a channel acting on AAA alone and a channel acting on BBB alone.

A state is classical-classical (CC) if there are orthonormal families {∣i⟩}\{|i\rangle\}{∣i⟩} of AAA and {∣j⟩}\{|j\rangle\}{∣j⟩} of BBB and a joint probability distribution pijp_{ij}pij​ with

ρ=∑ijpij ∣i⟩⟨i∣⊗∣j⟩⟨j∣.\rho=\sum_{ij}p_{ij}\,|i\rangle\langle i|\otimes|j\rangle\langle j| .ρ=ij∑​pij​∣i⟩⟨i∣⊗∣j⟩⟨j∣.

It is classical-quantum (CQ) if ρ=∑ipi∣i⟩⟨i∣⊗σi\rho=\sum_ip_i|i\rangle\langle i|\otimes\sigma_iρ=∑i​pi​∣i⟩⟨i∣⊗σi​ with {∣i⟩}\{|i\rangle\}{∣i⟩} orthonormal and states σi\sigma_iσi​ of BBB.

Let A′A'A′ and B′B'B′ be copies of AAA and BBB. An operator σ\sigmaσ on (AA′)(BB′)(AA')(BB')(AA′)(BB′) has two copy reductions, σAB=Tr⁡A′B′σ\sigma_{AB}=\operatorname{Tr}_{A'B'}\sigmaσAB​=TrA′B′​σ and σA′B′=Tr⁡ABσ\sigma_{A'B'}=\operatorname{Tr}_{AB}\sigmaσA′B′​=TrAB​σ. A broadcast state for ρ\rhoρ is a state σ\sigmaσ with σAB=σA′B′=ρ\sigma_{AB}=\sigma_{A'B'}=\rhoσAB​=σA′B′​=ρ. The state ρ\rhoρ is locally broadcastable (LB) if there are channels ΘA:A→AA′\Theta_A:A\to AA'ΘA​:A→AA′ and ΘB:B→BB′\Theta_B:B\to BB'ΘB​:B→BB′ such that (ΘA⊗ΘB)[ρ](\Theta_A\otimes\Theta_B)[\rho](ΘA​⊗ΘB​)[ρ] is a broadcast state for ρ\rhoρ.

The correlations are measured by the mutual information I(ρ)=S(ρA)+S(ρB)−S(ρ)I(\rho)=S(\rho_A)+S(\rho_B)-S(\rho)I(ρ)=S(ρA​)+S(ρB​)−S(ρ), with S(ρ)=−Tr⁡ρlog⁡ρS(\rho)=-\operatorname{Tr}\rho\log\rhoS(ρ)=−Trρlogρ the von Neumann entropy, and by two measured versions. A POVM {Mi}\{M_i\}{Mi​} on AAA turns ρ\rhoρ into the CQ state ρCQ=∑i∣i⟩⟨i∣⊗Tr⁡A((Mi⊗1)ρ)\rho^{CQ}=\sum_i|i\rangle\langle i|\otimes\operatorname{Tr}_A((M_i\otimes\mathbb 1)\rho)ρCQ=∑i​∣i⟩⟨i∣⊗TrA​((Mi​⊗1)ρ), and POVMs {Mi}\{M_i\}{Mi​}, {Nj}\{N_j\}{Nj​} on both sides turn it into the CC state ρCC=∑ijTr⁡((Mi⊗Nj)ρ) ∣i⟩⟨i∣⊗∣j⟩⟨j∣\rho^{CC}=\sum_{ij}\operatorname{Tr}((M_i\otimes N_j)\rho)\,|i\rangle\langle i|\otimes|j\rangle\langle j|ρCC=∑ij​Tr((Mi​⊗Nj​)ρ)∣i⟩⟨i∣⊗∣j⟩⟨j∣. Then

ICQ(ρ)=max⁡{Mi}I(ρCQ),ICC(ρ)=max⁡{Mi},{Nj}I(ρCC).I_{CQ}(\rho)=\max_{\{M_i\}}I(\rho^{CQ}),\qquad I_{CC}(\rho)=\max_{\{M_i\},\{N_j\}}I(\rho^{CC}).ICQ​(ρ)={Mi​}max​I(ρCQ),ICC​(ρ)={Mi​},{Nj​}max​I(ρCC).

Formalization targets

Goal: Theorem 3 with its converse

For every state ρ\rhoρ of A⊗BA\otimes BA⊗B,

ρ is locally broadcastable  ⟺  ρ is classical-classical.\rho\ \text{is locally broadcastable}\iff\rho\ \text{is classical-classical}.ρ is locally broadcastable⟺ρ is classical-classical.

The direction "⇒\Rightarrow⇒" is Theorem 3 of the paper; "⇐\Leftarrow⇐" is the remark after Definition 6.

Milestones, in the order the proof uses them

  1. Observation 1. (i) III, ICQI_{CQ}ICQ​, ICCI_{CC}ICC​ do not increase under local channels ΛA⊗ΓB\Lambda_A\otimes\Gamma_BΛA​⊗ΓB​ with arbitrary finite outputs; (ii) I≥ICQ≥ICC≥0I\ge I_{CQ}\ge I_{CC}\ge0I≥ICQ​≥ICC​≥0; (iii) each vanishes if and only if ρ=ρA⊗ρB\rho=\rho_A\otimes\rho_Bρ=ρA​⊗ρB​.
  2. Lemma 2. If I((ΛA⊗ΓB)[ρ])=I(ρ)I((\Lambda_A\otimes\Gamma_B)[\rho])=I(\rho)I((ΛA​⊗ΓB​)[ρ])=I(ρ), there are local channels ΛA∗\Lambda_A^*ΛA∗​, ΓB∗\Gamma_B^*ΓB∗​ with (ΛA∗⊗ΓB∗)(ΛA⊗ΓB)[ρ]=ρ(\Lambda^*_A\otimes\Gamma^*_B)(\Lambda_A\otimes\Gamma_B)[\rho]=\rho(ΛA∗​⊗ΓB∗​)(ΛA​⊗ΓB​)[ρ]=ρ.
  3. Lemma 1 (corrected). For a CQ state, I=ICQ=χ({pi,σi})I=I_{CQ}=\chi(\{p_i,\sigma_i\})I=ICQ​=χ({pi​,σi​}), and I=ICCI=I_{CC}I=ICC​ if and only if the σi\sigma_iσi​ with pi>0p_i>0pi​>0 commute, if and only if ρ\rhoρ is CC; likewise for QC states.
  4. Theorem 1. ICC(ρ)=I(ρ)I_{CC}(\rho)=I(\rho)ICC​(ρ)=I(ρ) if and only if ρ\rhoρ is CC.
  5. Theorem 2. ρ\rhoρ is LB if and only if some broadcast state σ\sigmaσ has I(σAA′:BB′)=I(ρ)I(\sigma_{AA':BB'})=I(\rho)I(σAA′:BB′​)=I(ρ), and every such σ\sigmaσ is (ΘA⊗ΘB)[ρ](\Theta_A\otimes\Theta_B)[\rho](ΘA​⊗ΘB​)[ρ] for some local channels.
  6. CC states are LB.
  7. Display (1) and equality in (1): for σ~=∑ijpij∣i⟩⟨i∣⊗∣j⟩⟨j∣⊗ρij\tilde\sigma=\sum_{ij}p_{ij}|i\rangle\langle i|\otimes|j\rangle\langle j|\otimes\rho^{ij}σ~=∑ij​pij​∣i⟩⟨i∣⊗∣j⟩⟨j∣⊗ρij,
I(σ~)=I({pij})+∑ipiAS(τA′i)+∑jpjBS(τB′j)−∑ijpijS(ρij) ≥ I({pij})+∑ijpijI(ρij),I(\tilde\sigma)=I(\{p_{ij}\})+\sum_ip_i^AS(\tau^i_{A'})+\sum_jp^B_jS(\tau^j_{B'})-\sum_{ij}p_{ij}S(\rho^{ij})\ \ge\ I(\{p_{ij}\})+\sum_{ij}p_{ij}I(\rho^{ij}),I(σ~)=I({pij​})+i∑​piA​S(τA′i​)+j∑​pjB​S(τB′j​)−ij∑​pij​S(ρij) ≥ I({pij​})+ij∑​pij​I(ρij),

with equality only if ρA′ij\rho^{ij}_{A'}ρA′ij​ depends on iii alone and ρB′ij\rho^{ij}_{B'}ρB′ij​ on jjj alone on the support of ppp.

Significance

The goal shows that the ability to share correlations locally is exactly classicality: every separable but non-CC state, although it contains no entanglement, cannot be locally broadcast. Theorem 1 gives the parallel statement for measurement: only CC states lose no mutual information under optimal local measurements. The quantities I−ICCI-I_{CC}I−ICC​ and the broadcasting deficits the paper proposes as measures of quantumness of correlations are faithful (zero exactly on CC states) because of these two theorems. The paper also derives the standard no-broadcasting theorem from Theorem 3.

The results are proved in the paper; none of them is machine-checked. A formalization needs von Neumann entropy calculus that the platform does not yet have in proved form: monotonicity of mutual information under local channels, strict concavity of entropy, Holevo's bound with its saturation condition, and Petz's recovery theorem in the special case of Lemma 2. Each of these is reusable well beyond this mission.

Difficulty

The equivalence is not a consequence of the single-system no-broadcasting theorem. A local broadcasting map need not clone anything: it only has to reproduce the two reductions of one fixed bipartite state, and ΘA\Theta_AΘA​, ΘB\Theta_BΘB​ may act on AAA and BBB in any way that achieves this. The paper therefore argues through mutual information: a broadcast state reached by local channels must carry exactly I(ρ)I(\rho)I(ρ) (Theorem 2), and the measured broadcast state is then forced, through the equality case of a concavity inequality and the equality case of the Holevo bound, to be classical on both sides. Two of the ingredients, Petz's equality condition for relative entropy and strict concavity of the von Neumann entropy, are substantial analytic results in their own right, and the equality conditions must be handled without any rank or support assumption on ρ\rhoρ: the goal covers every state, rank-one product states included.

Formalization scope

Systems are nonempty finite index types a, b with decidable equality; a bipartite state is a matrix on a × b (A first) satisfying QAlgorithms.IsDensityMatrix (positive semidefinite, trace one). Channels are finite normalized Kraus families Fin m → Matrix κ ι ℂ (QAlgorithms.IsKrausFamily, QAlgorithms.krausApply), which are exactly the CPTP maps in finite dimension; a local channel has the Kraus operators K k ⊗ₖ L l. A two-copy state is indexed by (a × a) × (b × b), i.e. ((A,A′),(B,B′))((A,A'),(B,B'))((A,A′),(B,B′)), so the parties' cut is the outer product and both copy reductions are required of a broadcast state. Orthonormal families are indexed by Fin k and need not be bases. A measurement map writes its outcome in the computational basis of Fin n, and the maxima of ICQI_{CQ}ICQ​, ICCI_{CC}ICC​ are suprema over POVMs with any finite number of outcomes (attained in finite dimension). Entropy is QAlgorithms.vnEntropy, in bits; no statement depends on the base.

The goal cannot be trivialized by the encoding: the broadcasting channels act on AAA alone and on BBB alone (a global channel on ABABAB broadcasts every state, by measuring in an eigenbasis of ρ\rhoρ and preparing two copies), the copies have the types of the originals, both reductions are imposed, and the families in the CC definition are orthonormal (with unit vectors only, CC would mean separable and the goal would be false). No statement assumes ρ\rhoρ invertible or of full rank.

Lemma 1 is posed corrected: as printed, "I=ICCI=I_{CC}I=ICC​ iff the σi\sigma_iσi​ commute and ρ\rhoρ is CC" fails when some pi=0p_i=0pi​=0 (take p=(1,0)p=(1,0)p=(1,0), σ0=∣0⟩⟨0∣\sigma_0=|0\rangle\langle0|σ0​=∣0⟩⟨0∣, σ1=∣+⟩⟨+∣\sigma_1=|+\rangle\langle+|σ1​=∣+⟩⟨+∣). Commutation is required only of the states that occur.

Contributions welcome: proofs of the milestones, and general entropy lemmas (subadditivity, data processing for mutual information, strict concavity, Holevo saturation, Petz recovery for product reference states) proved as separate theorems that the milestones then import.

Selected references

  • M. Piani, P. Horodecki, R. Horodecki, No-local-broadcasting theorem for quantum correlations, arXiv:0707.0848v2 (2007); Phys. Rev. Lett. 100, 090502 (2008). https://arxiv.org/abs/0707.0848
  • H. Barnum, C. M. Caves, C. A. Fuchs, R. Jozsa, B. Schumacher, Noncommuting mixed states cannot be broadcast, Phys. Rev. Lett. 76, 2818 (1996). https://arxiv.org/abs/quant-ph/9511010
  • D. Petz, Sufficiency of channels over von Neumann algebras, Quart. J. Math. 39, 97 (1988). https://doi.org/10.1093/qmath/39.1.97
  • L. Henderson, V. Vedral, Classical, quantum and total correlations, J. Phys. A 34, 6899 (2001). https://arxiv.org/abs/quant-ph/0105028
  • H. Ollivier, W. H. Zurek, Quantum discord: a measure of the quantumness of correlations, Phys. Rev. Lett. 88, 017901 (2001). https://arxiv.org/abs/quant-ph/0105072
39 thms5 active usersReviewed
🏆Completed
Quantum InformationTheoretical Computer Science·Captain: mikedeng1

Improving the Security of Quantum Protocols via Commit-and-Open: After the Commit-and-Open Test, Any Dishonest Bob Is β-Benign Up to a Negligible Trace DistanceResearch Paper

Motivation

Many two-party quantum protocols, such as oblivious transfer and password-based identification, start the same way: Alice sends Bob nnn qubits ∣x⟩θ|x\rangle_\theta∣x⟩θ​ encoding random bits xxx in random BB84 bases θ∈{+,×}n\theta\in\{+,\times\}^nθ∈{+,×}n. Their security proofs work only against a restricted Bob, for example one with bounded quantum memory (Damgård, Fehr, Salvail, Schaffner 2005). Unrestricted security is impossible for such tasks in the plain model.

Damgård, Fehr, Lunemann, Salvail and Schaffner (arXiv:0902.3918, CRYPTO 2009) proposed a generic commit-and-open compiler. Bob commits to his measurement bases θ^\hat\thetaθ^ and outcomes x^\hat xx^ position by position. Alice opens a random fraction α\alphaα of the commitments and checks that xi=x^ix_i=\hat x_ixi​=x^i​ wherever her basis agreed with Bob's. Their headline result, Theorem 4.2, says that the compiled protocol is computationally secure against any polynomial-time Bob. Its proof reduces everything computational to one information-theoretic statement: after the test, a dishonest Bob is β-benign (Definition 4.1), up to a negligible error. The paper's introduction presents this statement as the new tool. This mission formalizes it.

Setting

Alice holds mmm qubits, one half of each of mmm EPR pairs, in a register A=C{0,1}mA=\mathbb C^{\{0,1\}^m}A=C{0,1}m. Bob holds an arbitrary finite-dimensional register EEE. The joint state right before the test is an arbitrary unit vector ∣φAE⟩∈HA⊗HE|\varphi_{AE}\rangle\in\mathcal H_A\otimes\mathcal H_E∣φAE​⟩∈HA​⊗HE​. This is the state after a dishonest Bob has received his halves and committed to x^∈{0,1}m\hat x\in\{0,1\}^mx^∈{0,1}m and θ^∈{+,×}m\hat\theta\in\{+,\times\}^mθ^∈{+,×}m.

The test is a pair (T,T′)(T,T')(T,T′). TTT is a uniformly random set of k=⌊αm⌋k=\lfloor\alpha m\rfloork=⌊αm⌋ positions; T′={i∈T:θi=θ^i}T'=\{i\in T:\theta_i=\hat\theta_i\}T′={i∈T:θi​=θ^i​} for Alice's uniform bases θ\thetaθ is a uniform subset of TTT. So PTest(T,T′)=1/((mk)2k)P_{Test}(T,T')=1/(\binom mk 2^k)PTest​(T,T′)=1/((km​)2k). In the analysed version of the protocol (Fig. 4), Alice measures the positions in TTT in Bob's bases θ^∣T\hat\theta|_Tθ^∣T​ and accepts iff xi=x^ix_i=\hat x_ixi​=x^i​ for all i∈T′i\in T'i∈T′. She then measures the remaining n=m−kn=m-kn=m−k positions in her bases θ∣Tˉ\theta|_{\bar T}θ∣Tˉ​, producing XXX.

The quantities of interest are:

  • the min-entropy H∞(X)=−log⁡2max⁡xPX(x)H_\infty(X)=-\log_2\max_xP_X(x)H∞​(X)=−log2​maxx​PX​(x) and its conditional version H∞(X∣I∣X∣Iˉ=x∣Iˉ)H_\infty(X|_I\mid X|_{\bar I}=x|_{\bar I})H∞​(X∣I​∣X∣Iˉ​=x∣Iˉ​);
  • the max-entropy H0(ρ)=log⁡2rank⁡ρH_0(\rho)=\log_2\operatorname{rank}\rhoH0​(ρ)=log2​rankρ;
  • the Hamming distance dHd_HdH​ and the relative distance rH=dH/lengthr_H=d_H/\text{length}rH​=dH​/length;
  • the trace distance δ(ρ,σ)=12tr⁡∣ρ−σ∣\delta(\rho,\sigma)=\tfrac12\operatorname{tr}|\rho-\sigma|δ(ρ,σ)=21​tr∣ρ−σ∣;
  • the binary entropy h(μ)=−(μlog⁡2μ+(1−μ)log⁡2(1−μ))h(\mu)=-(\mu\log_2\mu+(1-\mu)\log_2(1-\mu))h(μ)=−(μlog2​μ+(1−μ)log2​(1−μ)).

A function ν(m)\nu(m)ν(m) is negligible if ∣ν(m)∣≤m−c|\nu(m)|\le m^{-c}∣ν(m)∣≤m−c for every ccc and all large mmm.

The real cq state is ρTestAE=∑testPTest(test)∣test⟩⟨test∣⊗∣φAE⟩⟨φAE∣\rho_{TestAE}=\sum_{test}P_{Test}(test)|test\rangle\langle test|\otimes|\varphi_{AE}\rangle\langle\varphi_{AE}|ρTestAE​=∑test​PTest​(test)∣test⟩⟨test∣⊗∣φAE​⟩⟨φAE​∣. The set

Btest={x:rH(x∣Tˉ,x^∣Tˉ)≤rH(x∣T′,x^∣T′)+ε}B_{test}=\{x: r_H(x|_{\bar T},\hat x|_{\bar T})\le r_H(x|_{T'},\hat x|_{T'})+\varepsilon\}Btest​={x:rH​(x∣Tˉ​,x^∣Tˉ​)≤rH​(x∣T′​,x^∣T′​)+ε}

collects the outcomes whose error rate on the unopened positions is predicted by the error rate on T′T'T′.

Formalization targets

Goal: commit-and-open forces benign behaviour (§4.3, p. 12)

For every 0<α<10<\alpha<10<α<1 and β>0\beta>0β>0 there is a negligible ν\nuν such that, for every mmm, x^\hat xx^, θ^\hat\thetaθ^, finite EEE and unit ∣φAE⟩|\varphi_{AE}\rangle∣φAE​⟩, there are unit vectors ∣φ~AEtest⟩|\tilde\varphi^{test}_{AE}\rangle∣φ~​AEtest​⟩ with

δ(ρTestAE, ∑testPTest(test)∣test⟩⟨test∣⊗∣φ~AEtest⟩⟨φ~AEtest∣)≤ν(m),\delta\Big(\rho_{TestAE},\ \sum_{test}P_{Test}(test)|test\rangle\langle test|\otimes|\tilde\varphi^{test}_{AE}\rangle\langle\tilde\varphi^{test}_{AE}|\Big)\le\nu(m),δ(ρTestAE​, test∑​PTest​(test)∣test⟩⟨test∣⊗∣φ~​AEtest​⟩⟨φ~​AEtest​∣)≤ν(m),

and such that, in the ideal state, every branch Alice accepts satisfies the bounds (1) of Definition 4.1:

H∞(X∣I∣X∣Iˉ=x∣Iˉ)≥dH(θ∣I,θ^∣I)−βn,H0(ρER)≤βn.H_\infty\big(X|_I\mid X|_{\bar I}=x|_{\bar I}\big)\ge d_H(\theta|_I,\hat\theta|_I)-\beta n,\qquad H_0(\rho_{ER})\le\beta n.H∞​(X∣I​∣X∣Iˉ​=x∣Iˉ​)≥dH​(θ∣I​,θ^∣I​)−βn,H0​(ρER​)≤βn.

No constant is hard-coded; β\betaβ is arbitrary.

Milestones

  • Lemma 2.3: measuring a superposition of ∣J∣|J|∣J∣ product vectors loses at most log⁡∣J∣\log|J|log∣J∣ bits of min-entropy, and leaves Bob's register with rank at most ∣J∣|J|∣J∣.
  • The trace distance of pure states, 1−∣⟨ψ∣φ⟩∣2\sqrt{1-|\langle\psi|\varphi\rangle|^2}1−∣⟨ψ∣φ⟩∣2​.
  • The trace distance of two cq states over TestTestTest is the PTestP_{Test}PTest​-average of the branch distances.
  • The classical sampling bound: Pr⁡test[x∉Btest]\Pr_{test}[x\notin B_{test}]Prtest​[x∈/Btest​] is negligible, uniformly in xxx.
  • Lemma 4.3: ρTestAE\rho_{TestAE}ρTestAE​ is negligibly close to a state each of whose branches is supported on BtestB_{test}Btest​ in Bob's basis.
  • The Hamming-ball bound ∣{y:dH(y,y^)≤μn}∣≤2h(μ)n|\{y:d_H(y,\hat y)\le\mu n\}|\le2^{h(\mu)n}∣{y:dH​(y,y^​)≤μn}∣≤2h(μ)n for 0≤μ≤120\le\mu\le\tfrac120≤μ≤21​.
  • Corollary 4.4: on such a branch, H∞≥dH−h(err+ε)nH_\infty\ge d_H-h(err+\varepsilon)nH∞​≥dH​−h(err+ε)n and H0≤h(err+ε)nH_0\le h(err+\varepsilon)nH0​≤h(err+ε)n, where errerrerr is the error rate on T′T'T′.

Significance

The goal is what makes the compiler work. Combined with the security of the original protocol against benign Bob, it turns any BB84-type protocol that is secure in a restricted model into one secure against arbitrary dishonest Bob in the computational setting. The paper derives oblivious transfer and password-based identification this way (§6). The same statement also preserves bounded-quantum-storage security (§5.2). Its quantitative form, β=h(err+ε)\beta=h(err+\varepsilon)β=h(err+ε), shows how noise tolerance enters (§5.1).

The paper's headline Theorem 4.2 is computational: it quantifies over polynomial-time quantum adversaries and simulators in the common-reference-string model, with a dual-mode commitment scheme specified in prose. That wrapper is out of scope. The unconditional core claim, closing §4.3, is a statement about finite-dimensional states, entropies and a sampling distribution. To our knowledge no machine-checked proof of it, of Lemma 4.3, or of Corollary 4.4 exists. Formalizing it also produces reusable pieces: min- and max-entropy of superpositions, trace distance of pure and cq states, and a sampling bound for random subsets.

Difficulty

The statement mixes a quantum and a classical argument, and neither carries the whole weight. The obvious attempt, applying an entropic uncertainty relation directly to Bob's state, fails: Bob's register may be entangled with all of Alice's qubits, so nothing bounds its rank a priori. The bound appears only after the real state is replaced by a nearby one, and that replacement must be uniform over Bob's register and strategy. Uniformity is the delicate point: the negligible function must not depend on mmm, x^\hat xx^, θ^\hat\thetaθ^ or the state.

The sampling step concerns sampling without replacement (TTT of fixed size), followed by an independent subsample T′T'T′ that can be empty. The entropy bounds then need the Hamming-ball estimate at the real radius (err+ε)n(err+\varepsilon)n(err+ε)n, valid only up to 12\tfrac1221​.

Formalization scope

  • Registers are C{0,1}m\mathbb C^{\{0,1\}^m}C{0,1}m (EuclideanSpace ℂ (Fin m → Bool)) and CE\mathbb C^ECE for a finite type E. Joint states are unit vectors of the product. The joint state is pure, which the paper argues is without loss of generality: a mixed state is purified and the purifier joins EEE.
  • Bits are Bool; bases are Bool with false = +++, true = ×\times×. Positions are 0-based Fin m.
  • ∣T∣=⌊αm⌋|T|=\lfloor\alpha m\rfloor∣T∣=⌊αm⌋ and n=m−⌊αm⌋n=m-\lfloor\alpha m\rfloorn=m−⌊αm⌋; these match the paper's αm\alpha mαm and (1−α)m(1-\alpha)m(1−α)m whenever αm\alpha mαm is an integer.
  • log⁡=log⁡2\log=\log_2log=log2​. hhh is Mathlib's Real.binEntropy divided by ln⁡2\ln2ln2. The trace norm is the published WildeQIT.traceNorm, and the trace distance carries the factor 12\tfrac1221​.
  • Alice's two measurements (in θ^\hat\thetaθ^ on TTT, in θ\thetaθ on Tˉ\bar TTˉ) are encoded as one measurement in the mixed basis. Conditional min-entropies condition on x∣Tx|_Tx∣T​ as well.
  • Bob's post-measurement state is kept unnormalized, which leaves its rank unchanged. Statements that condition on an outcome assume it has positive probability.
  • rHr_HrH​ on the empty set is 000.
  • Corollary 4.4 assumes err+ε≤12err+\varepsilon\le\tfrac12err+ε≤21​. The printed err≤12err\le\tfrac12err≤21​ is not sufficient: at err=ε=12err=\varepsilon=\tfrac12err=ε=21​ the conclusion fails. The goal is unaffected.
  • The ideal vectors in the goal depend on the test only, and one ν\nuν serves all mmm, x^\hat xx^, θ^\hat\thetaθ^, EEE and states. Neither conclusion is trivial on its own: taking the ideal state equal to the real one gives distance 000, and taking it to be the honest state ∣x^⟩θ^⊗∣e⟩|\hat x\rangle_{\hat\theta}\otimes|e\rangle∣x^⟩θ^​⊗∣e⟩ satisfies (1). The goal demands both at once.

Contributions are welcome on any milestone. The sampling bound and the pure-state and block-diagonal trace-distance identities are independent of the rest. The trace-norm lemmas and the Hamming-ball bound are useful beyond this mission.

Selected references

  • I. Damgård, S. Fehr, C. Lunemann, L. Salvail, C. Schaffner, Improving the Security of Quantum Protocols via Commit-and-Open, CRYPTO 2009; arXiv:0902.3918v4. https://arxiv.org/abs/0902.3918
  • I. Damgård, S. Fehr, L. Salvail, C. Schaffner, Cryptography in the Bounded Quantum-Storage Model, FOCS 2005. https://arxiv.org/abs/quant-ph/0508222
  • W. Hoeffding, Probability Inequalities for Sums of Bounded Random Variables, J. Amer. Statist. Assoc. 58 (1963). https://doi.org/10.1080/01621459.1963.10500830
  • S. Fehr, C. Schaffner, Composing Quantum Protocols in a Classical Environment, TCC 2009. https://arxiv.org/abs/0804.1059
12 thms5 active usersReviewed
🏆Completed
Linear algebraQuantum Information·Captain: mikedeng1

Reversing quantum dynamics with near-optimal quantum and classical fidelity II: The Pretty Good Measurement Errs at Most the Weighted Sum of Bures–Uhlmann FidelitiesResearch Paper

Motivation

Quantum communication and computation often require a receiver to infer which preparation was sent after it has passed through a noisy quantum process. When possible preparations are mixed states, their overlap makes exact identification impossible. A measurement is then judged by its average probability of a correct label. The pretty good measurement gives a concrete measurement from the ensemble itself, without first solving the optimization over all measurements. Barnum and Knill related it to a general reversal operation for noisy dynamics and bounded its error through pairwise state fidelities in their preprint, §V–VI. The bound is useful when the overlaps are easier to estimate than the measurement's success probability.

The present mission addresses the preprint's second main result. The source is arXiv:quant-ph/0004088v2, not the later journal pagination. The preprint also strengthens its Theorem 3 relative to the published text, as its acknowledgment explains; this mission concerns Theorem 5 and the calculation around it.

Setting

An ensemble is a finite family of output density matrices ρ^j\hat\rho_jρ^​j​ with probabilities pj≥0p_j\geq0pj​≥0 satisfying ∑jpj=1\sum_jp_j=1∑j​pj​=1. A density matrix is a positive semidefinite complex matrix with trace one. For each label jjj, fix an orthonormal eigenbasis vijv_{ij}vij​ and nonnegative eigenvalues λij\lambda_{ij}λij​ such that

ρ^j=∑iλij∣vij⟩⟨vij∣,∑iλij=1.\hat\rho_j=\sum_i\lambda_{ij}|v_{ij}\rangle\langle v_{ij}|, \qquad \sum_i\lambda_{ij}=1.ρ^​j​=i∑​λij​∣vij​⟩⟨vij​∣,i∑​λij​=1.

The eigenpair index iii runs over a finite output basis OOO; zero eigenvalues are allowed. The input labels form a finite basis JJJ. A label distribution is represented by ρ=∑jpj∣j⟩⟨j∣\rho=\sum_jp_j|j\rangle\langle j|ρ=∑j​pj​∣j⟩⟨j∣.

The paper's classicizing channel AAA has Kraus operators Aij=λij∣vij⟩⟨j∣A_{ij}=\sqrt{\lambda_{ij}}|v_{ij}\rangle\langle j|Aij​=λij​​∣vij​⟩⟨j∣. Acting on an input matrix XXX, its value is A(X)=∑i,jAijXAij†A(X)=\sum_{i,j}A_{ij}X A_{ij}^{\dagger}A(X)=∑i,j​Aij​XAij†​. In particular, its output on ρ\rhoρ is ρout=∑jpjρ^j\rho_{\mathrm{out}}=\sum_jp_j\hat\rho_jρout​=∑j​pj​ρ^​j​. The paper assumes ρout\rho_{\mathrm{out}}ρout​ has full support when it writes its reversal operation. For a general Kraus family AaA_aAa​, that operation has operators

(RA,ρ)a=ρ1/2Aa†A(ρ)−1/2.(R_{A,\rho})_a=\rho^{1/2}A_a^\dagger A(\rho)^{-1/2}.(RA,ρ​)a​=ρ1/2Aa†​A(ρ)−1/2.

The inverse square root is spectral: invert nonzero eigenvalues and leave zero eigenvalues at zero. With full support, it is the usual inverse square root.

For an input label jjj, classical fidelity is the chance that the composite operation returns the same label. Averaging gives

Fcl(ρ,K)=∑jpj⟨j∣K(∣j⟩⟨j∣)∣j⟩.F_{\mathrm{cl}}(\rho,K)= \sum_jp_j\langle j|K(|j\rangle\langle j|)|j\rangle.Fcl​(ρ,K)=j∑​pj​⟨j∣K(∣j⟩⟨j∣)∣j⟩.

The Bures–Uhlmann fidelity used here is the unsquared quantity FBU(σ,τ)=tr⁡σ τ σF_{\mathrm{BU}}(\sigma,\tau)=\operatorname{tr}\sqrt{\sqrt\sigma\,\tau\,\sqrt\sigma}FBU​(σ,τ)=trσ​τσ​​. For the classicizing channel, the reversal operation realizes the pretty good measurement, as shown by equation (36) and the discussion after equation (37) in the preprint, p. 10.

Formalization targets

Recovery error

The goal, in the reading established by the paper's proof, is

Fcl(ρ,RA,ρA)≥1−∑i,j∈Ji≠jpipj FBU(ρ^i,ρ^j).F_{\mathrm{cl}}(\rho,R_{A,\rho}A) \geq 1-\sum_{\substack{i,j\in J\\i\ne j}} \sqrt{p_ip_j}\,F_{\mathrm{BU}}(\hat\rho_i,\hat\rho_j).Fcl​(ρ,RA,ρ​A)≥1−i,j∈Ji=j​∑​pi​pj​​FBU​(ρ^​i​,ρ^​j​).

The sum is over ordered pairs; each unordered pair of distinct labels is counted twice. The coefficient is exactly one. The goal applies to every finite ensemble with the spectral data above and a full-support output. It does not fix the number of labels or the dimension of the output.

The milestones are the reversal formula (36), the classical-fidelity identities in (38), the unit squared Frobenius norm (40), the diagonal-block expression (41), the off-diagonal trace-norm identity following (42), and the two-block estimate of Lemma 6. They record the paper's mathematical statements and keep the attack path tied to the authors' displayed results.

Significance

The result bounds a measurement's probability of error using only pairwise similarities of the possible output states and their prior probabilities. For nearly distinguishable states, the weighted fidelity sum is small, so this particular measurement succeeds with high probability. The theorem therefore gives a usable guarantee for a specified recovery procedure, rather than only asserting that some procedure exists. In the preprint, §VII, Barnum and Knill describe quantum-information applications of such recovery bounds.

The mathematical result is already proved in the paper, subject to the correction explained below. The formalization work is to make the mixed-state channel, its recovery, the finite-dimensional spectral conventions, and the block-matrix norm estimate precise in Lean. The published Prove2Me definitions for Kraus updates and trace norm supply reusable starting points. A complete proof of this mission would add a checked mixed-state pretty-good-measurement bound; the local statements here compile as open theorems, and no proof is claimed.

Difficulty

The obvious pairwise-overlap estimate does not by itself express the error of the recovery channel. The recovery's classical fidelity is initially a channel evaluation on basis states, while the bound uses trace norms of blocks of a Gram matrix. The key obstacle is controlling the off-diagonal Frobenius mass of the positive square root of that Gram matrix by the trace norms of the corresponding blocks of the Gram matrix itself. Lemma 6 states the needed two-block comparison, including rectangular blocks. The matrix dimension and block labels must remain consistent when it is applied across a larger array.

Formalization scope

All systems and index sets are finite, with matrices over C\mathbb CC and real probabilities. A general completely positive map is represented by an unbundled finite family of Kraus matrices. The classicizing family has rectangular matrices from the input-label space to the output space; the reversal has matrices in the opposite direction. Composite Kraus families are indexed by pairs. The classical fidelity is defined from the channel action in equation (10); the goal does not define it using the desired overlap bound. The reversal is defined by equation (12) for a general family, so its specialized formula remains a theorem.

The spectral hypotheses include nonnegative probabilities and eigenvalues, unit sums, and orthonormal eigenvectors. Full support of ρout\rho_{\mathrm{out}}ρout​ is an explicit hypothesis wherever the reversal appears, following page 7. Empty input or output types cannot satisfy the normalized data together with these hypotheses. The Bures–Uhlmann expression is the unsquared trace of a positive square root; using the squared fidelity would change the constant and is outside this mission. Lemma 6 is independent of the ensemble and can be reused for finite block-matrix estimates. Contributions to the spectral identities, the array equalities, and the block-norm argument are welcome.

Equation (39) prints the square of the optimal success probability on its left. The first line of (38) compares that quantity with the recovery fidelity in the opposite direction to Corollary 4. The proof on pages 12–13 concludes the displayed bound for Fcl(ρ,RA,ρA)F_{\mathrm{cl}}(\rho,R_{A,\rho}A)Fcl​(ρ,RA,ρ​A). This mission states that proved conclusion and records the printed discrepancy in its item and audit notes.

Selected references

  • Howard Barnum and Emanuel Knill, Reversing quantum dynamics with near-optimal quantum and classical fidelity, arXiv:quant-ph/0004088v2, 2000/2026 version. arXiv
  • Howard Barnum and Emanuel Knill, Reversing quantum dynamics with near-optimal quantum and classical fidelity, Journal of Mathematical Physics 43 (2002), 2097–2106. DOI
11 thms5 active usersReviewed
🏆Completed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data 4: A Secure Sketch Correcting t Errors Has Residual Min-Entropy at Most L(M, t, m)Research Paper

Motivation

Biometric readings, typed passphrases and physical measurements are secrets that are never reproduced exactly: a second reading w′w'w′ of the same fingerprint differs from the enrolled reading www in a few positions. Dodis, Ostrovsky, Reyzin and Smith (arXiv:cs/0602007, SIAM J. Comput. 38(1), 2008) introduced the secure sketch, public helper data that lets anyone holding a nearby w′w'w′ recover www while leaking as little as possible about www, and the fuzzy extractor, which in addition turns www into a nearly uniform key. Their constructions for the Hamming, set-difference and edit metrics are the standard reference for this primitive in cryptography.

A construction is judged by its entropy loss: how much min-entropy of the secret the published sketch destroys. To call a construction optimal one needs a lower bound on that loss which holds for every sketch, whatever its algorithm. Appendix C of the paper supplies such a bound from coding theory. It shows that, for uniformly distributed inputs, the code-offset sketch for the Hamming metric and the set-difference sketches lose no more entropy than any sketch must. This mission formalizes that bound, Lemma C.1.

Setting

A metric space is a finite set M\mathcal MM with an integer-valued distance dis\mathrm{dis}dis; the paper also requires dis(x,y)=0\mathrm{dis}(x,y)=0dis(x,y)=0 exactly when x=yx=yx=y, symmetry, and the triangle inequality (§2.1, p. 7). Random variables are identified with their laws; logarithms are base 2.

The min-entropy of a random variable AAA is H∞(A)=−log⁡max⁡aPr⁡[A=a]\mathbf H_\infty(A) = -\log \max_a \Pr[A=a]H∞​(A)=−logmaxa​Pr[A=a]. For a pair (A,B)(A,B)(A,B) the average min-entropy is

H~∞(A∣B)=−log⁡Eb←B[max⁡aPr⁡[A=a∣B=b]],\tilde{\mathbf H}_\infty(A\mid B) = -\log \mathbb E_{b\leftarrow B}\Big[\max_a \Pr[A=a\mid B=b]\Big],H~∞​(A∣B)=−logEb←B​[amax​Pr[A=a∣B=b]],

the negative logarithm of the probability that an adversary who sees BBB guesses AAA.

An (M,m,m~,t)(\mathcal M,m,\tilde m,t)(M,m,m~,t)-secure sketch (Definition 3, p. 11) is a pair of randomized procedures: SS\mathsf{SS}SS maps w∈Mw\in\mathcal Mw∈M to a string sss, and Rec\mathsf{Rec}Rec maps (w′,s)(w',s)(w′,s) back to M\mathcal MM. Correctness: if dis(w,w′)≤t\mathrm{dis}(w,w')\le tdis(w,w′)≤t then Rec(w′,SS(w))=w\mathsf{Rec}(w',\mathsf{SS}(w))=wRec(w′,SS(w))=w. Security: for every distribution WWW on M\mathcal MM with H∞(W)≥m\mathbf H_\infty(W)\ge mH∞​(W)≥m, one has H~∞(W∣SS(W))≥m~\tilde{\mathbf H}_\infty(W\mid \mathsf{SS}(W))\ge\tilde mH~∞​(W∣SS(W))≥m~.

An (M,K,t)(\mathcal M,K,t)(M,K,t)-code (§2.2, p. 8) is a set C⊆MC\subseteq\mathcal MC⊆M of KKK points such that every ball {c:dis(w,c)≤t}\{c : \mathrm{dis}(w,c)\le t\}{c:dis(w,c)≤t} around a point w∈Mw\in\mathcal Mw∈M contains at most one codeword. For S⊆MS\subseteq\mathcal MS⊆M, K(M,t,S)K(\mathcal M,t,S)K(M,t,S) is the largest KKK for which an (M,K,t)(\mathcal M,K,t)(M,K,t)-code lies inside SSS, and K(M,t)=K(M,t,M)K(\mathcal M,t)=K(\mathcal M,t,\mathcal M)K(M,t)=K(M,t,M). Finally (Appendix C, p. 40)

L(M,t,m)=log⁡(min⁡∣S∣=2mK(M,t,S)),L(\mathcal M,t,m) = \log\Big(\min_{|S|=2^m} K(\mathcal M,t,S)\Big),L(M,t,m)=log(∣S∣=2mmin​K(M,t,S)),

the worst case, over all sets SSS of 2m2^m2m points, of the largest ttt-error-correcting code inside SSS.

In the Lean development these are minEntropy, avgMinEntropy, IsSecureSketch, IsCode, K dis t S and L dis t N hN, in the namespace FuzzyExtractors.LowerBound.

Formalization targets

Goal: Lemma C.1

If (SS,Rec)(\mathsf{SS},\mathsf{Rec})(SS,Rec) is an (M,m,m′,t)(\mathcal M,m,m',t)(M,m,m′,t)-secure sketch and 2m=N2^m=N2m=N is a natural number with N≤∣M∣N\le|\mathcal M|N≤∣M∣, then

m′≤L(M,t,m).m' \le L(\mathcal M,t,m).m′≤L(M,t,m).

The bound fixes no particular metric and no particular sketch; it is stated for every finite integer-valued metric and every sketch, with an arbitrary type of sketch values.

Milestones

The proof in Appendix C has three steps, each a milestone. For WWW uniform on a set SSS of 2m2^m2m points:

  1. some sketch value vvv has Pr⁡[SS(W)=v]>0\Pr[\mathsf{SS}(W)=v]>0Pr[SS(W)=v]>0 and H∞(W∣SS(W)=v)≥m′\mathbf H_\infty(W\mid\mathsf{SS}(W)=v)\ge m'H∞​(W∣SS(W)=v)≥m′;
  2. the set TTT of points of SSS that can produce vvv has ∣T∣≥2m′|T|\ge 2^{m'}∣T∣≥2m′;
  3. under the correctness property alone, TTT is an (M,∣T∣,t)(\mathcal M,|T|,t)(M,∣T∣,t)-code.

A fourth milestone is the lemma's second sentence: when m=log⁡∣M∣m=\log|\mathcal M|m=log∣M∣,

m′≤log⁡K(M,t).m' \le \log K(\mathcal M,t).m′≤logK(M,t).

Significance

The result. Lemma C.1 converts any secure sketch into a code: the residual entropy m′m'm′ of the sketch can be no larger than the logarithm of the best ttt-error-correcting code inside a worst-case set of 2m2^m2m points. For uniform inputs it says m′≤log⁡K(M,t)m'\le\log K(\mathcal M,t)m′≤logK(M,t), so the entropy loss is at least log⁡∣M∣−log⁡K(M,t)\log|\mathcal M|-\log K(\mathcal M,t)log∣M∣−logK(M,t). The code-offset construction built from an optimal code attains that loss, which is how the paper certifies its Hamming and set-difference constructions as optimal for uniform passwords. The companion Lemma C.2 gives the analogous bound for fuzzy extractors, up to a −log⁡(1−ε)-\log(1-\varepsilon)−log(1−ε) term. Lower bounds of this shape are what separate an efficient construction from a provably best one.

Formalizing it. The lemma has a complete, short proof in the paper; it has no machine-checked proof that we know of. The mission produces a checked version of the bound for arbitrary finite integer metrics and arbitrary randomized sketches, together with reusable definitions of min-entropy and average min-entropy on probability mass functions, of secure sketches, and of ttt-error-correcting codes in a general finite metric space.

Difficulty

The combinatorial core, that the preimage set of one sketch value is a code, is immediate from correctness. The work lies in the probabilistic bookkeeping. One must pass from an average bound on guessing probability to a single good sketch value, which requires handling sketch values of probability zero and an infinite (possibly uncountable) space of sketch outputs. One must then pass from "Pr⁡[W=w∣v]≤2−m′\Pr[W=w\mid v]\le 2^{-m'}Pr[W=w∣v]≤2−m′ for all www" to "at least 2m′2^{m'}2m′ points carry positive probability", and compute the min-entropy of a uniform distribution exactly. Finally the bound must be transferred to the minimum over all sets of size 2m2^m2m, a finite but large family. A first idea, to reason only about deterministic sketches, does not suffice: Definition 3 allows randomized SS\mathsf{SS}SS and Rec\mathsf{Rec}Rec, and the statement quantifies over them.

Formalization scope

Laws are Mathlib PMFs; randomized procedures are maps into PMF. The sketch value type V is arbitrary, standing in for {0,1}∗\{0,1\}^*{0,1}∗. Average min-entropy is written in the equivalent joint form −log⁡∑bmax⁡aPr⁡[A=a∧B=b]-\log\sum_b\max_a\Pr[A=a\wedge B=b]−log∑b​maxa​Pr[A=a∧B=b], which avoids conditioning on null events. "Min-entropy mmm" is read as H∞(W)≥m\mathbf H_\infty(W)\ge mH∞​(W)≥m, and m,m′m, m'm,m′ are real numbers. Rec\mathsf{Rec}Rec is randomized and correctness asks that it return www with probability one for every possible sketch value of www.

The explicit choices:

  • L(M,t,m)L(\mathcal M,t,m)L(M,t,m) is defined only when 2m2^m2m is a natural number N≤∣M∣N\le|\mathcal M|N≤∣M∣ (otherwise the minimum ranges over no sets); the goal takes such an NNN with (N:R)=2m(N:\mathbb R)=2^m(N:R)=2m. The printed K(n,t,S)K(n,t,S)K(n,t,S) inside the minimum is read as K(M,t,S)K(\mathcal M,t,S)K(M,t,S), and the printed L(M,t,n)L(\mathcal M,t,n)L(M,t,n) as L(M,t,log⁡∣M∣)L(\mathcal M,t,\log|\mathcal M|)L(M,t,log∣M∣).
  • The code-bound statements explicitly assume all metric axioms from §2.1: zero distance exactly for equal points, symmetry, and the triangle inequality. Symmetry is used because the ball condition of a code measures dis(w′,c)\mathrm{dis}(w',c)dis(w′,c), while correctness is stated for dis(c,w′)\mathrm{dis}(c,w')dis(c,w′). The second-sentence milestone also assumes M\mathcal MM nonempty, which the paper leaves implicit.
  • The hypothesis is the worst-case secure sketch of Definition 3, not the average-case one of Definition 4, which would weaken the lemma.
  • Definition 3's efficiency requirement is dropped; no complexity theory is formalized, and no placeholder predicate replaces it.

Two trivializing formalizations are ruled out: K(M,t,S)K(\mathcal M,t,S)K(M,t,S) is the largest size of a code in SSS, not a count of codes; and a code is defined by the ball condition, not by "distinct codewords are at distance greater than ttt", which is weaker in the absence of the triangle inequality.

Needed infrastructure: the min-entropy of a uniform PMF on a finset, the averaging argument over a tsum of ENNReal values, and monotonicity of Finset.inf'. The min-entropy and code definitions are reusable by every other mission of this paper. Contributions are welcome on any milestone, in any order.

Selected references

  • Y. Dodis, R. Ostrovsky, L. Reyzin, A. Smith, Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data, SIAM J. Comput. 38(1):97–139, 2008. arXiv:cs/0602007v4. https://arxiv.org/abs/cs/0602007 — DOI https://doi.org/10.1137/060651380
  • A. Juels, M. Wattenberg, A Fuzzy Commitment Scheme, ACM CCS 1999. https://doi.org/10.1145/319709.319714
  • R. Renner, S. Wolf, Simple and Tight Bounds for Information Reconciliation and Privacy Amplification, ASIACRYPT 2005. https://doi.org/10.1007/11593447_11
7 thms5 active usersReviewed
🏆Completed
ProbabilityTheoretical Computer Science·Captain: mikedeng1

Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data 1: Every [n, k, 2t+1] Code Gives an Average-Case Hamming Fuzzy Extractor with ℓ = m + kf − nf − 2 log(1/ε) + 2Research Paper

Motivation

Cryptographic keys must be uniformly random and reproducible exactly. Many secrets people actually possess are neither: a biometric reading (an iris code, a fingerprint template), a long passphrase recalled with typos, or the correlated bits two parties obtain from a quantum channel are noisy, so two readings of the same secret differ in a few positions, and they are not uniform. Fuzzy extractors, introduced by Dodis, Ostrovsky, Reyzin and Smith (arXiv:cs/0602007; SIAM J. Comput. 38(1), 2008), turn such a secret into a nearly uniform key that can be regenerated from any sufficiently close reading, using public helper data that does not compromise the key.

The construction for the Hamming metric is the one most used in practice and in later work on biometric key derivation and physically unclonable functions. Its history is short. Juels and Wattenberg's fuzzy commitment (CCS 1999) shifted an error-correcting code onto the secret but was analysed only for uniform inputs. The syndrome of a linear code had been used for information reconciliation in quantum key agreement (Bennett, Bessette, Brassard, Salvail and Smolin, J. Cryptology 1992). Dodis et al. defined secure sketches and fuzzy extractors for arbitrary entropy distributions, introduced average min-entropy to handle side information, and proved the bound formalized here. This mission is the first of four drawn from that paper.

Setting

All logarithms are base 2. A random variable is identified with its law. For a random variable AAA, the min-entropy is H∞(A)=−log⁡max⁡aPr⁡[A=a]\mathbf H_\infty(A) = -\log \max_a \Pr[A=a]H∞​(A)=−logmaxa​Pr[A=a]. For a pair (A,B)(A,B)(A,B), the average min-entropy of AAA given BBB is

H~∞(A∣B)=−log⁡Eb←B[max⁡aPr⁡[A=a∣B=b]],\tilde{\mathbf H}_\infty(A\mid B) = -\log \mathbb E_{b\leftarrow B}\big[\max_a \Pr[A=a\mid B=b]\big],H~∞​(A∣B)=−logEb←B​[amax​Pr[A=a∣B=b]],

the adversary's chance of guessing AAA after seeing BBB, on a log scale. The statistical distance is SD(A,B)=12∑v∣Pr⁡(A=v)−Pr⁡(B=v)∣\mathbf{SD}(A,B)=\tfrac12\sum_v|\Pr(A=v)-\Pr(B=v)|SD(A,B)=21​∑v​∣Pr(A=v)−Pr(B=v)∣, and UℓU_\ellUℓ​ is uniform on {0,1}ℓ\{0,1\}^\ell{0,1}ℓ.

The space is M=Fn\mathcal M=\mathcal F^nM=Fn, where F\mathcal FF is a finite additive group with FFF elements, f=log⁡Ff=\log Ff=logF, and dis(w,w′)\mathrm{dis}(w,w')dis(w,w′) is the Hamming distance, the number of positions where www and w′w'w′ differ. A code C⊆FnC\subseteq\mathcal F^nC⊆Fn with KKK codewords is an [n,k,2t+1]F[n,k,2t+1]_{\mathcal F}[n,k,2t+1]F​ code if distinct codewords are at distance at least 2t+12t+12t+1; its dimension is k=log⁡FKk=\log_F Kk=logF​K, so kf=log⁡Kkf=\log Kkf=logK.

A secure sketch (SS,Rec)(\mathsf{SS},\mathsf{Rec})(SS,Rec) is a pair of randomized procedures with Rec(w′,SS(w))=w\mathsf{Rec}(w',\mathsf{SS}(w))=wRec(w′,SS(w))=w whenever dis(w,w′)≤t\mathrm{dis}(w,w')\le tdis(w,w′)≤t. It is an average-case (M,m,m~,t)(\mathcal M,m,\tilde m,t)(M,m,m~,t)-secure sketch if H~∞(W∣(SS(W),I))≥m~\tilde{\mathbf H}_\infty(W\mid(\mathsf{SS}(W),I))\ge\tilde mH~∞​(W∣(SS(W),I))≥m~ for every pair (W,I)(W,I)(W,I) with H~∞(W∣I)≥m\tilde{\mathbf H}_\infty(W\mid I)\ge mH~∞​(W∣I)≥m. A fuzzy extractor (Gen,Rep)(\mathsf{Gen},\mathsf{Rep})(Gen,Rep) has Gen(w)=(R,P)\mathsf{Gen}(w)=(R,P)Gen(w)=(R,P) with R∈{0,1}ℓR\in\{0,1\}^\ellR∈{0,1}ℓ, and Rep(w′,P)=R\mathsf{Rep}(w',P)=RRep(w′,P)=R whenever dis(w,w′)≤t\mathrm{dis}(w,w')\le tdis(w,w′)≤t. It is an average-case (M,m,ℓ,t,ε)(\mathcal M,m,\ell,t,\varepsilon)(M,m,ℓ,t,ε)-fuzzy extractor if

SD((R,P,I),(Uℓ,P,I))≤εwheneverH~∞(W∣I)≥m.\mathbf{SD}\big((R,P,I),(U_\ell,P,I)\big)\le\varepsilon \quad\text{whenever}\quad \tilde{\mathbf H}_\infty(W\mid I)\ge m .SD((R,P,I),(Uℓ​,P,I))≤εwheneverH~∞​(W∣I)≥m.

A family {Hx}x∈X\{H_x\}_{x\in X}{Hx​}x∈X​ of functions into {0,1}ℓ\{0,1\}^\ell{0,1}ℓ is universal if Pr⁡x[Hx(a)=Hx(b)]=2−ℓ\Pr_{x}[H_x(a)=H_x(b)]=2^{-\ell}Prx​[Hx​(a)=Hx​(b)]=2−ℓ for all a≠ba\ne ba=b.

Formalization targets

Goal: Theorem 5.2 (p. 17)

For every [n,k,2t+1]F[n,k,2t+1]_{\mathcal F}[n,k,2t+1]F​ code, every mmm, every ε>0\varepsilon>0ε>0 and every natural number

ℓ  ≤  m+kf−nf−2log⁡(1/ε)+2,\ell\;\le\;m+kf-nf-2\log(1/\varepsilon)+2,ℓ≤m+kf−nf−2log(1/ε)+2,

there is an average-case (Fn,m,ℓ,t,ε)(\mathcal F^n,m,\ell,t,\varepsilon)(Fn,m,ℓ,t,ε)-fuzzy extractor.

The sketch branch

  • Lemma 2.2(b): publishing a value with at most 2λ2^\lambda2λ possibilities lowers average min-entropy by at most λ\lambdaλ.
  • Lemma 3.1: a correct sketch with at most 2λ2^\lambda2λ outputs is an average-case secure sketch with entropy loss λ\lambdaλ.
  • Lemma 4.5: the sketch for transitive metric spaces (Construction 1) loses at most log⁡∣Π∣−log⁡Γ−log⁡K\log|\Pi|-\log\Gamma-\log Klog∣Π∣−logΓ−logK.
  • §5, p. 17: at most one word within distance ttt of w′w'w′ has a given syndrome.
  • Theorem 5.1: the code-offset sketch is an average-case (Fn,m,m−(n−k)f,t)(\mathcal F^n,m,m-(n-k)f,t)(Fn,m,m−(n−k)f,t)-secure sketch; for a linear code, the syndrome sketch is deterministic, n−kn-kn−k symbols long, with the same loss.

The extractor branch

  • Lemma 2.1 and Lemma 2.4: the leftover hash lemma and its average-case generalization, SD((HX(W),X,I),(Uℓ,X,I))≤122−H~∞(W∣I)2ℓ\mathbf{SD}\big((H_X(W),X,I),(U_\ell,X,I)\big)\le\frac12\sqrt{2^{-\tilde{\mathbf H}_\infty(W\mid I)}2^\ell}SD((HX​(W),X,I),(Uℓ​,X,I))≤21​2−H~∞​(W∣I)2ℓ​.
  • Lemma 4.1 (average-case form): an average-case sketch plus an average-case strong extractor gives an average-case fuzzy extractor.
  • Lemma 4.3 (average-case form): with universal hashing, any ℓ≤m~−2log⁡(1/ε)+2\ell\le\tilde m-2\log(1/\varepsilon)+2ℓ≤m~−2log(1/ε)+2 is achievable.

Significance

Theorem 5.2 says that the only costs of tolerating ttt Hamming errors are the redundancy of the code, (n−k)f(n-k)f(n−k)f bits, and the 2log⁡(1/ε)2\log(1/\varepsilon)2log(1/ε) bits that any extractor loses. Appendix C of the paper shows the redundancy term cannot be avoided for uniform inputs, so for optimal codes the construction is optimal there. The average-case form matters for composition: it remains valid when the adversary holds side information correlated with the secret, which is the situation of every protocol that uses the key afterwards or reuses the reading.

Formalizing it produces machine-checked versions of the leftover hash lemma in its average-case form, the basic calculus of average min-entropy, and the code-offset and syndrome sketches. These are the standard tools of information-theoretic cryptography, used well beyond fuzzy extraction (privacy amplification, randomness extraction, information reconciliation). All results are proved in the paper; as far as is known, none of them has a formal proof in Lean or on this platform.

Difficulty

The obvious route bounds the leakage of the sketch with min-entropy and then applies an extractor to WWW conditioned on each sketch value. That fails: conditioned on a particular sketch value, WWW may have far less min-entropy than average, so a worst-case extractor has nothing to work with on some values, and paying for those bad values costs an extra error term (Corollary 4.2). The average-case notions exist to avoid this loss, and the chain must be kept average-case at every step. In Lean the work is in the probability bookkeeping: computing laws of pairs and triples formed by independent coin flips, rearranging them, and bounding sums of maxima over possibly infinite auxiliary types, together with the leftover hash lemma itself, which Mathlib does not provide.

Formalization scope

Random variables are their laws, Mathlib PMFs; pairs are joint laws and randomized procedures are kernels whose coins are independent of everything else. Average min-entropy is written in the equivalent joint form −log⁡∑bmax⁡aPr⁡[A=a∧B=b]-\log\sum_b\max_a\Pr[A=a\wedge B=b]−log∑b​maxa​Pr[A=a∧B=b], which needs no conditioning on null events. The auxiliary variable III ranges over every type, not only finite ones. Logarithms are Real.logb 2; {0,1}ℓ\{0,1\}^\ell{0,1}ℓ is Fin ℓ → Bool; Fn\mathcal F^nFn is Fin n → F with Mathlib's hammingDist.

Explicit choices:

  • Efficiency is dropped. Every "efficient" and polynomial-time clause (Definitions 1–5, Lemma 4.5, Theorems 5.1 and 5.2) is omitted; there is no complexity substrate, and no vacuous predicate stands in for it.
  • ℓ\ellℓ is a natural number with ℓ≤m+kf−nf−2log⁡(1/ε)+2\ell\le m+kf-nf-2\log(1/\varepsilon)+2ℓ≤m+kf−nf−2log(1/ε)+2 as a real inequality; the printed ℓ\ellℓ is a real expression.
  • ε>0\varepsilon>0ε>0 is stated wherever log⁡(1/ε)\log(1/\varepsilon)log(1/ε) appears.
  • "Min-entropy mmm" means H∞(W)≥m\mathbf H_\infty(W)\ge mH∞​(W)≥m; minimum distance 2t+12t+12t+1 means at least 2t+12t+12t+1; kf=log⁡Kkf=\log Kkf=logK, so non-linear codes are covered.
  • F\mathcal FF is any finite additive commutative group (the paper's additive cyclic group is a special case); the syndrome is any linear map onto Fn−k\mathcal F^{n-k}Fn−k with kernel CCC.
  • Extractor domains are arbitrary finite sets with arbitrary finite nonempty seed sets, instead of {0,1}n\{0,1\}^n{0,1}n and {0,1}r\{0,1\}^r{0,1}r.
  • Γ\GammaΓ in Lemma 4.5 is read as "for each www and bbb there are at least Γ≥1\Gamma\ge1Γ≥1 permutations with π(w)=b\pi(w)=bπ(w)=b"; symmetry of the distance is an explicit hypothesis there.
  • Theorem 5.1 is stated for the code-offset and syndrome constructions themselves, not as a bare existence claim.

A trivializing formalization is ruled out: the security clause quantifies over every auxiliary type and every joint law meeting the entropy bound, ε\varepsilonε and ℓ\ellℓ are constrained exactly as in the paper, and the universal hash family is constructed inside the goal (a supporting item states that universal families exist), never assumed.

Contributions welcome: proofs of any milestone; general lemmas on PMF marginals, statistical distance and average min-entropy, which are reusable across all four missions of this paper and in other information-theoretic cryptography; and the leftover hash lemma as a standalone result.

Selected references

  • Y. Dodis, R. Ostrovsky, L. Reyzin, A. Smith, Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data, SIAM J. Comput. 38(1):97–139, 2008. arXiv:cs/0602007v4. https://arxiv.org/abs/cs/0602007 , https://doi.org/10.1137/060651380
  • A. Juels, M. Wattenberg, A Fuzzy Commitment Scheme, ACM CCS 1999. https://doi.org/10.1145/319709.319714
  • J. L. Carter, M. N. Wegman, Universal Classes of Hash Functions, J. Comput. System Sci. 18(2):143–154, 1979. https://doi.org/10.1016/0022-0000(79)90044-8
  • J. Håstad, R. Impagliazzo, L. Levin, M. Luby, A Pseudorandom Generator from any One-way Function, SIAM J. Comput. 28(4):1364–1396, 1999. https://doi.org/10.1137/S0097539793244708
  • C. H. Bennett, F. Bessette, G. Brassard, L. Salvail, J. Smolin, Experimental Quantum Cryptography, J. Cryptology 5(1):3–28, 1992. https://doi.org/10.1007/BF00191318
12 thms5 active usersReviewed
🏆Completed
Quantum Information·Captain: mikedeng1

An Intuitive Proof of the Data Processing Inequality: Conditional von Neumann Entropy Cannot Increase Under Partial Trace, via the Smooth Min-Entropy DPI and the Quantum AEPResearch Paper

Motivation

The data processing inequality (DPI) for the conditional von Neumann entropy says that discarding part of the side information cannot make a quantum system less uncertain: for every tripartite state ρABC\rho_{ABC}ρABC​,

H(A∣BC)ρ≤H(A∣B)ρ.H(A|BC)_\rho \le H(A|B)_\rho .H(A∣BC)ρ​≤H(A∣B)ρ​.

It is equivalent to strong subadditivity of the von Neumann entropy, proved by Lieb and Ruskai in 1973 (Lieb–Ruskai), and it underlies most of quantum Shannon theory: the converse bounds of channel coding, the monotonicity of mutual information under local operations, and the security analysis of quantum key distribution all reduce to it. The known proofs rest on operator convexity (Lieb's concavity theorem) or on other non-elementary matrix analysis.

Beaudry and Renner (arXiv:1107.0740v2, Quantum Inf. Comput. 12 (2012) 432) give a proof that avoids operator convexity entirely. It first proves the DPI for a one-shot quantity, the smooth min-entropy, where it follows almost directly from the definition, and then recovers the von Neumann statement through the quantum asymptotic equipartition property (QAEP) of Tomamichel, Colbeck and Renner (arXiv:0811.1221), for which the paper supplies a short self-contained proof.

Timeline. 1973: Lieb–Ruskai prove strong subadditivity. 2009: Tomamichel–Colbeck–Renner prove the QAEP with explicit convergence rates. 2010: Tomamichel–Colbeck–Renner establish the duality and data processing of smooth entropies (arXiv:0907.5238). 2011–2012: Beaudry–Renner assemble these into the route formalized here.

Setting

All Hilbert spaces are finite-dimensional, and all logarithms are base 2. A density matrix is a positive semidefinite matrix of trace one; S=(H)S_=(\mathcal H)S=​(H) is their set and S≤(H)S_\le(\mathcal H)S≤​(H) is the set of subnormalized states (positive semidefinite, trace at most one). A state on HA⊗HB\mathcal H_A\otimes\mathcal H_BHA​⊗HB​ is written ρAB\rho_{AB}ρAB​, and its marginal ρB=Tr⁡AρAB\rho_B=\operatorname{Tr}_A\rho_{AB}ρB​=TrA​ρAB​. The von Neumann entropy is H(A)ρ=−Tr⁡ρAlog⁡ρAH(A)_\rho=-\operatorname{Tr}\rho_A\log\rho_AH(A)ρ​=−TrρA​logρA​ and the conditional entropy H(A∣B)ρ=H(AB)ρ−H(B)ρH(A|B)_\rho=H(AB)_\rho-H(B)_\rhoH(A∣B)ρ​=H(AB)ρ​−H(B)ρ​.

The min-entropy of AAA conditioned on BBB is

Hmin⁡(A∣B)ρ=max⁡{λ∈R:∃ σB∈S=(HB), ρAB≤2−λ 1A⊗σB}.H_{\min}(A|B)_\rho=\max\{\lambda\in\mathbb R : \exists\,\sigma_B\in S_=(\mathcal H_B),\ \rho_{AB}\le 2^{-\lambda}\,\mathbb 1_A\otimes\sigma_B\}.Hmin​(A∣B)ρ​=max{λ∈R:∃σB​∈S=​(HB​), ρAB​≤2−λ1A​⊗σB​}.

The purified distance between subnormalized states is P(ρ,σ)=1−Fˉ(ρ,σ)2P(\rho,\sigma)=\sqrt{1-\bar F(\rho,\sigma)^2}P(ρ,σ)=1−Fˉ(ρ,σ)2​, where Fˉ(ρ,σ)=∥ρσ∥1+(1−Tr⁡ρ)(1−Tr⁡σ)\bar F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1+\sqrt{(1-\operatorname{Tr}\rho)(1-\operatorname{Tr}\sigma)}Fˉ(ρ,σ)=∥ρ​σ​∥1​+(1−Trρ)(1−Trσ)​ is the generalized fidelity. The smooth min-entropy maximizes the min-entropy over the ball Bε(ρ)={ρ′∈S≤:P(ρ,ρ′)≤ε}\mathcal B^\varepsilon(\rho)=\{\rho'\in S_\le : P(\rho,\rho')\le\varepsilon\}Bε(ρ)={ρ′∈S≤​:P(ρ,ρ′)≤ε}:

Hmin⁡ε(A∣B)ρ=max⁡ρ′∈Bε(ρAB)Hmin⁡(A∣B)ρ′.H^\varepsilon_{\min}(A|B)_\rho=\max_{\rho'\in\mathcal B^\varepsilon(\rho_{AB})}H_{\min}(A|B)_{\rho'} .Hminε​(A∣B)ρ​=ρ′∈Bε(ρAB​)max​Hmin​(A∣B)ρ′​.

For nnn independent copies, ρ⊗n\rho^{\otimes n}ρ⊗n is a state on An⊗BnA^n\otimes B^nAn⊗Bn. The non-conditional entropies Hmin⁡(A)ρ=−log⁡∥ρ∥∞H_{\min}(A)_\rho=-\log\|\rho\|_\inftyHmin​(A)ρ​=−log∥ρ∥∞​, H0(A)ρ=log⁡rank⁡ρH_0(A)_\rho=\log\operatorname{rank}\rhoH0​(A)ρ​=logrankρ and Hα(A)ρ=11−αlog⁡Tr⁡ραH_\alpha(A)_\rho=\frac{1}{1-\alpha}\log\operatorname{Tr}\rho^\alphaHα​(A)ρ​=1−α1​logTrρα, and their smoothings over the same ball, appear in the intermediate lemmas.

Formalization targets

Goal: the von Neumann entropy DPI (Theorem 3)

H(A∣BC)ρ≤H(A∣B)ρ(ρ∈S=(HABC)).H(A|BC)_\rho\le H(A|B)_\rho\qquad(\rho\in S_=(\mathcal H_{ABC})).H(A∣BC)ρ​≤H(A∣B)ρ​(ρ∈S=​(HABC​)).

The goal is the existing Open platform theorem QAlgorithms.Papers.Independent.Gap48.P20.strongSubadditivity, which states 0≤H(CB)+H(RB)−H(B)−H(CRB)0\le H(CB)+H(RB)-H(B)-H(CRB)0≤H(CB)+H(RB)−H(B)−H(CRB) for every density matrix on C⊗R⊗BC\otimes R\otimes BC⊗R⊗B; with A↦CA\mapsto CA↦C, C↦RC\mapsto RC↦R this is exactly H(ABC)+H(B)≤H(AB)+H(BC)H(ABC)+H(B)\le H(AB)+H(BC)H(ABC)+H(B)≤H(AB)+H(BC), the expanded form of the inequality above. It is referenced, not restated.

The smooth min-entropy DPI (Theorem 1)

Hmin⁡ε(A∣BC)ρ≤Hmin⁡ε(A∣B)ρ.H^\varepsilon_{\min}(A|BC)_\rho\le H^\varepsilon_{\min}(A|B)_\rho .Hminε​(A∣BC)ρ​≤Hminε​(A∣B)ρ​.

The QAEP (Theorem 2)

lim⁡ε→0lim⁡n→∞1nHmin⁡ε(An∣Bn)ρ⊗n=H(A∣B)ρ,\lim_{\varepsilon\to0}\lim_{n\to\infty}\frac1n H^\varepsilon_{\min}(A^n|B^n)_{\rho^{\otimes n}}=H(A|B)_\rho ,ε→0lim​n→∞lim​n1​Hminε​(An∣Bn)ρ⊗n​=H(A∣B)ρ​,

split into the lower bound (Lemma 4.1) and the upper bound (Lemma 4.2). The milestones below them are the paper's own lemmas: monotonicity of the purified distance (Lemma A.1), Uhlmann's theorem (Theorem A.1, an existing Open platform theorem), the chain rule (Lemma 5.1), the Rényi lower bound (Lemma 5.2), the limit α→1\alpha\to1α→1 of Rényi entropies (Lemma B.2), the non-conditional QAEP for Hmin⁡εH^\varepsilon_{\min}Hminε​ and H0εH^\varepsilon_0H0ε​ (Lemmas 5.4, 5.5), the bound by a nearby conditional entropy (Lemma 5.6), the eigenvalue-alignment bound (Lemma A.2) and the almost-i.i.d. limit (Lemma B.1).

Significance

The DPI for the von Neumann entropy is the single most used inequality in quantum information theory, and strong subadditivity is the structural fact behind it. A machine-checked proof of it is a prerequisite for formalizing essentially any converse theorem of quantum Shannon theory. The QAEP, a milestone here, is independently the bridge between one-shot and asymptotic information theory: it is what makes smooth entropies the right finite-blocklength replacements for the von Neumann entropy.

Both strong subadditivity and the QAEP are proved results; nothing in this mission is open mathematics. What the mission adds is a machine-checked route through one-shot entropies. The goal theorem is Open on the platform: it is posed but has no accepted proof. The milestones of this route, from the smooth min-entropy DPI to the QAEP, are not formalized anywhere on the platform. A completed development would also leave reusable pieces: monotonicity of the purified distance, the chain rule for smooth entropies, and the i.i.d. limits of smooth entropies.

Difficulty

Theorem 1 is short once the purified distance is known to be monotone under trace non-increasing completely positive maps, and that monotonicity (Lemma A.1) is itself the first real obstacle, since it is a statement about the generalized fidelity of subnormalized states. The bulk of the work is the QAEP. Its lower half needs a chain rule that trades conditional for non-conditional entropies at the cost of tripling the smoothing parameter, then precise i.i.d. limits of the non-conditional smooth entropies. The upper half needs a continuity statement for the conditional entropy of states that are only close to ρ⊗n\rho^{\otimes n}ρ⊗n, uniform in nnn after division by nnn. The tempting reading of the double limit as a single limit in nnn at fixed ε\varepsilonε is stronger than what the paper proves; the inner limit's existence is not established there.

Formalization scope

States are complex matrices indexed by finite types; a bipartite state is a matrix on A × B, a tripartite one on A × (B × C) with B × C the conditioning system of H(A∣BC)H(A|BC)H(A∣BC). The smooth conditional min-entropy, the purified distance, the generalized fidelity, the conditional entropy H(A∣B)H(A|B)H(A∣B) and the grouped tensor power ρ⊗n\rho^{\otimes n}ρ⊗n on AnBnA^nB^nAnBn are the published definitions QAlgorithms_Papers_Independent_Information100_P67; the Rényi entropy and Tr⁡C\operatorname{Tr}_CTrC​ come from QAlgorithms_Papers_Independent_Dependency50_P35. Smooth entropies take values in the extended reals, so an empty ball gives −∞-\infty−∞ and a ball containing 000 gives +∞+\infty+∞.

A local definitions module adds the non-conditional entropies Hmin⁡H_{\min}Hmin​, Hmin⁡εH^\varepsilon_{\min}Hminε​, H0H_0H0​, H0εH^\varepsilon_0H0ε​, trace non-increasing Kraus families, and the conditional entropy (36) of a subnormalized state ρ~\tilde\rhoρ~​, 1Tr⁡ρ~max⁡σBTr⁡ρ~(log⁡(1⊗σB)−log⁡ρ~)\frac{1}{\operatorname{Tr}\tilde\rho}\max_{\sigma_B}\operatorname{Tr}\tilde\rho(\log(\mathbb 1\otimes\sigma_B)-\log\tilde\rho)Trρ~​1​maxσB​​Trρ~​(log(1⊗σB​)−logρ~​), with the maximum taken over positive definite σB\sigma_BσB​ so that Lean's convention log⁡0=0\log0=0log0=0 cannot enter. The double limit lim⁡ε→0lim⁡n→∞\lim_{\varepsilon\to0}\lim_{n\to\infty}limε→0​limn→∞​ is read through two predicates: "L≤lim⁡lim⁡fL\le\lim\lim fL≤limlimf" means that for every δ>0\delta>0δ>0 there is ε0>0\varepsilon_0>0ε0​>0 with L−δ≤f(ε,n)L-\delta\le f(\varepsilon,n)L−δ≤f(ε,n) for all ε∈(0,ε0)\varepsilon\in(0,\varepsilon_0)ε∈(0,ε0​) and all large nnn, and "lim⁡lim⁡f≤L\lim\lim f\le Llimlimf≤L" is the mirror statement.

Trivializing encodings are ruled out: the smooth entropies are the published sup over the full subnormalized purified-distance ball, not free reals and not the ball {ρ}\{\rho\}{ρ}; ε\varepsilonε is quantified universally below ε0\varepsilon_0ε0​ and is never allowed to depend on nnn; and the entropy of the nearby state in Lemma 5.6 is (36), not H(AB)−H(B)H(AB)-H(B)H(AB)−H(B).

The paper's Lemma 5.3, (30), is false as printed and is not posed: at ε=0\varepsilon=0ε=0 it states H0≤HαH_0\le H_\alphaH0​≤Hα​ for α<1\alpha<1α<1, the reverse of Rényi monotonicity, and ρ=diag⁡(0.9,0.1)\rho=\operatorname{diag}(0.9,0.1)ρ=diag(0.9,0.1), α=3/4\alpha=3/4α=3/4, ε=0.1\varepsilon=0.1ε=0.1 gives 1>0.86371>0.86371>0.8637. Lemma 5.5, which its proof serves, is true and is a milestone. Uhlmann's theorem (Theorem A.1) is the existing Open platform theorem Claimed50.P12.lemmaB_3.

Contributions of any milestone are welcome. The purified-distance monotonicity and the Rényi-limit lemmas are reusable well beyond this paper.

Selected references

  • N. J. Beaudry and R. Renner, An intuitive proof of the data processing inequality, Quantum Inf. Comput. 12 (2012) 432–441. https://arxiv.org/abs/1107.0740v2
  • E. H. Lieb and M. B. Ruskai, Proof of the strong subadditivity of quantum-mechanical entropy, J. Math. Phys. 14 (1973) 1938–1941. https://doi.org/10.1063/1.1666274
  • M. Tomamichel, R. Colbeck and R. Renner, A fully quantum asymptotic equipartition property, IEEE Trans. Inf. Theory 55 (2009) 5840–5847. https://arxiv.org/abs/0811.1221
  • M. Tomamichel, R. Colbeck and R. Renner, Duality between smooth min- and max-entropies, IEEE Trans. Inf. Theory 56 (2010) 4674–4681. https://arxiv.org/abs/0907.5238
  • B. Schumacher, Quantum coding, Phys. Rev. A 51 (1995) 2738–2747. https://doi.org/10.1103/PhysRevA.51.2738
22 thms4 active usersReviewed
🏆Completed
Linear algebraQuantum Error Correction·Captain: mikedeng1

Quantum LDPC Codes with Positive Rate and Minimum Distance Proportional to n^{1/2}: The Hypergraph Product of a Full-Rank [n,k,d] Parity-Check Matrix with Itself Is an [[n²+(n−k)², k², d]] CSS CodeResearch Paper

Motivation

Quantum computers need error correction, and the codes that are cheapest to run in hardware are quantum low-density parity-check (LDPC) codes: every check involves a bounded number of qubits, and every qubit takes part in a bounded number of checks. For a long time the only well-understood quantum LDPC codes were surface codes such as Kitaev's toric code, whose minimum distance grows like the square root of the length but which encode a fixed number of qubits, so their rate tends to zero. Tillich and Zémor (arXiv:0903.0566; IEEE Transactions on Information Theory, 2014; preliminary version ISIT 2009) gave the first general construction of quantum LDPC codes with positive rate and minimum distance proportional to N\sqrt NN​, from any classical LDPC code. Their hypergraph product became the standard building block of the field.

Timeline.

  • 1996: Calderbank–Shor and Steane introduce CSS codes, quantum codes built from two classical binary codes (quant-ph/9512032, quant-ph/9601029).
  • 1997: Kitaev's toric code: LDPC, distance Θ(N)\Theta(\sqrt N)Θ(N​), dimension 2 (quant-ph/9707021).
  • 2009: Tillich and Zémor: the hypergraph product, with positive rate and distance Θ(N)\Theta(\sqrt N)Θ(N​) (this mission).
  • 2020–2021: distance beyond N\sqrt NN​ for quantum LDPC codes: Nlog⁡N\sqrt N\log NN​logN by Evra, Kaufman and Zémor (arXiv:2004.07935); N3/5N^{3/5}N3/5 up to polylogarithmic factors by Hastings, Haah and O'Donnell (arXiv:2009.03921).
  • 2022: Panteleev and Kalachev construct asymptotically good quantum LDPC codes, using lifted products that generalize the hypergraph product (arXiv:2111.03654).

Setting

All codes are binary linear codes, subspaces of F2ι\mathbb F_2^{\iota}F2ι​ for a finite coordinate set ι\iotaι. The Hamming weight ∣x∣|x|∣x∣ of xxx is its number of nonzero coordinates. The minimum distance d(C)d(\mathcal C)d(C) of a code is the least weight of a nonzero codeword, with the convention d({0})=∞d(\{0\})=\inftyd({0})=∞.

A Tanner graph G=T(V,C,E)\mathcal G=\mathcal T(V,C,E)G=T(V,C,E) is the bipartite graph of a parity-check matrix H∈F2C×VH\in\mathbb F_2^{C\times V}H∈F2C×V​: the variable nodes VVV index the columns, the check nodes CCC index the rows, and c∼vc\sim vc∼v iff Hcv=1H_{cv}=1Hcv​=1. Its code is C=ker⁡H\mathcal C=\ker HC=kerH. The transpose Tanner graph GT\mathcal G^TGT is that of HTH^THT, and its code CT=ker⁡HT\mathcal C^T=\ker H^TCT=kerHT is the transpose code. It depends on the matrix HHH, not only on C\mathcal CC.

A CSS code is a pair (CX,CZ)(\mathcal C_X,\mathcal C_Z)(CX​,CZ​) of codes of the same length NNN with CZ⊥⊆CX\mathcal C_Z^\perp\subseteq\mathcal C_XCZ⊥​⊆CX​. Its quantum dimension and quantum minimum distance are

kQ=dim⁡(CX/CZ⊥),dQ=min⁡(dX,dZ),dX=min⁡{∣x∣:x∈CX∖CZ⊥},k_Q=\dim(\mathcal C_X/\mathcal C_Z^\perp),\qquad d_Q=\min(d_X,d_Z),\quad d_X=\min\{|x|:x\in\mathcal C_X\setminus\mathcal C_Z^\perp\},kQ​=dim(CX​/CZ⊥​),dQ​=min(dX​,dZ​),dX​=min{∣x∣:x∈CX​∖CZ⊥​},

with dZd_ZdZ​ defined symmetrically and min⁡∅=∞\min\emptyset=\inftymin∅=∞.

Given H1∈F2C1×V1H_1\in\mathbb F_2^{C_1\times V_1}H1​∈F2C1​×V1​​ and H2∈F2C2×V2H_2\in\mathbb F_2^{C_2\times V_2}H2​∈F2C2​×V2​​ with Tanner graphs G1,G2\mathcal G_1,\mathcal G_2G1​,G2​, the code Q(G1×G2)\mathcal Q(\mathcal G_1\times\mathcal G_2)Q(G1​×G2​) has qubits (V1×V2)⊔(C1×C2)(V_1\times V_2)\sqcup(C_1\times C_2)(V1​×V2​)⊔(C1​×C2​) and check matrices

HX=(H1⊗IV2 ∣ IC1⊗H2T),HZ=(IV1⊗H2 ∣ H1T⊗IC2),H_X=\big(H_1\otimes I_{V_2}\ \big|\ I_{C_1}\otimes H_2^T\big),\qquad H_Z=\big(I_{V_1}\otimes H_2\ \big|\ H_1^T\otimes I_{C_2}\big),HX​=(H1​⊗IV2​​ ​ IC1​​⊗H2T​),HZ​=(IV1​​⊗H2​ ​ H1T​⊗IC2​​),

with CX=ker⁡HX\mathcal C_X=\ker H_XCX​=kerHX​ and CZ=ker⁡HZ\mathcal C_Z=\ker H_ZCZ​=kerHZ​. Write ki=dim⁡Cik_i=\dim\mathcal C_iki​=dimCi​, kiT=dim⁡CiTk_i^T=\dim\mathcal C_i^TkiT​=dimCiT​, di=d(Ci)d_i=d(\mathcal C_i)di​=d(Ci​) and diT=d(CiT)d_i^T=d(\mathcal C_i^T)diT​=d(CiT​).

Formalization targets

Goal: Theorem 1 (p. 3)

Let HHH be a full-rank (n−k)×n(n-k)\times n(n−k)×n parity-check matrix of an [n,k,d][n,k,d][n,k,d] code. The code Q(G×G)\mathcal Q(\mathcal G\times\mathcal G)Q(G×G) built from two copies of its Tanner graph is a CSS code with

N=n2+(n−k)2,kQ=k2,dQ=d,N=n^2+(n-k)^2,\qquad k_Q=k^2,\qquad d_Q=d,N=n2+(n−k)2,kQ​=k2,dQ​=d,

and each row of HXH_XHX​ and HZH_ZHZ​ has weight i+ji+ji+j, with iii a row weight and jjj a column weight of HHH.

General results

  • Proposition 14 (dimension): kQ=k1k2+k1Tk2Tk_Q=k_1k_2+k_1^Tk_2^TkQ​=k1​k2​+k1T​k2T​ for any two Tanner graphs.
  • Theorem 15 (distance): dQ≥m:=min⁡(d1,d2,d1T,d2T)d_Q\ge m:=\min(d_1,d_2,d_1^T,d_2^T)dQ​≥m:=min(d1​,d2​,d1T​,d2T​), with dQ=md_Q=mdQ​=m whenever di=md_i=mdi​=m and d3−i≠∞d_{3-i}\ne\inftyd3−i​=∞, or diT=md_i^T=mdiT​=m and d3−iT≠∞d_{3-i}^T\ne\inftyd3−iT​=∞, for some i∈{1,2}i\in\{1,2\}i∈{1,2}.

The milestones follow the paper. They are Proposition 4 (validity), eq. (4), Fact 12 and Propositions 9, 10, 13 (product codes and transposes), which lead to Proposition 14. Then come eq. (17), the weight claim and Lemma 16 (lower bound), and the two claims of p. 17 and Lemma 17 (upper bound), which lead to Theorem 15. The degree count of p. 11 gives the row weights.

Significance

The result. The construction needs no orthogonality between the input codes: any two parity-check matrices give a valid CSS code. Its parameters are read off the classical inputs. A family of classical LDPC codes with fixed rate and linear distance therefore gives quantum LDPC codes with fixed rate and distance Θ(N)\Theta(\sqrt N)Θ(N​), and sparse inputs give sparse stabilizers. The toric code is the special case where both inputs are cycle graphs. The hypergraph product is also the base case of the later homological and lifted-product constructions, and the source of the standard decoding and fault-tolerance results for these codes.

Formalizing it. The theorem is proved in the paper; what is missing is a machine-checked proof. The platform holds the toric code's distance and dimension (ToricCode.toric_distance, ToricCode.toric_homologyRank), but over its own chain complex, not over a general construction. This mission produces a reusable layer: Tanner graphs as binary matrices, CSS dimension and distance with the ∞\infty∞ convention, product codes, and the parameters of the hypergraph product for arbitrary finite index sets.

Difficulty

The dimension count is linear algebra once the codes ker⁡HXT\ker H_X^TkerHXT​ and ker⁡HZT\ker H_Z^TkerHZT​ have been identified with product codes. The obstacle is the distance. Lower bounds on the minimum weights of CX\mathcal C_XCX​ and CZ\mathcal C_ZCZ​ themselves are useless: CZ⊥⊆CX\mathcal C_Z^\perp\subseteq\mathcal C_XCZ⊥​⊆CX​ contains the rows of HZH_ZHZ​, which have constant weight, so the minimum weight of CX\mathcal C_XCX​ is bounded by a constant. Any bound of order min⁡(d1,d2,d1T,d2T)\min(d_1,d_2,d_1^T,d_2^T)min(d1​,d2​,d1T​,d2T​) must use the definition of dXd_XdX​ over CX∖CZ⊥\mathcal C_X\setminus\mathcal C_Z^\perpCX​∖CZ⊥​ and show that every low-weight codeword of CX\mathcal C_XCX​ is degenerate, i.e. lies in CZ⊥\mathcal C_Z^\perpCZ⊥​. The upper bound needs an explicit codeword of CX\mathcal C_XCX​ outside CZ⊥\mathcal C_Z^\perpCZ⊥​, and showing that it is not in CZ⊥\mathcal C_Z^\perpCZ⊥​ requires an argument of its own.

Formalization scope

Lean represents a Tanner graph by its matrix H : Matrix C V (ZMod 2) over arbitrary finite index types. The code is ker H, the transpose code is ker Hᵀ, and the dual code is CodingTheory.dualCode from the published definition CodingTheory. Hamming weight is Mathlib's hammingNorm. Minimum distances live in ℕ∞, where the empty infimum is ⊤, the paper's ∞\infty∞. kQk_QkQ​ is the dimension of the quotient of CX\mathcal C_XCX​ by CZ⊥∩CX\mathcal C_Z^\perp\cap\mathcal C_XCZ⊥​∩CX​. In HXH_XHX​ and HZH_ZHZ​ the qubits are ordered (V1×V2)⊔(C1×C2)(V_1\times V_2)\sqcup(C_1\times C_2)(V1​×V2​)⊔(C1​×C2​), as on p. 18. A product code is a set of ι1×ι2\iota_1\times\iota_2ι1​×ι2​ matrices whose columns (fixed second coordinate) lie in the first code. The general results are stated without nonemptiness assumptions; they hold for empty index sets.

Theorem 1 has two disclosed differences from the page:

  • It adds the hypothesis k≤nk\le nk≤n, which is implicit in "[n,k,d][n,k,d][n,k,d]". Without it the matrix has no rows and the dimension claim fails.
  • It drops the word "LDPC", a property of families of codes. Its finite content is the row-weight clause, which is kept.

"There is a construction" is formalized as the paper's construction, the hypergraph product of HHH with itself.

Several encodings would trivialize the statements and are excluded: an N\mathbb NN-valued minimum distance that is 000 on the zero code; dXd_XdX​ taken over CX∖{0}\mathcal C_X\setminus\{0\}CX​∖{0} instead of CX∖CZ⊥\mathcal C_X\setminus\mathcal C_Z^\perpCX​∖CZ⊥​; kQk_QkQ​ computed by truncated natural subtraction; an existential "there is a code with these parameters"; and the transpose code replaced by the dual code.

A complete development needs ranks and kernels of Kronecker products over F2\mathbb F_2F2​, dimensions of product codes (Proposition 9, not in Mathlib), and the restriction of Tanner graphs to induced subgraphs. The product-code and CSS layers are reusable beyond this mission. Proofs of any milestone are welcome, as are alternative arguments for Proposition 14 via the Künneth formula.

Selected references

  • J.-P. Tillich and G. Zémor, Quantum LDPC codes with positive rate and minimum distance proportional to the square root of the blocklength, IEEE Transactions on Information Theory 60(2), 2014; preprint arXiv:0903.0566v2. https://arxiv.org/abs/0903.0566 , https://doi.org/10.1109/TIT.2013.2292061
  • A. R. Calderbank and P. W. Shor, Good quantum error-correcting codes exist, Physical Review A 54, 1996. https://arxiv.org/abs/quant-ph/9512032
  • A. M. Steane, Multiple particle interference and quantum error correction, Proceedings of the Royal Society A 452, 1996. https://arxiv.org/abs/quant-ph/9601029
  • A. Yu. Kitaev, Fault-tolerant quantum computation by anyons, Annals of Physics 303, 2003. https://arxiv.org/abs/quant-ph/9707021
  • F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, North-Holland, 1977, Ch. 18 §2 (product codes).
  • S. Evra, T. Kaufman and G. Zémor, Decodable quantum LDPC codes beyond the √n distance barrier using high-dimensional expanders, FOCS 2020. https://arxiv.org/abs/2004.07935
  • M. B. Hastings, J. Haah and R. O'Donnell, Fiber bundle codes: breaking the N^{1/2} polylog(N) barrier for quantum LDPC codes, STOC 2021. https://arxiv.org/abs/2009.03921
  • P. Panteleev and G. Kalachev, Asymptotically good quantum and locally testable classical LDPC codes, STOC 2022. https://arxiv.org/abs/2111.03654
  • N. P. Breuckmann and J. N. Eberhardt, Quantum low-density parity-check codes, PRX Quantum 2, 2021. https://arxiv.org/abs/2103.06309
18 thms4 active usersReviewed
🏆Completed
Machine LearningStatistics·Captain: mikedeng1

The Statistical Complexity of Interactive Decision Making I: Subadditivity of Squared Hellinger Distance for Sequential Laws, D²_H(P,Q) ≤ 10² log(n)·E_P[Σᵢ D²_H(P⁽ⁱ⁾, Q⁽ⁱ⁾)] for n ≥ 2Research Paper

Motivation

Lower bounds for interactive decision making (bandits, reinforcement learning, and the general decision making with structured observations framework of Foster, Kakade, Qian and Rakhlin, arXiv:2112.13487) compare what a learner observes under two different environments. A learner's whole interaction history is generated one step at a time: each observation is drawn from a conditional law that depends on everything seen before. Statistical estimation guarantees, by contrast, are stated one step at a time, as bounds on the divergence between the conditional laws at each round. Passing from the per-step guarantees to a statement about the laws of entire histories requires a chain rule for the divergence in use.

For the Kullback–Leibler divergence the chain rule is an identity. The paper's guarantees, however, are stated in the squared Hellinger distance, which is bounded, symmetric, and the natural loss for density estimation with the logarithmic loss. Hellinger distance has no exact chain rule. Lemma A.13 of the paper (App. A.2, p. 73) supplies an approximate one, losing a factor logarithmic in the number of steps, and the paper uses it in the proof of its main regret lower bound (Theorem 3.2, via App. C.1.3).

Setting

Fix n∈Nn \in \mathbb Nn∈N and finite sets X1,…,Xn\mathcal X_1, \dots, \mathcal X_nX1​,…,Xn​. A sequence is x=(x1,…,xn)x = (x_1, \dots, x_n)x=(x1​,…,xn​) with xi∈Xix_i \in \mathcal X_ixi​∈Xi​, and x1:i−1=(x1,…,xi−1)x_{1:i-1} = (x_1, \dots, x_{i-1})x1:i−1​=(x1​,…,xi−1​) denotes its prefix; X(i−1)=∏t=1i−1Xt\mathcal X^{(i-1)} = \prod_{t=1}^{i-1} \mathcal X_tX(i−1)=∏t=1i−1​Xt​.

For probability distributions p,qp, qp,q on a finite set, the squared Hellinger distance, the Hellinger distance and the Kullback–Leibler divergence are

DH2(p,q)=∑a(p(a)−q(a))2,DH=DH2,DKL(p ∥ q)=∑ap(a)log⁡p(a)q(a),D^2_{\mathrm H}(p, q) = \sum_a \big(\sqrt{p(a)} - \sqrt{q(a)}\big)^2, \qquad D_{\mathrm H} = \sqrt{D^2_{\mathrm H}}, \qquad D_{\mathrm{KL}}(p\,\|\,q) = \sum_a p(a) \log\frac{p(a)}{q(a)},DH2​(p,q)=a∑​(p(a)​−q(a)​)2,DH​=DH2​​,DKL​(p∥q)=a∑​p(a)logq(a)p(a)​,

the last one set to +∞+\infty+∞ when ppp charges a point that qqq does not. Note that the paper's DH2D^2_{\mathrm H}DH2​ carries no factor 12\tfrac1221​, so 0≤DH2≤20 \le D^2_{\mathrm H} \le 20≤DH2​≤2.

A family of sequential kernels P=(P(i))i=1nP = (P^{(i)})_{i=1}^nP=(P(i))i=1n​ assigns to each iii and each prefix x1:i−1x_{1:i-1}x1:i−1​ a probability distribution P(i)(⋅∣x1:i−1)P^{(i)}(\cdot \mid x_{1:i-1})P(i)(⋅∣x1:i−1​) on Xi\mathcal X_iXi​. Its sequential law is the law of X1,…,XnX_1, \dots, X_nX1​,…,Xn​ under Xi∼P(i)(⋅∣X1:i−1)X_i \sim P^{(i)}(\cdot \mid X_{1:i-1})Xi​∼P(i)(⋅∣X1:i−1​):

P(x)=∏i=1nP(i)(xi∣x1:i−1).\mathbb P(x) = \prod_{i=1}^n P^{(i)}(x_i \mid x_{1:i-1}).P(x)=i=1∏n​P(i)(xi​∣x1:i−1​).

For a second family QQQ with law Q\mathbb QQ, the quantity controlled by per-step estimation is

EP[∑i=1nDH2(P(i)(⋅∣X1:i−1),Q(i)(⋅∣X1:i−1))].\mathbb E_{\mathbb P}\Big[\sum_{i=1}^n D^2_{\mathrm H}\big(P^{(i)}(\cdot \mid X_{1:i-1}), Q^{(i)}(\cdot \mid X_{1:i-1})\big)\Big].EP​[i=1∑n​DH2​(P(i)(⋅∣X1:i−1​),Q(i)(⋅∣X1:i−1​))].

In Lean these are IsSeqKernel, seqLaw and condHellingerSum, with hellingerSq and klDivDiscrete the published discrete divergences.

Formalization targets

Goal: Lemma A.13, (97), for n≥2n \ge 2n≥2

DH2(P,Q)≤102log⁡(n)⋅EP[∑i=1nDH2(P(i)(⋅∣X1:i−1),Q(i)(⋅∣X1:i−1))].D^2_{\mathrm H}(\mathbb P, \mathbb Q) \le 10^2 \log(n) \cdot \mathbb E_{\mathbb P}\Big[\sum_{i=1}^n D^2_{\mathrm H}\big(P^{(i)}(\cdot \mid X_{1:i-1}), Q^{(i)}(\cdot \mid X_{1:i-1})\big)\Big].DH2​(P,Q)≤102log(n)⋅EP​[i=1∑n​DH2​(P(i)(⋅∣X1:i−1​),Q(i)(⋅∣X1:i−1​))].

The constant 10210^2102 is the paper's; the shape that matters downstream is the logarithmic dependence on nnn with no assumption on the kernels beyond their being probability kernels.

Companion: Lemma A.13, (98)

If V≥eV \ge eV≥e and P(i)(A∣x1:i−1)≤V Q(i)(A∣x1:i−1)P^{(i)}(A \mid x_{1:i-1}) \le V\, Q^{(i)}(A \mid x_{1:i-1})P(i)(A∣x1:i−1​)≤VQ(i)(A∣x1:i−1​) for every iii, prefix and event AAA, then DH2(P,Q)≤3log⁡(V)⋅EP[∑iDH2(P(i),Q(i))]D^2_{\mathrm H}(\mathbb P, \mathbb Q) \le 3\log(V) \cdot \mathbb E_{\mathbb P}[\sum_i D^2_{\mathrm H}(P^{(i)}, Q^{(i)})]DH2​(P,Q)≤3log(V)⋅EP​[∑i​DH2​(P(i),Q(i))].

Milestones

  1. Lemma A.10 (p. 72): DKL(p ∥ q)≤(2+log⁡V) DH2(p,q)D_{\mathrm{KL}}(p\,\|\,q) \le (2 + \log V)\, D^2_{\mathrm H}(p, q)DKL​(p∥q)≤(2+logV)DH2​(p,q) under a likelihood-ratio bound VVV (referenced, finite case).
  2. Lemma A.5 (p. 71): DTV2≤DH2≤DKLD^2_{\mathrm{TV}} \le D^2_{\mathrm H} \le D_{\mathrm{KL}}DTV2​≤DH2​≤DKL​ (referenced, finite case).
  3. The triangle inequality for DHD_{\mathrm H}DH​ (proof of Lemma A.13, p. 73).
  4. The chain rule DKL(Q ∥ P)=EQ[∑iDKL(Q(i) ∥ P(i))]D_{\mathrm{KL}}(\mathbb Q\,\|\,\mathbb P) = \mathbb E_{\mathbb Q}[\sum_i D_{\mathrm{KL}}(Q^{(i)}\,\|\,P^{(i)})]DKL​(Q∥P)=EQ​[∑i​DKL​(Q(i)∥P(i))] for sequential laws (p. 73).
  5. Convexity of DH2D^2_{\mathrm H}DH2​ in its second argument (p. 74).
  6. Lemma A.11 (p. 72), the multiplicative Pinsker-type inequality: ∣EPh−EQh∣≤2R(EPh+EQh)DH2(P,Q)|\mathbb E_P h - \mathbb E_Q h| \le \sqrt{2R(\mathbb E_P h + \mathbb E_Q h) D^2_{\mathrm H}(P, Q)}∣EP​h−EQ​h∣≤2R(EP​h+EQ​h)DH2​(P,Q)​ and EPh≤3EQh+4R DH2(P,Q)\mathbb E_P h \le 3\mathbb E_Q h + 4R\, D^2_{\mathrm H}(P, Q)EP​h≤3EQ​h+4RDH2​(P,Q) for 0≤h≤R0 \le h \le R0≤h≤R.

Significance

The result. Inequality (97) converts per-round Hellinger estimation error into a bound on the Hellinger distance between the laws of complete interaction histories, under no boundedness assumption on likelihood ratios. In the paper this is the step that lets the lower bound of Theorem 3.2 relate any algorithm's behaviour under a reference model to its behaviour under alternatives, and hence express the minimax regret through the decision-estimation coefficient. Without it, only the KL chain rule is available, which requires bounded likelihood ratios (the situation of (98)) or loses more than a logarithmic factor. Lemma A.11, a milestone here, is used independently in the same lower bound and in the paper's tabular reinforcement learning analysis.

Formalizing it. The lemma is proved in the paper; no machine-checked proof exists. The published layer on the platform has the discrete divergences and the comparisons of Lemmas A.5 and A.10; the sequential-law objects, the triangle inequality, the convexity of DH2D^2_{\mathrm H}DH2​, the discrete chain rule and Lemma A.11 are new. A completed development gives a reusable chain-rule toolkit for any later formalization of lower bounds over adaptive interaction histories.

Difficulty

The squared Hellinger distance does not tensorize along adaptive sequences: the natural attempt to write 1−12DH2(P,Q)1 - \tfrac12 D^2_{\mathrm H}(\mathbb P, \mathbb Q)1−21​DH2​(P,Q) as a product of conditional affinities fails because the conditional affinities are random, depending on the prefix, and their expectation does not factor. Bounding DH2D^2_{\mathrm H}DH2​ by DKLD_{\mathrm{KL}}DKL​ and applying the KL chain rule fails in the other direction: the conditional KL divergences are not controlled by the conditional Hellinger distances unless the likelihood ratios are bounded, and in (97) they are not. The difficulty is to obtain a bound that pays only log⁡n\log nlogn for an unbounded ratio, with explicit constants that survive the final numerical comparison.

Formalization scope

  • Finite alphabets. The paper works over measurable spaces. This mission formalizes the finite-alphabet case, as the published FoundationsRL divergence layer does: each Xi\mathcal X_iXi​ is a Fintype, distributions are probability vectors, expectations are finite sums. Coordinates are indexed by Fin n (0-based) and the alphabets may differ from coordinate to coordinate.
  • Kernels. A kernel family is a function P i x of the whole sequence that is a probability vector and depends only on the coordinates j < i; this is what makes seqLaw P the law the paper describes.
  • Added hypothesis n≥2n \ge 2n≥2 in (97). The paper states (97) for every nnn; at n=1n = 1n=1 the right side vanishes because log⁡1=0\log 1 = 0log1=0 while the left side is positive whenever P(1)≠Q(1)P^{(1)} \ne Q^{(1)}P(1)=Q(1), and the proof's last step 2(6log⁡(96n)+1896n)≤102log⁡n2(6\log(96n) + \tfrac{18}{96n}) \le 10^2\log n2(6log(96n)+96n18​)≤102logn holds only for n≥2n \ge 2n≥2. The goal is stated for n≥2n \ge 2n≥2, with the constant unchanged.
  • Likelihood ratios are stated multiplicatively, P(A)≤V Q(A)P(A) \le V\,Q(A)P(A)≤VQ(A), so that a zero denominator does not make a hypothesis vacuous; KL divergences are compared to Hellinger distances in [0,∞][0, \infty][0,∞].
  • Lemma A.11 holds "almost surely under PPP and QQQ", which becomes: 0≤h≤R0 \le h \le R0≤h≤R at every point charged by PPP or QQQ.
  • Ruling out trivial forms. The goal's hypotheses are satisfiable with P≠Q\mathbb P \ne \mathbb QP=Q and n≥2n \ge 2n≥2 (checked in a sanity file). A formalization in which the kernels may read coordinates beyond the prefix, in which log⁡\loglog is applied to n≤1n \le 1n≤1, or in which the ratio bound of (98) is checked through a quotient that is vacuous at zero denominators, is not the paper's statement.

Contributions welcome: proofs of any milestone and of the fact that seqLaw is a probability vector.

Selected references

  • D. J. Foster, S. M. Kakade, J. Qian, A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv:2112.13487v3, 2023. https://arxiv.org/abs/2112.13487
  • Y. Yang, A. Barron, An asymptotic property of model selection criteria, IEEE Transactions on Information Theory 44(1), 1998. https://doi.org/10.1109/18.650993
  • Y. Polyanskiy, Y. Wu, Lecture Notes on Information Theory, 2014. https://people.lids.mit.edu/yp/homepage/data/itlectures_v5.pdf
  • D. J. Foster, A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730v1, 2023. https://arxiv.org/abs/2312.16730
23 thms4 active users
🏆Completed
Machine LearningProbabilityStatistics·Captain: mikedeng1

Information-Theoretic Analysis of Generalization Capability of Learning Algorithms I: The Expected Generalization Error Is at Most √(2σ²I(S;W)/n) (Theorem 1)Research Paper

Motivation

A learning algorithm trained on a finite sample generalizes when its empirical risk on that sample is close to its risk on fresh data. Classical guarantees come from uniform convergence over the hypothesis class (VC dimension, Rademacher complexity) or from algorithmic stability, such as uniform stability (Bousquet and Elisseeff, 2002) and on-average stability (Shalev-Shwartz et al., 2010). Both families look at the class or at the algorithm's worst-case sensitivity, not at how much the trained hypothesis actually depends on the data it was trained on.

Russo and Zou (arXiv:1511.05219, 2016) bounded the bias of adaptive data analysis by mutual information, and Xu and Raginsky (arXiv:1705.07809, NIPS 2017) turned this into a generalization bound for learning algorithms: the expected generalization error is at most 2σ2I(S;W)/n\sqrt{2\sigma^2 I(S;W)/n}2σ2I(S;W)/n​, where I(S;W)I(S;W)I(S;W) is the mutual information between the training sample and the output hypothesis. This bound started the line of information-theoretic generalization bounds, later refined to individual-sample mutual information (Bu, Zou and Veeravalli, 2020), conditional mutual information (Steinke and Zakynthinou, 2020) and chaining variants (Asadi, Abbe and Verdú, 2018).

Timeline:

  • 2016, Russo and Zou: bias of adaptive analysis bounded by I(ΛW(S);W)I(\Lambda_{\mathsf W}(S);W)I(ΛW​(S);W), the information carried by the vector of empirical risks, for a finite hypothesis space.
  • 2017, Xu and Raginsky: the bound with the input–output mutual information I(S;W)I(S;W)I(S;W), for arbitrary hypothesis spaces (Theorem 1); high-probability versions and an analysis of the Gibbs algorithm.
  • 2018–2020: chaining, individual-sample and conditional mutual information refinements.

Setting

There is an instance space Z\mathsf ZZ, a hypothesis space W\mathsf WW and a nonnegative loss ℓ:W×Z→R+\ell:\mathsf W\times\mathsf Z\to\mathbb R_+ℓ:W×Z→R+​, written ℓ : W → Z → ℝ in Lean. Data are drawn from an unknown probability measure μ\muμ on Z\mathsf ZZ; a dataset of size nnn is an i.i.d. sample S=(Z1,…,Zn)∼μ⊗nS=(Z_1,\dots,Z_n)\sim\mu^{\otimes n}S=(Z1​,…,Zn​)∼μ⊗n (sampleLaw μ n).

A learning algorithm is a Markov kernel PW∣SP_{W|S}PW∣S​ (κ : Kernel (Fin n → Z) W): given the dataset, it outputs a random hypothesis WWW. The pair (S,W)(S,W)(S,W) has joint law PS,W=μ⊗n⊗PW∣SP_{S,W}=\mu^{\otimes n}\otimes P_{W|S}PS,W​=μ⊗n⊗PW∣S​ (sampleLaw μ n ⊗ₘ κ), with marginals PS=μ⊗nP_S=\mu^{\otimes n}PS​=μ⊗n and PWP_WPW​.

The population risk and the empirical risk of a hypothesis www are

Lμ(w)=∫Zℓ(w,z) μ(dz),LS(w)=1n∑i=1nℓ(w,Zi)L_\mu(w)=\int_{\mathsf Z}\ell(w,z)\,\mu(dz),\qquad L_S(w)=\frac1n\sum_{i=1}^n \ell(w,Z_i)Lμ​(w)=∫Z​ℓ(w,z)μ(dz),LS​(w)=n1​i=1∑n​ℓ(w,Zi​)

(risk ℓ μ w, empRisk ℓ s w). The expected generalization error is

gen(μ,PW∣S)=E[Lμ(W)−LS(W)],\mathrm{gen}(\mu,P_{W|S})=\mathbb E\big[L_\mu(W)-L_S(W)\big],gen(μ,PW∣S​)=E[Lμ​(W)−LS​(W)],

the expectation taken under PS,WP_{S,W}PS,W​ (genError ℓ μ κ).

The mutual information of a pair (X,Y)(X,Y)(X,Y) with joint law PX,YP_{X,Y}PX,Y​ is the relative entropy I(X;Y)=D(PX,Y ∥ PX⊗PY)∈[0,∞]I(X;Y)=D(P_{X,Y}\,\|\,P_X\otimes P_Y)\in[0,\infty]I(X;Y)=D(PX,Y​∥PX​⊗PY​)∈[0,∞] (mutualInfo). A real random variable UUU is σ\sigmaσ-subgaussian if log⁡E[eλ(U−EU)]≤λ2σ2/2\log\mathbb E[e^{\lambda(U-\mathbb EU)}]\le\lambda^2\sigma^2/2logE[eλ(U−EU)]≤λ2σ2/2 for all λ∈R\lambda\in\mathbb Rλ∈R.

Formalization targets

Goal: Theorem 1 (p. 4)

If ℓ(w,Z)\ell(w,Z)ℓ(w,Z) is σ\sigmaσ-subgaussian under μ\muμ for every w∈Ww\in\mathsf Ww∈W, then

∣gen(μ,PW∣S)∣≤2σ2n I(S;W).\big|\mathrm{gen}(\mu,P_{W|S})\big|\le\sqrt{\frac{2\sigma^2}{n}\,I(S;W)} .​gen(μ,PW∣S​)​≤n2σ2​I(S;W)​.

The statement fixes no structure on W\mathsf WW (it may be uncountable) and no bound on the loss beyond subgaussianity.

Milestones

  1. (A.1), Donsker–Varadhan (p. 11), the inequality ∫F dπ−D(π∥ρ)≤log⁡∫eF dρ\int F\,d\pi-D(\pi\|\rho)\le\log\int e^F\,d\rho∫Fdπ−D(π∥ρ)≤log∫eFdρ. Already proved on the platform and referenced.
  2. Lemma 1 (p. 3), the decoupling estimate: if f(Xˉ,Yˉ)f(\bar X,\bar Y)f(Xˉ,Yˉ) is σ\sigmaσ-subgaussian under PX⊗PYP_X\otimes P_YPX​⊗PY​, then
∣Ef(X,Y)−Ef(Xˉ,Yˉ)∣≤2σ2I(X;Y).\big|\mathbb E f(X,Y)-\mathbb E f(\bar X,\bar Y)\big|\le\sqrt{2\sigma^2 I(X;Y)} .​Ef(X,Y)−Ef(Xˉ,Yˉ)​≤2σ2I(X;Y)​.
  1. Subgaussianity of the empirical risk (§3.2, p. 4): for every www, LS(w)−Lμ(w)L_S(w)-L_\mu(w)LS​(w)−Lμ​(w) is σ/n\sigma/\sqrt nσ/n​-subgaussian under μ⊗n\mu^{\otimes n}μ⊗n.
  2. The mixture step (§3.2, p. 4, corrected): under PS⊗PWP_S\otimes P_WPS​⊗PW​, f(Sˉ,Wˉ)=LSˉ(Wˉ)−Lμ(Wˉ)f(\bar S,\bar W)=L_{\bar S}(\bar W)-L_\mu(\bar W)f(Sˉ,Wˉ)=LSˉ​(Wˉ)−Lμ​(Wˉ) is σ/n\sigma/\sqrt nσ/n​-subgaussian with mean 000.

Significance

The result. Theorem 1 makes generalization a property of the dependence between data and output rather than of the size of the hypothesis class. It applies to randomized algorithms on uncountable or infinite-dimensional hypothesis spaces, where uniform convergence gives nothing, and to unbounded subgaussian losses. Any mechanism that limits I(S;W)I(S;W)I(S;W), such as noise injection, differential privacy, compression or relative-entropy regularization, inherits a generalization guarantee. A loss with values in [a,b][a,b][a,b] is (b−a)/2(b-a)/2(b−a)/2-subgaussian for every μ\muμ, so the theorem covers all bounded losses. The bound is also the template for the later refinements listed above, which share Lemma 1's decoupling argument.

Formalizing it. The result is proved on paper; no machine-checked proof is known. A formalization supplies a reusable statement of mutual information as a relative entropy of a joint law on general measurable spaces, a decoupling lemma for subgaussian functions, and the mixture argument for subgaussian families, all of which recur in the later literature. It also settles a point the paper leaves loose: the printed proof applies Lemma 1 to the uncentred empirical risk, which is not subgaussian in general; the milestones state the corrected step.

Difficulty

The two halves of the proof are short on paper, but each step that "follows" uses a fact the page does not state. The decoupling estimate needs Ef(X,Y)\mathbb E f(X,Y)Ef(X,Y) to be finite, which holds only because finite relative entropy and exponential integrability under the product together force integrability under the joint law. The mixture step needs the moment-generating-function bound of each section w↦f(⋅,w)w\mapsto f(\cdot,w)w↦f(⋅,w) to integrate over PWP_WPW​, which requires joint measurability and the centring of every section at its own mean: the uncentred empirical risk LSˉ(Wˉ)L_{\bar S}(\bar W)LSˉ​(Wˉ) mixes laws with different means and is not subgaussian.

A natural first attempt applies Lemma 1 directly to f(s,w)=Ls(w)f(s,w)=L_s(w)f(s,w)=Ls​(w) as printed; it fails on the example ℓ(w,z)=w\ell(w,z)=wℓ(w,z)=w with WWW uniform on {0,1}\{0,1\}{0,1} and independent of SSS.

Formalization scope

  • Objects. The sample law, LμL_\muLμ​ and LSL_SLS​ are reused from the published LearnStability.Characterization.Setting. This mission defines mutualInfo P := klDiv P (P.fst.prod P.snd) (values in [0,∞][0,\infty][0,∞]) and genError, the integral of the pointwise difference Lμ(w)−Ls(w)L_\mu(w)-L_s(w)Lμ​(w)−Ls​(w) under sampleLaw μ n ⊗ₘ κ. Samples are Fin n → Z; the algorithm is a Markov kernel.
  • Subgaussianity is Mathlib's HasSubgaussianMGF of the centred variable, whose parameter is the variance proxy: σ2\sigma^2σ2 for the loss, σ2/n\sigma^2/nσ2/n for the empirical risk.
  • Added hypotheses, all implicit on the page: n≥1n\ge1n≥1 (the bound divides by nnn); joint measurability of ℓ\ellℓ (so that Lμ(W)L_\mu(W)Lμ​(W) and LS(W)L_S(W)LS​(W) are random variables); and I≠∞I\ne\inftyI=∞ in Lemma 1 and Theorem 1, because Lean's conversion of ∞\infty∞ to a real number gives 000, which would turn the page's vacuous bound into a false claim. The page's nonnegativity of ℓ\ellℓ is kept. No integrability hypothesis on fff or on the losses is assumed beyond subgaussianity.
  • Correction of the print. The page says that f(Sˉ,Wˉ)=LSˉ(Wˉ)f(\bar S,\bar W)=L_{\bar S}(\bar W)f(Sˉ,Wˉ)=LSˉ​(Wˉ) is σ/n\sigma/\sqrt nσ/n​-subgaussian; milestone 4 states it for the centred LSˉ(Wˉ)−Lμ(Wˉ)L_{\bar S}(\bar W)-L_\mu(\bar W)LSˉ​(Wˉ)−Lμ​(Wˉ), together with its mean being 000. Equation (9) is not posed separately.
  • Ruled out. The goal is stated for genError and the mutual information of the algorithm's own joint law; a version through Lemma 1's abstract pair (Xˉ,Yˉ)(\bar X,\bar Y)(Xˉ,Yˉ), through I(ΛW(S);W)I(\Lambda_{\mathsf W}(S);W)I(ΛW​(S);W) (Theorem 2, out of scope), or with III truncated to a real number would not be this theorem.
  • Infrastructure. Integrability transfer from PX⊗PYP_X\otimes P_YPX​⊗PY​ to PX,YP_{X,Y}PX,Y​ under finite relative entropy; sums of independent subgaussian variables on Measure.pi (Mathlib has HasSubgaussianMGF.sum_of_iIndepFun); mixtures of mean-zero subgaussian families under a product measure. These are reusable beyond this mission, and contributions of each are welcome.

Selected references

  • A. Xu, M. Raginsky, Information-theoretic analysis of generalization capability of learning algorithms, NIPS 2017; arXiv:1705.07809v2. https://arxiv.org/abs/1705.07809
  • D. Russo, J. Zou, Controlling bias in adaptive data analysis using information theory, AISTATS 2016. https://arxiv.org/abs/1511.05219
  • S. Shalev-Shwartz, O. Shamir, N. Srebro, K. Sridharan, Learnability, stability and uniform convergence, JMLR 11, 2010. https://jmlr.org/papers/v11/shalev-shwartz10a.html
  • O. Bousquet, A. Elisseeff, Stability and generalization, JMLR 2, 2002. https://www.jmlr.org/papers/v2/bousquet02a.html
  • S. Boucheron, G. Lugosi, P. Massart, Concentration Inequalities, Oxford University Press, 2013 (Donsker–Varadhan, Cor. 4.15). https://doi.org/10.1093/acprof:oso/9780199535255.001.0001
  • A. Asadi, E. Abbe, S. Verdú, Chaining mutual information and tightening generalization bounds, NeurIPS 2018. https://arxiv.org/abs/1806.03803
  • Y. Bu, S. Zou, V. Veeravalli, Tightening mutual information based bounds on generalization error, IEEE JSAIT 2020. https://arxiv.org/abs/1901.04609
  • T. Steinke, L. Zakynthinou, Reasoning about generalization via conditional mutual information, COLT 2020. https://arxiv.org/abs/2001.09122
7 thms4 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Bootstrap Robust Prescriptive Analytics 3: Any Distance Exceeding the Bootstrap Distance Near Some D Loses the Disappointment Rate −rResearch Paper

Motivation

Data-driven decision making estimates the cost of a decision from training data and then optimizes that estimate. The optimized estimate is biased downwards: the decision that looks best on the training data tends to disappoint on fresh data. Distributionally robust optimization counters this by optimizing the worst case of the estimate over all distributions within a radius rrr of the empirical distribution, measured by a chosen distance function RRR. Many distance functions are in use (φ-divergences, Wasserstein distances, moment sets), and the choice is usually justified by tractability.

Bertsimas and Van Parys, Bootstrap robust prescriptive analytics (arXiv:1711.09974v2), measure disappointment on bootstrap data: resamples drawn with replacement from the training data. Their Theorem 6 shows that with the entropic bootstrap distance BBB the bootstrap disappointment decays exponentially in the sample size at rate at least rrr. Proposition 1, the subject of this mission, is the converse: BBB is the smallest distance function with this guarantee. Any distance that is strictly larger than BBB near some distribution admits a nominal formulation whose disappointment decays strictly slower than e−nre^{-nr}e−nr. The result is in the spirit of Van Parys, Esfahani and Kuhn (arXiv:1704.04118), where the relative entropy is shown to be the optimal ambiguity set for i.i.d. data.

Setting

The distinct training points form a finite set Ωn\Omega_nΩn​, written ι\iotaι in Lean. A distribution on it is a vector D∈RιD\in\mathbb R^\iotaD∈Rι with nonnegative entries summing to one; the simplex of all such vectors is Dn\mathcal D_nDn​. The training data have the empirical distribution Dtr∈DnD_{\rm tr}\in\mathcal D_nDtr​∈Dn​, which gives positive weight to every point of Ωn\Omega_nΩn​.

The bootstrap distance (Definition 6, Eq. (27)) is the relative entropy

B(D,D′)=∑i∈ιDilog⁡DiDi′,B(D,D')=\sum_{i\in\iota}D_i\log\frac{D_i}{D'_i},B(D,D′)=i∈ι∑​Di​logDi′​Di​​,

with 0log⁡0=00\log0=00log0=0 and B(D,D′)=+∞B(D,D')=+\inftyB(D,D′)=+∞ if some Di>0=Di′D_i>0=D'_iDi​>0=Di′​.

A distribution distance function (Definition 4) is a map R:Dn×Dn→(−∞,+∞]R:\mathcal D_n\times\mathcal D_n\to(-\infty,+\infty]R:Dn​×Dn​→(−∞,+∞] that is nonnegative, vanishes exactly on the diagonal (R(D′,D)=0R(D',D)=0R(D′,D)=0 iff D′=DD'=DD′=D), and is convex in its first argument. BBB is one.

A bootstrap sample of size nnn is nnn independent draws from DtrD_{\rm tr}Dtr​ (Eq. (14)); its law is the product DtrnD_{\rm tr}^nDtrn​, and its empirical distribution is Dbs[n]D_{{\rm bs}[n]}Dbs[n]​, the frequency of each point of ι\iotaι among the nnn draws.

A nominal formulation here is a loss G:ι→R+G:\iota\to\mathbb R_+G:ι→R+​ with cost estimator ED[G]=∑iDiGi\mathbb E_D[G]=\sum_iD_iG_iED​[G]=∑i​Di​Gi​. Its robust counterpart (Eq. (24)) replaces the estimate by sup⁡{ED′[G]:D′∈Dn, R(D′,Dtr)≤r}\sup\{\mathbb E_{D'}[G]: D'\in\mathcal D_n,\ R(D',D_{\rm tr})\le r\}sup{ED′​[G]:D′∈Dn​, R(D′,Dtr​)≤r}, and its disappointment set is

R={D∈Dn: ED[G]>sup⁡D′∈Dn, R(D′,Dtr)≤rED′[G]},\mathcal R=\Big\{D\in\mathcal D_n:\ \mathbb E_D[G]>\sup_{D'\in\mathcal D_n,\ R(D',D_{\rm tr})\le r}\mathbb E_{D'}[G]\Big\},R={D∈Dn​: ED​[G]>D′∈Dn​, R(D′,Dtr​)≤rsup​ED′​[G]},

the bootstrap distributions on which the realized cost exceeds the robust budget.

Formalization targets

Goal: Proposition 1 (p. 16)

Let RRR be a distribution distance function, D∈DnD\in\mathcal D_nD∈Dn​ with B(D,Dtr)=rB(D,D_{\rm tr})=rB(D,Dtr​)=r, and N⊆Dn\mathcal N\subseteq\mathcal D_nN⊆Dn​ a neighbourhood of DDD, open in Dn\mathcal D_nDn​, on which R(⋅,Dtr)>rR(\cdot,D_{\rm tr})>rR(⋅,Dtr​)>r. Then there is a loss G≥0G\ge0G≥0 whose disappointment set satisfies

−r<lim inf⁡n→∞1nlog⁡Dtr∞[Dbs[n]∈R],-r<\liminf_{n\to\infty}\frac1n\log D^\infty_{\rm tr}\big[D_{{\rm bs}[n]}\in\mathcal R\big],−r<n→∞liminf​n1​logDtr∞​[Dbs[n]​∈R],

stated in Lean in the equivalent form: for some ε>0\varepsilon>0ε>0, eventually Dtrn[Dbs[n]∈R]≥e−n(r−ε)D^n_{\rm tr}[D_{{\rm bs}[n]}\in\mathcal R]\ge e^{-n(r-\varepsilon)}Dtrn​[Dbs[n]​∈R]≥e−n(r−ε).

Milestones (Appendix B.2, p. 27, and Eq. (31), p. 16)

  1. Separation. The RRR-ball {R(⋅,Dtr)≤r}\{R(\cdot,D_{\rm tr})\le r\}{R(⋅,Dtr​)≤r} and a convex open N\mathcal NN on which R>rR>rR>r are separated by a linear functional: ED[G]≤a<ED′[G]\mathbb E_D[G]\le a<\mathbb E_{D'}[G]ED​[G]≤a<ED′​[G].
  2. Inclusion. For such GGG and aaa, int N=N⊆R{\rm int}\,\mathcal N=\mathcal N\subseteq\mathcal RintN=N⊆R.
  3. Sanov's lower bound (31). −inf⁡D∈int CB(D,Dtr)≤lim inf⁡n1nlog⁡Dtr∞[Dbs[n]∈C]-\inf_{D\in{\rm int}\,\mathcal C}B(D,D_{\rm tr})\le\liminf_n\frac1n\log D^\infty_{\rm tr}[D_{{\rm bs}[n]}\in\mathcal C]−infD∈intC​B(D,Dtr​)≤liminfn​n1​logDtr∞​[Dbs[n]​∈C] for every set C\mathcal CC.
  4. Convexity step. B(λD+(1−λ)Dtr,Dtr)≤λB(D,Dtr)+(1−λ)B(Dtr,Dtr)<rB(\lambda D+(1-\lambda)D_{\rm tr},D_{\rm tr})\le\lambda B(D,D_{\rm tr})+(1-\lambda)B(D_{\rm tr},D_{\rm tr})<rB(λD+(1−λ)Dtr​,Dtr​)≤λB(D,Dtr​)+(1−λ)B(Dtr​,Dtr​)<r for λ∈(0,1)\lambda\in(0,1)λ∈(0,1).
  5. Infimum below rrr. inf⁡D′∈NB(D′,Dtr)<r\inf_{D'\in\mathcal N}B(D',D_{\rm tr})<rinfD′∈N​B(D′,Dtr​)<r.

Significance

Proposition 1 turns Theorem 6 from a sufficient condition into a characterization. Theorem 6 says the bootstrap distance guarantees disappointment rate rrr; Proposition 1 says no distance function that is larger than BBB on an open set does, for some nominal formulation. A practitioner who wants the bootstrap guarantee with the least conservative ambiguity set therefore has no better choice than BBB in this sense. The result is one instance of a pattern in data-driven optimization, where large-deviation rate functions appear as the optimal ambiguity sets.

The paper's proof is a short combination of three standard facts: strict separation of convex sets, Sanov's theorem, and convexity of relative entropy. None of the three is available on the platform in the form needed. Sanov's theorem for empirical distributions on a finite alphabet has no machine-checked proof in Mathlib or on the platform; the lower bound (31) is a self-contained, reusable result of independent interest. The separation step needs strict separation inside the affine hull of the simplex, which Mathlib provides only in the ambient vector space. The result is proved on paper; none of it is formalized.

Difficulty

The separation and convexity steps are routine once the relative topology of the simplex is handled. The central difficulty is the lower bound (31), a large-deviation lower bound for the empirical distribution of i.i.d. draws. The bootstrap probability of an event is a sum of multinomial probabilities over the empirical distributions with denominator nnn that fall in the event, and the bound must hold for every point of the relative interior, including points on the boundary of the simplex, where some coordinates vanish and the distance BBB is not differentiable. An argument that only treats distributions of full support, or only open sets of Rι\mathbb R^\iotaRι, does not cover these points.

A second difficulty is bookkeeping between the three topologies in play: the ambient space Rι\mathbb R^\iotaRι, the simplex Dn\mathcal D_nDn​, and the affine hull in which separation takes place.

Formalization scope

  • Ωn\Omega_nΩn​ is a finite type ι\iotaι with decidable equality; distributions are stdSimplex ℝ ι. Covariates, responses, neighbourhood weights and the decision zzz are abstracted away: the nominal formulation is the estimator D↦∑iDiGiD\mapsto\sum_iD_iG_iD↦∑i​Di​Gi​ (the estimator (18) with k=nk=nk=n and unit weights), so the robust prescription ztrr(x0)z^r_{\rm tr}(x_0)ztrr​(x0​) plays no role.
  • DtrD_{\rm tr}Dtr​ has all coordinates positive (the support convention of the paper).
  • BBB and RRR are EReal-valued; convexity of RRR is written out in EReal. The supremum defining R\mathcal RR is an EReal supremum. It is never empty, because DtrD_{\rm tr}Dtr​ lies in the RRR-ball, so R\mathcal RR cannot collapse to all of Dn\mathcal D_nDn​.
  • The bootstrap law is the nnn-fold product Measure.pi of ∑iDtr,i δi\sum_iD_{{\rm tr},i}\,\delta_i∑i​Dtr,i​δi​, with DtrD_{\rm tr}Dtr​ fixed while n→∞n\to\inftyn→∞.
  • "Open" and "int" are relative to Dn\mathcal D_nDn​. With the ambient topology, no nonempty subset of the simplex is open and every interior is empty, which would make Proposition 1 and (31) vacuous; this formalization rules that out, as it rules out a junk real logarithm (log⁡0=0\log0=0log0=0) by using the explicit-ε\varepsilonε form of every rate statement.
  • Disclosed additions: the separation milestone assumes N\mathcal NN is convex, nonempty and inside the relative interior of the simplex; the infimum milestone assumes r>0r>0r>0, which holds in Proposition 1.

A complete development needs the method of types on a finite alphabet, strict separation in an affine subspace, and the convexity of relative entropy. The method-of-types lower bound is reusable well beyond this mission (hypothesis testing, large deviations of empirical measures). Proofs of any milestone, and alternative proofs of (31), are welcome.

Selected references

  • D. Bertsimas, B. Van Parys, Bootstrap robust prescriptive analytics, arXiv:1711.09974v2, 2021; Mathematical Programming, 2021. https://arxiv.org/abs/1711.09974
  • A. Dembo, O. Zeitouni, Large Deviations Techniques and Applications, 2nd ed., Springer, 2009 (Theorem 6.2.10, Sanov's theorem). https://doi.org/10.1007/978-3-642-03311-7
  • B. Van Parys, P. Mohajerin Esfahani, D. Kuhn, From data to decisions: distributionally robust optimization is optimal, Management Science 67(6), 2021. https://arxiv.org/abs/1704.04118
  • I. Csiszár, The method of types, IEEE Transactions on Information Theory 44(6), 1998. https://doi.org/10.1109/18.720546
  • B. Efron, The Jackknife, the Bootstrap and Other Resampling Plans, SIAM, 1982. https://doi.org/10.1137/1.9781611970319
9 thms4 active usersReviewed
🏆Completed
Probability·Captain: wurtle

Sharp binary-information contraction on the discrete cubeResearch Paper

Motivation

Draw nnn independent fair bits XXX, compute a one-bit summary f(X)f(X)f(X), and send the bits through independent binary symmetric channels with crossover probability ε\varepsilonε, producing YYY. Which summary tells the receiver the most about YYY? Kumar and Courtade conjectured that a single coordinate, f(X)=X1f(X)=X_1f(X)=X1​, is optimal: I(f(X);Y)≤1−h2(ε)I(f(X);Y)\le 1-h_2(\varepsilon)I(f(X);Y)≤1−h2​(ε) bits for every Boolean fff, in every dimension and at every noise level (ISIT 2013; IEEE Trans. Inf. Theory 2014). The Courtade–Kumar (most informative Boolean function) conjecture is a basic question about how noise destroys information on the discrete cube, connecting information theory with Boolean Fourier analysis and hypercontractivity.

This mission asks for a formal proof of a sharp contraction theorem for arbitrary randomized binary summaries, whose Boolean case is the Courtade–Kumar conjecture, as stated in an OpenAI preprint dated September 24, 2026 (source). The preprint has not been peer reviewed and its claims have not been independently verified; on the platform the Lean goal is open.

Background

  • 1970–1976 — Hypercontractivity on the cube (Bonami, Ann. Inst. Fourier 1970; Gross, Amer. J. Math. 1975; Beckner, Annals 1975); Mrs. Gerber's lemma (Wyner–Ziv, IEEE TIT 1973).
  • 2013–2014 — Kumar and Courtade pose the conjecture and prove a coordinatewise sum bound.
  • 2016 — High-noise results: Ordentlich, Shayevitz and Weinstein for balanced functions (ISIT 2016); Samorodnitsky for all Boolean functions in a dimension-independent high-noise range (IEEE TIT 2016).
  • 2018 — Pichler, Piantanida and Matz prove coordinate optimality when the observation is also reduced to one bit (Ann. Appl. Probab. 2018).
  • 2020–2023 — Barnes–Özgür's symmetrized reformulation (ISIT 2020); Li–Médard on fixed-mean optimizers (IEEE TIT 2021); Yu's Φ\PhiΦ-stability (PTRF 2023).
  • 2025–2026 — Chen, Gohari and Nair's differential (entropy-production) approach; independent preprints announcing proofs by Chen, Gohari, Javanmard, Lin, Mirrokni, Nair and Woodruff (arXiv:2609.24931), Ky and Tran (arXiv:2609.24184), Mahdavifar and Beirami (arXiv:2609.26444), and a bias-retaining finite-noise bound by Kramer and Saglam.
  • September 2026 — The OpenAI preprint (Theorems 1.1 and 1.3, Corollary 1.2, pp. 1–4).

Setting

Let Ωn={−1,1}n\Omega_n=\{-1,1\}^nΩn​={−1,1}n with uniform measure; information is in nats unless stated. For r∈[−1,1]r\in[-1,1]r∈[−1,1] put

L=log⁡2,H(r)=−1+r2log⁡1+r2−1−r2log⁡1−r2,ψ(r)=L−H(r),L=\log2,\quad H(r)=-\tfrac{1+r}2\log\tfrac{1+r}2-\tfrac{1-r}2\log\tfrac{1-r}2,\quad \psi(r)=L-H(r),L=log2,H(r)=−21+r​log21+r​−21−r​log21−r​,ψ(r)=L−H(r),

with 0log⁡0=00\log0=00log0=0; ψ−1\psi^{-1}ψ−1 is the increasing branch [0,L]→[0,1][0,L]\to[0,1][0,L]→[0,1]. A soft channel is u:Ωn→[−1,1]u:\Omega_n\to[-1,1]u:Ωn​→[−1,1], the conditional mean of an auxiliary sign UUU given XXX; its information is I(u)=H(Eu)−EH(u)=I(U;X)I(u)=H(\mathbb Eu)-\mathbb EH(u)=I(U;X)I(u)=H(Eu)−EH(u)=I(U;X). For ρ∈[−1,1]\rho\in[-1,1]ρ∈[−1,1] let Yi=XiZiY_i=X_iZ_iYi​=Xi​Zi​ with independent signs EZi=ρ\mathbb EZ_i=\rhoEZi​=ρ, and let Tρu(y)=E[u(X)∣Y=y]T_\rho u(y)=\mathbb E[u(X)\mid Y=y]Tρ​u(y)=E[u(X)∣Y=y], so I(Tρu)=I(U;Y)I(T_\rho u)=I(U;Y)I(Tρ​u)=I(U;Y). For an interior field g:Ωn→(−1,1)g:\Omega_n\to(-1,1)g:Ωn​→(−1,1) with m=Egm=\mathbb Egm=Eg, the production is D(g)=E[atanh⁡(g) Ng]D(g)=\mathbb E[\operatorname{atanh}(g)\,Ng]D(g)=E[atanh(g)Ng] with Ng=12∑i(g−g∘flipi)Ng=\frac12\sum_i(g-g\circ\mathrm{flip}_i)Ng=21​∑i​(g−g∘flipi​); the rate FFF is defined by F(ψ(r))=ratanh⁡rF(\psi(r))=r\operatorname{atanh}rF(ψ(r))=ratanhr; S(I)=F(I)−2IS(I)=F(I)-2IS(I)=F(I)−2I (zero for I<0I<0I<0); Bm(I)=2I+(1−m2)S(L−H(m)−I1−m2)B_m(I)=2I+(1-m^2)S\bigl(L-\frac{H(m)-I}{1-m^2}\bigr)Bm​(I)=2I+(1−m2)S(L−1−m2H(m)−I​).

Formalization targets

Milestone: Courtade–Kumar inequality in bits (Corollary 1.2, p. 2)

For n≥1n\ge1n≥1, 0≤ε≤120\le\varepsilon\le\frac120≤ε≤21​ and every Boolean fff on {0,1}n\{0,1\}^n{0,1}n,

I2(f(X);Y)≤1−h2(ε),I_2(f(X);Y)\le 1-h_2(\varepsilon),I2​(f(X);Y)≤1−h2​(ε),

with equality for every coordinate x↦xix\mapsto x_ix↦xi​ and its complement.

Goal: the soft contraction package (Theorem 1.1, p. 1; Corollary 1.2, p. 2; Theorem 1.3, p. 4)

The goal OAI.SoftChannel204.fullMain is the conjunction of:

  1. Theorem 1.1. For all nnn, u:Ωn→[−1,1]u:\Omega_n\to[-1,1]u:Ωn​→[−1,1], ρ∈[−1,1]\rho\in[-1,1]ρ∈[−1,1]:
I(Tρu)≤ψ(∣ρ∣ ψ−1(I(u))),I(T_\rho u)\le\psi\bigl(|\rho|\,\psi^{-1}(I(u))\bigr),I(Tρ​u)≤ψ(∣ρ∣ψ−1(I(u))),

with equality for every soft coordinate u(x)=axiu(x)=a x_iu(x)=axi​, ∣a∣≤1|a|\le1∣a∣≤1; and I(U;Y)=I(Tρu)I(U;Y)=I(T_\rho u)I(U;Y)=I(Tρ​u) for the joint law of (U,Y)(U,Y)(U,Y). 2. Corollary 1.2. For Boolean fff with m=Efm=\mathbb Efm=Ef and rm=ψ−1(H(m))r_m=\psi^{-1}(H(m))rm​=ψ−1(H(m)): I(f(X);Y)≤ψ(∣ρ∣rm)≤ψ(∣ρ∣)I(f(X);Y)\le\psi(|\rho|r_m)\le\psi(|\rho|)I(f(X);Y)≤ψ(∣ρ∣rm​)≤ψ(∣ρ∣), strictly below ψ(∣ρ∣)\psi(|\rho|)ψ(∣ρ∣) when 0<∣m∣<10<|m|<10<∣m∣<1 and 0<∣ρ∣0<|\rho|0<∣ρ∣; coordinates and their negations attain ψ(∣ρ∣)\psi(|\rho|)ψ(∣ρ∣); and the bits conversion ψ(1−2ε)/L=1−h2(ε)\psi(1-2\varepsilon)/L=1-h_2(\varepsilon)ψ(1−2ε)/L=1−h2​(ε). 3. Theorem 1.3. For every interior ggg: D(g)≥max⁡{Bm(I(g)),F(I(g))}≥F(I(g))D(g)\ge\max\{B_m(I(g)),F(I(g))\}\ge F(I(g))D(g)≥max{Bm​(I(g)),F(I(g))}≥F(I(g)).

Significance

The result itself. It settles the Courtade–Kumar conjecture and strengthens it in two directions: to randomized summaries at fixed initial information, and to a bias-dependent bound that is strictly better for nonconstant biased outputs. Theorem 1.3 is a mean-dependent entropy-production inequality, stronger than the scalar rate needed for Theorem 1.1. Several independent proofs of the Boolean conjecture were announced in the same period; the preprint compares its production profile with that of Chen et al. in Section 8.

Formalizing it. All objects are finite sums over {−1,1}n\{-1,1\}^n{−1,1}n, so the statements are elementary to state in Lean. The proof requires an explicit three-point optimizer for a joining problem, convexity facts about FFF and SSS (Lemmas 2.2–2.4, pp. 5–6), dimension induction and integration along the noise semigroup. A formal proof would give a checked solution of a conjecture with several competing announced proofs, some computer-assisted.

Difficulty

The local-to-global method of Chen, Gohari and Nair needs a local inequality to pass from the two halves of the cube to the whole. The natural information-only profile Φm(I)=F(I)\Phi_m(I)=F(I)Φm​(I)=F(I) fails the corresponding local comparison for some coupled pair laws, so the induction must carry the mean mmm as well. The preprint uses the maximum of two profiles, BmB_mBm​ and FFF; it must solve the minimization of the joining cost exactly (Section 3), pay the interior pair with a variance-refined one-bit inequality (Lemma 4.1, p. 12), and control the common-output corners by a thinning argument (Theorem 6.1, p. 17). The linear bound D(g)≥2I(g)D(g)\ge2I(g)D(g)≥2I(g) from the log-Sobolev inequality does not suffice; the nonlinear surplus above 2I2I2I is where the difficulty lies.

Formalization scope

  • Cube n = Fin n → Bool, averages are finite sums divided by 2n2^n2n, logs are natural; sign maps Bool to ±1\pm1±1.
  • psiInv is Function.invFunOn psi (Icc 0 1); since ψ\psiψ is strictly increasing on [0,1][0,1][0,1] and I(u)∈[0,L]I(u)\in[0,L]I(u)∈[0,L], this is the paper's branch.
  • noise ρ u y = ∑ x, kernel ρ y x * u x with kernel the product of (1±ρ)/2(1\pm\rho)/2(1±ρ)/2, which is TρT_\rhoTρ​. Mutual information is the finite sum over the joint table, with terms omitted where the joint probability is 000.
  • F is stated as psiInv s * artanh (psiInv s) and is only used on [0,L)[0,L)[0,L); for interior ggg, ∣m∣<1|m|<1∣m∣<1 and 0≤I(g)<H(m)≤L0\le I(g)<H(m)\le L0≤I(g)<H(m)≤L, so reserve and hybrid are evaluated in their source domain.
  • All results hold for every n≥0n\ge0n≥0; the attainment statements quantify over i : Fin n. The milestone (separate definition file) uses the crossover form with bits.

Selected references

  • OpenAI, Sharp binary-information contraction on the discrete cube, OpenAI Math Release preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Sharp-binary-information-contraction-on-the-discrete-cube-September-24-2026/main.pdf
  • T. A. Courtade, G. R. Kumar, Which Boolean functions maximize mutual information on noisy inputs?, IEEE Trans. Inf. Theory 60 (2014). https://doi.org/10.1109/TIT.2014.2326877
  • G. R. Kumar, T. A. Courtade, Which Boolean functions are most informative?, ISIT 2013. https://doi.org/10.1109/ISIT.2013.6620221
  • A. Samorodnitsky, On the entropy of a noisy function, IEEE Trans. Inf. Theory (2016). https://doi.org/10.1109/TIT.2016.2584625
  • O. Ordentlich, O. Shayevitz, O. Weinstein, An improved upper bound for the most informative Boolean function conjecture, ISIT 2016. https://doi.org/10.1109/ISIT.2016.7541349
  • G. Pichler, P. Piantanida, G. Matz, Dictator functions maximize mutual information, Ann. Appl. Probab. (2018). https://doi.org/10.1214/18-AAP1384
  • L. Yu, On the Φ\PhiΦ-stability and related conjectures, Probab. Theory Relat. Fields (2023). https://doi.org/10.1007/s00440-023-01209-5
  • A. Gohari, C. Nair, Outer bounds for multiuser settings: the auxiliary receiver approach, IEEE Trans. Inf. Theory (2022). https://doi.org/10.1109/TIT.2021.3128136
  • Z. Chen, A. Gohari, A. Javanmard, et al., A proof of the most informative Boolean function conjecture, arXiv:2609.24931 (2026). https://arxiv.org/abs/2609.24931
  • V. K. Ky, T. Tran, Dictators are most informative, arXiv:2609.24184 (2026). https://arxiv.org/abs/2609.24184
  • H. Mahdavifar, A. Beirami, The most informative bit and beyond, arXiv:2609.26444 (2026). https://arxiv.org/abs/2609.26444
  • S. G. Bobkov, P. Tetali, Modified logarithmic Sobolev inequalities in discrete settings, J. Theoret. Probab. (2006). https://doi.org/10.1007/s10959-006-0016-3
111 thms4 active usersReviewed
🏆Completed
AlgebraTheoretical Computer Science·Captain: mikedeng1

Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data 3: Shingling plus PinSketch Gives an Average-Case Secure Sketch for Edit DistanceResearch Paper

Why noisy secrets need sketches

Biometric readings, physical unclonable functions and typed passphrases share two defects as cryptographic keys: they are not uniformly distributed, and they are never reproduced exactly. Dodis, Ostrovsky, Reyzin and Smith (SIAM J. Comput. 38(1), 2008; preprint arXiv:cs/0602007v4) introduced the secure sketch to handle the second defect without destroying what entropy the secret has. A secure sketch publishes a string sss from which any reading close to the original recovers the original exactly, while the original keeps a guaranteed amount of min-entropy given sss. Many sources of noise are not substitutions but insertions and deletions: keystroke sequences, sequenced DNA, and any reading whose alignment drifts. For these the relevant distance is the edit distance, and §7 of the paper gives a secure sketch for it.

This mission formalizes that construction: Theorem 7.5 (p. 27), together with the results it is assembled from, PinSketch for set difference (Theorem 6.3, p. 23, with the BCH decoding argument of Appendix E) and the shingling embedding (Lemma 7.3, p. 25), glued by Lemma 4.7 (p. 15).

Setting

All logarithms are base 2. A random variable is identified with its distribution. The min-entropy of WWW is H∞(W)=−log⁡max⁡wPr⁡[W=w]\mathbf H_\infty(W) = -\log \max_w \Pr[W = w]H∞​(W)=−logmaxw​Pr[W=w], and the average min-entropy of WWW given III is H~∞(W∣I)=−log⁡∑imax⁡wPr⁡[W=w∧I=i]\tilde{\mathbf H}_\infty(W \mid I) = -\log \sum_i \max_w \Pr[W = w \wedge I = i]H~∞​(W∣I)=−log∑i​maxw​Pr[W=w∧I=i].

Let M\mathcal MM be a set with an integer-valued distance dis\mathrm{dis}dis. An average-case (M,m,m~,t)(\mathcal M, m, \tilde m, t)(M,m,m~,t)-secure sketch is a pair of randomized procedures (SS,Rec)(\mathsf{SS}, \mathsf{Rec})(SS,Rec) such that Rec(w′,SS(w))=w\mathsf{Rec}(w', \mathsf{SS}(w)) = wRec(w′,SS(w))=w whenever dis(w,w′)≤t\mathrm{dis}(w, w') \le tdis(w,w′)≤t, and H~∞(W∣SS(W),I)≥m~\tilde{\mathbf H}_\infty(W \mid \mathsf{SS}(W), I) \ge \tilde mH~∞​(W∣SS(W),I)≥m~ for every pair (W,I)(W, I)(W,I) with H~∞(W∣I)≥m\tilde{\mathbf H}_\infty(W \mid I) \ge mH~∞​(W∣I)≥m. The difference m−m~m - \tilde mm−m~ is the entropy loss.

Three spaces occur.

  1. EditF(n)\mathrm{Edit}_{\mathcal F}(n)EditF​(n): strings of length nnn over a finite alphabet F\mathcal FF of FFF letters, with distance the smallest number of character insertions and deletions turning one string into the other.
  2. SDif(U)\mathrm{SDif}(\mathcal U)SDif(U): all subsets of a finite universe U\mathcal UU, with distance ∣w△w′∣|w \triangle w'|∣w△w′∣.
  3. For PinSketch, U=GF(2μ)∗\mathcal U = GF(2^\mu)^*U=GF(2μ)∗, of size n=2μ−1n = 2^\mu - 1n=2μ−1. A subset www has syndrome entries si(w)=∑x∈wxis_i(w) = \sum_{x \in w} x^isi​(w)=∑x∈w​xi, computed in the field. PinSketch publishes (s1,s3,…,s2t−1)(s_1, s_3, \dots, s_{2t-1})(s1​,s3​,…,s2t−1​).

A ccc-shingle of a string is a length-ccc consecutive substring, and the ccc-shingling SHc(w)⊆Fc\mathrm{SH}_c(w) \subseteq \mathcal F^cSHc​(w)⊆Fc is the set of all of them. A map f:M1→M2f : \mathcal M_1 \to \mathcal M_2f:M1​→M2​ is a (t1,t2,λ)(t_1, t_2, \lambda)(t1​,t2​,λ)-biometric embedding with recovery information ggg if it maps distance ≤t1\le t_1≤t1​ to distance ≤t2\le t_2≤t2​, ggg takes at most 2λ2^\lambda2λ values, and www is determined by (f(w),g(w))(f(w), g(w))(f(w),g(w)).

Formalization targets

Goal: Theorem 7.5

For every finite alphabet F\mathcal FF with FFF letters, all n,c,t∈Nn, c, t \in \mathbb Nn,c,t∈N with 1≤c≤n1 \le c \le n1≤c≤n and every real mmm, there is an average-case secure sketch

(EditF(n), m, m−⌈nc⌉log⁡2(n−c+1)−(2c−1) t ⌈log⁡(Fc+1)⌉, t).\Big(\mathrm{Edit}_{\mathcal F}(n),\ m,\ m - \big\lceil \tfrac nc \big\rceil \log_2(n - c + 1) - (2c - 1)\,t\,\lceil \log(F^c + 1) \rceil,\ t\Big).(EditF​(n), m, m−⌈cn​⌉log2​(n−c+1)−(2c−1)t⌈log(Fc+1)⌉, t).

Milestones

  1. Set difference. Theorem 6.3: PinSketch is an average-case (SDif(U),m,m−tlog⁡(n+1),t)(\mathrm{SDif}(\mathcal U), m, m - t\log(n+1), t)(SDif(U),m,m−tlog(n+1),t) secure sketch. On the way:
    • the Appendix E identity s2i=si2s_{2i} = s_i^2s2i​=si2​;
    • the key equation S(z)σ(z)≡ω(z) mod zδS(z)\sigma(z) \equiv \omega(z) \bmod z^\deltaS(z)σ(z)≡ω(z)modzδ;
    • the uniqueness of ω/σ\omega/\sigmaω/σ among low-degree solutions;
    • Lemma 6.2: a word of weight ≤(δ−1)/2\le (\delta - 1)/2≤(δ−1)/2 is determined by its first δ−1\delta - 1δ−1 syndromes;
    • step 4 of Construction 6: decoding returns w△w′w \triangle w'w△w′.
  2. Edit distance into set difference. Lemma 7.3: SHc\mathrm{SH}_cSHc​ is an average-case (t1,(2c−1)t1,m1,m1−⌈n/c⌉log⁡2(n−c+1))(t_1, (2c-1)t_1, m_1, m_1 - \lceil n/c \rceil \log_2(n - c + 1))(t1​,(2c−1)t1​,m1​,m1​−⌈n/c⌉log2​(n−c+1)) biometric embedding. Its strengthening: SHc\mathrm{SH}_cSHc​ has recovery information gcg_cgc​ with λ=⌈n/c⌉log⁡2(n−c+1)\lambda = \lceil n/c \rceil \log_2(n - c + 1)λ=⌈n/c⌉log2​(n−c+1).
  3. Composition. Lemma 4.7: an embedding with recovery information turns an average-case sketch on M2\mathcal M_2M2​ for entropy m1−λm_1 - \lambdam1​−λ into one on M1\mathcal M_1M1​ for entropy m1m_1m1​, with the same residual entropy.

Significance

Theorem 7.5 gives a secure sketch for the edit metric whose entropy loss is, for a good choice of ccc, about 2.38 (tlog⁡F)1/3(nlog⁡n)2/32.38\,(t \log F)^{1/3}(n \log n)^{2/3}2.38(tlogF)1/3(nlogn)2/3 (p. 26). This is sublinear in nnn for ttt up to nearly linear, and for large ttt it improves on the low-distortion embedding approach of §7.1. Combined with a strong extractor it yields fuzzy extractors for edit distance (Theorem 7.4). PinSketch is itself the standard set-difference sketch, and Lemma 4.7 is a general transfer principle between metrics.

All results here are proved in the paper. None has a machine-checked proof that we know of. A complete development would also formalize a fragment of BCH decoding over GF(2μ)GF(2^\mu)GF(2μ), the syndrome-uniqueness theorem for binary BCH codes, and a combinatorial lemma on how insertions and deletions act on shingle sets. Each is reusable outside this mission.

Difficulty

There are two hard steps.

The first is Lemma 6.2. That a low-weight word is determined by δ−1\delta - 1δ−1 power sums is a statement about Vandermonde systems in characteristic 2, where the even power sums carry no new information. Newton's identities, the usual characteristic-zero route from power sums to elementary symmetric functions, fail there because they divide by integers that vanish in characteristic 2. The paper argues through the error-locator and error-evaluator polynomials instead.

The second is the distance clause of Lemma 7.3. An edit path between two strings of length nnn passes through strings of other lengths, so a per-step bound on the shingle sets must hold for strings of every length, including lengths below ccc.

The entropy statements involve average min-entropy over arbitrary auxiliary variables, and each needs the chain-rule bound of Lemma 2.2(b) in average-case form.

Formalization scope

  • Laws and kernels. Random variables are PMFs, and randomized procedures are kernels M → PMF S. The auxiliary variable of every average-case statement ranges over every ι : Type, not only finite types. Average min-entropy uses the joint form above. "Min-entropy mmm" means ≥m\ge m≥m, and mmm is real.
  • The field. The paper's GF(2m)GF(2^m)GF(2m) is any finite field K of characteristic 2, and its degree is renamed μ\muμ because mmm denotes min-entropy. Appendix E's large field F\mathcal FF is this K, distinct from §7's alphabet F\mathcal FF. Only binary words are formalized, as subsets (Finset Kˣ); the qqq-ary generality of Lemma E.1 is not.
  • The key equation. ω(z)\omega(z)ω(z) is written without division, congruence mod zδz^\deltazδ is divisibility by XδX^\deltaXδ, and the ratio identity is cross-multiplied.
  • Edit distance. It reuses the published weighted edit distance MasekPaterson.Shared.editDist with cost 1 per insertion or deletion and 2 per replacement, which equals the insertion/deletion count.
  • Shingling and gcg_cgc​. Shingling is defined for strings of all lengths. gcg_cgc​ is the concrete function of the proof, with 0-based indices.
  • Explicit hypotheses.
    • The Appendix E uniqueness statement takes the BCH designed distance to satisfy 1≤δ1 \le \delta1≤δ; at δ=0\delta=0δ=0 its congruence is vacuous and the conclusion can fail.
    • 1≤c≤n1 \le c \le n1≤c≤n, which the paper leaves implicit, is assumed in Lemma 7.3 and Theorem 7.5.
    • ϵ\epsilonϵ is dropped from Theorem 7.5, where it does not occur in the conclusion.
    • ⌈log⁡(Fc+1)⌉\lceil \log(F^c + 1) \rceil⌈log(Fc+1)⌉ is Nat.clog 2 (F ^ c + 1).
  • Misprints, read as corrected.
    • In Definition 7, f(w2)f(w_2)f(w2​) is read as f(w1′)f(w_1')f(w1′​).
    • In Lemma 4.7, Rec(w′,s)\mathsf{Rec}(w', s)Rec(w′,s) is read as Rec(f(w′),s)\mathsf{Rec}(f(w'), s)Rec(f(w′),s).
    • In Appendix E, w′(z)w'(z)w′(z) is read as ω′(z)\omega'(z)ω′(z).
  • Efficiency. Every claim of efficiency or running time (Lemma 6.2, Theorem 6.3, Theorem 7.5) is dropped: Mathlib has no complexity substrate, and no vacuous substitute is used.
  • Excluded trivializations. The distance is the insertion/deletion distance, not the Hamming distance on length-nnn strings (a different and easier problem). It is not a degenerate cost that is identically 0: insertion and deletion each cost 1.
  • Not posed here. Lemma 2.2(b) and Lemma 3.1 are posed in the companion mission on Hamming fuzzy extractors. Proofs that need them may restate them.

Contributions are welcome on any milestone. The BCH part (Appendix E, Lemma 6.2) and the shingling part (Lemma 7.3) are independent.

Selected references

  • Y. Dodis, R. Ostrovsky, L. Reyzin, A. Smith, Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data, SIAM J. Comput. 38(1):97–139, 2008. https://doi.org/10.1137/060651380 ; arXiv:cs/0602007v4, https://arxiv.org/abs/cs/0602007
  • J. H. van Lint, Introduction to Coding Theory, 2nd ed., Springer, 1992 (BCH codes and their decoding; the reference [vL92] of Appendix E).
  • A. Z. Broder, On the resemblance and containment of documents, Compression and Complexity of Sequences, IEEE, 1997 (shingling). https://doi.org/10.1109/SEQUEN.1997.666900
  • W. J. Masek, M. S. Paterson, A faster algorithm computing string edit distances, J. Comput. System Sci. 20(1):18–31, 1980 (the weighted edit distance reused here). https://doi.org/10.1016/0022-0000(80)90002-1
13 thms4 active usersReviewed
🏆Completed
OptimizationProbabilityStatistics·Captain: mikedeng1

I-Divergence Geometry of Probability Distributions and Minimization Problems 1: Cyclic I-Projections onto Linear Sets of a Finite Space Converge to the I-Projection onto Their IntersectionResearch Paper

Motivation

Fitting a probability distribution to prescribed margins or moments is a basic task in statistics and information theory. Starting from a reference distribution, one can enforce one constraint at a time by choosing the closest distribution in I-divergence, then cycle through the constraints. In a contingency table this procedure is iterative proportional fitting. A single projection onto the intersection is the desired answer, but each step of the iteration sees only one constraint set. Csiszár's 1975 paper proves that cyclic I-projections converge to the joint I-projection when the underlying set is finite and the constraint sets are linear. This mission formalizes that result together with the geometric statements needed to identify its limit.

Setting

Let (X,X)(X,\mathcal X)(X,X) be a measurable space. A probability distribution (PD) is a probability measure on it. For PDs PPP and QQQ, the I-divergence I(P∥Q)I(P\|Q)I(P∥Q) is the Kullback–Leibler divergence: integrate the logarithm of the density of PPP relative to QQQ against PPP, with value +∞+\infty+∞ when PPP is not absolutely continuous with respect to QQQ or the integral diverges. It takes values in [0,+∞][0,+\infty][0,+∞] and vanishes exactly when P=QP=QP=Q. The logarithmic conventions are log⁡0=−∞\log0=-\inftylog0=−∞ and 0⋅(±∞)=00\cdot(\pm\infty)=00⋅(±∞)=0 (Csiszár 1975, (1.1)–(1.3)).

Given a PD RRR and a set E\mathcal EE of PDs that contains at least one PPP with finite I(P∥R)I(P\|R)I(P∥R), an I-projection QQQ of RRR onto E\mathcal EE minimizes I(P∥R)I(P\|R)I(P∥R) over P∈EP\in\mathcal EP∈E and itself has finite divergence. The variation distance is the L1L^1L1 distance between the densities of two PDs relative to a common dominating measure. A set of PDs is linear here when every real affine combination of two members that is still a PD also belongs to the set. This includes distributions satisfying fixed linear moment constraints (Csiszár 1975, pp. 147 and 150–151).

For the goal, XXX is finite. Choose k≥1k\ge1k≥1 linear sets E1,…,Ek\mathcal E_1,\ldots,\mathcal E_kE1​,…,Ek​, and write E=⋂i=1kEi\mathcal E=\bigcap_{i=1}^k\mathcal E_iE=⋂i=1k​Ei​. Beginning with Q0=RQ_0=RQ0​=R, let QnQ_nQn​ be the I-projection of Qn−1Q_{n-1}Qn−1​ onto Ei\mathcal E_iEi​ when n=mk+in=mk+in=mk+i and 1≤i≤k1\le i\le k1≤i≤k. The common feasible set is assumed nonempty and contains a PD absolutely continuous with respect to RRR. These assumptions ensure that the intended finite-divergence projection problem is present (Csiszár 1975, Theorem 3.2).

Formalization targets

The goal is the convergence statement of Theorem 3.2:

∀x∈X,Qn({x})⟶Q({x}),Q=proj⁡EI(R).\forall x\in X,\qquad Q_n(\{x\})\longrightarrow Q(\{x\}), \quad Q=\operatorname{proj}^{I}_{\mathcal E}(R).∀x∈X,Qn​({x})⟶Q({x}),Q=projEI​(R).

The goal also asserts existence of the cyclic sequence. On finite XXX, convergence of every point mass is equivalent to convergence in variation distance. The target fixes no rate. Its milestones include existence on variation-closed convex sets (Theorem 2.1), the identity (2.6) and the tangent-hyperplane Lemma 2.1, the Pythagorean characterization and transitivity of I-projections (Theorems 2.2–2.3), the density form under general linear constraints (Theorem 3.1) and the finite-moment exponential-density characterization (Corollary 3.1(A)), and the finite-space identity used in Theorem 3.2's proof. The two displayed identities in that proof are also targets:

I(Q∥R)=I(Q∥Qn)+∑i=1nI(Qi∥Qi−1),I(P∥Qn)=I(P∥Q)+I(Q∥Qn)(P∈E).I(Q\|R)=I(Q\|Q_n)+\sum_{i=1}^{n}I(Q_i\|Q_{i-1}),\qquad I(P\|Q_n)=I(P\|Q)+I(Q\|Q_n)\quad(P\in\mathcal E).I(Q∥R)=I(Q∥Qn​)+i=1∑n​I(Qi​∥Qi−1​),I(P∥Qn​)=I(P∥Q)+I(Q∥Qn​)(P∈E).

They specify the divergence relationships that the eventual convergence theorem must preserve (Csiszár 1975, (3.14)–(3.15)).

Significance

The theorem justifies enforcing finitely many linear distribution constraints one at a time while still obtaining the same I-projection as a simultaneous minimization. It gives a precise limit for the iterative proportional fitting procedure discussed by Csiszár, including cases in which the initial distribution has zero probabilities; strict positivity of RRR is not required (Csiszár 1975, p. 155). The accompanying identities make the relation between a partial iterate and the final solution explicit. The result was proved in 1975. The work here is to provide machine-checked proofs of that known result and its supporting geometry, while keeping the source's extended-value and boundary conventions visible.

Difficulty

Successive projections minimize divergence over different sets. Minimization for one set by itself does not identify the minimizer over their intersection, and ordinary metric projection facts do not directly apply because I-divergence is asymmetric and can be infinite. The paper's statements need to handle zero densities and feasible distributions at infinite divergence without turning extended-real expressions into default values. On the finite space, convergence of a subsequence is available, but the formal claim must still identify every possible limit as the joint I-projection. These are the mathematical and representation difficulties faced by a complete proof (Csiszár 1975, §§2–3).

Formalization scope

Lean uses Measure X and Mathlib's InformationTheory.klDiv : ℝ≥0∞ for I(P∥Q)I(P\|Q)I(P∥Q). A projection is a finite-divergence minimizer over the stated feasible set; no real-valued infimum or implicit arbitrary witness replaces it. Variation distance uses the densities relative to P+QP+QP+Q, which dominates both PDs and gives the value of (1.6). Variation closure is expressed by sequential convergence in this distance. The integral ∫log⁡qR dP\int\log q_R\,dP∫logqR​dP is represented in extended reals using positive and negative logarithmic parts and ENNReal.log; the theorem hypotheses keep the indeterminate +∞−(+∞)+\infty-(+\infty)+∞−(+∞) case out. Density equations are RRR-almost everywhere, and a claim that QQQ has an RRR-density explicitly includes Q≪RQ\ll RQ≪R.

For moment constraints, every integral is accompanied by integrability. Real affine combinations are tested through their values on measurable sets; the candidate combination must be a PD. The goal assumes a finite carrier with measurable singleton sets and k≥1k\ge1k≥1. Lean indexes the sets by Fin k from zero, so Qs (n+1) is projected onto the set at n % k; this is the paper's rule (3.13) shifted by one. The goal asserts existence of a recursive sequence before speaking about every such sequence, and the required feasible witness has P≪RP\ll RP≪R. These choices rule out an empty cyclic schedule, junk integrals, and a vacuous convergence assertion. Reusable contributions include the variation-distance and I-projection interfaces, their Pythagorean geometry, and the finite-moment density characterization; the mission's main closure remains Theorem 3.2.

Selected references

  • I. Csiszár, I-Divergence Geometry of Probability Distributions and Minimization Problems, The Annals of Probability 3(1), 146–158 (1975). DOI: 10.1214/aop/1176996454.
14 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Worst-Case Value-At-Risk and Robust Portfolio Optimization: A Conic Programming Approach 2: Closed Form of the Entropy-Constrained Worst-Case VaRResearch Paper

Motivation

Value-at-Risk (VaR) is the loss level that a portfolio exceeds with probability at most ε\varepsilonε. It is the standard risk measure of banking regulation, and its classical computation assumes Gaussian returns: for a Gaussian return vector with mean x^\hat xx^ and covariance Γ\GammaΓ it equals −Φ−1(ε)w⊤Γw−x^⊤w-\Phi^{-1}(\varepsilon)\sqrt{w^\top\Gamma w} - \hat x^\top w−Φ−1(ε)w⊤Γw​−x^⊤w, where Φ\PhiΦ is the standard normal distribution function. Real returns are not exactly Gaussian, and a VaR computed from a misspecified distribution can badly understate risk.

El Ghaoui, Oks and Oustry (Oper. Res. 51(4), 2003) replace the single distribution by a class P\mathcal PP of distributions and define the worst-case VaR as the smallest loss level whose probability is at most ε\varepsilonε under every distribution of the class. Their first class, distributions with a given mean and covariance, leads to the Chebyshev-type bound of their Theorem 1, whose worst case is attained by discrete distributions. §4.2 of the paper asks instead for distributions that stay close to a Gaussian, measured by relative entropy (Kullback–Leibler divergence). Such balls are the basic uncertainty sets of distributionally robust optimization and of robust control in economics (Hansen and Sargent's multiplier and constraint preferences), and they give a smooth worst case. Theorem 9 computes the resulting worst-case VaR in closed form.

Setting

Returns are random vectors x∈Rnx \in \mathbb R^nx∈Rn and a portfolio is a vector w∈Rnw \in \mathbb R^nw∈Rn with w≠0w \neq 0w=0; its return is r(w,x)=w⊤xr(w,x) = w^\top xr(w,x)=w⊤x. For a level γ∈R\gamma \in \mathbb Rγ∈R the loss set is Sγ={x:γ≤−x⊤w}\mathcal S_\gamma = \{x : \gamma \le -x^\top w\}Sγ​={x:γ≤−x⊤w} (Eq. 13 of the paper).

Given a class P\mathcal PP of probability distributions on Rn\mathbb R^nRn and ε∈(0,1)\varepsilon \in (0,1)ε∈(0,1), the worst-case Value-at-Risk (Eq. 4) is

VP(w)=min⁡{γ∈R:sup⁡P∈PP(Sγ)≤ε}.V_{\mathcal P}(w) = \min\Big\{\gamma \in \mathbb R : \sup_{P \in \mathcal P} P(\mathcal S_\gamma) \le \varepsilon\Big\}.VP​(w)=min{γ∈R:P∈Psup​P(Sγ​)≤ε}.

Fix a mean x^∈Rn\hat x \in \mathbb R^nx^∈Rn and a positive definite covariance Γ≻0\Gamma \succ 0Γ≻0, and let P0=N(x^,Γ)P_0 = \mathcal N(\hat x, \Gamma)P0​=N(x^,Γ) be the reference Gaussian. For d≥0d \ge 0d≥0 the relative-entropy class (Eq. 43) is

Pd={P probability on Rn:KL(P,P0)=∫log⁡dPdP0 dP≤d},\mathcal P_d = \Big\{P \text{ probability on } \mathbb R^n : \mathrm{KL}(P, P_0) = \int \log\frac{dP}{dP_0}\,dP \le d\Big\},Pd​={P probability on Rn:KL(P,P0​)=∫logdP0​dP​dP≤d},

with KL(P,P0)=+∞\mathrm{KL}(P,P_0) = +\inftyKL(P,P0​)=+∞ unless PPP is absolutely continuous with respect to P0P_0P0​.

The risk factor (Eq. 45) is

f(ε,d)=sup⁡λ>0eε/λ−d−1e1/λ−1,κ(ε,d)=−Φ−1(f(ε,d)),f(\varepsilon,d) = \sup_{\lambda>0}\frac{e^{\varepsilon/\lambda - d} - 1}{e^{1/\lambda} - 1}, \qquad \kappa(\varepsilon,d) = -\Phi^{-1}\big(f(\varepsilon,d)\big),f(ε,d)=λ>0sup​e1/λ−1eε/λ−d−1​,κ(ε,d)=−Φ−1(f(ε,d)),

and the Gaussian tail of the loss set is ϕ(γ)=P0(Sγ)=1−Φ((γ+w⊤x^)/w⊤Γw)\phi(\gamma) = P_0(\mathcal S_\gamma) = 1 - \Phi\big((\gamma + w^\top\hat x)/\sqrt{w^\top\Gamma w}\big)ϕ(γ)=P0​(Sγ​)=1−Φ((γ+w⊤x^)/w⊤Γw​).

Formalization targets

Goal: Theorem 9 (p. 553)

For Γ≻0\Gamma \succ 0Γ≻0, w≠0w \neq 0w=0, d≥0d \ge 0d≥0 and 0<ε<10 < \varepsilon < 10<ε<1, the minimum in (4) over Pd\mathcal P_dPd​ exists and

VPd(w)=κ(ε,d)w⊤Γw−x^⊤w.(44)V_{\mathcal P_d}(w) = \kappa(\varepsilon,d)\sqrt{w^\top\Gamma w} - \hat x^\top w. \tag{44}VPd​​(w)=κ(ε,d)w⊤Γw​−x^⊤w.(44)

Milestones

The milestones follow the proof of Theorem 9 on pp. 553–554, in attack order.

  1. Eq. (45). The two expressions of fff agree: sup⁡λ>0eε/λ−d−1e1/λ−1=sup⁡v>0e−d(v+1)ε−1v\sup_{\lambda>0}\frac{e^{\varepsilon/\lambda-d}-1}{e^{1/\lambda}-1} = \sup_{v>0}\frac{e^{-d}(v+1)^\varepsilon - 1}{v}supλ>0​e1/λ−1eε/λ−d−1​=supv>0​ve−d(v+1)ε−1​.
  2. Gaussian tail. P0(Sγ)=1−Φ((γ+w⊤x^)/w⊤Γw)P_0(\mathcal S_\gamma) = 1 - \Phi\big((\gamma + w^\top\hat x)/\sqrt{w^\top\Gamma w}\big)P0​(Sγ​)=1−Φ((γ+w⊤x^)/w⊤Γw​).
  3. Eq. (47). For λ>0\lambda > 0λ>0, the Lagrangian L(Q)=Q(Sγ)+λ0(1−Q(Rn))+λ(d−KL-integral)L(Q) = Q(\mathcal S_\gamma) + \lambda_0(1 - Q(\mathbb R^n)) + \lambda(d - \mathrm{KL}\text{-integral})L(Q)=Q(Sγ​)+λ0​(1−Q(Rn))+λ(d−KL-integral) is maximised over finite measures Q≪P0Q \ll P_0Q≪P0​ by the exponentially tilted density dQ⋆/dP0=exp⁡((χS−λ0)/λ−1)dQ^\star/dP_0 = \exp((\chi_{\mathcal S} - \lambda_0)/\lambda - 1)dQ⋆/dP0​=exp((χS​−λ0​)/λ−1), with value
θ(λ0,λ)=λ0+λd+λe−λ0/λ−1((e1/λ−1)ϕ(γ)+1).\theta(\lambda_0,\lambda) = \lambda_0 + \lambda d + \lambda e^{-\lambda_0/\lambda - 1}\big((e^{1/\lambda}-1)\phi(\gamma) + 1\big).θ(λ0​,λ)=λ0​+λd+λe−λ0​/λ−1((e1/λ−1)ϕ(γ)+1).
  1. Eq. (48). min⁡λ0∈Rθ(λ0,λ)=λd+λlog⁡((e1/λ−1)ϕ(γ)+1)\min_{\lambda_0\in\mathbb R}\theta(\lambda_0,\lambda) = \lambda d + \lambda\log\big((e^{1/\lambda}-1)\phi(\gamma)+1\big)minλ0​∈R​θ(λ0​,λ)=λd+λlog((e1/λ−1)ϕ(γ)+1).
  2. Duality. sup⁡P∈PdP(Sγ)=inf⁡λ>0(λd+λlog⁡((e1/λ−1)ϕ(γ)+1))\sup_{P\in\mathcal P_d} P(\mathcal S_\gamma) = \inf_{\lambda>0}\big(\lambda d + \lambda\log((e^{1/\lambda}-1)\phi(\gamma)+1)\big)supP∈Pd​​P(Sγ​)=infλ>0​(λd+λlog((e1/λ−1)ϕ(γ)+1)).
  3. Inversion. For d>0d > 0d>0: some λ>0\lambda > 0λ>0 makes the dual value at most ε\varepsilonε if and only if γ≥κ(ε,d)w⊤Γw−w⊤x^\gamma \ge \kappa(\varepsilon,d)\sqrt{w^\top\Gamma w} - w^\top\hat xγ≥κ(ε,d)w⊤Γw​−w⊤x^.
  4. Remark after Theorem 9. f(ε,0)=εf(\varepsilon, 0) = \varepsilonf(ε,0)=ε, so κ(ε,0)=−Φ−1(ε)\kappa(\varepsilon,0) = -\Phi^{-1}(\varepsilon)κ(ε,0)=−Φ−1(ε). The risk factor κ(ε,d)\kappa(\varepsilon, d)κ(ε,d) is strictly increasing in d≥0d \ge 0d≥0.

Significance

Theorem 9 says that an entropy ball around a Gaussian leaves the form of the Gaussian VaR unchanged: only the risk factor moves, from −Φ−1(ε)-\Phi^{-1}(\varepsilon)−Φ−1(ε) to κ(ε,d)\kappa(\varepsilon,d)κ(ε,d), a scalar computed by a one-dimensional maximisation. The worst-case VaR therefore stays a convex function of www whenever κ≥0\kappa \ge 0κ≥0, and minimising it over a polytope of portfolios is a second-order cone program (problem (3) of the paper). The number f(ε,d)f(\varepsilon,d)f(ε,d) is the largest ppp with KL(Bernoulli(ε) ∥ Bernoulli(p))≤d\mathrm{KL}(\mathrm{Bernoulli}(\varepsilon)\,\|\,\mathrm{Bernoulli}(p)) \le dKL(Bernoulli(ε)∥Bernoulli(p))≤d, which ties the result to the binary-divergence bounds used throughout information theory.

The theorem was proved in 2003. The worst-case-probability step (milestone 5) is an instance of the Donsker–Varadhan / Gibbs variational duality for relative-entropy balls, which the paper imports from the literature (Smith 1995). No machine-checked proof of Theorem 9 or of this duality on Rn\mathbb R^nRn is known. A formalization would give a verified closed form for a relative-entropy distributionally robust chance constraint, and the duality and tilting lemmas would serve any mission on KL-ball robust optimization.

Difficulty

The obvious argument is Lagrangian duality for the infinite-dimensional problem sup⁡{P(Sγ):KL(P,P0)≤d}\sup\{P(\mathcal S_\gamma) : \mathrm{KL}(P,P_0) \le d\}sup{P(Sγ​):KL(P,P0​)≤d}. Weak duality and the pointwise maximisation that produces the tilted density are elementary. The difficulty is the step the paper cites rather than proves: that the duality gap is zero, and that the supremum over distributions equals the infimum of the dual over λ>0\lambda > 0λ>0. The feasible set is a set of measures, the objective is an indicator, and the constraint is a divergence that is +∞+\infty+∞ off a set of absolutely continuous measures, so a finite-dimensional Slater argument does not apply as stated.

The second difficulty is at the boundary of the parameters. At d=0d = 0d=0 the supremum defining f(ε,0)f(\varepsilon,0)f(ε,0) is approached only as λ→∞\lambda \to \inftyλ→∞, so the final inversion step behaves differently from d>0d > 0d>0. At ε=1\varepsilon = 1ε=1 the theorem is false, since every level γ\gammaγ is feasible and (4) has no minimum.

Formalization scope

Returns live in EuclideanSpace ℝ (Fin n). P0P_0P0​ is Mathlib's multivariateGaussian xhat Γ with Γ.PosDef, and KL\mathrm{KL}KL is InformationTheory.klDiv, which is ∞\infty∞ unless P≪P0P \ll P_0P≪P0​ with integrable log-likelihood ratio and equals ∫log⁡dPdP0 dP\int\log\frac{dP}{dP_0}\,dP∫logdP0​dP​dP otherwise for probability measures. The class Pd\mathcal P_dPd​ requires IsProbabilityMeasure P. Φ\PhiΦ is cdf (gaussianReal 0 1), and Φ−1(p)\Phi^{-1}(p)Φ−1(p) is defined as inf⁡{t:p≤Φ(t)}\inf\{t : p \le \Phi(t)\}inf{t:p≤Φ(t)}, which inverts Φ\PhiΦ on (0,1)(0,1)(0,1). The quadratic form w⊤Γww^\top\Gamma ww⊤Γw is a double sum, and ∥Γ1/2w∥2\|\Gamma^{1/2}w\|_2∥Γ1/2w∥2​ is written w⊤Γw\sqrt{w^\top\Gamma w}w⊤Γw​.

Conventions the Lean statements commit to:

  • "min" in (4) is IsLeast of the feasible set {γ:P(Sγ)≤ε ∀P∈Pd}\{\gamma : P(\mathcal S_\gamma) \le \varepsilon \ \forall P \in \mathcal P_d\}{γ:P(Sγ​)≤ε ∀P∈Pd​}. "sup⁡PP(Sγ)≤ε\sup_{P}P(\mathcal S_\gamma) \le \varepsilonsupP​P(Sγ​)≤ε" is written "for every PPP", with probabilities compared in [0,∞][0,\infty][0,∞].
  • The paper prints ε∈(0,1]\varepsilon \in (0,1]ε∈(0,1]. The mission assumes 0<ε<10 < \varepsilon < 10<ε<1, because the goal is false at ε=1\varepsilon = 1ε=1.
  • w≠0w \neq 0w=0 is the paper's assumption that the admissible set of portfolios excludes 000.
  • f(ε,d)f(\varepsilon,d)f(ε,d) is a Lean sSup of a set that is nonempty and bounded above by 111 for ε≤1\varepsilon \le 1ε≤1, d≥0d \ge 0d≥0.
  • The duality of milestone 5 is stated as the existence of one real number that is both the least upper bound of the worst-case probabilities and the greatest lower bound of the dual values, not as an equality of Lean's sSup and sInf.
  • Eq. (48) is stated as an attained minimum (IsLeast), which the calculus gives.
  • Milestone 3 works with finite measures Q≪P0Q \ll P_0Q≪P0​ with integrable log-likelihood ratio in place of the paper's densities ppp. It uses the complement of Sγ\mathcal S_\gammaSγ​ where the paper writes {γ≥−x⊤w}\{\gamma \ge -x^\top w\}{γ≥−x⊤w}, which differs by a P0P_0P0​-null hyperplane.
  • Milestone 6 assumes d>0d > 0d>0; the goal keeps d≥0d \ge 0d≥0.

Restricting Pd\mathcal P_dPd​ to {P0}\{P_0\}{P0​}, dropping IsProbabilityMeasure, or taking an arbitrary reference measure would trivialize or change the theorem. The class is the full KL ball around the nondegenerate Gaussian.

Infrastructure a complete development needs: the pushforward of a multivariate Gaussian under a linear functional (a one-dimensional Gaussian), the Gibbs variational principle for relative entropy, the strong duality for KL balls, and properties of Φ\PhiΦ and its quantile (continuity, strict monotonicity, symmetry Φ(−t)=1−Φ(t)\Phi(-t) = 1 - \Phi(t)Φ(−t)=1−Φ(t)). The Gaussian-quantile and KL-ball duality lemmas are reusable beyond this mission. Contributions of any of these as separate lemmas are welcome.

Selected references

  • L. El Ghaoui, M. Oks, F. Oustry, Worst-Case Value-at-Risk and Robust Portfolio Optimization: A Conic Programming Approach, Operations Research 51(4):543–556, 2003. https://doi.org/10.1287/opre.51.4.543.16101
  • J. E. Smith, Generalized Chebychev Inequalities: Theory and Applications in Decision Analysis, Operations Research 43(5):807–825, 1995. https://doi.org/10.1287/opre.43.5.807
  • M. D. Donsker, S. R. S. Varadhan, Asymptotic evaluation of certain Markov process expectations for large time, I, Communications on Pure and Applied Mathematics 28(1):1–47, 1975. https://doi.org/10.1002/cpa.3160280102
  • L. P. Hansen, T. J. Sargent, Robust Control and Model Uncertainty, American Economic Review 91(2):60–66, 2001. https://doi.org/10.1257/aer.91.2.60
9 thms4 active usersReviewed
🏆Completed
Captain: Elsie66

Shannon's Source Coding TheoremResearch Paper

Motivation

How short can a code for a data source be, if the code must still be uniquely decodable — if every string of concatenated codewords can be unambiguously split back into the original symbols? Shannon's 1948 source coding theorem answers this exactly: the entropy of the source is a hard lower bound on the average codeword length of any uniquely decodable code, and it is also achievable up to a one-symbol slack. Entropy is not just a measure of "average surprise" — it is the literal, tight answer to a combinatorial question about how densely symbols can be packed into strings without losing decodability. This is the theorem that gives Shannon's entropy its operational meaning, and it underlies every practical lossless compression scheme (Huffman coding, arithmetic coding, Lempel–Ziv) as the benchmark they approach.

Timeline.

  • 1948 — Claude Shannon, "A Mathematical Theory of Communication" (Bell System Technical Journal), introduces entropy and proves the source coding theorem.
  • 1949 — Leon Kraft's MIT master's thesis proves the combinatorial inequality (for prefix codes) that makes the theorem's achievability half constructive.
  • 1956 — Brockway McMillan extends Kraft's inequality's necessity direction from prefix codes to the strictly larger class of uniquely decodable codes, giving the theorem its full generality.

Setting

A source has a finite alphabet of symbols ι\iotaι, with at least two symbols, and probability distribution p:ι→Rp:\iota\to\mathbb Rp:ι→R (pi>0p_i>0pi​>0, ∑ipi=1\sum_i p_i=1∑i​pi​=1). A code assigns to each symbol iii a codeword c(i)c(i)c(i), a finite string over a DDD-ary code alphabet α\alphaα (D=∣α∣≥2D=|\alpha|\ge 2D=∣α∣≥2); the code is uniquely decodable if every finite sequence of codewords is determined by its concatenation. The entropy of ppp in base DDD is

HD(p)=−∑ipilog⁡Dpi.H_D(p) = -\sum_i p_i \log_D p_i.HD​(p)=−i∑​pi​logD​pi​.

The expected codeword length of ccc under ppp is L(c)=∑ipi ∣c(i)∣L(c) = \sum_i p_i \, |c(i)|L(c)=∑i​pi​∣c(i)∣.

Formalization targets

Goal — Shannon's source coding theorem

∀ injective, uniquely decodable c,HD(p)≤L(c),∃ such c,L(c)<HD(p)+1.\forall \text{ injective, uniquely decodable } c,\quad H_D(p) \le L(c), \qquad \exists \text{ such } c,\quad L(c) < H_D(p) + 1.∀ injective, uniquely decodable c,HD​(p)≤L(c),∃ such c,L(c)<HD​(p)+1.

(For a source with ∣ι∣≥2|\iota| \ge 2∣ι∣≥2 symbols — see Formalization scope for why the single-symbol case must be excluded.)

Significance

The result itself. This theorem is the reason entropy is called entropy in an information-theoretic sense at all: it converts a quantity defined by an abstract formula (−∑pilog⁡pi-\sum p_i\log p_i−∑pi​logpi​) into the exact answer to an operational question (minimum achievable expected code length), with a slack no worse than one symbol. It is the founding theorem of lossless source coding and the benchmark every practical compressor is measured against.

Formalizing it. Mathlib recently gained genuine information-theoretic coding content: InformationTheory.UniquelyDecodable and the necessity direction of the Kraft–McMillan inequality (McMillan's 1956 result: a uniquely decodable code's lengths satisfy ∑wD−∣w∣≤1\sum_w D^{-|w|}\le 1∑w​D−∣w∣≤1) are already proved, via a counting argument on concatenations of rrr codewords. This mission builds directly on that foundation rather than duplicating it. What Mathlib does not have — and what this mission's milestones supply — is Kraft's original 1949 sufficiency direction (existence of a uniquely decodable code realizing any length assignment satisfying the Kraft sum bound), any notion of Shannon entropy for a general finite distribution, and the source coding theorem itself.

Difficulty

The lower bound (HD(p)≤L(c)H_D(p)\le L(c)HD​(p)≤L(c)) is the easier half: it follows from the Kraft–McMillan inequality (already in Mathlib) via Gibbs'/Jensen's inequality applied to the two probability-like sequences pip_ipi​ and D−ℓi/KD^{-\ell_i}/KD−ℓi​/K (where K=∑jD−ℓj≤1K=\sum_j D^{-\ell_j}\le1K=∑j​D−ℓj​≤1 is the Kraft sum) — a short, self-contained convexity argument.

The achievability half is the genuine construction. Given the ideal (generally non-integer) lengths −log⁡Dpi-\log_D p_i−logD​pi​, one rounds up to ℓi=⌈−log⁡Dpi⌉\ell_i=\lceil -\log_D p_i\rceilℓi​=⌈−logD​pi​⌉ (Shannon–Fano–Elias lengths); a one-line estimate shows D−ℓi≤piD^{-\ell_i}\le p_iD−ℓi​≤pi​, so the Kraft sum of the rounded lengths is still ≤∑ipi=1\le\sum_i p_i=1≤∑i​pi​=1, and the bound ℓi<−log⁡Dpi+1\ell_i<-\log_D p_i+1ℓi​<−logD​pi​+1 gives L(c)<HD(p)+1L(c)<H_D(p)+1L(c)<HD​(p)+1 immediately once a code with exactly these lengths is shown to exist. Producing that code is Kraft's sufficiency direction, and it needs an explicit construction: order the lengths, and assign to symbol iii the first ℓi\ell_iℓi​ digits of the DDD-ary expansion of the cumulative sum ∑j<iD−ℓj\sum_{j<i} D^{-\ell_j}∑j<i​D−ℓj​. Verifying this assignment is injective, has the prescribed lengths, and is uniquely decodable (indeed prefix-free) is a careful but standard combinatorial argument — the main open piece of this mission.

Formalization scope

The source alphabet ι\iotaι must have at least two symbols (∣ι∣≥2|\iota|\ge 2∣ι∣≥2), not merely be nonempty. A single-symbol source forces p≡1p\equiv 1p≡1 and entropy HD(p)=0H_D(p)=0HD​(p)=0, so the achievability conjunct would demand a codeword of length 000 — but a uniquely decodable code can never contain the empty codeword (InformationTheory.UniquelyDecodable.epsilon_not_mem, provable from the definition: the empty string decodes ambiguously as zero or two copies of itself), so no admissible code exists and the theorem would be false, not merely hard, at ∣ι∣=1|\iota|=1∣ι∣=1. The same defect breaks Kraft's sufficiency direction (Milestone 2) whenever any prescribed length is 000, independent of ∣ι∣|\iota|∣ι∣; that milestone accordingly requires every length strictly positive. With ∣ι∣≥2|\iota|\ge2∣ι∣≥2 and full support, every pi<1p_i<1pi​<1 strictly, so the Shannon–Fano lengths ⌈−log⁡Dpi⌉\lceil-\log_D p_i\rceil⌈−logD​pi​⌉ are automatically all ≥1\ge1≥1, and the achievability construction only ever needs Milestone 2 at positive lengths. The code alphabet α\alphaα is likewise an arbitrary finite type (matching Mathlib's own Fintype/Nonempty conventions for the Kraft–McMillan file), with ∣α∣≥2|\alpha|\ge2∣α∣≥2 required to keep Real.logb non-degenerate. The source distribution is required strictly positive (pi>0p_i>0pi​>0) — the standard simplifying assumption (zero-probability symbols can always be dropped without loss). Unique decodability is stated exactly as Mathlib's InformationTheory.UniquelyDecodable, not re-derived from a "prefix code" definition, so the mission's results transport directly onto Mathlib's existing Kraft–McMillan file. A trivializing route to rule out: proving only the lower bound (citing Mathlib's inequality) while leaving the existential achievability half unaddressed would not be Shannon's theorem — the sandwich HD(p)≤L∗<HD(p)+1H_D(p)\le L^*<H_D(p)+1HD​(p)≤L∗<HD​(p)+1 is the theorem's actual content, and the lower bound alone (already essentially free from Mathlib) is not a novel contribution on its own.

Reusable output: the Kraft sufficiency construction (Milestone 2) is directly reusable for any future formalization of Huffman coding optimality, arithmetic coding, or the general "Kraft-inequality-achieving code exists" fact used throughout coding theory. Contributions are welcome starting from Milestone 2 (the open construction) or Milestone 3 (the Gibbs'-inequality lower bound, which only needs Milestone 1, already available via Mathlib).

Selected references

  • C. E. Shannon, "A Mathematical Theory of Communication," The Bell System Technical Journal 27 (1948), 379–423, 623–656.
  • T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley, 2006, Chapter 5 ("Data Compression"), §5.2 ("Kraft Inequality") and §5.4 ("Bounds on the Optimal Code Length," Theorem 5.4.1).
  • L. G. Kraft, A Device for Quantizing, Grouping, and Coding Amplitude-Modulated Pulses, M.S. thesis, MIT, 1949.
  • B. McMillan, "Two Inequalities Implied by Unique Decipherability," IRE Transactions on Information Theory 2:4 (1956), 115–116.
  • Mathlib, Mathlib.InformationTheory.Coding.UniquelyDecodable and Mathlib.InformationTheory.Coding.KraftMcMillan (2026).
7 thms4 active usersReviewed
🏆Completed
cryptography·Captain: iris

Strong Converse for a Degraded Wiretap Channel via Active Hypothesis Testing: with public feedback, the (ε, δ)-wiretap capacity is at most max over P_X of I(X ∧ Y | Z) whenever ε + δ < 1Research Paper

Motivation

A wiretap channel W:X→Y×ZW:\mathcal X\to\mathcal Y\times\mathcal ZW:X→Y×Z models secure transmission over a noisy medium: a transmitter sends a symbol xxx, a legitimate receiver observes YYY and an eavesdropper observes a correlated ZZZ, with joint probability W(y,z∣x)W(y,z|x)W(y,z∣x). The transmitter wants to deliver a message MMM reliably to the receiver while revealing (almost) nothing about it to the eavesdropper. Wyner (Bell Syst. Tech. J. 1975) showed that for a degraded channel without feedback the secrecy capacity is max⁡PXI(X∧Y∣Z)\max_{P_X}I(X\wedge Y|Z)maxPX​​I(X∧Y∣Z), and Csiszár and Körner (IEEE Trans. IT 1978) found the capacity of a general wiretap channel.

Allowing the receiver to send noiseless public feedback changes the picture: feedback can create secrecy where none existed (Leung-Yan-Cheong 1976; Maurer, IEEE Trans. IT 1993), and the wiretap capacity with feedback is unknown in general. It is known that max⁡PXI(X∧Y∣Z)\max_{P_X}I(X\wedge Y|Z)maxPX​​I(X∧Y∣Z) upper-bounds it when the error and leakage vanish. Hayashi, Tyagi and Watanabe (arXiv:1410.0443) prove that this bound holds even for fixed nonvanishing error ϵ\epsilonϵ and secrecy parameter δ\deltaδ with ϵ+δ<1\epsilon+\delta<1ϵ+δ<1: a strong converse.

Timeline:

  • 1975, Wyner: capacity max⁡PXI(X∧Y∣Z)\max_{P_X}I(X\wedge Y|Z)maxPX​​I(X∧Y∣Z) of the degraded wiretap channel without feedback (weak converse, vanishing error and leakage).
  • 2014, Morgan and Winter (IEEE Trans. IT 60(1)): a "pretty strong" converse for degraded channels, for a restricted range of (ϵ,δ)(\epsilon,\delta)(ϵ,δ).
  • 2014, Tan and Bloch (arXiv:1406.6758), concurrently: a strong converse for degraded channels as δ→0\delta\to0δ→0.
  • 2014, Hayashi–Tyagi–Watanabe: the bound for every ϵ+δ<1\epsilon+\delta<1ϵ+δ<1, for every (not necessarily degraded) channel, with public feedback.

Setting

All alphabets X,Y,Z\mathcal X,\mathcal Y,\mathcal ZX,Y,Z are finite and logarithms are base 2. A wiretap code with feedback with NNN messages and block length nnn consists of (possibly randomized) encoder maps, feedback maps and a decoder. The receiver first sends a feedback symbol F0F_0F0​; then in each round the transmitter sends Xt=et(M,F0,…,Ft−1)X_t=e_t(M,F_0,\dots,F_{t-1})Xt​=et​(M,F0​,…,Ft−1​), the channel outputs (Yt,Zt)∼W(⋅∣Xt)(Y_t,Z_t)\sim W(\cdot|X_t)(Yt​,Zt​)∼W(⋅∣Xt​), and the receiver sends Ft=ft(Y1,…,Yt)F_t=f_t(Y_1,\dots,Y_t)Ft​=ft​(Y1​,…,Yt​). Finally M^=d(Yn)\hat M=d(Y^n)M^=d(Yn). The eavesdropper sees ZnZ^nZn and the whole public feedback F\mathbf FF.

With MMM uniform on {1,…,N}\{1,\dots,N\}{1,…,N}, the code is an (N,n,ϵ,δ)(N,n,\epsilon,\delta)(N,n,ϵ,δ) wiretap code if

P(M≠M^)≤ϵ,∥PMZnF−PM×PZnF∥1≤δ,P(M\ne\hat M)\le\epsilon,\qquad \|P_{MZ^n\mathbf F}-P_M\times P_{Z^n\mathbf F}\|_1\le\delta,P(M=M^)≤ϵ,∥PMZnF​−PM​×PZnF​∥1​≤δ,

where ∥P−Q∥1=12∑x∣P(x)−Q(x)∣\|P-Q\|_1=\frac12\sum_x|P(x)-Q(x)|∥P−Q∥1​=21​∑x​∣P(x)−Q(x)∣ is the variation distance. A rate R>0R>0R>0 is (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-achievable if an (⌊2nR⌋,n,ϵ,δ)(\lfloor2^{nR}\rfloor,n,\epsilon,\delta)(⌊2nR⌋,n,ϵ,δ) code exists for all large nnn, and the (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-wiretap capacity Cϵ,δC_{\epsilon,\delta}Cϵ,δ​ is the supremum of the achievable rates.

For distributions P,QP,QP,Q on one alphabet, βϵ(P,Q)\beta_\epsilon(P,Q)βϵ​(P,Q) is the least type-II error Q[T]Q[T]Q[T] of a stochastic test TTT with type-I error at most ϵ\epsilonϵ. For two channels W,V:X→OW,V:\mathcal X\to\mathcal OW,V:X→O, an active hypothesis test chooses the inputs adaptively with feedback and tests on (inputs, outputs, feedback); βϵ(W,V,n)\beta_\epsilon(W,V,n)βϵ​(W,V,n) is its optimal type-II error. The conditional divergence is D(W∥V∣PX)=∑xPX(x)D(Wx∥Vx)D(W\|V|P_X)=\sum_xP_X(x)D(W_x\|V_x)D(W∥V∣PX​)=∑x​PX​(x)D(Wx​∥Vx​), and I(X∧Y∣Z)I(X\wedge Y|Z)I(X∧Y∣Z) is the conditional mutual information of PXYZ=PXWP_{XYZ}=P_XWPXYZ​=PX​W.

Formalization targets

Goal: Theorem 1

For 0≤ϵ,δ0\le\epsilon,\delta0≤ϵ,δ with ϵ+δ<1\epsilon+\delta<1ϵ+δ<1,

Cϵ,δ≤max⁡PXI(X∧Y∣Z).C_{\epsilon,\delta}\le\max_{P_X}I(X\wedge Y|Z).Cϵ,δ​≤PX​max​I(X∧Y∣Z).

The channel is arbitrary (not assumed degraded) and the code class is the full one: randomized encoders, randomized public feedback over any feedback alphabet.

Milestones

  1. Theorem 4 (cited from Hayashi 2009): lim⁡n−1nlog⁡βϵ(W,V,n)=max⁡PXD(W∥V∣PX)=max⁡xD(Wx∥Vx)\lim_n-\frac1n\log\beta_\epsilon(W,V,n)=\max_{P_X}D(W\|V|P_X)=\max_xD(W_x\|V_x)limn​−n1​logβϵ​(W,V,n)=maxPX​​D(W∥V∣PX​)=maxx​D(Wx​∥Vx​) for 0<ϵ<10<\epsilon<10<ϵ<1.
  2. Theorem 5 (cited from Tyagi–Watanabe): an (ϵ,δ)(\epsilon,\delta)(ϵ,δ) secret key on kkk values satisfies log⁡k≤−log⁡βϵ+δ+η(PKK^Z,QKK^Z)+2log⁡1η\log k\le-\log\beta_{\epsilon+\delta+\eta}(P_{K\hat KZ},Q_{K\hat KZ})+2\log\frac1\etalogk≤−logβϵ+δ+η​(PKK^Z​,QKK^Z​)+2logη1​ for every QQQ with K,K^K,\hat KK,K^ conditionally independent given ZZZ.
  3. Lemma 7: under a channel V(y,z∣x)=V2(z∣x)V1(y∣z)V(y,z|x)=V_2(z|x)V_1(y|z)V(y,z∣x)=V2​(z∣x)V1​(y∣z), the message and its estimate are conditionally independent given (Zn,F)(Z^n,\mathbf F)(Zn,F).
  4. The two displays of the proof of Theorem 6: log⁡N≤−log⁡βϵ+δ+η(PMM^ZnF,QMM^ZnF)+2log⁡1η\log N\le-\log\beta_{\epsilon+\delta+\eta}(P_{M\hat MZ^n\mathbf F},Q_{M\hat MZ^n\mathbf F})+2\log\frac1\etalogN≤−logβϵ+δ+η​(PMM^ZnF​,QMM^ZnF​)+2logη1​, and −log⁡βϵ′(PMM^ZnF,QMM^ZnF)≤−log⁡βϵ′(W,V,n)-\log\beta_{\epsilon'}(P_{M\hat MZ^n\mathbf F},Q_{M\hat MZ^n\mathbf F})\le-\log\beta_{\epsilon'}(W,V,n)−logβϵ′​(PMM^ZnF​,QMM^ZnF​)≤−logβϵ′​(W,V,n).
  5. Theorem 6: every (N,n,ϵ,δ)(N,n,\epsilon,\delta)(N,n,ϵ,δ) code satisfies log⁡N≤−log⁡βϵ+δ+η(W,V,n)+2log⁡1η\log N\le-\log\beta_{\epsilon+\delta+\eta}(W,V,n)+2\log\frac1\etalogN≤−logβϵ+δ+η​(W,V,n)+2logη1​ for all degraded-form VVV and 0<η<1−ϵ−δ0<\eta<1-\epsilon-\delta0<η<1−ϵ−δ.
  6. The minimax chain of the proof of Theorem 1, per input distribution and in full: min⁡Vmax⁡PXD(W∥V∣PX)=max⁡PXI(X∧Y∣Z)\min_V\max_{P_X}D(W\|V|P_X)=\max_{P_X}I(X\wedge Y|Z)minV​maxPX​​D(W∥V∣PX​)=maxPX​​I(X∧Y∣Z).

Significance

Theorem 1 is a strong converse: the rate cannot exceed max⁡PXI(X∧Y∣Z)\max_{P_X}I(X\wedge Y|Z)maxPX​​I(X∧Y∣Z) even if a constant error probability and a constant leakage are tolerated, provided ϵ+δ<1\epsilon+\delta<1ϵ+δ<1. For a degraded channel this bound is achieved by Wyner's scheme, so Cϵ,δC_{\epsilon,\delta}Cϵ,δ​ is determined for all 0<ϵ<1−δ0<\epsilon<1-\delta0<ϵ<1−δ (Corollary 2 of the paper, not part of this mission). The proof reduces wiretap coding to active hypothesis testing, in the spirit of the meta-converse of Polyanskiy, Poor and Verdú (IEEE Trans. IT 2010); Theorem 6 is a finite-blocklength bound valid for every nnn.

The paper proves Theorem 1, Theorem 6 and Lemma 7, and cites Theorems 4 and 5. None of these results has a machine-checked proof. A complete development would give a formal strong converse for secure communication with interaction, and reusable formal statements of the adaptive channel Stein lemma and of the secret-key/hypothesis-testing reduction.

Difficulty

The obvious route, Fano's inequality with a chain of mutual-information bounds, yields only a weak converse: it bounds the rate by max⁡PXI(X∧Y∣Z)\max_{P_X}I(X\wedge Y|Z)maxPX​​I(X∧Y∣Z) plus a term that vanishes only when ϵ\epsilonϵ and δ\deltaδ do. With feedback, the eavesdropper's view (Zn,F)(Z^n,\mathbf F)(Zn,F) is shaped by the receiver's past outputs, so the single-letterization steps of the no-feedback converse do not apply. The paper's route replaces information inequalities by hypothesis testing; its central technical inputs, the adaptive Stein lemma with strong converse and the minimax exchange in an extended-valued divergence, are cited or only sketched.

Formalization scope

Single-letter objects reuse published definitions: finite distributions and channels (WildeQIT.FinDist, WildeQIT.Channel), relative entropy (WildeQIT.relEntropy, bits, +∞+\infty+∞ off support) and conditional mutual information (WildeQIT.condMutualInfo). Multi-letter laws are Mathlib probability mass functions built round by round, so the protocol's feedback alphabet and local randomness can be arbitrary types. A transmission–feedback strategy (FeedbackStrategy) is shared by wiretap codes and active tests; "possibly randomized" maps are deterministic functions of independent local randomness Ux,UyU_x,U_yUx​,Uy​, the representation used in the proof of Lemma 7. Rounds are indexed from 000, messages are Fin N.

Conventions: Cϵ,δC_{\epsilon,\delta}Cϵ,δ​, the maxima, the divergences and −log⁡β-\log\beta−logβ are extended reals, with −log⁡0=+∞-\log0=+\infty−log0=+∞; the variation distance carries the factor 12\frac1221​; conditional divergences are written in joint form D(PXW∥PXV)D(P_XW\|P_XV)D(PX​W∥PX​V); conditional independence is stated without division. The goal is not trivialized by an empty code class: proved sanity checks show that a one-message code is a (1,n,0,0)(1,n,0,0)(1,n,0,0) code and that βϵ≤1\beta_\epsilon\le1βϵ​≤1.

Welcome contributions: the reduction lemmas (Lemma 7 and the two displays of Theorem 6) are self-contained probability; the minimax chain is finite-dimensional convex analysis; Theorems 4 and 5 are independent results whose formal proofs would be reusable well beyond this mission.

Selected references

  • M. Hayashi, H. Tyagi, S. Watanabe, Strong Converse for a Degraded Wiretap Channel via Active Hypothesis Testing, arXiv:1410.0443v1, 2014. https://arxiv.org/abs/1410.0443
  • M. Hayashi, Discrimination of two channels by adaptive methods and its application to quantum system, IEEE Trans. Inf. Theory 55(8), pp. 3807–3820, 2009 (reference [6] of the paper).
  • H. Tyagi, S. Watanabe, Converses for secret key agreement and secure computing, arXiv:1404.5715, 2014. https://arxiv.org/abs/1404.5715
  • C. Morgan, A. Winter, "Pretty strong" converse for the quantum capacity of degradable channels, IEEE Trans. Inf. Theory 60(1), pp. 317–333, 2014 (reference [11] of the paper).
  • A. D. Wyner, The wire-tap channel, Bell System Technical Journal 54(8), 1975. https://doi.org/10.1002/j.1538-7305.1975.tb02040.x
  • I. Csiszár, J. Körner, Broadcast channels with confidential messages, IEEE Trans. Inf. Theory 24(3), 1978. https://doi.org/10.1109/TIT.1978.1055892
  • V. Y. F. Tan, M. R. Bloch, Information spectrum approach to strong converse theorems for degraded wiretap channels, arXiv:1406.6758, 2014. https://arxiv.org/abs/1406.6758
  • Y. Polyanskiy, H. V. Poor, S. Verdú, Channel coding rate in the finite blocklength regime, IEEE Trans. Inf. Theory 56(5), 2010. https://doi.org/10.1109/TIT.2010.2043769
33 thms3 active usersReviewed
🏆Completed
cryptographyTheoretical Computer Science·Captain: Victorized

How to Share a Secret — Shamir’s Threshold SchemeResearch Paper

Threshold access to a secret

A cryptographic key can become unavailable when a single custodian loses it, while distributing complete copies gives every custodian the ability to use it alone. A threshold scheme distributes evaluations of one hidden object so that a sufficiently large coalition can recover a secret and a smaller coalition learns no information from its observations. Adi Shamir's How to Share a Secret gives a polynomial construction with these properties and discusses participant changes, replacement of shares, and hierarchical allocation. The mathematical source is the two-page 1979 paper, especially its definition of a threshold scheme on p. 612 and its finite-field construction on p. 613.

The proposed development concerns a known mathematical result. Its purpose is to connect a concrete finite sampling experiment, an explicit reconstruction formula, and exact joint observation probabilities in Lean. The security statement must hold for every admissible parameter choice, every fixed secret, and every coalition covered by the threshold condition.

A finite polynomial experiment

Fix a prime ppp and integers k,nk,nk,n with

1≤k≤n<p.1\le k\le n<p.1≤k≤n<p.

Write Fp=Z/pZ\mathbb F_p=\mathbb Z/p\mathbb ZFp​=Z/pZ. A secret is an element s∈Fps\in\mathbb F_ps∈Fp​. The randomness is a vector

a=(a1,…,ak−1)∈Fpk−1,a=(a_1,\ldots,a_{k-1})\in\mathbb F_p^{k-1},a=(a1​,…,ak−1​)∈Fpk−1​,

sampled uniformly from the full product space. The sharing polynomial is

qs,a(X)=s+∑j=1k−1ajXj.q_{s,a}(X)=s+\sum_{j=1}^{k-1}a_jX^j.qs,a​(X)=s+j=1∑k−1​aj​Xj.

Each coefficient may be zero. Consequently the appropriate degree condition is deg⁡qs,a<k\deg q_{s,a}<kdegqs,a​<k, including the zero polynomial. This convention follows the paper's uniform coefficient sampling, which places no restriction on a leading coefficient.

Participants have the public, distinct, nonzero identifiers 1,…,n1,\ldots,n1,…,n in Fp\mathbb F_pFp​. Participant iii receives qs,a(i)q_{s,a}(i)qs,a​(i). In Lean, participants are indexed by Fin n, and index iii denotes the field element represented by i+1i+1i+1. A coalition is a finite set Γ\GammaΓ of participants. Its observation is the entire function assigning a share value to each member of Γ\GammaΓ; the coordinates of this function include all correlations among the observed shares.

The number of random choices is pk−1p^{k-1}pk−1. For an observation y:Γ→Fpy:\Gamma\to\mathbb F_py:Γ→Fp​, its probability is defined as an exact rational number:

Pr⁡[Obs⁡Γ(s,a)=y]=#{a∈Fpk−1:Obs⁡Γ(s,a)=y}pk−1.\Pr[\operatorname{Obs}_{\Gamma}(s,a)=y] =\frac{\#\{a\in\mathbb F_p^{k-1}:\operatorname{Obs}_{\Gamma}(s,a)=y\}}{p^{k-1}}.Pr[ObsΓ​(s,a)=y]=pk−1#{a∈Fpk−1​:ObsΓ​(s,a)=y}​.

The prime and positive-threshold assumptions ensure that the denominator represents a nonempty sample space.

Formalization targets

The main theorem asserts both requirements of the concrete construction. For every coalition containing at least kkk participants, the Lagrange expression evaluated at zero recovers the secret:

Recover⁡Γ(Obs⁡Γ(s,a))=s(∣Γ∣≥k).\operatorname{Recover}_{\Gamma}(\operatorname{Obs}_{\Gamma}(s,a))=s \qquad (|\Gamma|\ge k).RecoverΓ​(ObsΓ​(s,a))=s(∣Γ∣≥k).

Here reconstruction is a specified finite sum of products and field divisions. It is a function supplied by the model, and its correctness is a conclusion to be proved.

For every coalition smaller than the threshold and every possible joint observation, the target is

Pr⁡[Obs⁡Γ(s,a)=y]=p−∣Γ∣(∣Γ∣<k).\Pr[\operatorname{Obs}_{\Gamma}(s,a)=y]=p^{-|\Gamma|} \qquad (|\Gamma|<k).Pr[ObsΓ​(s,a)=y]=p−∣Γ∣(∣Γ∣<k).

This formula is independent of sss. Thus the observation channel has the same law for every fixed secret. In particular, a uniform prior on the secret remains uniform after an observation.

The supporting targets include validity of the constructed polynomial, correctness of reconstruction, and the exact compatible-randomness count

#{a:Obs⁡Γ(s,a)=y}=pk−1−∣Γ∣.\#\{a:\operatorname{Obs}_{\Gamma}(s,a)=y\}=p^{k-1-|\Gamma|}.#{a:ObsΓ​(s,a)=y}=pk−1−∣Γ∣.

Companion targets formalize preservation of existing shares when participants are added, joint privacy across independently resampled sharing editions, and hierarchical access obtained by allocating several polynomial locations to a person. Their source is the properties listed in Section 2, p. 613. Share values and encoded secret blocks already have the same field-element representation in the model.

What the formalization establishes

The finished main theorem will certify a concrete threshold protocol over every prime field and every configuration satisfying the displayed parameter conditions. The reconstruction branch covers all authorized coalitions, including coalitions larger than the threshold. The privacy branch specifies the distribution of their complete transcript for every unauthorized coalition and every secret.

Existing algebraic groundwork is available. Three Prove2Me results in the ShamirSecretSharing namespace are already Proved: uniqueness from sufficiently many evaluations, unique extension after prescribing the constant and the remaining threshold observations, and nonuniqueness below the reconstruction threshold. Their source is the existing Lean catalog. The proposal references those declarations with their existing identities and credit. The new targets add the explicit prime-field construction, finite coefficient sampling, exact observation probabilities, and the companion interfaces described above.

The central formalization difficulty

Joint privacy requires control of the number of random coefficient vectors producing each transcript. Polynomial compatibility by itself does not specify those probabilities. Smaller coalitions, empty observations, and positive thresholds as small as one must satisfy the same finite counting statement. Reconstruction also requires the public locations to remain distinct and nonzero after reduction modulo ppp; this is the reason for the parameter condition n<pn<pn<p.

For several sharing editions, the sampling convention matters. Each edition uses the same secret constant and its own independent uniform coefficient vector. A combined transcript must retain a secret-independent law when every edition reveals fewer than kkk locations. Hierarchical holdings require a union of distinct locations: assigning the same location to two people does not supply an additional polynomial evaluation.

Formalization scope and conventions

The development uses Lean 4.30 and Mathlib's ZMod, polynomials, finite sets, finite function types, and rational arithmetic. The exact finite event-count representation makes uniform sampling part of the model. Recovery and privacy are proved about these formulas; neither is a hypothesis or a field in a structure that assumes the desired security guarantee.

All principal targets quantify over arbitrary admissible p,n,kp,n,kp,n,k. Empty coalitions are included in the privacy clause. The boundary k=1k=1k=1 uses an empty randomness vector and constant sharing polynomials. The refresh experiment permits any finite set of editions, including the empty set, and uses the full product randomness space. A hierarchical coalition is interpreted through the union of the locations its members hold, even when holdings overlap. Participant extension retains the field, threshold, polynomial, and existing numerical identifiers.

The reusable outputs are a coefficient-vector construction, a Lagrange recovery interface, compatible-randomness counts, exact finite observation laws, and interfaces for independent editions and hierarchical holdings. The source paper's polynomial-evaluation complexity discussion cites external algorithms; the formal targets here are its threshold guarantees and its stated sharing properties.

Selected references

  • Adi Shamir, How to Share a Secret, Communications of the ACM 22(11), 612–613, 1979. DOI; paper PDF.
  • Existing formalization, Cryptography/ShamirSecretSharing.lean, in the paulklemstine/Lean catalog, commit 53c2925a02. Source. The proposal retains the three existing Prove2Me theorem references and their original provenance.
  • The Mathlib community, polynomial interpolation library. Pinned Lean source.

Original mathematical credit belongs to Adi Shamir. Existing formalizations retain the attribution given above.

13 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Simulation of a Random Variable and its Application to Game Theory: With a Leaked Randomness Source, Alice Can Secure J_cav(H(X|Y)) in the n-Stage Repeated Game up to the Error Term (10)Research Paper

Motivation

A mixed strategy assumes a player can draw from any distribution. A real player may only have a limited or imperfect source of randomness, and an opponent may observe part of it. Repeated games with bounded randomness ask how much a player can guarantee in that situation. Gossner and Vieille (2002, Games Econ. Behav. 41(2), 206–226) studied a repeated zero-sum game in which the maximizer's only source of randomness is an i.i.d. sequence she observes privately. Valizadeh and Gohari (2017) generalized this to a leaked randomness source, in which the opponent observes a correlated sequence, and characterized the long-run max-min value. This mission formalizes the next question, studied in Valizadeh and Gohari, Playing Games with Bounded Entropy: Convergence Rate and Approximate Equilibria (arXiv:1902.03676v1, 2019; published as Simulation of a Random Variable and its Application to Game Theory, Math. Oper. Res. 2021): how fast does the max-min value of the nnn-stage game approach its long-run limit?

Timeline:

  • 2002, Gossner and Vieille: the long-run max-min value when Alice's private source is i.i.d. and Bob does not observe it.
  • 2017, Valizadeh and Gohari: the long-run max-min value Jcav(A)(H(X∣Y))J^{(A)}_{cav}(H(X|Y))Jcav(A)​(H(X∣Y)) with a leaked source. The same quantity bounds every nnn-stage max-min value from above (Theorem 5 of the paper, cited there and not proved).
  • 2019, Valizadeh and Gohari (this paper): an explicit lower bound for the nnn-stage game (Theorem 6), which gives the rate log⁡n/n1/4\sqrt{\log n}/n^{1/4}logn​/n1/4 (Corollary 7). The tool is a one-shot simulation lemma for random mappings (Lemma 14).

Setting

Alice (maximizer) and Bob (minimizer) have finite nonempty action sets A\mathcal AA and B\mathcal BB, and Bob pays Alice uabu_{ab}uab​ when the actions are (a,b)(a,b)(a,b). A joint pmf pXYp_{XY}pXY​ on finite alphabets X×Y\mathcal X\times\mathcal YX×Y is publicly known. At each stage t=1,…,nt=1,\dots,nt=1,…,n a fresh pair (Xt,Yt)∼pXY(X_t,Y_t)\sim p_{XY}(Xt​,Yt​)∼pXY​ is drawn, independently of the past. Alice observes XtX_tXt​ and Bob observes YtY_tYt​. Both then act, and both actions are publicly monitored.

Strategies are deterministic. Alice's stage-ttt action is At=σt(A1,B1,…,At−1,Bt−1,X1,…,Xt)A_t=\sigma_t(A_1,B_1,\dots,A_{t-1},B_{t-1},X_1,\dots,X_t)At​=σt​(A1​,B1​,…,At−1​,Bt−1​,X1​,…,Xt​), and Bob's is Bt=τt(A1,B1,…,At−1,Bt−1,Y1,…,Yt)B_t=\tau_t(A_1,B_1,\dots,A_{t-1},B_{t-1},Y_1,\dots,Y_t)Bt​=τt​(A1​,B1​,…,At−1​,Bt−1​,Y1​,…,Yt​). Each player's only randomness is their own source. The payoff is the expected average

λ(σn,τn)=E[1n∑t=1nuAtBt],\lambda(\sigma^n,\tau^n)=\mathbb E\Big[\frac1n\sum_{t=1}^nu_{A_tB_t}\Big],λ(σn,τn)=E[n1​t=1∑n​uAt​Bt​​],

with the expectation taken over the i.i.d. sources.

Logarithms are base 2. H(p)H(p)H(p) is the Shannon entropy and H(X∣Y)H(X|Y)H(X∣Y) the conditional entropy. For α>0\alpha>0α>0, α≠1\alpha\ne1α=1, Hα(p)=α1−αlog⁡∥p∥αH_\alpha(p)=\frac{\alpha}{1-\alpha}\log\|p\|_\alphaHα​(p)=1−αα​log∥p∥α​ is the Rényi entropy and Hα(X∣Y)=α1−αlog⁡∑ypY(y)∥pX∣Y=y∥αH_\alpha(X|Y)=\frac{\alpha}{1-\alpha}\log\sum_yp_Y(y)\|p_{X|Y=y}\|_\alphaHα​(X∣Y)=1−αα​log∑y​pY​(y)∥pX∣Y=y​∥α​ the conditional Rényi entropy. The total variation distance is ∥p−q∥TV=12∑∣p−q∣\|p-q\|_{TV}=\frac12\sum|p-q|∥p−q∥TV​=21​∑∣p−q∣.

The benchmark (Definition 4) is built in three steps:

  • the security level U(A)(pA)=min⁡b∑apA(a)uabU^{(A)}(p_A)=\min_b\sum_ap_A(a)u_{ab}U(A)(pA​)=minb​∑a​pA​(a)uab​;
  • the entropy-constrained value J(A)(h)=max⁡{U(A)(pA):H(pA)≤h}J^{(A)}(h)=\max\{U^{(A)}(p_A):H(p_A)\le h\}J(A)(h)=max{U(A)(pA​):H(pA​)≤h};
  • its upper concave envelope Jcav(A)J^{(A)}_{cav}Jcav(A)​ on [0,∞)[0,\infty)[0,∞).

Formalization targets

Goal: Theorem 6 (p. 14)

There exist r>0r>0r>0, β>0\beta>0β>0, γ≥0\gamma\ge0γ≥0 and μ≥0\mu\ge0μ≥0 with the following property. For all sequences fn∈Nf_n\in\mathbb Nfn​∈N, 0≤gn≤r0\le g_n\le r0≤gn​≤r, 0≤hn≤10\le h_n\le10≤hn​≤1, there are Alice strategies σn\sigma^nσn such that for all Bob strategies τn\tau^nτn and all nnn,

λ(σn,τn)≥Jcav(A)(H(X∣Y))−μ(1n+1fn+fnn+gn+2−12(nfn−1)hn(βgn−γhn)).(10)\lambda(\sigma^n,\tau^n)\ge J^{(A)}_{cav}(H(X|Y))-\mu\Big(\frac1n+\frac1{f_n}+\frac{f_n}n+g_n+2^{-\frac12(\frac n{f_n}-1)h_n(\beta g_n-\gamma h_n)}\Big).\quad(10)λ(σn,τn)≥Jcav(A)​(H(X∣Y))−μ(n1​+fn​1​+nfn​​+gn​+2−21​(fn​n​−1)hn​(βgn​−γhn​)).(10)

Milestones

The milestones are the results that the paper's proof (§3.3 and Appendix A) uses, in attack order:

  • the total variation properties of Lemma 1;
  • the second-order Taylor bounds (3)–(6) for Rényi entropies on [1/2,2][1/2,2][1/2,2];
  • the random-mapping estimates (A.9), (A.11) and (A.5);
  • the simulation Lemma 14,
∑fpF(f)∥pf(X)Y−pApY∥TV≤min⁡α∈[1,2]2−(1−1α)(Hα(X∣Y)−H1/α(A)+2);\sum_fp_F(f)\|p_{f(X)Y}-p_Ap_Y\|_{TV}\le\min_{\alpha\in[1,2]}2^{-(1-\frac1\alpha)(H_\alpha(X|Y)-H_{1/\alpha}(A)+2)};f∑​pF​(f)∥pf(X)Y​−pA​pY​∥TV​≤α∈[1,2]min​2−(1−α1​)(Hα​(X∣Y)−H1/α​(A)+2);
  • the block lengths (17);
  • the two-point representation (18)–(19) of Jcav(A)(H(X∣Y))J^{(A)}_{cav}(H(X|Y))Jcav(A)​(H(X∣Y)) and its degenerate cases (Lemma 16);
  • Rényi additivity (24)–(25), the entropy-gap inequality (29), and the per-block bound (31).

Significance

Theorem 6 makes the convergence of the nnn-stage max-min value quantitative. With fn≍nf_n\asymp\sqrt nfn​≍n​ and gn≍log⁡n/n1/4g_n\asymp\sqrt{\log n}/n^{1/4}gn​≍logn​/n1/4 it gives a rate of log⁡n/n1/4\sqrt{\log n}/n^{1/4}logn​/n1/4. Combined with the cited upper bound, it says how long a game must be before limited, partially leaked randomness costs Alice at most ε\varepsilonε. Lemma 14 is of independent use: it bounds how well a deterministic function of one correlated source can imitate an independent random variable in total variation, and it is stated with Rényi entropies of both orders α\alphaα and 1/α1/\alpha1/α. The paper also uses it for approximate equilibria.

On formalization: none of these results has a machine-checked proof. The mission produces finite pmf-level definitions of Shannon and Rényi entropy in bits, a model of repeated games with history-dependent deterministic strategies, and the random-mapping simulation bound. The proofs exist on paper (§3.3, Appendix A). The work is to formalize them, which includes an instance of Riesz–Thorin interpolation for finite measure spaces that Mathlib does not have.

Difficulty

Alice cannot randomize at will, so the natural strategy, playing the mixed action that attains Jcav(A)J^{(A)}_{cav}Jcav(A)​, is not available. She has to manufacture mixed actions from her source, and Bob's correlated observation leaks information about them. In the paper's block construction, the actions of block iii are a function of the previous block's source. Three steps of this argument are hard to formalize:

  • Simulation bound (Lemma 14). Its proof controls an operator from Lα(X)L^\alpha(\mathcal X)Lα(X) to Lα(pF)L^\alpha(p_F)Lα(pF​) at α=1\alpha=1α=1 and α=2\alpha=2α=2, then interpolates.
  • Taylor control of Rényi entropies (3)–(6). The Rényi entropy must be expanded through the removable point α=1\alpha=1α=1, uniformly on [1/2,2][1/2,2][1/2,2].
  • Bob's adaptivity. The final payoff bound has to hold against every Bob strategy, including ones that condition on the whole history. The required conditional-independence argument is where a careless formalization would quietly restrict Bob.

Formalization scope

Conventions:

  • All alphabets are finite types. A\mathcal AA and B\mathcal BB are nonempty.
  • A pmf is a nonnegative real function summing to one. Δ(A)\Delta(\mathcal A)Δ(A) is stdSimplex ℝ 𝒜.
  • Logarithms are Real.logb 2, with 0log⁡0=00\log0=00log0=0.
  • Stages and blocks are 0-based (Fin n).
  • λ\lambdaλ is a finite sum over (xn,yn)(x^n,y^n)(xn,yn) weighted by ∏tpXY(xt,yt)\prod_tp_{XY}(x_t,y_t)∏t​pXY​(xt​,yt​).
  • J(A)J^{(A)}J(A) is the supremum of U(A)U^{(A)}U(A) over {p∈Δ(A):H(p)≤h}\{p\in\Delta(\mathcal A):H(p)\le h\}{p∈Δ(A):H(p)≤h}, which is attained for h≥0h\ge0h≥0. Jcav(A)(h)J^{(A)}_{cav}(h)Jcav(A)​(h) is the infimum of g(h)g(h)g(h) over functions ggg that are concave on [0,∞)[0,\infty)[0,∞) and majorize J(A)J^{(A)}J(A) there.
  • The random mapping's law is pF(f)=∏xpA(f(x))p_F(f)=\prod_xp_A(f(x))pF​(f)=∏x​pA​(f(x)) on the finite set of maps X→A\mathcal X\to\mathcal AX→A.

Standing readings and added hypotheses:

  • "n∈Nn\in\mathbb Nn∈N" and "fn∈Nf_n\in\mathbb Nfn​∈N" are read as n≥1n\ge1n≥1 and fn≥1f_n\ge1fn​≥1, because (10) divides by both.
  • The constants d2d_2d2​ of (4) and (6) are replaced by existential constants in the same position, and so is the γ\gammaγ of (29) and (31).
  • Lemma 16 is posed as the dichotomy its proof establishes.
  • (31) adds f≤nf\le nf≤n, the only case in which the paper's blocks are nonempty.
  • The Rényi formulas are junk at α=1\alpha=1α=1, so every statement excludes that point or multiplies by 1−1/α=01-1/\alpha=01−1/α=0.

The goal must not be trivialized:

  • The constants come before the sequences f,g,hf,g,hf,g,h, the strategies and nnn. A μ\muμ chosen after nnn would make (10) trivial.
  • Alice's action reads only past actions and her own sources, and Bob ranges over all deterministic history-dependent strategies.
  • The expectation is over the i.i.d. product of pXYp_{XY}pXY​, not of its marginals.
  • Jcav(A)J^{(A)}_{cav}Jcav(A)​ is the least concave majorant, not a two-point supremum, so (18)–(19) has content.

Not posed: Theorem 31 (Riesz–Thorin), the block payoff bound of p. 24 (which rests on (32)), and the block summation (33)–(35). Contributions are welcome on all of them. The entropy, total variation and random-mapping layers can be reused for other one-shot simulation and channel-resolvability statements.

Selected references

  • M. Valizadeh, A. Gohari, Playing Games with Bounded Entropy: Convergence Rate and Approximate Equilibria, arXiv:1902.03676v1, 2019. https://arxiv.org/abs/1902.03676v1 (published as Simulation of a Random Variable and its Application to Game Theory, Mathematics of Operations Research, 2021).
  • M. Valizadeh, A. Gohari, Playing games with bounded entropy, arXiv:1702.05719, 2017. https://arxiv.org/abs/1702.05719
  • O. Gossner, N. Vieille, How to play with a biased coin?, Games and Economic Behavior 41(2), 206–226, 2002.
  • C. Beck, F. Schögl, Thermodynamics of Chaotic Systems: An Introduction, Cambridge University Press, 1995 (cited in the paper for the analysis of HαH_\alphaHα​ in α\alphaα, §5).
16 thms3 active usersReviewed
🏆Completed
EconomicsOperations Research·Captain: mikedeng1

Human and Machine: The Impact of Machine Input on Decision-Making Under Cognitive Limitations II: Machine Input Never Lowers the Decision-Maker's Accuracy or Expected ValueResearch Paper

Motivation

Machine-learning systems are increasingly placed beside human experts — physicians reading scans, loan officers screening applications, judges assessing risk — rather than replacing them. The machine processes the structured data it can see; the human also has access to information the algorithm cannot observe, but her attention is limited. Whether such a partnership improves the decision is a question about how the human reallocates scarce cognitive effort once part of the information is handed to her for free.

Boyacı, Canyakmaz and de Véricourt (ESMT Working Paper 20-02, 2020; published in Management Science, 2024) model the human as a rationally inattentive decision-maker in the sense of Sims (2003): she chooses how much information to process, and pays a cost proportional to the mutual information between the state and her decision. In the binary-choice setting, Matějka and McKay (2015) showed that such problems reduce to choosing conditional choice probabilities, with logit-form solutions. The paper uses this reduction to compare a decision-maker who decides alone with one who first sees a machine's assessment. This mission formalizes its first comparison, Proposition 1: the machine never lowers the decision-maker's accuracy or her expected value.

Setting

A decision-maker (DM) must announce whether the state of the world ω∈{g,b}\omega\in\{g,b\}ω∈{g,b} is good (a=ya=ya=y) or bad (a=na=na=n). A correct choice pays 111, an incorrect one 000. Her prior that the state is good is μ∈[0,1]\mu\in[0,1]μ∈[0,1], and λ≥0\lambda\ge0λ≥0 is the information cost.

A strategy is a pair (pg,pb)∈[0,1]2(p_g,p_b)\in[0,1]^2(pg​,pb​)∈[0,1]2 of conditional probabilities of choosing yyy in state ggg and in state bbb. It induces the choice probability p=μpg+(1−μ)pbp=\mu p_g+(1-\mu)p_bp=μpg​+(1−μ)pb​, the accuracy A=μpg+(1−μ)(1−pb)A=\mu p_g+(1-\mu)(1-p_b)A=μpg​+(1−μ)(1−pb​), the cognitive cost

C=λ[H(p)−(1−μ)H(pb)−μH(pg)],H(x)=−xlog⁡x−(1−x)log⁡(1−x),C=\lambda\big[H(p)-(1-\mu)H(p_b)-\mu H(p_g)\big],\qquad H(x)=-x\log x-(1-x)\log(1-x),C=λ[H(p)−(1−μ)H(pb​)−μH(pg​)],H(x)=−xlogx−(1−x)log(1−x),

(the mutual information between state and action, in nats) and the expected value V=A−CV=A-CV=A−C. The DM maximizes VVV. The optimal accuracy A⋆(μ)A^\star(\mu)A⋆(μ) and optimal value V⋆(μ)V^\star(\mu)V⋆(μ) are the accuracy and value at a maximizer. Two thresholds organize the solution:

μ‾=1e1/λ+1,μˉ=e1/λe1/λ+1.\underline\mu=\frac{1}{e^{1/\lambda}+1},\qquad \bar\mu=\frac{e^{1/\lambda}}{e^{1/\lambda}+1}.μ​=e1/λ+11​,μˉ​=e1/λ+1e1/λ​.

The machine. Information is aggregated into two binary variables: X1X_1X1​, which the machine and the DM can both evaluate, and X2X_2X2​, which only the DM can assess. Realizations are x1,x2∈{−,+}x_1,x_2\in\{-,+\}x1​,x2​∈{−,+} and the state is good iff x1=x2=+x_1=x_2=+x1​=x2​=+. The DM's prior on (X1,X2)(X_1,X_2)(X1​,X2​) is π\piπ, with π(x1,x2)>0\pi(x_1,x_2)>0π(x1​,x2​)>0 for all four realizations, so μ=π(+,+)\mu=\pi(+,+)μ=π(+,+). The machine reveals x1x_1x1​ at no cost; the DM updates by Bayes' rule to μx=P(ω=g∣X1=x)\mu^x=P(\omega=g\mid X_1=x)μx=P(ω=g∣X1​=x) and then solves her problem with prior μx\mu^xμx. The machine-assisted accuracy and value are the ex-ante expectations

Am⋆=∑xP(X1=x) A⋆(μx),Vm⋆=∑xP(X1=x) V⋆(μx).A^\star_m=\sum_{x}P(X_1=x)\,A^\star(\mu^x),\qquad V^\star_m=\sum_{x}P(X_1=x)\,V^\star(\mu^x).Am⋆​=x∑​P(X1​=x)A⋆(μx),Vm⋆​=x∑​P(X1​=x)V⋆(μx).

Formalization targets

Goal: Proposition 1

For every λ≥0\lambda\ge0λ≥0 and every prior π\piπ with positive entries,

Am⋆≥A⋆(μ)andVm⋆≥V⋆(μ).A^\star_m\ge A^\star(\mu)\qquad\text{and}\qquad V^\star_m\ge V^\star(\mu).Am⋆​≥A⋆(μ)andVm⋆​≥V⋆(μ).

Milestones

  1. Equation (3). μ−=0\mu^-=0μ−=0 and μ+=μ/(μ+π(+,−))>μ\mu^+=\mu/(\mu+\pi(+,-))>\muμ+=μ/(μ+π(+,−))>μ.
  2. Corollary 2, (13). For λ>0\lambda>0λ>0: A⋆(μ)=1−μA^\star(\mu)=1-\muA⋆(μ)=1−μ on [0,μ‾][0,\underline\mu][0,μ​], e1/λ/(e1/λ+1)e^{1/\lambda}/(e^{1/\lambda}+1)e1/λ/(e1/λ+1) on (μ‾,μˉ)(\underline\mu,\bar\mu)(μ​,μˉ​), and μ\muμ on [μˉ,1][\bar\mu,1][μˉ​,1].
  3. Corollary 2, (15). For λ>0\lambda>0λ>0: V⋆(μ)=1−μV^\star(\mu)=1-\muV⋆(μ)=1−μ on [0,μ‾][0,\underline\mu][0,μ​], λ[log⁡(e1/λ+1)−H(μ)]\lambda[\log(e^{1/\lambda}+1)-H(\mu)]λ[log(e1/λ+1)−H(μ)] on (μ‾,μˉ)(\underline\mu,\bar\mu)(μ​,μˉ​), and μ\muμ on [μˉ,1][\bar\mu,1][μˉ​,1].
  4. Lemma 2 (accuracy and value). Am⋆=1−μ/μ++(μ/μ+)A⋆(μ+)A^\star_m=1-\mu/\mu^++(\mu/\mu^+)A^\star(\mu^+)Am⋆​=1−μ/μ++(μ/μ+)A⋆(μ+), and the same identity for Vm⋆V^\star_mVm⋆​.
  5. Convexity of A⋆A^\starA⋆ on [0,1][0,1][0,1] (proof of Proposition 1).
  6. Slopes at the thresholds. The middle branch of (15) has derivative −1-1−1 at μ‾\underline\muμ​ and 111 at μˉ\bar\muμˉ​.
  7. Convexity of V⋆V^\starV⋆ on [0,1][0,1][0,1].

Significance

The result. Proposition 1 is the baseline against which the paper's other findings are measured: although accuracy and value always improve, the machine can lower the probability of choosing the good state, raise false positives, and increase the DM's cognitive effort (Theorems 2–4 of the paper). Without Proposition 1 those effects would not be separable from a simple loss of decision quality. The closed forms (13) and (15) also show that, where the DM processes information, her accuracy depends on λ\lambdaλ alone and not on her prior.

Formalizing it. The proposition and its milestones are proved in the paper, in Appendix A, and the closed forms rely on the logit characterization of the optimum. None of this is machine-checked. A complete development produces a verified closed-form solution of the binary rational-inattention problem with entropy cost, with accuracy and value as explicit functions of the prior, and a verified value-of-information inequality for that problem. Both are reusable by the other four missions of this series and by any binary rational-inattention model.

Difficulty

The obvious argument — more information cannot hurt — is not available off the shelf: the DM is not a Bayesian with free information but optimizes an entropy-penalized program, and the comparison is between optimal values of two such programs at different priors. A⋆A^\starA⋆ and V⋆V^\starV⋆ are values at an optimum of a non-linear program over [0,1]2[0,1]^2[0,1]2. Their closed forms require identifying exactly when the corner solutions pg=pb=0p_g=p_b=0pg​=pb​=0 and pg=pb=1p_g=p_b=1pg​=pb​=1 are optimal and handling the degenerate priors μ=0,1\mu=0,1μ=0,1, where the maximizer is not unique. Both functions are piecewise in μ\muμ, so their shape on [0,1][0,1][0,1] does not follow from the shape of each piece: the behaviour at the kinks μ‾\underline\muμ​ and μˉ\bar\muμˉ​ decides it. Accuracy is a component of the objective, not the objective itself, so statements about A⋆A^\starA⋆ do not follow from optimality alone.

Formalization scope

  • Decision problem. The paper's general information-processing problem (2) is not formalized. The DM chooses (pg,pb)∈[0,1]2(p_g,p_b)\in[0,1]^2(pg​,pb​)∈[0,1]2 directly — the paper's own §4 reduction (Matějka & McKay 2015), not a restriction. HHH is Mathlib's Real.binEntropy (natural logarithm); λ\lambdaλ is lam.
  • Starred metrics. A⋆A^\starA⋆ and V⋆V^\starV⋆ are accuracy and value at a chosen maximizer (Classical.epsilon); every maximizer yields the same values. They are defined for every real μ\muμ and used on [0,1][0,1][0,1].
  • Machine. {−,+}\{-,+\}{−,+} is Bool with true =+=+=+; the prior is π : Bool → Bool → ℝ with positive entries summing to 111. Posteriors are defined by Bayes' rule; Am⋆A^\star_mAm⋆​, Vm⋆V^\star_mVm⋆​ are expectations over x1x_1x1​.
  • Parameters. The goal keeps the printed λ≥0\lambda\ge0λ≥0 (at λ=0\lambda=0λ=0 the cost vanishes); all milestones assume the model's standing λ>0\lambda>0λ>0, needed for 1/λ1/\lambda1/λ. The paper's parameter set S={(μ,μ+)∈[0,1]2:μ<μ+}\mathcal S=\{(\mu,\mu^+)\in[0,1]^2:\mu<\mu^+\}S={(μ,μ+)∈[0,1]2:μ<μ+} is replaced by priors with positive entries, which realize exactly 0<μ<μ+<10<\mu<\mu^+<10<μ<μ+<1.
  • Ruled out. Defining A⋆A^\starA⋆, V⋆V^\starV⋆ by the closed forms (13), (15); defining Am⋆A^\star_mAm⋆​, Vm⋆V^\star_mVm⋆​ by the right-hand sides of Lemma 2; or assuming convexity as a hypothesis — each makes the corresponding statement true by definition, and none of them is used here.
  • Infrastructure. Calculus of Real.binEntropy (derivative, concavity) is in Mathlib. Needed: existence of a maximizer on the square, the first-order characterization of the interior optimum, and convexity of piecewise functions glued with matching slopes. Contributions of general lemmas on these points are welcome.

Selected references

  • T. Boyacı, Y. Canyakmaz, F. de Véricourt, Human and Machine: The Impact of Machine Input on Decision-Making Under Cognitive Limitations, ESMT Working Paper 20-02, 2020; Management Science 70(2), 2024. https://doi.org/10.1287/mnsc.2023.4744
  • F. Matějka, A. McKay, Rational Inattention to Discrete Choices: A New Foundation for the Multinomial Logit Model, American Economic Review 105(1), 2015. https://doi.org/10.1257/aer.20130047
  • C. A. Sims, Implications of Rational Inattention, Journal of Monetary Economics 50(3), 2003. https://doi.org/10.1016/S0304-3932(03)00029-1
  • T. M. Cover, J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley, 2006. https://doi.org/10.1002/047174882X
11 thms3 active usersReviewed
PreviousPage 1 of 3Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me