Skip to content

Commit b95cbad

Browse files
added within_continuous_patch (#1883)
* added within_continuous_patch --------- Co-authored-by: Reynald Affeldt <reynald.affeldt@aist.go.jp>
1 parent c867261 commit b95cbad

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

CHANGELOG_UNRELEASED.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
- in `measurable_structure.v`:
8282
+ structure `PMeasurable`, notation `pmeasurableType`
8383

84+
- in `subspace_topology.v`:
85+
+ lemma `withinU_continuous_patch`
86+
8487
### Changed
8588

8689
- moved from `measurable_structure.v` to `classical_sets.v`:

theories/topology_theory/subspace_topology.v

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,3 +711,25 @@ HB.instance Definition _ :=
711711
@isContinuous.Build (subspace A) Z (g \o f) continuous_comp_subproof.
712712

713713
End continuous_fun_comp.
714+
715+
Section continuous_patch.
716+
Context {U V : topologicalType}.
717+
Variables (A B : set U) (f g : U -> V).
718+
Hypothesis contf : {within A, continuous f}.
719+
Hypothesis contg : {within B, continuous g}.
720+
Hypothesis closedA : closed A.
721+
Hypothesis closedB : closed B.
722+
Hypothesis AB_fg : forall x, x \in A `&` B -> f x = g x.
723+
724+
Lemma withinU_continuous_patch : {within A `|` B, continuous (patch g A f)}.
725+
Proof.
726+
pose gAf := patch g A f.
727+
apply: withinU_continuous => //.
728+
- suff : {in A, f =1 gAf} by move/subspace_eq_continuous; exact.
729+
by rewrite /gAf /patch => r ->.
730+
- suff : {in B, g =1 gAf} by move/subspace_eq_continuous; exact.
731+
move=> r rB; rewrite /gAf /patch; case: ifPn => // rA.
732+
by apply/esym/AB_fg; rewrite in_setI rA.
733+
Qed.
734+
735+
End continuous_patch.

0 commit comments

Comments
 (0)