One-step error of a recurrent network with perturbed weights
ProvedMindUploadTheory.network_one_step_deviationneural-networksrobustnesswhole-brain-emulation
Consider a network of units with activation that is 1-Lipschitz, . Let be the original and perturbed weights with , let be the original and perturbed states with and , let be a bias vector, and suppose for every row . Then for every unit ,
In the structure pillar of the mind-upload.com program this is the per-step bound that connects connectivity errors to functional errors; combined with a scalar comparison lemma it bounds the error over a finite horizon.
Formalization Note Units are indexed by Fin n and the factor is the cast (n : ℝ).
Preamble
import Mathlib.Data.Real.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Algebra.BigOperators.Group.Finset.Basic open scoped BigOperators
Formal statement
namespace MindUploadTheory
theorem network_one_step_deviation (n : Nat) (σ : ℝ → ℝ)
(hσ : ∀ a c : ℝ, |σ a - σ c| ≤ |a - c|)
(W W' : Fin n → Fin n → ℝ) (bias x x' : Fin n → ℝ) (ε B d L : ℝ)
(hW : ∀ i j, |W' i j - W i j| ≤ ε) (hx : ∀ j, |x j| ≤ B)
(hd : ∀ j, |x' j - x j| ≤ d) (hL : ∀ i, ∑ j, |W' i j| ≤ L) (i : Fin n) :
|σ (∑ j, W' i j * x' j + bias i) - σ (∑ j, W i j * x j + bias i)| ≤
L * d + (n : ℝ) * ε * B := by sorry
end MindUploadTheorySource
mind-upload.com, Theoretical Research project page, section 'A formal program for theoretical mind uploading', item T7, https://mind-upload.com/projects/theory/#formal-t7 .