File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ theories/probability_theory/exponential_distribution.v
140140theories/probability_theory/poisson_distribution.v
141141theories/probability_theory/beta_distribution.v
142142theories/probability_theory/probability.v
143+ theories/probability_theory/counting_distr.v
143144
144145theories/independence.v
145146
Original file line number Diff line number Diff line change @@ -764,6 +764,20 @@ rewrite funeqE => x /=; rewrite !fctE/=; have [fx0|/ltW fx0] := leP (f x) 0.
764764 by move: fx0; rewrite -{1}oppr0 lerNl => /max_idPr ->; rewrite addr0.
765765Qed .
766766
767+ Lemma le_funrpos f x: `|f^\+ x| <= `|f x|.
768+ Proof .
769+ rewrite ger0_norm ?funrpos_ge0//.
770+ have := funrposDneg f => /(congr1 (fun g => g x)); rewrite /= => <-.
771+ by rewrite lerDl funrneg_ge0.
772+ Qed .
773+
774+ Lemma le_funrneg f x: `|f^\- x| <= `|f x|.
775+ Proof .
776+ rewrite ger0_norm ?funrneg_ge0//.
777+ have := funrposDneg f => /(congr1 (fun g => g x)); rewrite /= => <-.
778+ by rewrite lerDr funrpos_ge0.
779+ Qed .
780+
767781Lemma funrposBneg f : f^\+ - f^\- = f.
768782Proof .
769783apply/funext => x.
You can’t perform that action at this time.
0 commit comments