MindFormal v1.0.0One Mind

MindFormal.Example.PageBankClocks

Bounded clocks derived from the bank's actual first native action.

noncomputable def MindFormal.PageBank.InWorld.headerClock {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (ω : Ω) :

First native action, capped at the header deadline only when necessary.

Equations
Instances For
    theorem MindFormal.PageBank.InWorld.coe_headerClock {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (ω : Ω) :
    ↑(headerClock P s hs G hG H W ω) = min (((experimentWorld P s hs G hG H W).supportHistory ω).hitTime false 0) ↑(1 / 100)
    theorem MindFormal.PageBank.InWorld.headerClock_stopping {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) :
    MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(headerClock P s hs G hG H W ω)

    The header clock is a stopping time by the original run's native-clock theorem. Neither a clock nor its stopping property is supplied as a premise.

    theorem MindFormal.PageBank.InWorld.headerClock_le {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (ω : Ω) :
    headerClock P s hs G hG H W ω ≤ 1 / 100
    theorem MindFormal.PageBank.InWorld.headerClock_hit {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (B : NNReal) (ω : Ω) {t : ℝ} {i : Fin 3} (he : ((((experimentWorld P s hs G hG H W).supportHistory ω).native (↑B) false).search 0).event = some (t, i)) (ht : t ≤ 1 / 100) :
    headerClock P s hs G hG H W ω = t.toNNReal

    An actual first hit by .01 is the capped header clock itself.

    noncomputable def MindFormal.PageBank.InWorld.blockClock {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (k : ℕ) (ω : Ω) :

    Gate starts are .2 apart from the random first native action.

    Equations
    Instances For
      theorem MindFormal.PageBank.InWorld.blockClock_stopping {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (k : ℕ) :
      MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(blockClock P s hs G hG H W k ω)
      theorem MindFormal.PageBank.InWorld.blockClock_succ {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (k : ℕ) (ω : Ω) :
      blockClock P s hs G hG H W (k + 1) ω = blockClock P s hs G hG H W k ω + 1 / 5
      theorem MindFormal.PageBank.InWorld.blockClock_bound {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (k : ℕ) (ω : Ω) :
      blockClock P s hs G hG H W k ω ≤ 1 / 100 + ↑k * (1 / 5)
      theorem MindFormal.PageBank.InWorld.stopped_state_measurable {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (τ : Ω → NNReal) (hτ : MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(τ ω)) :
      Measurable fun (ω : Ω) => ((experimentWorld P s hs G hG H W).supportHistory ω).path (τ ω)

      The original continuous adapted state is measurable at any stopping clock.

      theorem MindFormal.PageBank.InWorld.header_state_measurable {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) :
      Measurable fun (ω : Ω) => ((experimentWorld P s hs G hG H W).supportHistory ω).path (headerClock P s hs G hG H W ω)

      The full physical state at the header clock is known at that clock. This uses the original run's adaptation and continuity, without conditioning on innovations after its first native act.

      theorem MindFormal.PageBank.InWorld.block_state_measurable {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) (k : ℕ) :
      Measurable fun (ω : Ω) => ((experimentWorld P s hs G hG H W).supportHistory ω).path (blockClock P s hs G hG H W k ω)

      State at a gate release is known at that release.

      @[reducible, inline]
      noncomputable abbrev MindFormal.PageBank.headerClock {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (ω : Ω) :

      The delivered exact-world instance of InWorld.headerClock.

      Equations
      Instances For
        @[reducible, inline]
        abbrev MindFormal.PageBank.coe_headerClock {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (ω : Ω) :
        ↑(InWorld.headerClock P s hs G hG H (experiment P s hs G hG H).world ω) = min (((experimentWorld P s hs G hG H (experiment P s hs G hG H).world).supportHistory ω).hitTime false 0) ↑(1 / 100)

        The delivered exact-world instance of InWorld.coe_headerClock.

        Equations
        • ⋯ = ⋯
        Instances For
          @[reducible, inline]
          abbrev MindFormal.PageBank.headerClock_stopping {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) :
          MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(InWorld.headerClock P s hs G hG H (experiment P s hs G hG H).world ω)

          The delivered exact-world instance of InWorld.headerClock_stopping.

          Equations
          • ⋯ = ⋯
          Instances For
            @[reducible, inline]
            abbrev MindFormal.PageBank.headerClock_le {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (ω : Ω) :
            InWorld.headerClock P s hs G hG H (experiment P s hs G hG H).world ω ≤ 1 / 100

            The delivered exact-world instance of InWorld.headerClock_le.

            Equations
            • ⋯ = ⋯
            Instances For
              @[reducible, inline]
              abbrev MindFormal.PageBank.headerClock_hit {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H B : NNReal) (ω : Ω) {t : ℝ} {i : Fin 3} (he : ((((experimentWorld P s hs G hG H (experiment P s hs G hG H).world).supportHistory ω).native (↑B) false).search 0).event = some (t, i)) (ht : t ≤ 1 / 100) :
              InWorld.headerClock P s hs G hG H (experiment P s hs G hG H).world ω = t.toNNReal

              The delivered exact-world instance of InWorld.headerClock_hit.

              Equations
              • ⋯ = ⋯
              Instances For
                @[reducible, inline]
                noncomputable abbrev MindFormal.PageBank.blockClock {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (k : ℕ) (ω : Ω) :

                The delivered exact-world instance of InWorld.blockClock.

                Equations
                Instances For
                  @[reducible, inline]
                  abbrev MindFormal.PageBank.blockClock_stopping {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (k : ℕ) :
                  MeasureTheory.IsStoppingTime G.filtration fun (ω : Ω) => ↑(InWorld.blockClock P s hs G hG H (experiment P s hs G hG H).world k ω)

                  The delivered exact-world instance of InWorld.blockClock_stopping.

                  Equations
                  • ⋯ = ⋯
                  Instances For
                    @[reducible, inline]
                    abbrev MindFormal.PageBank.blockClock_succ {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (k : ℕ) (ω : Ω) :
                    InWorld.blockClock P s hs G hG H (experiment P s hs G hG H).world (k + 1) ω = InWorld.blockClock P s hs G hG H (experiment P s hs G hG H).world k ω + 1 / 5

                    The delivered exact-world instance of InWorld.blockClock_succ.

                    Equations
                    • ⋯ = ⋯
                    Instances For
                      @[reducible, inline]
                      abbrev MindFormal.PageBank.blockClock_bound {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (k : ℕ) (ω : Ω) :
                      InWorld.blockClock P s hs G hG H (experiment P s hs G hG H).world k ω ≤ 1 / 100 + ↑k * (1 / 5)

                      The delivered exact-world instance of InWorld.blockClock_bound.

                      Equations
                      • ⋯ = ⋯
                      Instances For
                        @[reducible, inline]
                        abbrev MindFormal.PageBank.header_state_measurable {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) :
                        Measurable fun (ω : Ω) => ((experimentWorld P s hs G hG H (experiment P s hs G hG H).world).supportHistory ω).path (InWorld.headerClock P s hs G hG H (experiment P s hs G hG H).world ω)

                        The delivered exact-world instance of InWorld.header_state_measurable.

                        Equations
                        • ⋯ = ⋯
                        Instances For