(** ** Generalized intermediate value theorem *)

Lemma IVT_Rbar_incr (f : R -> R) (a b la lb : Rbar) (y : R) :
is_lim f a la -> is_lim f b lb
-> (forall (x : R), Rbar_lt a x -> Rbar_lt x b -> continuity_pt f x)
-> Rbar_lt a b
-> Rbar_lt la y /\ Rbar_lt y lb
-> {x : R | Rbar_lt a x /\ Rbar_lt x b /\ f x = y}.