MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.SignedGain

def MindFormal.CoholdingCH1.fullWriterBracket {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i j : C) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.CoholdingCH1.signed_gain {low high factor : ℝ} (h : low < high) :
    (0 < factor → low * factor < high * factor) ∧ (factor < 0 → high * factor < low * factor) ∧ (factor = 0 → low * factor = 0 ∧ high * factor = 0)

    Fixed remaining coefficients: increasing gain increases a positive write and makes a negative write more negative, preserving zero and sign.

    theorem MindFormal.CoholdingCH1.gain_zero_iff {gain factor : ℝ} (hg : 0 < gain) :
    gain * factor = 0 ↔ factor = 0
    theorem MindFormal.CoholdingCH1.gain_sign {gain factor : ℝ} (hg : 0 < gain) :
    (0 < gain * factor ↔ 0 < factor) ∧ (gain * factor < 0 ↔ factor < 0) ∧ (gain * factor = 0 ↔ factor = 0)
    theorem MindFormal.CoholdingCH1.admitted_gain_sign {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] (I : EquationInstance N n T Λ J) (hI : InstanceAdmission I) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i j : Fin N) :
    (0 < assembledDrift I.drift u q s (Sum.inl (i, j)) ↔ 0 < fullWriterBracket I.drift u q s i j) ∧ (assembledDrift I.drift u q s (Sum.inl (i, j)) < 0 ↔ fullWriterBracket I.drift u q s i j < 0) ∧ (assembledDrift I.drift u q s (Sum.inl (i, j)) = 0 ↔ fullWriterBracket I.drift u q s i j = 0)
    theorem MindFormal.CoholdingCH1.cutoff_gain_direction {low high forcing loss cost velocity : ℝ} (h : low < high) :
    (0 < forcing - loss * cost → low * (forcing - loss * cost) - velocity < high * (forcing - loss * cost) - velocity) ∧ (forcing - loss * cost < 0 → high * (forcing - loss * cost) - velocity < low * (forcing - loss * cost) - velocity)

    The same signed comparison applies to the upward velocity at a moving cutoff, with its velocity and all other coefficients fixed.