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

minor generalization #1433

Merged
merged 2 commits into from
Dec 18, 2024
Merged

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
32 checks passed
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