Zulip Chat Archive

Stream: Brownian motion

Topic: Quadratic variation and Stietjes functions


Rémy Degenne (Dec 05 2025 at 13:25):

In Mathlib, there is a definition docs#StieltjesFunction, which is a right-continuous monotone function from to . From such a function, we can get a measure StieltjesFunction.measure on . And the inverse operation of that is ProbabilityTheory.cdf.

In the project, we will define the predictable quadratic variation of a local martingale on some index set T satisfying some order/topology/measurability assumptions. The typical example is ℝ≥0.
The quadratic variation is a process with right-continuous monotone paths, so the paths are similar to Stieltjes functions but they are defined on T (for example ℝ≥0) instead of . For each one of those paths, we will want to get a measure to integrate against.

What I'm getting at is that we need to generalize docs#StieltjesFunction and docs#StieltjesFunction.measure to a class of domains that includes at least ℝ≥0.
We could perhaps generalize the code defining StieltjesFunction directly to a type satisfying a list of assumptions (to be defined), or alternatively assume that our index set T will always embed into and create a definition that goes to , gets a measure using the existing StieltjesFunction.measure, and maps it back to T.

Do you have thoughts on the best way to do that? Anybody wants to do it?

Rémy Degenne (Dec 05 2025 at 13:38):

Another consideration: we will also want to integrate against cadlag functions of locally bounded variation at some point, so we could focus on getting a signed measure out of those for index sets that include ℝ≥0, and then apply that mechanism to get a measure out of the quadratic variation.
With that option we don't need to spend time generalizing StieltjesFunction.

Sébastien Gouëzel (Dec 05 2025 at 14:29):

For me, the simplest way to get a measure from a (locally) bounded variation function is to write the function as a difference of two monotone functions (we already have that in mathlib) and then use the difference of the Stieltjes measures associated to the functions. So it would still be worth generalizing Stieltjes functions to more general index sets. Would conditionally complete linear orders be enough?

Rémy Degenne (Dec 05 2025 at 14:31):

Ah right, I forgot that we had that already. So going though monotone functions seems easier.
For the index set, ℝ≥0 and closed intervals of real numbers of the form [0,T] are my only examples for now, so yes, conditionally complete linear orders would definitely be enough.

Rémy Degenne (Dec 05 2025 at 14:45):

For reference: LocallyBoundedVariationOn.exists_monotoneOn_sub_monotoneOn
We will need a version of that result that takes a right-continuous function and returns two monotone right-continuous functions.

Sébastien Gouëzel (Dec 05 2025 at 14:59):

Rémy Degenne said:

Ah right, I forgot that we had that already. So going though monotone functions seems easier.
For the index set, ℝ≥0 and closed intervals of real numbers of the form [0,T] are my only examples for now, so yes, conditionally complete linear orders would definitely be enough.

ok, let me have a look.

Rémy Degenne (Dec 14 2025 at 19:13):

Sébastien Gouëzel generalized StieltjesFunction.measure to [ConditionallyCompleteLinearOrder R] [TopologicalSpace R] [OrderTopology R] [MeasurableSpace R] [BorelSpace R] [SecondCountableTopology R] [DenselyOrdered R] (this is now in Mathlib)


Last updated: Dec 20 2025 at 21:32 UTC