MindFormal v1.0.0One Mind

MindFormal.Run.A630TwoRaces.Coefficients

Full-coefficient adapters for TR1.5--6 and TR1.21--23. All coordinates, the complete pool, both relation writers and the moving surprise remain.

def MindFormal.A630TwoRaces.rowBracket {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i j : Fin N) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MindFormal.A630TwoRaces.gainAt {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) :
    Equations
    Instances For
      theorem MindFormal.A630TwoRaces.relation_coefficient {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i j : Fin N) :
      assembledDrift d u q s (Sum.inl (i, j)) = rowBracket d u q s i j * gainAt d u s
      theorem MindFormal.A630TwoRaces.onset_writers {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q q' : Fin N → ℝ) (s : MindState (Fin N) n T Λ) :
      (∀ (i j : Fin N), assembledDrift d u q' s (Sum.inl (i, j)) - assembledDrift d u q s (Sum.inl (i, j)) = (1 - d.β) * d.presence (mindTrace s j) * (d.drive (u i) (q' i) (mindValue s i) - d.drive (u i) (q i) (mindValue s i)) * gainAt d u s) ∧ ∀ (i : Fin N) (b : Fin n) (a : T), assembledDrift d u q' s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) = assembledDrift d u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a))))
      theorem MindFormal.A630TwoRaces.sigma_antitone {N : ℕ} {σ σ' g : ℝ} (hσ : 0 < σ) (hσσ' : σ ≤ σ') (K : Fin N → ℝ) (hK : ∀ (i : Fin N), 0 ≤ K i) (i : Fin N) :
      theorem MindFormal.A630TwoRaces.g_antitone {N : ℕ} {σ g g' : ℝ} (hgg' : g ≤ g') (K : Fin N → ℝ) (i : Fin N) :
      theorem MindFormal.A630TwoRaces.fixed_state_focus {N : ℕ} {σ g : ℝ} (hσ : 0 < σ) (K : Fin N → ℝ) (hK : ∀ (j : Fin N), 0 ≤ K j) (i : Fin N) {d : ℝ} (hd : 0 ≤ d) :
      have K' := Function.update K i (K i + d); pool σ K' = pool σ K + d ∧ (0 ≤ normalizedTarget σ g K' i - normalizedTarget σ g K i ∧ normalizedTarget σ g K' i - normalizedTarget σ g K i ≤ d * (pool σ K - K i) / (pool σ K * (pool σ K + d))) ∧ ∀ (j : Fin N), j ≠ i → -K j * d / (pool σ K * (pool σ K + d)) ≤ normalizedTarget σ g K' j - normalizedTarget σ g K j ∧ normalizedTarget σ g K' j - normalizedTarget σ g K j ≤ 0
      theorem MindFormal.A630TwoRaces.residual_at_balance {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (hr : ∀ (i : Fin N) (l : Λ), mindTrace s i l = mindActivity s i) (a : T) (b : Fin n) :
      assembledResidual d u s a b = d.reward u b - (∑ j : Fin N, d.presence (mindTrace s j) * mindValue s j b a) / d.τ a
      theorem MindFormal.A630TwoRaces.full_drift_balance {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] [Fintype T] {I : EquationInstance N n T Λ J} (A : GroupsWorld.DeterministicAdmission I) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) :
      assembledDrift I.drift u q s = 0 ↔ (∀ (i : Fin N), mindActivity s i = normalizedTarget I.activity.σ I.activity.g (assembledInputs I.drift u q s) i) ∧ (∀ (i : Fin N) (l : Λ), mindTrace s i l = mindActivity s i) ∧ (∀ (i j : Fin N), rowBracket I.drift u q s i j = 0) ∧ ∀ (i : Fin N) (b : Fin n) (a : T), I.presence (mindTrace s i) * I.response (fun (b' : Fin n) => I.drift.reward u b' - (∑ j : Fin N, I.presence (mindTrace s j) * mindValue s j b' a) / I.τ a) b = 0
      theorem MindFormal.A630TwoRaces.positive_relation_row {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] [Fintype T] {I : EquationInstance N n T Λ J} (A : GroupsWorld.DeterministicAdmission I) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (hs : PhysicalMindState s) (i : Fin N) (hi : 0 < mindActivity s i) :
      (∀ (j : Fin N), assembledDrift I.drift u q s (Sum.inl (i, j)) = 0) ↔ ∀ (j : Fin N), mindRelation s i j = solvedRow I.β (mindActivity s i) (I.presence (mindTrace s j)) (∑ l : Fin N, I.presence (mindTrace s l) * mindActivity s l) (I.drive (u i) (q i) (mindValue s i))
      theorem MindFormal.A630TwoRaces.injective_value_balance {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] [Fintype T] {I : EquationInstance N n T Λ J} (A : GroupsWorld.DeterministicAdmission I) (s : MindState (Fin N) n T Λ) (a : T) (r : Fin n → ℝ) (hp : ∃ (i : Fin N), 0 < I.presence (mindTrace s i)) (hk : Function.Injective I.response) :
      (∀ (i : Fin N) (b : Fin n), I.presence (mindTrace s i) * I.η b * I.response (fun (b' : Fin n) => r b' - (∑ j : Fin N, I.presence (mindTrace s j) * mindValue s j b' a) / I.τ a) b = 0) ↔ ∀ (b : Fin n), ∑ j : Fin N, I.presence (mindTrace s j) * mindValue s j b a = I.τ a * r b
      theorem MindFormal.A630TwoRaces.value_writer_sign {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] [Fintype T] {I : EquationInstance N n T Λ J} (A : GroupsWorld.DeterministicAdmission I) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) (b : Fin n) (a : T) (hi : 0 < I.presence (mindTrace s i)) :
      have D := assembledDrift I.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))); (0 < D ↔ 0 < I.response (assembledResidual I.drift u s a) b) ∧ (D < 0 ↔ I.response (assembledResidual I.drift u s a) b < 0) ∧ (D = 0 ↔ I.response (assembledResidual I.drift u s a) b = 0)
      theorem MindFormal.A630TwoRaces.zero_relation_row {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] [Fintype T] {I : EquationInstance N n T Λ J} (A : GroupsWorld.DeterministicAdmission I) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) (hi : mindActivity s i = 0) :
      (∀ (j : Fin N), assembledDrift I.drift u q s (Sum.inl (i, j)) = 0) ↔ (∀ (j : Fin N), I.presence (mindTrace s j) = 0) ∨ ∑ l : Fin N, mindRelation s i l * mindActivity s l = I.drive (u i) (q i) (mindValue s i)
      theorem MindFormal.A630TwoRaces.native_value_balance {N n : ℕ} {T : Type u_1} {Λ : Type u_2} {J : Type u_3} [Fintype Λ] [Fintype T] {I : EquationInstance N n T Λ J} (A : GroupsWorld.DeterministicAdmission I) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (hr : ∀ (i : Fin N) (l : Λ), mindTrace s i l = mindActivity s i) (a : T) (hp : ∃ (i : Fin N), 0 < I.presence (mindTrace s i)) (hk : Function.Injective I.response) :
      (∀ (i : Fin N) (b : Fin n), assembledDrift I.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) = 0) ↔ ∀ (b : Fin n), ∑ j : Fin N, I.presence (mindTrace s j) * mindValue s j b a = I.τ a * I.drift.reward u b