Module mathcomp.analysis.showcase.summability

From HB Require Import structures.
From mathcomp Require Import all_ssreflect_compat ssralg ssrint ssrnum finmap matrix.
From mathcomp Require Import interval zmodp.
From mathcomp Require Import boolp classical_sets.
From mathcomp Require Import ereal reals topology normedtype.

This file proposes a replacement for the definition `summable` (file `realsum.v`).

Set SsrOldRewriteGoalsOrder.  
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Import GRing.Theory Num.Def Num.Theory.

Local Open Scope classical_set_scope.

From mathcomp Require fintype bigop finmap.

Section totally.

Import fintype bigop finmap.
Local Open Scope fset_scope.
Definition { : choiceType} : set_system {fset I} :=
  filter_from setT (fun => [set | A `<=` B]).

Instance
totally_filterSource code
{ : choiceType} : ProperFilter (@totally I).
Proof.
eapply filter_from_proper; last by move=> A _; exists A; rewrite /= fsubset_refl.
apply: filter_fromT_filter; first by exists fset0.
by move=> A B /=; exists (A `|` B) => P /=; rewrite fsubUset => /andP[].
Qed.

Definition
partial_sum

quotient_topology : forall [T : Type], quotType T -> Type quotient_topology is not universe polymorphic Arguments quotient_topology [T]%type_scope Q quotient_topology is transparent Expands to: Constant mathcomp.analysis.topology_theory.quotient_topology.quotient_topology Declared in library mathcomp.analysis.topology_theory.quotient_topology, line 24, characters 11-28


Source code
{ : choiceType} { : zmodType}
  ( : I -> R) ( : {fset I}) : R := \sum_( : A) x (val i).

Definition
sum

quotient_open : forall {T : topologicalType} {Q0 : quotType T}, set (quotient_topology Q0) -> Prop quotient_open is not universe polymorphic Arguments quotient_open {T Q0} U%classical_set_scope quotient_open is transparent Expands to: Constant mathcomp.analysis.topology_theory.quotient_topology.quotient_open Declared in library mathcomp.analysis.topology_theory.quotient_topology, line 37, characters 11-24


Source code
 ( : choiceType) { : numDomainType} { : normedModType K}
   ( : I -> R) : R := lim (partial_sum x @ totally).

Definition
summable

quotient_topologicalType_mixin : forall {T : topologicalType} {Q0 : quotType T}, isOpenTopological.axioms_ (quotient_topology Q0) quotient_topology.HB_unnamed_mixin_11 quotient_topology.HB_unnamed_mixin_10 quotient_topologicalType_mixin is not universe polymorphic Arguments quotient_topologicalType_mixin {T Q0} quotient_topologicalType_mixin is transparent Expands to: Constant mathcomp.analysis.topology_theory.quotient_topology.quotient_topologicalType_mixin Declared in library mathcomp.analysis.topology_theory.quotient_topology, line 39, characters 19-49


Source code
 ( : choiceType) { : realType} { : normedModType K}
   ( : I -> R) :=
   \forall \near +oo%R, \forall \near totally,
   (partial_sum (fun => `|x i|) J <= M)%R.

End totally.