{-# htermination pred :: (Ratio Int) -> (Ratio Int) #-}