MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.SearchWritesRun

structure MindFormal.SearchRead {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) :
Type (max (max u_1 u_2) u_3)

SW1 SW16, SB1 SB9: a full-state diagnostic at the reference's current input and mode. The supplied local sensitivity is on the whole enclosing box; it is a coefficient bound, not a distance between solved paths.

Instances For
    noncomputable def MindFormal.SearchRead.actual {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} (F : SearchRead C) (z : Ω) (t : ℝ) :

    SW1 SW16, SB1 SB9: the diagnostic evaluated on the actual full state.

    Equations
    Instances For
      noncomputable def MindFormal.SearchRead.reference {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} (F : SearchRead C) (z : Ω) (t : ℝ) :

      SW1 SW16, SB1 SB9: the diagnostic on the verified continuing reference.

      Equations
      Instances For
        theorem MindFormal.search_read_distance {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (F : SearchRead C) (z : Ω) (hz : z ∈ C.good) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑C.horizon) :

        SW1 SW16, SB1 SB9: the source local sensitivity and the constructed learning corridor give diagnostic error L*E. All learning terms are retained in the verified reference. No instantaneous input/mode match is inferred from the integrated input/mode budget; applications identify it separately.

        noncomputable def MindFormal.searchActualTarget {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i : Fin N) (z : Ω) (t : ℝ) :

        SW1 SW16: the actual complete normalized target, including the actual world, native focus, all signed relations, values, traces and pool contributors.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MindFormal.searchReferenceInputs {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (state : MindState (Fin N) n T Λ) :
          Fin N → ℝ

          SW1 SW16, SB1 SB9: the reference diagnostic uses its own complete input and mode, at every hypothetical state, not just at the actual endpoints.

          Equations
          Instances For
            def MindFormal.SearchModeMatch {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) :

            SW1 SW16, SB1 SB9: pointwise world-input and native-mode matching is a separate premise for instantaneous complete-input reads.

            Equations
            Instances For
              theorem MindFormal.search_target_read_identification {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i : Fin N) (F : SearchRead C) (sourceTargetRead : ∀ (z : Ω) (t : ℝ) (state : MindState (Fin N) n T Λ), F.read z t state = normalizedTarget C.data.toPhysicalNoiseData.data.activity.σ C.data.toPhysicalNoiseData.data.activity.g (searchReferenceInputs C z t state) i) (z : Ω) (t : ℝ) (matching : SearchModeMatch C z t) :

              SW1 SW16: the diagnostic is I's complete normalized target on ALL states, and actual/reference inputs and modes match at t. These coefficient identities derive its actual-read identification; an arbitrary diagnostic fitted to the desired reference margin is not accepted.

              theorem MindFormal.live_SW1 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i cue : Fin N) (hY : LocallyLipschitz ⇑C.data.reads.attention) (k : ℕ) (F : SearchRead C) {s t need : ℝ} (hs : s ∈ Set.Icc 0 ↑C.horizon) (ht : t ∈ Set.Icc 0 ↑C.horizon) (sourceTargetRead : ∀ (z : Ω) (r : ℝ) (state : MindState (Fin N) n T Λ), F.read z r state = normalizedTarget C.data.toPhysicalNoiseData.data.activity.σ C.data.toPhysicalNoiseData.data.activity.g (searchReferenceInputs C z r state) i) (instantaneousModeMatching : ∀ z ∈ C.good, SearchModeMatch C z s ∧ SearchModeMatch C z t) (sourceTargetMargins : ∀ z ∈ C.good, F.reference z s + F.constant * C.control.error < need ∧ need + F.constant * C.control.error < F.reference z t) (sourceCueMargins : ∀ z ∈ C.good, (C.focus z).release k ∈ Set.Icc 0 ↑C.horizon ∧ LearningFocusMargin C hY z cue ((C.focus z).release k)) :
              1 - C.control.failure ≤ C.data.μ.real {z : Ω | searchActualTarget C i z s < need ∧ need < searchActualTarget C i z t ∧ ((C.focus z).search k).event = some ((C.focus z).release k, cue)}

              SW1 SW16: strict reference target margins beyond L*E and native awareness/qualification/ranking margins imply actual loss-to-return of target capacity and the executable cue win, with probability at least 1-epsilon. instantaneousModeMatching identifies the full target diagnostic with the actual world/focus modes at the two endpoints; this is explicitly supplied, not inferred from integrated mode error. The reference diagnostic must be the source complete target. This does not assert every noisy increment has the reference drift sign or that a momentary positive target guarantees a hit.

              theorem MindFormal.live_search_protected_access {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i cue : Fin N) (hY : LocallyLipschitz ⇑C.data.reads.attention) (k : ℕ) {t need : ℝ} (ht : t ∈ Set.Icc 0 ↑C.horizon) (protectedAccess : ∀ z ∈ C.good, (C.focus z).release k ∈ Set.Icc 0 t ∧ LearningFocusMargin C hY z cue ((C.focus z).release k)) (protectedClimb : ∀ z ∈ C.good, need + C.control.error ≤ C.refCoordinate z (Sum.inr (Sum.inl i)) t) :
              1 - C.control.failure ≤ C.data.μ.real {z : Ω | ((C.focus z).search k).event = some ((C.focus z).release k, cue) ∧ ∃ r ∈ Set.Icc 0 t, need ≤ C.coordinate z (Sum.inr (Sum.inl i)) r}

              SW1 SW16, SB1 SB8, SI1 SI4: a protected-access prefix with its actual IV qualification and ranking margins, and a subsequent raised reference activity at a deadline, yields an actual native cue return AND actual awareness by that deadline, on the same event. Access and subsequent writing are in the continuing reference/control; a counterfactual held cue is not used.

              noncomputable def MindFormal.searchActualReserve {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i : Fin N) (q : ℝ) (z : Ω) (t : ℝ) :

              SB1 SB4/SB9: the actual signed complete-pool reserve, nonsingular even when useful input is zero. q is g plus the required activity.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MindFormal.live_SB1 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i : Fin N) (F : SearchRead C) {need t : ℝ} (_hn : 0 < need) (ht : t ∈ Set.Icc 0 ↑C.horizon) (sourceReserveIdentification : ∀ (z : Ω) (r : ℝ) (state : MindState (Fin N) n T Λ), F.read z r state = searchReferenceInputs C z r state i - (C.data.toPhysicalNoiseData.data.activity.g + need) * pool C.data.toPhysicalNoiseData.data.activity.σ (searchReferenceInputs C z r state)) (instantaneousModeMatching : ∀ z ∈ C.good, SearchModeMatch C z t) (sourceReserveMargin : ∀ z ∈ C.good, F.constant * C.control.error < F.reference z t) :
                1 - C.control.failure ≤ C.data.μ.real {z : Ω | need < searchActualTarget C i z t}

                SB1 SB9: the source reserve margin, with its full signed-input sensitivity and matched instantaneous modes, forces the actual full target above need with probability at least 1-epsilon. q=g+need, need>0, and sourceReserveIdentification identifies the diagnostic with the complete reserve, not with a desired event. It remains supplied when mode matching and the concrete box sensitivity have not been instantiated.

                theorem MindFormal.live_SB1_stochastic_product {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (i : Fin N) (XdW Wdx cov : Ω → Fin N → ℝ) (s t : ℝ) (stochasticProductCovariance : ∀ (z : Ω) (j : Fin N), have G := C.data.toPhysicalNoiseData.globalData z; G.W t i j * G.x t j - G.W s i j * G.x s j = XdW z j + Wdx z j + cov z j) (z : Ω) :
                have G := C.data.toPhysicalNoiseData.globalData z; rawInput (G.e t) (G.residue t) (G.W t) (G.x t) i - rawInput (G.e s) (G.residue s) (G.W s) (G.x s) i = G.e t i - G.e s i + (G.residue t i - G.residue s i) + ∑ j : Fin N, (XdW z j + Wdx z j + cov z j)

                SB1 SB1 stochastic version: stochasticProductCovariance is the exact unproved product formula for EACH constructed W_ij*x_j, with the two Ito integrals and quadratic-covariation increments supplied as XdW, Wdx, cov. Their construction/identification as those stochastic integrals remains open. Given that intermediate identity, the complete raw-input increment retains drive, residue, every row term and covariance, including all mode/world jumps. No derivative of Brownian paths or monotonic noisy increment is asserted.