Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Normalized orthogonal encodings and perfect honest parity unveiling

Open
QAlgorithms.Papers.Independent.Advance50.P33.honest_encoding

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

prove2quantum

Work in the full two-mode bosonic Fock space, with token first and proof second, ideal readout, and a lossless balanced interferometer with matched delays. Let a∈C∖{0}a\in\mathbb C\setminus\{0\}a∈C∖{0}, sb=2b−1s_b=2b-1sb​=2b−1, and let ∣a⟩|a\rangle∣a⟩ be the normalized coherent state. Define

∣χb(a)⟩=∣a,−a⟩+sb∣−a,a⟩2(1+sbe−4∣a∣2),∣cb(A)⟩=∣A⟩+sb∣−A⟩2(1+sbe−2∣A∣2).|\chi_b(a)\rangle=\frac{|a,-a\rangle+s_b|-a,a\rangle}{\sqrt{2(1+s_b e^{-4|a|^2})}},\qquad |c_b(A)\rangle=\frac{|A\rangle+s_b|-A\rangle}{\sqrt{2(1+s_b e^{-2|A|^2})}}.∣χb​(a)⟩=2(1+sb​e−4∣a∣2)​∣a,−a⟩+sb​∣−a,a⟩​,∣cb​(A)⟩=2(1+sb​e−2∣A∣2)​∣A⟩+sb​∣−A⟩​.

A unitary balanced beam splitter BBB exists with coherent amplitude action (z,w)↦((z−w)/2,(z+w)/2)(z,w)\mapsto((z-w)/\sqrt2,(z+w)/\sqrt2)(z,w)↦((z−w)/2​,(z+w)/2​). Both encodings and both corresponding cats are unit vectors, the encodings are orthogonal, and the fixed BBB satisfies

B∣χb(a)⟩=∣cb(2a)⟩⊗∣0⟩,⟨P⊗I⟩Bχ0=−1,⟨P⊗I⟩Bχ1=1.B|\chi_b(a)\rangle=|c_b(\sqrt2a)\rangle\otimes|0\rangle,\qquad \langle P\otimes I\rangle_{B\chi_0}=-1,\quad \langle P\otimes I\rangle_{B\chi_1}=1.B∣χb​(a)⟩=∣cb​(2​a)⟩⊗∣0⟩,⟨P⊗I⟩Bχ0​​=−1,⟨P⊗I⟩Bχ1​​=1.

Here P=(−1)n^P=(-1)^{\hat n}P=(−1)n^ is photon parity. Thus the ideal honest unveiling is perfect. These identities do not assert exact concealment of the token.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P33
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P33

open Filter

open scoped BigOperators Topology

open QAlgorithms.Papers.Independent.Dependency50.P39
  (Fock FockOperator BipartiteFock fockKet bipartiteKet coherentKet
   coherentCoefficient CoherentRealized displacement displacementMatrix
   DisplacementRealized HasFockMatrix operatorOfMatrix IsDensity IsTraceClass
   nuclearTraceNorm fockTrace)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.2--3, Eqs.(3)--(5): normalized orthogonal encodings, their exact
balanced-interferometer outputs, and both honest parity signs. Nonzero a avoids
the undefined odd-cat normalization; no claim of exact concealment is made. -/
theorem honest_encoding :
    CoherentRealized ∧
    IsBalanced balancedInterferometer ∧
    ∀ (a : ℂ), a ≠ 0 →
      (∀ b : Bool, ‖commitmentEncoding a b‖ = 1 ∧ ‖cat ((Real.sqrt 2 : ℂ) * a) b‖ = 1) ∧
      inner ℂ (commitmentEncoding a false) (commitmentEncoding a true) = 0 ∧
      (∀ b : Bool, balancedInterferometer (commitmentEncoding a b) =
        fockTensorPair (cat ((Real.sqrt 2 : ℂ) * a) b) (fockKet 0)) ∧
      firstParity (balancedInterferometer (commitmentEncoding a false)) = -1 ∧
      firstParity (balancedInterferometer (commitmentEncoding a true)) = 1 := by sorry

