Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact substituted advantage for the dephasing and damping example

Proved
QAlgorithms.Papers.Independent.Bridge50.P20.example_comparison

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

prove2quantum

Let k≥0k\ge0k≥0 be an integer counting dephasing links, let x,λ∈[0,1]x,\lambda\in[0,1]x,λ∈[0,1], and let m>0m>0m>0 be their common expected use count, including the one amplitude-damping link. With binary entropy h(y)=−ylog⁡2y−(1−y)log⁡2(1−y)h(y)=-y\log_2y-(1-y)\log_2(1-y)h(y)=−ylog2​y−(1−y)log2​(1−y) and 0log⁡20=00\log_20=00log2​0=0, define

s(x)=h ⁣(x2(1−x2)+12),t(λ)=h(12−λ4)−h(1−λ4),r(x)=1−h(x/2),v(λ)=log⁡2(2−λ).s(x)=h\!\left(\sqrt{\frac x2(1-\frac x2)}+\frac12\right),\quad t(\lambda)=h(\tfrac12-\tfrac\lambda4)-h(1-\tfrac\lambda4),\quad r(x)=1-h(x/2),\quad v(\lambda)=\log_2(2-\lambda).s(x)=h(2x​(1−2x​)​+21​),t(λ)=h(21​−4λ​)−h(1−4λ​),r(x)=1−h(x/2),v(λ)=log2​(2−λ).

The two substituted cut costs are A=m[ks(x)+t(λ)]A=m[ks(x)+t(\lambda)]A=m[ks(x)+t(λ)] and B=m[kr(x)+v(λ)]B=m[kr(x)+v(\lambda)]B=m[kr(x)+v(λ)]. If k[s(x)+r(x)]+t(λ)+v(λ)>0k[s(x)+r(x)]+t(\lambda)+v(\lambda)>0k[s(x)+r(x)]+t(λ)+v(λ)>0, then

μ~=A−BA+B=k[s(x)−r(x)]+t(λ)−v(λ)k[s(x)+r(x)]+t(λ)+v(λ).\widetilde\mu=\frac{A-B}{A+B}=\frac{k[s(x)-r(x)]+t(\lambda)-v(\lambda)}{k[s(x)+r(x)]+t(\lambda)+v(\lambda)}.μ​=A+BA−B​=k[s(x)+r(x)]+t(λ)+v(λ)k[s(x)−r(x)]+t(λ)−v(λ)​.

Here s,ts,ts,t are the cited upper bounds on squashed entanglement, not its exact value. This is an exact scalar identity for the substituted comparison, with the common positive use count cancelled.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P20
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P20

open QAlgorithms QAlgorithms.Entanglement

-- Reuse pinned accepted definitions; source-specific conventions are audited below.

open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative)

open QAlgorithms.Papers.Independent.Information100.P04 (bellProjector)

open QAlgorithms.Papers.Independent.Information100.P53 (amplitudeDamping)

open QAlgorithms.Papers.Independent.Information100.P75 (mixedIdentity)

open QAlgorithms.Papers.Independent.Next46.P29 (zRotation)

open QAlgorithms.Papers.Independent.Support50.P11 (choiState)

open scoped Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- arXiv:1707.05543v2, PDF pp.20-21, (62)-(64): the exact substituted cost
ratio for k dephasing links and one amplitude-damping link. Positive common
expected use m cancels. The denominator is positive; no E_sq identity is asserted. -/
theorem example_comparison (k : ℕ) (x lambda m : ℝ)
    (hx : x ∈ Set.Icc (0 : ℝ) 1) (hl : lambda ∈ Set.Icc (0 : ℝ) 1)
    (hm : 0 < m)
    (hden : 0 < (k : ℝ) * (dephasingSquashedBound x + dephasingRelativeValue x) +
      (dampingSquashedBound lambda + amplitudeValue lambda)) :
    exampleAdvantage k x lambda m =
      ((k : ℝ) * (dephasingSquashedBound x - dephasingRelativeValue x) +
        (dampingSquashedBound lambda - amplitudeValue lambda)) /
      ((k : ℝ) * (dephasingSquashedBound x + dephasingRelativeValue x) +
        (dampingSquashedBound lambda + amplitudeValue lambda)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P20

end
Source
Versatile relative entropy bounds for quantum networks, arXiv:1707.05543v2, PDF p. 20, §VI, (62)–(64): analytic expression for the example advantage
Read-back

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

Let kkk be any natural number, including 000, let x,λ∈[0,1]x,\lambda\in[0,1]x,λ∈[0,1], and let m>0m>0m>0 be real. Write H2(u)=[−uln⁡u−(1−u)ln⁡(1−u)]/ln⁡2H_2(u)=\bigl[-u\ln u-(1-u)\ln(1-u)\bigr]/\ln2H2​(u)=[−ulnu−(1−u)ln(1−u)]/ln2, with the endpoint convention 0ln⁡0=00\ln0=00ln0=0, and define

A=kH2 ⁣(12+x2(1−x2))+H2 ⁣(12−λ4)−H2 ⁣(1−λ4),B=k(1−H2(x/2))+log⁡2(2−λ).A=kH_2\!\left(\frac12+\sqrt{\frac x2\left(1-\frac x2\right)}\right) +H_2\!\left(\frac12-\frac\lambda4\right)-H_2\!\left(1-\frac\lambda4\right), \qquad B=k\bigl(1-H_2(x/2)\bigr)+\log_2(2-\lambda).A=kH2​(21​+2x​(1−2x​)​)+H2​(21​−4λ​)−H2​(1−4λ​),B=k(1−H2​(x/2))+log2​(2−λ).

Assume A+B>0A+B>0A+B>0. The quantity defined as the relative advantage of mAmAmA over mBmBmB, namely (mA−mB)/(mA+mB)(mA-mB)/(mA+mB)(mA−mB)/(mA+mB), equals

k[H2 ⁣(12+x2(1−x2))−(1−H2(x/2))]+H2(12−λ4)−H2(1−λ4)−log⁡2(2−λ)k[H2 ⁣(12+x2(1−x2))+(1−H2(x/2))]+H2(12−λ4)−H2(1−λ4)+log⁡2(2−λ).\frac{ k\left[ H_2\!\left(\frac12+\sqrt{\frac x2(1-\frac x2)}\right) -\bigl(1-H_2(x/2)\bigr) \right] +H_2(\frac12-\frac\lambda4)-H_2(1-\frac\lambda4)-\log_2(2-\lambda) }{ k\left[ H_2\!\left(\frac12+\sqrt{\frac x2(1-\frac x2)}\right) +\bigl(1-H_2(x/2)\bigr) \right] +H_2(\frac12-\frac\lambda4)-H_2(1-\frac\lambda4)+\log_2(2-\lambda) }.k[H2​(21​+2x​(1−2x​)​)+(1−H2​(x/2))]+H2​(21​−4λ​)−H2​(1−4λ​)+log2​(2−λ)k[H2​(21​+2x​(1−2x​)​)−(1−H2​(x/2))]+H2​(21​−4λ​)−H2​(1−4λ​)−log2​(2−λ)​.
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