Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Unconstrained Capacities of Quantum Key Distribution and Entanglement Distillation for Pure-Loss Bosonic Broadcast Channels

Definition
QAlgorithms_Papers_Independent_Bridge50_P19

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Unconstrained Capacities of Quantum Key Distribution and Entanglement Distillation for Pure-Loss Bosonic Broadcast Channels (arXiv:1706.06746) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • detectedAmplitude: PDF pp.7–8, Fig.5 and (30): amplitude of the TMSV after the broadcast channel and both trusted 50% detector losses. Coordinates 0,1,2 are Alice, Bob's detected mode and Charlie's detected mode. The unmeasured modes can be combined into one vacuum output for this classical marginal only.
  • detectedResource: PDF p.8: actual three-mode density before the sifted homodyne readings. This partial trace includes all undetected output modes.
  • quadratureTerm: PDF p.8, corrected (32): the number-basis Born term for the measured coordinates. The Hermite wavefunctions have vacuum variance 1/2.
  • quadratureDensity: PDF p.8, corrected (32): actual marginal outcome density relative to Lebesgue measure. Series convergence and probability normalization are conclusions, not assumptions encoding the entropy calculation.
  • measuredEntropyBits: PDF p.8, (33)–(38): differential Shannon entropy in bits of the actual measured marginal. Integrability is supplied by the theorem before use.
  • measuredSets: PDF p.8: the six measured marginals explicitly evaluated in (33)–(38).
  • RegularMeasuredMarginal: PDF p.8: analytic validity of the Born-density and entropy expressions. This guard is a conclusion of the evaluation theorem.
  • groupedAmplitude: PDF pp.8–9, Fig.5(c),(39): vacuum splitter powers for the combined adversary C'=CE, the detected receiver mode, and trusted detector vacuum. For receiver power t in [0,1] these sum to one. The sign of C' is a removable local phase, fixed positive here. C' never includes trusted detector loss.
  • groupedJoint: PDF pp.8–9, (39): actual C',B density, obtained by splitting a thermal signal of mean mu and tracing only the trusted detector port. Tracing Alice makes the input photon number diagonal. No entropy formula defines this state.
  • groupedMarginal: PDF p.9, (40): the true unconditioned C'=CE marginal.
  • conditionalNumerator: PDF p.9, (43)–(46): unnormalized conditional C' density from the homodyne spectral density on the detected receiver mode. Conditional means are retained through the outcome-dependent Hermite functions.
  • receiverDensity: PDF p.9: actual homodyne outcome probability density.
  • conditionalAdversary: PDF p.9: normalized measurement-conditioned adversary state. The theorem establishes a strictly positive denominator for every real y.
  • oscillatorEntropyBits: PDF p.9, (40),(46): genuine spectral von Neumann entropy in bits. Finiteness is established before conversion to a real number.
  • adversaryHolevoBits: PDF pp.8–9: Holevo information between the detected classical receiver outcome and CE (or BE in the swapped ordering). This is quantum side information, not the mutual information of two classical outcomes.
  • conditionalOccupation: PDF p.9, (45),(46): (sqrt(alpha beta)-1)/2, with v=2mu+1. This scalar is an evaluation target, never the definition of a density or entropy.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P13
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P32

/-!
# arXiv:1706.06746v1: broadcast CVQKD information evaluation

PDF pp.7–9. The operational capacity and key-distillation nodes are deferred,
not identified with scalar polytopes. Two resource nodes reuse Support50.P48.
The theorem below evaluates actual Born densities and quantum conditional
states on the complete oscillator number basis. No covariance-only state
predicate, photon cutoff, independently supplied information number, or
outcome-independent conditional density is used.

Quadratures have vacuum variance 1/2 (quantum doubled covariance I). Sifting
conditions on Alice's public quadrature choice; phase symmetry permits the
q quadrature throughout. Trusted detector loss is traced, never given to Eve.
Compilation and independent moderation are pending the batch handoff.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P19

open MeasureTheory
open scoped BigOperators ENNReal NNReal
open QAlgorithms.Papers.Independent.Dependency50.P30
  (PureLossBroadcastParameters thermalEntropyBits)
open QAlgorithms.Papers.Independent.Support50.P48
  (tmsvWeight vacuumAmplitude subsystem)
open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity)
open QAlgorithms.Papers.Independent.Frontier18.P07 (extendedEntropyNats)
open QAlgorithms.Papers.Independent.Gap48.P13 (hermiteValue)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.7–8, Fig.5 and (30): amplitude of the TMSV after the broadcast
channel and both trusted 50% detector losses. Coordinates 0,1,2 are Alice,
Bob's detected mode and Charlie's detected mode. The unmeasured modes can
be combined into one vacuum output for this classical marginal only. -/
def detectedAmplitude (p : PureLossBroadcastParameters 2) (mu : ℝ≥0)
    (a : Fin 3 → ℕ) (e : ℕ) : ℝ :=
  Real.sqrt (tmsvWeight mu (a 0)) *
    vacuumAmplitude
      ![p.transmissivity 0 / 2, p.transmissivity 1 / 2,
        1 - p.transmissivity 0 / 2 - p.transmissivity 1 / 2]
      ![a 1, a 2, e] (a 0)

/-- PDF p.8: actual three-mode density before the sifted homodyne readings.
This partial trace includes all undetected output modes. -/
def detectedResource (p : PureLossBroadcastParameters 2) (mu : ℝ≥0) :
    Matrix (Fin 3 → ℕ) (Fin 3 → ℕ) ℂ :=
  fun a b => ∑' e : ℕ,
    (detectedAmplitude p mu a e : ℂ) * (detectedAmplitude p mu b e : ℂ)

/-- PDF p.8, corrected (32): the number-basis Born term for the measured
coordinates. The Hermite wavefunctions have vacuum variance 1/2. -/
def quadratureTerm (p : PureLossBroadcastParameters 2) (mu : ℝ≥0)
    (S : Finset (Fin 3)) (x : S → ℝ) (a b : S → ℕ) : ℂ :=
  subsystem S (detectedResource p mu) a b *
    (∏ i : S, hermiteValue (a i) (x i)) *
    star (∏ i : S, hermiteValue (b i) (x i))

/-- PDF p.8, corrected (32): actual marginal outcome density relative to
Lebesgue measure. Series convergence and probability normalization are
conclusions, not assumptions encoding the entropy calculation. -/
def quadratureDensity (p : PureLossBroadcastParameters 2) (mu : ℝ≥0)
    (S : Finset (Fin 3)) (x : S → ℝ) : ℝ :=
  (∑' a : S → ℕ, ∑' b : S → ℕ, quadratureTerm p mu S x a b).re

/-- PDF p.8, (33)–(38): differential Shannon entropy in bits of the actual
measured marginal. Integrability is supplied by the theorem before use. -/
def measuredEntropyBits (p : PureLossBroadcastParameters 2) (mu : ℝ≥0)
    (S : Finset (Fin 3)) : ℝ :=
  -∫ x : S → ℝ, quadratureDensity p mu S x *
    Real.logb 2 (quadratureDensity p mu S x)

