Module mathcomp.analysis.measure_theory.dirac_measure
From HB Require Import structures.From mathcomp Require Import boot order algebra interval_inference finmap.
From mathcomp Require Import boolp classical_sets functions cardinality fsbigop
reals.
From mathcomp Require Import topology ereal normedtype sequences esum numfun.
From mathcomp Require Import measurable_structure measure_function.
Reserved Notation "'\d_' a" (at level 8, a at level 2, format "'\d_' a").
Unset SsrOldRewriteGoalsOrder.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Import Order.TTheory GRing.Theory Num.Theory.
Local Open Scope classical_set_scope.
Local Open Scope ring_scope.
Section dirac_measure.
Local Open Scope ereal_scope.
Context ( : sigmaRingType d) ( : T) ( : realFieldType).
Definition
cluster : forall {T : topologicalType}, set_system T -> set T cluster is not universe polymorphic Arguments cluster {T} F _ cluster is transparent Expands to: Constant mathcomp.analysis.topology_theory.compact.cluster Declared in library mathcomp.analysis.topology_theory.compact, line 54, characters 11-18
Used by
- mathcomp.analysis.lebesgue_integral_theory.giry
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.kernel
- mathcomp.analysis.measure_theory.probability_measure
Source code
Let
Let
Let
Proof.
rewrite inE => -[n _ Fna].
have naF m : m != n -> a \notin F m.
move=> mn; rewrite notin_setE => Fma.
move/trivIsetP : tF => /(_ _ _ Logic.I Logic.I mn).
by rewrite predeqE => /(_ a)[+ _]; exact.
apply/cvg_ballP => _/posnumP[e]; near=> m.
have mn : (n < m)%N by near: m; exists n.+1.
rewrite big_mkord (bigID (xpred1 (Ordinal mn)))//= big_pred1_eq/= big1/=.
by move=> j ij; rewrite indicE (negbTE (naF _ _)).
by rewrite adde0 indicE mem_set//; exact: ballxx.
rewrite [X in X @ _ --> _](_ : _ = cst 0)//.
apply/funext => n; rewrite big1// => i _; rewrite indicE; apply/eqP.
by rewrite eqe pnatr_eq0 eqb0; apply: contra aFn => /[!inE] aFn; exists i.
Unshelve. all: by end_near. Qed.
.
dirac dirac0 dirac_ge0 dirac_sigma_additive.
End dirac_measure.
Arguments dirac {d T} _ {R}.
Notation
Section dirac_lemmas_realFieldType.
Local Open Scope ereal_scope.
Context ( : sigmaRingType d) ( : realFieldType).
Lemma
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.probability_theory.random_variable
- mathcomp.analysis.probability_theory.bernoulli_distribution
- mathcomp.analysis.probability_theory.binomial_distribution
Source code
Lemma
Lemma
- mathcomp.analysis.lebesgue_integral_theory.giry
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integrable
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.probability_theory.random_variable
- mathcomp.analysis.probability_theory.bernoulli_distribution
- mathcomp.analysis.probability_theory.binomial_distribution
- mathcomp.analysis.kernel
- mathcomp.analysis.measure_theory.probability_measure
Source code
End dirac_lemmas_realFieldType.
Section dirac_lemmas.
Local Open Scope ereal_scope.
Context ( : sigmaRingType d) ( : realType).
Lemma
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
Source code
\esum_( in A) 1 = (#|` fset_set A|%:R)%:E :> \bar R.
Proof.
by rewrite card_fset_sum1// natr_sum -sumEFin fsbig_finite.
Qed.
Lemma
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
Source code
\esum_( in A) \d_ i A = (#|` fset_set A|%:R)%:E :> \bar R.
Proof.
by move=> i iA; rewrite diracE iA.
by rewrite card_fset_sum1// natr_sum -sumEFin fsbig_finite.
Qed.
Lemma
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
Source code
\esum_( in A) \d_ i A = +oo :> \bar R.
Proof.
have [B BA Br] := infinite_set_fset (Num.truncn r).+1 infA.
rewrite ge0_esum//; apply: PosEsum.pos_esum_ge; exists [set` B] => //.
apply: (@le_trans _ _ (Num.truncn r).+1%:R%:E).
by rewrite lee_fin ltW// truncnS_gt.
move: Br; rewrite -(@ler_nat R) -lee_fin => /le_trans; apply.
rewrite (eq_fsbigr (cst 1))/=; last first.
by rewrite fsbig_finite//= card_fset_sum1 sumEFin natr_sum// set_fsetK.
by move=> i /[!inE] /BA /mem_set iA; rewrite diracE iA.
Qed.
End dirac_lemmas.