module Deptup0 () where import Language.Haskell.Liquid.Prelude {-@ data Pair a b
x1:b -> Bool> = P {pX :: a, pY :: b
} @-}
data Pair a b = P a b
{-@ mkP :: forall a y1:a -> Bool>. x: a -> y: a
-> Pair
a a @-}
mkP :: a -> a -> Pair a a
mkP x y = P x y
incr :: Int -> Int
incr x = x + 1
baz x = mkP x (incr x)
chk :: Pair Int Int -> Bool
chk (P x y) = liquidAssertB (x < y)
prop = chk $ baz n
where n = choose 100