Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
124 changes: 124 additions & 0 deletions LeanPool/VacuumBellSeparation.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/-
Copyright (c) 2026 Physical Superintelligence PBC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Turturean
-/
-- Adapted by Lean Pool for its pinned Lean and Mathlib versions.
module

public import LeanPool.VacuumBellSeparation.FreeField.OQP12
public import LeanPool.VacuumBellSeparation.FreeField.Existence
public import LeanPool.VacuumBellSeparation.FreeField.LocalAlgebraNonabelian

/-!
# Vacuum Bell correlation at large spacelike separation

Source: url:https://github.com/physical-superintelligence/oqp-batch-2026/tree/7049357c42a8fe85262da08fdc10d57b4d9e67a0/oqp12-vacuum-bell-correlations
Authors: David Turturean
Status: verified
Main declarations: `VacuumBellSeparation.OQP12.theorem_1_1`,
`VacuumBellSeparation.OQP12.corollary_1_2`,
`VacuumBellSeparation.OQP12.no_chsh_violation_far_apart`,
`VacuumBellSeparation.OQP12.no_chsh_violation_far_apart_uniform`,
`VacuumBellSeparation.OQP12.freeFieldVacuum_exists`,
`VacuumBellSeparation.OQP12.localAlgebra_open_nonabelian`
Tags: quantum-field-theory, bell-inequalities, operator-algebras, free-scalar-field
MSC: 81T05, 81P40, 46L60
-/

/-!
## Upstream attribution

Physical Superintelligence PBC released this formalization under Apache 2.0 on October 23, 2026
as part of its Open Quantum Problems batch. It follows the full manuscript of October 21,
2026. Its Theorem 1.1 and Corollary 1.2 correspond to Theorem 1 and Corollary 1 of the
October 22 letter.

The upstream NOTICE records the following attribution.

