MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch20.Continuation

theorem MindFormal.RetainedClock.native_endpoint_iff {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) (hH : 0 ≤ H) :
↑(release ρ (nativeActionHistory S) - H).toNNReal = ρ ↔ ∃ (k : ℕ) (i : Fin N), (S.search k).event = some (H, i)

24.10: a mark at the closed endpoint is detected by a full remaining refractory duration. This follows from the native last event and spacing, including an empty prefix; it is not an extra coordinate of the state.

theorem MindFormal.RetainedClock.native_endpoint_label_iff {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) (hH : 0 ≤ H) (i : Fin N) :
(∃ (k : ℕ), (S.search k).event = some (H, i)) ↔ ↑(release ρ (nativeActionHistory S) - H).toNNReal = ρ ∧ 0 ≤ g H i ∧ (∀ (j : Fin N), 0 ≤ g H j → f H j ≤ f H i) ∧ ∀ (j : Fin N), 0 ≤ g H j → f H j = f H i → i ≤ j

24.10: the label of an endpoint mark is recovered by the original guard, score and priority at that endpoint. Thus the closed-past indicator can be read from current arrays and remaining release, without a record field.

noncomputable def MindFormal.CurrentSegmentProgram.readActivity {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (p : P.State × Source) (t : ℝ) :
Fin (N a) → ℝ

24.10: the activity coordinates of the existing computed continuation, extended constantly outside its horizon solely to use the common read.

Equations
Instances For
    theorem MindFormal.CurrentSegmentProgram.readActivity_measurable {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (i : Fin (N a)) :
    Measurable fun (q : (P.State × Source) × ℝ) => P.readActivity a q.1 q.2 i

    24.10: evaluation at a variable recorded time is jointly measurable for the constructed continuous physical path; memory may still jump.

    theorem MindFormal.CurrentSegmentProgram.readActivity_continuous {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (p : P.State × Source) (i : Fin (N a)) :
    Continuous fun (t : NNReal) => P.readActivity a p (↑t) i

    24.10: each activity coordinate stays continuous; this property is derived from the existing residual solver, not a condition on the instrument.

    theorem MindFormal.CurrentSegmentProgram.answerRead_measurable {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) :
    MeasurableSet {p : P.State × Source | Readiness.answerRead (P.readActivity a p) (↑↑((P.residual p).history (a, false))) Q bar clearance 0 H}

    24.10: RD1.1's answer read is measurable on the actual computed continuation, using its own native V history and activities at that history.

    theorem MindFormal.CurrentSegmentProgram.understandingRead_measurable {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) :
    MeasurableSet {p : P.State × Source | Readiness.understandingRead (P.readActivity a p) Q bar clearance 0 H}

    24.10: the control's false-understanding read is the same fixed-carrier read on the computed continuous path, and is measurable without a native act.

    noncomputable def MindFormal.CurrentSegmentProgram.onsetSlot {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (s : P.State) :
    ActionSlot (Fin (N a))

    24.10: recover a closed-past onset action from the current release and the original native priority code. The endpoint lemma identifies this slot on reached states; no additional history is put in the current state.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.CurrentSegmentProgram.onsetSlot_measurable {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) :

      24.10: the onset slot is known from the current state by finite measurable native comparisons. No stopping or sufficiency premise is used.

      theorem MindFormal.CurrentSegmentProgram.onsetSlot_iff {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (s : P.State) (i : Fin (N a)) :
      P.onsetSlot a s = (0, Sum.inl i) ↔ ↑((s.1 a).2.2 false) = P.pause (a, false) ∧ NativeWinner ((P.guard (a, false)) (s.1 a).1) ((P.score (a, false)) (s.1 a).1) i

      24.10: decoding the onset slot preserves exactly the native winner, including ties and the empty-output case. Both sides concern one fixed label.

      theorem MindFormal.CurrentSegmentProgram.onsetSlot_time {A : Type u_1} {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (s : P.State) :
      (P.onsetSlot a s).1 = 0

      24.10: the recovered onset slot has elapsed time zero, whether it contains an actual action or the canonical absent marker.

      noncomputable def MindFormal.CurrentSegmentProgram.readRecord {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (p : P.State × Source) :
      ℕ → ActionSlot (Fin (N a))

      24.10: the same native future record with the recovered onset slot prepended. This is an output read, retaining the entry's inclusive convention.

      Equations
      Instances For
        theorem MindFormal.CurrentSegmentProgram.inclusive_answerRead_measurable {A : Type u_1} [Fintype A] [Nonempty A] {H : ℝ} {N n : A → ℕ} {T : A → Type u_2} {Λ : A → Type u_3} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {Memory : Type u_4} {Source : Type u_5} [MeasurableSpace Memory] [MeasurableSpace Source] (P : CurrentSegmentProgram A H N n T Λ Memory Source) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) :
        MeasurableSet {p : P.State × Source | Readiness.answerRead (P.readActivity a p) (P.readRecord a p) Q bar clearance 0 H}

        24.10: the common answer test remains measurable with its inclusive onset slot. Activities and both parts of the record are constructed above.

        theorem MindFormal.HomogeneousGroupWorld.onsetSlot_actual {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (τ : Ω → NNReal) (H : NNReal) (ω : Ω) (a : A) (i : Fin (N a)) :
        (W.program admission constant complete start H).onsetSlot a (W.currentState admission constant complete start τ ω) = (0, Sum.inl i) ↔ ∃ (k : ℕ), ((W.group admission constant complete start).data.globalData ω).finiteEvent (τ ω) (a, false) k = some (↑(τ ω), i)

        24.10: on the homogeneous constant-loading class the recovered onset slot is precisely a native act at the original onset, including onset zero. It is a function of the existing current state, with no sufficiency premise.

        theorem MindFormal.HomogeneousGroupWorld.readActivity_actual {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (τ : Ω → NNReal) (H : NNReal) :
        ∀ᵐ (ω : Ω) ∂G.μ, ∀ (a : A), ∀ t ∈ Set.Icc 0 ↑H, (W.program admission constant complete start H).readActivity a (W.currentState admission constant complete start τ ω, BrownianFiltration.continuousFuture (Sum.elim G.brownian W.world.privateSource) τ ω) t = mindActivity ↑((((W.group admission constant complete start).data.globalData ω).path a) (τ ω + t.toNNReal))

        24.10: the one activity read on the computed continuation equals the original own-noise activity at every elapsed time in the window, on one almost-sure event. The existing path restart supplies the identification.

        theorem MindFormal.HomogeneousGroupWorld.readRecord_actual {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (τ : Ω → NNReal) (H : NNReal) :
        ∀ᵐ (ω : Ω) ∂G.μ, ∀ (a : A), ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin (N a)), (∃ (k : ℕ), (W.program admission constant complete start H).readRecord a (W.currentState admission constant complete start τ ω, BrownianFiltration.continuousFuture (Sum.elim G.brownian W.world.privateSource) τ ω) k = (t, Sum.inl i)) ↔ ∃ (k : ℕ), ((W.group admission constant complete start).data.globalData ω).finiteEvent (τ ω + H) (a, false) k = some (↑(τ ω) + t, i)

        24.10: the inclusive record read has exactly the original marks in the onset window, with elapsed timestamps. The proof joins the recovered closed-cut mark to the already identified strictly future native history.

        def MindFormal.HomogeneousGroupWorld.answeredAfter {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) (τ : Ω → NNReal) (H : NNReal) :
        Set Ω

        RD6.1 on the restart class: RD1.1 read on the original physical path and original native V record, with both endpoints included.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def MindFormal.HomogeneousGroupWorld.understoodAfter {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) (τ : Ω → NNReal) (H : NNReal) :
          Set Ω

          RD6.1's control read on its own original path. The same construction is used for each arm; this definition supplies no comparison between arms.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MindFormal.HomogeneousGroupWorld.answeredAfter_actual {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) (τ : Ω → NNReal) (H : NNReal) :
            ∀ᵐ (ω : Ω) ∂G.μ, ω ∈ W.answeredAfter admission constant complete start a Q bar clearance τ H ↔ Readiness.answerRead ((W.program admission constant complete start H).readActivity a (W.currentState admission constant complete start τ ω, BrownianFiltration.continuousFuture (Sum.elim G.brownian W.world.privateSource) τ ω)) ((W.program admission constant complete start H).readRecord a (W.currentState admission constant complete start τ ω, BrownianFiltration.continuousFuture (Sum.elim G.brownian W.world.privateSource) τ ω)) Q bar clearance 0 ↑H

            RD6.2: the original answer event is the common measurable read on the existing computed continuation, including the state-known onset slot.

            theorem MindFormal.HomogeneousGroupWorld.understoodAfter_actual {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) (τ : Ω → NNReal) (H : NNReal) :
            ∀ᵐ (ω : Ω) ∂G.μ, ω ∈ W.understoodAfter admission constant complete start a Q bar clearance τ H ↔ Readiness.understandingRead ((W.program admission constant complete start H).readActivity a (W.currentState admission constant complete start τ ω, BrownianFiltration.continuousFuture (Sum.elim G.brownian W.world.privateSource) τ ω)) Q bar clearance 0 ↑H

            RD6.2: the false-understanding event is exactly the same concurrent carrier read on the control's constructed continuation.

            theorem MindFormal.HomogeneousGroupWorld.answer_continuation_own_floor {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) {τ : Ω → NNReal} (hτ : MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(τ ω)) (H : NNReal) :
            have B := W.answeredAfter admission constant complete start a Q bar clearance τ H; have ρ := fun (s : (W.program admission constant complete start H).State) => (W.group admission constant complete start).freshLaw.real {w : J ⊕ (W.group admission constant complete start).world.Private → C(NNReal, ℝ) | Readiness.answerRead ((W.program admission constant complete start H).readActivity a (s, w)) ((W.program admission constant complete start H).readRecord a (s, w)) Q bar clearance 0 ↑H}; (G.μ[B.indicator fun (x : Ω) => 1 | hτ.measurableSpace] =ᵐ[G.μ] fun (ω : Ω) => ρ (W.currentState admission constant complete start τ ω)) ∧ G.μ.real B = ∫ (s : CurrentGroupState A N n T Λ W.world.Memory), ρ s ∂MeasureTheory.Measure.map (W.currentState admission constant complete start τ) G.μ ∧ ∀ (y : CurrentGroupState A N n T Λ W.world.Memory), (∀ᵐ (ω : Ω) ∂G.μ, W.currentState admission constant complete start τ ω = y) → G.μ.real B = ρ y

            RD6.2 on every homogeneous constant-loading world at the ordinary floor. For a finite stopping onset (hence every bounded one), the conditional answer chance is the fresh-source response from the actual current state; the state-law mixture and fixed-state reduction follow. The onset mark is included via its state-known release/priority indicator, not a new mark. No Markov, restart, sufficiency, or event-measurability premise is supplied.

            theorem MindFormal.HomogeneousGroupWorld.false_continuation_own_floor {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (admission : ∀ (a : A), InstanceAdmission (I a)) (constant : (a : A) → ConstantInstanceNoise (I a)) (complete : CompletedEquationGround G) (start : (a : A) → EquationStart G (N a) (n a) (T a) (Λ a)) (a : A) (Q : Readiness.Instrument (N a)) (bar clearance : ℝ) {τ : Ω → NNReal} (hτ : MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(τ ω)) (H : NNReal) :
            have B := W.understoodAfter admission constant complete start a Q bar clearance τ H; have ρ := fun (s : (W.program admission constant complete start H).State) => (W.group admission constant complete start).freshLaw.real {w : J ⊕ (W.group admission constant complete start).world.Private → C(NNReal, ℝ) | Readiness.understandingRead ((W.program admission constant complete start H).readActivity a (s, w)) Q bar clearance 0 ↑H}; (G.μ[B.indicator fun (x : Ω) => 1 | hτ.measurableSpace] =ᵐ[G.μ] fun (ω : Ω) => ρ (W.currentState admission constant complete start τ ω)) ∧ G.μ.real B = ∫ (s : CurrentGroupState A N n T Λ W.world.Memory), ρ s ∂MeasureTheory.Measure.map (W.currentState admission constant complete start τ) G.μ ∧ ∀ (y : CurrentGroupState A N n T Λ W.world.Memory), (∀ᵐ (ω : Ω) ∂G.μ, W.currentState admission constant complete start τ ω = y) → G.μ.real B = ρ y

            RD6.2 on the same class, applied independently to the control arm: false-understanding conditional chance, current-state mixture and fixed-state reduction use the one concurrent carrier test. All finite stopping onsets and horizons are covered, including the requested positive horizons.