Top source

Module mathcomp.analysis.showcase.summability

From HB Require Import structures.
From mathcomp Require Import boot order 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`).

Unset 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
totally

acos_unlock_subterm : unlockable (fun (R : realType) (x : R) => [get x0 : _ | [set y | (0 <= y <= trigonometry_functions.pi)%R /\ cos y = x]%classic x0]) acos_unlock_subterm is not universe polymorphic acos_unlock_subterm is transparent Expands to: Constant mathcomp.analysis.elementary_functions.trigonometry_functions.acos_unlock_subterm Declared in library mathcomp.analysis.elementary_functions.trigonometry_functions, line 894, characters 0-96


Source code
{ : choiceType} : set_system {fset I} :=
  filter_from setT (fun => [set | A `<=` B]).

Instance
totally_filter
Source 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

locked_acos : unlockable (fun (R : realType) (x : R) => [get x0 : _ | [set y | (0 <= y <= trigonometry_functions.pi)%R /\ cos y = x]%classic x0]) locked_acos is not universe polymorphic locked_acos is transparent Expands to: Constant mathcomp.analysis.elementary_functions.trigonometry_functions.locked_acos Declared in library mathcomp.analysis.elementary_functions.trigonometry_functions, line 896, characters 10-21


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

Definition
sum

asin_unlock_subterm : unlockable (fun (R : realType) (x : R) => [get x0 : _ | [set y | (- (trigonometry_functions.pi / 2) <= y <= trigonometry_functions.pi / 2)%R /\ sin y = x]%classic x0]) asin_unlock_subterm is not universe polymorphic asin_unlock_subterm is transparent Expands to: Constant mathcomp.analysis.elementary_functions.trigonometry_functions.asin_unlock_subterm Declared in library mathcomp.analysis.elementary_functions.trigonometry_functions, line 1020, characters 0-108


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

Definition
summable

asin_unlock_subterm : unlockable (fun (R : realType) (x : R) => [get x0 : _ | [set y | (- (trigonometry_functions.pi / 2) <= y <= trigonometry_functions.pi / 2)%R /\ sin y = x]%classic x0]) asin_unlock_subterm is not universe polymorphic asin_unlock_subterm is transparent Expands to: Constant mathcomp.analysis.elementary_functions.trigonometry_functions.asin_unlock_subterm Declared in library mathcomp.analysis.elementary_functions.trigonometry_functions, line 1020, characters 0-108


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.