Skip to content

Commit 2c3a9bd

Browse files
authored
mv charge to measure and lebesgue_integral (#1953)
* mv charge to measure and lebesgue_integral
1 parent b95cbad commit 2c3a9bd

16 files changed

Lines changed: 2388 additions & 2265 deletions

File tree

CHANGELOG_UNRELEASED.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,21 @@
107107
+ instance of `SubLModule` on `{linear_continuous _ -> _ }`
108108
+ instance of `LinearContinuous` on the null function
109109
+ notations `{linear_continuous _ -> _ | _ }` and `{linear_continuous _ -> _ }`
110-
+ definitions `lcfun`, `lcfun_key, `lcfunP`
110+
+ definitions `lcfun`, `lcfun_key`, `lcfunP`
111111
+ lemmas `lcfun_eqP`, `null_fun_continuous`, `fun_cvgD`,
112112
`fun_cvgN`, `fun_cvgZ`, `fun_cvgZr`
113113
+ lemmas `lcfun_continuous` and `lcfun_linear`
114+
115+
- new files `signed_measure.v` and `radon_nikodym.v`
116+
+ with the contents of `charge.v` (deprecated)
114117

115118
### Changed
116119

120+
- moved from `measurable_structure.v` to `classical_sets.v`:
121+
+ definition `preimage_set_system`
122+
+ lemmas `preimage_set_system0`, `preimage_set_systemU`, `preimage_set_system_comp`,
123+
`preimage_set_system_id`
124+
117125
- moved from `topology_structure.v` to `filter.v`:
118126
+ lemma `continuous_comp` (and generalized)
119127

@@ -122,6 +130,50 @@
122130
+ `funeposneg` renamed to `funeposBneg` and direction of the equality changed
123131
+ `funeD_posD` renamed to `funeDB` and direction of the equality changed
124132

133+
- in `constructive_ereal.v`:
134+
+ lemmas `EFin_semi_additive` and `dEFin_semi_additive` turned into `Let`s
135+
136+
- moved from `charge.v` to `signed_measure.v`:
137+
+ mixin `isAdditiveCharge`, structure `AdditiveCharge`
138+
+ mixin `isSemiSigmaAdditive`, structure `Charge`
139+
+ factory `isCharge`
140+
+ lemmas `charge0`, `charge_semi_additiveW`, `charge_semi_additive2E`,
141+
`charge_semi_additive2`, `chargeU`, `chargeDI`, `charge_partition`
142+
+ definitions `measure_of_charge`, `charge_of_finite_measure`
143+
+ lemma `chargeD`
144+
+ definitions `crestr`, `crestr0`, `czero`, `cscale`
145+
+ lemmas `dominates_cscalel`, `dominates_cscaler`
146+
+ definition `copp`
147+
+ lemma `cscaleN1`
148+
+ definition `cadd`
149+
+ lemmas `dominates_cadd`, `dominates_pushforward`
150+
+ definitions `positive_set`, `negative_set`
151+
+ lemmas `negative_set_charge_le0`, `negative_set0`,
152+
`positive_negative0`, `bigcup_negative_set`, `negative_setU`,
153+
`hahn_decomposition_lemma`
154+
+ definition `hahn_decomposition`
155+
+ theorem `Hahn_decomposition`
156+
+ lemmas `Hahn_decomposition_uniq`, `cjordan_posE`, `cjordan_negE`
157+
+ definitions `jordan_pos`, `jordan_neg`
158+
+ lemmas `jordan_posE`, `jordan_negE`, `jordan_decomp`, `jordan_pos_dominates`,
159+
`jordan_neg_dominates`
160+
+ definition `charge_variation`, `charge_dominates`
161+
+ lemmas `abse_charge_variation`, `null_charge_dominatesP`,
162+
`content_charge_dominatesP`, `charge_variation_continuous`
163+
164+
- moved from `charge.v` to `radon_nikodym.v`:
165+
+ definition `induced_charge`
166+
+ lemmas `semi_sigma_additive_nng_induced`, `dominates_induced`,
167+
`integral_normr_continuous`
168+
+ definitions `approxRN`, `int_approxRN`, `sup_int_approxRN`
169+
+ lemmas `sup_int_approxRN_ge0`, `radon_nikodym_finite`,
170+
`radon_nikodym_sigma_finite`, `change_of_variables`, `integrableM`,
171+
`chain_rule`
172+
+ definition `Radon_Nikodym`
173+
+ lemmas `Radon_NikodymE`, `Radon_Nikodym_fin_num`, `Radon_Nikodym_integrable`,
174+
`ae_eq_Radon_Nikodym_SigmaFinite`, `Radon_Nikodym_change_of_variables`,
175+
`Radon_Nikodym_cscale`, `Radon_Nikodym_cadd`, `Radon_Nikodym_chain_rule`
176+
125177
### Renamed
126178

127179
- in `tvs.v`:
@@ -193,6 +245,8 @@
193245

194246
### Deprecated
195247

248+
- file `charge.v` (use `measure.v` and/or `lebesgue_integral.v`)
249+
196250
### Removed
197251

198252
- file `signed.v`

_CoqProject

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ theories/measure_theory/probability_measure.v
104104
theories/measure_theory/measure_negligible.v
105105
theories/measure_theory/measure_extension.v
106106
theories/measure_theory/measurable_function.v
107+
theories/measure_theory/signed_measure.v
107108
theories/measure_theory/measure.v
108109

109110
theories/measurable_realfun.v
@@ -123,6 +124,7 @@ theories/lebesgue_integral_theory/lebesgue_Rintegral.v
123124
theories/lebesgue_integral_theory/lebesgue_integral_fubini.v
124125
theories/lebesgue_integral_theory/lebesgue_integral_differentiation.v
125126
theories/lebesgue_integral_theory/lebesgue_integral.v
127+
theories/lebesgue_integral_theory/radon_nikodym.v
126128
theories/lebesgue_integral_theory/giry.v
127129

128130
theories/ftc.v

reals/constructive_ereal.v

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -931,8 +931,9 @@ Proof. by case: x => //=; rewrite oppr0. Qed.
931931

932932
Lemma EFinD r r' : (r + r')%:E = r%:E + r'%:E. Proof. by []. Qed.
933933

934-
Lemma EFin_semi_additive : @semi_additive _ (\bar R) EFin. Proof. by split. Qed.
935-
HB.instance Definition _ := GRing.isSemiAdditive.Build R (\bar R) EFin
934+
Let EFin_semi_additive : @nmod_morphism _ (\bar R) EFin. Proof. by split. Qed.
935+
936+
HB.instance Definition _ := GRing.isNmodMorphism.Build R (\bar R) EFin
936937
EFin_semi_additive.
937938

938939
Lemma EFinB r r' : (r - r')%:E = r%:E - r'%:E. Proof. by []. Qed.
@@ -1583,10 +1584,11 @@ Proof. by []. Qed.
15831584

15841585
Lemma dEFinE (r : R) : dEFin r = r%:E. Proof. by []. Qed.
15851586

1586-
Lemma dEFin_semi_additive : @semi_additive _ (\bar^d R) dEFin.
1587+
Let dEFin_semi_additive : @nmod_morphism _ (\bar^d R) dEFin.
15871588
Proof. by split. Qed.
1589+
15881590
#[export]
1589-
HB.instance Definition _ := GRing.isSemiAdditive.Build R (\bar^d R) dEFin
1591+
HB.instance Definition _ := GRing.isNmodMorphism.Build R (\bar^d R) dEFin
15901592
dEFin_semi_additive.
15911593

15921594
Lemma dEFinB (r r' : R) : (r - r')%R%:E = r%:E - r'%:E.

reals/reals.v

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Lemma RfloorE x : Rfloor x = (Num.floor x)%:~R.
470470
Proof. by []. Qed.
471471

472472
Lemma mem_rg1_floor x : (range1 (Num.floor x)%:~R) x.
473-
Proof. by rewrite /range1 /mkset -intrD1 floor_le_tmp floorD1_gt. Qed.
473+
Proof. by rewrite /range1 /mkset -intrD1 floor_le floorD1_gt. Qed.
474474

475475
Lemma mem_rg1_Rfloor x : (range1 (Rfloor x)) x.
476476
Proof. exact: mem_rg1_floor. Qed.
@@ -510,7 +510,7 @@ Lemma le_Rfloor : {homo (@Rfloor R) : x y / x <= y}.
510510
Proof. by move=> x y /Num.Theory.le_floor; rewrite ler_int. Qed.
511511

512512
Lemma Rfloor_ge_int x (i : int) : (i%:~R <= x)= (i%:~R <= Rfloor x).
513-
Proof. by rewrite ler_int floor_ge_int_tmp. Qed.
513+
Proof. by rewrite ler_int floor_ge_int. Qed.
514514

515515
Lemma Rfloor_lt_int x (i : int) : (x < i%:~R) = (Rfloor x < i%:~R).
516516
Proof. by rewrite ltr_int -floor_lt_int. Qed.
@@ -544,10 +544,10 @@ Lemma Rceil_ge x : x <= Rceil x.
544544
Proof. by rewrite Num.Theory.ceil_ge ?num_real. Qed.
545545

546546
Lemma le_Rceil : {homo (@Rceil R) : x y / x <= y}.
547-
Proof. by move=> x y ?; rewrite /Rceil ler_int le_ceil_tmp. Qed.
547+
Proof. by move=> x y ?; rewrite /Rceil ler_int le_ceil. Qed.
548548

549549
Lemma Rceil_ge0 x : 0 <= x -> 0 <= Rceil x.
550-
Proof. by move=> x0; rewrite /Rceil ler0z -(ceil0 R) le_ceil_tmp. Qed.
550+
Proof. by move=> x0; rewrite /Rceil ler0z -(ceil0 R) le_ceil. Qed.
551551

552552
Lemma RceilE x : Rceil x = (Num.ceil x)%:~R.
553553
Proof. by []. Qed.

theories/Make

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ measure_theory/probability_measure.v
7171
measure_theory/measure_negligible.v
7272
measure_theory/measure_extension.v
7373
measure_theory/measurable_function.v
74+
measure_theory/signed_measure.v
7475
measure_theory/measure.v
7576

7677
measurable_realfun.v
@@ -89,6 +90,7 @@ lebesgue_integral_theory/lebesgue_integral_under.v
8990
lebesgue_integral_theory/lebesgue_Rintegral.v
9091
lebesgue_integral_theory/lebesgue_integral_fubini.v
9192
lebesgue_integral_theory/lebesgue_integral_differentiation.v
93+
lebesgue_integral_theory/radon_nikodym.v
9294
lebesgue_integral_theory/lebesgue_integral.v
9395
lebesgue_integral_theory/giry.v
9496

theories/all_analysis.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ From mathcomp Require Export hoelder.
1919
From mathcomp Require Export probability.
2020
From mathcomp Require Export lebesgue_stieltjes_measure.
2121
From mathcomp Require Export convex.
22-
From mathcomp Require Export charge.
2322
From mathcomp Require Export kernel.
2423
From mathcomp Require Export pi_irrational.
2524
From mathcomp Require Export gauss_integral.

0 commit comments

Comments
 (0)