MindFormal v1.0.0One Mind

MindFormal.Tools.A753ReadRepairs.ClockComparison

The reflected moving-target comparison read on a deterministic clock: its driver is 𝒒(s) = x0 + π’œ(s) + Z(V(s)) for a standard Brownian motion Z and a continuous clock V with a positive lower slope. The comparison reaching a level weakly and strictly are the same event up to a null set; on the dyadic grid its survival is the Gaussian integral of independent increments of variances V(z_β„“) - V(z_{β„“-1}), and these converge to the continuous survival.

A deterministic clock on [0, H]: continuous, zero at zero, with a positive lower slope.

Instances For
    theorem MindFormal.A753ReadRepairs.ClockData.nonneg {H : NNReal} (K : ClockData H) {s : ℝ} (hs : s ∈ Set.Icc 0 ↑H) :
    0 ≀ K.V s
    theorem MindFormal.A753ReadRepairs.ClockData.strict {H : NNReal} (K : ClockData H) {a b : ℝ} (ha : 0 ≀ a) (hab : a < b) (hb : b ≀ ↑H) :
    K.V a < K.V b
    theorem MindFormal.A753ReadRepairs.ClockData.mono {H : NNReal} (K : ClockData H) {a b : ℝ} (ha : 0 ≀ a) (hab : a ≀ b) (hb : b ≀ ↑H) :
    K.V a ≀ K.V b

    The clock on the horizon, as nonnegative times.

    Equations
    Instances For
      theorem MindFormal.A753ReadRepairs.ClockData.map_coe {H : NNReal} (K : ClockData H) (s : ↑(HorizonTime ↑H)) :
      ↑(K.map s) = K.V ↑s
      theorem MindFormal.A753ReadRepairs.ClockData.map_mono {H : NNReal} (K : ClockData H) {s t : ↑(HorizonTime ↑H)} (hst : s ≀ t) :
      K.map s ≀ K.map t

      The horizon-clamped time.

      Equations
      Instances For
        noncomputable def MindFormal.A753ReadRepairs.clockG {Ξ© : Type u_1} {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (Ο‰ : Ξ©) :
        C(↑(HorizonTime ↑H), ℝ)

        The clock-read driver 𝒒(s) = x0 + π’œ(s) + Z(V(s)) on the horizon.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MindFormal.A753ReadRepairs.clockW {Ξ© : Type u_1} {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (t : NNReal) (Ο‰ : Ξ©) :

          The clock-read driver without its start, globally on the time axis, held after H.

          Equations
          Instances For
            theorem MindFormal.A753ReadRepairs.clockW_continuous {Ξ© : Type u_1} {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (Ο‰ : Ξ©) :
            Continuous fun (t : NNReal) => clockW Ξ½ c hc x0 K Z hZc t Ο‰
            noncomputable def MindFormal.A753ReadRepairs.clockX {Ξ© : Type u_1} {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (t : NNReal) (Ο‰ : Ξ©) :
            Unit β†’ ℝ

            The clock-read comparison, globally on the time axis and held after H.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MindFormal.A753ReadRepairs.clockX_continuous {Ξ© : Type u_1} {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) {x0 : ℝ} (hx0 : 0 ≀ x0) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (Ο‰ : Ξ©) :
              Continuous fun (t : NNReal) => clockX Ξ½ c hc x0 K Z hZc t Ο‰
              theorem MindFormal.A753ReadRepairs.clockX_eq {Ξ© : Type u_1} {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) {x0 : ℝ} (hx0 : 0 ≀ x0) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZ0 : βˆ€ (Ο‰ : Ξ©), Z 0 Ο‰ = 0) (t : NNReal) (Ο‰ : Ξ©) :
              clockX Ξ½ c hc x0 K Z hZc t Ο‰ () = A699Shared.liftedActivity (↑ν) (clockG Ξ½ c hc x0 K Z hZc Ο‰) (clampT H t)

              On the horizon, the comparison is the reflected clock-read driver with its integrating factor.

              theorem MindFormal.A753ReadRepairs.floorReflection_shift_strict {H : ℝ} (hH : 0 < H) (f g : C(↑(HorizonTime H), ℝ)) (hg0 : g ⟨0, β‹―βŸ© = 0) (hgm : StrictMono ⇑g) {d : ℝ} (hd : 0 < d) (hf : 0 < (floorReflection f) ⟨H, β‹―βŸ©) :

              Adding a positive multiple of a strictly increasing path vanishing at zero strictly raises a positive reflected endpoint.

              def MindFormal.A753ReadRepairs.clockFil {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {H : NNReal} (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) :

              The natural filtration of Z, read on the clock.

              Equations
              Instances For
                theorem MindFormal.A753ReadRepairs.clockW_adapted {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) :
                MeasureTheory.StronglyAdapted (clockFil K Z hZm) (clockW Ξ½ c hc x0 K Z hZc)
                theorem MindFormal.A753ReadRepairs.clockX_adapted {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) :
                MeasureTheory.StronglyAdapted (clockFil K Z hZm) fun (t : NNReal) (Ο‰ : Ξ©) => clockX Ξ½ c hc x0 K Z hZc t Ο‰ ()
                theorem MindFormal.A753ReadRepairs.clock_stopping {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {H : NNReal} (K : ClockData H) (Z : NNReal β†’ Ξ© β†’ ℝ) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) {Ο„ : Ξ© β†’ NNReal} (hΟ„H : βˆ€ (Ο‰ : Ξ©), Ο„ Ο‰ ≀ H) (hΟ„ : MeasureTheory.IsStoppingTime (clockFil K Z hZm) fun (Ο‰ : Ξ©) => ↑(Ο„ Ο‰)) :
                MeasureTheory.IsStoppingTime (MeasureTheory.Filtration.natural Z β‹―) fun (Ο‰ : Ξ©) => ↑(K.map (clampT H (Ο„ Ο‰)))

                The clock read at a stopping time of the clock filtration is a stopping time of Z's own filtration.

                theorem MindFormal.A753ReadRepairs.weightedTarget_mono {H : NNReal} (Ξ½ : NNReal) (x0 : ℝ) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (hcn : βˆ€ s ∈ Set.Icc 0 ↑H, 0 ≀ c s) {a b : ↑(HorizonTime ↑H)} (hab : a ≀ b) :
                (A617Judgment.weightedTarget β‹― (↑ν) x0 c hc) a ≀ (A617Judgment.weightedTarget β‹― (↑ν) x0 c hc) b
                theorem MindFormal.A753ReadRepairs.clock_strict_after {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure ΞΌ] {H : NNReal} (Ξ½ : NNReal) {c : ℝ β†’ ℝ} (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (hcn : βˆ€ s ∈ Set.Icc 0 ↑H, 0 ≀ c s) {x0 : ℝ} (hx0 : 0 ≀ x0) (K : ClockData H) {Z : NNReal β†’ Ξ© β†’ ℝ} (hZ : ProbabilityTheory.IsBrownianReal Z ΞΌ) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZ0 : βˆ€ (Ο‰ : Ξ©), Z 0 Ο‰ = 0) {Ξ± : ℝ} (hΞ± : 0 < Ξ±) :
                βˆ€α΅ (Ο‰ : Ξ©) βˆ‚ΞΌ, A699Shared.quorumHit (clockX Ξ½ c hc x0 K Z hZc) (fun (x : Unit) => Ξ±) 1 Ο‰ < ↑H β†’ βˆƒ t ≀ H, βˆƒ (s : Finset Unit), s.card = 1 ∧ βˆ€ i ∈ s, Ξ± < clockX Ξ½ c hc x0 K Z hZc t Ο‰ i

                After a hit before the deadline, the clock-read comparison exceeds the level strictly at some later time before the deadline.

                theorem MindFormal.A753ReadRepairs.clock_endpoint_atom {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure ΞΌ] {H : NNReal} (hH : 0 < H) (Ξ½ : NNReal) {c : ℝ β†’ ℝ} (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) {x0 : ℝ} (hx0 : 0 ≀ x0) (K : ClockData H) {Z : NNReal β†’ Ξ© β†’ ℝ} (hZ : ProbabilityTheory.IsBrownianReal Z ΞΌ) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZ0 : βˆ€ (Ο‰ : Ξ©), Z 0 Ο‰ = 0) {Ξ± : ℝ} (hΞ± : 0 < Ξ±) :
                ΞΌ {Ο‰ : Ξ© | clockX Ξ½ c hc x0 K Z hZc H Ο‰ () = Ξ±} = 0

                The comparison's endpoint has no atom at a positive level: a Brownian linear shift strictly raises a positive reflected endpoint read on a strictly increasing clock.

                theorem MindFormal.A753ReadRepairs.clampT_coe_toNNReal {H : NNReal} (t : ↑(HorizonTime ↑H)) :
                clampT H (↑t).toNNReal = t
                theorem MindFormal.A753ReadRepairs.clock_closed_strict {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure ΞΌ] {H : NNReal} (hH : 0 < H) (Ξ½ : NNReal) {c : ℝ β†’ ℝ} (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (hcn : βˆ€ s ∈ Set.Icc 0 ↑H, 0 ≀ c s) {x0 : ℝ} (hx0 : 0 ≀ x0) (K : ClockData H) {Z : NNReal β†’ Ξ© β†’ ℝ} (hZ : ProbabilityTheory.IsBrownianReal Z ΞΌ) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZ0 : βˆ€ (Ο‰ : Ξ©), Z 0 Ο‰ = 0) {Ξ± : ℝ} (hΞ± : 0 < Ξ±) :
                βˆ€α΅ (Ο‰ : Ξ©) βˆ‚ΞΌ, (βˆƒ (t : ↑(HorizonTime ↑H)) (s : Finset Unit), s.card = 1 ∧ βˆ€ i ∈ s, (fun (x : Unit) => Ξ±) i ≀ A699Shared.liftedActivity (↑ν) ((fun (Ο‰ : Ξ©) (x : Unit) => clockG Ξ½ c hc x0 K Z hZc Ο‰) Ο‰ i) t) ↔ βˆƒ (t : ↑(HorizonTime ↑H)) (s : Finset Unit), s.card = 1 ∧ βˆ€ i ∈ s, (fun (x : Unit) => Ξ±) i < A699Shared.liftedActivity (↑ν) ((fun (Ο‰ : Ξ©) (x : Unit) => clockG Ξ½ c hc x0 K Z hZc Ο‰) Ο‰ i) t

                Weak and strict passage of the clock-read comparison agree up to a null set.

                theorem MindFormal.A753ReadRepairs.clockG_measurable {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {H : NNReal} (Ξ½ : NNReal) (c : ℝ β†’ ℝ) (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) {Z : NNReal β†’ Ξ© β†’ ℝ} (hZm : βˆ€ (v : NNReal), Measurable (Z v)) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) :
                Measurable fun (Ο‰ : Ξ©) (x : Unit) => clockG Ξ½ c hc x0 K Z hZc Ο‰
                theorem MindFormal.A753ReadRepairs.clock_grid_limit {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure ΞΌ] {H : NNReal} (hH : 0 < H) (Ξ½ : NNReal) {c : ℝ β†’ ℝ} (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (hcn : βˆ€ s ∈ Set.Icc 0 ↑H, 0 ≀ c s) {x0 : ℝ} (hx0 : 0 ≀ x0) (K : ClockData H) {Z : NNReal β†’ Ξ© β†’ ℝ} (hZ : ProbabilityTheory.IsBrownianReal Z ΞΌ) (hZm : βˆ€ (v : NNReal), Measurable (Z v)) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZ0 : βˆ€ (Ο‰ : Ξ©), Z 0 Ο‰ = 0) {Ξ± : ℝ} (hΞ± : 0 < Ξ±) :
                Filter.Tendsto (fun (d : β„•) => ΞΌ.real {Ο‰ : Ξ© | Β¬A699Shared.sampledQuorum (↑ν) (A699Shared.dyadicGrid β‹― d) ((fun (Ο‰ : Ξ©) (x : Unit) => clockG Ξ½ c hc x0 K Z hZc Ο‰) Ο‰) (fun (x : Unit) => Ξ±) 1}) Filter.atTop (nhds (1 - ΞΌ.real {Ο‰ : Ξ© | βˆƒ (t : ↑(HorizonTime ↑H)) (s : Finset Unit), s.card = 1 ∧ βˆ€ i ∈ s, (fun (x : Unit) => Ξ±) i ≀ A699Shared.liftedActivity (↑ν) ((fun (Ο‰ : Ξ©) (x : Unit) => clockG Ξ½ c hc x0 K Z hZc Ο‰) Ο‰ i) t}))

                The dyadic grid survival probabilities converge to the continuous survival probability.

                theorem MindFormal.A753ReadRepairs.clock_grid_law {Ξ© : Type u_1} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : MeasureTheory.Measure Ξ©} [MeasureTheory.IsProbabilityMeasure ΞΌ] {H : NNReal} (Ξ½ : NNReal) {c : ℝ β†’ ℝ} (hc : IntervalIntegrable c MeasureTheory.volume 0 ↑H) (x0 : ℝ) (K : ClockData H) {Z : NNReal β†’ Ξ© β†’ ℝ} (hZ : ProbabilityTheory.IsBrownianReal Z ΞΌ) (hZc : βˆ€ (Ο‰ : Ξ©), Continuous fun (v : NNReal) => Z v Ο‰) (hZ0 : βˆ€ (Ο‰ : Ξ©), Z 0 Ο‰ = 0) (Ξ± : ℝ) {n : β„•} (t : Fin (n + 1) β†’ ↑(HorizonTime ↑H)) (ht : StrictMono t) (ht0 : t 0 = ⟨0, β‹―βŸ©) :
                ΞΌ.real {Ο‰ : Ξ© | Β¬A699Shared.sampledQuorum (↑ν) (Finset.image t Finset.univ) ((fun (Ο‰ : Ξ©) (x : Unit) => clockG Ξ½ c hc x0 K Z hZc Ο‰) Ο‰) (fun (x : Unit) => Ξ±) 1} = ∫ (z : Unit β†’ Fin n β†’ ℝ) in {z : Unit β†’ Fin n β†’ ℝ | Β¬A699Shared.finiteGridQuorum (↑ν) (fun (k : Fin (n + 1)) => ↑(t k)) (fun (i : Unit) => A699Shared.gridPrimitive (fun (k : Fin (n + 1)) => x0 + ↑ν * ∫ (s : ℝ) in 0..↑(t k), Real.exp (↑ν * s) * c s) (z i)) (fun (x : Unit) => Ξ±) 1}, ∏ i : Unit, ∏ k : Fin n, ProbabilityTheory.gaussianPDFReal 0 (K.map (t k.succ) - K.map (t k.castSucc)) (z i k)

                On a finite grid starting at zero, survival is the Gaussian integral of the independent clock increments of variances V(z_β„“) - V(z_{β„“-1}).