Skip to content

Commit

Permalink
minor generalization
Browse files Browse the repository at this point in the history
  • Loading branch information
affeldt-aist committed Dec 11, 2024
1 parent cd3d1af commit ae530db
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions classical/classical_sets.v
Original file line number Diff line number Diff line change
Expand Up @@ -2602,6 +2602,7 @@ Proof.
by apply: qcanon; elim/eqPchoice; elim/choicePpointed => [[T F]|T];
[left; exists (Empty.Pack F) | right; exists T].
Qed.

Lemma Ppointed : quasi_canonical Type pointedType.
Proof.
by apply: qcanon; elim/Peq; elim/eqPpointed => [[T F]|T];
Expand Down
15 changes: 13 additions & 2 deletions theories/measure.v
Original file line number Diff line number Diff line change
Expand Up @@ -1390,11 +1390,22 @@ Qed.

End sigma_ring_lambda_system.

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.
move=> /countable_bijP[B] /ppcard_eqP[f] Fm.
rewrite (reindex_bigcup f^-1%FUN setT)//=; first exact: bigcupT_measurable.
exact: (@subl_surj _ _ B).
Qed.

Lemma bigcupT_measurable_rat d (T : sigmaRingType d) (F : rat -> set T) :
(forall i, measurable (F i)) -> measurable (\bigcup_i F i).
Proof.
move=> Fm; have /ppcard_eqP[f] := card_rat.
by rewrite (reindex_bigcup f^-1%FUN setT)//=; exact: bigcupT_measurable.
apply: countable_bigcupT_measurable.
by apply/countable_bijP; exists setT; exact: card_rat.
Qed.

Section measurable_lemmas.
Expand Down

0 comments on commit ae530db

Please sign in to comment.