Q-ID user security against a storage-bounded server
OpenQAlgorithms.Papers.Independent.Intakenext100.P14.qid_user_securityFix Q-ID with block length , passwords, code minimum distance at least , and finite nonempty strongly universal-2 hash families with -bit outputs. Let be any password distribution with . Consider any server attack initially independent of , with unrestricted classical information and computation, whose retained quantum dimension is at most immediately before are revealed at step 3. For every , the actual final view admits a classical extension independent of such that
where is half the trace norm and
The extension preserves the actual output marginal exactly, and the comparison uses its own conditioned Markov reconstruction. No positive linear slack is assumed, and the finite error bound may exceed one.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P14
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakenext100.P14
open scoped Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Dependency50.P47 (Law)
open QAlgorithms.Papers.Independent.Gap48.P11 (blockMatrix cqDistance)
open QAlgorithms.Papers.Independent.Claimed50.P31 (bb84Vector)
open QAlgorithms.Papers.Independent.Advance50.P05 (RectangularInstrument)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- Positive list length and inhabited fibers supply the tagged union's inhabitant.
This derived instance adds no hypothesis to Lemma 2.2. -/
local instance {m : ℕ} [NeZero m] {A : Fin m → Type*}
[∀ i, Nonempty (A i)] : Nonempty (Sigma A) :=
⟨⟨0, Classical.choice (inferInstance : Nonempty (A 0))⟩⟩
/-- PDF p.10, Proposition 3.4, with Definition 3.2 on p.8.
All admissible server attacks are quantified before the independent extension;
there is no assumed entropy estimate or assumed security witness. -/
theorem qid_user_security
{n ell m d q : ℕ} {F : Type*} {G Y E : Type}
[Fintype F] [Nonempty F] [Fintype G] [Nonempty G]
[Fintype Y] [Nonempty Y] [Fintype E] [Nonempty E]
(P : QIDParameters n ell m d F G) (W : Law (Fin m))
(hW : ∀ w, W.prob w ≤ 1 / 2) (lambda : ℝ)
(hlambda : 0 < lambda) (hlambdaUpper : lambda < 1 / 4)
(A : ServerAttack n ell q F G Y E) :
HasIndependentGuess (J := Fin m) (serverOutput P W A) some
(Real.rpow 2 (-((1 / 4 - lambda) * d - Real.logb 2 m - q - ell - 1) / 2) +
Real.rpow 2 (-(qidUncertaintyExponent lambda * d - Real.logb 2 m - 3))) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P14
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be natural numbers, let be finite nonempty types, and write . Let consist of an injective code whose distinct codewords have Hamming distance at least , and hash families and such that, for distinct inputs, any prescribed pair of outputs occurs for a fraction of the keys in the respective family. Let , , and for every , which in particular forces . Let , and let supply a checkpoint instrument from to , an instrument from to for every , and channels on . Each instrument branch has the form , with finitely many Kraus operators and ; each channel likewise has a finite complete Kraus family. Define as the product of on coordinates with and on the others. Define , where packing retains matching-basis bits in increasing coordinate order and pads with zeros to length , and define the output blocks, indexed by and history , by
The theorem asserts that there is a family with whose block-diagonal matrix is positive semidefinite with trace , whose marginal equals , and whose masses obey , where . Restrict this extension to and normalize by its mass if that mass is positive, otherwise retain the original extension, calling the result . The trace distance between its block-diagonal matrix and that of is at most
Trace distance here is one half of the real trace of for the difference of the two block matrices; any zero denominator in gives zero. No additional positive lower bounds on are hypotheses.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.