MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.FeatureReads

The held feature read and the complete-target reflected continuation.

theorem MindFormal.Concepts.held_feature_read {ν t : ℝ} (hν : 0 < ν) (b p v x0 : ℝ) :
expConv ν x0 (fun (x : ℝ) => (1 - v) * b + v * p) t = (1 - v * (1 - Real.exp (-ν * t))) * b + v * (1 - Real.exp (-ν * t)) * p + Real.exp (-ν * t) * (x0 - b)

BF1.4, including arbitrary entering activity. Only this comparison holds its target, return pattern and feedback fraction; no actual target is held.

theorem MindFormal.Concepts.target_convolution_error {ν x0 y0 t δ : ℝ} {T U Δ : ℝ → ℝ} (hν : 0 < ν) (ht : 0 ≤ t) (hT : IntervalIntegrable T MeasureTheory.volume 0 t) (hU : IntervalIntegrable U MeasureTheory.volume 0 t) (hΔ : IntervalIntegrable Δ MeasureTheory.volume 0 t) (hin : |x0 - y0| ≤ δ) (hbound : ∀ s ∈ Set.Icc 0 t, |T s - U s| ≤ Δ s) :
|expConv ν x0 T t - expConv ν y0 U t| ≤ Real.exp (-ν * t) * δ + ν * ∫ (s : ℝ) in 0..t, Real.exp (-ν * (t - s)) * Δ s

The exact exponentially weighted entrance term, retained in BF1.6.

theorem MindFormal.Concepts.native_feature_error {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) {H δ χ : ℝ} (barT Δ : ℝ → ℝ) (bar0 : ℝ) (hT : IntervalIntegrable barT MeasureTheory.volume 0 H) (hΔ : IntervalIntegrable Δ MeasureTheory.volume 0 H) (hin : |mindActivity (G.state 0) i - bar0| ≤ δ) (hbound : ∀ s ∈ Set.Icc 0 H, |G.target i s - barT s| ≤ Δ s) (hnoise : ∀ s ∈ Set.Icc 0 H, |G.driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ χ) {t : ℝ} (ht : t ∈ Set.Icc 0 H) :
|mindActivity (G.state t) i - expConv G.data.activity.ν bar0 barT t| ≤ (Real.exp (-G.data.activity.ν * t) * δ + G.data.activity.ν * ∫ (s : ℝ) in 0..t, Real.exp (-G.data.activity.ν * (t - s)) * Δ s) + 2 * χ

BF1.6 coordinate form on the full original reflected mind. Its target uses every writer, drive, trace and actual native mode. The input, focus, gain and values may move. The enclosure and noise allowance are E.

theorem MindFormal.Concepts.feature_euclidean_error {C : Type u_1} [Fintype C] (x y : EuclideanSpace ℝ C) {e : ℝ} (he : 0 ≤ e) (hxy : ∀ (i : C), |x.ofLp i - y.ofLp i| ≤ e) :

The finite Euclidean conversion in BF1.6 keeps its exact square-root cardinality, including an empty recorded feature set.

theorem MindFormal.Concepts.paired_distance_transfer {C : Type u_1} [Fintype C] (x y : Fin 4 → EuclideanSpace ℝ C) (e : Fin 4 → ℝ) (herr : ∀ (i : Fin 4), ‖x i - y i‖ ≤ e i) :
(∀ (i j : Fin 4), |‖x i - x j‖ - ‖y i - y j‖| ≤ e i + e j) ∧ (‖y 0 - y 1‖ - ‖y 2 - y 3‖ > ∑ i : Fin 4, e i → ‖x 2 - x 3‖ < ‖x 0 - x 1‖)

BF1.7 is the reverse triangle inequality followed by the four-view margin test, with no independence premise.

