Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A necessary and sufficient invariant error budget for sensorimotor feedback

Proved
EmulationFeedback.invariant_budget_iff

by Yasufumi Nakata · Dec 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

control-theorystabilitywhole-brain-emulation

With nonnegative constants a,b,c,δ,η,Ra,b,c,\delta,\eta,Ra,b,c,δ,η,R, consider all nonnegative state and input discrepancy sequences satisfying ut≤cxt+ηu_t\le c x_t+\etaut​≤cxt​+η and xt+1≤axt+but+δx_{t+1}\le a x_t+b u_t+\deltaxt+1​≤axt​+but​+δ. Every such pair starting with x0≤Rx_0\le Rx0​≤R stays within xt≤Rx_t\le Rxt​≤R for all times if and only if (a+bc)R+δ+bη≤R(a+bc)R+\delta+b\eta\le R(a+bc)R+δ+bη≤R. Necessity concerns the entire class defined by these inequalities.

Preamble
import Mathlib.Data.Real.Basic
Formal statement
namespace EmulationFeedback
theorem invariant_budget_iff (a b c δ η R : ℝ)
    (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 ≤ c)
    (hδ : 0 ≤ δ) (hη : 0 ≤ η) (hR : 0 ≤ R) :
    (∀ x u : Nat → ℝ, (∀ t, 0 ≤ x t) → (∀ t, 0 ≤ u t) → x 0 ≤ R →
      (∀ t, u t ≤ c * x t + η) →
      (∀ t, x (t+1) ≤ a * x t + b * u t + δ) →
      ∀ t, x t ≤ R) ↔
    (a + b * c) * R + (δ + b * η) ≤ R := by sorry
end EmulationFeedback
Source
Original scalar comparison exercise. Context: A. Girard & G. J. Pappas, Approximation Metrics for Discrete and Continuous Systems (2007), §§II–III, https://doi.org/10.1109/TAC.2007.895849 ; embodied simulation: S. Wang-Chen et al., https://doi.org/10.1038/s41592-024-02497-y .

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me