Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Funct Progr 77531 pair #381920630
details
property
value
status
complete
benchmark
Queue_addToQueue_1.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n045.star.cs.uiowa.edu
space
full_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
4.17625188828 seconds
cpu usage
10.046545324
max memory
6.23316992E8
stage attributes
key
value
output-size
10885
starexec-result
YES
output
/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.hs /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox/benchmark/theBenchmark.hs # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty H-Termination with start terms of the given HASKELL could be proven: (0) HASKELL (1) BR [EQUIVALENT, 0 ms] (2) HASKELL (3) COR [EQUIVALENT, 0 ms] (4) HASKELL (5) Narrow [SOUND, 0 ms] (6) QDP (7) QDPSizeChangeProof [EQUIVALENT, 0 ms] (8) YES ---------------------------------------- (0) Obligation: mainModule Main module Main where { import qualified Prelude; import qualified Queue; } module Queue where { import qualified Main; import qualified Prelude; data Queue a = Q [a] [a] [a] ; addToQueue :: Queue a -> a -> Queue a; addToQueue (Q xs ys xs') y = makeQ xs (y : ys) xs'; listToQueue :: [a] -> Queue a; listToQueue xs = Q xs [] xs; makeQ :: [a] -> [a] -> [a] -> Queue a; makeQ xs ys [] = listToQueue (rotate xs ys []); makeQ xs ys (_ : xs') = Q xs ys xs'; rotate :: [a] -> [a] -> [a] -> [a]; rotate [] (y : _) zs = y : zs; rotate (x : xs) (y : ys) zs = x : rotate xs ys (y : zs); } ---------------------------------------- (1) BR (EQUIVALENT) Replaced joker patterns by fresh variables and removed binding patterns. ---------------------------------------- (2) Obligation: mainModule Main module Main where { import qualified Prelude; import qualified Queue; } module Queue where { import qualified Main; import qualified Prelude; data Queue a = Q [a] [a] [a] ; addToQueue :: Queue a -> a -> Queue a; addToQueue (Q xs ys xs') y = makeQ xs (y : ys) xs'; listToQueue :: [a] -> Queue a; listToQueue xs = Q xs [] xs; makeQ :: [a] -> [a] -> [a] -> Queue a; makeQ xs ys [] = listToQueue (rotate xs ys []); makeQ xs ys (vy : xs') = Q xs ys xs'; rotate :: [a] -> [a] -> [a] -> [a]; rotate [] (y : vx) zs = y : zs; rotate (x : xs) (y : ys) zs = x : rotate xs ys (y : zs); } ---------------------------------------- (3) COR (EQUIVALENT) Cond Reductions: The following Function with conditions "undefined |Falseundefined; " is transformed to "undefined = undefined1; " "undefined0 True = undefined; "
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Funct Progr 77531