MindFormal v1.0.0One Mind

MindFormal.Run.A771GlobalWellPosed.Stages

02.12, G01: the stages of any process. A process with continuous adapted paths has its own native records on the bridge's horizon; reading them in time order gives its stages: stage 0 at time 0 with no record accepted, and stage k + 1 at the first record not yet accepted, never before the current switch, accepting the records up to it (candStage, built with the bridge's stepTime and stepHist, so every switch is a stopping time and its records are known there). Every record before the next switch is accepted (cand_accepted); so, up to the next switch, the strict past of the process's own action record is that of the accepted history, and before it so is its focus pulse (cand_actionPast, cand_pulse). The mind's own coefficients along the process therefore read, up to the next switch, the accepted history alone (ownArgs_eq_stage). Each stage with a new record accepts one more, and the count caps bound the records, so after the bridge's number of stages every switch is at infinity (candStage_top).

structure MindFormal.A771GlobalWellPosed.CandStage {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (M : StateMindData Ω N n T Λ J) :
Type u_1

02.12: a stage of a process: its switch, a stopping time, and the records accepted there, known there.

Instances For
    noncomputable def MindFormal.A771GlobalWellPosed.candNext {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) :

    02.12: the next stage of a process: switched at its first record not yet accepted, accepting its records up to that switch.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def MindFormal.A771GlobalWellPosed.candBase {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (M : StateMindData Ω N n T Λ J) :

      02.12: the base stage: time 0, no record accepted.

      Equations
      Instances For
        def MindFormal.A771GlobalWellPosed.candStage {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) :

        02.12: the stages of a process.

        Equations
        Instances For
          theorem MindFormal.A771GlobalWellPosed.candStage_succ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (k : ℕ) :
          candStage hX hXa (k + 1) = candNext hX hXa (candStage hX hXa k)
          theorem MindFormal.A771GlobalWellPosed.candNext_time {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) (ω : Ω) :
          (candNext hX hXa st).time ω = max (st.time ω) (firstNew M.cap (procRecords M.reads M.pause ⋯ hX M.horizon ω) (st.hist ω))
          theorem MindFormal.A771GlobalWellPosed.le_candNext {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) (ω : Ω) :
          st.time ω ≤ (candNext hX hXa st).time ω
          theorem MindFormal.A771GlobalWellPosed.candStage_mono {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) {k m : ℕ} (hkm : k ≤ m) (ω : Ω) :
          (candStage hX hXa k).time ω ≤ (candStage hX hXa m).time ω
          theorem MindFormal.A771GlobalWellPosed.candNext_hist_val {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) (ω : Ω) (c : Bool) (j : ℕ) :
          ↑↑((candNext hX hXa st).hist ω c) j = if slotTime (↑(procRecord M.reads M.pause ⋯ hX M.horizon ω c) j) ≤ (candNext hX hXa st).time ω then ↑(procRecord M.reads M.pause ⋯ hX M.horizon ω c) j else emptyActionSlot (Fin N)
          def MindFormal.A771GlobalWellPosed.CandInv {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (st : CandStage M) (ω : Ω) :

          02.12: the invariant of a process's stage: every accepted record is a record of the process at or before the switch, and every record before the switch is accepted.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MindFormal.A771GlobalWellPosed.candBase_inv {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (ω : Ω) :
            CandInv hX (candBase M) ω
            theorem MindFormal.A771GlobalWellPosed.candNext_inv {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) (ω : Ω) :
            CandInv hX (candNext hX hXa st) ω
            theorem MindFormal.A771GlobalWellPosed.candStage_inv {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (k : ℕ) (ω : Ω) :
            CandInv hX (candStage hX hXa k) ω
            theorem MindFormal.A771GlobalWellPosed.cand_accepted {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) {ω : Ω} (hinv : CandInv hX st ω) (c : Bool) (j : ℕ) (hf : SlotFull (↑(procRecord M.reads M.pause ⋯ hX M.horizon ω c) j)) (hlt : slotTime (↑(procRecord M.reads M.pause ⋯ hX M.horizon ω c) j) < (candNext hX hXa st).time ω) :
            SlotFull (↑↑(st.hist ω c) j)

            Every record of a process before its next switch is accepted.

            theorem MindFormal.A771GlobalWellPosed.cand_actionPast {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) {ω : Ω} (hinv : CandInv hX st ω) {s : NNReal} (hs : ↑s ≤ (candNext hX hXa st).time ω) :
            actionPast ↑s ↑(st.hist ω false) = actionPast (↑s) (procRecord M.reads M.pause ⋯ hX M.horizon ω false)

            Up to the next switch, the process's own action record has the accepted history's strict past.

            theorem MindFormal.A771GlobalWellPosed.cand_pulse {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) {ω : Ω} (hinv : CandInv hX st ω) {s : NNReal} (hs : ↑s < (candNext hX hXa st).time ω) :
            historyPulse (M.pause true) ↑(st.hist ω true) ↑s = historyPulse (M.pause true) (procRecord M.reads M.pause ⋯ hX M.horizon ω true) ↑s

            Before the next switch, the process's own focus record has the accepted history's pulse.

            noncomputable def MindFormal.A771GlobalWellPosed.histArgs {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (M : StateMindData Ω N n T Λ J) (h : ClockHistories N) (z : NNReal × Ω) (x : MindState (Fin N) n T Λ) :
            MindArguments (Fin N) n T Λ

            02.12: the arguments the mind's coefficients read at a fixed history, after time 0.

            Equations
            Instances For
              theorem MindFormal.A771GlobalWellPosed.ownArgs_eq_stage {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) {ω : Ω} (hinv : CandInv hX st ω) {s : NNReal} (hs : ↑s ≤ (candNext hX hXa st).time ω) (x : MindState (Fin N) n T Λ) :
              M.pieceArgs (fun (x : Ω) => 0) (ownRecs M hX) (s, ω) x = histArgs M (st.hist ω) (s, ω) x

              Up to the next switch, the mind's own coefficients along a process read the accepted history.

              noncomputable def MindFormal.A771GlobalWellPosed.candCount {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} (st : CandStage M) (ω : Ω) :

              The number of records a stage has accepted, within the cap.

              Equations
              Instances For
                theorem MindFormal.A771GlobalWellPosed.candCount_le {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} (st : CandStage M) (ω : Ω) :
                candCount st ω ≤ 2 * M.cap
                theorem MindFormal.A771GlobalWellPosed.candCount_lt {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (st : CandStage M) {ω : Ω} (hinv : CandInv hX st ω) (hne : firstNew M.cap (procRecords M.reads M.pause ⋯ hX M.horizon ω) (st.hist ω) ≠ ⊤) :
                candCount st ω < candCount (candNext hX hXa st) ω

                A stage with a new record accepts one more.

                theorem MindFormal.A771GlobalWellPosed.candStage_top {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {M : StateMindData Ω N n T Λ J} {X : NNReal → Ω → MindState (Fin N) n T Λ} (hX : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) (hXa : MeasureTheory.StronglyAdapted M.filtration X) (ω : Ω) :
                (candStage hX hXa M.stages).time ω = ⊤

                The switching of a process ends: after the bridge's number of stages its switch is at infinity, on every path.