Documentation

BrownianMotion.StochasticIntegral.DoobMeyer

Doob-Meyer decomposition theorem #

noncomputable def denseSet (ι : Type u_1) [LE ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] :
Set ι

The fixed countable dense set used instead of dyadics, with both endpoints adjoined.

Equations
Instances For
    noncomputable def denseEnum (ι : Type u_1) [LE ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] :
    ι

    A choice of enumeration of the countable dense set used to construct finite meshes.

    Equations
    Instances For
      noncomputable def mesh (ι : Type u_1) [LinearOrder ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] (n : ) :

      The n-th finite mesh: the first n points of the dense enumeration, plus endpoints.

      Equations
      Instances For
        @[implicit_reducible]
        Equations
        @[implicit_reducible]
        Equations
        @[simp]
        theorem top_eq_top (ι : Type u_1) [LinearOrder ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] (n : ) :
        =
        @[simp]
        theorem bot_eq_bot (ι : Type u_1) [LinearOrder ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] (n : ) :
        =
        @[implicit_reducible]
        noncomputable instance instSuccOrderSubtypeMemFinsetMesh (ι : Type u_1) [LinearOrder ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] (n : ) :
        SuccOrder (mesh ι n)
        Equations
        @[implicit_reducible]
        noncomputable instance instPredOrderSubtypeMemFinsetMesh (ι : Type u_1) [LinearOrder ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] (n : ) :
        PredOrder (mesh ι n)
        Equations
        def meshFiltration {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (𝓕 : MeasureTheory.Filtration ι ) (n : ) :

        The filtration obtained by restricting 𝓕 to a finite dense mesh.

        Equations
        Instances For
          noncomputable def predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :
          ιΩE

          Predictable part of a discrete process.

          Equations
          Instances For
            theorem predictablePart_add {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S₁ S₂ : ιΩE} (𝓕 : MeasureTheory.Filtration ι ) (hS₁ : ∀ (t : ι), MeasureTheory.Integrable (S₁ t) P) (hS₂ : ∀ (t : ι), MeasureTheory.Integrable (S₂ t) P) (t : ι) :
            predictablePart (S₁ + S₂) 𝓕 P t =ᵐ[P] predictablePart S₁ 𝓕 P t + predictablePart S₂ 𝓕 P t

            The predictable part is additive for integrable processes.

            theorem predictablePart_eq_zero_of_martingale {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S : ιΩE} {𝓕 : MeasureTheory.Filtration ι } (hS : MeasureTheory.Martingale S 𝓕 P) (t : ι) :
            predictablePart S 𝓕 P t =ᵐ[P] 0

            The predictable part of a martingale is zero at every time.

            @[simp]
            theorem predictablePart_bot {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrder ι] [OrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :
            predictablePart S 𝓕 P = 0
            theorem integrable_predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (t : ι) :

            The predictable part at a fixed point of a discrete mesh is integrable.

            theorem MeasureTheory.Submartingale.monotone_predictablePart_ae {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] [Countable ι] { : MeasurableSpace Ω} {P : Measure Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] [PartialOrder E] [IsOrderedAddMonoid E] {S : ιΩE} {𝓕 : Filtration ι } (hs : Submartingale S 𝓕 P) :
            ∀ᵐ (ω : Ω) P, Monotone fun (x : ι) => _root_.predictablePart S 𝓕 P x ω

            For a submartingale indexed by a countable type, the predictable part is monotone a.e.

            theorem MeasureTheory.Submartingale.predictablePart_nonneg' {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrder ι] [OrderBot ι] [SuccOrder ι] [Countable ι] { : MeasurableSpace Ω} {P : Measure Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] [PartialOrder E] [IsOrderedAddMonoid E] {S : ιΩE} {𝓕 : Filtration ι } (hs : Submartingale S 𝓕 P) :
            ∀ᵐ (ω : Ω) P, ∀ (n : ι), 0 _root_.predictablePart S 𝓕 P n ω

            For a submartingale indexed by a countable type, the predictable part is nonnegative a.e.

            noncomputable def martingalePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :
            ιΩE

            Martingale part of a discrete process.

            Equations
            Instances For
              theorem martingalePart_add {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S₁ S₂ : ιΩE} {𝓕 : MeasureTheory.Filtration ι } (hS₁ : ∀ (t : ι), MeasureTheory.Integrable (S₁ t) P) (hS₂ : ∀ (t : ι), MeasureTheory.Integrable (S₂ t) P) (t : ι) :
              martingalePart (S₁ + S₂) 𝓕 P t =ᵐ[P] martingalePart S₁ 𝓕 P t + martingalePart S₂ 𝓕 P t

              The martingale part is additive for integrable processes.

              theorem martingalePart_eq_self_of_martingale {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S : ιΩE} {𝓕 : MeasureTheory.Filtration ι } (hS : MeasureTheory.Martingale S 𝓕 P) (t : ι) :
              martingalePart S 𝓕 P t =ᵐ[P] S t

              The martingale part of a martingale is the martingale itself.

              theorem martingale_martingalePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :

              The martingale part of a process is a martingale.

              @[simp]
              theorem martingalePart_add_predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :
              martingalePart S 𝓕 P + predictablePart S 𝓕 P = S
              noncomputable def predictableSeqTop {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) :
              ΩE

              Sequence of terminal values of the predictable part.

              Equations
              Instances For
                theorem integrable_predictableSeqTop {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) :

                The terminal values of the predictable parts on each mesh are integrable.

                theorem predictableSeqTop_eq_zero_of_martingale {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S : ιΩE} {𝓕 : MeasureTheory.Filtration ι } (hS : MeasureTheory.Martingale S 𝓕 P) (n : ) :

                The terminal values of the predictable parts of a martingale vanish on every mesh.

                noncomputable def martingaleSeqTop {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) :
                ΩE

                Sequence of terminal values of the martingale part.

                Equations
                Instances For
                  theorem martingaleSeqTop_add {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S₁ S₂ : ιΩE} (𝓕 : MeasureTheory.Filtration ι ) (hS₁ : ∀ (t : ι), MeasureTheory.Integrable (S₁ t) P) (hS₂ : ∀ (t : ι), MeasureTheory.Integrable (S₂ t) P) (n : ) :
                  martingaleSeqTop (S₁ + S₂) 𝓕 P n =ᵐ[P] martingaleSeqTop S₁ 𝓕 P n + martingaleSeqTop S₂ 𝓕 P n

                  The terminal values of the discrete martingale parts are additive.

                  theorem martingaleSeqTop_eq_self_of_martingale {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {P : MeasureTheory.Measure Ω} {S : ιΩE} {𝓕 : MeasureTheory.Filtration ι } (hS : MeasureTheory.Martingale S 𝓕 P) (n : ) :

                  The terminal values of the martingale parts of a martingale are its terminal value on every mesh.

                  theorem martingaleSeqTop_eq_neg_predictableSeqTop {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {S : ιΩE} (𝓕 : MeasureTheory.Filtration ι ) (hstop : S =ᵐ[P] 0) (n : ) :

                  If S = 0 a.e., then the martingale part’s terminal value equals the negative of the predictable part’s terminal value.

                  theorem equation4 {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {S : ιΩE} {𝓕 : MeasureTheory.Filtration ι } {n : } [MeasureTheory.SigmaFiniteFiltration P 𝓕] (hstop : S =ᵐ[P] 0) {τ : ΩWithTop (mesh ι n)} ( : ∀ (ω : Ω), τ ω ) (hτs : MeasureTheory.IsStoppingTime (meshFiltration 𝓕 n) τ) :

                  Apply the optional stopping theorem to get equation 4. Note that T1 Space is needed to make sure that mesh ι n has order topology.

                  noncomputable def tauMesh {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) :
                  ΩWithTop (mesh ι n)

                  The mesh stopping time τₙ(c) associated with the predictable part on the n-th mesh.

                  Equations
                  Instances For
                    theorem tauMesh_le_top {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) (ω : Ω) :
                    tauMesh S 𝓕 P n c ω
                    theorem stoppedValue_predictablePart_tauMesh_le {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) {c : } (hc : 0 c) :
                    MeasureTheory.stoppedValue (predictablePart (S Subtype.val) (meshFiltration 𝓕 n) P) (tauMesh S 𝓕 P n c) fun (x : Ω) => c

                    The stopped valued of the predictable part with respect to τₙ(c) is less than or equal to c.

                    theorem isPredictable_predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrder ι] [OrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :

                    The predictable part is predictable.

                    theorem stronglyMeasurable_pred_predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrderBot ι] [PredOrder ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (t : ι) :

                    At time t, the predictable part is strongly measurable with respect to the previous σ-algebra.

                    theorem stronglyMeasurable_predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrderBot ι] [PredOrder ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (t : ι) :

                    At time t, the predictable part is strongly measurable with respect to the previous σ-algebra.

                    theorem stronglyAdapted_predictablePart {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :

                    The predictable part of a process is strongly adapted.

                    theorem stronglyAdapted_predictablePart' {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [LinearOrder ι] [LocallyFiniteOrderBot ι] [SuccOrder ι] { : MeasurableSpace Ω} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] (S : ιΩE) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) :
                    MeasureTheory.StronglyAdapted 𝓕 fun (t : ι) (ω : Ω) => predictablePart S 𝓕 P (Order.succ t) ω

                    The predictable part of a process is strongly adapted.

                    theorem isStoppingTime_tauMesh {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) :

                    τₙ(c) is indeed a stopping time.

                    theorem stoppedValue_le_neg_condExp_predictableSeqTop_add_const {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} (hstop : S =ᵐ[P] 0) (𝓕 : MeasureTheory.Filtration ι ) (n : ) [MeasureTheory.SigmaFiniteFiltration P 𝓕] {c : } (hc : 0 c) :
                    MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n c) ≤ᵐ[P] -P[predictableSeqTop S 𝓕 P n | .measurableSpace] + fun (x : Ω) => c

                    Combine equation 4 and stoppedValue_predictablePart_tauMesh_le to get this inequality.

                    theorem MeasureTheory.Submartingale.tauMesh_lt_top_eq_lt_predictableSeqTop {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : Measure Ω} {S : ιΩ} {𝓕 : Filtration ι } (hs : Submartingale S 𝓕 P) (n : ) {c : } (hc : 0 c) :
                    {ω : Ω | tauMesh S 𝓕 P n c ω < } =ᵐ[P] {ω : Ω | c < predictableSeqTop S 𝓕 P n ω}

                    {τₙ(c) < 1} = {c < Aⁿ₁}.

                    theorem MeasureTheory.Submartingale.integrableOn_const_tauMesh_lt_top {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : Measure Ω} {S : ιΩ} {𝓕 : Filtration ι } (hs : Submartingale S 𝓕 P) (n : ) {c : } (hc : 0 c) :
                    IntegrableOn (fun (x : Ω) => c) {ω : Ω | tauMesh S 𝓕 P n c ω < } P

                    The constant c is integrable on the event where τₙ(c) hits before the top element.

                    theorem MeasureTheory.Submartingale.integrable_stoppedValue_tauMesh {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : Measure Ω} {S : ιΩ} {𝓕 : Filtration ι } (hs : Submartingale S 𝓕 P) (n : ) (c : ) :

                    Stopping S at the bounded mesh time τₙ(c) preserves integrability.

                    theorem first_estimate {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} (hstop : S =ᵐ[P] 0) (𝓕 : MeasureTheory.Filtration ι ) (n : ) [MeasureTheory.SigmaFiniteFiltration P 𝓕] {c : } (hc : 0 c) (hs : MeasureTheory.Submartingale S 𝓕 P) :
                    (ω : Ω) in {ω : Ω | c < predictableSeqTop S 𝓕 P n ω}, predictableSeqTop S 𝓕 P n ω P c * P.real {ω : Ω | tauMesh S 𝓕 P n c ω < } - (ω : Ω) in {ω : Ω | tauMesh S 𝓕 P n c ω < }, MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n c) ω P

                    The first estimate before equation 5.

                    theorem tauMesh_lt_top_subset_of_lt {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) {a b : } (hab : a b) :
                    {ω : Ω | tauMesh S 𝓕 P n b ω < } {ω : Ω | tauMesh S 𝓕 P n a ω < }

                    If a ≤ b, then {τₙ(b) < 1} ⊆ {τₙ(a) < 1}.

                    Stopping the predictable part at the bounded mesh time τₙ(c) preserves integrability.

                    theorem second_estimate {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} (hstop : S =ᵐ[P] 0) (𝓕 : MeasureTheory.Filtration ι ) (n : ) [MeasureTheory.SigmaFiniteFiltration P 𝓕] {c : } (hc : 0 c) (hs : MeasureTheory.Submartingale S 𝓕 P) :
                    c / 2 * P.real {ω : Ω | tauMesh S 𝓕 P n c ω < } - (ω : Ω) in {ω : Ω | tauMesh S 𝓕 P n (c / 2) ω < }, MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n (c / 2)) ω P

                    The second estimate before equation 5.

                    theorem equation5 {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} (hstop : S =ᵐ[P] 0) (𝓕 : MeasureTheory.Filtration ι ) (n : ) [MeasureTheory.SigmaFiniteFiltration P 𝓕] {c : } (hc : 0 c) (hs : MeasureTheory.Submartingale S 𝓕 P) :
                    (ω : Ω) in {ω : Ω | c < predictableSeqTop S 𝓕 P n ω}, predictableSeqTop S 𝓕 P n ω P -2 * (ω : Ω) in {ω : Ω | tauMesh S 𝓕 P n (c / 2) ω < }, MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n (c / 2)) ω P - (ω : Ω) in {ω : Ω | tauMesh S 𝓕 P n c ω < }, MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n c) ω P
                    theorem equation5' {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} (hstop : S =ᵐ[P] 0) (𝓕 : MeasureTheory.Filtration ι ) (n : ) [MeasureTheory.SigmaFiniteFiltration P 𝓕] {c : } (hc : 0 c) (hs : MeasureTheory.Submartingale S 𝓕 P) :
                    (ω : Ω) in {ω : Ω | c < predictableSeqTop S 𝓕 P n ω}, predictableSeqTop S 𝓕 P n ω P (ω : Ω) in {ω : Ω | tauMesh S 𝓕 P n (c / 2) ω < }, -2 * MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n (c / 2)) ω P + (ω : Ω) in {ω : Ω | tauMesh S 𝓕 P n c ω < }, -MeasureTheory.stoppedValue (S Subtype.val) (tauMesh S 𝓕 P n c) ω P
                    noncomputable def tauMeshLift {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) :
                    ΩWithTop ι

                    Lift the mesh stopping time τₙ(c) to a stopping time on the original index set.

                    Equations
                    Instances For
                      @[simp]
                      theorem tauMesh_ne_top {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) (ω : Ω) :
                      tauMesh S 𝓕 P n c ω
                      @[simp]
                      theorem tauMeshLift_ne_top {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) (ω : Ω) :
                      tauMeshLift S 𝓕 P n c ω
                      theorem stoppedValue_tauMeshLift {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) :
                      theorem isStoppingTime_tauMeshLift {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (P : MeasureTheory.Measure Ω) (n : ) (c : ) :

                      We still get a stopping time after the lifting.

                      theorem integral_predictableSeqTop_eq_neg_integral_bot {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasureTheory.SigmaFiniteFiltration P 𝓕] (hstop : S =ᵐ[P] 0) (n : ) :
                      (ω : Ω), predictableSeqTop S 𝓕 P n ω P = - (ω : Ω), S ω P

                      Used in estimating the size of the set {τₙ(b) < 1}.

                      theorem measure_tauMesh_lt_top_le {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasureTheory.SigmaFiniteFiltration P 𝓕] (hs : MeasureTheory.Submartingale S 𝓕 P) (hstop : S =ᵐ[P] 0) (n : ) {c : } (hc : 0 < c) :
                      P {ω : Ω | tauMesh S 𝓕 P n c ω < } ENNReal.ofReal (- (ω : Ω), S ω P) / ENNReal.ofReal c

                      Estimate for the hitting event {τₙ(c) < 1}.

                      theorem uniformIntegrable_predictableSeqTop {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hs : MeasureTheory.Submartingale S 𝓕 P) (hd : MeasureTheory.UniformIntegrable (fun (τ : {T : ΩWithTop ι | MeasureTheory.IsStoppingTime 𝓕 T ∀ (ω : Ω), T ω }) => MeasureTheory.stoppedValue S τ) 1 P) (hstop : S =ᵐ[P] 0) (ht : ∀ (t : ι), S t ≤ᵐ[P] 0) :

                      The terminal values of the predictable parts are uniformly integrable.

                      theorem uniformIntegrable_martingaleSeqTopAux {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hs : MeasureTheory.Submartingale S 𝓕 P) (hd : MeasureTheory.UniformIntegrable (fun (τ : {T : ΩWithTop ι | MeasureTheory.IsStoppingTime 𝓕 T ∀ (ω : Ω), T ω }) => MeasureTheory.stoppedValue S τ) 1 P) (hstop : S =ᵐ[P] 0) (ht : ∀ (t : ι), S t ≤ᵐ[P] 0) :

                      As the terminal values of predictable parts are uniformly integrable, the terminal values of the martingale parts are uniformly integrable.

                      Prove uniform integrability without the assumption S ⊤ =ᵐ[P] 0 and ∀ t, S t ≤ᵐ[P] 0.

                      theorem exists_martingalPart_lim {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) :
                      ∃ (M : Ω) (a : Convexity.StdSimplex ), Filter.Tendsto (fun (n : ) => MeasureTheory.eLpNorm (((a n).weights.sum fun (m : ) (r : ) => r martingaleSeqTop S 𝓕 P m) - M) 1 P) Filter.atTop (nhds 0)

                      Show that the terminals values of some convex combinations of the martingale parts converge.

                      noncomputable def martingalePartLim {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) (i : ι) :
                      Ω

                      This is the martingalePart in the doob-meyer decomposition of a submartingale.

                      Equations
                      Instances For
                        noncomputable def weight {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) :

                        This is the weight associated with the martingale part.

                        Equations
                        Instances For
                          noncomputable def martingaleSeqStep {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (P : MeasureTheory.Measure Ω) (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (n : ) (i : ι) :
                          Ω

                          The extension of the discrete martingale part M^n.

                          Equations
                          Instances For
                            noncomputable def martingaleConvexStep {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) (n : ) :
                            ιΩ

                            The convexly averaged mesh step-extension ℳ^n of the martingale parts.

                            Equations
                            Instances For

                              norm convergence of martingaleConvexStep, proved by using conditional Jensen.

                              def meshPredIoc {ι : Type u_1} [LinearOrder ι] [OrderBot ι] [OrderTop ι] [TopologicalSpace ι] [SecondCountableTopology ι] (n : ) (t : (mesh ι n)) :
                              Set ι

                              The half-open mesh interval ending at t, with left endpoint the predecessor of t in the finite mesh.

                              Equations
                              Instances For
                                noncomputable def predictableSeqStep {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (P : MeasureTheory.Measure Ω) (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (n : ) :
                                ιΩ

                                The mesh step-extension of the discrete predictable part A^n.

                                Equations
                                Instances For
                                  noncomputable def predictableConvexStep {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) (n : ) :
                                  ιΩ

                                  The convexly averaged mesh step-extension 𝒜^n of the predictable parts.

                                  Equations
                                  Instances For
                                    noncomputable def predictablePartLim {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) :
                                    ιΩ

                                    The predictable part A in the Doob-Meyer decomposition, defined as S - M.

                                    Equations
                                    Instances For

                                      norm convergence of predictableConvexStep for t in denseSet ι.

                                      theorem predictableConvexStep_ae_tendsto {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) {t : ι} (ht : t denseSet ι) :
                                      ∃ (φ : ), StrictMono φ ∀ᵐ (ω : Ω) P, Filter.Tendsto (fun (n : ) => predictableConvexStep hd hs (φ n) t ω) Filter.atTop (nhds (predictablePartLim hd hs t ω))

                                      Almost everywhere convergence of predictableConvexStep.

                                      theorem monotone_of_frequently_monotone_of_tendsto {ι : Type u_1} {α : Type u_2} {β : Type u_3} [Preorder α] [TopologicalSpace β] [Preorder β] [OrderClosedTopology β] {l : Filter ι} {F : ιαβ} {f : αβ} (hF : ∃ᶠ (i : ι) in l, Monotone (F i)) (hlim : ∀ (x : α), Filter.Tendsto (fun (i : ι) => F i x) l (nhds (f x))) :

                                      The limit of a collection of functions that is frequently monotone is monotone.

                                      theorem antitone_of_frequently_antitone_of_tendsto {ι : Type u_1} {α : Type u_2} {β : Type u_3} [Preorder α] [TopologicalSpace β] [Preorder β] [OrderClosedTopology β] {l : Filter ι} {F : ιαβ} {f : αβ} (hF : ∃ᶠ (i : ι) in l, Antitone (F i)) (hlim : ∀ (x : α), Filter.Tendsto (fun (i : ι) => F i x) l (nhds (f x))) :

                                      The limit of a collection of functions that is frequently antitone is antitone.

                                      theorem monotone_of_eventually_monotone_of_tendsto {ι : Type u_1} {α : Type u_2} {β : Type u_3} [Preorder α] [TopologicalSpace β] [Preorder β] [OrderClosedTopology β] {l : Filter ι} [l.NeBot] {F : ιαβ} {f : αβ} (hF : ∀ᶠ (i : ι) in l, Monotone (F i)) (hlim : ∀ (x : α), Filter.Tendsto (fun (i : ι) => F i x) l (nhds (f x))) :

                                      The limit of a collection of functions that is eventually monotone is monotone.

                                      theorem antitone_of_eventually_antitone_of_tendsto {ι : Type u_1} {α : Type u_2} {β : Type u_3} [Preorder α] [TopologicalSpace β] [Preorder β] [OrderClosedTopology β] {l : Filter ι} [l.NeBot] {F : ιαβ} {f : αβ} (hF : ∀ᶠ (i : ι) in l, Antitone (F i)) (hlim : ∀ (x : α), Filter.Tendsto (fun (i : ι) => F i x) l (nhds (f x))) :

                                      The limit of a collection of functions that is eventually antitone is antitone.

                                      theorem monotone_of_monotone_of_tendsto {ι : Type u_1} {α : Type u_2} {β : Type u_3} [Preorder α] [TopologicalSpace β] [Preorder β] [OrderClosedTopology β] {l : Filter ι} [l.NeBot] {F : ιαβ} {f : αβ} (hF : ∀ (i : ι), Monotone (F i)) (hlim : ∀ (x : α), Filter.Tendsto (fun (i : ι) => F i x) l (nhds (f x))) :

                                      The limit of a collection of monotone functions is monotone.

                                      theorem antitone_of_antitone_of_tendsto {ι : Type u_1} {α : Type u_2} {β : Type u_3} [Preorder α] [TopologicalSpace β] [Preorder β] [OrderClosedTopology β] {l : Filter ι} [l.NeBot] {F : ιαβ} {f : αβ} (hF : ∀ (i : ι), Antitone (F i)) (hlim : ∀ (x : α), Filter.Tendsto (fun (i : ι) => F i x) l (nhds (f x))) :

                                      The limit of a collection of antitone functions is antitone.

                                      theorem Dense.comap_val_nhdsWithin_Ioi_neBot {α : Type u_1} [TopologicalSpace α] [LinearOrder α] [OrderTopology α] [DenselyOrdered α] {D : Set α} (hD : Dense D) {a b : α} (hab : a < b) :

                                      This is an auxillary lemma used to prove Dense.monotone_of_isRightContinuous. It is saying that if D is a dense set and a, b are two points such that a < b, then the comap of 𝓝[Set.Ioi a] a under the inclusion D → α is nontrivial. Note that a < b is necessary as this is clearly not true if a is a top element.

                                      theorem Dense.monotone_of_isRightContinuous {α : Type u_1} {β : Type u_2} [LinearOrder α] [OrderTop α] [TopologicalSpace α] [OrderTopology α] [DenselyOrdered α] [TopologicalSpace β] [Preorder β] [t : OrderClosedTopology β] {f : αβ} {D : Set α} (hD : Dense D) (htop : D) (hm : Monotone (f Subtype.val)) (hf : Function.IsRightContinuous f) :

                                      If f is monotone on a dense set D and is right continuous, then f is monotone. We prove under the assumption that α has a top element and ⊤ ∈ D, which is a necessary assumption because otherwise it is possible that is an isolated point. This theorem should be also true when α satisfies NoTopOrder α.

                                      theorem Filter.IsCoboundedUnder.trans {ι : Type u_1} {α : Type u_2} {r : ααProp} {l : Filter ι} [l.NeBot] [IsTrans α r] {u v : ια} (hle : ∀ᶠ (i : ι) in l, r (u i) (v i)) (h : IsCoboundedUnder r l u) :

                                      A helper lemma.

                                      theorem limsup_le_of_eventually_monotone_of_tendsto_on_dense {ι : Type u_1} {α : Type u_2} {β : Type u_3} [LinearOrder α] [BoundedOrder α] [TopologicalSpace α] [OrderTopology α] [DenselyOrdered α] [ConditionallyCompleteLinearOrder β] [TopologicalSpace β] [OrderTopology β] {l : Filter ι} [l.NeBot] {D : Set α} {F : ιαβ} {f : αβ} (hF : ∀ᶠ (i : ι) in l, Monotone (F i)) (hD : Dense D) (htop : D) (hbot : D) {a : α} (hfa : ContinuousWithinAt f (Set.Ioi a) a) (hlim : tD, Filter.Tendsto (fun (x : ι) => F x t) l (nhds (f t))) :
                                      Filter.limsup (fun (x : ι) => F x a) l f a

                                      Convergence on a dense set of a collection of monotone function controls the limsup at a point if f is right continuous at a. We prove this under the assumption that α has both a bottom element and a top element. The bottom element is needed because otherwise limsup evaluated at the bottome element may give a junk value to break the inequality.

                                      theorem le_liminf_of_eventually_monotone_of_tendsto_on_dense {ι : Type u_1} {α : Type u_2} {β : Type u_3} [LinearOrder α] [BoundedOrder α] [TopologicalSpace α] [OrderTopology α] [DenselyOrdered α] [ConditionallyCompleteLinearOrder β] [TopologicalSpace β] [OrderTopology β] {l : Filter ι} [l.NeBot] {D : Set α} {F : ιαβ} {f : αβ} (hF : ∀ᶠ (i : ι) in l, Monotone (F i)) (hD : Dense D) (htop : D) (hbot : D) {a : α} (hfa : ContinuousWithinAt f (Set.Iio a) a) (hlim : tD, Filter.Tendsto (fun (x : ι) => F x t) l (nhds (f t))) :
                                      f a Filter.liminf (fun (x : ι) => F x a) l

                                      This is the dual of limsup_le_of_eventually_monotone_of_tendsto_on_dense.

                                      theorem tendsto_of_eventually_monotone_of_tendsto_on_dense {ι : Type u_1} {α : Type u_2} {β : Type u_3} [LinearOrder α] [BoundedOrder α] [TopologicalSpace α] [OrderTopology α] [DenselyOrdered α] [ConditionallyCompleteLinearOrder β] [TopologicalSpace β] [OrderTopology β] {l : Filter ι} [l.NeBot] {D : Set α} {F : ιαβ} {f : αβ} (hF : ∀ᶠ (i : ι) in l, Monotone (F i)) (hD : Dense D) (htop : D) (hbot : D) (a : α) (hfa : ContinuousAt f a) (hlim : tD, Filter.Tendsto (fun (x : ι) => F x t) l (nhds (f t))) :
                                      Filter.Tendsto (fun (x : ι) => F x a) l (nhds (f a))

                                      We combine limsup_le_of_eventually_monotone_of_tendsto_on_dense and le_liminf_of_eventually_monotone_of_tendsto_on_dense to prove that F · a converges to f a if f is continuous at a.

                                      theorem predictableSeqStep_eq_sum_indicator {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [SecondCountableTopology ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} (P : MeasureTheory.Measure Ω) (S : ιΩ) (𝓕 : MeasureTheory.Filtration ι ) (n : ) (ω : Ω) (t : ι) :
                                      predictableSeqStep P S 𝓕 n t ω = v : (mesh ι n), (meshPredIoc n v).indicator (fun (x : ι) => predictablePart (S Subtype.val) (meshFiltration 𝓕 n) P v ω) t
                                      theorem predictableSeqStep_monotone_ae {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hs : MeasureTheory.Submartingale S 𝓕 P) (n : ) (t : ι) :
                                      ∀ᵐ (ω : Ω) P, Monotone fun (t : ι) => predictableSeqStep P S 𝓕 n t ω
                                      theorem predictableConvexStep_monotone_ae {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) (n : ) (t : ι) :
                                      ∀ᵐ (ω : Ω) P, Monotone fun (t : ι) => predictableConvexStep hd hs n t ω
                                      theorem predictablePartLim_monotone_ae {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) (n : ) (t : ι) :
                                      ∀ᵐ (ω : Ω) P, Monotone fun (t : ι) => predictablePartLim hd hs t ω
                                      theorem continuousWithinAt_Iio_indicator_Ioc {α : Type u_1} {M : Type u_2} [LinearOrder α] [TopologicalSpace α] [ClosedIicTopology α] [Zero M] [TopologicalSpace M] (a b : α) (c : M) (t : α) :
                                      ContinuousWithinAt ((Set.Ioc a b).indicator fun (x : α) => c) (Set.Iio t) t

                                      The indicator of a half-open interval Ioc a b with constant value c is left-continuous: when approached from the left it is eventually constant, so it is continuous within Iio t at t for every t.

                                      theorem predictableSeqStep_leftContinuous {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] [ClosedIicTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (n : ) (ω : Ω) (t : ι) :
                                      ContinuousWithinAt (fun (s : ι) => predictableSeqStep P S 𝓕 n s ω) (Set.Iio t) t

                                      The mesh step-extension of the discrete predictable part is left-continuous in time.

                                      theorem predictableConvexStep_leftContinuous {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] [ClosedIicTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) (n : ) (ω : Ω) (t : ι) :
                                      ContinuousWithinAt (fun (s : ι) => predictableConvexStep hd hs n s ω) (Set.Iio t) t

                                      predictableConvexStep is left-continuous in time.

                                      The mesh step-extension of the discrete predictable part is strongly adapted.

                                      The convexly averaged mesh step-extension of the predictable parts is strongly adapted.

                                      The convexly averaged mesh step-extension of the predictable parts is strongly predictable.

                                      theorem IsStronglyPredictable.limsup {ι : Type u_1} {Ω : Type u_2} {E : Type u_3} [Preorder ι] [OrderBot ι] { : MeasurableSpace Ω} {𝓕 : MeasureTheory.Filtration ι } [TopologicalSpace E] [MeasurableSpace E] [BorelSpace E] [TopologicalSpace.PseudoMetrizableSpace E] [ConditionallyCompleteLinearOrder E] [OrderTopology E] [SecondCountableTopology E] {X : ιΩE} (hX : ∀ (n : ), MeasureTheory.IsStronglyPredictable 𝓕 (X n)) :
                                      MeasureTheory.IsStronglyPredictable 𝓕 fun (t : ι) (ω : Ω) => Filter.limsup (fun (n : ) => X n t ω) Filter.atTop

                                      The pointwise limsup of strongly predictable processes is strongly predictable.

                                      The limsup of convexly averaged mesh step-extension of the predictable parts is strongly predictable.

                                      For each stopping time τ, limsup (fun n => stoppedValue 𝒜^n τ) atTop ≤ stoppedValue A τ almost everywhere. Use limsup_le_of_eventually_monotone_of_tendsto_on_dense.

                                      Prove that ∫ ω, stoppedValue 𝒜^n τ ω ∂P converges to ∫ ω, stoppedValue A τ ω ∂P.

                                      theorem limsup_integral_le_integral_limsup_of_tendsto_integral_posPart_sub {Ω : Type u_1} { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : Ω} {Y : Ω} (hX_nonneg : ∀ (n : ), 0 ≤ᵐ[P] X n) (hY : MeasureTheory.Integrable Y P) (hY_nonneg : 0 ≤ᵐ[P] Y) (h_tendsto : Filter.Tendsto (fun (n : ) => (ω : Ω), max (X n ω - Y ω) 0 P) Filter.atTop (nhds 0)) :
                                      Filter.limsup (fun (n : ) => (ω : Ω), X n ω P) Filter.atTop (ω : Ω), Filter.limsup (fun (n : ) => X n ω) Filter.atTop P

                                      Reverse Fatou's lemma. See also limsup_lintegral_le.

                                      For each stopping time τ, limsup (fun n => stoppedValue 𝒜^n τ) atTop = stoppedValue A τ almost everywhere.

                                      theorem limsup_predictableConvexStep_eq_predictablePartLim {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] [OrderTopology ι] [DenselyOrdered ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hd : ProbabilityTheory.ClassD S 𝓕 P) (hs : MeasureTheory.Submartingale S 𝓕 P) {τ : ΩWithTop ι} ( : MeasureTheory.IsStoppingTime 𝓕 τ) :
                                      ∀ᵐ (ω : Ω) P, ∀ (t : ι), Filter.limsup (fun (x : ) => predictableConvexStep hd hs x t ω) Filter.atTop = predictablePartLim hd hs t ω

                                      Show that fun t ω => limsup (predictableConvexStep hd hs · t ω and predictablePartLim hd hs are indistinguishable.

                                      theorem ClassD.doob_meyer {ι : Type u_1} {Ω : Type u_2} [TopologicalSpace ι] [T1Space ι] [SecondCountableTopology ι] [MeasurableSpace ι] [LinearOrder ι] [OrderBot ι] [OrderTop ι] [SuccOrder ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure P] {S : ιΩ} {𝓕 : MeasureTheory.Filtration ι } (hs : MeasureTheory.Submartingale S 𝓕 P) :
                                      ∃ (M : ιΩ) (A : ιΩ), S = M + A MeasureTheory.Martingale M 𝓕 P (∀ (ω : Ω), IsCadlag fun (x : ι) => M x ω) MeasureTheory.IsStronglyPredictable 𝓕 A (∀ (ω : Ω), IsCadlag fun (x : ι) => A x ω) ∀ (ω : Ω), Monotone fun (x : ι) => A x ω
                                      theorem ProbabilityTheory.IsLocalSubmartingale.doob_meyer {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                      ∃ (M : ιΩ) (A : ιΩ), X = M + A IsLocalMartingale M 𝓕 P (∀ (ω : Ω), IsCadlag fun (x : ι) => M x ω) MeasureTheory.IsStronglyProgressive 𝓕 A (∀ (ω : Ω), IsCadlag fun (x : ι) => A x ω) HasLocallyIntegrableSup A 𝓕 P ∀ (ω : Ω), Monotone fun (x : ι) => A x ω
                                      noncomputable def ProbabilityTheory.IsLocalSubmartingale.martingalePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (X : ιΩ) (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                      ιΩ

                                      The local martingale part of the Doob-Meyer decomposition of the local submartingale.

                                      Equations
                                      Instances For
                                        noncomputable def ProbabilityTheory.IsLocalSubmartingale.predictablePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (X : ιΩ) (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                        ιΩ

                                        The predictable part of the Doob-Meyer decomposition of the local submartingale.

                                        Equations
                                        Instances For
                                          theorem ProbabilityTheory.IsLocalSubmartingale.martingalePart_add_predictablePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                          X = martingalePart X hX hX_cadlag + predictablePart X hX hX_cadlag
                                          theorem ProbabilityTheory.IsLocalSubmartingale.isLocalMartingale_martingalePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                          IsLocalMartingale (martingalePart X hX hX_cadlag) 𝓕 P
                                          theorem ProbabilityTheory.IsLocalSubmartingale.cadlag_martingalePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) (ω : Ω) :
                                          IsCadlag fun (x : ι) => martingalePart X hX hX_cadlag x ω
                                          theorem ProbabilityTheory.IsLocalSubmartingale.isStronglyProgressive_predictablePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                          theorem ProbabilityTheory.IsLocalSubmartingale.cadlag_predictablePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) (ω : Ω) :
                                          IsCadlag fun (x : ι) => predictablePart X hX hX_cadlag x ω
                                          theorem ProbabilityTheory.IsLocalSubmartingale.hasLocallyIntegrableSup_predictablePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) :
                                          theorem ProbabilityTheory.IsLocalSubmartingale.monotone_predictablePart {ι : Type u_1} {Ω : Type u_2} [LinearOrder ι] [OrderBot ι] [TopologicalSpace ι] [OrderTopology ι] { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X : ιΩ} {𝓕 : MeasureTheory.Filtration ι } [MeasurableSpace ι] (hX : IsLocalSubmartingale X 𝓕 P) (hX_cadlag : ∀ (ω : Ω), IsCadlag fun (x : ι) => X x ω) (ω : Ω) :
                                          Monotone fun (x : ι) => predictablePart X hX hX_cadlag x ω