Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Quantum Key Distribution and Composable Secrecy

1 · Prerequisites

2 · Summary

This page defines the finite two-party protocol output model, with a public authenticated transcript visible to Eve and a common abort outcome. It gives an abort-aware ideal output that preserves the real abort branch and transcript-adversary marginal, defines unconditional correctness and acceptance-weighted trace-distance secrecy errors, and proves that their sum bounds the real-ideal trace distance. The finite-dimensional argument uses a classical key-copy map and explicit trace-norm block calculations. It assumes an ideal authenticated public channel and does not establish security of any particular QKD implementation or authentication scheme.

In one quantum round, the adversarial channel receives Alice's sent register and Eve's current memory, forwards a received register to Bob, and retains an updated memory. The dashed route below is public: each message reaches the other honest party unchanged and is also visible to Eve. The sketch is a one-round resource picture; proofs use the explicit finite classical-quantum output blocks in the item definitions.

\begin{tikzpicture}[>=stealth]
\node[draw,rounded corners] (alice) at (0,0) {Alice};
\node[draw,rounded corners] (attack) at (4,0) {Eve's quantum channel $\mathcal E$};
\node[draw,rounded corners] (bob) at (8,0) {Bob};
\node[draw,rounded corners] (eve) at (4,-2) {Eve keeps $E$ and observes $T$};
\draw[->] (alice) -- node[above] {$Q_A$} (attack);
\draw[->] (attack) -- node[above] {$Q_B$} (bob);
\draw[->] (attack) -- node[right] {retained memory} (eve);
\draw[<->,dashed] (alice) to[bend right=20] node[below] {authenticated public transcript $T$} (bob);
\draw[->,dashed] (alice) to[bend right=12] node[left] {message copy} (eve);
\draw[->,dashed] (bob) to[bend left=12] node[right] {message copy} (eve);
\end{tikzpicture}

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Finite authenticated key-distribution protocol

Definition

Fix finite nonempty sets K and T of key values and public transcripts, respectively, and fix an ordering of each finite set. Choose a symbol ⊥∉K and order K∪{⊥} by placing ⊥ after the ordered keys. The full key registers A and B are copies of Q∣K∣+1, with computational basis labelled by K∪{⊥}; the transcript register T is Q∣T∣, with basis labelled by T, using Finite registers and their ordered computational bases. For accepted-state calculations, identify the subspaces spanned by the key vectors ∣a⟩, a∈K, with Q∣K∣; operators on these subspaces are embedded in the full key registers by zero extension. A finite two-party key-distribution protocol is a finite-round interaction of Alice and Bob in which each quantum register is nonzero and finite-dimensional, every local quantum operation is a quantum channel or finite instrument (Finite-dimensional quantum channel, Finite instruments and conditional states), and every classical message alphabet is finite. Eve's operation on each insecure quantum transmission is a channel from the sent register and her current memory to the received register and her updated memory. The parties communicate through an ideal authenticated public channel: each message is delivered unchanged to its intended honest recipient, and Eve receives a copy. The transcript t∈T records all such messages, including messages that lead the protocol to abort. This is an assumption about the communication resource; it does not prove security of an authentication implementation. Any implementation error must be included in the abort convention or in an additional security parameter.

For each allowed adversarial strategy, the final output is a normalized state, classical in the key registers A,B and transcript register T, on A⊗B⊗T⊗E, where E is Eve's retained finite-dimensional quantum system. Both honest parties output the common abort symbol ⊥ on an abort. In the ordered product basis this state has the form

ρABTE=∑t∈T∣⊥,⊥,t⟩⟨⊥,⊥,t∣⊗ωE⊥,t+∑a,b∈K, t∈T∣a,b,t⟩⟨a,b,t∣⊗ωEa,b,t,

where every block ωE⊥,t and ωEa,b,t is nonnegative and the sum of their traces is 1. The trace of each block is the joint probability of its displayed classical labels. All registers and tensor factors retain the displayed order. The transcript is included separately from E so that secrecy below explicitly conditions on the public messages as well as Eve's quantum information.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

The finite classical key-copy map is a quantum channel

Statement

Let K be a finite nonempty key alphabet with a fixed ordering, and let HT,HE be finite-dimensional complex inner-product spaces with HT≠{0} and HE≠{0}. Give the key register HA=CK its corresponding computational basis (∣k⟩)k∈K. For each k∈K, define Lk:HA⊗HT⊗HE→HA⊗HB⊗HT⊗HE by

Lk(∣j⟩⊗x)={∣k,k⟩⊗x,j=k,0,j≠k,

and extend linearly, where HB is another copy of HA. Then

C(X):=∑k∈KLkXLk†

is a finite-dimensional quantum channel. On every input classical in A, ξATE=∑k∣k⟩⟨k∣⊗ξTEk, it acts by

C(ξATE)=∑k∈K∣k,k⟩⟨k,k∣⊗ξTEk.

This map copies a measured classical key register; it does not copy arbitrary quantum states.

Facts & Assumptions

Given: The finite nonempty key alphabet, the ordered finite-dimensional registers, and the operators Lk in the Statement.

[F1]

Finite registers and their ordered computational bases and Ordered tensor registers, their inner product, and wire permutations: the displayed key vectors and their ordered product vectors form orthonormal bases.

[F2]

A finite Kraus sum is completely positive: any finite map of the form X↦∑kLkXLk† is completely positive.

[F3]

The basis-independent trace of an endomorphism of a finite-dimensional vector space: trace is the finite sum of diagonal entries, so it is linear over finite sums.

[F4]

For A∈Mm×n(F) and B∈Mn×m(F), tr⁡(AB)=tr⁡(BA): for compatible finite-dimensional maps, tr⁡(LkXLk†)=tr⁡(XLk†Lk).

[F5]

Finite-dimensional quantum channel: a finite-dimensional quantum channel is a linear, completely positive, trace-preserving map on the full operator space.

[F6]

The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V: the adjoint is characterized by ⟨Lx,y⟩=⟨x,L†y⟩ for every input x and output y.

Proof

1.1givenF1F6algebra

Let e and f range over an orthonormal product basis of HT⊗HE. For input basis vector ∣j⟩⊗e and output basis vector ∣r,s⟩⊗f, the definition and orthonormality [F1] give ⟨Lk(∣j⟩⊗e),∣r,s⟩⊗f⟩=⟨e,f⟩ if j=r=s=k, and 0 otherwise. By the defining adjoint identity [F6] and the fact that these product vectors form bases, Lk†(∣r,s⟩⊗f)=∣k⟩⊗f when r=s=k, and is 0 otherwise. Hence Lk†Lk(∣j⟩⊗e)=∣j⟩⊗e when j=k and 0 otherwise. Summing over k proves ∑k∈KLk†Lk=IATE on a basis, so it holds on the full input space.

2.1givenF2F3F4F5step 1.1algebra

The formula in the Statement is a finite Kraus sum, so [F2] makes C completely positive. For every operator X, trace linearity [F3] and cyclicity [F4] give tr⁡(C(X))=∑ktr⁡(XLk†Lk)=tr⁡(X∑kLk†Lk)=tr⁡(X) by step 1.1. These are precisely the channel conditions [F5].

3.1givenF1F6algebra∎

For ξATE=∑j∣j⟩⟨j∣⊗ξTEj, the basis action gives LkξATELk†=∣k,k⟩⟨k,k∣⊗ξTEk; all other input-key blocks are annihilated by Lk. Summing over k yields the stated copy formula.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Trace norm of a finite classical block operator

Statement

Let I be a finite nonempty set with a fixed ordering, let HE be a nonzero finite-dimensional complex inner-product space, and let Xi:HE→HE be self-adjoint for each i∈I. On the ordered register CI⊗HE with the corresponding computational basis, set X=∑i∈I∣i⟩⟨i∣⊗Xi. Then

∥X∥1=∑i∈I∥Xi∥1.

Facts & Assumptions

Given: The finite set I, the finite-dimensional space HE, and the self-adjoint blocks Xi in the Statement.

[F2]

Trace Norm Spectral Formula: the trace norm is the sum of singular values, equivalently tr⁡X†X.

[F3]

Finite registers and their ordered computational bases and Ordered tensor registers, their inner product, and wire permutations: the key and adversary product basis is orthonormal and uses the displayed factor order.

[F4]

Self-adjoint and normal endomorphisms of a finite-dimensional real or complex inner product space, The adjoint T∗:W→V is characterised by ⟨Tv,w⟩W=⟨v,T∗w⟩V, and Real and complex inner-product spaces and their induced length: writing the adjoint as †, self-adjointness means Xi†=Xi; the adjoint satisfies ⟨Xiu,v⟩=⟨u,Xi†v⟩; and the complex inner product is linear in its first argument and conjugate-symmetric.

Proof

1.1givenF1F3F4choosealgebra

Each Xi is normal because Xi†=Xi, so XiXi†=Xi†Xi; apply [F1] to choose an orthonormal eigenbasis (ei,j)j with Xiei,j=λi,jei,j and λi,j∈C. By [F4], ⟨Xiei,j,ei,j⟩=⟨ei,j,Xiei,j⟩=⟨Xiei,j,ei,j⟩‾, so this expectation is real. Since the inner product is linear in its first argument and ⟨ei,j,ei,j⟩=1, the expectation equals λi,j; hence λi,j∈R. By [F3], the vectors ∣i⟩⊗ei,j over all i,j form an orthonormal basis of CI⊗HE. The operator X is diagonal in this basis with eigenvalues exactly the finite list (λi,j)i,j, so it too is self-adjoint.

2.1givenF1F2step 1.1algebra∎

Since X and each Xi are self-adjoint, their singular values are the absolute values of their eigenvalues: in each eigenbasis, X†X has eigenvalues λi,j2. Applying [F2] to the displayed basis and to each block gives ∥X∥1=∑i,j∣λi,j∣=∑i∥Xi∥1.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Abort-aware real and ideal QKD outputs and security errors

Definition

Fix one adversarial strategy in a protocol from Finite authenticated key-distribution protocol. Write its final output blocks as ωE⊥,t on abort and ωEa,b,t on acceptance. Define the abort and accepted transcript-adversary substates by

ρTEabort:=∑t∈T∣t⟩⟨t∣⊗ωE⊥,t,ρTEacc:=∑t∈T∣t⟩⟨t∣⊗∑a,b∈KωEa,b,t.

The accepted part of the full real state is ρABTEacc:=∑a,b∈K, t∈T∣a,b,t⟩⟨a,b,t∣⊗ωEa,b,t.

Their traces are pabort and pacc, with pabort+pacc=1. If pacc>0, put ρABTE⊤:=ρABTEacc/pacc and define the normalized accepted marginals directly from their classical blocks:

ρATE⊤:=∑a,t∣a,t⟩⟨a,t∣⊗1pacc∑bωEa,b,t,ρTE⊤:=∑t∣t⟩⟨t∣⊗1pacc∑a,bωEa,b,t.

For m:=∣K∣, define the uniform key state τA:=m−1∑a∈K∣a⟩⟨a∣ and the ideal uniform shared-key state τAB:=m−1∑a∈K∣a,a⟩⟨a,a∣. The abort-aware ideal full output keeps the real abort branch and the accepted transcript-adversary marginal, but replaces the accepted keys with a uniform shared key independent of both:

ρABTEideal:=∑t∣⊥,⊥,t⟩⟨⊥,⊥,t∣⊗ωE⊥,t+τAB⊗ρTEacc.

Let ρABTEreal be the normalized output from the protocol definition. The real-ideal trace-distance error is δid:=D(ρABTEreal,ρABTEideal), using Trace Distance. The correctness error is εcor:=Pr⁡[KA≠KB]=∑a≠b,ttr⁡(ωEa,b,t); the common abort output contributes no mismatch. The secrecy error is

εsec:={paccD(ρATE⊤,τA⊗ρTE⊤),pacc>0,0,pacc=0.

This is an unconditional convention: the normalized secrecy distance on acceptance is weighted by the acceptance probability. Errors in a protocol are uniform bounds on these strategy-specific quantities over all allowed adversarial strategies.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Replacing Bob's key by a copy of Alice's costs the correctness error

Statement

Let K,T be finite nonempty alphabets and let HE be a nonzero finite-dimensional adversary space. Consider a normalized state classical in A,B,T,

ρABTE=∑a,b∈K, t∈T∣a,b,t⟩⟨a,b,t∣⊗REa,b,t,

where each REa,b,t is nonnegative. Define Alice's ATE marginal by

ρATE:=∑a,t∣a,t⟩⟨a,t∣⊗∑bREa,b,t,

and let γABTE:=C(ρATE) for the classical key-copy channel C of The finite classical key-copy map is a quantum channel. Then

D(ρABTE,γABTE)=Pr⁡[KA≠KB]=∑a≠b,ttr⁡(REa,b,t).

Facts & Assumptions

Given: The normalized finite block state in the Statement and its finite alphabets.

[F1]

Density operator and The basis-independent trace of an endomorphism of a finite-dimensional vector space: a state is nonnegative with trace one, and trace is the sum of finite diagonal entries.

[F2]

The finite classical key-copy map is a quantum channel and Finite-dimensional quantum channel: C is completely positive and trace-preserving and copies each classical A block into the shared key block (A,B); complete positivity includes positivity on states by Completely positive maps.

[F3]

Trace Distance: for density operators, D(X,Y)=12∥X−Y∥1.

[F4]

Trace norm of a finite classical block operator: the trace norm of a finite self-adjoint block-diagonal operator is the sum of the block trace norms.

[F5]

Trace Norm Unitary Invariance And Positive Formula: for every nonnegative operator P, ∥P∥1=tr⁡(P).

[F6]

Trace Norm Duality And Norm Properties: the trace norm is homogeneous, in particular ∥−P∥1=∥P∥1.

Proof

1.1givenF1F2algebra

The blocks of ρATE are the finite sums ∑bREa,b,t, so they are nonnegative. Their traces sum to the trace of ρABTE by [F1], hence to one; therefore ρATE is a density operator. Complete positivity and trace preservation [F2] show that γABTE=C(ρATE) is also a density operator, as required for [F3].

2.1givenF2step 1.1

By [F2], γABTE has block ∑bREa,b,t in each key-diagonal slot (a,a,t) and zero in every slot (a,b,t) with b≠a. Thus ρABTE−γABTE has block REa,b,t in each slot with a≠b, block −∑b≠aREa,b,t in slot (a,a,t), and zero elsewhere. Each displayed nonzero block is self-adjoint because it is a positive block or its negative.

3.1givenF3F4F5F6step 1.1step 2.1algebra∎

Apply [F4] to these orthogonal classical blocks. For a≠b, [F5] gives ∥REa,b,t∥1=tr⁡(REa,b,t). The sum ∑b≠aREa,b,t is nonnegative, so [F5] and [F6] give ∥−∑b≠aREa,b,t∥1=∑b≠atr⁡(REa,b,t). Therefore ∥ρABTE−γABTE∥1=2∑a≠b,ttr⁡(REa,b,t). Dividing by 2 as in [F3] proves the equality with the mismatch probability.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

The abort-aware ideal output and conditional marginals are states

Statement

For a protocol output and fixed adversarial strategy as in Abort-aware real and ideal QKD outputs and security errors, the real full output is a density operator. If pacc>0, the normalized accepted state ρABTE⊤ and the block-defined marginals ρATE⊤,ρTE⊤ are density operators; so are τA, τAB, τA⊗ρTE⊤ and the ideal full output ρABTEideal. If pacc=0, the ideal full output equals the real abort-only state.

Facts & Assumptions

Given: The finite protocol output blocks, their nonnegativity and total trace one, and pacc as in the Definition.

[F1]

Finite authenticated key-distribution protocol: the output is block diagonal in A,B,T with nonnegative adversary blocks, the abort block is shared by both parties, and the sum of all block traces is one.

[F2]

Abort-aware real and ideal QKD outputs and security errors: pacc is the trace sum of accepted blocks, and the conditional marginals and ideal state are the displayed finite block sums.

[F3]

Density operator: a density operator is nonnegative with trace one on a nonzero finite-dimensional space.

[F4]

Finite registers and their ordered computational bases and Ordered tensor registers, their inner product, and wire permutations: the stated key/transcript product vectors are orthonormal and retain their displayed factor order.

[F5]

The basis-independent trace of an endomorphism of a finite-dimensional vector space: in an ordered basis the trace is the finite sum of diagonal entries, so traces add over the displayed classical blocks.

Proof

1.1givenF1F2F3F4F5algebra

The real state is nonnegative because its orthogonal classical blocks are nonnegative by [F1]. Its trace is the sum of their traces by [F5], which is one by [F1], so it is a density operator by [F3]. If pacc>0, dividing each accepted block by pacc preserves nonnegativity and makes the trace sum equal to one; hence ρABTE⊤ is a density operator.

2.1givenF2F3F4F5step 1.1algebra

In the explicit sums of [F2], each ATE block is pacc−1∑bωEa,b,t and each TE block is pacc−1∑a,bωEa,b,t. These are nonnegative finite sums. By [F5], their traces sum to pacc−1pacc=1, so both marginals are density operators by [F3]. The states τA and τAB are diagonal with m entries equal to 1/m and all other entries zero, so each is nonnegative with trace one. In the product register, τA⊗ρTE⊤ has one block m−1ρTE⊤ per key, hence is nonnegative and has trace m(m−1)=1.

3.1givenF1F2F3F4F5F6algebra∎

The ideal accepted blocks occur only at key pairs (a,a) and equal m−1∑b,cωEb,c,t for each a,t; they are nonnegative and their total trace is pacc by [F5]. Its abort blocks are the original nonnegative blocks with total trace 1−pacc by [F1]–[F2]. These lie in mutually orthogonal classical slots, so the full ideal state is nonnegative and has trace pacc+1−pacc=1, hence is a density operator by [F3]. If pacc=0, nonnegativity makes each accepted block's trace nonnegative; their sum is zero, so each trace is zero. By [F6], each such block has only nonnegative eigenvalues summing to zero and is therefore zero. The accepted ideal block is also zero, so the ideal output equals the real abort-only state.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

QKD composable secrecy is bounded by correctness plus secrecy

Statement

For every finite authenticated key-distribution protocol and each fixed allowed adversarial strategy, let δid, εcor, and εsec be as in Abort-aware real and ideal QKD outputs and security errors. Then

δid≤εcor+εsec.

Consequently, if correctness and secrecy errors are bounded uniformly over all allowed adversarial strategies by εcor and εsec, respectively, then the real-ideal trace distance is uniformly at most their sum.

Facts & Assumptions

Given: A finite protocol, one allowed adversarial strategy, and its output state and error quantities from the Definition.

[F1]

Abort-aware real and ideal QKD outputs and security errors: the ideal output has the same abort blocks as the real output, and on acceptance is the uniform shared key tensored with the actual transcript-adversary marginal; εsec and εcor include the acceptance weighting.

[F2]

The abort-aware ideal output and conditional marginals are states: the normalized real and ideal full outputs and all normalized accepted marginals in the trace distances are density operators; the zero-acceptance case gives identical outputs.

[F3]

The finite classical key-copy map is a quantum channel: C copies each classical Alice-key block into the shared (A,B) key block and leaves transcript and adversary factors unchanged.

[F4]

Replacing Bob's key by a copy of Alice's costs the correctness error: for the accepted state, copying Alice's key changes it by trace distance exactly Pr⁡[KA≠KB∣accept].

[F5]

Trace norm of a finite classical block operator: block-diagonal trace norms add over finite classical labels.

[F6]

Trace Distance and Trace Norm Duality And Norm Properties: state trace distance is half the trace norm and the trace norm satisfies the triangle inequality and scalar homogeneity.

Proof

1.1givenF1F2F5F6algebra

If pacc=0, [F2] gives ρABTEreal=ρABTEideal; both errors are zero by [F1], so the claim holds. Suppose pacc>0, and write ρABTE⊤ for the normalized accepted real state and σABTE⊤:=τAB⊗ρTE⊤ for the normalized accepted ideal state. The abort blocks cancel in the real-ideal difference. By [F5] the remaining block is the accepted block scaled by pacc, so [F6] gives δid=paccD(ρABTE⊤,σABTE⊤).

1.2givenF2F3F4

Define γABTE:=C(ρATE⊤). The state ρATE⊤ is classical in A and T, and the copy formula [F3] gives γ by replacing Bob's accepted key with Alice's. Thus [F4] gives D(ρABTE⊤,γABTE)=q, where q:=Pr⁡[KA≠KB∣accept].

1.3givenF3F5F6algebra

The uniform product input τA⊗ρTE⊤ is classical in A,T, and [F3] gives C(τA⊗ρTE⊤)=σABTE⊤. The difference ρATE⊤−τA⊗ρTE⊤ has one self-adjoint TE block for each (a,t); after copying, exactly those blocks occupy slots (a,a,t) and every other ABT slot is zero. The block trace-norm identity [F5] therefore gives D(γABTE,σABTE⊤)=D(ρATE⊤,τA⊗ρTE⊤).

2.1givenF1F6step 1.1step 1.2step 1.3algebra∎

By the triangle inequality from [F6], steps 1.2–1.3 yield D(ρABTE⊤,σABTE⊤)≤q+D(ρATE⊤,τA⊗ρTE⊤). Multiply by pacc and use [F1]: paccq=εcor because mismatch occurs only on acceptance, and paccD(ρATE⊤,τA⊗ρTE⊤)=εsec. Step 1.1 now gives δid≤εcor+εsec. Since the strategy was arbitrary, the uniform statement follows by applying the same inequality to each strategy.

5 · Examples, counterexamples and false statements

None yet.

Sources