Skip to content

minor generalization#1433

Merged
CohenCyril merged 2 commits intomath-comp:masterfrom
affeldt-aist:measure_20241210
Dec 18, 2024
Merged

minor generalization#1433
CohenCyril merged 2 commits intomath-comp:masterfrom
affeldt-aist:measure_20241210

Conversation

@affeldt-aist
Copy link
Member

@affeldt-aist affeldt-aist commented Dec 11, 2024

Motivation for this change

This generalizes bigcupT_measurable_ratto any choiceType whose whole set is countable.
I didn't prove a version with countType because I didn't manage to generalize the
quasi_canonical machinery. Anyway, that doesn't make the lemma less general. @CohenCyril

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Reminder to reviewers

@affeldt-aist affeldt-aist added this to the 1.8.0 milestone Dec 11, 2024
Comment on lines +1393 to +1398
Lemma countable_bigcupT_measurable d (T : sigmaRingType d) (U : choiceType)
(F : U -> set T) : countable [set: U] ->
(forall i, measurable (F i)) -> measurable (\bigcup_i F i).
Proof.
elim/choicePpointed: U => U in F *.
by move=> _ _; rewrite empty_eq0 bigcup0.
Copy link
Member

Choose a reason for hiding this comment

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

Actually there is no reason to assume a choice type (it is not used in the statement), so I would do:

Suggested change
Lemma countable_bigcupT_measurable d (T : sigmaRingType d) (U : choiceType)
(F : U -> set T) : countable [set: U] ->
(forall i, measurable (F i)) -> measurable (\bigcup_i F i).
Proof.
elim/choicePpointed: U => U in F *.
by move=> _ _; rewrite empty_eq0 bigcup0.
Lemma countable_bigcupT_measurable d (T : sigmaRingType d) U
(F : U -> set T) : countable [set: U] ->
(forall i, measurable (F i)) -> measurable (\bigcup_i F i).
Proof.
elim/Ppointed: U => U in F *; first by move=> *; rewrite empty_eq0 bigcup0.

@CohenCyril CohenCyril merged commit 38f50b1 into math-comp:master Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants