Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Haskell 2019-04-01 06.52 pair #433316857
details
property
value
status
complete
benchmark
List_elemIndex_1.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n158.star.cs.uiowa.edu
space
full_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
11.5652 seconds
cpu usage
16.7616
user time
16.2845
system time
0.477056
max virtual memory
1.8285568E7
max residence set size
1207148.0
stage attributes
key
value
starexec-result
YES
output
13.85/5.46 YES 16.43/6.18 proof of /export/starexec/sandbox2/benchmark/theBenchmark.hs 16.43/6.18 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 16.43/6.18 16.43/6.18 16.43/6.18 H-Termination with start terms of the given HASKELL could be proven: 16.43/6.18 16.43/6.18 (0) HASKELL 16.43/6.18 (1) LR [EQUIVALENT, 0 ms] 16.43/6.18 (2) HASKELL 16.43/6.18 (3) CR [EQUIVALENT, 0 ms] 16.43/6.18 (4) HASKELL 16.43/6.18 (5) IFR [EQUIVALENT, 0 ms] 16.43/6.18 (6) HASKELL 16.43/6.18 (7) BR [EQUIVALENT, 0 ms] 16.43/6.18 (8) HASKELL 16.43/6.18 (9) COR [EQUIVALENT, 1 ms] 16.43/6.18 (10) HASKELL 16.43/6.18 (11) NumRed [SOUND, 0 ms] 16.43/6.18 (12) HASKELL 16.43/6.18 (13) Narrow [SOUND, 0 ms] 16.43/6.18 (14) AND 16.43/6.18 (15) QDP 16.43/6.18 (16) QDPSizeChangeProof [EQUIVALENT, 0 ms] 16.43/6.18 (17) YES 16.43/6.18 (18) QDP 16.43/6.18 (19) QDPSizeChangeProof [EQUIVALENT, 0 ms] 16.43/6.18 (20) YES 16.43/6.18 (21) QDP 16.43/6.18 (22) QDPSizeChangeProof [EQUIVALENT, 0 ms] 16.43/6.18 (23) YES 16.43/6.18 (24) QDP 16.43/6.18 (25) QDPSizeChangeProof [EQUIVALENT, 0 ms] 16.43/6.18 (26) YES 16.43/6.18 (27) QDP 16.43/6.18 (28) QDPSizeChangeProof [EQUIVALENT, 42 ms] 16.43/6.18 (29) YES 16.43/6.18 16.43/6.18 16.43/6.18 ---------------------------------------- 16.43/6.18 16.43/6.18 (0) 16.43/6.18 Obligation: 16.43/6.18 mainModule Main 16.43/6.18 module Maybe where { 16.43/6.18 import qualified List; 16.43/6.18 import qualified Main; 16.43/6.18 import qualified Prelude; 16.43/6.18 listToMaybe :: [a] -> Maybe a; 16.43/6.18 listToMaybe [] = Nothing; 16.43/6.18 listToMaybe (a : _) = Just a; 16.43/6.18 16.43/6.18 } 16.43/6.18 module List where { 16.43/6.18 import qualified Main; 16.43/6.18 import qualified Maybe; 16.43/6.18 import qualified Prelude; 16.43/6.18 elemIndex :: Eq a => a -> [a] -> Maybe Int; 16.43/6.18 elemIndex x = findIndex (== x); 16.43/6.18 16.43/6.18 findIndex :: (a -> Bool) -> [a] -> Maybe Int; 16.43/6.18 findIndex p = Maybe.listToMaybe . findIndices p; 16.43/6.18 16.43/6.18 findIndices :: (a -> Bool) -> [a] -> [Int]; 16.43/6.18 findIndices p xs = concatMap (\vv1 ->case vv1 of { 16.43/6.18 (x,i)-> if p x then i : [] else []; 16.43/6.18 _-> []; 16.43/6.18 } ) (zip xs (enumFrom 0)); 16.43/6.18 16.43/6.18 } 16.43/6.18 module Main where { 16.43/6.18 import qualified List; 16.43/6.18 import qualified Maybe; 16.43/6.18 import qualified Prelude; 16.43/6.18 } 16.43/6.18 16.43/6.18 ---------------------------------------- 16.43/6.18 16.43/6.18 (1) LR (EQUIVALENT) 16.43/6.18 Lambda Reductions: 16.43/6.18 The following Lambda expression 16.43/6.18 "\ab->(a,b)" 16.43/6.18 is transformed to 16.43/6.18 "zip0 a b = (a,b); 16.43/6.18 " 16.43/6.18 The following Lambda expression 16.43/6.18 "\vv1->case vv1 of { 16.43/6.18 (x,i) -> if p x then i : [] else []; 16.43/6.18 _ -> []} 16.43/6.18 " 16.43/6.18 is transformed to 16.43/6.18 "findIndices0 p vv1 = case vv1 of { 16.43/6.18 (x,i) -> if p x then i : [] else []; 16.43/6.18 _ -> []} 16.43/6.18 ; 16.43/6.18 " 16.43/6.18 16.43/6.18 ---------------------------------------- 16.43/6.18 16.43/6.18 (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