theorem MindFormal.Concepts.held_across_widening {C : Type u_1} [Fintype C] {ν : ℝ} (hν : 0 < ν) (b0 b1 p0 p1 : C → ℝ) (v t : ℝ) :
have w := v * (1 - Real.exp (-ν * t)); have x := fun (b p : C → ℝ) (i : C) => expConv ν (b i) (fun (x : ℝ) => (1 - v) * b i + v * p i) t; ∑ i : C, (x b0 p0 i - x b1 p1 i) ^ 2 - ∑ i : C, (b0 i - b1 i) ^ 2 = 2 * w * ∑ i : C, (b0 i - b1 i) * (p0 i - p1 i - (b0 i - b1 i)) + w ^ 2 * ∑ i : C, (p0 i - p1 i - (b0 i - b1 i)) ^ 2 ∧ (∑ i : C, (b0 i - b1 i) ^ 2 < ∑ i : C, (x b0 p0 i - x b1 p1 i) ^ 2 ↔ 0 < 2 * w * ∑ i : C, (b0 i - b1 i) * (p0 i - p1 i - (b0 i - b1 i)) + w ^ 2 * ∑ i : C, (p0 i - p1 i - (b0 i - b1 i)) ^ 2)

BF1.5 applied to the actual held activity read, after deriving its exponential course from I, rather than treating a target as an activity.

theorem MindFormal.Concepts.clipped_pull_monotone (b p g : ℝ) {v w : ℝ} (hv : 0 ≤ v) (hw : w ≤ 1) (hvw : v ≤ w) :
|max ((1 - v) * b + v * p - g) 0 - max (b - g) 0| ≤ |max ((1 - w) * b + w * p - g) 0 - max (b - g) 0|

BF2.3's matched clipping comparison: at fixed endpoints a larger feedback fraction cannot move any coordinate less far from its baseline.

theorem MindFormal.Concepts.feedback_scale_derivative {P L z : ℝ} (hP : 0 < P) (hL : 0 < L) (hz : 0 ≤ z) :
HasDerivAt (fun (q : ℝ) => q * L / (P + q * L)) (P * L / (P + z * L) ^ 2) z ∧ 0 < P * L / (P + z * L) ^ 2 ∧ z * L / (P + z * L) < 1 ∧ ∀ (y : ℝ), z ≤ y → P * L / (P + y * L) ^ 2 ≤ P * L / (P + z * L) ^ 2

The matched linear read's fraction has positive, diminishing scale sensitivity; it always remains below one for nonnegative scale.

