MindFormal v1.0.0One Mind

MindFormal.Run.CoupledMeasurability

02.12, B3: the variable slot of a finite typed history is jointly measurable in history and natural index. Labels carry any measurable space; no native-record or stochastic premise is used by this coding lemma.

02.12, B3: truncating a finite typed history is jointly measurable in the natural cutoff and history, with their product/subtype sigma algebras. It introduces no native-event, response-map or amplitude hypothesis.

noncomputable def MindFormal.historySlotTime {C : Type u_1} (H : ℝ) (p : ActionSlot C) :

02.12: the real hit time encoded by a typed history slot; an empty slot is sent past H. Native slots use the same sentinel as nativeHitTime.

Equations
Instances For

    02.12, B3: the optional-time decoding of a typed slot is measurable for finite labels and any real horizon. It includes the no-hit branch and does not assume measurability of the slot-producing algorithm.

    theorem MindFormal.native_history_slot_time {N : ℕ} {g v : ℝ → Fin N → ℝ} {H pause : ℝ} (s : NativeSchedule g v H pause) (j : ℕ) :

    02.12: decoding a native history slot recovers its exact optional first-hit time for any native schedule and index. This is an algebraic identity, including terminal slots, used for constant-additive coupling.

    theorem MindFormal.coupled_release_history {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) :
    P.release c = if P.count c = 0 then 0 else (↑↑(P.history c) (P.count c - 1)).1 + F.pause c

    02.12: a merged prefix's next release is zero when no event is accepted, and otherwise the last accepted history time plus its pause. Full CoupledFlow/prefix invariants prove the formula; no release agreement or post-deferral release convention is assumed.

    theorem MindFormal.coupled_stepCount_hit {H : ℝ} {N : ℕ} {E : Type u_1} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (c : Bool) :

    02.12: a clock advances its accepted count precisely when its encoded next hit equals the merged switch. The no-hit sentinel is beyond H, whereas the actual switch is at most H; native rules and the full prefix invariants therefore justify the measurable equality test.

    def MindFormal.CoupledPrefixMeasurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (P : (z : Ω) → CoupledPrefix (F z)) :

    02.12, B3: measurability of the stored history, two counts and cursor of a parameterized actual prefix. The changing proof fields need no sigma algebra.

    Equations
    Instances For
      theorem MindFormal.coupled_next_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (hpause : ∀ (c : Bool), Measurable fun (z : Ω) => (F z).pause c) (hrecords : ∀ (c : Bool), Measurable fun (p : Ω × ClockHistories N) => nativeActionHistory ((F p.1).schedule p.2 c)) (P : (z : Ω) → CoupledPrefix (F z)) (hP : CoupledPrefixMeasurable F P) :
      Measurable fun (z : Ω) => (P z).nextValue

      02.12, B3: the merged minimum switch is measurable for a measurable family of actual prefixes. Hypotheses are arbitrary measurable parameters, causal CoupledFlows, measurable pauses, and joint measurability of the native histories observed on PRESCRIBED-history responses. That latter map precedes coupling and follows from a measurable solver and native observations; its physical primitive proof remains separate. No coupled-run measurability is assumed. The physical application has constant additive amplitudes.

      theorem MindFormal.coupled_step_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (hpause : ∀ (c : Bool), Measurable fun (z : Ω) => (F z).pause c) (hrecords : ∀ (c : Bool), Measurable fun (p : Ω × ClockHistories N) => nativeActionHistory ((F p.1).schedule p.2 c)) (P : (z : Ω) → CoupledPrefix (F z)) (hP : CoupledPrefixMeasurable F P) :
      CoupledPrefixMeasurable F fun (z : Ω) => (P z).step

      02.12, B3: one actual merged step preserves measurable dependence of histories, counts and cursor. The complete parameter assumptions are those of coupled_next_measurable: measurable pauses and jointly measurable native observations on prescribed responses, plus a measurable starting prefix. Both simultaneous selections use the old state. No measurable coupled step or assembled run is a premise; constant additive loading is the physical scope.

      theorem MindFormal.coupled_initial_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) :
      CoupledPrefixMeasurable F fun (z : Ω) => (F z).initial

      02.12, B3: the empty initial prefix is measurable in arbitrary parameters for any family of causal CoupledFlows. Its histories, counts and cursor are constant, so no measurable solver premise is needed at this point.

      theorem MindFormal.coupled_initialized_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (hpause : ∀ (c : Bool), Measurable fun (z : Ω) => (F z).pause c) (hrecords : ∀ (c : Bool), Measurable fun (p : Ω × ClockHistories N) => nativeActionHistory ((F p.1).schedule p.2 c)) :
      CoupledPrefixMeasurable F fun (z : Ω) => (F z).initialized

      02.12, B3: resolving all initial zero-time hits is measurable under measurable pauses and jointly measurable native records on prescribed responses. The starting prefix and the merged step are already constructed; no negativity of initial guards or coupled measurability premise is added. The physical application remains the constant-additive class.

      theorem MindFormal.coupled_iterate_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (hpause : ∀ (c : Bool), Measurable fun (z : Ω) => (F z).pause c) (hrecords : ∀ (c : Bool), Measurable fun (p : Ω × ClockHistories N) => nativeActionHistory ((F p.1).schedule p.2 c)) (j : ℕ) :
      CoupledPrefixMeasurable F fun (z : Ω) => (F z).iterate j

      02.12, B3: every finite actual merged iteration is measurable in arbitrary parameters, assuming measurable pauses and joint native-record observations on prescribed responses. Induction includes initialization, release/expiry-only switches and simultaneous hits. It assumes no measurable coupled iteration or supplied event sequence; the physical scope is constant additive loading.

      theorem MindFormal.coupled_horizon_exists {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : CoupledFlow H N E) :
      ∃ (j : ℕ), ↑(F.iterate j).time = H

      02.12: some finite initialized iteration reaches the horizon, under the full causal CoupledFlow assumptions. This consequence of the proved termination theorem supplies an existence witness for measurable least-index selection, rather than assuming a terminating stochastic algorithm.

      theorem MindFormal.coupled_horizon_step_complete {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] {F : CoupledFlow H N E} (P : CoupledPrefix F) (ht : ↑P.time = H) (c : Bool) :

      02.12: a step taken from any accepted prefix at H has both complete native histories. Positive pauses and the proved step's strict next-hit property force terminal deferral, including H=0. No complete-record premise is added to the full causal flow and prefix invariants.

      noncomputable def MindFormal.CoupledFlow.chosenHistory {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : CoupledFlow H N E) :

      02.12: select the uniquely constructed native history pair.

      Equations
      Instances For

        02.12: the selected history pair is native for its own causal response. This is derived from finite assembly under the full CoupledFlow assumptions, and is not a supplied consistency premise. The physical flow is for constant additive drivers.

        theorem MindFormal.coupled_chosen_history_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (hpause : ∀ (c : Bool), Measurable fun (z : Ω) => (F z).pause c) (hrecords : ∀ (c : Bool), Measurable fun (p : Ω × ClockHistories N) => nativeActionHistory ((F p.1).schedule p.2 c)) :
        Measurable fun (z : Ω) => (F z).chosenHistory

        02.12, B3: the uniquely assembled whole native history pair is measurable. Parameters are arbitrary measurable data; pauses and native histories observed on prescribed responses are jointly measurable. The first iteration reaching H is selected measurably, its complete records are proved, and coupled uniqueness identifies every choice with that selection. No measurable coupled solution or termination index is assumed. The outstanding physical application is to prove the prescribed-response parameter map from primitive data; the intended stochastic class has constant additive loading.

        theorem MindFormal.coupled_chosen_path_measurable {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} {E : Type u_2} [TopologicalSpace E] (F : Ω → CoupledFlow H N E) (hpause : ∀ (c : Bool), Measurable fun (z : Ω) => (F z).pause c) (hrecords : ∀ (c : Bool), Measurable fun (p : Ω × ClockHistories N) => nativeActionHistory ((F p.1).schedule p.2 c)) (hresponse : Measurable fun (p : Ω × ClockHistories N) => (F p.1).path p.2) :
        Measurable fun (z : Ω) => (F z).path (F z).chosenHistory

        02.12, B3: the assembled continuous path is measurable whenever the prescribed-response path map is jointly measurable, pauses are measurable, and the native observations on those prescribed responses are jointly measurable. The latter observations can be supplied by the previously proved native guard/score kernels. Coupled history selection is proved here, not a premise. This is a conditional B3 theorem, not a proof of physical solver measurability from primitive data, and its physical use is constant additive.