with Ada.Text_IO; use Ada.Text_IO;
with Verada.Containers.Formal.Vectors;
procedure Main is
   package Int_Vectors is new Verada.Containers.Formal.Vectors (Integer, 10);
   use Int_Vectors;
   V : Vector;
   Sum : Integer := 0;
begin
   Append (V, 3);
   Append (V, 4);
   Append (V, 5);
   pragma Assert (for all E of V => E > 0);
   for E of V loop
      pragma Loop_Invariant (Sum <= 1000);
      if E < 100 and Sum < 900 then
         Sum := Sum + E;
      end if;
   end loop;
   Put_Line (Integer'Image (Sum));
   Put_Line (Boolean'Image ((for some E of V => E = 4)));
end Main;
