Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Funct Progr 77531 pair #381920247
details
property
value
status
complete
benchmark
enumFrom_2.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n057.star.cs.uiowa.edu
space
basic_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
4.34022879601 seconds
cpu usage
10.909539894
max memory
5.97725184E8
stage attributes
key
value
output-size
43781
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 [EQUIVALENT, 10 ms] (6) YES ---------------------------------------- (0) Obligation: mainModule Main module Main where { import qualified Prelude; data List a = Cons a (List a) | Nil ; data MyBool = MyTrue | MyFalse ; data MyInt = Pos Main.Nat | Neg Main.Nat ; data Main.Nat = Succ Main.Nat | Zero ; data Ordering = LT | EQ | GT ; data Main.WHNF a = WHNF a ; compareMyInt :: MyInt -> MyInt -> Ordering; compareMyInt = primCmpInt; dsEm :: (a -> b) -> a -> b; dsEm f x = Main.seq x (f x); enforceWHNF :: Main.WHNF b -> a -> a; enforceWHNF (Main.WHNF x) y = y; enumFromMyBool :: MyBool -> List MyBool; enumFromMyBool x = enumFromToMyBool x MyTrue; enumFromToMyBool :: MyBool -> MyBool -> List MyBool; enumFromToMyBool x y = map toEnumMyBool (enumFromToMyInt (fromEnumMyBool x) (fromEnumMyBool y)); enumFromToMyInt :: MyInt -> MyInt -> List MyInt; enumFromToMyInt = numericEnumFromTo; esEsMyInt :: MyInt -> MyInt -> MyBool; esEsMyInt = primEqInt; esEsOrdering :: Ordering -> Ordering -> MyBool; esEsOrdering LT LT = MyTrue; esEsOrdering LT EQ = MyFalse; esEsOrdering LT GT = MyFalse; esEsOrdering EQ LT = MyFalse; esEsOrdering EQ EQ = MyTrue; esEsOrdering EQ GT = MyFalse; esEsOrdering GT LT = MyFalse; esEsOrdering GT EQ = MyFalse; esEsOrdering GT GT = MyTrue; flip :: (b -> a -> c) -> a -> b -> c; flip f x y = f y x; fromEnumMyBool :: MyBool -> MyInt; fromEnumMyBool MyFalse = Main.Pos Main.Zero; fromEnumMyBool MyTrue = Main.Pos (Main.Succ Main.Zero); fromIntMyInt :: MyInt -> MyInt; fromIntMyInt x = x; fsEsOrdering :: Ordering -> Ordering -> MyBool; fsEsOrdering x y = not (esEsOrdering x y); ltEsMyInt :: MyInt -> MyInt -> MyBool; ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; map :: (a -> b) -> List a -> List b; map f Nil = Nil; map f (Cons x xs) = Cons (f x) (map f xs); not :: MyBool -> MyBool; not MyTrue = MyFalse; not MyFalse = MyTrue; numericEnumFrom n = Cons n (dsEm numericEnumFrom (psMyInt n (fromIntMyInt (Main.Pos (Main.Succ Main.Zero))))); numericEnumFromTo n m = takeWhile (flip ltEsMyInt m) (numericEnumFrom n);
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Funct Progr 77531