Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Funct Progr 77531 pair #381920709
details
property
value
status
complete
benchmark
elem_3.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n039.star.cs.uiowa.edu
space
basic_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
3.96395206451 seconds
cpu usage
9.476961269
max memory
5.97737472E8
stage attributes
key
value
output-size
10131
starexec-result
YES
output
/export/starexec/sandbox2/solver/bin/starexec_run_standard /export/starexec/sandbox2/benchmark/theBenchmark.hs /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/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; data List a = Cons a (List a) | Nil ; data MyBool = MyTrue | MyFalse ; any :: (a -> MyBool) -> List a -> MyBool; any p = pt or (map p); elemMyBool :: MyBool -> List MyBool -> MyBool; elemMyBool = pt any esEsMyBool; esEsMyBool :: MyBool -> MyBool -> MyBool; esEsMyBool MyFalse MyFalse = MyTrue; esEsMyBool MyFalse MyTrue = MyFalse; esEsMyBool MyTrue MyFalse = MyFalse; esEsMyBool MyTrue MyTrue = MyTrue; foldr :: (b -> a -> a) -> a -> List b -> a; foldr f z Nil = z; foldr f z (Cons x xs) = f x (foldr f z xs); map :: (a -> b) -> List a -> List b; map f Nil = Nil; map f (Cons x xs) = Cons (f x) (map f xs); or :: List MyBool -> MyBool; or = foldr pePe MyFalse; pePe :: MyBool -> MyBool -> MyBool; pePe MyFalse x = x; pePe MyTrue x = MyTrue; pt :: (b -> c) -> (a -> b) -> a -> c; pt f g x = f (g x); } ---------------------------------------- (1) BR (EQUIVALENT) Replaced joker patterns by fresh variables and removed binding patterns. ---------------------------------------- (2) Obligation: mainModule Main module Main where { import qualified Prelude; data List a = Cons a (List a) | Nil ; data MyBool = MyTrue | MyFalse ; any :: (a -> MyBool) -> List a -> MyBool; any p = pt or (map p); elemMyBool :: MyBool -> List MyBool -> MyBool; elemMyBool = pt any esEsMyBool; esEsMyBool :: MyBool -> MyBool -> MyBool; esEsMyBool MyFalse MyFalse = MyTrue; esEsMyBool MyFalse MyTrue = MyFalse; esEsMyBool MyTrue MyFalse = MyFalse; esEsMyBool MyTrue MyTrue = MyTrue; foldr :: (b -> a -> a) -> a -> List b -> a; foldr f z Nil = z; foldr f z (Cons x xs) = f x (foldr f z xs); map :: (a -> b) -> List a -> List b; map f Nil = Nil;
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Funct Progr 77531