MindFormal v1.0.0One Mind

MindFormal.Tools.A764RetentionMonotone.LinearRead

The exact spectral test for a finite constant-coefficient linear read.

A finite constant-coefficient linear system Y' = A Y read linearly, F(d) = c ⬝ Y(d), is a positive exponential mixture over delay exactly when F(d) = ∑_{z ∈ S} w_z e^{-z d} with every z ∈ S a nonnegative real decay rate whose negative is an eigenvalue of A and every weight w_z ≥ 0: its observable poles are nonnegative real decay rates, its residues nonnegative and it has no surviving Jordan polynomial dᵏ e^{-zd}. Modes of A that the read cancels (complex, defective or growing ones) do not count. The representing measure is then the finite atomic ∑ w_z δ_z, and it is unique.

The proof derives the poles, it does not assume them: by Cayley–Hamilton the characteristic polynomial p of A annihilates the read, p(∂_d) F = 0; a positive mixture has ∂_dᵏ F(d) = ∫ (-z)ᵏ e^{-zd} dρ, so ∫ p(-z)² e^{-zd} dρ(z) = 0, and ρ is carried by the finitely many roots of p(-z).

theorem MindFormal.A764RetentionMonotone.linearRead_hasDerivAt {m : Type u_1} [Fintype m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) (M : Matrix m m ℝ) (d : ℝ) :
HasDerivAt (fun (d : ℝ) => c ⬝ᵥ M.mulVec (Y d)) (c ⬝ᵥ (M * A).mulVec (Y d)) d

The derivative of a linear read of a trajectory of Y' = A Y.

theorem MindFormal.A764RetentionMonotone.linearRead_iteratedDeriv {m : Type u_1} [Fintype m] [DecidableEq m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) (k : ℕ) :
(iteratedDeriv k fun (d : ℝ) => c ⬝ᵥ Y d) = fun (d : ℝ) => c ⬝ᵥ (A ^ k).mulVec (Y d)
theorem MindFormal.A764RetentionMonotone.mixture_iteratedDeriv {F : ℝ → ℝ} {ρ : MeasureTheory.Measure NNReal} [MeasureTheory.IsFiniteMeasure ρ] (hF : ∀ (d : ℝ), 0 ≤ d → F d = ∫ (z : NNReal), Real.exp (-(d * ↑z)) ∂ρ) (k : ℕ) {d : ℝ} (hd : 0 < d) :
iteratedDeriv k F d = ∫ (z : NNReal), (-↑z) ^ k * Real.exp (d * -↑z) ∂ρ

The moment form of a positive mixture's derivatives at positive delays.

theorem MindFormal.A764RetentionMonotone.mixture_polynomial {m : Type u_1} [Fintype m] [DecidableEq m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) {ρ : MeasureTheory.Measure NNReal} [MeasureTheory.IsFiniteMeasure ρ] (hF : ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∫ (z : NNReal), Real.exp (-(d * ↑z)) ∂ρ) {d : ℝ} (hd : 0 < d) (q : Polynomial ℝ) :
MeasureTheory.Integrable (fun (z : NNReal) => Polynomial.eval (-↑z) q * Real.exp (d * -↑z)) ρ ∧ ∫ (z : NNReal), Polynomial.eval (-↑z) q * Real.exp (d * -↑z) ∂ρ = c ⬝ᵥ ((Polynomial.aeval A) q).mulVec (Y d)

For a positive mixture that is a linear read of Y' = A Y, every polynomial q gives ∫ q(-z) e^{-zd} dρ = c ⬝ q(A) Y(d) at positive delays.

theorem MindFormal.A764RetentionMonotone.mixture_carried_by_poles {m : Type u_1} [Fintype m] [DecidableEq m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) {ρ : MeasureTheory.Measure NNReal} [MeasureTheory.IsFiniteMeasure ρ] (hF : ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∫ (z : NNReal), Real.exp (-(d * ↑z)) ∂ρ) :
∀ᵐ (z : NNReal) ∂ρ, A.charpoly.IsRoot (-↑z)

A positive mixture read of a finite linear system is carried by its real decay poles. Its representing measure gives no mass to rates z with p(-z) ≠ 0, p the characteristic polynomial of A.

The nonnegative real decay rates z whose negative is an eigenvalue of A.

Equations
Instances For

    A measure carried by a finite set is the sum of its atoms there.

    theorem MindFormal.A764RetentionMonotone.integral_sum_dirac (S : Finset NNReal) (w : NNReal → ENNReal) (hw : ∀ (z : NNReal), w z ≠ ⊤) (f : NNReal → ℝ) :
    ∫ (z : NNReal), f z ∂∑ z ∈ S, w z • MeasureTheory.Measure.dirac z = ∑ z ∈ S, (w z).toReal * f z
    theorem MindFormal.A764RetentionMonotone.linearRead_mixture_iff {m : Type u_1} [Fintype m] [DecidableEq m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) :
    (∃ (ρ : MeasureTheory.Measure NNReal), MeasureTheory.IsFiniteMeasure ρ ∧ ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∫ (z : NNReal), Real.exp (-(d * ↑z)) ∂ρ) ↔ ∃ (w : NNReal → ℝ), (∀ (z : NNReal), 0 ≤ w z) ∧ ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∑ z ∈ decayPoles A, w z * Real.exp (-(d * ↑z))

    The exact test for a finite constant-coefficient linear read. A linear read c ⬝ Y(d) of a trajectory of Y' = A Y is a positive exponential mixture over delay exactly when it is ∑ w_z e^{-zd} over the nonnegative real decay rates z with -z an eigenvalue of A, every residue w_z ≥ 0: real nonnegative decay poles, nonnegative residues and no surviving Jordan polynomial; other modes of A must cancel out of the read.

    theorem MindFormal.A764RetentionMonotone.linearRead_completelyMonotone_iff {m : Type u_1} [Fintype m] [DecidableEq m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) :
    (TauCeti.IsCompletelyMonotoneOnIoi fun (d : ℝ) => c ⬝ᵥ Y d) ↔ ∃ (w : NNReal → ℝ), (∀ (z : NNReal), 0 ≤ w z) ∧ ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∑ z ∈ decayPoles A, w z * Real.exp (-(d * ↑z))

    The same test in derivative form: the read is completely monotone on positive delays exactly when it has nonnegative residues on real decay poles only.

    theorem MindFormal.A764RetentionMonotone.linearRead_residues {m : Type u_1} [Fintype m] [DecidableEq m] (A : Matrix m m ℝ) (c : m → ℝ) {Y : ℝ → m → ℝ} (hY : ∀ (d : ℝ), HasDerivAt Y (A.mulVec (Y d)) d) {ρ : MeasureTheory.Measure NNReal} [MeasureTheory.IsFiniteMeasure ρ] (hF : ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∫ (z : NNReal), Real.exp (-(d * ↑z)) ∂ρ) {w : NNReal → ℝ} (hw : ∀ (z : NNReal), 0 ≤ w z) (hsum : ∀ (d : ℝ), 0 ≤ d → c ⬝ᵥ Y d = ∑ z ∈ decayPoles A, w z * Real.exp (-(d * ↑z))) :
    ρ = ∑ z ∈ decayPoles A, ρ {z} • MeasureTheory.Measure.dirac z ∧ ∀ z ∈ decayPoles A, w z = ρ.real {z}

    The residues are the read's own. A positive mixture linear read has a unique representing measure, the atoms at its real decay poles; any nonnegative pole expansion of the read has exactly these atoms as residues.