proposition: Lemma riemann_sum_negate (f : Q -> CR) (a w : Q) (n : positive) : riemann_sum (- f) a w n = - riemann_sum f a w n.
proof: Proof. unfold riemann_sum. rewrite <- cmΣ_negate. apply (@cm_Sum_eq CRasCMonoid). intro k. unfold negate, ext_negate. symmetry. apply CRopp_mult_distr_r. Qed.
imports: CoRN.algebra.RSetoid CoRN.metric2.Metric CoRN.metric2.UniformContinuity CoRN.model.reals.CRreal Coq.Unicode.Utf8 Coq.Program.Program CoRN.reals.fast.CRArith CoRN.reals.fast.CRabs CoRN.tactics.Qauto Coq.QArith.Qround CoRN.model.metric2.Qmetric CoRN.stdlib_omissions.P CoRN.stdlib_omissions.Z CoRN.stdlib_omissions.Q CoRN.stdlib_omissions.N CoRN.ode.metric CoRN.ode.FromMetric2 CoRN.ode.SimpleIntegration