Three-label density data, deficits, and stability hypotheses
DefinitioncapacityMeasureThreeLabelLet be a set. Three-label density data consist of seven arbitrary real-valued functions on : and . For , define the pair-deficit function by
The canonical functions are defined pointwise by
For arbitrary weight functions , the actual and canonical scores are
Validity at a point means that all four block intensities are nonnegative there and that
Admissibility at a point means
Finally, on a measurable space with an arbitrary measure , the bundled integrability condition requires each of to be real-integrable with respect to .
These definitions separate the algebraic data from the validity, weight, and integrability assumptions used in later stability theorems. Merely supplying the seven functions imposes no positivity, measurability, normalization, or coupling-realization condition. The predicates do not assert the existence of a stochastic process or a random partition.
import Mathlib
import Mathlib.MeasureTheory.Integral.Bochner.Basic
import Definitions.Def_capacityThreeLabel
set_option autoImplicit false
/-!
# Measure-theoretic three-label stability
This file lifts the scalar theorem `FormalCapacity.Finite.threeLabel_stability`
to densities over an arbitrary measure space. Pair deficits are defined
pointwise, proved nonnegative almost everywhere from the block-capacity
constraints, and then integrated. Nothing here assumes a stochastic process
or a Brownian law.
-/
open MeasureTheory
namespace FormalCapacity.Measure
/-- The seven density functions needed for the three-label block calculation. -/
structure ThreeLabelDensities (α : Type*) where
f1 : α → ℝ
f2 : α → ℝ
f3 : α → ℝ
beta123 : α → ℝ
beta12 : α → ℝ
beta13 : α → ℝ
beta23 : α → ℝ
namespace ThreeLabelDensities
variable {α : Type*}
/-- Deficit from the maximal common density of labels `1,2`. -/
def deficit12 (d : ThreeLabelDensities α) (x : α) : ℝ :=
min (d.f1 x) (d.f2 x) - d.beta123 x - d.beta12 x
/-- Deficit from the maximal common density of labels `1,3`. -/
def deficit13 (d : ThreeLabelDensities α) (x : α) : ℝ :=
min (d.f1 x) (d.f3 x) - d.beta123 x - d.beta13 x
/-- Deficit from the maximal common density of labels `2,3`. -/
def deficit23 (d : ThreeLabelDensities α) (x : α) : ℝ :=
min (d.f2 x) (d.f3 x) - d.beta123 x - d.beta23 x
/-- The score of the actual block densities at `x`. -/
def actualScore (d : ThreeLabelDensities α) (q12 q23 : α → ℝ) (x : α) : ℝ :=
Finite.threeScore (q12 x) (q23 x) (d.beta123 x) (d.beta12 x) (d.beta23 x)
/-- Canonical triple-block density. -/
def canonical123 (d : ThreeLabelDensities α) (x : α) : ℝ :=
Finite.canonical123 (d.f1 x) (d.f2 x) (d.f3 x)
/-- Canonical `12`-block density. -/
def canonical12 (d : ThreeLabelDensities α) (x : α) : ℝ :=
Finite.canonical12 (d.f1 x) (d.f2 x) (d.f3 x)
/-- Canonical `23`-block density. -/
def canonical23 (d : ThreeLabelDensities α) (x : α) : ℝ :=
Finite.canonical23 (d.f1 x) (d.f2 x) (d.f3 x)
/-- The score of the canonical layer-cake block densities at `x`. -/
def canonicalScore (d : ThreeLabelDensities α) (q12 q23 : α → ℝ) (x : α) : ℝ :=
Finite.canonicalScore (q12 x) (q23 x) (d.f1 x) (d.f2 x) (d.f3 x)
/-- The pointwise nonnegativity and marginal-capacity conditions on block
densities. -/
structure ValidAt (d : ThreeLabelDensities α) (x : α) : Prop where
beta123_nonneg : 0 ≤ d.beta123 x
beta12_nonneg : 0 ≤ d.beta12 x
beta13_nonneg : 0 ≤ d.beta13 x
beta23_nonneg : 0 ≤ d.beta23 x
marginal1 : d.beta123 x + d.beta12 x + d.beta13 x ≤ d.f1 x
marginal2 : d.beta123 x + d.beta12 x + d.beta23 x ≤ d.f2 x
marginal3 : d.beta123 x + d.beta13 x + d.beta23 x ≤ d.f3 x
/-- The admissible triangular weight region and the order-quasiconcavity
condition at a density point. -/
structure AdmissibleAt (d : ThreeLabelDensities α) (q12 q23 : α → ℝ)
(x : α) : Prop where
q12_nonneg : 0 ≤ q12 x
q12_le_one : q12 x ≤ 1
q23_nonneg : 0 ≤ q23 x
q23_le_one : q23 x ≤ 1
q_sum : 1 ≤ q12 x + q23 x
middle_not_smallest : min (d.f1 x) (d.f3 x) ≤ d.f2 x
variable [MeasurableSpace α]
/-- Integrability assumptions needed to turn the pointwise stability theorem
into a statement about finite real masses. -/
structure IntegrableFor (d : ThreeLabelDensities α) (q12 q23 : α → ℝ)
(μ : Measure α) : Prop where
canonicalScore : Integrable (d.canonicalScore q12 q23) μ
actualScore : Integrable (d.actualScore q12 q23) μ
deficit12 : Integrable d.deficit12 μ
deficit13 : Integrable d.deficit13 μ
deficit23 : Integrable d.deficit23 μ
end ThreeLabelDensities
end FormalCapacity.Measure