(* ========================================================================= *)
(* Area of a circle. *)
(* ========================================================================= *)
needs "Multivariate/measure.ml";;
needs "Multivariate/realanalysis.ml";;
(* ------------------------------------------------------------------------- *)
(* Circle area. Should maybe extend WLOG tactics for such scaling. *)
(* ------------------------------------------------------------------------- *)
(* ------------------------------------------------------------------------- *)
(* Volume of a ball too, just for fun. *)
(* ------------------------------------------------------------------------- *)
needs "Multivariate/wlog.ml";;
let VOLUME_BALL = prove
(`!z:real^3 r. &0 <= r ==> measure(ball(z,r)) = &4 / &3 * pi * r pow 3`,