Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Haskell 2019-04-01 06.52 pair #433317393
details
property
value
status
complete
benchmark
maximum_5.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n149.star.cs.uiowa.edu
space
basic_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
4.54954 seconds
cpu usage
11.0328
user time
10.6834
system time
0.349411
max virtual memory
1.8285568E7
max residence set size
652088.0
stage attributes
key
value
starexec-result
YES
output
8.76/3.91 YES 10.73/4.48 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 10.73/4.48 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 10.73/4.48 10.73/4.48 10.73/4.48 H-Termination with start terms of the given HASKELL could be proven: 10.73/4.48 10.73/4.48 (0) HASKELL 10.73/4.48 (1) BR [EQUIVALENT, 0 ms] 10.73/4.48 (2) HASKELL 10.73/4.48 (3) COR [EQUIVALENT, 0 ms] 10.73/4.48 (4) HASKELL 10.73/4.48 (5) Narrow [SOUND, 0 ms] 10.73/4.48 (6) AND 10.73/4.48 (7) QDP 10.73/4.48 (8) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.73/4.48 (9) YES 10.73/4.48 (10) QDP 10.73/4.48 (11) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.73/4.48 (12) YES 10.73/4.48 (13) QDP 10.73/4.48 (14) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.73/4.48 (15) YES 10.73/4.48 10.73/4.48 10.73/4.48 ---------------------------------------- 10.73/4.48 10.73/4.48 (0) 10.73/4.48 Obligation: 10.73/4.48 mainModule Main 10.73/4.48 module Main where { 10.73/4.48 import qualified Prelude; 10.73/4.48 data List a = Cons a (List a) | Nil ; 10.73/4.48 10.73/4.48 data MyBool = MyTrue | MyFalse ; 10.73/4.48 10.73/4.48 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.73/4.48 10.73/4.48 data Main.Nat = Succ Main.Nat | Zero ; 10.73/4.48 10.73/4.48 data Ordering = LT | EQ | GT ; 10.73/4.48 10.73/4.48 compareMyInt :: MyInt -> MyInt -> Ordering; 10.73/4.48 compareMyInt = primCmpInt; 10.73/4.48 10.73/4.48 esEsOrdering :: Ordering -> Ordering -> MyBool; 10.73/4.48 esEsOrdering LT LT = MyTrue; 10.73/4.48 esEsOrdering LT EQ = MyFalse; 10.73/4.48 esEsOrdering LT GT = MyFalse; 10.73/4.48 esEsOrdering EQ LT = MyFalse; 10.73/4.48 esEsOrdering EQ EQ = MyTrue; 10.73/4.48 esEsOrdering EQ GT = MyFalse; 10.73/4.48 esEsOrdering GT LT = MyFalse; 10.73/4.48 esEsOrdering GT EQ = MyFalse; 10.73/4.48 esEsOrdering GT GT = MyTrue; 10.73/4.48 10.73/4.48 foldl :: (b -> a -> b) -> b -> List a -> b; 10.73/4.48 foldl f z Nil = z; 10.73/4.48 foldl f z (Cons x xs) = foldl f (f z x) xs; 10.73/4.48 10.73/4.48 foldl1 :: (a -> a -> a) -> List a -> a; 10.73/4.48 foldl1 f (Cons x xs) = foldl f x xs; 10.73/4.48 10.73/4.48 fsEsOrdering :: Ordering -> Ordering -> MyBool; 10.73/4.48 fsEsOrdering x y = not (esEsOrdering x y); 10.73/4.48 10.73/4.48 ltEsMyInt :: MyInt -> MyInt -> MyBool; 10.73/4.48 ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; 10.73/4.48 10.73/4.48 max0 x y MyTrue = x; 10.73/4.48 10.73/4.48 max1 x y MyTrue = y; 10.73/4.48 max1 x y MyFalse = max0 x y otherwise; 10.73/4.48 10.73/4.48 max2 x y = max1 x y (ltEsMyInt x y); 10.73/4.48 10.73/4.48 maxMyInt :: MyInt -> MyInt -> MyInt; 10.73/4.48 maxMyInt x y = max2 x y; 10.73/4.48 10.73/4.48 maximumMyInt :: List MyInt -> MyInt; 10.73/4.48 maximumMyInt = foldl1 maxMyInt; 10.73/4.48 10.73/4.48 not :: MyBool -> MyBool; 10.73/4.48 not MyTrue = MyFalse; 10.73/4.48 not MyFalse = MyTrue; 10.73/4.48 10.73/4.48 otherwise :: MyBool; 10.73/4.48 otherwise = MyTrue; 10.73/4.48 10.73/4.48 primCmpInt :: MyInt -> MyInt -> Ordering; 10.73/4.48 primCmpInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = EQ; 10.73/4.48 primCmpInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = EQ; 10.73/4.48 primCmpInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = EQ; 10.73/4.48 primCmpInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = EQ; 10.73/4.48 primCmpInt (Main.Pos x) (Main.Pos y) = primCmpNat x y; 10.73/4.48 primCmpInt (Main.Pos x) (Main.Neg y) = GT; 10.73/4.48 primCmpInt (Main.Neg x) (Main.Pos y) = LT; 10.73/4.48 primCmpInt (Main.Neg x) (Main.Neg y) = primCmpNat y x; 10.73/4.48 10.73/4.48 primCmpNat :: Main.Nat -> Main.Nat -> Ordering;
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Haskell 2019-04-01 06.52