MindFormal v1.0.0One Mind

MindFormal.Tools.CompanionAttention.HeldSpectral

The full held spectrum: structural cubic and every value eigenvalue.

theorem MindFormal.CompanionAttention.full_block_characteristic {n : ℕ} (f b c lam k h ℓ : ℝ) (d : Fin n → ℝ) (z : ℂ) :
Polynomial.eval z ((Matrix.fromBlocks (heldJacobian f b c lam k h ℓ) 0 0 (Matrix.diagonal d)).map fun (x : ℝ) => ↑x).charpoly = stabilityCubic (heldA₂ f lam ℓ) (heldA₁ f b c lam k ℓ) (heldA₀ f b c lam k h ℓ) z * ∏ j : Fin n, (z - ↑(d j))
theorem MindFormal.CompanionAttention.full_block_stable {n : ℕ} {f b c lam k h ℓ : ℝ} (d : Fin n → ℝ) (hfb : b < f) (hb : 0 < b) (hc : 0 < c) (hlam : 0 < lam) (hk : k < 0) (hh : 0 < h) (hℓ : 0 < ℓ) (h₀ : 0 < heldA₀ f b c lam k h ℓ) (hd : ∀ (j : Fin n), d j < 0) (z : ℂ) :
Module.End.HasEigenvalue (Matrix.toLin' ((Matrix.fromBlocks (heldJacobian f b c lam k h ℓ) 0 0 (Matrix.diagonal d)).map fun (x : ℝ) => ↑x)) z → z.re < 0
theorem MindFormal.CompanionAttention.full_block_positive_eigenvalue {n : ℕ} {f b c lam k h ℓ : ℝ} (d : Fin n → ℝ) (hfb : b < f) (hb : 0 < b) (hc : 0 < c) (hlam : 0 < lam) (hk : k < 0) (hh : 0 < h) (hℓ : 0 < ℓ) (h₀ : heldA₀ f b c lam k h ℓ < 0) :
∃ (r : ℝ), 0 < r ∧ Module.End.HasEigenvalue (Matrix.toLin' ((Matrix.fromBlocks (heldJacobian f b c lam k h ℓ) 0 0 (Matrix.diagonal d)).map fun (x : ℝ) => ↑x)) ↑r
noncomputable def MindFormal.CompanionAttention.heldWPrime {n : ℕ} (P : HeldParameters n) (s : ℝ) :
Equations
Instances For
    theorem MindFormal.CompanionAttention.held_feedback_identity {n : ℕ} (P : HeldParameters n) {s w : ℝ} (hd : P.β + (1 - P.β) * s ≠ 0) (hw : w = ((1 - P.β) * P.a + P.β * s) / (P.β + (1 - P.β) * s)) :
    -P.m * (1 - P.β) * P.a + P.m * ((1 - P.β) * (P.a - w * s) + P.β * s) = P.m * s * (P.β + (1 - P.β) * s) * heldWPrime P s