> This result was released by Physical Superintelligence (PSI). The
> mathematics was developed by PSI researchers working with AI models (OpenAI's GPT-6-Astra and
> GPT-5.6 Pro and Anthropic's Claude Fable 5.1) in automated research workflows at PSI. The Lean
> formalization was written by AI agents (Anthropic's Claude Opus 5.5 in Claude Code, and OpenAI's
> GPT-6-Astra in Codex) under PSI's direction. David
> Turturean is responsible for the correctness of the paper. The paper's AI disclosure has the
> details; formalization.yaml records which agent did which part.

This port adapts the module layout, imports, and proofs to Lean Pool's pinned toolchain.
-/

public section

open scoped InnerProductSpace

namespace VacuumBellSeparation.OQP12

theorem no_chsh_violation_far_apart (m : ℝ) (hm : 0 < m)
(O₁ O₂ : Set Spacetime) (hO₁ : Bornology.IsBounded O₁) (hO₂ : Bornology.IsBounded O₂)
(a : Spacetime) (ha : a.1 ^ 2 < ‖a.2‖ ^ 2) :
∃ T₀ : ℝ, ∀ t : ℝ, T₀ ≤ t →
∀ (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
(V : FreeFieldVacuum m H) (A₀ A₁ B₀ B₁ : H →L[ℂ] H),
A₀ ∈ localAlgebra V O₁ → A₁ ∈ localAlgebra V O₁ →
B₀ ∈ localAlgebra V ((fun x => x + t • a) '' O₂) →
B₁ ∈ localAlgebra V ((fun x => x + t • a) '' O₂) →
IsSelfAdjoint A₀ → IsSelfAdjoint A₁ → IsSelfAdjoint B₀ → IsSelfAdjoint B₁ →
‖A₀‖ ≤ 1 → ‖A₁‖ ≤ 1 → ‖B₀‖ ≤ 1 → ‖B₁‖ ≤ 1 →
‖⟪V.vacuum, (A₀ * (B₀ + B₁) + A₁ * (B₀ - B₁)) V.vacuum⟫_ℂ‖ ≤ 2 :=
VacuumBellSeparation.no_chsh_violation_far_apart m hm O₁ O₂ hO₁ hO₂ a ha

theorem theorem_1_1 :
∃ Cstar : ℝ, 2 < Cstar ∧
∀ m R L : ℝ, 0 < m → 0 < R → Cstar * R ≤ L →
∀ (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
(V : FreeFieldVacuum m H),
sSup {v : ℝ | ∃ A₀ A₁ B₀ B₁ : H →L[ℂ] H,
A₀ ∈ localAlgebra V (doubleCone 0 R) ∧ A₁ ∈ localAlgebra V (doubleCone 0 R) ∧
B₀ ∈ localAlgebra V (doubleCone (0, L • e₁) R) ∧
B₁ ∈ localAlgebra V (doubleCone (0, L • e₁) R) ∧
IsSelfAdjoint A₀ ∧ IsSelfAdjoint A₁ ∧ IsSelfAdjoint B₀ ∧ IsSelfAdjoint B₁ ∧
‖A₀‖ ≤ 1 ∧ ‖A₁‖ ≤ 1 ∧ ‖B₀‖ ≤ 1 ∧ ‖B₁‖ ≤ 1 ∧
v = (1 / 2 : ℝ) * ‖⟪V.vacuum, (A₀ * (B₀ + B₁) + A₁ * (B₀ - B₁)) V.vacuum⟫_ℂ‖} = 1 :=
VacuumBellSeparation.theorem_1_1_explicit

theorem corollary_1_2 :
∀ m : ℝ, 0 < m → ∀ O₁ O₂ : Set Spacetime, Bornology.IsBounded O₁ → Bornology.IsBounded O₂ →
∀ a : Spacetime, a.1 ^ 2 < ‖a.2‖ ^ 2 →
∃ T₀ : ℝ, ∀ t : ℝ, T₀ ≤ t →
∀ (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
(V : FreeFieldVacuum m H),
sSup {v : ℝ | ∃ A₀ A₁ B₀ B₁ : H →L[ℂ] H,
A₀ ∈ localAlgebra V O₁ ∧ A₁ ∈ localAlgebra V O₁ ∧
B₀ ∈ localAlgebra V ((fun x => x + t • a) '' O₂) ∧
B₁ ∈ localAlgebra V ((fun x => x + t • a) '' O₂) ∧
IsSelfAdjoint A₀ ∧ IsSelfAdjoint A₁ ∧ IsSelfAdjoint B₀ ∧ IsSelfAdjoint B₁ ∧
‖A₀‖ ≤ 1 ∧ ‖A₁‖ ≤ 1 ∧ ‖B₀‖ ≤ 1 ∧ ‖B₁‖ ≤ 1 ∧
v = (1 / 2 : ℝ) * ‖⟪V.vacuum, (A₀ * (B₀ + B₁) + A₁ * (B₀ - B₁)) V.vacuum⟫_ℂ‖} =
1 :=
VacuumBellSeparation.corollary_1_2_explicit

theorem freeFieldVacuum_exists :
∀ m : ℝ, 0 < m → ∃ (H : Type) (_ : NormedAddCommGroup H) (_ : InnerProductSpace ℂ H)
(_ : CompleteSpace H), Nonempty (FreeFieldVacuum m H) :=
VacuumBellSeparation.freeFieldVacuum_exists

theorem no_chsh_violation_far_apart_uniform (m : ℝ) (hm : 0 < m)
(O₁ O₂ : Set Spacetime) (hO₁ : Bornology.IsBounded O₁) (hO₂ : Bornology.IsBounded O₂) :
∃ D : ℝ, ∀ x : EuclideanSpace ℝ (Fin 3), D ≤ ‖x‖ →
∀ (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
(V : FreeFieldVacuum m H) (A₀ A₁ B₀ B₁ : H →L[ℂ] H),
A₀ ∈ localAlgebra V O₁ → A₁ ∈ localAlgebra V O₁ →
B₀ ∈ localAlgebra V ((fun y => y + ((0 : ℝ), x)) '' O₂) →
B₁ ∈ localAlgebra V ((fun y => y + ((0 : ℝ), x)) '' O₂) →
IsSelfAdjoint A₀ → IsSelfAdjoint A₁ → IsSelfAdjoint B₀ → IsSelfAdjoint B₁ →
‖A₀‖ ≤ 1 → ‖A₁‖ ≤ 1 → ‖B₀‖ ≤ 1 → ‖B₁‖ ≤ 1 →
‖⟪V.vacuum, (A₀ * (B₀ + B₁) + A₁ * (B₀ - B₁)) V.vacuum⟫_ℂ‖ ≤ 2 :=
VacuumBellSeparation.no_chsh_violation_far_apart_uniform m hm O₁ O₂ hO₁ hO₂

theorem localAlgebra_open_nonabelian (m : ℝ) (hm : 0 < m)
(H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
(V : FreeFieldVacuum m H) (O : Set Spacetime) (hO : IsOpen O) (hne : O.Nonempty) :
∃ A ∈ localAlgebra V O, ∃ B ∈ localAlgebra V O, A * B ≠ B * A :=
V.localAlgebra_open_nonabelian hm hO hne

end VacuumBellSeparation.OQP12
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/-
Copyright (c) 2026 Physical Superintelligence PBC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Turturean
-/
-- Adapted by Lean Pool for its pinned Lean and Mathlib versions.
module

public import LeanPool.VacuumBellSeparation.Bell.ConcreteWeakStarInclusion
public import LeanPool.VacuumBellSeparation.Bell.UniversalWeakStarBellSequence

/-!
The common Bell sequence also converges in the canonical weak-star topology
of the full original operator algebra. This is a concrete inclusion theorem;
no extension of a joint-algebra state is assumed. Identification with a
separately defined trace-class or series presentation remains separate.
-/

@[expose] public section

noncomputable section
namespace VacuumBellSeparation.Bipartite

open HC00 TopologicalSpace Filter
open scoped Topology

/-- The full operator algebra on the original H, with no change of representation. -/
def fullOperatorAlgebra (H : Type*) [NormedAddCommGroup H]
[InnerProductSpace ℂ H] [CompleteSpace H] : VonNeumannAlgebra H where
toStarSubalgebra := ⊤
centralizer_centralizer' :=
Set.Subset.antisymm (Set.subset_univ _) Set.subset_centralizer_centralizer

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

/-- View a bounded operator as an element of the full von Neumann algebra. -/
def fullOperatorElement (T : H →L[ℂ] H) :
(fullOperatorAlgebra H).toStarSubalgebra := ⟨T, Set.mem_univ T⟩

@[simp] theorem fullOperatorElement_coe (T : H →L[ℂ] H) :
(fullOperatorElement T : H →L[ℂ] H) = T := rfl

theorem tendsto_fullOperator_coefficientWeak {ι : Type*} {l : Filter ι}
(M : VonNeumannAlgebra H) {T : ι → M.toStarSubalgebra} {L : M.toStarSubalgebra}
(hT : Tendsto (β := CoefficientWeakAlgebra M) (fun i => T i) l
(nhds (X := CoefficientWeakAlgebra M) L)) :
Tendsto (β := CoefficientWeakAlgebra (fullOperatorAlgebra H))
(fun i => fullOperatorElement (T i)) l
(nhds (X := CoefficientWeakAlgebra (fullOperatorAlgebra H)) (fullOperatorElement L)) := by
let h : M.toStarSubalgebra ≤ (fullOperatorAlgebra H).toStarSubalgebra :=
fun a _ => Set.mem_univ a
exact tendsto_coefficientWeak_inclusion h hT

theorem exists_ambient_weakStar_Bell_sequence_of_all_normal_maximal
[SeparableSpace H] [Nontrivial H]
(A B : VonNeumannAlgebra H) (hcomm : Commuting A B)
(hmax : ∀ φ : NormalStateSpace (jointAlgebra A B),
jointSignedBellCorrelation A B φ.1 = Real.sqrt 2) :
∃ T : ℕ → (jointAlgebra A B).toStarSubalgebra,
(∀ n, T n ∈ jointNormalizedBellOperators A B) ∧
Tendsto (fun n => coefficientWeakDualHomeomorph (fullOperatorAlgebra H)
(fullOperatorElement (T n))) atTop
(𝓝 (coefficientWeakDualHomeomorph (fullOperatorAlgebra H)
(fullOperatorElement (((Real.sqrt 2 : ℝ) : ℂ) • (1 : H →L[ℂ] H))))) := by
obtain ⟨T, hT, hlim⟩ :=
(all_normal_maximal_iff_coefficientWeak_Bell_sequence A B hcomm).mp hmax
have hfull := tendsto_fullOperator_coefficientWeak (jointAlgebra A B) hlim
exact ⟨T, hT,
(coefficientWeakDualHomeomorph (fullOperatorAlgebra H)).continuous.continuousAt.tendsto.comp
hfull⟩

end VacuumBellSeparation.Bipartite
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/-
Copyright (c) 2026 Physical Superintelligence PBC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Turturean
-/
-- Adapted by Lean Pool for its pinned Lean and Mathlib versions.
module

public import LeanPool.VacuumBellSeparation.Bell.BicommutantOrbit
public import LeanPool.VacuumBellSeparation.Bell.FiniteAmplification

/-!
# Simultaneous double-commutant approximation

Amplification preserves membership in the double commutant because every
block of a commuting operator is in the original commutant. The one-vector
orbit argument on the genuine Hilbert direct sum therefore approximates
any finite family simultaneously. No bound on the approximating operator
norm is asserted.
-/

@[expose] public section

namespace VacuumBellSeparation

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

theorem mem_commutantOf_starSubalgebra_iff
(S : StarSubalgebra ℂ (H →L[ℂ] H)) (B : H →L[ℂ] H) :
B ∈ commutantOf (S : Set (H →L[ℂ] H)) ↔ ∀ A ∈ S, A * B = B * A := by
rw [mem_commutantOf_iff, StarMemClass.star_coe_eq, Set.union_self]
exact Set.mem_centralizer_iff

theorem finiteAmplification_mem_bicommutant
(ι : Type*) [Fintype ι]
(S : StarSubalgebra ℂ (H →L[ℂ] H)) {T : H →L[ℂ] H}
(hT : T ∈ generatedVNA (S : Set (H →L[ℂ] H))) :
finiteAmplification ι T ∈ generatedVNA
((S.map (finiteAmplificationHom ι)) : Set
(PiLp 2 (fun _ : ι => H) →L[ℂ] PiLp 2 (fun _ : ι => H))) := by
classical
rw [generatedVNA, VonNeumannAlgebra.mem_commutant_iff]
intro B hB
have hb := (mem_commutantOf_starSubalgebra_iff _ B).mp hB
have hblocks : ∀ i j, amplificationBlock ι B i j ∈ commutantOf (S : Set (H →L[ℂ] H)) := by
intro i j
apply (mem_commutantOf_starSubalgebra_iff S _).mpr
intro A hA
exact (finiteAmplification_commutes_iff ι A B).mp
(hb _ (StarSubalgebra.mem_map.mpr ⟨A, hA, rfl⟩)) i j
have ht := VonNeumannAlgebra.mem_commutant_iff.mp hT
exact ((finiteAmplification_commutes_iff ι T B).mpr
(fun i j => (ht _ (hblocks i j)).symm)).symm

/-- Approximation on every member of an arbitrary finite indexed family. -/
theorem bicommutant_approximate_finite_family
(S : StarSubalgebra ℂ (H →L[ℂ] H)) {T : H →L[ℂ] H}
(hT : T ∈ generatedVNA (S : Set (H →L[ℂ] H)))
{ι : Type*} [Finite ι] (x : ι → H) {ε : ℝ} (hε : 0 < ε) :
∃ A ∈ S, ∀ i, ‖T (x i) - A (x i)‖ < ε := by
let _ : Fintype ι := Fintype.ofFinite ι
classical
have hAmp : finiteAmplification ι T ∈ generatedVNA
((S.map (finiteAmplificationHom ι)) : Set
(PiLp 2 (fun _ : ι => H) →L[ℂ] PiLp 2 (fun _ : ι => H))) :=
finiteAmplification_mem_bicommutant ι S hT
obtain ⟨B, hB, hdist⟩ := bicommutant_approximate_one_vector
(H := PiLp 2 (fun _ : ι => H)) (T := finiteAmplification ι T)
(S.map (finiteAmplificationHom ι)) hAmp (WithLp.toLp 2 x) hε
obtain ⟨A, hA, rfl⟩ := StarSubalgebra.mem_map.mp hB
refine ⟨A, hA, fun i => ?_⟩
have hi := PiLp.norm_apply_le
(finiteAmplification ι T (WithLp.toLp 2 x) -
finiteAmplification ι A (WithLp.toLp 2 x)) i
exact lt_of_le_of_lt hi hdist

/-- The same conclusion for a literal finite set of vectors. -/
theorem bicommutant_approximate_finset
(S : StarSubalgebra ℂ (H →L[ℂ] H)) {T : H →L[ℂ] H}
(hT : T ∈ generatedVNA (S : Set (H →L[ℂ] H))) (s : Finset H)
{ε : ℝ} (hε : 0 < ε) : ∃ A ∈ S, ∀ x ∈ s, ‖T x - A x‖ < ε := by
obtain ⟨A, hA, hdist⟩ := bicommutant_approximate_finite_family S hT
(fun x : s => (x : H)) hε
exact ⟨A, hA, fun x hx => hdist ⟨x, hx⟩⟩

end VacuumBellSeparation
105 changes: 105 additions & 0 deletions LeanPool/VacuumBellSeparation/Bell/BicommutantOrbit.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/-
Copyright (c) 2026 Physical Superintelligence PBC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Turturean
-/
-- Adapted by Lean Pool for its pinned Lean and Mathlib versions.
module

public import LeanPool.VacuumBellSeparation.FreeField.Isotony
public import Mathlib.Analysis.InnerProductSpace.Projection.Basic

/-!
# The one-vector double-commutant approximation lemma

The orbit of a unital complex star algebra is a linear subspace. Its
closed orbit is reducing, so its orthogonal projection belongs to the
commutant. This gives actual norm approximation on one vector for every
operator in the double commutant.
-/

@[expose] public section

namespace VacuumBellSeparation

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

/-- The orbit of a finite vector family under the simultaneous action of operators in the
algebra. -/
def operatorOrbit (S : StarSubalgebra ℂ (H →L[ℂ] H)) (x : H) : Submodule ℂ H where
carrier := {y | ∃ A ∈ S, A x = y}
zero_mem' := ⟨0, S.zero_mem, by simp⟩
add_mem' := by
rintro y z ⟨A, hA, rfl⟩ ⟨B, hB, rfl⟩
exact ⟨A + B, S.add_mem hA hB, by simp⟩
smul_mem' := by
rintro c y ⟨A, hA, rfl⟩
exact ⟨c • A, S.smul_mem hA c, by simp⟩

theorem operatorOrbit_invariant (S : StarSubalgebra ℂ (H →L[ℂ] H)) (x : H)
{A : H →L[ℂ] H} (hA : A ∈ S) {y : H} (hy : y ∈ operatorOrbit S x) :
A y ∈ operatorOrbit S x := by
obtain ⟨B, hB, rfl⟩ := hy
exact ⟨A * B, S.mul_mem hA hB, rfl⟩

theorem closedOperatorOrbit_invariant (S : StarSubalgebra ℂ (H →L[ℂ] H)) (x : H)
{A : H →L[ℂ] H} (hA : A ∈ S) {y : H}
(hy : y ∈ (operatorOrbit S x).topologicalClosure) :
A y ∈ (operatorOrbit S x).topologicalClosure := by
have hs : (operatorOrbit S x : Set H) ⊆
A ⁻¹' ((operatorOrbit S x).topologicalClosure : Set H) := by
intro z hz
exact (operatorOrbit S x).le_topologicalClosure (operatorOrbit_invariant S x hA hz)
exact closure_minimal hs
((operatorOrbit S x).isClosed_topologicalClosure.preimage A.continuous) hy

/-- Reducing subspaces have projections commuting with every algebra element. -/
theorem starProjection_commutes_of_invariant
(S : StarSubalgebra ℂ (H →L[ℂ] H)) (K : Submodule ℂ H)
[K.HasOrthogonalProjection]
(hinv : ∀ A ∈ S, ∀ y ∈ K, A y ∈ K) {A : H →L[ℂ] H} (hA : A ∈ S) :
A * K.starProjection = K.starProjection * A := by
have hfix : ∀ B ∈ S, K.starProjection * B * K.starProjection = B * K.starProjection := by
intro B hB
ext y
exact Submodule.starProjection_eq_self_iff.mpr
(hinv B hB _ (K.starProjection_apply_mem y))
have hleft : K.starProjection * A * K.starProjection = K.starProjection * A := by
have h := congrArg star (hfix (star A) (star_mem hA))
simpa only [star_mul, star_star,
(isSelfAdjoint_starProjection K).star_eq, mul_assoc] using h
exact (hfix A hA).symm.trans hleft

theorem closedOperatorOrbit_projection_mem_commutant
(S : StarSubalgebra ℂ (H →L[ℂ] H)) (x : H) :
(operatorOrbit S x).topologicalClosure.starProjection ∈ commutantOf (S : Set (H →L[ℂ] H)) := by
rw [mem_commutantOf_iff, StarMemClass.star_coe_eq, Set.union_self]
apply Set.mem_centralizer_iff.mpr
intro A hA
exact starProjection_commutes_of_invariant S _
(fun B hB y hy => closedOperatorOrbit_invariant S x hB hy) hA

/-- Every double-commutant operator sends a vector into its actual closed orbit. -/
theorem bicommutant_apply_mem_closedOrbit
(S : StarSubalgebra ℂ (H →L[ℂ] H)) {T : H →L[ℂ] H}
(hT : T ∈ generatedVNA (S : Set (H →L[ℂ] H))) (x : H) :
T x ∈ (operatorOrbit S x).topologicalClosure := by
let K := (operatorOrbit S x).topologicalClosure
have hx : x ∈ K := (operatorOrbit S x).le_topologicalClosure ⟨1, S.one_mem, by simp⟩
have hc := (VonNeumannAlgebra.mem_commutant_iff.mp hT)
K.starProjection (closedOperatorOrbit_projection_mem_commutant S x)
apply Submodule.starProjection_eq_self_iff.mp
have he := congrArg (fun A : H →L[ℂ] H => A x) hc
simpa only [mul_apply_eq_comp,
Submodule.starProjection_eq_self_iff.mpr hx] using he

/-- Actual approximation on one vector, with no operator-norm bound yet. -/
theorem bicommutant_approximate_one_vector
(S : StarSubalgebra ℂ (H →L[ℂ] H)) {T : H →L[ℂ] H}
(hT : T ∈ generatedVNA (S : Set (H →L[ℂ] H))) (x : H) {ε : ℝ} (hε : 0 < ε) :
∃ A ∈ S, ‖T x - A x‖ < ε := by
obtain ⟨y, ⟨A, hA, rfl⟩, hy⟩ := Metric.mem_closure_iff.mp
(bicommutant_apply_mem_closedOrbit S hT x) ε hε
exact ⟨A, hA, by simpa only [dist_eq_norm] using hy⟩

end VacuumBellSeparation
Loading
Loading