MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.LearnedTests

noncomputable def MindFormal.MarketLearning.acquiredBank (tau amplitude coefficient attenuation rate average delivery H : ℝ) :

The reference's constant and contrast eigenmode solution (1.1). The two value kinds supply separate rates to this same function.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MindFormal.MarketLearning.contrastGain (tau amplitude coefficient attenuation rate H : ℝ) :
    Equations
    Instances For
      theorem MindFormal.MarketLearning.acquired_bank_ode (tau amplitude coefficient attenuation rate average delivery H : ℝ) :
      acquiredBank tau amplitude coefficient attenuation rate average delivery 0 = 0 ∧ HasDerivAt (acquiredBank tau amplitude coefficient attenuation rate average delivery) (rate * (tau / amplitude * average - tau / amplitude * (1 - Real.exp (-rate * H)) * average) + attenuation * rate * (tau * coefficient / amplitude * (delivery - average) - contrastGain tau amplitude coefficient attenuation rate H * (delivery - average))) H

      Verification of the two eigenmodes; no native expectation is identified with this averaged reference.

      theorem MindFormal.MarketLearning.acquired_bank_contrast (tau amplitude coefficient attenuation rate average di dj H : ℝ) :
      acquiredBank tau amplitude coefficient attenuation rate average di H - acquiredBank tau amplitude coefficient attenuation rate average dj H = contrastGain tau amplitude coefficient attenuation rate H * (di - dj)

      Constant - mode cancellation in the finite curriculum, for each unequal rate.

      theorem MindFormal.MarketLearning.learned_contrast {N : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N 2 T Λ) (a : T) (i j : Fin N) (tau amplitude coefficient attenuation rp rm avgp avgm gp gm dip djp dim djm H : ℝ) {Ex Evp Evm : ℝ} (hgp : 0 ≤ gp) (hgm : 0 ≤ gm) (hx : |G.x H i - G.x H j| ≤ Ex) (hp : ∀ k ∈ {i, j}, |G.v H k 0 a - acquiredBank tau amplitude coefficient attenuation rp avgp (if k = i then dip else djp) H| ≤ Evp) (hm : ∀ k ∈ {i, j}, |G.v H k 1 a - acquiredBank tau amplitude coefficient attenuation rm avgm (if k = i then dim else djm) H| ≤ Evm) (hne : i ≠ j) :
      have leading := gp * contrastGain tau amplitude coefficient attenuation rp H * (dip - djp) - gm * contrastGain tau amplitude coefficient attenuation rm H * (dim - djm); have actual := G.x H i - G.x H j + gp * (G.v H i 0 a - G.v H j 0 a) - gm * (G.v H i 1 a - G.v H j 1 a); |actual - leading| ≤ Ex + 2 * gp * Evp + 2 * gm * Evm

      (1.2): the residual is defined by the actual activity and both complete bank deviations from the computed reference, rather than supplied as a score.

      theorem MindFormal.MarketLearning.monetary_calibration_iff {V : Set (ℝ × ℝ)} (ap am scale wp wm : ℝ) :
      (∀ v ∈ V, ap * v.1 - am * v.2 = scale * (wp * v.1 - wm * v.2)) ↔ ∀ v ∈ V, (ap - scale * wp) * v.1 + (-am + scale * wm) * v.2 = 0

      (1.3) on the entire declared tested span, including proper subspaces.

      theorem MindFormal.MarketLearning.two_dimensional_calibration (ap am scale wp wm : ℝ) :
      (∀ (x y : ℝ), ap * x - am * y = scale * (wp * x - wm * y)) ↔ ap = scale * wp ∧ am = scale * wm

      A full two - dimensional span forces the two separate calibrations.

      theorem MindFormal.MarketLearning.retained_quote_saving (price quote : ℝ) :
      price - min price quote = max (price - quote) 0

      The actual saving from the retained original offer, before averaging.

      def MindFormal.MarketLearning.searchSaving {Q : Type u_1} [Fintype Q] (prob quote : Q → ℝ) (price : ℝ) :
      Equations
      Instances For
        theorem MindFormal.MarketLearning.learned_search_score {Q : Type u_1} [Fintype Q] (prob quote : Q → ℝ) (price cost scale : ℝ) (hscale : 0 < scale) :
        ∑ q : Q, prob q * (price - min price (quote q)) = searchSaving prob quote price ∧ (0 < scale * (searchSaving prob quote price - cost) ↔ cost < searchSaving prob quote price) ∧ (scale * (searchSaving prob quote price - cost) < 0 ↔ searchSaving prob quote price < cost)

        (1.4), including the positive - part sum and the strict search / stop tests.

        theorem MindFormal.MarketLearning.learned_trade_scores (mean price scale baseline : ℝ) :
        baseline + scale * mean - scale * price - baseline = scale * (mean - price) ∧ baseline + scale * price - scale * mean - baseline = -scale * (mean - price)

        (1.5) uses the received conditional redemption statistic in both directions.

        theorem MindFormal.MarketLearning.two_clue_criterion (mean : Bool → ℝ) (price : ℝ) {scale : ℝ} (hs : 0 < scale) :
        ((∀ (clue : Bool), 0 < scale * (mean clue - price)) ↔ price < min (mean false) (mean true)) ∧ ((∀ (clue : Bool), 0 < -scale * (mean clue - price)) ↔ max (mean false) (mean true) < price)

        (1.6) tests both contingent clues from one table, with strict inequalities.

        theorem MindFormal.MarketLearning.residual_decision (leading residual allowance : ℝ) (he : |residual| ≤ allowance) :
        |leading + residual - leading| ≤ allowance ∧ (allowance < |leading| → (0 < leading + residual ↔ 0 < leading) ∧ (leading + residual < 0 ↔ leading < 0)) ∧ (residual < -leading → leading + residual < 0) ∧ (-leading < residual → 0 < leading + residual)

        Thin margins preserve the exact signed residual; sufficiently adverse residual reverses the decision, and a strict gap dominates the complete bill.