Skip to content

Adapt to rocq#19987 #1532

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions classical/functions.v
Original file line number Diff line number Diff line change
Expand Up @@ -1734,15 +1734,15 @@ Lemma reindex_bigcup {aT rT I} (f : aT -> I) (P : set aT) (Q : set I)
(F : I -> set rT) : set_fun P Q f -> set_surj P Q f ->
\bigcup_(x in Q) F x = \bigcup_(x in P) F (f x).
Proof.
by move=> /image_subP fPQ /(surj_image_eq fPQ)<-; rewrite bigcup_image.
by move=> /image_subP fPQ /(surj_image_eq fPQ) QE; rewrite -[Q]QE bigcup_image.
Qed.
Arguments reindex_bigcup {aT rT I} f P Q.

Lemma reindex_bigcap {aT rT I} (f : aT -> I) (P : set aT) (Q : set I)
(F : I -> set rT) : set_fun P Q f -> set_surj P Q f ->
\bigcap_(x in Q) F x = \bigcap_(x in P) F (f x).
Proof.
by move=> /image_subP fPQ /(surj_image_eq fPQ)<-; rewrite bigcap_image.
by move=> /image_subP fPQ /(surj_image_eq fPQ) QE; rewrite -[Q]QE bigcap_image.
Qed.
Arguments reindex_bigcap {aT rT I} f P Q.

Expand Down
2 changes: 1 addition & 1 deletion theories/function_spaces.v
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ Lemma continuous_curry (f : U * V -> W) :
continuous (curry f) /\ forall u, continuous (curry f u).
Proof.
move=> ctsf; split; first last.
move=> u z; apply: continuous_comp; last exact: ctsf.
move=> u z; apply: (continuous_comp _ (ctsf (u, z))).
by apply: cvg_pair => //=; exact: cvg_cst.
move=> x; apply/compact_open_cvgP => K O /= cptK oO fKO.
near=> z => w /= [+ + <-]; near: z.
Expand Down
Loading