Skip to content

[Merged by Bors] - feat(ProbabilityTheory): Conditional Jensen's Inequality#27953

Closed
CoolRmal wants to merge 62 commits intoleanprover-community:masterfrom
CoolRmal:conditional-jensen
Closed

[Merged by Bors] - feat(ProbabilityTheory): Conditional Jensen's Inequality#27953
CoolRmal wants to merge 62 commits intoleanprover-community:masterfrom
CoolRmal:conditional-jensen

Conversation

@CoolRmal
Copy link
Copy Markdown
Contributor

@CoolRmal CoolRmal commented Aug 4, 2025

This PR adds several variants of the conditional Jensen's inequality. I made some changes to Mathlib/Analysis/Convex/Approximation.lean because I need the sequence of affine functions to be bouneded above at each point in the proof of conditional_jensen_hereditarilyLindelofSpace.


Open in Gitpod

@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Aug 4, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 4, 2025

PR summary 1c7e491807

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.MeasureTheory.Function.ConditionalExpectation.CondJensen (new file) 2412

Declarations diff

+ AEStronglyMeasurable.norm_condExp_le
+ ConcaveOn.condExp_map_le
+ ConcaveOn.condExp_map_le_of_finiteDimensional
+ ConcaveOn.condExp_map_le_univ
+ Convex.condExp_mem
+ ConvexOn.map_condExp_le
+ ConvexOn.map_condExp_le_of_finiteDimensional
+ ConvexOn.map_condExp_le_of_hereditarilyLindelofSpace
+ ConvexOn.map_condExp_le_of_isFiniteMeasure
+ ConvexOn.map_condExp_le_univ
+ Measurable.codRestrict
+ _root_.IsCountablySpanning.null_of_forall_inter_null
+ _root_.IsCountablySpanning.null_of_forall_restrict_null
+ forall_measure_inter_isCountablySpanning_eq_zero

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


Increase in tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type
9502 1 backward.isDefEq

Current commit 47825382cc
Reference commit 1c7e491807

You can run this locally as

./scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@CoolRmal CoolRmal marked this pull request as ready for review August 4, 2025 21:47
@RemyDegenne RemyDegenne changed the title feat(ProbabilityTheory): Conditional Jensen's InequalityConditional jensen feat(ProbabilityTheory): Conditional Jensen's Inequality Aug 5, 2025
@RemyDegenne RemyDegenne added the t-measure-probability Measure theory / Probability theory label Aug 5, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 5, 2025
@mathlib4-merge-conflict-bot
Copy link
Copy Markdown
Collaborator

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 6, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 14, 2025
@mathlib4-merge-conflict-bot
Copy link
Copy Markdown
Collaborator

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 10, 2025
@EtienneC30
Copy link
Copy Markdown
Member

This PR has a huge diff which makes it hard to review. Could you split it smaller bits please? For instance everything in the Separation file could be in its own PR on which this one would depend.

@sgouezel sgouezel added the awaiting-author A reviewer has asked the author a question or requested changes. label Oct 29, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 2, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 6, 2025
@mathlib4-merge-conflict-bot
Copy link
Copy Markdown
Collaborator

This pull request has conflicts, please merge master and resolve them.

@CoolRmal
Copy link
Copy Markdown
Contributor Author

CoolRmal commented Nov 9, 2025

@EtienneC30 Thank you for your comments. I created several new PRs and I believe they are ready to review now.

-awaiting-author

@CoolRmal
Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 14, 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 Mar 17, 2026
Copy link
Copy Markdown
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.

This is looking really good now! We will be able to merge it soon.

@EtienneC30 EtienneC30 added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 18, 2026
@CoolRmal
Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 18, 2026
Copy link
Copy Markdown
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! This work has led to many nice PRs!
bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 18, 2026

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

@mathlib-triage mathlib-triage bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Mar 18, 2026
@CoolRmal
Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Mar 18, 2026
This PR adds several variants of the conditional Jensen's inequality. I made some changes to Mathlib/Analysis/Convex/Approximation.lean because I need the sequence of affine functions to be bouneded above at each point in the proof of `conditional_jensen_hereditarilyLindelofSpace`.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 18, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(ProbabilityTheory): Conditional Jensen's Inequality [Merged by Bors] - feat(ProbabilityTheory): Conditional Jensen's Inequality Mar 18, 2026
@mathlib-bors mathlib-bors bot closed this Mar 18, 2026
@CoolRmal CoolRmal deleted the conditional-jensen branch March 18, 2026 21:00
justus-springer pushed a commit to justus-springer/mathlib4 that referenced this pull request Mar 28, 2026
…community#27953)

This PR adds several variants of the conditional Jensen's inequality. I made some changes to Mathlib/Analysis/Convex/Approximation.lean because I need the sequence of affine functions to be bouneded above at each point in the proof of `conditional_jensen_hereditarilyLindelofSpace`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants