MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch04.OmissionTests.Derivatives

TC7's partial derivatives, with every other state coordinate held only for differentiation. They are not a trajectory with a frozen writer.

theorem MindFormal.OmissionTests.scaled_target_derivative {C : Type u_1} [Fintype C] (σ g ε t0 : ℝ) (I v : C → ℝ) (i : C) (hε : 0 < ε) (hI : ∀ (j : C), 0 < I j) (hpool : (pool σ fun (j : C) => ε * I j) ≠ 0) (hbranch : g < ε * I i / pool σ fun (j : C) => ε * I j) :
HasDerivAt (fun (t : ℝ) => normalizedTarget σ g (fun (j : C) => (scaledPositivePart ε hε).ψ (I j + (t - t0) * v j)) i) (ε * ((v i * pool σ fun (j : C) => ε * I j) - ε * I i * ∑ j : C, v j) / (pool σ fun (j : C) => ε * I j) ^ 2) t0

The complete positive pool along an affine raw-input section.

theorem MindFormal.OmissionTests.tc7_activity_raw_section {N n : ℕ} {T : Type u_2} {Λ : Type u_3} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (w : Fin N) (z : ℝ) (i : Fin N) :
rawInput (fun (k : Fin N) => d.drive (u k) (q k) (mindValue (examinationActivitySection s w z) k)) (fun (k : Fin N) => d.residue (mindTrace (examinationActivitySection s w z) k)) (mindRelation (examinationActivitySection s w z)) (mindActivity (examinationActivitySection s w z)) i = rawInput (fun (k : Fin N) => d.drive (u k) (q k) (mindValue s k)) (fun (k : Fin N) => d.residue (mindTrace s k)) (mindRelation s) (mindActivity s) i + (z - mindActivity s w) * mindRelation s i w

The raw-input activity section includes the entire outgoing column.

theorem MindFormal.OmissionTests.tc7_writer_activity_derivative {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (w c : Fin N) (m : ℝ) (hgain : ∀ (z : T → Fin n → ℝ), d.gain z = m) :
HasDerivAt (fun (x : ℝ) => assembledDrift d u q (examinationActivitySection s w x) (Sum.inl (w, c))) (m * (d.β * (d.presence (mindTrace s c) - mindRelation s w c) - (1 - d.β) * d.presence (mindTrace s c) * mindRelation s w w)) (mindActivity s w)

With TC7's constant gain, the full writer's activity derivative exists also when the reference's value surprise is exactly zero.

theorem MindFormal.OmissionTests.tc7_activity_self_derivative {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (w : Fin N) (ε : ℝ) (hε : 0 < ε) (htransform : d.transform = scaledPositivePart ε hε) (I : Fin N → ℝ) (hraw : ∀ (i : Fin N), rawInput (fun (k : Fin N) => d.drive (u k) (q k) (mindValue s k)) (fun (k : Fin N) => d.residue (mindTrace s k)) (mindRelation s) (mindActivity s) i = I i) (hI : ∀ (i : Fin N), 0 < I i) (hpool : (pool d.activity.σ fun (j : Fin N) => ε * I j) ≠ 0) (hbranch : d.activity.g < ε * I w / pool d.activity.σ fun (j : Fin N) => ε * I j) :
HasDerivAt (fun (x : ℝ) => assembledDrift d u q (examinationActivitySection s w x) (Sum.inr (Sum.inl w))) (d.activity.ν * (ε * ((mindRelation s w w * pool d.activity.σ fun (j : Fin N) => ε * I j) - ε * I w * ∑ j : Fin N, mindRelation s j w) / (pool d.activity.σ fun (j : Fin N) => ε * I j) ^ 2 - 1)) (mindActivity s w)

The actual I derivative in its activity coordinate. No derivative of any outgoing column or common-pool term is dropped.

theorem MindFormal.OmissionTests.tc7_relation_raw_section {N n : ℕ} {T : Type u_2} {Λ : Type u_3} (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (w c : Fin N) (z : ℝ) (i : Fin N) :
rawInput (fun (k : Fin N) => d.drive (u k) (q k) (mindValue (examinationRelationSection s w c z) k)) (fun (k : Fin N) => d.residue (mindTrace (examinationRelationSection s w c z) k)) (mindRelation (examinationRelationSection s w c z)) (mindActivity (examinationRelationSection s w c z)) i = rawInput (fun (k : Fin N) => d.drive (u k) (q k) (mindValue s k)) (fun (k : Fin N) => d.residue (mindTrace s k)) (mindRelation s) (mindActivity s) i + (z - mindRelation s w c) * if i = w then mindActivity s c else 0

A cue-link section changes only its receiver's raw input; the normalization derivative below nevertheless includes that change in the pool.

theorem MindFormal.OmissionTests.tc7_small_transform_obstruction (A B C D : ℝ) (hB : 0 ≤ B) (hD : 0 < D) :
∃ ε0 > 0, ∀ ε ∈ Set.Ioc 0 ε0, ∀ ν > 0, ∀ (μ1 μ2 γ1 γ2 : ℝ), 0 < γ1 → 0 < γ2 → -μ1 ≤ ν * (ε * A - 1) → γ1 ≤ ν * ε * B → γ2 ≤ C → -μ2 ≤ -D → ¬μ1 * μ2 < γ1 * γ2

The source's small-transform argument is uniform in the later choice of positive activity rate. It excludes every admissible choice of TC1 bounds, not only one chosen comparison matrix. A and B are the computed pool sensitivities, C and D the complete writer's cross derivative and loss.