Definitions for The Security of Practical Quantum Key Distribution
DefinitionQAlgorithms_Papers_Independent_Gap48_P25The objects the formalized statements of The Security of Practical Quantum Key Distribution (arXiv:0802.4155) are stated in. Each was checked against the paper by a blind read-back and a moderator.
PhotonLaw: Normalized photon-number law, IV.A.1, PDF pp.26–27.vacuumLaw: Vacuum law, IV.A.1, PDF p.27.classicalMI: Classical mutual information, I.B.5, PDF p.5.IRRecord: Eve's record: none if untouched, otherwise (basis match, outcome). Actual basis labels are independent public randomness. I.B.5, PDF p.5.irLaw: Sifted joint law of uniform BB84 bits for the specified attack. The wrong-basis outcomes are fair, as in the BB84 Born table. I.B.5, PDF p.5.irError: Error event in the same sifted experiment, I.B.5, PDF p.5.irAE: Alice–Eve marginal, I.B.5, PDF p.5.irBE: Bob–Eve marginal, I.B.5, PDF p.5.sourceReplacementVector: Eq.(4), PDF p.8, on an arbitrary Hilbert signal space. The finite direct sum is canonically the tensor product of the label register with that space. This is a preparation vector, distinct from Dependency50.P32.replacement, which constructs the Choi matrix of a replacement channel.replacementBlock: Actual unnormalized conditional signal operator, Eq.(4), PDF p.8.replacementReduction: Partial trace over the orthonormal label register in the direct-sum model, Eq.(4), PDF p.8. No finite cutoff is placed on the signal space H.lossPattern: Independent photon survival pattern probability, IV.A.1, PDF p.27.survivorLaw: Exactly k survivors in the actual independent experiment, IV.A.1, PDF p.27.thinned: Mixture of the photon-loss experiments, IV.A.1, PDF p.27.signedRate: Signed bookkeeping (25), PDF p.28. This definition alone asserts no security.zeroProxy: Zero-error weak-pulse quadratic proxy, IV.B.4, PDF p.29; not a Poisson law.noDecoyF: F(Q) in (36)–(37), PDF p.29; there is one h(Q) term.noDecoyProxy: Quadratic proxy using 2Q only inside entropy, Eqs.(36)–(37), PDF p.29.noDecoyOptimizer: Optimizer of that quadratic proxy, Eq.(37), PDF p.29.decoyProxy: Proxy replacing exp(-mu) by 1-mu, Eqs.(38)–(39), PDF pp.29–30.decoyOptimizer: Optimizer of the decoy proxy, Eq.(39), PDF p.30.MixedSignal: A countable convex mixture of unit vectors on the full signal Hilbert space, IV.A.1, PDF pp.26–27. Every normalized trace-class state admits such a representation; no orthogonality or finite support is imposed.signalExpectation: Born expectation of an effect in the actual signal mixture, Eq.(32), PDF p.29.decoyComponent: Frequency-weighted component rate from setting-independent conditional states and one receiver effect, Eqs.(27),(32), PDF pp.28–29.decoyWrong: Wrong-detection rate from a subeffect W of the same instrument, Eq.(32), PDF p.29; linear in g_n, not separately in epsilon_n.calibratedPhoton: Calibrated photon rate, Eq.(46), PDF p.31.calibratedDark: Calibrated dark rate, Eq.(47), PDF p.31. The model uses 2p_d exactly.calibratedTotal: Total calibrated detection rate, Eq.(44), PDF p.31.calibratedFraction: Photon fraction in IV.C's notation, distinct from IV.A's fractions, PDF p.31.sargAccepted: Equal Bob-basis branches, with other-basis minus probability 1/2 as required by footnote 58; Eq.(53), PDF p.32.sargWrong: Wrong same-basis branch, Eqs.(53)–(54), PDF p.32.networkCount: Continuous device count with free trusted stations, Eq.(79), PDF p.40.networkCost: Continuous network cost, Eq.(79), PDF p.40.directLaw: Three independent Bernoulli factors: total propagation t and two endpoint detections eta. Appendix B, Eq.(B1), PDF p.46.directRate: Coincidence rate in the noiseless direct-link toy model, Eq.(B1), PDF p.46.geometricRound: Geometric waiting law on positive rounds, footnote 75, PDF p.46.twoLinkWaiting: Maximum of two independent waiting times, computed from their product law. Footnote 75, PDF p.46.waitingMean: Exact footnote-75 mean, PDF p.46; used only for 0<x<=1.modeSuccess: Multimode success per round, footnote 75, PDF p.46.cycleTime: Exact-mean cycle time, Eq.(B2) and footnote 75, PDF p.46.repeaterRate: Mean-cutoff toy rate, Eq.(B2), PDF pp.46–47. Equality at the lifetime cuts the rate to zero; random memory-expiration histories are not modelled.bellLaw: Depolarized Bell measurement: index 0 desired; index 1 has the same key correlations. Appendix B, PDF pp.46–47.bellError: Two wrong Bell outcomes reverse the key correlation, Eq.(B3), PDF p.47.repeaterKey: Assigned signed one-way perfect-EC yield of the mean-cycle toy model, Eq.(B3), PDF p.47.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P08
/-! Statements from arXiv:0802.4155v3. Deferred operational security results are
listed in HARD.md and GAPS.json. Exact model calculations do not assert error
bounds for their physical approximations. Compilation is pending batch handoff. -/
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P25
open scoped BigOperators ComplexConjugate
open Filter
open QAlgorithms.Papers.Independent.Claimed50.P08 (classicalEntropy)
/-- Normalized photon-number law, IV.A.1, PDF pp.26–27. -/
structure PhotonLaw where
mass : ℕ → ℝ
nonnegative : ∀ n, 0 ≤ mass n
normalized : HasSum mass 1
/-- Vacuum law, IV.A.1, PDF p.27. -/
def vacuumLaw : PhotonLaw where
mass n := if n = 0 then 1 else 0
nonnegative n := by split_ifs <;> norm_num
normalized := by simpa using (hasSum_ite_eq (0 : ℕ) (1 : ℝ))
/-- Classical mutual information, I.B.5, PDF p.5. -/
def classicalMI {X Y : Type} [Fintype X] [Fintype Y] (p : X × Y → ℝ) : ℝ := by
classical
exact classicalEntropy (fun x => ∑ y, p (x,y)) +
classicalEntropy (fun y => ∑ x, p (x,y)) - classicalEntropy p
/-- Eve's record: none if untouched, otherwise (basis match, outcome).
Actual basis labels are independent public randomness. I.B.5, PDF p.5. -/
abbrev IRRecord := Option (Bool × Bool)
/-- Sifted joint law of uniform BB84 bits for the specified attack. The wrong-basis
outcomes are fair, as in the BB84 Born table. I.B.5, PDF p.5. -/
def irLaw (p : ℝ) (a b : Bool) : IRRecord → ℝ
| none => if a = b then (1-p)/2 else 0
| some (true,e) => if a = b ∧ a = e then p/4 else 0
| some (false,_) => p/16
/-- Error event in the same sifted experiment, I.B.5, PDF p.5. -/
def irError (p : ℝ) : ℝ :=
∑ a : Bool, ∑ b : Bool, ∑ e : IRRecord, if a ≠ b then irLaw p a b e else 0
/-- Alice–Eve marginal, I.B.5, PDF p.5. -/
def irAE (p : ℝ) (z : Bool × IRRecord) : ℝ := ∑ b : Bool, irLaw p z.1 b z.2
/-- Bob–Eve marginal, I.B.5, PDF p.5. -/
def irBE (p : ℝ) (z : Bool × IRRecord) : ℝ := ∑ a : Bool, irLaw p a z.1 z.2
/-- Eq.(4), PDF p.8, on an arbitrary Hilbert signal space. The finite direct
sum is canonically the tensor product of the label register with that space.
This is a preparation vector, distinct from Dependency50.P32.replacement,
which constructs the Choi matrix of a replacement channel. -/
def sourceReplacementVector {S H : Type*} [Fintype S] [NormedAddCommGroup H] [InnerProductSpace ℂ H]
(psi : S → H) : PiLp 2 (fun _ : S => H) :=
WithLp.toLp 2 (fun s => ((Real.sqrt (Fintype.card S : ℝ))⁻¹ : ℂ) • psi s)
/-- Actual unnormalized conditional signal operator, Eq.(4), PDF p.8. -/
def replacementBlock {S H : Type*} [Fintype S] [NormedAddCommGroup H] [InnerProductSpace ℂ H]
(psi : S → H) (s : S) : H →L[ℂ] H :=
InnerProductSpace.rankOne ℂ (sourceReplacementVector psi s) (sourceReplacementVector psi s)
/-- Partial trace over the orthonormal label register in the direct-sum model,
Eq.(4), PDF p.8. No finite cutoff is placed on the signal space H. -/
def replacementReduction {S H : Type*} [Fintype S] [NormedAddCommGroup H] [InnerProductSpace ℂ H]
(psi : S → H) : H →L[ℂ] H := ∑ s, replacementBlock psi s
/-- Independent photon survival pattern probability, IV.A.1, PDF p.27. -/
def lossPattern (n : ℕ) (t : ℝ) (b : Fin n → Bool) : ℝ :=
∏ i, if b i then t else 1-t
/-- Exactly k survivors in the actual independent experiment, IV.A.1, PDF p.27. -/
def survivorLaw (n : ℕ) (t : ℝ) (k : ℕ) : ℝ :=
∑ b : Fin n → Bool, if (Finset.univ.filter fun i => b i = true).card = k
then lossPattern n t b else 0
/-- Mixture of the photon-loss experiments, IV.A.1, PDF p.27. -/
def thinned (p : PhotonLaw) (t : ℝ) (k : ℕ) : ℝ := ∑' n, p.mass n * survivorLaw n t k
/-- Signed bookkeeping (25), PDF p.28. This definition alone asserts no security. -/
def signedRate (R leak info : ℝ) : ℝ := R * (1-leak-info)
/-- Zero-error weak-pulse quadratic proxy, IV.B.4, PDF p.29; not a Poisson law. -/
def zeroProxy (s mu : ℝ) : ℝ := mu*s-mu^2/2
/-- F(Q) in (36)–(37), PDF p.29; there is one h(Q) term. -/
def noDecoyF (Q : ℝ) : ℝ := 1-QAlgorithms.binEntropy2 (2*Q)-QAlgorithms.binEntropy2 Q
/-- Quadratic proxy using 2Q only inside entropy, Eqs.(36)–(37), PDF p.29. -/
def noDecoyProxy (nu s Q mu : ℝ) : ℝ :=
nu * (mu*s*noDecoyF Q-mu^2*(1-QAlgorithms.binEntropy2 (2*Q))/2)
/-- Optimizer of that quadratic proxy, Eq.(37), PDF p.29. -/
def noDecoyOptimizer (s Q : ℝ) : ℝ := s*noDecoyF Q/(1-QAlgorithms.binEntropy2 (2*Q))
/-- Proxy replacing exp(-mu) by 1-mu, Eqs.(38)–(39), PDF pp.29–30. -/
def decoyProxy (nu s Q mu : ℝ) : ℝ :=
nu*s*mu*((1-mu)*(1-QAlgorithms.binEntropy2 Q)-QAlgorithms.binEntropy2 Q)
/-- Optimizer of the decoy proxy, Eq.(39), PDF p.30. -/
def decoyOptimizer (Q : ℝ) : ℝ := (1-QAlgorithms.binEntropy2 Q/(1-QAlgorithms.binEntropy2 Q))/2
/-- A countable convex mixture of unit vectors on the full signal Hilbert
space, IV.A.1, PDF pp.26–27. Every normalized trace-class state admits such a
representation; no orthogonality or finite support is imposed. -/
structure MixedSignal (H : Type*) [NormedAddCommGroup H] [InnerProductSpace ℂ H] where
weights : PhotonLaw
vector : ℕ → H
unit : ∀ j, ‖vector j‖ = 1
/-- Born expectation of an effect in the actual signal mixture, Eq.(32), PDF p.29. -/
def signalExpectation {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H]
(rho : MixedSignal H) (M : H →L[ℂ] H) : ℝ :=
∑' j, rho.weights.mass j * (inner ℂ (rho.vector j) (M (rho.vector j))).re
/-- Frequency-weighted component rate from setting-independent conditional states
and one receiver effect, Eqs.(27),(32), PDF pp.28–29. -/
def decoyComponent {X H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H]
(nu : ℝ) (w : X → ℝ) (p : X → PhotonLaw) (rho : ℕ → MixedSignal H)
(M : H →L[ℂ] H) (xi : X) (n : ℕ) : ℝ :=
nu*w xi*(p xi).mass n*signalExpectation (rho n) M
/-- Wrong-detection rate from a subeffect W of the same instrument, Eq.(32),
PDF p.29; linear in g_n, not separately in epsilon_n. -/
def decoyWrong {X H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H]
(nu : ℝ) (w : X → ℝ) (p : X → PhotonLaw) (rho : ℕ → MixedSignal H)
(W : H →L[ℂ] H) (xi : X) (n : ℕ) : ℝ :=
nu*w xi*(p xi).mass n*signalExpectation (rho n) W
/-- Calibrated photon rate, Eq.(46), PDF p.31. -/
def calibratedPhoton (p : PhotonLaw) (nu b : ℝ) (f : ℕ → ℝ) (n : ℕ) : ℝ :=
nu*p.mass n*f n*b
/-- Calibrated dark rate, Eq.(47), PDF p.31. The model uses 2p_d exactly. -/
def calibratedDark (p : PhotonLaw) (nu b pd : ℝ) (f : ℕ → ℝ) (n : ℕ) : ℝ :=
nu*p.mass n*(1-f n*b)*(2*pd)
/-- Total calibrated detection rate, Eq.(44), PDF p.31. -/
def calibratedTotal (p : PhotonLaw) (nu b pd : ℝ) (f : ℕ → ℝ) : ℝ :=
∑' n, (calibratedPhoton p nu b f n + calibratedDark p nu b pd f n)
/-- Photon fraction in IV.C's notation, distinct from IV.A's fractions, PDF p.31. -/
def calibratedFraction (p : PhotonLaw) (nu b pd : ℝ) (f : ℕ → ℝ) : ℝ :=
(∑' n, calibratedPhoton p nu b f n)/calibratedTotal p nu b pd f
/-- Equal Bob-basis branches, with other-basis minus probability 1/2 as required
by footnote 58; Eq.(53), PDF p.32. -/
def sargAccepted (nu pa f e : ℝ) : ℝ := nu*pa*f*((1/2)*e+(1/2)*(1/2))
/-- Wrong same-basis branch, Eqs.(53)–(54), PDF p.32. -/
def sargWrong (nu pa f e : ℝ) : ℝ := nu*pa*f*((1/2)*e)
/-- Continuous device count with free trusted stations, Eq.(79), PDF p.40. -/
def networkCount (L target ell rate : ℝ) : ℝ := (L/ell)*(target/rate)
/-- Continuous network cost, Eq.(79), PDF p.40. -/
def networkCost (C L target ell rate : ℝ) : ℝ := C*networkCount L target ell rate
/-- Three independent Bernoulli factors: total propagation t and two endpoint
detections eta. Appendix B, Eq.(B1), PDF p.46. -/
def directLaw (t eta : ℝ) (b : Fin 3 → Bool) : ℝ :=
(if b 0 then t else 1-t) * (if b 1 then eta else 1-eta) * (if b 2 then eta else 1-eta)
/-- Coincidence rate in the noiseless direct-link toy model, Eq.(B1), PDF p.46. -/
def directRate (nu t eta : ℝ) : ℝ :=
nu * ∑ b : Fin 3 → Bool, if (∀ i, b i = true) then directLaw t eta b else 0
/-- Geometric waiting law on positive rounds, footnote 75, PDF p.46. -/
def geometricRound (x : ℝ) (n : ℕ) : ℝ := if n = 0 then 0 else x*(1-x)^(n-1)
/-- Maximum of two independent waiting times, computed from their product law.
Footnote 75, PDF p.46. -/
def twoLinkWaiting (x : ℝ) (n : ℕ) : ℝ :=
∑ i ∈ Finset.range (n+1), ∑ j ∈ Finset.range (n+1),
if max i j = n then geometricRound x i*geometricRound x j else 0
/-- Exact footnote-75 mean, PDF p.46; used only for 0<x<=1. -/
def waitingMean (x : ℝ) : ℝ := (3-2*x)/(x*(2-x))
/-- Multimode success per round, footnote 75, PDF p.46. -/
def modeSuccess (t eta : ℝ) (N : ℕ) : ℝ := 1-(1-Real.sqrt t*eta)^N
/-- Exact-mean cycle time, Eq.(B2) and footnote 75, PDF p.46. -/
def cycleTime (ell c t eta : ℝ) (N : ℕ) : ℝ := (ell/c)*waitingMean (modeSuccess t eta N)
/-- Mean-cutoff toy rate, Eq.(B2), PDF pp.46–47. Equality at the lifetime cuts
the rate to zero; random memory-expiration histories are not modelled. -/
def repeaterRate (ell c t eta : ℝ) (N : ℕ) (life pM etaM : ℝ) : ℝ :=
let tau := cycleTime ell c t eta N
if tau < life then tau⁻¹*(pM^2*etaM^2/2) else 0
/-- Depolarized Bell measurement: index 0 desired; index 1 has the same key
correlations. Appendix B, PDF pp.46–47. -/
def bellLaw (F : ℝ) (i : Fin 4) : ℝ := if i = 0 then F else (1-F)/3
/-- Two wrong Bell outcomes reverse the key correlation, Eq.(B3), PDF p.47. -/
def bellError (F : ℝ) : ℝ := ∑ i : Fin 4, if i.val ≥ 2 then bellLaw F i else 0
/-- Assigned signed one-way perfect-EC yield of the mean-cycle toy model,
Eq.(B3), PDF p.47. -/
def repeaterKey (R F : ℝ) : ℝ :=
signedRate R (QAlgorithms.binEntropy2 (bellError F)) (QAlgorithms.binEntropy2 (bellError F))
/-! Sanity examples pin definitions only; source theorem proofs are not attempted. -/
example : vacuumLaw.mass 0 = 1 := by simp [vacuumLaw]
example {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] (u : H) :
sourceReplacementVector (fun _ : Unit => u) () = u := by simp [sourceReplacementVector]
example {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] (rho : MixedSignal H) :
signalExpectation rho 0 = 0 := by simp [signalExpectation]
example : lossPattern 0 (1/3) (fun _ => false) = 1 := by simp [lossPattern]
example : zeroProxy 1 1 = (1/2 : ℝ) := by norm_num [zeroProxy]
example : noDecoyF 0 = 1 := by simp [noDecoyF, QAlgorithms.binEntropy2]
example : decoyOptimizer 0 = (1/2 : ℝ) := by simp [decoyOptimizer, QAlgorithms.binEntropy2]
example : sargAccepted 1 1 1 0 = (1/4 : ℝ) := by norm_num [sargAccepted]
example : geometricRound 1 1 = 1 := by norm_num [geometricRound]
example : waitingMean 1 = 1 := by norm_num [waitingMean]
example : modeSuccess 1 1 1 = 1 := by norm_num [modeSuccess]
example : bellLaw 1 1 = 0 := by norm_num [bellLaw]
example : repeaterKey 0 1 = 0 := by simp [repeaterKey, signedRate]
end QAlgorithms.Papers.Independent.Gap48.P25
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Gap48.P25.IRRecord
An interaction record is either an absent value, denoted , or a present ordered pair of Boolean values, denoted . Thus there are five possible records: and the four Boolean pairs.
QAlgorithms.Papers.Independent.Gap48.P25.MixedSignal
For any type equipped with a normed additive commutative group structure and a compatible complex inner product space structure, a mixed signal consists of a photon law, namely real weights indexed by natural numbers with , together with vectors satisfying for every natural number . The unit-norm requirement applies even when . No finite-dimensionality or completeness assumption on is included.
QAlgorithms.Papers.Independent.Gap48.P25.PhotonLaw
A photon law consists of a function , a proof that for every natural number , including , and a proof that the series converges to . No finite-support or finite-moment condition is imposed.
QAlgorithms.Papers.Independent.Gap48.P25.bellError
For every real number , the definition sums over , contributing when and contributing the value if , or otherwise, when . Thus its defined value is
There is no restriction on , and the value is not required to lie in .
QAlgorithms.Papers.Independent.Gap48.P25.bellLaw
For every real number and every index , the definition assigns when and when . No hypothesis restricts to , so nonnegativity of these values is not assumed.
QAlgorithms.Papers.Independent.Gap48.P25.calibratedDark
For a photon law , meaning nonnegative real masses summing to , arbitrary real numbers , an arbitrary function , and any , including , this defines
No sign or range restrictions are imposed on , or .
QAlgorithms.Papers.Independent.Gap48.P25.calibratedFraction
For a photon law , consisting of nonnegative real masses summing to , arbitrary real , and an arbitrary function , this defines
Each infinite sum is assigned if its own series is not summable. No nonzero-denominator hypothesis or parameter bounds are imposed; division by gives , and the result is not required to lie in .
QAlgorithms.Papers.Independent.Gap48.P25.calibratedPhoton
For a photon law , meaning nonnegative real masses with , arbitrary real numbers , an arbitrary function , and any , including , this defines the real number
There are no sign or range restrictions on , or .
QAlgorithms.Papers.Independent.Gap48.P25.calibratedTotal
For a photon law , consisting of nonnegative real masses summing to , arbitrary real , and an arbitrary function , this defines
No sign, boundedness, or summability condition is assumed for the displayed summands; if this real series is not summable, the defined value is .
QAlgorithms.Papers.Independent.Gap48.P25.classicalMI
For any finite types and , either of which may be empty, and any function , this defines
Here, for a real-valued function on a finite type, is minus the real part of the trace of the real functional calculus of applied to the complex diagonal matrix with diagonal . Equivalently, , where for and . No nonnegativity or normalization assumption is made on ; empty sums are .
QAlgorithms.Papers.Independent.Gap48.P25.cycleTime
For arbitrary real numbers and every natural number , put . The definition assigns
Real square roots and division are total: for , and division by zero gives zero. In particular, the defined value is if or , including when . No positivity assumptions are imposed.
QAlgorithms.Papers.Independent.Gap48.P25.decoyComponent
For arbitrary types , with equipped with a normed additive commutative group structure and a compatible complex inner product space structure, take any real , any function , any assignment of photon laws to elements of , any sequence of mixed signals in , any continuous complex-linear map , any , and any natural number . Writing for the -th mass of , and writing as weights summing to and vectors of norm for every natural number , this defines
Each photon law has nonnegative masses summing to ; no sign or normalization condition is imposed on or , and no positivity condition is imposed on .
QAlgorithms.Papers.Independent.Gap48.P25.decoyOptimizer
For every real number , this defines
The logarithm is the total real logarithm, with and for negative . Division by zero is defined as zero, so when , the result is . The declaration makes no optimization assertion.
QAlgorithms.Papers.Independent.Gap48.P25.decoyProxy
For arbitrary real numbers , this defines
The logarithm is the total real logarithm, with and for negative . No positivity or range assumptions are imposed on the arguments.
QAlgorithms.Papers.Independent.Gap48.P25.decoyWrong
For arbitrary types and , where is a normed additive commutative group with a complex inner product space structure, real , a function , photon laws indexed by , mixed signals indexed by , a continuous complex-linear operator , , and , this defines
where is the mass of the photon law , and consists of a photon law and vectors satisfying for every . Each photon law has nonnegative masses summing to . No sign or normalization conditions are imposed on or , and no positivity condition is imposed on . The sum includes ; if its real series is not summable, its defined value is .
QAlgorithms.Papers.Independent.Gap48.P25.directLaw
For arbitrary real numbers and a Boolean triple , this defines
Neither nor is required to lie in , so the value is not required to be nonnegative.
QAlgorithms.Papers.Independent.Gap48.P25.directRate
For arbitrary real numbers , this defines times the sum over all eight Boolean triples, with a triple contributing unless all three entries are true, and the all-true triple contributing . Thus the defined value is
No sign or range restrictions are imposed on the parameters.
QAlgorithms.Papers.Independent.Gap48.P25.geometricRound
For any real number and any natural number , this defines
The subtraction is natural-number subtraction, truncated at , and the power has a natural-number exponent; in particular, the value at is , including when . There is no assumption that .
QAlgorithms.Papers.Independent.Gap48.P25.irAE
For every real number and pair consisting of a Boolean value and a record, this defines the sum over both Boolean values of the record weight: the absent-record weight is when and otherwise; the weight for is when and otherwise; and the weight for is always . Thus its value is
No restriction is imposed on .
QAlgorithms.Papers.Independent.Gap48.P25.irBE
For every real number and pair consisting of a Boolean value and a record, this defines the sum over both Boolean values of the record weight: the absent-record weight is when and otherwise; the weight for is when and otherwise; and the weight for is always . Thus its value is
No restriction is imposed on .
QAlgorithms.Papers.Independent.Gap48.P25.irError
For every real number , this defines the sum over Boolean values and all five records of the record weight when , with contribution when . The absent-record weight is only when , the record has weight only when , and each record has weight for all . Consequently, the defined sum equals . No restriction is imposed on .
QAlgorithms.Papers.Independent.Gap48.P25.irLaw
For every real number and Boolean values , this defines a real-valued function of a record by
The final case is independent of . There is no restriction , so the function is not required to be nonnegative.
QAlgorithms.Papers.Independent.Gap48.P25.lossPattern
For every natural number , every real number , and every Boolean assignment , this defines
No restriction is imposed. When , the Boolean assignment is the unique empty assignment and the empty product is .
QAlgorithms.Papers.Independent.Gap48.P25.modeSuccess
For arbitrary real numbers and every natural number , the definition assigns
Here the real square root is for , and natural powers include the convention for every real . Consequently, the value is when or . There are no hypotheses ensuring that the value lies in .
QAlgorithms.Papers.Independent.Gap48.P25.networkCost
For arbitrary real numbers , this defines
No positivity or nonzero-denominator assumptions are imposed, and no integer rounding is performed. Division by gives , so the result is if either or .
QAlgorithms.Papers.Independent.Gap48.P25.networkCount
For arbitrary real numbers , this defines the real number
No positivity or nonzero-denominator assumptions are imposed, and no integer rounding is performed. Division by is defined as , so the result is if either or .
QAlgorithms.Papers.Independent.Gap48.P25.noDecoyF
For every real number , this defines
Here is the total real logarithm, with and for negative . Thus the definition includes every real , including values for which or lies outside .
QAlgorithms.Papers.Independent.Gap48.P25.noDecoyOptimizer
For arbitrary real numbers , this defines the scalar
The logarithm is the total real logarithm, with and for negative . Division is total: if , the defined value is zero. The declaration makes no assertion that this scalar optimizes another expression.
QAlgorithms.Papers.Independent.Gap48.P25.noDecoyProxy
For arbitrary real numbers , this defines
The logarithm is the total real logarithm, with and for negative . None of the four arguments has a sign or range restriction.
QAlgorithms.Papers.Independent.Gap48.P25.repeaterKey
For arbitrary real numbers , let and let , where is the real binary entropy function. The definition assigns
Neither nor is restricted, so need not belong to ; the total real entropy function is still evaluated there. The resulting value is not truncated at zero.
QAlgorithms.Papers.Independent.Gap48.P25.repeaterRate
For arbitrary real numbers and every natural number , set
The definition assigns when , and assigns otherwise, including when . All divisions and inverses are total, with , and for ; thus gives a defined rate of regardless of which branch applies. None of the real parameters is restricted in sign or magnitude.
QAlgorithms.Papers.Independent.Gap48.P25.replacementBlock
For any finite type , any normed additive commutative group equipped with a complex inner product space structure, any family , and any , this defines the continuous complex-linear operator
with the inner product conjugate-linear in its first argument. No normalization of , completeness of , or finite dimensionality of is assumed. The supplied element ensures that is nonempty; if , the operator is zero.
QAlgorithms.Papers.Independent.Gap48.P25.replacementReduction
For any finite type , any normed additive commutative group equipped with a complex inner product space structure, and any family , this defines the continuous complex-linear operator
with the inner product conjugate-linear in its first argument. No normalization of the family, completeness of , or finite dimensionality of is assumed. If is empty, the sum is the zero operator.
QAlgorithms.Papers.Independent.Gap48.P25.sargAccepted
For arbitrary real numbers , this defines
No sign or range restrictions are imposed on any parameter.
QAlgorithms.Papers.Independent.Gap48.P25.sargWrong
For arbitrary real numbers , this defines
No sign or range restrictions are imposed on any parameter.
QAlgorithms.Papers.Independent.Gap48.P25.signalExpectation
For any normed additive commutative group with a compatible complex inner product space structure, any mixed signal consisting of weights summing to and vectors with for every natural number , and any continuous complex-linear map , this defines
There is no assumption that is self-adjoint, positive, or bounded between zero and the identity.
QAlgorithms.Papers.Independent.Gap48.P25.signedRate
For arbitrary real numbers , this defines
No sign or range restrictions are imposed on the arguments, and the result may be negative.
QAlgorithms.Papers.Independent.Gap48.P25.sourceReplacementVector
For any finite type , any normed additive commutative group equipped with a complex inner product space structure, and any family , this defines the element of the direct sum of copies of indexed by whose component at is
where the real coefficient is regarded as complex. The vectors need not be normalized, and need not be complete or finite dimensional. If is empty, the reciprocal of is defined to be , and the result is the unique empty family.
QAlgorithms.Papers.Independent.Gap48.P25.survivorLaw
For every pair of natural numbers and every real number , this defines
There is no restriction on , so the summands need not be nonnegative. When , the sum is zero. When , the empty product gives value for , and value for .
QAlgorithms.Papers.Independent.Gap48.P25.thinned
For any photon law , meaning a sequence of real numbers whose series sums to , any real , and any natural number , this defines
The parameter is unrestricted. The inner sum is zero when , and its value is precisely when . The infinite sum uses the total real-series convention: its value is zero if the summands are not summable.
QAlgorithms.Papers.Independent.Gap48.P25.twoLinkWaiting
For every real number and natural number , define and for . Then the definition assigns the real value
In particular, its value at is . There is no hypothesis restricting to , and no assertion that these values form a probability distribution.
QAlgorithms.Papers.Independent.Gap48.P25.vacuumLaw
The vacuum law is the photon law with mass and for every , together with proofs that these masses are nonnegative and their series sums to .
QAlgorithms.Papers.Independent.Gap48.P25.waitingMean
For every real number , the definition assigns the real value
No restriction on is imposed. Division is total, with division by zero equal to zero, so the defined value is at both and .
QAlgorithms.Papers.Independent.Gap48.P25.zeroProxy
For arbitrary real numbers , this defines
There are no positivity or range assumptions on either argument.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.