theorem MindFormal.Concepts.native_feature_family {Ω : Type u_1} [MeasurableSpace Ω] {N n K : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (A : Fin 4 → StateLearning Ω N n T Λ J) (μ : MeasureTheory.Measure Ω) (sameMeasure : ∀ (i : Fin 4), (A i).run.data.μ = μ) (contained : ∀ (i : Fin 4), (A i).Contained) (input : ∀ (i : Fin 4), (A i).control.εu = 0) (feature : Fin 4 → Fin K → Fin N) {H : ℝ} (window : ∀ (i : Fin 4), H ≤ ↑(A i).horizon) (bar0 : Fin 4 → Fin K → ℝ) (barT : Fin 4 → Fin K → ℝ → ℝ) (Δ : Fin 4 → ℝ → ℝ) (δ χ : Fin 4 → ℝ) (hδ : ∀ (i : Fin 4), 0 ≤ δ i) (hχ : ∀ (i : Fin 4), 0 ≤ χ i) (hΔ0 : ∀ (i : Fin 4), ∀ s ∈ Set.Icc 0 H, 0 ≤ Δ i s) (hT : ∀ (i : Fin 4) (f : Fin K), IntervalIntegrable (barT i f) MeasureTheory.volume 0 H) (hΔ : ∀ (i : Fin 4), IntervalIntegrable (Δ i) MeasureTheory.volume 0 H) (entrance : ∀ (i : Fin 4), ∀ z ∈ (A i).run.good, ∀ (f : Fin K), |mindActivity (((A i).run.data.toPhysicalNoiseData.globalData z).state 0) (feature i f) - bar0 i f| ≤ δ i) (targets : ∀ (i : Fin 4), ∀ z ∈ (A i).run.good, ∀ s ∈ Set.Icc 0 H, ∀ (f : Fin K), |((A i).run.data.toPhysicalNoiseData.globalData z).target (feature i f) s - barT i f s| ≤ Δ i s) (noise : ∀ (i : Fin 4), ∀ z ∈ (A i).run.good, ∀ s ∈ Set.Icc 0 H, ∀ (f : Fin K), |((A i).run.data.toPhysicalNoiseData.globalData z).driver s.toNNReal (Sum.inr (Sum.inl (feature i f)))| ≤ χ i) {t : ℝ} (ht : t ∈ Set.Icc 0 H) :
have G := fun (i : Fin 4) (z : Ω) => (A i).run.data.toPhysicalNoiseData.globalData z; have actual := fun (z : Ω) (i : Fin 4) => WithLp.toLp 2 fun (f : Fin K) => mindActivity ((G i z).state t) (feature i f); have reference := fun (z : Ω) (i : Fin 4) => WithLp.toLp 2 fun (f : Fin K) => expConv (G i z).data.activity.ν (bar0 i f) (barT i f) t; have error := fun (z : Ω) (i : Fin 4) => √↑K * ((Real.exp (-(G i z).data.activity.ν * t) * δ i + (G i z).data.activity.ν * ∫ (s : ℝ) in 0..t, Real.exp (-(G i z).data.activity.ν * (t - s)) * Δ i s) + 2 * χ i); ∃ (good : Set Ω), MeasurableSet good ∧ 1 - ∑ i : Fin 4, (A i).run.control.failure ≤ μ.real good ∧ (∀ (i : Fin 4), ∀ᵐ (z : Ω) ∂μ, z ∈ good → (A i).experiment.OnOwnNoise z H.toNNReal) ∧ ∀ z ∈ good, (∀ (i : Fin 4), ‖actual z i - reference z i‖ ≤ error z i) ∧ (∀ (i j : Fin 4), |‖actual z i - actual z j‖ - ‖reference z i - reference z j‖| ≤ error z i + error z j) ∧ (‖reference z 0 - reference z 1‖ - ‖reference z 2 - reference z 3‖ > ∑ i : Fin 4, error z i → ‖actual z 2 - actual z 3‖ < ‖actual z 0 - actual z 1‖)

BF1.6--BF1.7 on four arbitrary full native probes. Each uses its own state-dependent innovations. The complete target enclosures include all input, focus, value and relation changes; their shared failure bill uses only a union bound on the declared common probability space.

theorem MindFormal.Concepts.aligned_feature_read {F : Type u_1} [Fintype F] (b0 b1 b2 b3 p0 p1 pW : EuclideanSpace ℝ F) {w c : ℝ} (hw0 : 0 < w) (hw1 : w < 1) (hc : 1 < c) (baseline : ‖b0 - b1‖ = ‖b2 - b3‖) (separated : 0 < ‖b0 - b1‖) (alignment : p0 - p1 = c • (b0 - b1)) :
have x0 := (1 - w) • b0 + w • p0; have x1 := (1 - w) • b1 + w • p1; have x2 := (1 - w) • b2 + w • pW; have x3 := (1 - w) • b3 + w • pW; ‖x2 - x3‖ = (1 - w) * ‖b0 - b1‖ ∧ ‖x0 - x1‖ = (1 + w * (c - 1)) * ‖b0 - b1‖ ∧ ‖x2 - x3‖ < ‖b0 - b1‖ ∧ ‖b0 - b1‖ < ‖x0 - x1‖

Equal baseline separation in BF1.4: a common within pattern contracts, and an aligned across pattern with c>1 widens. These are the explicit held reference vectors subsequently used in the native comparison and response.

theorem MindFormal.Concepts.complete_relative_pull {P0 P1 L0 L1 : ℝ} (hP0 : 0 < P0) (hP1 : 0 < P1) (hL0 : 0 ≤ L0) (hL1 : 0 ≤ L1) (b p g : ℝ) :
have v0 := L0 / (P0 + L0); have v1 := L1 / (P1 + L1); (v0 < v1 ↔ L0 / P0 < L1 / P1) ∧ (L0 / P0 ≤ L1 / P1 → |max ((1 - v0) * b + v0 * p - g) 0 - max (b - g) 0| ≤ |max ((1 - v1) * b + v1 * p - g) 0 - max (b - g) 0|) ∧ ∀ (shape z : ℝ), 0 < shape → 0 ≤ z → HasDerivAt (fun (q : ℝ) => q * shape / (P0 + q * shape)) (P0 * shape / (P0 + z * shape) ^ 2) z ∧ 0 < P0 * shape / (P0 + z * shape) ^ 2 ∧ z * shape / (P0 + z * shape) < 1 ∧ ∀ (y : ℝ), z ≤ y → P0 * shape / (P0 + y * shape) ^ 2 ≤ P0 * shape / (P0 + z * shape) ^ 2

BF2.3 at any two moving states, followed by its matched-pattern clipped read. The partial scale derivative is included only under its named holds.

theorem MindFormal.Concepts.aligned_held_feature_read {F : Type u_1} [Fintype F] (B P : Fin 4 → EuclideanSpace ℝ F) {ν H v c : ℝ} (hν : 0 < ν) (hH : 0 < H) (hv0 : 0 < v) (hv1 : v < 1) (hc : 1 < c) (within : P 2 = P 3) (baseline : ‖B 0 - B 1‖ = ‖B 2 - B 3‖) (separated : 0 < ‖B 0 - B 1‖) (alignment : P 0 - P 1 = c • (B 0 - B 1)) :
have w := v * (1 - Real.exp (-ν * H)); have x := fun (i : Fin 4) => WithLp.toLp 2 fun (f : F) => expConv ν ((B i).ofLp f) (fun (x : ℝ) => (1 - v) * (B i).ofLp f + v * (P i).ofLp f) H; 0 < w ∧ w < 1 ∧ (∀ (i : Fin 4), x i = (1 - w) • B i + w • P i) ∧ ‖x 2 - x 3‖ = (1 - w) * ‖B 0 - B 1‖ ∧ ‖x 0 - x 1‖ = (1 + w * (c - 1)) * ‖B 0 - B 1‖ ∧ ‖x 2 - x 3‖ < ‖B 0 - B 1‖ ∧ ‖B 0 - B 1‖ < ‖x 0 - x 1‖

BF1.4's held activity solutions yield the aligned geometry, for every positive feedback fraction however small. The hold concerns these comparison targets only; the moving native paths use native_feature_family.

theorem MindFormal.Concepts.native_feature_response {Ω : Type u_1} [MeasurableSpace Ω] {N n K : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (A : Fin 4 → StateLearning Ω N n T Λ J) (μ : MeasureTheory.Measure Ω) (sameMeasure : ∀ (i : Fin 4), (A i).run.data.μ = μ) (contained : ∀ (i : Fin 4), (A i).Contained) (input : ∀ (i : Fin 4), (A i).control.εu = 0) (feature : Fin 4 → Fin K → Fin N) {H : ℝ} (window : ∀ (i : Fin 4), H ≤ ↑(A i).horizon) (bar0 : Fin 4 → Fin K → ℝ) (barT : Fin 4 → Fin K → ℝ → ℝ) (Δ : Fin 4 → ℝ → ℝ) (δ χ : Fin 4 → ℝ) (hδ : ∀ (i : Fin 4), 0 ≤ δ i) (hχ : ∀ (i : Fin 4), 0 ≤ χ i) (hΔ0 : ∀ (i : Fin 4), ∀ s ∈ Set.Icc 0 H, 0 ≤ Δ i s) (hT : ∀ (i : Fin 4) (f : Fin K), IntervalIntegrable (barT i f) MeasureTheory.volume 0 H) (hΔ : ∀ (i : Fin 4), IntervalIntegrable (Δ i) MeasureTheory.volume 0 H) (entrance : ∀ (i : Fin 4), ∀ z ∈ (A i).run.good, ∀ (f : Fin K), |mindActivity (((A i).run.data.toPhysicalNoiseData.globalData z).state 0) (feature i f) - bar0 i f| ≤ δ i) (targets : ∀ (i : Fin 4), ∀ z ∈ (A i).run.good, ∀ s ∈ Set.Icc 0 H, ∀ (f : Fin K), |((A i).run.data.toPhysicalNoiseData.globalData z).target (feature i f) s - barT i f s| ≤ Δ i s) (noise : ∀ (i : Fin 4), ∀ z ∈ (A i).run.good, ∀ s ∈ Set.Icc 0 H, ∀ (f : Fin K), |((A i).run.data.toPhysicalNoiseData.globalData z).driver s.toNNReal (Sum.inr (Sum.inl (feature i f)))| ≤ χ i) {t : ℝ} (ht : t ∈ Set.Icc 0 H) {Q : ℕ} (C : Fin 2 → StateLearning Ω N n T Λ J) (sameResponse : ∀ (k : Fin 2), (C k).run.data.μ = μ) (cContained : ∀ (k : Fin 2), (C k).Contained) (cInput : ∀ (k : Fin 2), (C k).control.εu = 0) (label : Fin 2 → Ω → Fin Q → Fin N) (lo hi : Fin 2 → Ω → Fin Q → ℝ) (w : (i : Fin 2) → (z : Ω) → z ∈ (C i).run.good → (q : Fin Q) → LearningWindowMargins (C i).run z (label i z q) (lo i z q) (hi i z q)) (initial : ∀ (i : Fin 2) (z : Ω) (hz : z ∈ (C i).run.good) (h : 0 < Q), (w i z hz ⟨0, h⟩).phase ≤ 0) (next : ∀ (i : Fin 2) (z : Ω) (hz : z ∈ (C i).run.good) (q : Fin Q) (h : ↑q + 1 < Q), (w i z hz ⟨↑q + 1, h⟩).phase ≤ lo i z q + (C i).run.data.pause false ∧ hi i z q + (C i).run.data.pause false ≤ hi i z ⟨↑q + 1, h⟩) (query : Fin Q) (different same : Fin N) (distinct : different ≠ same) (across : ∀ (z : Ω), label 0 z query = different) (within : ∀ (z : Ω), label 1 z query = same) :
have G := fun (i : Fin 4) (z : Ω) => (A i).run.data.toPhysicalNoiseData.globalData z; have actual := fun (z : Ω) (i : Fin 4) => WithLp.toLp 2 fun (f : Fin K) => mindActivity ((G i z).state t) (feature i f); have reference := fun (z : Ω) (i : Fin 4) => WithLp.toLp 2 fun (f : Fin K) => expConv (G i z).data.activity.ν (bar0 i f) (barT i f) t; have error := fun (z : Ω) (i : Fin 4) => √↑K * ((Real.exp (-(G i z).data.activity.ν * t) * δ i + (G i z).data.activity.ν * ∫ (s : ℝ) in 0..t, Real.exp (-(G i z).data.activity.ν * (t - s)) * Δ i s) + 2 * χ i); have observed := fun (k : Fin 2) (z : Ω) => (consecutivePlan (C k).run Q (label k) (lo k) (hi k)).observed z query; have p := fun (k : Fin 2) => μ.real {z : Ω | observed k z = Sum.inl different}; (∃ (good : Set Ω), MeasurableSet good ∧ 1 - ∑ i : Fin 4, (A i).run.control.failure - ∑ k : Fin 2, (C k).run.control.failure ≤ μ.real good ∧ (∀ (i : Fin 4), ∀ᵐ (z : Ω) ∂μ, z ∈ good → (A i).experiment.OnOwnNoise z H.toNNReal) ∧ (∀ (k : Fin 2), ∀ᵐ (z : Ω) ∂μ, z ∈ good → (C k).experiment.OnOwnNoise z (C k).horizon) ∧ ∀ z ∈ good, (∀ (i : Fin 4), ‖actual z i - reference z i‖ ≤ error z i) ∧ (∀ (i j : Fin 4), |‖actual z i - actual z j‖ - ‖reference z i - reference z j‖| ≤ error z i + error z j) ∧ (‖reference z 0 - reference z 1‖ - ‖reference z 2 - reference z 3‖ > ∑ i : Fin 4, error z i → ‖actual z 2 - actual z 3‖ < ‖actual z 0 - actual z 1‖) ∧ observed 0 z = Sum.inl different ∧ observed 1 z = Sum.inl same) ∧ 1 - (C 0).control.failure ≤ p 0 ∧ p 1 ≤ (C 1).control.failure ∧ 1 - (C 0).control.failure - (C 1).control.failure ≤ p 0 - p 1 ∧ ((C 0).control.failure + (C 1).control.failure < 1 → p 1 < p 0)

The full feature comparison and acquired common response on one joint native event. All four feature experiments and both sequential responses use their own loading. Reference geometry, retention and response margins are separate obligations; their actual reads and common failure bill are conclusions. No event or successful response is a supplied premise.