MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.A699Shared.GradientCorner

In One Mind, clause 3 of result 9.8: Whether learning improves one measure of the links · all its clauses in Lean
theorem MindFormal.A699Shared.result_12_24_3_L699 :
(∀ {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {H : Type u_4} {n : ℕ} [inst : Fintype C] [inst_1 : Fintype Λ] [inst_2 : MeasurableSpace H] {J : Type u_5} [inst_3 : Fintype J] {d : MindDriftData C n T Λ} {U : Set (EuclideanSpace ℝ J)} (A : NativeAverage J d U) (G : FixedMetric (EuclideanSpace ℝ J)), IsOpen U → IsConnected U → ContinuousOn A.mean U → ((∃ (F : EuclideanSpace ℝ J → ℝ), ∀ z ∈ U, HasGradientAt F (-G.map.symm (A.mean z)) z) ↔ ZeroPeriods U (G.form A.mean))) ∧ (∀ {C : Type u_6} {T : Type u_7} {Λ : Type u_8} {H : Type u_9} {n : ℕ} [inst : Fintype C] [inst_1 : Fintype Λ] [inst_2 : MeasurableSpace H] {J : Type u_10} [inst_3 : Fintype J] {d : MindDriftData C n T Λ} {U : Set (EuclideanSpace ℝ J)} (A : NativeAverage J d U) (G : FixedMetric (EuclideanSpace ℝ J)), IsOpen U → IsSimplyConnected U → DifferentiableOn ℝ A.mean U → ((∃ (F : EuclideanSpace ℝ J → ℝ), ∀ z ∈ U, HasGradientAt F (-G.map.symm (A.mean z)) z) ↔ ∀ z ∈ U, fderiv ℝ A.mean z ∘SL ↑G.map = ↑G.map ∘SL ContinuousLinearMap.adjoint (fderiv ℝ A.mean z))) ∧ (∀ {E : Type u_11} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : CompleteSpace E] (G : FixedMetric E) {U : Set E} {b : E → E} {F : E → ℝ}, IsOpen U → ContinuousOn b U → (∀ x ∈ U, HasGradientAt F (-G.map.symm (b x)) x) → ContDiffOn ℝ 1 F U) ∧ (∀ {E : Type u_12} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : CompleteSpace E] (G : FixedMetric E) {b : E → E} {F : E → ℝ} {x : E}, HasGradientAt F (-G.map.symm (b x)) x → b x = -G.map (gradient F x)) ∧ (∀ {E : Type u_13} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : CompleteSpace E] (G : FixedMetric E) {b : E → E} {F : E → ℝ} {w : ℝ → E} {t : ℝ}, HasGradientAt F (-G.map.symm (b (w t))) (w t) → HasDerivAt w (b (w t)) t → HasDerivAt (F ∘ w) (-inner ℝ (-G.map.symm (b (w t))) (G.map (-G.map.symm (b (w t))))) t ∧ -inner ℝ (-G.map.symm (b (w t))) (G.map (-G.map.symm (b (w t)))) ≤ 0) ∧ (∀ {C : Type u_14} {T : Type u_15} {Λ : Type u_16} {n : ℕ} [inst : Fintype C] [inst_1 : Fintype Λ] [inst_2 : DecidableEq C] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i j : C), assembledDrift d u q s (Sum.inl (i, j)) = linkForcing d u q s i j - ∑ m : C, linkLoss d u s i j m * mindRelation s i m) ∧ ∀ {C : Type u_17} [inst : Fintype C] [inst_1 : DecidableEq C] {dbar : (C × C → ℝ) → ℝ} {Lbar : C → (C × C → ℝ) → ℝ} {z : C × C → ℝ}, DifferentiableAt ℝ dbar z → (∀ (m : C), DifferentiableAt ℝ (Lbar m) z) → ∀ (i k l : C), (fderiv ℝ (fun (w : C × C → ℝ) => dbar w - ∑ m : C, Lbar m w * w (i, m)) z) (Pi.single (k, l) 1) = (fderiv ℝ dbar z) (Pi.single (k, l) 1) - ∑ m : C, (fderiv ℝ (Lbar m) z) (Pi.single (k, l) 1) * z (i, m) - if k = i then Lbar l z else 0

12.24.3; L699 G17. P: the specified closed conditional average of the complete Equation II writer, on its connected open learned-link domain, and a fixed SPD metric. Hidden activity, traces, all values, gain, input, attention and the conditional experience distribution remain inside the average. C: a C¹ potential with b = -G grad V exists exactly when the continuous metric-weighted one-form has zero integral on every closed finite piecewise smooth curve. On the full simply connected open domain, for the printed continuously differentiable average, this is exactly Db G = G Dbᵀ everywhere. The proof constructs local primitives and a covering of integration constants, then lifts the identity; there is no convex/star-shaped restriction. Its full Jacobian includes derivatives of both conditional forcing and conditional loss moments. Along the closed average its derivative is -grad Vᵀ G grad V. The continuous period test retains domains with holes and compatible nonsmooth branch averages. This is geometry of the specified average, not an assertion that noisy native links obey the mean ODE, that the average closes automatically, or that a potential has a minimizer. The literal native writer identifies the average, and all W/v coordinates are available to RC4 consumers via learnedIndex; RC6 consumers choose Sum.inl for all W coordinates. No new independence, moment-centering, clipping or source restriction is used. Supplied steps: none.