Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Separate normalization of nonempty positive and negative sign classes

Proved
QAlgorithms.Papers.Independent.Advance50.P39.signedNormalization

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

prove2quantum

Let (ηk)k=1r(\eta_k)_{k=1}^r(ηk​)k=1r​ be a finite family of real contributions. Define P={k:ηk>0}P=\{k:\eta_k>0\}P={k:ηk​>0}, N={k:ηk<0}N=\{k:\eta_k<0\}N={k:ηk​<0}, η+=∑k∈Pηk\eta^+=\sum_{k\in P}\eta_kη+=∑k∈P​ηk​ and η−=∑k∈Nηk\eta^-=\sum_{k\in N}\eta_kη−=∑k∈N​ηk​. Then ∑kηk=η++η−\sum_k\eta_k=\eta^++\eta^-∑k​ηk​=η++η−. Each nonempty sign class has a nonzero total of its indicated sign and normalizes separately:

∑k∈Pηkη+=1(P≠∅),∑k∈Nηkη−=1(N≠∅).\sum_{k\in P}\frac{\eta_k}{\eta^+}=1\quad(P\ne\varnothing),\qquad \sum_{k\in N}\frac{\eta_k}{\eta^-}=1\quad(N\ne\varnothing).k∈P∑​η+ηk​​=1(P=∅),k∈N∑​η−ηk​​=1(N=∅).

Each ratio in its sign class lies in (0,1](0,1](0,1]. In particular the negative-class ratios are positive magnitudes, and an empty class has no percentage interpretation. This is a conditional algebraic normalization of finite real inputs; it does not assert that the source's infinite-time Eq. (11) supplies finite values.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P39
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators Matrix ComplexOrder Topology Matrix.Norms.L2Operator

open QAlgorithms.Papers.Independent.Dependency50.P16 (sandwich semigroupEvolution)

namespace QAlgorithms.Papers.Independent.Advance50.P39

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.5--6, Eq. (12): each nonempty sign class separately normalizes to one.
Negative-class ratios are positive magnitudes. This is conditional finite-real
algebra, independent of the convergence problem with the source's Eq. (11). -/
theorem signedNormalization {r : ℕ} (eta : Fin r → ℝ) :
    (∑ k, eta k) = (∑ k ∈ positiveIndices eta, eta k) +
      (∑ k ∈ negativeIndices eta, eta k) ∧
    ((positiveIndices eta).Nonempty →
      0 < (∑ k ∈ positiveIndices eta, eta k) ∧
      (∑ k ∈ positiveIndices eta, normalizedContribution eta (positiveIndices eta) k) = 1 ∧
      ∀ k ∈ positiveIndices eta, 0 < normalizedContribution eta (positiveIndices eta) k ∧
        normalizedContribution eta (positiveIndices eta) k ≤ 1) ∧
    ((negativeIndices eta).Nonempty →
      (∑ k ∈ negativeIndices eta, eta k) < 0 ∧
      (∑ k ∈ negativeIndices eta, normalizedContribution eta (negativeIndices eta) k) = 1 ∧
      ∀ k ∈ negativeIndices eta, 0 < normalizedContribution eta (negativeIndices eta) k ∧
        normalizedContribution eta (negativeIndices eta) k ≤ 1) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P39

end
Source
Role of quantum coherence in chromophoric energy transport, arXiv:0806.4725v2, PDF p. 5, §V, Eq.(12): normalization within each nonempty sign class
Read-back

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

For every natural number rrr, including r=0r=0r=0, and every family of real numbers (ηk)k=0r−1(\eta_k)_{k=0}^{r-1}(ηk​)k=0r−1​, let P={k:ηk>0}P=\{k:\eta_k>0\}P={k:ηk​>0} and N={k:ηk<0}N=\{k:\eta_k<0\}N={k:ηk​<0}. Then ∑k=0r−1ηk=∑k∈Pηk+∑k∈Nηk\sum_{k=0}^{r-1}\eta_k=\sum_{k\in P}\eta_k+\sum_{k\in N}\eta_k∑k=0r−1​ηk​=∑k∈P​ηk​+∑k∈N​ηk​; indices with ηk=0\eta_k=0ηk​=0 belong to neither set. If PPP is nonempty, its sum SP=∑k∈PηkS_P=\sum_{k\in P}\eta_kSP​=∑k∈P​ηk​ is strictly positive, ∑k∈Pηk/SP=1\sum_{k\in P}\eta_k/S_P=1∑k∈P​ηk​/SP​=1, and every k∈Pk\in Pk∈P satisfies 0<ηk/SP≤10<\eta_k/S_P\le10<ηk​/SP​≤1. If NNN is nonempty, its sum SN=∑k∈NηkS_N=\sum_{k\in N}\eta_kSN​=∑k∈N​ηk​ is strictly negative, ∑k∈Nηk/SN=1\sum_{k\in N}\eta_k/S_N=1∑k∈N​ηk​/SN​=1, and every k∈Nk\in Nk∈N satisfies 0<ηk/SN≤10<\eta_k/S_N\le10<ηk​/SN​≤1. Each normalized contribution here means exactly the entry divided by the sum over the indicated set. When either set is empty, its sum is zero and its corresponding conditional assertion imposes no normalization requirement; division by zero in the definition of a normalized contribution has value zero. In particular, when r=0r=0r=0, the asserted equality is 0=0+00=0+00=0+0, and both conditional assertions hold vacuously.

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

    Confirmed by the moderator at approval.

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