MindFormal v1.0.0One Mind

MindFormal.Tools.A617Judgment.EpisodeDrift

The coefficient generator agrees with the chain and filter drifts.

theorem MindFormal.A617Judgment.Episodes.Quadratic.transpose_cross_sum {I : Type u_1} [Fintype I] (c : I → I → ℝ) (r x : I → ℝ) :
∑ i : I, ∑ j : I, c j i * r i * x j = ∑ i : I, ∑ j : I, c i j * x i * r j
theorem MindFormal.A617Judgment.Episodes.Quadratic.quadratic_factor {I : Type u_1} [Fintype I] (c : I → I → ℝ) (x r : I → ℝ) :
∑ i : I, ∑ j : I, c i j * (x i * r j) = ∑ i : I, x i * ∑ j : I, c i j * r j
theorem MindFormal.A617Judgment.Episodes.Quadratic.nested_port_sum {I : Type u_1} [Fintype I] [DecidableEq I] (f : I → I → ℝ) (s : I) :
(∑ i : I, ∑ j : I, if i = s then f i j else 0) = ∑ j : I, f s j
theorem MindFormal.A617Judgment.Episodes.Quadratic.eval_generator {I : Type u_1} [Fintype I] [DecidableEq I] (G : Generator I) (ν rate A : ℝ) (p : Quadratic I) (s : I) (x r : I → ℝ) :
(generator G ν rate A p).eval s x r = ∑ t : I, G.Q s t * p.eval t x r + p.differential s x r (fun (i : I) => ν * ((if i = s then A else 0) - x i)) fun (i : I) => rate * (x i - r i)