[Merged by Bors] - feat: drop completeness assumption in the definition of setToFun, expand API#39615
[Merged by Bors] - feat: drop completeness assumption in the definition of setToFun, expand API#39615sgouezel wants to merge 7 commits into
setToFun, expand API#39615Conversation
PR summary c02c766436Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| 0 if the function is not integrable. -/ | ||
| def setToFun (hT : DominatedFinMeasAdditive μ T C) (f : α → E) : F := | ||
| if hf : Integrable f μ then L1.setToL1 hT (hf.toL1 f) else 0 | ||
| if _hF : CompleteSpace F then |
There was a problem hiding this comment.
Please update the docstring to mention that new if condition.
|
✌️ sgouezel can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
…xpand API (#39615) The definition of the Bochner integral and the vector measure integral handle the non-completeness of the space in a completely parallel way. To avoid duplication and streamline proofs, we move this handling of non-completeness one step higher, to the definition of `setToFun`. We also expand its API -- this is cherry-picked from a work on vector measure integrals that has highlighted the need for the lemmas I am adding here. To minimize the size of the PR, I went for minimal fixes in the files on Bochner integrals and on conditional expectations. Further cleanup will be done in subsequent PRs. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
|
Pull request successfully merged into master. Build succeeded: |
setToFun, expand APIsetToFun, expand API
…xpand API (leanprover-community#39615) The definition of the Bochner integral and the vector measure integral handle the non-completeness of the space in a completely parallel way. To avoid duplication and streamline proofs, we move this handling of non-completeness one step higher, to the definition of `setToFun`. We also expand its API -- this is cherry-picked from a work on vector measure integrals that has highlighted the need for the lemmas I am adding here. To minimize the size of the PR, I went for minimal fixes in the files on Bochner integrals and on conditional expectations. Further cleanup will be done in subsequent PRs.
…on (#39862) This is not interesting from a mathematical point of view (in all reasonable applications, the spaces are complete), but it is a direct byproduct of the change to `setToFun` in #39615, and it means that whenever we write conditional expectations the job of Lean is easier (as it doesn't have to look for completeness) and the resulting term is simpler. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
…xpand API (leanprover-community#39615) The definition of the Bochner integral and the vector measure integral handle the non-completeness of the space in a completely parallel way. To avoid duplication and streamline proofs, we move this handling of non-completeness one step higher, to the definition of `setToFun`. We also expand its API -- this is cherry-picked from a work on vector measure integrals that has highlighted the need for the lemmas I am adding here. To minimize the size of the PR, I went for minimal fixes in the files on Bochner integrals and on conditional expectations. Further cleanup will be done in subsequent PRs. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
…on (leanprover-community#39862) This is not interesting from a mathematical point of view (in all reasonable applications, the spaces are complete), but it is a direct byproduct of the change to `setToFun` in leanprover-community#39615, and it means that whenever we write conditional expectations the job of Lean is easier (as it doesn't have to look for completeness) and the resulting term is simpler. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
…xpand API (leanprover-community#39615) The definition of the Bochner integral and the vector measure integral handle the non-completeness of the space in a completely parallel way. To avoid duplication and streamline proofs, we move this handling of non-completeness one step higher, to the definition of `setToFun`. We also expand its API -- this is cherry-picked from a work on vector measure integrals that has highlighted the need for the lemmas I am adding here. To minimize the size of the PR, I went for minimal fixes in the files on Bochner integrals and on conditional expectations. Further cleanup will be done in subsequent PRs. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
…on (leanprover-community#39862) This is not interesting from a mathematical point of view (in all reasonable applications, the spaces are complete), but it is a direct byproduct of the change to `setToFun` in leanprover-community#39615, and it means that whenever we write conditional expectations the job of Lean is easier (as it doesn't have to look for completeness) and the resulting term is simpler. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
The definition of the Bochner integral and the vector measure integral handle the non-completeness of the space in a completely parallel way. To avoid duplication and streamline proofs, we move this handling of non-completeness one step higher, to the definition of
setToFun. We also expand its API -- this is cherry-picked from a work on vector measure integrals that has highlighted the need for the lemmas I am adding here.To minimize the size of the PR, I went for minimal fixes in the files on Bochner integrals and on conditional expectations. Further cleanup will be done in subsequent PRs.