end QAlgorithms.Papers.Independent.Advance50.P33

end
Source
Quantum bit commitment under Gaussian constraints, arXiv:1105.2140v2, PDF p. 2, II, Eqs.(3)–(5): normalized orthogonal encodings and perfect honest unveiling
Read-back

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

Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C) and H2=ℓ2(N2;C)H_2=\ell^2(\mathbb N^2;\mathbb C)H2​=ℓ2(N2;C), with coordinate vectors ene_nen​ and e(m,n)e_{(m,n)}e(m,n)​, respectively. Let cαc_\alphacα​ be the selected vector with coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​, or zero if no such vector exists; the theorem asserts that, for every complex α\alphaα, these coordinate equalities hold and ∥cα∥=1\|c_\alpha\|=1∥cα​∥=1. Write

T(u,v)=∑m,n≥0umvne(m,n),sfalse=−1,strue=1,T(u,v)=\sum_{m,n\ge0}u_m v_n e_{(m,n)},\qquad s_{\mathrm{false}}=-1,\quad s_{\mathrm{true}}=1,T(u,v)=m,n≥0∑​um​vn​e(m,n)​,sfalse​=−1,strue​=1, fA,b=cA+sbc−A2(1+sbe−2∣A∣2),qa,b=T(ca,c−a)+sbT(c−a,ca)2(1+sbe−4∣a∣2).f_{A,b}=\frac{c_A+s_b c_{-A}}{\sqrt{2(1+s_b e^{-2|A|^2})}}, \qquad q_{a,b}= \frac{T(c_a,c_{-a})+s_bT(c_{-a},c_a)} {\sqrt{2(1+s_b e^{-4|a|^2})}}.fA,b​=2(1+sb​e−2∣A∣2)​cA​+sb​c−A​​,qa,b​=2(1+sb​e−4∣a∣2)​T(ca​,c−a​)+sb​T(c−a​,ca​)​.

Let B:H2→H2B:H_2\to H_2B:H2​→H2​ be the selected complex-linear isometric bijection satisfying

B T(cz,cw)=T ⁣(c(z−w)/2,c(z+w)/2)(z,w∈C)B\,T(c_z,c_w) =T\!\left(c_{(z-w)/\sqrt2},c_{(z+w)/\sqrt2}\right) \quad(z,w\in\mathbb C)BT(cz​,cw​)=T(c(z−w)/2​​,c(z+w)/2​​)(z,w∈C)

if such a bijection exists, and the identity otherwise. The theorem asserts that BBB does satisfy this identity for all z,wz,wz,w. It further asserts that for every a∈Ca\in\mathbb Ca∈C with a≠0a\ne0a=0, both Boolean values bbb satisfy

∥qa,b∥=∥f2a,b∥=1,Bqa,b=T(f2a,b,e0),\|q_{a,b}\|=\|f_{\sqrt2a,b}\|=1, \qquad Bq_{a,b}=T(f_{\sqrt2a,b},e_0),∥qa,b​∥=∥f2​a,b​∥=1,Bqa,b​=T(f2​a,b​,e0​),

that ⟨qa,false,qa,true⟩=0\langle q_{a,\mathrm{false}},q_{a,\mathrm{true}}\rangle=0⟨qa,false​,qa,true​⟩=0, and that

∑m,n≥0(−1)m∣(Bqa,false)m,n∣2=−1,∑m,n≥0(−1)m∣(Bqa,true)m,n∣2=1.\sum_{m,n\ge0}(-1)^m|(Bq_{a,\mathrm{false}})_{m,n}|^2=-1, \qquad \sum_{m,n\ge0}(-1)^m|(Bq_{a,\mathrm{true}})_{m,n}|^2=1.m,n≥0∑​(−1)m∣(Bqa,false​)m,n​∣2=−1,m,n≥0∑​(−1)m∣(Bqa,true​)m,n​∣2=1.

The assertions about qa,bq_{a,b}qa,b​ and f2a,bf_{\sqrt2a,b}f2​a,b​ are conditional on a≠0a\ne0a=0.

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