Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Haskell 2019-04-01 06.52 pair #433317160
details
property
value
status
complete
benchmark
drop_1.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n160.star.cs.uiowa.edu
space
basic_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
4.22768 seconds
cpu usage
10.1849
user time
9.89741
system time
0.287461
max virtual memory
1.8285568E7
max residence set size
566776.0
stage attributes
key
value
starexec-result
YES
output
8.17/3.66 YES 10.13/4.18 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 10.13/4.18 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 10.13/4.18 10.13/4.18 10.13/4.18 H-Termination with start terms of the given HASKELL could be proven: 10.13/4.18 10.13/4.18 (0) HASKELL 10.13/4.18 (1) BR [EQUIVALENT, 0 ms] 10.13/4.18 (2) HASKELL 10.13/4.18 (3) COR [EQUIVALENT, 0 ms] 10.13/4.18 (4) HASKELL 10.13/4.18 (5) Narrow [SOUND, 0 ms] 10.13/4.18 (6) QDP 10.13/4.18 (7) TransformationProof [EQUIVALENT, 0 ms] 10.13/4.18 (8) QDP 10.13/4.18 (9) DependencyGraphProof [EQUIVALENT, 0 ms] 10.13/4.18 (10) QDP 10.13/4.18 (11) UsableRulesProof [EQUIVALENT, 0 ms] 10.13/4.18 (12) QDP 10.13/4.18 (13) QReductionProof [EQUIVALENT, 0 ms] 10.13/4.18 (14) QDP 10.13/4.18 (15) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.13/4.18 (16) YES 10.13/4.18 10.13/4.18 10.13/4.18 ---------------------------------------- 10.13/4.18 10.13/4.18 (0) 10.13/4.18 Obligation: 10.13/4.18 mainModule Main 10.13/4.18 module Main where { 10.13/4.18 import qualified Prelude; 10.13/4.18 data List a = Cons a (List a) | Nil ; 10.13/4.18 10.13/4.18 data MyBool = MyTrue | MyFalse ; 10.13/4.18 10.13/4.18 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.13/4.18 10.13/4.18 data Main.Nat = Succ Main.Nat | Zero ; 10.13/4.18 10.13/4.18 data Ordering = LT | EQ | GT ; 10.13/4.18 10.13/4.18 compareMyInt :: MyInt -> MyInt -> Ordering; 10.13/4.18 compareMyInt = primCmpInt; 10.13/4.18 10.13/4.18 drop :: MyInt -> List a -> List a; 10.13/4.18 drop n xs = drop3 n xs; 10.13/4.18 drop vv Nil = drop1 vv Nil; 10.13/4.18 drop n (Cons vw xs) = drop0 n (Cons vw xs); 10.13/4.18 10.13/4.18 drop0 n (Cons vw xs) = drop (msMyInt n (Main.Pos (Main.Succ Main.Zero))) xs; 10.13/4.18 10.13/4.18 drop1 vv Nil = Nil; 10.13/4.18 drop1 vz wu = drop0 vz wu; 10.13/4.18 10.13/4.18 drop2 n xs MyTrue = xs; 10.13/4.18 drop2 n xs MyFalse = drop1 n xs; 10.13/4.18 10.13/4.18 drop3 n xs = drop2 n xs (ltEsMyInt n (Main.Pos Main.Zero)); 10.13/4.18 drop3 wv ww = drop1 wv ww; 10.13/4.18 10.13/4.18 esEsOrdering :: Ordering -> Ordering -> MyBool; 10.13/4.18 esEsOrdering LT LT = MyTrue; 10.13/4.18 esEsOrdering LT EQ = MyFalse; 10.13/4.18 esEsOrdering LT GT = MyFalse; 10.13/4.18 esEsOrdering EQ LT = MyFalse; 10.13/4.18 esEsOrdering EQ EQ = MyTrue; 10.13/4.18 esEsOrdering EQ GT = MyFalse; 10.13/4.18 esEsOrdering GT LT = MyFalse; 10.13/4.18 esEsOrdering GT EQ = MyFalse; 10.13/4.18 esEsOrdering GT GT = MyTrue; 10.13/4.18 10.13/4.18 fsEsOrdering :: Ordering -> Ordering -> MyBool; 10.13/4.18 fsEsOrdering x y = not (esEsOrdering x y); 10.13/4.18 10.13/4.18 ltEsMyInt :: MyInt -> MyInt -> MyBool; 10.13/4.18 ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; 10.13/4.18 10.13/4.18 msMyInt :: MyInt -> MyInt -> MyInt; 10.13/4.18 msMyInt = primMinusInt; 10.13/4.18 10.13/4.18 not :: MyBool -> MyBool; 10.13/4.18 not MyTrue = MyFalse; 10.13/4.18 not MyFalse = MyTrue; 10.13/4.18 10.13/4.18 primCmpInt :: MyInt -> MyInt -> Ordering; 10.13/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = EQ; 10.13/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = EQ; 10.13/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = EQ; 10.13/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = EQ; 10.13/4.18 primCmpInt (Main.Pos x) (Main.Pos y) = primCmpNat x y; 10.13/4.18 primCmpInt (Main.Pos x) (Main.Neg y) = GT; 10.13/4.18 primCmpInt (Main.Neg x) (Main.Pos y) = LT; 10.13/4.18 primCmpInt (Main.Neg x) (Main.Neg y) = primCmpNat y x; 10.13/4.18 10.13/4.18 primCmpNat :: Main.Nat -> Main.Nat -> Ordering; 10.13/4.18 primCmpNat Main.Zero Main.Zero = EQ; 10.13/4.18 primCmpNat Main.Zero (Main.Succ y) = LT; 10.13/4.18 primCmpNat (Main.Succ x) Main.Zero = GT;
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Haskell 2019-04-01 06.52