MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch17.A640Standards.StakesDirections

theorem MindFormal.A640Standards.result_full_gain_19_63_5_L641 {C : Type u_1} {T : Type u_2} {Λ : Type u_3} [Fintype C] [Fintype Λ] {n : ℕ} (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i j : C) (changeGain : ℝ) :
assembledDrift { activity := d.activity, transform := d.transform, β := d.β, η := d.η, τ := d.τ, rate := d.rate, drive := d.drive, residue := d.residue, presence := d.presence, presenceDerivative := d.presenceDerivative, reward := d.reward, response := d.response, gain := fun (z : T → Fin n → ℝ) => d.gain z + changeGain } u q s (Sum.inl (i, j)) - assembledDrift d u q s (Sum.inl (i, j)) = changeGain * ((1 - d.β) * d.presence (mindTrace s j) * (d.drive (u i) (q i) (mindValue s i) - ∑ k : C, mindRelation s i k * mindActivity s k) + d.β * mindActivity s i * (d.presence (mindTrace s j) - mindRelation s i j))

A matched gain change amplifies the signed sum of both II writers. The instantaneous residual, complete row, trace, value bank and mode are the actual ones; this does not freeze them during a primary-stakes change.

theorem MindFormal.A640Standards.result_native_target_direction_19_63_5_L641 {z other g : ℝ → ℝ} {dz dr dg t : ℝ} (hz : HasDerivAt z dz t) (hr : HasDerivAt other dr t) (hg : HasDerivAt g dg t) (positivePool : z t + other t ≠ 0) (interior : 0 < z t / (z t + other t) - g t) :
HasDerivAt (fun (s : ℝ) => max (z s / (z s + other s) - g s) 0) ((other t * dz - z t * dr) / (z t + other t) ^ 2 - dg) t

SM3's matched native target direction: the own transformed support, the entire remaining pool and offset have the stated derivatives at t. With nonzero pool and strictly active unclipped target, the clipped target has derivative (other dz-z dr)/(z+other)^2-dg, with every signed term retained.

theorem MindFormal.A640Standards.result_stakes_roots_19_63_5_L641 {initial slope : ℝ} (hi : 0 < initial) (hs : slope < 0) :
(FirstExit.outward fun (z : NNReal) => 0 ≤ initial + slope * ↑z) = ↑(NNReal.mk (-initial / slope) ⋯)

SM3's stated affine stakes margin: a positive initial margin and negative slope give the first outward loss of its weak nonnegativity test at the positive root -initial/slope, including passage at the root itself.

theorem MindFormal.A640Standards.result_ramp_interval_19_63_5_L641 {ν ε u t : ℝ} (hν : 0 < ν) (hε : 0 < ε) (hsmall : ν * ε < |u|) (ht : 0 ≤ t) :
|-u / ν * (1 - Real.exp (-ν * t))| ≤ ε ↔ t ≤ -Real.log (1 - ν * ε / |u|) / ν

The exact probability ramp formula gives a whole time interval, not just a hit at the proposed boundary.

theorem MindFormal.A640Standards.result_ramp_outward_19_63_5_L641 {ν ε u : ℝ} (hν : 0 < ν) (hε : 0 < ε) (hsmall : ν * ε < |u|) :
(FirstExit.outward fun (t : NNReal) => |-u / ν * (1 - Real.exp (-ν * ↑t))| ≤ ε) = ↑(NNReal.mk (-Real.log (1 - ν * ε / |u|) / ν) ⋯)

SM3's world ramp with positive rate and tolerance and |u| greater than rate times tolerance: the whole lag-tolerance test has first outward exit -log(1-rate tolerance/|u|)/rate. The interval calculation, including the weak boundary endpoint, supplies both sides of this exit equality.

In One Mind, clause 2 of result 17.3: The four standards needn't give way together, and the thresholds alone can reorder them · all its clauses in Lean
theorem MindFormal.A640Standards.result_root_sensitivity_19_63_2_L641 (G : ℝ × ℝ → ℝ) (root : ℝ → ℝ) {d a b v : ℝ} (ha : a ≠ 0) (hr : HasDerivAt root v d) (hG : HasFDerivAt G ((ContinuousLinearMap.fst ℝ ℝ ℝ).smulRight a + (ContinuousLinearMap.snd ℝ ℝ ℝ).smulRight b) (root d, d)) (zero : ∀ᶠ (z : ℝ) in nhds d, G (root z, z) = 0) :
v = -b / a

The stated local zero-curve hold yields the full implicit root sensitivity, while the nonzero derivative hypothesis stays explicit.