package Maths is
   pragma Pure;
   function Half (X : Integer) return Integer;
   pragma Precondition (X mod 2 = 0);
   pragma Postcondition (Half'Result * 2 = X);
   function Twice (X : Integer) return Integer is (X * 2) with Pre => X in -1000 .. 1000;
   pragma Inline (Twice);
end Maths;
