Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Haskell 2019-04-01 06.52 pair #433317230
details
property
value
status
complete
benchmark
min_5.hs
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n013.star.cs.uiowa.edu
space
basic_haskell
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
4.23138 seconds
cpu usage
10.2631
user time
9.92509
system time
0.338034
max virtual memory
1.8285592E7
max residence set size
596148.0
stage attributes
key
value
starexec-result
YES
output
8.26/3.70 YES 10.12/4.18 proof of /export/starexec/sandbox/benchmark/theBenchmark.hs 10.12/4.18 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 10.12/4.18 10.12/4.18 10.12/4.18 H-Termination with start terms of the given HASKELL could be proven: 10.12/4.18 10.12/4.18 (0) HASKELL 10.12/4.18 (1) BR [EQUIVALENT, 0 ms] 10.12/4.18 (2) HASKELL 10.12/4.18 (3) COR [EQUIVALENT, 0 ms] 10.12/4.18 (4) HASKELL 10.12/4.18 (5) Narrow [SOUND, 0 ms] 10.12/4.18 (6) AND 10.12/4.18 (7) QDP 10.12/4.18 (8) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.12/4.18 (9) YES 10.12/4.18 (10) QDP 10.12/4.18 (11) QDPSizeChangeProof [EQUIVALENT, 0 ms] 10.12/4.18 (12) YES 10.12/4.18 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (0) 10.12/4.18 Obligation: 10.12/4.18 mainModule Main 10.12/4.18 module Main where { 10.12/4.18 import qualified Prelude; 10.12/4.18 data MyBool = MyTrue | MyFalse ; 10.12/4.18 10.12/4.18 data MyInt = Pos Main.Nat | Neg Main.Nat ; 10.12/4.18 10.12/4.18 data Main.Nat = Succ Main.Nat | Zero ; 10.12/4.18 10.12/4.18 data Ordering = LT | EQ | GT ; 10.12/4.18 10.12/4.18 compareMyInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 compareMyInt = primCmpInt; 10.12/4.18 10.12/4.18 esEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 esEsOrdering LT LT = MyTrue; 10.12/4.18 esEsOrdering LT EQ = MyFalse; 10.12/4.18 esEsOrdering LT GT = MyFalse; 10.12/4.18 esEsOrdering EQ LT = MyFalse; 10.12/4.18 esEsOrdering EQ EQ = MyTrue; 10.12/4.18 esEsOrdering EQ GT = MyFalse; 10.12/4.18 esEsOrdering GT LT = MyFalse; 10.12/4.18 esEsOrdering GT EQ = MyFalse; 10.12/4.18 esEsOrdering GT GT = MyTrue; 10.12/4.18 10.12/4.18 fsEsOrdering :: Ordering -> Ordering -> MyBool; 10.12/4.18 fsEsOrdering x y = not (esEsOrdering x y); 10.12/4.18 10.12/4.18 ltEsMyInt :: MyInt -> MyInt -> MyBool; 10.12/4.18 ltEsMyInt x y = fsEsOrdering (compareMyInt x y) GT; 10.12/4.18 10.12/4.18 min0 x y MyTrue = y; 10.12/4.18 10.12/4.18 min1 x y MyTrue = x; 10.12/4.18 min1 x y MyFalse = min0 x y otherwise; 10.12/4.18 10.12/4.18 min2 x y = min1 x y (ltEsMyInt x y); 10.12/4.18 10.12/4.18 minMyInt :: MyInt -> MyInt -> MyInt; 10.12/4.18 minMyInt x y = min2 x y; 10.12/4.18 10.12/4.18 not :: MyBool -> MyBool; 10.12/4.18 not MyTrue = MyFalse; 10.12/4.18 not MyFalse = MyTrue; 10.12/4.18 10.12/4.18 otherwise :: MyBool; 10.12/4.18 otherwise = MyTrue; 10.12/4.18 10.12/4.18 primCmpInt :: MyInt -> MyInt -> Ordering; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Pos Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Neg Main.Zero) (Main.Neg Main.Zero) = EQ; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Pos y) = primCmpNat x y; 10.12/4.18 primCmpInt (Main.Pos x) (Main.Neg y) = GT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Pos y) = LT; 10.12/4.18 primCmpInt (Main.Neg x) (Main.Neg y) = primCmpNat y x; 10.12/4.18 10.12/4.18 primCmpNat :: Main.Nat -> Main.Nat -> Ordering; 10.12/4.18 primCmpNat Main.Zero Main.Zero = EQ; 10.12/4.18 primCmpNat Main.Zero (Main.Succ y) = LT; 10.12/4.18 primCmpNat (Main.Succ x) Main.Zero = GT; 10.12/4.18 primCmpNat (Main.Succ x) (Main.Succ y) = primCmpNat x y; 10.12/4.18 10.12/4.18 } 10.12/4.18 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (1) BR (EQUIVALENT) 10.12/4.18 Replaced joker patterns by fresh variables and removed binding patterns. 10.12/4.18 ---------------------------------------- 10.12/4.18 10.12/4.18 (2) 10.12/4.18 Obligation:
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Haskell 2019-04-01 06.52