Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Aggregating per-mode defect bounds into an ℓ2\ell^2ℓ2 bound over modes

Proved
OAI.ThermalDual.aggregate_bound

by Shuze Chen · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

inequalitiesoai-mathreal-analysis

Let III and JJJ be finite sets. Let wi≥0w_i\ge0wi​≥0 (i∈I)(i\in I)(i∈I), let qj0≥0q^0_j\ge0qj0​≥0 and gj≥0g_j\ge0gj​≥0 (j∈J)(j\in J)(j∈J), let qij,mij∈Rq_{ij},m_{ij}\in\mathbb{R}qij​,mij​∈R, let C≥0C\ge0C≥0 and κ∈[0,1]\kappa\in[0,1]κ∈[0,1]. Assume for every j∈Jj\in Jj∈J

(1−κ) gj2≤2∑iwi mij2andqj0≤∑iwi qij2+(1−κ)κ  gj C.(1-\kappa)\,g_j^2\le2\sum_{i}w_i\,m_{ij}^2\qquad\text{and}\qquad q^0_j\le\sqrt{\sum_iw_i\,q_{ij}^2}+\sqrt{(1-\kappa)\kappa}\;g_j\,C .(1−κ)gj2​≤2i∑​wi​mij2​andqj0​≤i∑​wi​qij2​​+(1−κ)κ​gj​C.

Then

∑j(qj0)2≤∑iwi∑jqij2+2κ  C ∑iwi∑jmij2.\sqrt{\sum_{j}(q^0_j)^2}\le\sqrt{\sum_iw_i\sum_jq_{ij}^2}+\sqrt{2\kappa}\;C\,\sqrt{\sum_iw_i\sum_jm_{ij}^2}.j∑​(qj0​)2​≤i∑​wi​j∑​qij2​​+2κ​Ci∑​wi​j∑​mij2​​.

Here jjj indexes modes: per-mode bounds for an output defect qj0q^0_jqj0​ in terms of input defects qijq_{ij}qij​, plus a mixing error controlled by auxiliary quantities mijm_{ij}mij​, are combined into a single bound for the total (ℓ2\ell^2ℓ2 over modes) defect.

Preamble
import Mathlib
import Definitions.Def_EntropyPhotonNumber
import Definitions.Def_OAI_MathematicalPhysics_Fock_Beam
import Definitions.Def_OAI_Analysis_QuantumTrace_Basic
import Definitions.Def_OAI_MathematicalPhysics_Fock_Operators
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Gibbs
import Definitions.Def_OAI_Analysis_TensorLp
import Definitions.Def_OAI_InformationTheory_PhotonNumber_BeamTrace
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Functions
import Definitions.Def_OAI_Analysis_DiagonalForms
import Definitions.Def_OAI_InformationTheory_PhotonNumber_ThermalMetric
import Definitions.Def_OAI_InformationTheory_PhotonNumber_BeamForms
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Generator
import Definitions.Def_OAI_InformationTheory_PhotonNumber_SpectralLog
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Continuity
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Entropy
import Definitions.Def_OAI_InformationTheory_PhotonNumber_GibbsVariational
import Definitions.Def_OAI_Analysis_Herglotz
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Interpolation
import Definitions.Def_OAI_InformationTheory_PhotonNumber_SpectralForms
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Contraction
import Definitions.Def_OAI_InformationTheory_PhotonNumber_FiniteVariation
import Definitions.Def_OAI_InformationTheory_PhotonNumber_PhysicalMinimum
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Duality

open OAI
open scoped BigOperators ComplexConjugate
open scoped BigOperators
open MvPolynomial
open scoped BigOperators ComplexConjugate Classical
open Submodule
open scoped ENNReal
open scoped ComplexConjugate
open ContinuousLinearMap
open Set Filter Topology Complex Metric
open MeasureTheory Set Filter Topology Complex Metric InnerProductSpace
open scoped ENNReal NNReal
open Filter Topology
open Set Filter Topology Complex MeasureTheory
variable {I J : Type*} [Fintype I] [Fintype J]
Formal statement
theorem OAI.ThermalDual.aggregate_bound (w : I → ℝ) (hw : ∀ i, 0≤w i)
    (q0 g : J → ℝ) (q m : I → J → ℝ) (hq : ∀ j, 0≤q0 j)
    (hg : ∀ j, 0≤g j) (C κ : ℝ) (hC : 0≤C) (hκ : κ ∈ Set.Icc 0 1)
    (hm : ∀ j, (1-κ)*g j^2≤2*∑ i, w i*m i j^2)
    (hmode : ∀ j, q0 j≤Real.sqrt (∑ i, w i*q i j^2)+Real.sqrt ((1-κ)*κ)*g j*C) :
    Real.sqrt (∑ j, q0 j^2)≤Real.sqrt (∑ i, w i*∑ j, q i j^2)+
      Real.sqrt (2*κ)*C*Real.sqrt (∑ i, w i*∑ j, m i j^2) := by sorry
Source
https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/lean/OAI/InformationTheory/PhotonNumber/Duality.lean#L471-L510

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me