/-- PDF p.8: the six measured marginals explicitly evaluated in (33)–(38). -/
def measuredSets : Finset (Finset (Fin 3)) :=
  {Finset.univ, {0}, {1}, {2}, {0, 1}, {0, 2}}

/-- PDF p.8: analytic validity of the Born-density and entropy expressions.
This guard is a conclusion of the evaluation theorem. -/
def RegularMeasuredMarginal (p : PureLossBroadcastParameters 2) (mu : ℝ≥0)
    (S : Finset (Fin 3)) : Prop :=
  (∀ x : S → ℝ,
    (∀ a : S → ℕ, Summable (fun b => quadratureTerm p mu S x a b)) ∧
    Summable (fun a : S → ℕ => ∑' b : S → ℕ, quadratureTerm p mu S x a b)) ∧
  (∀ x : S → ℝ, 0 ≤ quadratureDensity p mu S x) ∧
  Integrable (quadratureDensity p mu S) ∧
  (∫ x : S → ℝ, quadratureDensity p mu S x) = 1 ∧
  Integrable (fun x : S → ℝ =>
    quadratureDensity p mu S x * Real.logb 2 (quadratureDensity p mu S x))

/-- PDF pp.8–9, Fig.5(c),(39): vacuum splitter powers for the combined
adversary C'=CE, the detected receiver mode, and trusted detector vacuum.
For receiver power t in [0,1] these sum to one. The sign of C' is a removable
local phase, fixed positive here. C' never includes trusted detector loss. -/
def groupedAmplitude (t : ℝ≥0) (a b e n : ℕ) : ℝ :=
  vacuumAmplitude ![1 - t, t / 2, t / 2] ![a, b, e] n

/-- PDF pp.8–9, (39): actual C',B density, obtained by splitting a thermal
signal of mean mu and tracing only the trusted detector port. Tracing Alice
makes the input photon number diagonal. No entropy formula defines this state. -/
def groupedJoint (t mu : ℝ≥0) : Matrix (ℕ × ℕ) (ℕ × ℕ) ℂ :=
  fun a b => ∑' e : ℕ, if a.1 + a.2 = b.1 + b.2 then
    ((tmsvWeight mu (a.1 + a.2 + e) *
      groupedAmplitude t a.1 a.2 e (a.1 + a.2 + e) *
      groupedAmplitude t b.1 b.2 e (b.1 + b.2 + e) : ℝ) : ℂ)
    else 0

/-- PDF p.9, (40): the true unconditioned C'=CE marginal. -/
def groupedMarginal (t mu : ℝ≥0) : Matrix ℕ ℕ ℂ :=
  fun a b => ∑' k : ℕ, groupedJoint t mu (a, k) (b, k)

/-- PDF p.9, (43)–(46): unnormalized conditional C' density from the
homodyne spectral density on the detected receiver mode. Conditional means
are retained through the outcome-dependent Hermite functions. -/
def conditionalNumerator (t mu : ℝ≥0) (y : ℝ) : Matrix ℕ ℕ ℂ :=
  fun a b => ∑' k : ℕ, ∑' l : ℕ,
    groupedJoint t mu (a, k) (b, l) * hermiteValue k y * star (hermiteValue l y)

/-- PDF p.9: actual homodyne outcome probability density. -/
def receiverDensity (t mu : ℝ≥0) (y : ℝ) : ℝ :=
  ∑' a : ℕ, (conditionalNumerator t mu y a a).re

/-- PDF p.9: normalized measurement-conditioned adversary state.
The theorem establishes a strictly positive denominator for every real y. -/
def conditionalAdversary (t mu : ℝ≥0) (y : ℝ) : Matrix ℕ ℕ ℂ :=
  fun a b => conditionalNumerator t mu y a b / (receiverDensity t mu y : ℂ)

/-- PDF p.9, (40),(46): genuine spectral von Neumann entropy in bits.
Finiteness is established before conversion to a real number. -/
def oscillatorEntropyBits (rho : Matrix ℕ ℕ ℂ) : ℝ≥0∞ :=
  extendedEntropyNats rho / ENNReal.ofReal (Real.log 2)

/- PDF p.9, (46): write this experiment's real-outcome entropy average
inline below. The imported Next46.P32.conditionalEntropyAverage instead
averages coherent-state ensembles over complex outcomes in nats; it cannot
replace the homodyne-conditioned entropy in bits. -/

/-- PDF pp.8–9: Holevo information between the detected classical receiver
outcome and CE (or BE in the swapped ordering). This is quantum side
information, not the mutual information of two classical outcomes. -/
def adversaryHolevoBits (t mu : ℝ≥0) : ℝ :=
  (oscillatorEntropyBits (groupedMarginal t mu)).toReal -
    (∫ y : ℝ, receiverDensity t mu y *
      (oscillatorEntropyBits (conditionalAdversary t mu y)).toReal)

/-- PDF p.9, (45),(46): (sqrt(alpha beta)-1)/2, with v=2mu+1.
This scalar is an evaluation target, never the definition of a density or entropy. -/
def conditionalOccupation (t mu : ℝ≥0) : ℝ :=
  let alpha := 1 + (1 - (t : ℝ)) * (2 * (mu : ℝ)) / ((t : ℝ) * (mu : ℝ) + 1)
  let beta := 1 + (1 - (t : ℝ)) * (2 * (mu : ℝ))
  (Real.sqrt (alpha * beta) - 1) / 2

/-- The source vacuum TMSV remains the full network vacuum. -/
example (p : PureLossBroadcastParameters 2) :
    detectedAmplitude p 0 (fun _ => 0) 0 = 1 := by
  simp [detectedAmplitude, tmsvWeight, vacuumAmplitude, Fin.sum_univ_succ, Fin.prod_univ_succ]

/-- Every splitting stage preserves the vacuum, including zero-power ports. -/
example (t : ℝ≥0) : groupedAmplitude t 0 0 0 0 = 1 := by
  simp [groupedAmplitude, vacuumAmplitude, Fin.sum_univ_succ, Fin.prod_univ_succ]

/-- Vacuum input has zero conditional thermal occupation, even at t=0 or t=1. -/
example (t : ℝ≥0) : conditionalOccupation t 0 = 0 := by
  simp [conditionalOccupation]

/-- The covariance expression has no denominator singularity at zero receiver power. -/
example (mu : ℝ≥0) : conditionalOccupation 1 mu = 0 := by
  simp [conditionalOccupation]

end QAlgorithms.Papers.Independent.Bridge50.P19
Source
Unconstrained Capacities of Quantum Key Distribution and Entanglement Distillation for Pure-Loss Bosonic Broadcast Channels, arXiv:1706.06746v1, https://arxiv.org/abs/1706.06746v1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Bridge50.P19.RegularMeasuredMarginal

For ppp supplying nonnegative η0,η1\eta_0,\eta_1η0​,η1​ with η0+η1≤1\eta_0+\eta_1\leq1η0​+η1​≤1, μ≥0\mu\geq0μ≥0, and any S⊆{0,1,2}S\subseteq\{0,1,2\}S⊆{0,1,2}, this defines the following proposition. Put

T(x;a,b)=(∑c∈NSc∑e=0∞A(a⊔c,e)A(b⊔c,e))∏i∈Shai(xi) ∏i∈Shbi(xi)‾,q(x)=Re⁡∑a∈NS∑b∈NST(x;a,b),T(x;a,b)= \left(\sum_{c\in\mathbb N^{S^c}}\sum_{e=0}^{\infty} A(a\sqcup c,e)A(b\sqcup c,e)\right) \prod_{i\in S}h_{a_i}(x_i)\, \overline{\prod_{i\in S}h_{b_i}(x_i)}, \qquad q(x)=\operatorname{Re}\sum_{a\in\mathbb N^S}\sum_{b\in\mathbb N^S}T(x;a,b),T(x;a,b)=(c∈NSc∑​e=0∑∞​A(a⊔c,e)A(b⊔c,e))i∈S∏​hai​​(xi​)i∈S∏​hbi​​(xi​)​,q(x)=Rea∈NS∑​b∈NS∑​T(x;a,b),

where a⊔ca\sqcup ca⊔c combines assignments on SSS and its complement, hj(r)=(−1)jer2/2(dj/drj)e−r2/2jj!πh_j(r)=(-1)^j e^{r^2/2}(d^j/dr^j)e^{-r^2}/\sqrt{2^j j!\sqrt{\pi}}hj​(r)=(−1)jer2/2(dj/drj)e−r2/2jj!π​​, and

A(u,e)={μu0(μ+1)u0+1u0!u1! u2! e! (η0/2)u1(η1/2)u2(1−η0/2−η1/2)e,u1+u2+e=u0,0,otherwise.A(u,e)= \begin{cases} \displaystyle \sqrt{\frac{\mu^{u_0}}{(\mu+1)^{u_0+1}}} \sqrt{\frac{u_0!}{u_1!\,u_2!\,e!}}\, \left(\sqrt{\eta_0/2}\right)^{u_1} \left(\sqrt{\eta_1/2}\right)^{u_2} \left(\sqrt{1-\eta_0/2-\eta_1/2}\right)^e, &u_1+u_2+e=u_0,\\ 0,&\text{otherwise}. \end{cases}A(u,e)=⎩⎨⎧​(μ+1)u0​+1μu0​​​u1​!u2​!e!u0​!​​(η0​/2​)u1​(η1​/2​)u2​(1−η0​/2−η1​/2​)e,0,​u1​+u2​+e=u0​,otherwise.​

The proposition requires that, for every x∈RSx\in\mathbb R^Sx∈RS and every a∈NSa\in\mathbb N^Sa∈NS, the complex family b↦T(x;a,b)b\mapsto T(x;a,b)b↦T(x;a,b) is summable, and that for every xxx the family a↦∑bT(x;a,b)a\mapsto\sum_bT(x;a,b)a↦∑b​T(x;a,b) is summable; furthermore, q(x)≥0q(x)\geq0q(x)≥0 for every xxx, qqq is Lebesgue integrable on RS\mathbb R^SRS, ∫q(x) dx=1\int q(x)\,dx=1∫q(x)dx=1, and x↦q(x)log⁡2q(x)x\mapsto q(x)\log_2q(x)x↦q(x)log2​q(x) is Lebesgue integrable. These summability requirements concern the two displayed occupation sums defining qqq; the internal complement and eee sums still use total summation. Empty SSS is permitted, giving singleton occupation and coordinate spaces and empty products equal to 111; the logarithm convention is log⁡20=0\log_2 0=0log2​0=0.

QAlgorithms.Papers.Independent.Bridge50.P19.adversaryHolevoBits

For any nonnegative real numbers t,μt,\mut,μ, this defines the real number

Hadv(t,μ)=E(Mt,μ)R−∫Rrt,μ(y) E(Ct,μ(y))R dy,H_{\mathrm{adv}}(t,\mu) =E(M_{t,\mu})_{\mathbb R} -\int_{\mathbb R} r_{t,\mu}(y)\,E(C_{t,\mu}(y))_{\mathbb R}\,dy,Hadv​(t,μ)=E(Mt,μ​)R​−∫R​rt,μ​(y)E(Ct,μ​(y))R​dy,

where xRx_{\mathbb R}xR​ denotes conversion from [0,∞][0,\infty][0,∞] to R\mathbb RR, which sends +∞+\infty+∞ to zero. The matrices and scalar functions in this formula are

Mt,μ(a,b)=∑k=0∞Jt,μ((a,k),(b,k)),Qt,μ(y)ab=∑k=0∞∑ℓ=0∞Jt,μ((a,k),(b,ℓ))φk(y)φℓ(y)‾,rt,μ(y)=∑a=0∞Re⁡Qt,μ(y)aa,Ct,μ(y)ab=Qt,μ(y)abrt,μ(y).\begin{aligned} M_{t,\mu}(a,b)&=\sum_{k=0}^{\infty} J_{t,\mu}\bigl((a,k),(b,k)\bigr),\\ Q_{t,\mu}(y)_{ab}&=\sum_{k=0}^{\infty}\sum_{\ell=0}^{\infty} J_{t,\mu}\bigl((a,k),(b,\ell)\bigr) \varphi_k(y)\overline{\varphi_\ell(y)},\\ r_{t,\mu}(y)&=\sum_{a=0}^{\infty}\operatorname{Re}Q_{t,\mu}(y)_{aa}, \qquad C_{t,\mu}(y)_{ab}=\frac{Q_{t,\mu}(y)_{ab}}{r_{t,\mu}(y)}. \end{aligned}Mt,μ​(a,b)Qt,μ​(y)ab​rt,μ​(y)​=k=0∑∞​Jt,μ​((a,k),(b,k)),=k=0∑∞​ℓ=0∑∞​Jt,μ​((a,k),(b,ℓ))φk​(y)φℓ​(y)​,=a=0∑∞​ReQt,μ​(y)aa​,Ct,μ​(y)ab​=rt,μ​(y)Qt,μ​(y)ab​​.​

Here

φk(y)=e−y2/22kk!π(−1)key2dkdxke−x2∣x=y,wμ(n)=μn(μ+1)n+1,Jt,μ((a,k),(b,ℓ))=∑e=0∞{wμ(a+k+e)Vt(a,k,e;a+k+e)Vt(b,ℓ,e;a+k+e),a+k=b+ℓ,0,a+k≠b+ℓ,Vt(a,k,e;n)={n!a!k!e! (max⁡(1−t,0))a(t/2)k+e,a+k+e=n,0,a+k+e≠n.\begin{gathered} \varphi_k(y)= \frac{e^{-y^2/2}}{\sqrt{2^k k!\sqrt{\pi}}} (-1)^k e^{y^2} \left.\frac{d^k}{dx^k}e^{-x^2}\right|_{x=y}, \qquad w_\mu(n)=\frac{\mu^n}{(\mu+1)^{n+1}},\\ J_{t,\mu}\bigl((a,k),(b,\ell)\bigr) =\sum_{e=0}^{\infty} \begin{cases} w_\mu(a+k+e)V_t(a,k,e;a+k+e)V_t(b,\ell,e;a+k+e), &a+k=b+\ell,\\ 0,&a+k\ne b+\ell, \end{cases}\\ V_t(a,k,e;n)= \begin{cases} \displaystyle \sqrt{\frac{n!}{a!k!e!}}\, \bigl(\sqrt{\max(1-t,0)}\bigr)^a \bigl(\sqrt{t/2}\bigr)^{k+e}, &a+k+e=n,\\ 0,&a+k+e\ne n. \end{cases} \end{gathered}φk​(y)=2kk!π​​e−y2/2​(−1)key2dxkdk​e−x2​x=y​,wμ​(n)=(μ+1)n+1μn​,Jt,μ​((a,k),(b,ℓ))=e=0∑∞​{wμ​(a+k+e)Vt​(a,k,e;a+k+e)Vt​(b,ℓ,e;a+k+e),0,​a+k=b+ℓ,a+k=b+ℓ,​Vt​(a,k,e;n)=⎩⎨⎧​a!k!e!n!​​(max(1−t,0)​)a(t/2​)k+e,0,​a+k+e=n,a+k+e=n.​​

Real matrix entries in these formulas are regarded as complex numbers. For any complex matrix ZZZ indexed by N\mathbb NN, the extended nonnegative quantity used above is

E(Z)=1log⁡2sup⁡s⊆Ns finite[Re⁡tr⁡(Zs)log⁡ ⁣(Re⁡tr⁡(Zs))−Re⁡tr⁡(Zslog⁡cfc(Zs))]+,E(Z)=\frac{1}{\log 2} \sup_{\substack{s\subseteq\mathbb N\\s\text{ finite}}} \left[ \operatorname{Re}\operatorname{tr}(Z_s) \log\!\bigl(\operatorname{Re}\operatorname{tr}(Z_s)\bigr) -\operatorname{Re}\operatorname{tr} \bigl(Z_s\log_{\mathrm{cfc}}(Z_s)\bigr) \right]_+,E(Z)=log21​s⊆Ns finite​sup​[Retr(Zs​)log(Retr(Zs​))−Retr(Zs​logcfc​(Zs​))]+​,

where ZsZ_sZs​ is the principal submatrix, [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), and log⁡cfc\log_{\mathrm{cfc}}logcfc​ is the total continuous-functional-calculus application of the real logarithm. The integral is with respect to Lebesgue measure. No summability, integrability, density, or normalization hypotheses accompany this definition: nonsummable real or complex series have total sum zero, a nonintegrable integrand has total integral zero, and Ct,μ(y)=0C_{t,\mu}(y)=0Ct,μ​(y)=0 when its denominator is zero. The parameters include μ=0\mu=0μ=0 and every t≥0t\ge0t≥0, including t>1t>1t>1, for which the displayed truncation applies.

QAlgorithms.Papers.Independent.Bridge50.P19.conditionalAdversary

For any nonnegative real numbers t,μt,\mut,μ and any real number yyy, this defines a complex matrix Ct,μ(y)C_{t,\mu}(y)Ct,μ​(y), indexed by N×N\mathbb N\times\mathbb NN×N, by

Ct,μ(y)ab=Qt,μ(y)abrt,μ(y),Qt,μ(y)ab=∑k=0∞∑ℓ=0∞Jt,μ((a,k),(b,ℓ))φk(y)φℓ(y)‾,rt,μ(y)=∑a=0∞Re⁡Qt,μ(y)aa.C_{t,\mu}(y)_{ab} =\frac{Q_{t,\mu}(y)_{ab}}{r_{t,\mu}(y)}, \qquad Q_{t,\mu}(y)_{ab} =\sum_{k=0}^{\infty}\sum_{\ell=0}^{\infty} J_{t,\mu}\bigl((a,k),(b,\ell)\bigr) \varphi_k(y)\overline{\varphi_\ell(y)}, \qquad r_{t,\mu}(y)=\sum_{a=0}^{\infty}\operatorname{Re}Q_{t,\mu}(y)_{aa}.Ct,μ​(y)ab​=rt,μ​(y)Qt,μ​(y)ab​​,Qt,μ​(y)ab​=k=0∑∞​ℓ=0∑∞​Jt,μ​((a,k),(b,ℓ))φk​(y)φℓ​(y)​,rt,μ​(y)=a=0∑∞​ReQt,μ​(y)aa​.

Here the real denominator is regarded as a complex scalar,

φk(y)=e−y2/22kk!π(−1)key2dkdxke−x2∣x=y,wμ(n)=μn(μ+1)n+1,\varphi_k(y)= \frac{e^{-y^2/2}}{\sqrt{2^k k!\sqrt{\pi}}} (-1)^k e^{y^2} \left.\frac{d^k}{dx^k}e^{-x^2}\right|_{x=y}, \qquad w_\mu(n)=\frac{\mu^n}{(\mu+1)^{n+1}},φk​(y)=2kk!π​​e−y2/2​(−1)key2dxkdk​e−x2​x=y​,wμ​(n)=(μ+1)n+1μn​,

and

Jt,μ((a,k),(b,ℓ))=∑e=0∞{wμ(a+k+e) Vt(a,k,e;a+k+e) Vt(b,ℓ,e;a+k+e),a+k=b+ℓ,0,a+k≠b+ℓ,J_{t,\mu}\bigl((a,k),(b,\ell)\bigr) =\sum_{e=0}^{\infty} \begin{cases} w_\mu(a+k+e)\, V_t(a,k,e;a+k+e)\, V_t(b,\ell,e;a+k+e),&a+k=b+\ell,\\ 0,&a+k\ne b+\ell, \end{cases}Jt,μ​((a,k),(b,ℓ))=e=0∑∞​{wμ​(a+k+e)Vt​(a,k,e;a+k+e)Vt​(b,ℓ,e;a+k+e),0,​a+k=b+ℓ,a+k=b+ℓ,​

with real values in this expression embedded in C\mathbb CC, and

Vt(a,k,e;n)={n!a!k!e! (max⁡(1−t,0))a(t/2)k(t/2)e,a+k+e=n,0,a+k+e≠n.V_t(a,k,e;n)= \begin{cases} \displaystyle \sqrt{\frac{n!}{a!k!e!}}\, \bigl(\sqrt{\max(1-t,0)}\bigr)^a \bigl(\sqrt{t/2}\bigr)^k \bigl(\sqrt{t/2}\bigr)^e, &a+k+e=n,\\ 0,&a+k+e\ne n. \end{cases}Vt​(a,k,e;n)=⎩⎨⎧​a!k!e!n!​​(max(1−t,0)​)a(t/2​)k(t/2​)e,0,​a+k+e=n,a+k+e=n.​

The truncation max⁡(1−t,0)\max(1-t,0)max(1−t,0) comes from subtraction in the nonnegative reals: the definition allows t>1t>1t>1, as well as t=0t=0t=0 and μ=0\mu=0μ=0. These are total infinite-sum expressions; a nonsummable real or complex series has total sum zero under the summation convention used here. No convergence, positivity, normalization, or nonzero-denominator assumption is imposed. In particular, if rt,μ(y)=0r_{t,\mu}(y)=0rt,μ​(y)=0, complex division by zero makes every entry of Ct,μ(y)C_{t,\mu}(y)Ct,μ​(y) zero.

QAlgorithms.Papers.Independent.Bridge50.P19.conditionalNumerator

For nonnegative real numbers t,μt,\mut,μ and any real yyy, this defines a complex matrix indexed by a,b∈Na,b\in\mathbb Na,b∈N as

Ct,μ,y(a,b)=∑k=0∞∑l=0∞[∑e=0∞{μa+k+e(μ+1)a+k+e+1 Ft(a,k,e)Ft(b,l,e),a+k=b+l,0,a+k≠b+l]hk(y)hl(y)‾,C_{t,\mu,y}(a,b)= \sum_{k=0}^{\infty}\sum_{l=0}^{\infty} \left[ \sum_{e=0}^{\infty} \begin{cases} \displaystyle \frac{\mu^{a+k+e}}{(\mu+1)^{a+k+e+1}}\, F_t(a,k,e)F_t(b,l,e), &a+k=b+l,\\ 0,&a+k\ne b+l \end{cases} \right]h_k(y)\overline{h_l(y)},Ct,μ,y​(a,b)=k=0∑∞​l=0∑∞​​e=0∑∞​⎩⎨⎧​(μ+1)a+k+e+1μa+k+e​Ft​(a,k,e)Ft​(b,l,e),0,​a+k=b+l,a+k=b+l​​hk​(y)hl​(y)​,

where

Ft(u,v,e)=(u+v+e)!u! v! e! (max⁡(1−t,0))u(t/2)v(t/2)e,hj(y)=(−1)jey2/22jj!πdjdyje−y2.F_t(u,v,e)= \sqrt{\frac{(u+v+e)!}{u!\,v!\,e!}}\, \left(\sqrt{\max(1-t,0)}\right)^u \left(\sqrt{t/2}\right)^v \left(\sqrt{t/2}\right)^e, \qquad h_j(y)= \frac{(-1)^j e^{y^2/2}}{\sqrt{2^j j!\sqrt{\pi}}} \frac{d^j}{dy^j}e^{-y^2}.Ft​(u,v,e)=u!v!e!(u+v+e)!​​(max(1−t,0)​)u(t/2​)v(t/2​)e,hj​(y)=2jj!π​​(−1)jey2/2​dyjdj​e−y2.

The real terms in the innermost sum are embedded into C\mathbb CC. The order is an outer kkk sum, an inner lll sum, and an eee sum inside each matrix coefficient; each uses total summation, returning zero for a nonsummable family. No convergence, positivity, or normalization condition is imposed. The parameter ttt is unrestricted above, so its first weight uses truncated subtraction, and zero parameters and occupations are allowed with 00=10^0=100=1.

QAlgorithms.Papers.Independent.Bridge50.P19.conditionalOccupation

For any nonnegative real numbers t,μt,\mut,μ, regarded as ordinary real numbers in the following arithmetic, this defines

ncond(t,μ)=αβ−12,α=1+2(1−t)μtμ+1,β=1+2(1−t)μ.n_{\mathrm{cond}}(t,\mu) =\frac{\sqrt{\alpha\beta}-1}{2}, \qquad \alpha=1+\frac{2(1-t)\mu}{t\mu+1}, \qquad \beta=1+2(1-t)\mu.ncond​(t,μ)=2αβ​−1​,α=1+tμ+12(1−t)μ​,β=1+2(1−t)μ.

The result is a real number; no nonnegativity conclusion is part of the definition. There is no upper bound on ttt, and 1−t1-t1−t here is ordinary real subtraction, so it may be negative. The denominator tμ+1t\mu+1tμ+1 is positive for all allowed parameters. The real square root is total and equals zero if its argument is negative. The definition includes t=0t=0t=0, t=1t=1t=1, and μ=0\mu=0μ=0; in particular, μ=0\mu=0μ=0 or t=1t=1t=1 gives ncond(t,μ)=0n_{\mathrm{cond}}(t,\mu)=0ncond​(t,μ)=0.

QAlgorithms.Papers.Independent.Bridge50.P19.detectedAmplitude

For nonnegative real numbers η0,η1\eta_0,\eta_1η0​,η1​ supplied by ppp, with η0+η1≤1\eta_0+\eta_1\leq1η0​+η1​≤1, a nonnegative real number μ\muμ, a triple a=(a0,a1,a2)∈N3a=(a_0,a_1,a_2)\in\mathbb N^3a=(a0​,a1​,a2​)∈N3, and e∈Ne\in\mathbb Ne∈N, this defines the real number

Ap,μ(a,e)={μa0(μ+1)a0+1 a0!a1! a2! e! (η02)a1(η12)a2(1−η02−η12)e,a1+a2+e=a0,0,a1+a2+e≠a0.A_{p,\mu}(a,e)= \begin{cases} \displaystyle \sqrt{\frac{\mu^{a_0}}{(\mu+1)^{a_0+1}}}\, \sqrt{\frac{a_0!}{a_1!\,a_2!\,e!}}\, \left(\sqrt{\frac{\eta_0}{2}}\right)^{a_1} \left(\sqrt{\frac{\eta_1}{2}}\right)^{a_2} \left(\sqrt{1-\frac{\eta_0}{2}-\frac{\eta_1}{2}}\right)^e, & a_1+a_2+e=a_0,\\[4pt] 0,&a_1+a_2+e\ne a_0. \end{cases}Ap,μ​(a,e)=⎩⎨⎧​(μ+1)a0​+1μa0​​​a1​!a2​!e!a0​!​​(2η0​​​)a1​(2η1​​​)a2​(1−2η0​​−2η1​​​)e,0,​a1​+a2​+e=a0​,a1​+a2​+e=a0​.​

Here ηi\eta_iηi​ is the transmissivity of index iii in ppp. The subtractions in the supplied nonnegative weights are truncated at zero, although the bound on η0+η1\eta_0+\eta_1η0​+η1​ makes truncation unnecessary here. All occupation numbers may be zero, μ\muμ and either transmissivity may be zero, and powers use 00=10^0=100=1.

QAlgorithms.Papers.Independent.Bridge50.P19.detectedResource

For ppp consisting of nonnegative transmissivities η0,η1\eta_0,\eta_1η0​,η1​ with η0+η1≤1\eta_0+\eta_1\leq1η0​+η1​≤1, and μ≥0\mu\geq0μ≥0, this defines a complex matrix indexed by triples in N3\mathbb N^3N3 by

Dp,μ(a,b)=∑e=0∞A(a,e)A(b,e),D_{p,\mu}(a,b)=\sum_{e=0}^{\infty}A(a,e)A(b,e),Dp,μ​(a,b)=e=0∑∞​A(a,e)A(b,e),

where the real amplitudes are regarded as complex numbers and

A(c,e)={μc0(μ+1)c0+1c0!c1! c2! e! (η02)c1(η12)c2(1−η02−η12)e,c1+c2+e=c0,0,otherwise.A(c,e)= \begin{cases} \displaystyle \sqrt{\frac{\mu^{c_0}}{(\mu+1)^{c_0+1}}} \sqrt{\frac{c_0!}{c_1!\,c_2!\,e!}}\, \left(\sqrt{\frac{\eta_0}{2}}\right)^{c_1} \left(\sqrt{\frac{\eta_1}{2}}\right)^{c_2} \left(\sqrt{1-\frac{\eta_0}{2}-\frac{\eta_1}{2}}\right)^e, &c_1+c_2+e=c_0,\\ 0,&\text{otherwise}. \end{cases}A(c,e)=⎩⎨⎧​(μ+1)c0​+1μc0​​​c1​!c2​!e!c0​!​​(2η0​​​)c1​(2η1​​​)c2​(1−2η0​​−2η1​​​)e,0,​c1​+c2​+e=c0​,otherwise.​

The same eee appears in both factors, and there is no complex conjugation in their product. The infinite sum is the total complex summation operation, which returns zero if the family is not summable; summability or the density conditions are not part of this definition. Zero parameters and zero occupations are included, with 00=10^0=100=1.

QAlgorithms.Papers.Independent.Bridge50.P19.groupedAmplitude

For any nonnegative real ttt and natural numbers a,b,e,na,b,e,na,b,e,n, this defines

Bt(a,b,e;n)={n!a! b! e! (max⁡(1−t,0))a(t/2)b(t/2)e,a+b+e=n,0,a+b+e≠n.B_t(a,b,e;n)= \begin{cases} \displaystyle \sqrt{\frac{n!}{a!\,b!\,e!}}\, \left(\sqrt{\max(1-t,0)}\right)^a \left(\sqrt{t/2}\right)^b \left(\sqrt{t/2}\right)^e, &a+b+e=n,\\ 0,&a+b+e\ne n. \end{cases}Bt​(a,b,e;n)=⎩⎨⎧​a!b!e!n!​​(max(1−t,0)​)a(t/2​)b(t/2​)e,0,​a+b+e=n,a+b+e=n.​

The maximum appears because 1−t1-t1−t is calculated in the nonnegative reals, where subtraction is truncated at zero. There is no assumption t≤1t\leq1t≤1; for t>1t>1t>1 the first weight is zero. All occupations, including nnn, may be zero, and 00=10^0=100=1, so the value at a=b=e=n=0a=b=e=n=0a=b=e=n=0 is 111 for every ttt.

QAlgorithms.Papers.Independent.Bridge50.P19.groupedJoint

For arbitrary nonnegative real numbers t,μt,\mut,μ, this defines a complex matrix indexed by pairs of natural numbers. For a=(a1,a2)a=(a_1,a_2)a=(a1​,a2​) and b=(b1,b2)b=(b_1,b_2)b=(b1​,b2​), its entry is

Jt,μ(a,b)=∑e=0∞{μa1+a2+e(μ+1)a1+a2+e+1 Ft(a1,a2,e)Ft(b1,b2,e),a1+a2=b1+b2,0,a1+a2≠b1+b2,J_{t,\mu}(a,b)= \sum_{e=0}^{\infty} \begin{cases} \displaystyle \frac{\mu^{a_1+a_2+e}}{(\mu+1)^{a_1+a_2+e+1}}\, F_t(a_1,a_2,e)F_t(b_1,b_2,e), &a_1+a_2=b_1+b_2,\\ 0,&a_1+a_2\ne b_1+b_2, \end{cases}Jt,μ​(a,b)=e=0∑∞​⎩⎨⎧​(μ+1)a1​+a2​+e+1μa1​+a2​+e​Ft​(a1​,a2​,e)Ft​(b1​,b2​,e),0,​a1​+a2​=b1​+b2​,a1​+a2​=b1​+b2​,​

with the real summands embedded into C\mathbb CC, where

Ft(u,v,e)=(u+v+e)!u! v! e! (max⁡(1−t,0))u(t/2)v(t/2)e.F_t(u,v,e)= \sqrt{\frac{(u+v+e)!}{u!\,v!\,e!}}\, \left(\sqrt{\max(1-t,0)}\right)^u \left(\sqrt{t/2}\right)^v \left(\sqrt{t/2}\right)^e.Ft​(u,v,e)=u!v!e!(u+v+e)!​​(max(1−t,0)​)u(t/2​)v(t/2​)e.

Thus each amplitude is evaluated at its own total occupation, and the thermal weight uses a1+a2+ea_1+a_2+ea1​+a2​+e. The parameter ttt need not be at most one; max⁡(1−t,0)\max(1-t,0)max(1−t,0) reflects truncated nonnegative subtraction. The sum returns zero if its complex family is not summable, and the definition imposes no density or convergence condition. Zero parameters and occupations are included, with 00=10^0=100=1.

QAlgorithms.Papers.Independent.Bridge50.P19.groupedMarginal

For any nonnegative real t,μt,\mut,μ, this defines a complex matrix indexed by a,b∈Na,b\in\mathbb Na,b∈N by the nested sums

Mt,μ(a,b)=∑k=0∞∑e=0∞{μa+k+e(μ+1)a+k+e+1 Ft(a,k,e)Ft(b,k,e),a+k=b+k,0,a+k≠b+k,M_{t,\mu}(a,b)= \sum_{k=0}^{\infty}\sum_{e=0}^{\infty} \begin{cases} \displaystyle \frac{\mu^{a+k+e}}{(\mu+1)^{a+k+e+1}}\, F_t(a,k,e)F_t(b,k,e), &a+k=b+k,\\ 0,&a+k\ne b+k, \end{cases}Mt,μ​(a,b)=k=0∑∞​e=0∑∞​⎩⎨⎧​(μ+1)a+k+e+1μa+k+e​Ft​(a,k,e)Ft​(b,k,e),0,​a+k=b+k,a+k=b+k,​

where

Ft(u,v,e)=(u+v+e)!u! v! e! (max⁡(1−t,0))u(t/2)v(t/2)e,F_t(u,v,e)= \sqrt{\frac{(u+v+e)!}{u!\,v!\,e!}}\, \left(\sqrt{\max(1-t,0)}\right)^u \left(\sqrt{t/2}\right)^v \left(\sqrt{t/2}\right)^e,Ft​(u,v,e)=u!v!e!(u+v+e)!​​(max(1−t,0)​)u(t/2​)v(t/2​)e,

and the real summands are embedded into C\mathbb CC. The same kkk occupies the second coordinate on both sides; consequently the entries with a≠ba\ne ba=b are zero. Each infinite sum is total and returns zero for a nonsummable family, without any summability or density assumption in the definition. There is no upper bound on ttt, and all parameters and occupations may be zero, with 00=10^0=100=1.

QAlgorithms.Papers.Independent.Bridge50.P19.measuredEntropyBits

For a parameter record ppp supplying η0,η1≥0\eta_0,\eta_1\geq0η0​,η1​≥0 with η0+η1≤1\eta_0+\eta_1\leq1η0​+η1​≤1, μ≥0\mu\geq0μ≥0, and any S⊆{0,1,2}S\subseteq\{0,1,2\}S⊆{0,1,2}, this defines the real number

Hp,μ(S)=−∫RSq(x)log⁡2q(x) dx,H_{p,\mu}(S)=-\int_{\mathbb R^S}q(x)\log_2 q(x)\,dx,Hp,μ​(S)=−∫RS​q(x)log2​q(x)dx,

using Lebesgue measure on the finite coordinate space, where

q(x)=Re⁡∑a∈NS∑b∈NS(∑c∈NSc∑e=0∞A(a⊔c,e)A(b⊔c,e))∏i∈Shai(xi) ∏i∈Shbi(xi)‾.q(x)=\operatorname{Re} \sum_{a\in\mathbb N^S}\sum_{b\in\mathbb N^S} \left(\sum_{c\in\mathbb N^{S^c}}\sum_{e=0}^{\infty} A(a\sqcup c,e)A(b\sqcup c,e)\right) \prod_{i\in S}h_{a_i}(x_i)\, \overline{\prod_{i\in S}h_{b_i}(x_i)}.q(x)=Rea∈NS∑​b∈NS∑​(c∈NSc∑​e=0∑∞​A(a⊔c,e)A(b⊔c,e))i∈S∏​hai​​(xi​)i∈S∏​hbi​​(xi​)​.

Here a⊔ca\sqcup ca⊔c combines occupations on SSS and its complement, hj(r)=(−1)jer2/2(dj/drj)e−r2/2jj!πh_j(r)=(-1)^j e^{r^2/2}(d^j/dr^j)e^{-r^2}/\sqrt{2^j j!\sqrt{\pi}}hj​(r)=(−1)jer2/2(dj/drj)e−r2/2jj!π​​, and

A(u,e)={μu0(μ+1)u0+1u0!u1! u2! e! (η0/2)u1(η1/2)u2(1−η0/2−η1/2)e,u1+u2+e=u0,0,otherwise.A(u,e)= \begin{cases} \displaystyle \sqrt{\frac{\mu^{u_0}}{(\mu+1)^{u_0+1}}} \sqrt{\frac{u_0!}{u_1!\,u_2!\,e!}}\, \left(\sqrt{\eta_0/2}\right)^{u_1} \left(\sqrt{\eta_1/2}\right)^{u_2} \left(\sqrt{1-\eta_0/2-\eta_1/2}\right)^e, &u_1+u_2+e=u_0,\\ 0,&\text{otherwise}. \end{cases}A(u,e)=⎩⎨⎧​(μ+1)u0​+1μu0​​​u1​!u2​!e!u0​!​​(η0​/2​)u1​(η1​/2​)u2​(1−η0​/2−η1​/2​)e,0,​u1​+u2​+e=u0​,otherwise.​

No summability, positivity, normalization, or integrability assumption accompanies this definition: nonsummable families have total sum zero, and the real integral is zero when its integrand is not integrable. The real logarithm is total, with log⁡20=0\log_2 0=0log2​0=0, so the integrand is zero wherever q=0q=0q=0. Empty SSS is allowed and gives a one-point coordinate space; empty products are 111.

QAlgorithms.Papers.Independent.Bridge50.P19.measuredSets

This defines the finite collection of six subsets of {0,1,2}\{0,1,2\}{0,1,2}

{{0,1,2}, {0}, {1}, {2}, {0,1}, {0,2}}.\bigl\{\{0,1,2\},\ \{0\},\ \{1\},\ \{2\},\ \{0,1\},\ \{0,2\}\bigr\}.{{0,1,2}, {0}, {1}, {2}, {0,1}, {0,2}}.

It has no parameters; neither the empty subset nor {1,2}\{1,2\}{1,2} belongs to this collection.

QAlgorithms.Papers.Independent.Bridge50.P19.oscillatorEntropyBits

For any complex matrix ρ=(ρab)a,b∈N\rho=(\rho_{ab})_{a,b\in\mathbb N}ρ=(ρab​)a,b∈N​, this defines an extended nonnegative real number E(ρ)E(\rho)E(ρ) by

E(ρ)=sup⁡s⊆Ns finite[Re⁡tr⁡(ρs) log⁡ ⁣(Re⁡tr⁡(ρs))−Re⁡tr⁡(ρs log⁡cfc(ρs))]+log⁡2.E(\rho)= \frac{\displaystyle\sup_{\substack{s\subseteq\mathbb N\\s\text{ finite}}} \left[ \operatorname{Re}\operatorname{tr}(\rho_s)\, \log\!\bigl(\operatorname{Re}\operatorname{tr}(\rho_s)\bigr) -\operatorname{Re}\operatorname{tr} \bigl(\rho_s\,\log_{\mathrm{cfc}}(\rho_s)\bigr) \right]_+} {\log 2}.E(ρ)=log2s⊆Ns finite​sup​[Retr(ρs​)log(Retr(ρs​))−Retr(ρs​logcfc​(ρs​))]+​​.

Here ρs=(ρab)a,b∈s\rho_s=(\rho_{ab})_{a,b\in s}ρs​=(ρab​)a,b∈s​ is the finite principal submatrix, [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is embedded in [0,∞][0,\infty][0,∞], the supremum and division take place in [0,∞][0,\infty][0,∞], and log⁡cfc(ρs)\log_{\mathrm{cfc}}(\rho_s)logcfc​(ρs​) is the matrix obtained by applying the real logarithm through the library’s total continuous functional calculus. The scalar logarithm is natural, with its total real-valued convention, including log⁡0=0\log 0=0log0=0. The supremum includes the empty principal submatrix, whose contribution is zero. There is no hypothesis that ρ\rhoρ is positive, Hermitian, trace class, or normalized, and the resulting value may be +∞+\infty+∞.

QAlgorithms.Papers.Independent.Bridge50.P19.quadratureDensity

For nonnegative transmissivities η0,η1\eta_0,\eta_1η0​,η1​ with η0+η1≤1\eta_0+\eta_1\leq1η0​+η1​≤1, their parameter record ppp, μ≥0\mu\geq0μ≥0, a subset S⊆{0,1,2}S\subseteq\{0,1,2\}S⊆{0,1,2}, and x∈RSx\in\mathbb R^Sx∈RS, this defines the real number

qp,μ,S(x)=Re⁡[∑a∈NS∑b∈NS(∑c∈NSc∑e=0∞A(a⊔c,e)A(b⊔c,e))∏i∈Shai(xi) ∏i∈Shbi(xi)‾].q_{p,\mu,S}(x)= \operatorname{Re}\left[ \sum_{a\in\mathbb N^S}\sum_{b\in\mathbb N^S} \left(\sum_{c\in\mathbb N^{S^c}}\sum_{e=0}^{\infty} A(a\sqcup c,e)A(b\sqcup c,e)\right) \prod_{i\in S}h_{a_i}(x_i)\, \overline{\prod_{i\in S}h_{b_i}(x_i)} \right].qp,μ,S​(x)=Re[a∈NS∑​b∈NS∑​(c∈NSc∑​e=0∑∞​A(a⊔c,e)A(b⊔c,e))i∈S∏​hai​​(xi​)i∈S∏​hbi​​(xi​)​].

The assignment a⊔ca\sqcup ca⊔c equals aaa on SSS and ccc on its complement in {0,1,2}\{0,1,2\}{0,1,2}, and

A(u,e)={μu0(μ+1)u0+1u0!u1! u2! e! (η02)u1(η12)u2(1−η02−η12)e,u1+u2+e=u0,0,otherwise,hj(r)=(−1)jer2/22jj!πdjdrje−r2.A(u,e)= \begin{cases} \displaystyle \sqrt{\frac{\mu^{u_0}}{(\mu+1)^{u_0+1}}} \sqrt{\frac{u_0!}{u_1!\,u_2!\,e!}}\, \left(\sqrt{\frac{\eta_0}{2}}\right)^{u_1} \left(\sqrt{\frac{\eta_1}{2}}\right)^{u_2} \left(\sqrt{1-\frac{\eta_0}{2}-\frac{\eta_1}{2}}\right)^e, &u_1+u_2+e=u_0,\\ 0,&\text{otherwise}, \end{cases} \qquad h_j(r)=\frac{(-1)^j e^{r^2/2}}{\sqrt{2^j j!\sqrt{\pi}}} \frac{d^j}{dr^j}e^{-r^2}.A(u,e)=⎩⎨⎧​(μ+1)u0​+1μu0​​​u1​!u2​!e!u0​!​​(2η0​​​)u1​(2η1​​​)u2​(1−2η0​​−2η1​​​)e,0,​u1​+u2​+e=u0​,otherwise,​hj​(r)=2jj!π​​(−1)jer2/2​drjdj​e−r2.

The sums are nested in the displayed order, with each nonsummable family assigned sum zero. The definition itself does not require nonnegativity, integrability, or integral one. Empty SSS and zero parameters are included; empty products equal 111, and 00=10^0=100=1.

QAlgorithms.Papers.Independent.Bridge50.P19.quadratureTerm

For ppp with nonnegative transmissivities η0+η1≤1\eta_0+\eta_1\leq1η0​+η1​≤1, μ≥0\mu\geq0μ≥0, any subset S⊆{0,1,2}S\subseteq\{0,1,2\}S⊆{0,1,2}, real coordinates x=(xi)i∈Sx=(x_i)_{i\in S}x=(xi​)i∈S​, and occupations a,b∈NSa,b\in\mathbb N^Sa,b∈NS, this defines

Tp,μ,S(x;a,b)=[∑c∈NSc∑e=0∞A(a⊔c,e)A(b⊔c,e)]∏i∈Shai(xi) ∏i∈Shbi(xi)‾.T_{p,\mu,S}(x;a,b)= \left[ \sum_{c\in\mathbb N^{S^c}}\sum_{e=0}^{\infty} A(a\sqcup c,e)A(b\sqcup c,e) \right] \prod_{i\in S}h_{a_i}(x_i)\, \overline{\prod_{i\in S}h_{b_i}(x_i)}.Tp,μ,S​(x;a,b)=[c∈NSc∑​e=0∑∞​A(a⊔c,e)A(b⊔c,e)]i∈S∏​hai​​(xi​)i∈S∏​hbi​​(xi​)​.

Here Sc={0,1,2}∖SS^c=\{0,1,2\}\setminus SSc={0,1,2}∖S, and a⊔ca\sqcup ca⊔c agrees with aaa on SSS and with ccc on ScS^cSc. For a triple uuu,

A(u,e)={μu0(μ+1)u0+1u0!u1! u2! e! (η02)u1(η12)u2(1−η02−η12)e,u1+u2+e=u0,0,otherwise,hj(r)=e−r2/22jj!π(−1)jer2djdrje−r2.A(u,e)= \begin{cases} \displaystyle \sqrt{\frac{\mu^{u_0}}{(\mu+1)^{u_0+1}}} \sqrt{\frac{u_0!}{u_1!\,u_2!\,e!}}\, \left(\sqrt{\frac{\eta_0}{2}}\right)^{u_1} \left(\sqrt{\frac{\eta_1}{2}}\right)^{u_2} \left(\sqrt{1-\frac{\eta_0}{2}-\frac{\eta_1}{2}}\right)^e, &u_1+u_2+e=u_0,\\ 0,&\text{otherwise}, \end{cases} \qquad h_j(r)= \frac{e^{-r^2/2}}{\sqrt{2^j j!\sqrt{\pi}}} (-1)^j e^{r^2}\frac{d^j}{dr^j}e^{-r^2}.A(u,e)=⎩⎨⎧​(μ+1)u0​+1μu0​​​u1​!u2​!e!u0​!​​(2η0​​​)u1​(2η1​​​)u2​(1−2η0​​−2η1​​​)e,0,​u1​+u2​+e=u0​,otherwise,​hj​(r)=2jj!π​​e−r2/2​(−1)jer2drjdj​e−r2.

Every infinite sum uses total summation, returning zero for a nonsummable family. No convergence hypothesis is imposed. Empty SSS is allowed, in which case the products are 111 and x,a,bx,a,bx,a,b are the unique empty coordinate assignments; empty ScS^cSc gives a sum over its single empty assignment.

QAlgorithms.Papers.Independent.Bridge50.P19.receiverDensity

For arbitrary nonnegative real numbers t,μt,\mut,μ and y∈Ry\in\mathbb Ry∈R, this defines the real number

rt,μ(y)=∑a=0∞Re⁡[∑k=0∞∑l=0∞(∑e=0∞{μa+k+e(μ+1)a+k+e+1 Ft(a,k,e)Ft(a,l,e),a+k=a+l,0,a+k≠a+l)hk(y)hl(y)‾],r_{t,\mu}(y)= \sum_{a=0}^{\infty}\operatorname{Re}\left[ \sum_{k=0}^{\infty}\sum_{l=0}^{\infty} \left( \sum_{e=0}^{\infty} \begin{cases} \displaystyle \frac{\mu^{a+k+e}}{(\mu+1)^{a+k+e+1}}\, F_t(a,k,e)F_t(a,l,e), &a+k=a+l,\\ 0,&a+k\ne a+l \end{cases} \right)h_k(y)\overline{h_l(y)} \right],rt,μ​(y)=a=0∑∞​Re​k=0∑∞​l=0∑∞​​e=0∑∞​⎩⎨⎧​(μ+1)a+k+e+1μa+k+e​Ft​(a,k,e)Ft​(a,l,e),0,​a+k=a+l,a+k=a+l​​hk​(y)hl​(y)​​,

where

Ft(u,v,e)=(u+v+e)!u! v! e! (max⁡(1−t,0))u(t/2)v(t/2)e,hj(y)=(−1)jey2/22jj!πdjdyje−y2.F_t(u,v,e)= \sqrt{\frac{(u+v+e)!}{u!\,v!\,e!}}\, \left(\sqrt{\max(1-t,0)}\right)^u \left(\sqrt{t/2}\right)^v \left(\sqrt{t/2}\right)^e, \qquad h_j(y)= \frac{(-1)^j e^{y^2/2}}{\sqrt{2^j j!\sqrt{\pi}}} \frac{d^j}{dy^j}e^{-y^2}.Ft​(u,v,e)=u!v!e!(u+v+e)!​​(max(1−t,0)​)u(t/2​)v(t/2​)e,hj​(y)=2jj!π​​(−1)jey2/2​dyjdj​e−y2.

The real innermost summands are embedded into C\mathbb CC, and the real part is taken after the two complex sums over k,lk,lk,l, before the outer real sum over aaa. Each sum is total and equals zero if its corresponding family is not summable. The definition itself asserts no nonnegativity, integrability, or integral-one property. It includes t>1t>1t>1, where the first weight is zero by truncated subtraction, as well as zero parameters and occupations, with 00=10^0=100=1.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me