Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat: integral of f x • g y over α × β #7627

Closed
wants to merge 10 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Oct 11, 2023

  • Generalize integral_prod_mul to integral_prod_smul, add Integrable.prod_smul.
  • Rename integrable_prod_mul to Integrable.prod_mul.
  • Add integral_fun_fst and integral_fun_snd.

Open in Gitpod

@urkud urkud added blocked-by-other-PR This PR depends on another PR which is still in the queue. awaiting-review The author would like community review of the PR t-measure-probability Measure theory / Probability theory labels Oct 11, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. label Oct 11, 2023
@leanprover-community-mathlib4-bot
Copy link
Collaborator

This PR/issue depends on:

Copy link
Contributor

@RemyDegenne RemyDegenne left a comment

Choose a reason for hiding this comment

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

Thanks!
bors d+

theorem integral_prod_mul {L : Type*} [IsROrC L] (f : α → L) (g : β → L) :
∫ z, f z.1 * g z.2 ∂μ.prod ν = (∫ x, f x ∂μ) * ∫ y, g y ∂ν := by
by_cases h : Integrable (fun z : α × β => f z.1 * g z.2) (μ.prod ν)
theorem integral_prod_smul {𝕜 : Type*} [IsROrC 𝕜] [NormedSpace 𝕜 E] (f : α → 𝕜) (g : β → E) :
Copy link
Contributor

Choose a reason for hiding this comment

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

In Integrable.prod_smul, you generalized IsROrC to NontriviallyNormedField. Here you kept IsROrC. Is the generalization impossible here?

Copy link
Member Author

Choose a reason for hiding this comment

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

To avoid integrability assumption, you need 𝕜 to be a complete space. Also, we need [NormedSpace Real 𝕜]. AFAICT, only IsROrC satisfy this.

@bors
Copy link

bors bot commented Oct 12, 2023

✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Oct 12, 2023
@urkud
Copy link
Member Author

urkud commented Oct 12, 2023

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Oct 12, 2023
bors bot pushed a commit that referenced this pull request Oct 12, 2023
* Generalize `integral_prod_mul` to `integral_prod_smul`, add `Integrable.prod_smul`.
* Rename `integrable_prod_mul` to `Integrable.prod_mul`.
* Add `integral_fun_fst` and `integral_fun_snd`.
@bors
Copy link

bors bot commented Oct 12, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat: integral of f x • g y over α × β [Merged by Bors] - feat: integral of f x • g y over α × β Oct 12, 2023
@bors bors bot closed this Oct 12, 2023
@bors bors bot deleted the YK-integral-prod-smul branch October 12, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated 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.

None yet

3 participants