MindFormal v1.0.0One Mind

MindFormal.Tools.A617Transaction.Held

Equations
Instances For
    Equations
    Instances For
      noncomputable def MindFormal.A617Transaction.heldValue {I : Type u_1} [Fintype I] (C v : I → ℝ) (η τ κ h : ℝ) (i : I) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.A617Transaction.heldValue_initial {I : Type u_1} [Fintype I] (C v : I → ℝ) (η τ κ : ℝ) :
        heldValue C v η τ κ 0 = v
        theorem MindFormal.A617Transaction.heldValue_forecast {I : Type u_1} [Fintype I] (C v : I → ℝ) (η τ κ h : ℝ) (hC : patternNorm C ≠ 0) :
        patternForecast C (heldValue C v η τ κ h) = τ * κ + (patternForecast C v - τ * κ) * Real.exp (-(η * patternNorm C / τ) * h)
        theorem MindFormal.A617Transaction.heldValue_derivative {I : Type u_1} [Fintype I] (C v : I → ℝ) (η τ κ h : ℝ) (hC : patternNorm C ≠ 0) (hτ : τ ≠ 0) (i : I) :
        HasDerivAt (fun (t : ℝ) => heldValue C v η τ κ t i) (C i * η * (κ - patternForecast C (heldValue C v η τ κ h) / τ)) h
        noncomputable def MindFormal.A617Transaction.accumulatedGain {K : Type u_2} [Fintype K] (m0 : ℝ) (m γ δ : K → ℝ) (h : ℝ) :
        Equations
        Instances For
          noncomputable def MindFormal.A617Transaction.decayingGain {K : Type u_2} [Fintype K] (m0 : ℝ) (m γ δ : K → ℝ) (h : ℝ) :
          Equations
          Instances For
            theorem MindFormal.A617Transaction.accumulatedGain_initial {K : Type u_2} [Fintype K] (m0 : ℝ) (m γ δ : K → ℝ) :
            accumulatedGain m0 m γ δ 0 = 0
            theorem MindFormal.A617Transaction.accumulatedGain_log_ratio {K : Type u_2} [Fintype K] (m0 : ℝ) (m γ δ : K → ℝ) (h : ℝ) :
            accumulatedGain m0 m γ δ h = m0 * h + ∑ k : K, m k / (2 * γ k) * Real.log ((1 + δ k ^ 2) / (1 + δ k ^ 2 * Real.exp (-2 * γ k * h)))
            theorem MindFormal.A617Transaction.accumulatedGain_derivative {K : Type u_2} [Fintype K] (m0 : ℝ) (m γ δ : K → ℝ) (h : ℝ) (hγ : ∀ (k : K), γ k ≠ 0) :
            HasDerivAt (accumulatedGain m0 m γ δ) (decayingGain m0 m γ δ h) h
            noncomputable def MindFormal.A617Transaction.heldRow {I : Type u_1} [Fintype I] (C w : I → ℝ) (binding loss force : ℝ) (clock : ℝ → ℝ) (h : ℝ) (j : I) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MindFormal.A617Transaction.heldRow_initial {I : Type u_1} [Fintype I] (C w : I → ℝ) (binding loss force : ℝ) {clock : ℝ → ℝ} (hc : clock 0 = 0) :
              heldRow C w binding loss force clock 0 = w
              theorem MindFormal.A617Transaction.heldRow_forecast {I : Type u_1} [Fintype I] (C w : I → ℝ) (binding loss force h : ℝ) (clock : ℝ → ℝ) (hC : patternNorm C ≠ 0) :
              patternForecast C (heldRow C w binding loss force clock h) = Real.exp (-loss * clock h) * patternForecast C w + force / loss * (1 - Real.exp (-loss * clock h)) * patternNorm C
              theorem MindFormal.A617Transaction.heldRow_derivative {I : Type u_1} [Fintype I] (C w : I → ℝ) (β receiver drive h : ℝ) (hC : patternNorm C ≠ 0) (hloss : β * receiver + (1 - β) * patternNorm C ≠ 0) {clock : ℝ → ℝ} {gain : ℝ} (hc : HasDerivAt clock gain h) (j : I) :
              have binding := β * receiver; have loss := binding + (1 - β) * patternNorm C; have force := (1 - β) * drive + β * receiver; HasDerivAt (fun (t : ℝ) => heldRow C w binding loss force clock t j) (gain * ((1 - β) * C j * (drive - patternForecast C (heldRow C w binding loss force clock h)) + β * receiver * (C j - heldRow C w binding loss force clock h j))) h