Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

III.E: local shear changes only a self-loop

Proved
QAlgorithms.Papers.Independent.Intake100.P30.local_shear

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

prove2quantum

For a valid graph Z=\begin{psmallmatrix}t&r^T\\r&W\end{psmallmatrix} and any real shear strength ggg, the local symplectic shear \begin{psmallmatrix}1&0\\g&1\end{psmallmatrix} gives

Z′=(t+grTrW).Z'=\begin{pmatrix}t+g&r^T\\r&W\end{pmatrix}.Z′=(t+gr​rTW​).

The graph stays valid. Only the real self-loop on the active node changes; its links and the rest of the graph remain as displayed.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P30
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal ComplexOrder Matrix.Norms.Frobenius Topology

open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase complexify sigma)

namespace QAlgorithms.Papers.Independent.Intake100.P30

open QAlgorithms.Papers.Independent.Claimed50.P41
  (Schrodinger gaussianWave IsCenteredGaussianFunction quadratureFunction waveMean waveCovariance displacedFunction IsImplementer)

/-- PDF p.11, (3.14): local shear changes just one real self-loop. -/
theorem local_shear {J : Type*} [Fintype J] [DecidableEq J]
    (t : ℂ) (r : J → ℂ) (W : Matrix J J ℂ) (hZ : ValidGraph (oneGraph t r W)) (g : ℝ) :
    oneAction 1 0 g 1 (oneGraph t r W) = oneGraph (t + (g : ℂ)) r W ∧
    ValidGraph (oneGraph (t + (g : ℂ)) r W) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P30

end
Source
Graphical calculus for Gaussian pure states, arXiv:1007.0725v3, PDF p. 11, III.E: local shear changes only a self-loop
Read-back

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

For every finite type JJJ with decidable equality, including the empty type, every t∈Ct\in\mathbb Ct∈C, vector r:J→Cr:J\to\mathbb Cr:J→C, complex matrix WWW indexed by JJJ, and real ggg, suppose

Z(t,r,W)=(trTrW)Z(t,r,W)=\begin{pmatrix}t&r^{\mathsf T}\\r&W\end{pmatrix}Z(t,r,W)=(tr​rTW​)

on one distinguished coordinate together with JJJ is symmetric with positive definite entrywise imaginary part. Define

La,b,c,d(Z)=(diag⁡(c,0J)+diag⁡(d,1J)Z)(diag⁡(a,1J)+diag⁡(b,0J)Z)−1,\mathcal L_{a,b,c,d}(Z)= \bigl(\operatorname{diag}(c,0_J)+\operatorname{diag}(d,\mathbf1_J)Z\bigr) \bigl(\operatorname{diag}(a,\mathbf1_J)+\operatorname{diag}(b,0_J)Z\bigr)^{-1},La,b,c,d​(Z)=(diag(c,0J​)+diag(d,1J​)Z)(diag(a,1J​)+diag(b,0J​)Z)−1,

where real coefficients are embedded into C\mathbb CC and the transpose in Z(t,r,W)Z(t,r,W)Z(t,r,W) has no conjugation. Then

L1,0,g,1(Z(t,r,W))=Z(t+g,r,W),\mathcal L_{1,0,g,1}(Z(t,r,W))=Z(t+g,r,W),L1,0,g,1​(Z(t,r,W))=Z(t+g,r,W),

and Z(t+g,r,W)Z(t+g,r,W)Z(t+g,r,W) is symmetric with positive definite entrywise imaginary part. For empty JJJ, this is a statement about the single distinguished coordinate.

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

    Confirmed by the moderator at approval.

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