Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Signed finite-cut amplitude in SHIN09's two-area swap model

Proved
NullConeLastCut.two_area_signed_swap_amplitude

by scuba8684 · Nov 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

closed-cutnull-cone-gravity

Let r,nr,nr,n be natural numbers with 1≤n≤r1\le n\le r1≤n≤r. Retain rrr labels in the first area band and nnn in the second. Pair labels from opposite bands when their indices agree, and let the compressed swap have matrix entries 111 on these pairs and 000 elsewhere. In the two-copy space let OOO be minus the tensor square of this swap and let BBB be diagonal, with phase 111 when the right label lies in the first band and eie^{i}ei when it lies in the second. Put w=e−3w=e^{-3}w=e−3 and δ=1−cos⁡(1)\delta=1-\cos(1)δ=1−cos(1). Give each equal-label pair coefficient w\sqrt ww​ in the unnormalized vector vvv, with zero coefficients on the other pairs. For X=B∗OB−O−δ2IX=B^*OB-O-\frac{\delta}{2}IX=B∗OB−O−2δ​I, the signed amplitude obeys

Re⁡⟨v,Xv⟩=wδ(3n−r)2.\operatorname{Re}\langle v,Xv\rangle = \frac{w\delta(3n-r)}2.Re⟨v,Xv⟩=2wδ(3n−r)​.
Preamble
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex
import Mathlib.Data.Fintype.Prod
import Mathlib.Data.Fintype.Sum

open scoped BigOperators
Formal statement
theorem NullConeLastCut.two_area_signed_swap_amplitude
    (r n : ℕ) (hn : 0 < n) (hr : n ≤ r) :
    let Label := Sum (Fin r) (Fin n)
    let weight : ℝ := Real.exp (-3)
    let delta : ℝ := 1 - Real.cos 1
    let matched : Label → Label → Bool := fun i j =>
      match i, j with
      | .inl a, .inr b => decide (a.val = b.val)
      | .inr b, .inl a => decide (a.val = b.val)
      | _, _ => false
    let phase : Label → ℂ := fun i =>
      match i with
      | .inl _ => 1
      | .inr _ => Complex.exp Complex.I
    let v : Label × Label → ℂ := fun p =>
      if p.1 = p.2 then (Real.sqrt weight : ℂ) else 0
    let O : (Label × Label) → (Label × Label) → ℂ := fun p q =>
      if matched p.1 q.1 && matched p.2 q.2 then -1 else 0
    let X : (Label × Label) → (Label × Label) → ℂ := fun p q =>
      (star (phase p.2) * phase q.2 - 1) * O p q -
        (if p = q then (delta : ℂ) / 2 else 0)
    (∑ p : Label × Label, ∑ q : Label × Label, star (v p) * X p q * v q).re =
      weight * delta * (3 * (n : ℝ) - (r : ℝ)) / 2 := by sorry
Source
Null-cone amplitude verification project (SHIN09-git), Closing the last cut in null-cone quantum gravity, v0.2.0, re-examination §2. https://github.com/SHIN09-git/null-cone-quantum-gravity-verification/blob/44df2c1e4915c0e654dd5907d91b775e83f31326/phase2/RECHECK.md#L40-L58
Read-back

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

For every pair of natural numbers r,nr,nr,n with 1≤n≤r1\le n\le r1≤n≤r, including n=rn=rn=r, let LLL be the disjoint union of the left labels indexed by 0,…,r−10,\ldots,r-10,…,r−1 and the right labels indexed by 0,…,n−10,\ldots,n-10,…,n−1. Two labels match exactly when they belong to different copies and have the same index. Set w=e−3w=e^{-3}w=e−3 and δ=1−cos⁡(1)\delta=1-\cos(1)δ=1−cos(1), and define the complex phase ϕ\phiϕ to equal 111 on left labels and eie^{\mathrm i}ei on right labels. For each ordered pair p=(p1,p2)∈L×Lp=(p_1,p_2)\in L\times Lp=(p1​,p2​)∈L×L, define v(p)v(p)v(p) to be the real square root w\sqrt ww​ viewed as a complex number when p1=p2p_1=p_2p1​=p2​, and 000 otherwise. For every p,q∈L×Lp,q\in L\times Lp,q∈L×L, set O(p,q)=−1O(p,q)=-1O(p,q)=−1 if p1p_1p1​ matches q1q_1q1​ and p2p_2p2​ matches q2q_2q2​, and set O(p,q)=0O(p,q)=0O(p,q)=0 otherwise. Define X(p,q)=(ϕ(p2)‾ϕ(q2)−1)O(p,q)−(δ/2)1{p=q}X(p,q)=(\overline{\phi(p_2)}\phi(q_2)-1)O(p,q)-(\delta/2)\mathbf 1_{\{p=q\}}X(p,q)=(ϕ(p2​)​ϕ(q2​)−1)O(p,q)−(δ/2)1{p=q}​, where the bar denotes complex conjugation and the indicator is 111 when the ordered pairs are equal and 000 otherwise. Then Re⁡ ⁣(∑p∈L×L∑q∈L×Lv(p)‾X(p,q)v(q))=wδ(3n−r)/2\operatorname{Re}\!\left(\sum_{p\in L\times L}\sum_{q\in L\times L}\overline{v(p)}X(p,q)v(q)\right)=w\delta(3n-r)/2Re(∑p∈L×L​∑q∈L×L​v(p)​X(p,q)v(q))=wδ(3n−r)/2, with rrr and nnn regarded as real numbers on the right.

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