Skip to content

[Merged by Bors] - feat: integral of a continuous bilinear map applied to independent random variables#38754

Closed
EtienneC30 wants to merge 21 commits into
leanprover-community:masterfrom
EtienneC30:indep_smul
Closed

[Merged by Bors] - feat: integral of a continuous bilinear map applied to independent random variables#38754
EtienneC30 wants to merge 21 commits into
leanprover-community:masterfrom
EtienneC30:indep_smul

Conversation

@EtienneC30

@EtienneC30 EtienneC30 commented Apr 30, 2026

Copy link
Copy Markdown
Member

If X and Y are independent then ∫ ω, X ω * Y ω ∂μ = ∫ ω, X ω ∂μ * ∫ ω, Y ω ∂μ.

We generalize this to the case of a general continuous bilinear map, and specialize it for scalar multiplication and multiplication.


Open in Gitpod

@EtienneC30 EtienneC30 added the t-measure-probability Measure theory / Probability theory label Apr 30, 2026
@github-actions

github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown

PR summary e6e0db9d6c

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ IndepFun.integrable_bilin
+ IndepFun.integrable_left_of_integrable_op
+ IndepFun.integrable_op
+ IndepFun.integrable_right_of_integrable_op
+ IndepFun.integrable_smul
+ IndepFun.integral_bilin
+ IndepFun.integral_bilin'
+ IndepFun.integral_bilin_comp_comp
+ IndepFun.integral_bilin_comp_comp'
+ IndepFun.integral_comp_smul_comp
+ IndepFun.integral_fun_comp_smul_comp
+ IndepFun.integral_fun_smul_eq_smul_integral
+ IndepFun.integral_smul_eq_smul_integral
+ integral_prod_bilin

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

@sgouezel

sgouezel commented May 7, 2026

Copy link
Copy Markdown
Contributor

The better generalization is the following: if X and Y are independent and integrable, and B is continuous bilinear, then B X Y is integrable, with integral B (\int X) (\int Y). Does your proof also give that?

@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label May 7, 2026
@EtienneC30 EtienneC30 changed the title feat: generalize multiplication of independent random variables to scalar multiplication feat: integral of a continuous bilinear map applied to independent random variables May 15, 2026
@EtienneC30

Copy link
Copy Markdown
Member Author

When I started this I intended to do it for a general bilinear map but I was not satisfied because I could not drop the integrability condition as can be done with multiplication. In the end I proved a version for bilinear maps with the extra-assumption that ∀ x y, c * ‖x‖ * ‖y‖ ≤ ‖B x y‖ for some c > 0. That way things generalize nicely I think.

@EtienneC30 EtienneC30 removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 15, 2026
Comment thread Mathlib/Probability/Independence/Integration.lean Outdated
Comment thread Mathlib/Probability/Independence/Integration.lean Outdated
is a continuous bilinear map, then `∫ ω, B (X ω) (Y ω) ∂μ = B μ[X] μ[Y].` -/
theorem IndepFun.integral_bilin
[NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace 𝕜 E] [CompleteSpace E]
[SecondCountableTopology E] [MeasurableSpace E] [BorelSpace E]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you really need the second countable topology here? I haven't thought about it, but since X is integrable everything should happen in a second-countable part of the space. Maybe for the proof it's better to prove this one first and then deduce the version with the f?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened #39644 which proves that the identity is a.e.-strongly measurable with respect to µ.map f if f is a.e.-strongly measurable.

@sgouezel sgouezel added the awaiting-author A reviewer has asked the author a question or requested changes. label May 20, 2026
@EtienneC30 EtienneC30 removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 21, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 21, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 21, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

Comment thread Mathlib/Probability/Independence/Integration.lean Outdated
@sgouezel sgouezel added the awaiting-author A reviewer has asked the author a question or requested changes. label May 22, 2026
@EtienneC30 EtienneC30 removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 22, 2026
@sgouezel

Copy link
Copy Markdown
Contributor

bors r+
Thanks!

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label May 23, 2026
mathlib-bors Bot pushed a commit that referenced this pull request May 23, 2026
…ndom variables (#38754)

If `X` and `Y` are independent then `∫ ω, X ω * Y ω ∂μ = ∫ ω, X ω ∂μ * ∫ ω, Y ω ∂μ`.

We generalize this to the case of a general continuous bilinear map, and specialize it for scalar multiplication and multiplication.
@mathlib-bors

mathlib-bors Bot commented May 23, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: integral of a continuous bilinear map applied to independent random variables [Merged by Bors] - feat: integral of a continuous bilinear map applied to independent random variables May 23, 2026
@mathlib-bors mathlib-bors Bot closed this May 23, 2026
RaggedR pushed a commit to RaggedR/mathlib4 that referenced this pull request May 24, 2026
…ndom variables (leanprover-community#38754)

If `X` and `Y` are independent then `∫ ω, X ω * Y ω ∂μ = ∫ ω, X ω ∂μ * ∫ ω, Y ω ∂μ`.

We generalize this to the case of a general continuous bilinear map, and specialize it for scalar multiplication and multiplication.
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
…ndom variables (leanprover-community#38754)

If `X` and `Y` are independent then `∫ ω, X ω * Y ω ∂μ = ∫ ω, X ω ∂μ * ∫ ω, Y ω ∂μ`.

We generalize this to the case of a general continuous bilinear map, and specialize it for scalar multiplication and multiplication.
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
…ndom variables (leanprover-community#38754)

If `X` and `Y` are independent then `∫ ω, X ω * Y ω ∂μ = ∫ ω, X ω ∂μ * ∫ ω, Y ω ∂μ`.

We generalize this to the case of a general continuous bilinear map, and specialize it for scalar multiplication and multiplication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants