Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Empty restricted family leaves only the completion dimension

Open
QAlgorithms.Papers.Independent.Intake100.P46.emptyConstraints_iff_dimension

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

prove2quantum

All systems have positive finite dimensions and fixed computational bases. Choi operators are unnormalized and input first. A valid process maps every pair of local CPTP maps, with arbitrary ancillary input and output wires, to a CPTP map. Purity tests every compatible pair of local unitaries with those same ancillary extensions.

Use the balanced setting and the spectral, kernel-basis and compressed eigenbasis data of the preceding test. Let VW=ker⁡OWV_W=\ker O_WVW​=kerOW​, and suppose the compressed operator has no nonzero eigenmodes, so its Hermitian constraint family is empty. Then every pair of vectors v,w∈VWv,w\in V_Wv,w∈VW​ obeys (I−LV)(∣v⟩⟨w∣)=0(I-L_V)(|v\rangle\langle w|)=0(I−LV​)(∣v⟩⟨w∣)=0, and

W is purifiable⟺dim⁡VW≥rank⁡W.W\text{ is purifiable}\quad\Longleftrightarrow\quad \dim V_W\ge\operatorname{rank}W.W is purifiable⟺dimVW​≥rankW.

The assertion that the bilinear constraints vanish does not assert that arbitrary vectors are mutually orthogonal or correctly normalized. The dimension condition is what permits a completion containing the prescribed w0w_0w0​ with squared norm dAOdBOd_{A_O}d_{B_O}dAO​​dBO​​. The formal statement represents VWV_WVW​ by its explicit orthonormal processCoordinates.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P46
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.decEq Classical.propDecidable

namespace QAlgorithms.Papers.Independent.Intake100.P46

/-- PDF p.7, footnote 7: an empty nonzero-mode family removes the bilinear constraints;
normalization and orthogonality still require a completion, exactly when dim VW ≥ rank W.
PRINTED: no laboratory balance condition. CHANGED: require dAI*dBI=dAO*dBO.
WHY: the downstream reversible rank-sized reconstruction must be square, as in the
corrected Theorem 4; purifiability itself still allows independent past/future dimensions. -/
theorem emptyConstraints_iff_dimension {d : Fin 4 → ℕ+}
    (W : ProcessMatrix (laboratorySignature d 1 1)) (hW : IsValidProcess W)
    (e : SupportSpectrum W) (b : KernelBasisData e) (s : CompressionSpectrum b)
    (balanced : (d 0 : ℕ) * (d 2 : ℕ) = (d 1 : ℕ) * (d 3 : ℕ))
    (empty : ∀ k, s.values k = 0) :
    (∀ v w : Fin b.dimension → ℂ,
      invalidSubspaceProjector (vectorOuter (liftKernelVector b v) (liftKernelVector b w)) = 0) ∧
    (IsPurifiable W ↔ (e.rank : ℕ) ≤ b.dimension) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P46

end
Source
A purification postulate for quantum mechanics with indefinite causal order, arXiv:1611.08535v4, PDF p. 7, §5, footnote 7
Read-back

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

Let a,b,c,ga,b,c,ga,b,c,g be positive laboratory dimensions with ac=bgac=bgac=bg, and let Xp,f\mathcal X_{p,f}Xp,f​ denote the six-coordinate index set with dimensions (p,a,b,c,g,f)(p,a,b,c,g,f)(p,a,b,c,g,f), numbered 0,…,50,\ldots,50,…,5. For any matrix TTT on this space, any four positive ancillary dimensions and appropriately indexed laboratory matrices A,BA,BA,B, define their link by

