Skip to content
Draft
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
2 changes: 2 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

- in `num_normedtype.v`:
+ lemma `nbhs_infty_gtr`
- in `function_spaces.v`:
+ lemmas `cvg_big`, `continuous_big`

### Changed

Expand Down
33 changes: 33 additions & 0 deletions theories/function_spaces.v
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,39 @@ End cartesian_closed.

End currying.

Section big_continuous.

Lemma cvg_big (T : Type) (U : topologicalType) (F : set_system T) (I : Type)
(r : seq I) (P : pred I) (Ff : I -> T -> U) (Fa : I -> U)
(op : U -> U -> U) (x0 : U) :
Filter F ->
continuous (fun x : U * U => op x.1 x.2) ->
(forall i, P i -> Ff i x @[x --> F] --> Fa i) ->
\big[op/x0]_(i <- r | P i) (Ff i x) @[x --> F] -->
\big[op/x0]_(i <- r | P i) Fa i.
Proof.
move=> FF opC0 cvg_f.
elim: r => [|x r IHr].
rewrite big_nil; under eq_cvg do rewrite big_nil.
exact: cvg_cst.
rewrite big_cons; under eq_cvg do rewrite big_cons.
case: ifP => // Px.
apply: (@cvg_comp _ _ _
(fun x1 => (Ff x x1, \big[op/x0]_(j <- r | P j) Ff j x1)) _ _
(nbhs (Fa x, \big[op/x0]_(j <- r | P j) Fa j)) _ _
(continuous_curry_cvg opC0)).
by apply: cvg_pair => //; apply: cvg_f.
Qed.

Lemma continuous_big [K T : topologicalType] [I : Type] (r : seq I)
(P : pred I) (F : I -> T -> K) (op : K -> K -> K) (x0 : K) :
continuous (fun x : K * K => op x.1 x.2) ->
(forall i, P i -> continuous (F i)) ->
continuous (fun x => \big[op/x0]_(i <- r | P i) F i x).
Proof. by move=> op_cont f_cont x; apply: cvg_big => // i /f_cont; apply. Qed.

End big_continuous.

Definition eval {X Y : topologicalType} : continuousType X Y * X -> Y :=
uncurry (id : continuousType X Y -> (X -> Y)).

Expand Down
Loading