Separate normalization of nonempty positive and negative sign classes
ProvedQAlgorithms.Papers.Independent.Advance50.P39.signedNormalizationLet be a finite family of real contributions. Define , , and . Then . Each nonempty sign class has a nonzero total of its indicated sign and normalizes separately:
Each ratio in its sign class lies in . 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.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P39
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
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , including , and every family of real numbers , let and . Then ; indices with belong to neither set. If is nonempty, its sum is strictly positive, , and every satisfies . If is nonempty, its sum is strictly negative, , and every satisfies . 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 , the asserted equality is , and both conditional assertions hold vacuously.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.