DEFINITION next_plus()
TYPE =
       Gnatnatnat
BODY =
FIXnext_plus{
         next_plus:Gnatnatnat
         :=λg:G.λn:nat.λi:nat.<λn1:nat.nat> CASE i OF On | S i0next g (next_plus g n i0)
         }