Section is_RInt.
(** * Definition of Riemann integral *)
Context {V : NormedModule R_AbsRing}.
Definition is_RInt (f : R -> V) (a b : R) (If : V) :=
filterlim (fun ptd => scal (sign (b-a)) (Riemann_sum f ptd)) (Riemann_fine a b) (locally If).
Definition ex_RInt (f : R -> V) (a b : R) :=
exists If : V, is_RInt f a b If.
(** ** Usual properties *)
(** The integral between a and a is null *)
(** Swapping bounds *)
(** Integrable implies bounded *)
(** Extensionality *)
(** ** Constant functions *)
(** ** Composition *)

Lemma ex_RInt_comp_opp :
forall (f : R -> V) (a b : R),
ex_RInt f (-a) (-b) ->
ex_RInt (fun y => opp (f (- y))) a b.