MindFormal v1.0.0One Mind

MindFormal.Run.A1067NativeFlowKernel.Ident

The functional reads the native records off the flow (P3-61 C.3–C.4). For one stimulus, on the ground of a native run, the flow data Ψ_R hold the run's start and, for each word, the localized flow's continuous version at radius R. Once R exceeds the run's size on [0, H], the deterministic functional applied to Ψ_R reproduces, step by step, the native focus record (each step's path is the flow along the schedule truncated after the foci so far, which is the run up to the next focus), and then the native first-action record: the action indicator and the first-action label indicators of the functional are those of the run, almost surely.

Truncated schedules #

def MindFormal.A1067NativeFlowKernel.RSched.trunc {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) (j : ℕ) :
RSched ℱ H k N

A random schedule truncated after its first j foci: later foci at H with label 0.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.A1067NativeFlowKernel.RSched.trunc_times {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) (j : ℕ) (ω : Ω) :
    (S.trunc j).times ω = fun (i : Fin k) => if ↑i < j then ↑(S.time i ω) else ↑H
    theorem MindFormal.A1067NativeFlowKernel.RSched.trunc_mode_eq {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H ρ : NNReal} (S : RSched ℱ H k N) (hmono : ∀ (ω : Ω) (i i' : Fin k), i ≤ i' → S.time i ω ≤ S.time i' ω) (j : Fin k) {u : NNReal} {ω : Ω} (hu : u ≤ S.time j ω) :
    mode ρ (S.trunc ↑j) (u, ω) = mode ρ S (u, ω)

    Before the j-th focus of a schedule with ordered times, the truncation attends as the schedule.

    theorem MindFormal.A1067NativeFlowKernel.RSched.trunc_k_mode {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H ρ : NNReal} (S : RSched ℱ H k N) (z : NNReal × Ω) :
    mode ρ (S.trunc k) z = mode ρ S z

    The full truncation attends as the schedule.

    The flow data of a version #

    def MindFormal.A1067NativeFlowKernel.flowMapOf {N n p q k : ℕ} {Ω : Type u_1} {H : NNReal} (R : NNReal) {Y : (Fin k → Fin N) → Par N n p q k → Ω → C(↑(HorizonTime ↑H), St N n p q)} (hYc : ∀ (w : Fin k → Fin N) (ω : Ω), Continuous fun (θ : Par N n p q k) => Y w θ ω) (z : ℝ) (ω : Ω) (w : Fin k → Fin N) :
    C(St N n p q × (Fin k → ℝ), C(↑(HorizonTime ↑H), St N n p q))

    The continuous flow map of a version at a stimulus, radius and word.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def MindFormal.A1067NativeFlowKernel.flowData {N n p q k : ℕ} {Ω : Type u_1} {H : NNReal} (R : NNReal) {Y : (Fin k → Fin N) → Par N n p q k → Ω → C(↑(HorizonTime ↑H), St N n p q)} (hYc : ∀ (w : Fin k → Fin N) (ω : Ω), Continuous fun (θ : Par N n p q k) => Y w θ ω) (z : ℝ) (s : Ω → St N n p q) (ω : Ω) :
      FData (St N n p q) k N H

      The flow data Ψ_R(z, ω): the start and the flow maps.

      Equations
      Instances For
        theorem MindFormal.A1067NativeFlowKernel.stepPath_oneHot {N n p q k : ℕ} [NeZero N] {H : NNReal} (e : FData (St N n p q) k N H) (t : Fin k → ℝ) (w₀ : Fin k → Fin N) (r : ℝ) :
        stepPath e (t, fun (w : Fin k → Fin N) => if w = w₀ then 1 else 0, r) = (e.2 w₀) (e.1, t)

        The path of one-hot step data is the flow at that word.

        theorem MindFormal.A1067NativeFlowKernel.RSched.trunc_succ_times {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) {j : ℕ} (hj : j < k) (ω : Ω) :
        (S.trunc (j + 1)).times ω = Function.update ((S.trunc j).times ω) ⟨j, hj⟩ ↑(S.time ⟨j, hj⟩ ω)
        theorem MindFormal.A1067NativeFlowKernel.RSched.trunc_succ_label {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) {j : ℕ} (hj : j < k) (ω : Ω) :
        (S.trunc (j + 1)).label ω = Function.update ((S.trunc j).label ω) ⟨j, hj⟩ (S.label ω ⟨j, hj⟩)
        theorem MindFormal.A1067NativeFlowKernel.RSched.trunc_label_self {N k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) {j : ℕ} (hj : j < k) (ω : Ω) :
        (S.trunc j).label ω ⟨j, hj⟩ = 0
        theorem MindFormal.A1067NativeFlowKernel.oneHot_update_mul {N k : ℕ} [NeZero N] {w₀ : Fin k → Fin N} (j : Fin k) (hj : w₀ j = 0) (l : Fin N) (w : Fin k → Fin N) :
        ((if Function.update w j 0 = w₀ then 1 else 0) * if w j = l then 1 else 0) = if w = Function.update w₀ j l then 1 else 0

        The native step data #

        noncomputable def MindFormal.A1067NativeFlowKernel.fSched {N n p q m : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ω : Ω) :

        The native focus schedule of a run at a sample, as a native schedule.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MindFormal.A1067NativeFlowKernel.aSched {N n p q m : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ω : Ω) :

          The native action schedule of a run at a sample.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MindFormal.A1067NativeFlowKernel.fslot_eq_event {N n p q m : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (j : ℕ) (ω : Ω) :
            fslot E H j ω = match ((fSched E ω).search j).event with | none => emptyActionSlot (Fin N) | some p => (p.1, Sum.inl p.2)
            theorem MindFormal.A1067NativeFlowKernel.aslot_eq_event {N n p q m : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ω : Ω) :
            ↑↑(E.observed.records H ω () false) 0 = match ((aSched E ω).search 0).event with | none => emptyActionSlot (Fin N) | some p => (p.1, Sum.inl p.2)
            def MindFormal.A1067NativeFlowKernel.readG {N n p q : ℕ} (Rd : PhysicalNativeReads N n (Fin p)) (c : Bool) (v : St N n p q) :
            Fin N → ℝ

            The focus guards and scores, and the action guards and scores, of a member's reads.

            Equations
            Instances For
              def MindFormal.A1067NativeFlowKernel.readS {N n p q : ℕ} (Rd : PhysicalNativeReads N n (Fin p)) (c : Bool) (v : St N n p q) :
              Fin N → ℝ
              Equations
              Instances For
                noncomputable def MindFormal.A1067NativeFlowKernel.nRel {N n p q m : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ρ : NNReal) (ω : Ω) :
                ℕ → ℝ

                The native next releases.

                Equations
                Instances For
                  noncomputable def MindFormal.A1067NativeFlowKernel.nData {N n p q m k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ρ : NNReal) (j : ℕ) (ω : Ω) :
                  SData k N

                  The native step data after j foci.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem MindFormal.A1067NativeFlowKernel.slotFull_iff_event {N n p q m : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (j : ℕ) (ω : Ω) :
                    SlotFull (fslot E H j ω) ↔ ((fSched E ω).search j).event ≠ none
                    theorem MindFormal.A1067NativeFlowKernel.slotFull_down {N n p q m : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) {i j : ℕ} (hij : i < j) (ω : Ω) (hj : SlotFull (fslot E H j ω)) :
                    SlotFull (fslot E H i ω)
                    theorem MindFormal.A1067NativeFlowKernel.nTime_mono {N n p q m k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ω : Ω) (i i' : Fin k) (hii : i ≤ i') :
                    nTime H k E i ω ≤ nTime H k E i' ω
                    theorem MindFormal.A1067NativeFlowKernel.fSched_release {N n p q m : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) {ρ : NNReal} (hρ : (E.observed.member ()).pause true = ↑ρ) (ω : Ω) (j : ℕ) :
                    (∀ i < j, SlotFull (fslot E H i ω)) → (fSched E ω).release j = nRel E ρ ω j

                    The native releases: while every earlier focus happened, the j-th search opens at the native release.

                    noncomputable def MindFormal.A1067NativeFlowKernel.stepHorizon {N n p q m k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (j : ℕ) (ω : Ω) :

                    The time up to which the path of step j must be the run.

                    Equations
                    Instances For
                      theorem MindFormal.A1067NativeFlowKernel.nLabel_of_slot {N n p q m k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) {j : Fin k} {ω : Ω} {a : ℝ} {l : Fin N} (h : fslot E H (↑j) ω = (a, Sum.inl l)) :
                      nLabel H k E ω j = l
                      theorem MindFormal.A1067NativeFlowKernel.nLabel_of_empty {N n p q m k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) {j : Fin k} {ω : Ω} (h : ¬SlotFull (fslot E H (↑j) ω)) :
                      nLabel H k E ω j = 0
                      theorem MindFormal.A1067NativeFlowKernel.iterData_eq_nData {N n p q m k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : NExp hB N n p q) (ω : Ω) (hrel : ∀ (c : Bool), E.observed.release () ω c = 0) {ρ : NNReal} (hρ : (E.observed.member ()).pause true = ↑ρ) (e : FData (St N n p q) k N H) (hag : ∀ j ≤ k, ∀ (t : ↑(HorizonTime ↑H)), ↑t ≤ stepHorizon E j ω → (stepPath e (nData E ρ j ω)) t = (processPath ⋯ H ω) t) (j : ℕ) :
                      j ≤ k → iterData H (readG (E.observed.member ()).reads true) (readS (E.observed.member ()).reads true) (↑ρ) j e = nData E ρ j ω

                      Pathwise, the functional's step data are the native ones, given that the path of each step is the run up to that step's focus.

                      The identification #

                      theorem MindFormal.A1067NativeFlowKernel.flow_identifies {N n p q m k : ℕ} [NeZero N] {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (I : EquationInstance N n (Fin p) (Fin q) (Fin m)) (hI : GroupsWorld.HSInstanceAdmission I) (inp : InputFamily N) (U : NNReal) (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (E : NExp hB N n p q) (hmem : E.observed.member () = I) (floor : A674GeneralNoise.FloorOnly E) (hrel : ∀ (ω : Ω) (c : Bool), E.observed.release () ω c = 0) (hpulse : ∀ (ω : Ω) (i : Fin N), E.observed.pulseRemaining () ω i = 0) (hU : inp.bound ≤ U) (z : ℝ) (hin : ∀ (t : NNReal) (ω : Ω), E.observed.input t ω () = inp.u z t) {ρ : NNReal} (hρ : (E.observed.member ()).pause true = ↑ρ) (hk : ⌊↑H / ↑ρ⌋₊ < k) (Y : ℕ → (Fin k → Fin N) → Par N n p q k → Ω → C(↑(HorizonTime ↑H), St N n p q)) (hY : ∀ (R : ℕ) (w : Fin k → Fin N) (θ : Par N n p q k), Y R w θ =ᵐ[μ] pathOn H (flowSol I hI inp H ρ U (↑R) hB hnull w θ) ⋯) (hYc : ∀ (R : ℕ) (w : Fin k → Fin N) (ω : Ω), Continuous fun (θ : Par N n p q k) => Y R w θ ω) :
                      ∀ᵐ (ω : Ω) ∂μ, ∀ᶠ (R : ℕ) in Filter.atTop, (actFn H (readG (E.observed.member ()).reads true) (readS (E.observed.member ()).reads true) (↑ρ) (readG (E.observed.member ()).reads false) (flowData ↑R ⋯ z (fun (ω : Ω) => E.observed.path () 0 ω) ω) = if SlotFull (↑↑(E.observed.records H ω () false) 0) then 1 else 0) ∧ ∀ (l : Fin N), markFn H (readG (E.observed.member ()).reads true) (readS (E.observed.member ()).reads true) (↑ρ) (readG (E.observed.member ()).reads false) (readS (E.observed.member ()).reads false) l (flowData ↑R ⋯ z (fun (ω : Ω) => E.observed.path () 0 ω) ω) = if (↑↑(E.observed.records H ω () false) 0).2 = Sum.inl l then 1 else 0

                      The functional reads the native first-action record off the flow data, almost surely, at every large radius.