MindFormal v1.0.0One Mind

MindFormal.Example.PageReductions.QueryRelation

Continuing query writing closes its own cap, from the entering state.

theorem MindFormal.PageReductions.Query.force_nonneg {N : ℕ} (P : Flat.Parameters N) {U X K : ℝ} (hU : 0 ≤ U) (hX : 0 ≤ X) (hK : 0 ≤ K) :
0 ≤ force P U X K
theorem MindFormal.PageReductions.Query.relation_move {N : ℕ} (P : Flat.Parameters N) (hsat : P.saturated = false) (R : PhysicalGlobalData N 1 Unit Unit) (hd : R.data = canonicalPresenceData (Flat.mind P).drift) {a t U X K b : ℝ} (ha : 0 ≤ a) (hat : a ≤ t) (hx : ∀ r ∈ Set.Icc a t, ∀ (i : Fin N), mindActivity (R.state r) i ≤ X) (hr : ∀ r ∈ Set.Icc a t, ∀ (i : Fin N), mindTrace (R.state r) i () ≤ X) (hW : ∀ r ∈ Set.Icc a t, ∀ (i j : Fin N), |mindRelation (R.state r) i j| ≤ K) (hu : ∀ r ∈ Set.Ioc a t, ∀ (i : Fin N), R.input r i ≤ U) (hq : ∀ r ∈ Set.Ioc a t, R.pulse r = 0) (hw : ∀ (i j : Fin N), |R.driver t.toNNReal (Sum.inl (i, j)) - R.driver a.toNNReal (Sum.inl (i, j))| ≤ b) (i j : Fin N) :
|mindRelation (R.state t) i j - mindRelation (R.state a) i j| ≤ P.gain * (t - a) * force P U X K + b

The complete original II bounds its increment; there is no reset at a.

theorem MindFormal.PageReductions.Query.relation_closed {N : ℕ} (P : Flat.Parameters N) (hsat : P.saturated = false) (R : PhysicalGlobalData N 1 Unit Unit) (hd : R.data = canonicalPresenceData (Flat.mind P).drift) (a h : NNReal) {U X K0 K1 b : ℝ} (hU : 0 ≤ U) (hX : 0 ≤ X) (hK1 : 0 ≤ K1) (hb : 0 ≤ b) (hstart : ∀ (i j : Fin N), |mindRelation (R.state ↑a) i j| ≤ K0) (hx : ∀ r ∈ Set.Icc (↑a) (↑a + ↑h), ∀ (i : Fin N), mindActivity (R.state r) i ≤ X) (hr : ∀ r ∈ Set.Icc (↑a) (↑a + ↑h), ∀ (i : Fin N), mindTrace (R.state r) i () ≤ X) (hu : ∀ r ∈ Set.Ioc (↑a) (↑a + ↑h), ∀ (i : Fin N), R.input r i ≤ U) (hq : ∀ r ∈ Set.Ioc (↑a) (↑a + ↑h), R.pulse r = 0) (hw : ∀ r ∈ Set.Icc (↑a) (↑a + ↑h), ∀ (i j : Fin N), |R.driver r.toNNReal (Sum.inl (i, j)) - R.driver a (Sum.inl (i, j))| ≤ b) (hclose : K0 + P.gain * ↑h * force P U X K1 + b < K1) (r : ℝ) :
r ∈ Set.Icc (↑a) (↑a + ↑h) → ∀ (i j : Fin N), |mindRelation (R.state r) i j| < K1

Source K0+ellhF_Q+bw<K1 closes the entire continuing query cap.