LT(A,B)((u,α,β),(v,γ,η)),((u′,α′,β′),(v′,γ′,η′))=∑i,o,j,q,i′,o′,j′,q′T(u,i,o,j,q,v),(u′,i′,o′,j′,q′,v′)⋅A((i,α),(o,γ)),((i′,α′),(o′,γ′))B((j,β),(q,η)),((j′,β′),(q′,η′)).\begin{aligned} L_T(A,B)_{\substack{((u,\alpha,\beta),(v,\gamma,\eta)),\\((u',\alpha',\beta'),(v',\gamma',\eta'))}} ={}&\sum_{i,o,j,q,i',o',j',q'} T_{(u,i,o,j,q,v),(u',i',o',j',q',v')}\\ &\quad\cdot A_{((i,\alpha),(o,\gamma)),((i',\alpha'),(o',\gamma'))} B_{((j,\beta),(q,\eta)),((j',\beta'),(q',\eta'))}. \end{aligned}LT​(A,B)((u,α,β),(v,γ,η)),((u′,α′,β′),(v′,γ′,η′))​​=​i,o,j,q,i′,o′,j′,q′∑​T(u,i,o,j,q,v),(u′,i′,o′,j′,q′,v′)​⋅A((i,α),(o,γ)),((i′,α′),(o′,γ′))​B((j,β),(q,η)),((j′,β′),(q′,η′))​.​

Validity means that this link is positive semidefinite and has global output partial trace equal to the global input identity whenever A,BA,BA,B are positive semidefinite and each has output partial trace equal to its input identity, for every choice of the four positive ancillary dimensions. Let WWW be any valid matrix on X1,1\mathcal X_{1,1}X1,1​, and fix a positive integer r=rank⁡Wr=\operatorname{rank}Wr=rankW, positive real numbers λi\lambda_iλi​ and vectors viv_ivi​, 0≤i<r0\le i<r0≤i<r, such that

∑xvi(x)‾vj(x)=δij,Wx,y=∑i<rλivi(x)vi(y)‾.\sum_x\overline{v_i(x)}v_j(x)=\delta_{ij}, \qquad W_{x,y}=\sum_{i<r}\lambda_i v_i(x)\overline{v_i(y)}.x∑​vi​(x)​vj​(x)=δij​,Wx,y​=i<r∑​λi​vi​(x)vi​(y)​.

For subsets JJJ of the six coordinate numbers define

RJ(T)x,y=1{xJ=yJ}∏j∈JDj∑zJT(zJ,xJc),(zJ,yJc),Q(T)=R5T−R25T−R45T+R245T+R125T−R1245T+R345T−R2345T+R12345T−R012345T,R_J(T)_{x,y} = \frac{\mathbf1_{\{x_J=y_J\}}}{\prod_{j\in J}D_j} \sum_{z_J}T_{(z_J,x_{J^c}),(z_J,y_{J^c})}, \qquad Q(T)=R_5T-R_{25}T-R_{45}T+R_{245}T+R_{125}T-R_{1245}T +R_{345}T-R_{2345}T+R_{12345}T-R_{012345}T,RJ​(T)x,y​=∏j∈J​Dj​1{xJ​=yJ​}​​zJ​∑​T(zJ​,xJc​),(zJ​,yJc​)​,Q(T)=R5​T−R25​T−R45​T+R245​T+R125​T−R1245​T+R345​T−R2345​T+R12345​T−R012345​T,

where DjD_jDj​ are the coordinate dimensions and strings of digits denote coordinate sets. On X=X1,r\mathcal X=\mathcal X_{1,r}X=X1,r​ put

c0(x)=λx5 vx5(0,x1,x2,x3,x4,0),F(x,y),(z,t)=Q(Et,z)y,x,Ky,t=∑x,zc0(x)F(x,y),(z,t)c0(z)‾,c_0(x)=\sqrt{\lambda_{x_5}}\,v_{x_5}(0,x_1,x_2,x_3,x_4,0),\qquad F_{(x,y),(z,t)}=Q(E_{t,z})_{y,x},\qquad K_{y,t}=\sum_{x,z}c_0(x)F_{(x,y),(z,t)}\overline{c_0(z)},c0​(x)=λx5​​​vx5​​(0,x1​,x2​,x3​,x4​,0),F(x,y),(z,t)​=Q(Et,z​)y,x​,Ky,t​=x,z∑​c0​(x)F(x,y),(z,t)​c0​(z)​,

