Skip to content

feat(MeasureTheory/VectorMeasure): add integral of a vector-valued function against a vector measure#28499

Open
yoh-tanimoto wants to merge 132 commits intoleanprover-community:masterfrom
yoh-tanimoto:yoh-tanimoto-vectormeasure-integral
Open

feat(MeasureTheory/VectorMeasure): add integral of a vector-valued function against a vector measure#28499
yoh-tanimoto wants to merge 132 commits intoleanprover-community:masterfrom
yoh-tanimoto:yoh-tanimoto-vectormeasure-integral

Conversation

@yoh-tanimoto
Copy link
Copy Markdown
Collaborator

@yoh-tanimoto yoh-tanimoto commented Aug 15, 2025

add VectorMeasureWithPairing.integral for normed vector spaces E, F, a Banach space G , a continuous linear pairing B : E →L[ℝ] F →L[ℝ] → G and an F-valued vector measure μ, which should be informally written as ∫ B (f x) ∂μ x.

motivation: there are natural vector measures such as signed measures and complex measures, and their integrals appear naturally e.g. in a proof of the spectral theorem for general bounded normal operators on a Hilbert space.

@EtienneC30 EtienneC30 self-assigned this Apr 9, 2026
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 9, 2026
@yoh-tanimoto
Copy link
Copy Markdown
Collaborator Author

I noticed that μ.variation is not the correct reference measure. I switched it to (μ.comp B.flip).variation.

@yoh-tanimoto yoh-tanimoto removed the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 12, 2026
Copy link
Copy Markdown
Member

@EtienneC30 EtienneC30 left a comment

Choose a reason for hiding this comment

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

Thanks! I am thinking it would be worth introducing VectorMeasureWithPairing.Integrable which would correspond to being integrable with respect to the variation of the transpose.

Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 14, 2026
yoh-tanimoto and others added 2 commits April 14, 2026 22:33
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
@yoh-tanimoto yoh-tanimoto removed the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 14, 2026
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment on lines +116 to +120
structure VectorMeasureWithPairing where
/-- A continuous linear pairing from `E` `F` into a Banach space `G`. -/
pairing : E →L[ℝ] F →L[ℝ] G
/-- An `F`-valued vector measure. -/
vectorMeasure : VectorMeasure X F
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is still a bit unclear to me whether we want this or not, compared to just define the integral with B and µ as arguments. On the one hand I feel like in concrete settings we may have B and µ in an unbundled way, which would mean writing ⟨B, μ⟩ often, which is not that bad but still a bit less nice. On the other hand I guess we might just define a VectorMeasureWithPairing on the fly, or even have a file compiling many different VectorMeasureWithPairings. What do you think?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

do you mean that we keep VectorMeasureWithPairing just as a namespace? I introduced the structure because in this way you can use the dot notation, but maybe not so useful?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If it is just about namespace we can simply use VectorMeasure. The question is whether we want to bundle the measure and the pairing or not (and also what is the notation if we do not bundle).

Copy link
Copy Markdown
Collaborator Author

@yoh-tanimoto yoh-tanimoto Apr 21, 2026

Choose a reason for hiding this comment

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

Ah right, I could define integral without bundling. Now the bundling started to look redundant...

noncomputable def integral (μ : VectorMeasure X F) (B : E →L[ℝ] F →L[ℝ] G) (f : X → E) : G :=
  if _ : CompleteSpace G then
  setToFun (μ.mapRange B.flip.toAddMonoidHom B.flip.continuous).variation
    (μ.mapRange B.flip.toAddMonoidHom B.flip.continuous)
    (dominatedFinMeasAdditive_cbmApplyMeasure B μ) f
  else 0

I would like a notation like ∫ᵛ x, B (f x) ∂μ, but not sure how to define:

notation3 " ∫ᵛ "(...)", "B:50" "r:60:(scoped f => f)" ∂"μ:70 =>
  integral (MeasureTheory.VectorMeasureWithPairing.mk B μ) r

variable (B : E →L[ℝ] F →L[ℝ] G) (μ : VectorMeasure X F) (f : X → E)
#check ∫ᵖ x, B (f x) ∂μ

gives "unexpected token '∂'; expected term". Could you help?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I removed VectorMeasureWithPairing. I think this is better indeed.

Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 16, 2026
@yoh-tanimoto yoh-tanimoto removed the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 19, 2026
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Integral.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
Comment thread Mathlib/MeasureTheory/VectorMeasure/Variation/Basic.lean Outdated
@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 21, 2026
yoh-tanimoto and others added 3 commits April 22, 2026 02:17
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
@yoh-tanimoto yoh-tanimoto removed the awaiting-author A reviewer has asked the author a question or requested changes. label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants