MindFormal v1.0.0One Mind

MindFormal.Run.A641Practice.Query

def MindFormal.A641Practice.queryOtherPool {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 Λ) (factors : Finset C) (outcome : C) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    structure MindFormal.A641Practice.CompleteQueryFrame {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 Λ) (factors : Finset C) (outcome : C) (z w X : ℝ) :

    The exact held-query balance conditions, applied to complete inputs. The non-factor part of the outcome's entire raw row is zero. Equal nonnegative links and cue activities are held comparison data. The outcome's own transformed input is included in the full denominator.

    Instances For
      structure MindFormal.A641Practice.CompleteQueryBalance {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 Λ) (factors : Finset C) (outcome : C) (z w X : ℝ) extends MindFormal.A641Practice.CompleteQueryFrame d u q s factors outcome z w X :
      Instances For
        theorem MindFormal.A641Practice.CompleteQueryFrame.count_positive {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryFrame d u q s factors outcome z w X) :
        0 < ↑factors.card
        theorem MindFormal.A641Practice.CompleteQueryFrame.other_pool_positive {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryFrame d u q s factors outcome z w X) :
        0 < queryOtherPool d u q s factors outcome
        theorem MindFormal.A641Practice.CompleteQueryFrame.raw_row {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryFrame d u q s factors outcome z w X) :
        rawInput (fun (j : C) => d.drive (u j) (q j) (mindValue s j)) (fun (j : C) => d.residue (mindTrace s j)) (mindRelation s) (mindActivity s) outcome = ↑factors.card * w * X
        theorem MindFormal.A641Practice.CompleteQueryFrame.outcome_input {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryFrame d u q s factors outcome z w X) :
        assembledInputs d u q s outcome = ↑factors.card * w * X
        theorem MindFormal.A641Practice.CompleteQueryFrame.pool_eq {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryFrame d u q s factors outcome z w X) :
        pool d.activity.σ (assembledInputs d u q s) = queryOtherPool d u q s factors outcome + ↑factors.card * z + ↑factors.card * w * X
        theorem MindFormal.A641Practice.CompleteQueryBalance.raw_fixed {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryBalance d u q s factors outcome z w X) :
        ↑factors.card * w * X = ↑factors.card * w * max (z / (queryOtherPool d u q s factors outcome + ↑factors.card * z + ↑factors.card * w * X) - d.activity.g) 0
        theorem MindFormal.A641Practice.CompleteQueryBalance.solved {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 Λ} {factors : Finset C} {outcome : C} {z w X : ℝ} (F : CompleteQueryBalance d u q s factors outcome z w X) :
        have L := queryOtherPool d u q s factors outcome; have U := L + ↑factors.card * z; have a := ↑factors.card * w; (d.activity.g * U < z → a * X = queryRaw U a d.activity.g z) ∧ (z ≤ d.activity.g * U → a * X = 0) ∧ normalizedTarget d.activity.σ d.activity.g (assembledInputs d u q s) outcome = max (a * X / (U + a * X) - d.activity.g) 0 ∧ (w = 0 → a * X = 0)

        AS6.6's complete nonnegative root, including clipping and zero link.