where Et,zE_{t,z}Et,z​ is the single-entry matrix with its 111 at row ttt, column zzz. Let m≥0m\ge0m≥0 and let bi∈CXb_i\in\mathbb C^\mathcal Xbi​∈CX, 0≤i<m0\le i<m0≤i<m, be an orthonormal family whose complex linear span is exactly {v:Kv=0}\{v:Kv=0\}{v:Kv=0}. Define

H(i,j),(k,ℓ)=∑x,y,z,tbi(x)bj(y)‾F(x,y),(z,t)bk(z)‾bℓ(t).H_{(i,j),(k,\ell)} = \sum_{x,y,z,t}b_i(x)\overline{b_j(y)} F_{(x,y),(z,t)}\overline{b_k(z)}b_\ell(t).H(i,j),(k,ℓ)​=x,y,z,t∑​bi​(x)bj​(y)​F(x,y),(z,t)​bk​(z)​bℓ​(t).

Suppose real numbers μκ\mu_\kappaμκ​ and vectors sκ∈Cm2s_\kappa\in\mathbb C^{m^2}sκ​∈Cm2, indexed by κ∈{0,…,m−1}2\kappa\in\{0,\ldots,m-1\}^2κ∈{0,…,m−1}2, satisfy ⟨sκ,sκ′⟩=δκ,κ′\langle s_\kappa,s_{\kappa'}\rangle=\delta_{\kappa,\kappa'}⟨sκ​,sκ′​⟩=δκ,κ′​, span all of Cm2\mathbb C^{m^2}Cm2 and satisfy Hsκ=μκsκHs_\kappa=\mu_\kappa s_\kappaHsκ​=μκ​sκ​, and suppose every μκ=0\mu_\kappa=0μκ​=0. Then, for every v,w∈Cmv,w\in\mathbb C^mv,w∈Cm, writing ℓ(v)(x)=∑i<mvibi(x)\ell(v)(x)=\sum_{i<m}v_i b_i(x)ℓ(v)(x)=∑i<m​vi​bi​(x), one has

Q ⁣(ℓ(v)ℓ(w)†)=0.Q\!\left(\ell(v)\ell(w)^\dagger\right)=0.Q(ℓ(v)ℓ(w)†)=0.

Furthermore, r≤mr\le mr≤m if and only if there exist positive p,fp,fp,f and a valid matrix SSS on Xp,f\mathcal X_{p,f}Xp,f​ such that

W(0,i,o,j,q,0),(0,i′,o′,j′,q′,0)=∑t<fS(0,i,o,j,q,t),(0,i′,o′,j′,q′,t)W_{(0,i,o,j,q,0),(0,i',o',j',q',0)} =\sum_{t<f}S_{(0,i,o,j,q,t),(0,i',o',j',q',t)}W(0,i,o,j,q,0),(0,i′,o′,j′,q′,0)​=t<f∑​S(0,i,o,j,q,t),(0,i′,o′,j′,q′,t)​

and such that, for every four positive ancillary dimensions and every pair of laboratory matrices U,VU,VU,V satisfying both reversibility equations, LS(J(U),J(V))=J(G)L_S(J(U),J(V))=J(G)LS​(J(U),J(V))=J(G) for some global matrix GGG satisfying both reversibility equations. Here those equations are M†M=IM^\dagger M=IM†M=I and MM†=IMM^\dagger=IMM†=I, and J(M)(i,o),(j,o′)=Mo,iMo′,j‾J(M)_{(i,o),(j,o')}=M_{o,i}\overline{M_{o',j}}J(M)(i,o),(j,o′)​=Mo,i​Mo′,j​​. The case m=0m=0m=0 is included: the eigenvalue hypothesis is then vacuous, the lifted vectors are zero, and r≤mr\le mr≤m is false because rrr is positive.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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