MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch15.HeldStructure

noncomputable def MindFormal.Transactions.heldSurprise {n : ℕ} {T : Type u_1} (eta : Fin n → ℝ) (tau : T → ℝ) (S : ℝ) (shortfall : T → Fin n → ℝ) (t : ℝ) (a : T) (b : Fin n) :

The separately rated complete forecast residual in TX1.7.

Equations
Instances For
    noncomputable def MindFormal.Transactions.ownershipGainClock {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} (I : EquationInstance N n T Λ J) (S : ℝ) (shortfall : T → Fin n → ℝ) (t : ℝ) :
    Equations
    Instances For
      theorem MindFormal.Transactions.ownership_gain_clock_deriv {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (S : ℝ) (shortfall : T → Fin n → ℝ) (t : ℝ) :
      HasDerivAt (ownershipGainClock I S shortfall) (I.gain fun (a : T) (b : Fin n) => |heldSurprise I.η I.τ S shortfall t a b|) t
      noncomputable def MindFormal.Transactions.heldRelationRow {N : ℕ} (p x W0 : Fin N → ℝ) (beta xi ei : ℝ) (clock : ℝ → ℝ) (t : ℝ) (j : Fin N) :

      TX1.7's complete row, retaining arbitrary other rows and their drives.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.Transactions.ownership_relation_solution {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype T] [Fintype Λ] [Fintype J] {I : EquationInstance N n T Λ J} (A : InstanceAdmission I) (p x W0 : Fin N → ℝ) (xi ei : ℝ) (shortfall : T → Fin n → ℝ) (t : ℝ) (hS : 0 < ∑ l : Fin N, p l * x l) (hd : 0 < I.β * xi + (1 - I.β) * ∑ l : Fin N, p l * x l) :
        have Z := ownershipGainClock I (∑ l : Fin N, p l * x l) shortfall; have W := heldRelationRow p x W0 I.β xi ei Z; W 0 = W0 ∧ ∀ (j : Fin N), HasDerivAt (fun (s : ℝ) => W s j) ((I.gain fun (a : T) (b : Fin n) => |heldSurprise I.η I.τ (∑ l : Fin N, p l * x l) shortfall t a b|) * (((1 - I.β) * ei + I.β * xi) * p j - ((1 - I.β) * p j * ∑ l : Fin N, x l * W t l + I.β * xi * W t j))) t

        The row is a constructed solution of full II with its computed nonconstant gain clock. No row derivative or clock derivative is supplied.

        theorem MindFormal.Transactions.ownership_four_rows {N : ℕ} (good money : Fin N) (hne : good ≠ money) (W0 : Fin N → Fin N → ℝ) (clock : ℝ → ℝ) {beta chi e diag off t : ℝ} (hc : 0 < chi) (hb : 0 < beta) (hb1 : beta < 1) (hgg : W0 good good = diag) (hgm : W0 good money = off) (hmg : W0 money good = off) (hmm : W0 money money = diag) :
        have p := fun (j : Fin N) => if j = good then chi else 0; have Wg := heldRelationRow p p (W0 good) beta chi e clock t; have Wm := heldRelationRow p p (W0 money) beta 0 0 clock t; have winf := ((1 - beta) * e + beta * chi) / ((1 - beta) * chi + beta); Wg good = winf + (diag - winf) * Real.exp (-((1 - beta) * chi ^ 2 + beta * chi) * clock t) ∧ Wg money = off * Real.exp (-beta * chi * clock t) ∧ Wm good = off * Real.exp (-(1 - beta) * chi ^ 2 * clock t) ∧ Wm money = diag

        All four cue-block entries of TX2.4 are evaluated from the complete row solution, at any realized value of the explicitly computed gain clock.

        theorem MindFormal.Transactions.complete_query_read (pool e gP wgg wgm wmg wmm xg xm : ℝ) (hdet : (pool - wgg) * (pool - wmm) - wgm * wmg ≠ 0) (hg : (pool - wgg) * xg - wgm * xm = e - gP) (hm : -wmg * xg + (pool - wmm) * xm = e - gP) :
        xg = (e - gP) * (pool - wmm + wgm) / ((pool - wgg) * (pool - wmm) - wgm * wmg) ∧ xm = (e - gP) * (pool - wgg + wmg) / ((pool - wgg) * (pool - wmm) - wgm * wmg) ∧ xg - xm = (e - gP) * (wgg - wmm + wgm - wmg) / ((pool - wgg) * (pool - wmm) - wgm * wmg)

        Exact active-branch algebra at the complete pool. The other positive-raw rows remain in pool; no two-row truncation of its normalization is made.

        theorem MindFormal.Transactions.complete_pool_ownership_query {N : ℕ} (W : Fin N → Fin N → ℝ) (drive x : Fin N → ℝ) (good money : Fin N) (hne : good ≠ money) {sigma g : ℝ} (hsigma : 0 < sigma) (hg : 0 < g) (hdrive : drive money = drive good) (hgood : 0 < x good) (hmoney : 0 < x money) (inactive : ∀ (j : Fin N), j ≠ good → j ≠ money → x j = 0) (query : ∀ (i : Fin N), x i = normalizedTarget sigma g (fun (j : Fin N) => max (drive j + ∑ k : Fin N, W j k * x k) 0) i) (hdet : have P := pool sigma fun (j : Fin N) => max (drive j + ∑ k : Fin N, W j k * x k) 0; (P - W good good) * (P - W money money) - W good money * W money good ≠ 0) :
        have P := pool sigma fun (j : Fin N) => max (drive j + ∑ k : Fin N, W j k * x k) 0; x good - x money = (drive good - g * P) * (W good good - W money money + W good money - W money good) / ((P - W good good) * (P - W money money) - W good money * W money good)

        Derive the active equations from I itself, at the complete positive-part pool. The query holds its computed bank; only its two activities are positive. The formula is valid at every admissible stable root, without selecting a different root or dropping an inactive positive-raw row from normalization.