Commit 2d8021f
committed
chore(Probability): shorten proof of condExp_indep_eq (leanprover-community#37731)
This PR golfs three proofs by replacing bespoke local calculations with existing lemmas and `simp`.
* In `Mathlib/MeasureTheory/Integral/DivergenceTheorem.lean`, simplify the `ℝ ≃L[ℝ] ℝ¹` bookkeeping in `integral_eq_of_hasDerivAt_off_countable_of_le` and replace two local `rfl` helpers with `simp [F', e]`.
* In `Mathlib/Probability/ConditionalExpectation.lean`, replace two hand-written `funext` equalities with direct continuity statements obtained by composing `continuous_integral` and `continuous_setIntegral` with `Submodule.subtypeL`.
* In `Mathlib/MeasureTheory/Integral/MeanInequalities.lean`, replace a manual proof of the pointwise bound used in `lintegral_rpow_add_lt_top_of_lintegral_rpow_lt_top` with the existing lemma `ENNReal.rpow_add_le_mul_rpow_add_rpow`.
All changes are proof golfing only; theorem statements are unchanged.
No theorem statements are changed.1 parent 12052ed commit 2d8021f
3 files changed
Lines changed: 8 additions & 36 deletions
File tree
- Mathlib
- MeasureTheory/Integral
- Probability
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | 379 | | |
381 | | - | |
382 | 380 | | |
383 | 381 | | |
384 | 382 | | |
| |||
393 | 391 | | |
394 | 392 | | |
395 | 393 | | |
396 | | - | |
| 394 | + | |
397 | 395 | | |
398 | 396 | | |
399 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | 266 | | |
269 | 267 | | |
270 | 268 | | |
271 | 269 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
| 270 | + | |
289 | 271 | | |
290 | 272 | | |
291 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
77 | 69 | | |
78 | 70 | | |
79 | 71 | | |
| |||
0 commit comments