Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Haskell 2019-04-01 06.52 pair #433317407
details
property
value
status
complete
benchmark
elem_2.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n164.star.cs.uiowa.edu
space
basic_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
4.16382 seconds
cpu usage
10.1842
user time
9.89694
system time
0.287306
max virtual memory
1.8285568E7
max residence set size
563160.0
stage attributes
key
value
starexec-result
YES
output
8.43/3.62 YES 10.10/4.11 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 10.10/4.11 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 10.10/4.11 10.10/4.11 10.10/4.11 H-Termination with start terms of the given HASKELL could be proven: 10.10/4.11 10.10/4.11 (0) HASKELL 10.10/4.11 (1) BR [EQUIVALENT, 0 ms] 10.10/4.11 (2) HASKELL 10.10/4.11 (3) COR [EQUIVALENT, 0 ms] 10.10/4.11 (4) HASKELL 10.10/4.11 (5) Narrow [SOUND, 0 ms] 10.10/4.11 (6) AND 10.10/4.11 (7) QDP 10.10/4.11 (8) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.10/4.11 (9) YES 10.10/4.11 (10) QDP 10.10/4.11 (11) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.10/4.11 (12) YES 10.10/4.11 (13) QDP 10.10/4.11 (14) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.10/4.11 (15) YES 10.10/4.11 10.10/4.11 10.10/4.11 ---------------------------------------- 10.10/4.11 10.10/4.11 (0) 10.10/4.11 Obligation: 10.10/4.11 mainModule Main 10.10/4.11 module Main where { 10.10/4.11 import qualified Prelude; 10.10/4.11 data List a = Cons a (List a) | Nil ; 10.10/4.11 10.10/4.11 data MyBool = MyTrue | MyFalse ; 10.10/4.11 10.10/4.11 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.10/4.11 10.10/4.11 data Main.Nat = Succ Main.Nat | Zero ; 10.10/4.11 10.10/4.11 data Ratio a = CnPc a a ; 10.10/4.11 10.10/4.11 any :: (a -> MyBool) -> List a -> MyBool; 10.10/4.11 any p = pt or (map p); 10.10/4.11 10.10/4.11 asAs :: MyBool -> MyBool -> MyBool; 10.10/4.11 asAs MyFalse x = MyFalse; 10.10/4.11 asAs MyTrue x = x; 10.10/4.11 10.10/4.11 elemRatio :: Ratio MyInt -> List (Ratio MyInt) -> MyBool; 10.10/4.11 elemRatio = pt any esEsRatio; 10.10/4.11 10.10/4.11 esEsMyInt :: MyInt -> MyInt -> MyBool; 10.10/4.11 esEsMyInt = primEqInt; 10.10/4.11 10.10/4.11 esEsRatio :: Ratio MyInt -> Ratio MyInt -> MyBool; 10.10/4.11 esEsRatio (CnPc x0 x1) (CnPc y0 y1) = asAs (esEsMyInt x0 y0) (esEsMyInt x1 y1); 10.10/4.11 10.10/4.11 foldr :: (b -> a -> a) -> a -> List b -> a; 10.10/4.11 foldr f z Nil = z; 10.10/4.11 foldr f z (Cons x xs) = f x (foldr f z xs); 10.10/4.11 10.10/4.11 map :: (b -> a) -> List b -> List a; 10.10/4.11 map f Nil = Nil; 10.10/4.11 map f (Cons x xs) = Cons (f x) (map f xs); 10.10/4.11 10.10/4.11 or :: List MyBool -> MyBool; 10.10/4.11 or = foldr pePe MyFalse; 10.10/4.11 10.10/4.11 pePe :: MyBool -> MyBool -> MyBool; 10.10/4.11 pePe MyFalse x = x; 10.10/4.11 pePe MyTrue x = MyTrue; 10.10/4.11 10.10/4.11 primEqInt :: MyInt -> MyInt -> MyBool; 10.10/4.11 primEqInt (Main.Pos (Main.Succ x)) (Main.Pos (Main.Succ y)) = primEqNat x y; 10.10/4.11 primEqInt (Main.Neg (Main.Succ x)) (Main.Neg (Main.Succ y)) = primEqNat x y; 10.10/4.11 primEqInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = MyTrue; 10.10/4.11 primEqInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = MyTrue; 10.10/4.11 primEqInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = MyTrue; 10.10/4.11 primEqInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = MyTrue; 10.10/4.11 primEqInt vv vw = MyFalse; 10.10/4.11 10.10/4.11 primEqNat :: Main.Nat -> Main.Nat -> MyBool; 10.10/4.11 primEqNat Main.Zero Main.Zero = MyTrue; 10.10/4.11 primEqNat Main.Zero (Main.Succ y) = MyFalse; 10.10/4.11 primEqNat (Main.Succ x) Main.Zero = MyFalse; 10.10/4.11 primEqNat (Main.Succ x) (Main.Succ y) = primEqNat x y; 10.10/4.11 10.10/4.11 pt :: (b -> a) -> (c -> b) -> c -> a; 10.10/4.11 pt f g x = f (g x); 10.10/4.11 10.10/4.11 } 10.10/4.11 10.10/4.11 ---------------------------------------- 10.10/4.11 10.10/4.11 (1) BR (EQUIVALENT) 10.10/4.11 Replaced joker patterns by fresh variables and removed binding patterns. 10.10/4.11 ---------------------------------------- 10.10/4.11 10.10/4.11 (2)
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Haskell 2019-04-01 06.52