/export/starexec/sandbox2/solver/bin/starexec_run_standard /export/starexec/sandbox2/benchmark/theBenchmark.hs /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- MAYBE proof of /export/starexec/sandbox2/benchmark/theBenchmark.hs # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty H-Termination with start terms of the given HASKELL could not be shown: (0) HASKELL (1) LR [EQUIVALENT, 0 ms] (2) HASKELL (3) BR [EQUIVALENT, 0 ms] (4) HASKELL (5) COR [EQUIVALENT, 0 ms] (6) HASKELL (7) Narrow [SOUND, 0 ms] (8) QDP (9) NonTerminationLoopProof [COMPLETE, 0 ms] (10) NO (11) Narrow [COMPLETE, 0 ms] (12) TRUE ---------------------------------------- (0) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (1) LR (EQUIVALENT) Lambda Reductions: The following Lambda expression "\xs->return (x : xs)" is transformed to "getContents0 x xs = return (x : xs); " The following Lambda expression "\x->getContents >>= getContents0 x" is transformed to "getContents1 x = getContents >>= getContents0 x; " ---------------------------------------- (2) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (3) BR (EQUIVALENT) Replaced joker patterns by fresh variables and removed binding patterns. ---------------------------------------- (4) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (5) COR (EQUIVALENT) Cond Reductions: The following Function with conditions "undefined |Falseundefined; " is transformed to "undefined = undefined1; " "undefined0 True = undefined; " "undefined1 = undefined0 False; " The following Function with conditions "getChar |terminatorreturn terminator|otherwiseaIOE IOError_EOF; " is transformed to "getChar = getChar2; " "getChar1 True = return terminator; getChar1 False = getChar0 otherwise; " "getChar0 True = aIOE IOError_EOF; " "getChar2 = getChar1 terminator; " The following Function with conditions "getContents |terminatorreturn []|otherwisegetChar >>= getContents1; " is transformed to "getContents = getContents4; " "getContents3 True = return []; getContents3 False = getContents2 otherwise; " "getContents2 True = getChar >>= getContents1; " "getContents4 = getContents3 terminator; " ---------------------------------------- (6) Obligation: mainModule Main module Main where { import qualified Prelude; } ---------------------------------------- (7) Narrow (SOUND) Haskell To QDPs digraph dp_graph { node [outthreshold=100, inthreshold=100];1[label="getContents",fontsize=16,color="black",shape="triangle"];1 -> 3[label="",style="solid", color="black", weight=3]; 3[label="getContents4",fontsize=16,color="black",shape="box"];3 -> 4[label="",style="solid", color="black", weight=3]; 4[label="getContents3 terminator",fontsize=16,color="black",shape="box"];4 -> 5[label="",style="solid", color="black", weight=3]; 5[label="getContents3 ter0m",fontsize=16,color="burlywood",shape="box"];46[label="ter0m/False",fontsize=10,color="white",style="solid",shape="box"];5 -> 46[label="",style="solid", color="burlywood", weight=9]; 46 -> 6[label="",style="solid", color="burlywood", weight=3]; 47[label="ter0m/True",fontsize=10,color="white",style="solid",shape="box"];5 -> 47[label="",style="solid", color="burlywood", weight=9]; 47 -> 7[label="",style="solid", color="burlywood", weight=3]; 6[label="getContents3 False",fontsize=16,color="black",shape="box"];6 -> 8[label="",style="solid", color="black", weight=3]; 7[label="getContents3 True",fontsize=16,color="black",shape="box"];7 -> 9[label="",style="solid", color="black", weight=3]; 8[label="getContents2 otherwise",fontsize=16,color="black",shape="box"];8 -> 10[label="",style="solid", color="black", weight=3]; 9[label="return []",fontsize=16,color="black",shape="box"];9 -> 11[label="",style="solid", color="black", weight=3]; 10[label="getContents2 True",fontsize=16,color="black",shape="box"];10 -> 12[label="",style="solid", color="black", weight=3]; 11[label="primretIO []",fontsize=16,color="black",shape="box"];11 -> 13[label="",style="solid", color="black", weight=3]; 12[label="getChar >>= getContents1",fontsize=16,color="black",shape="box"];12 -> 14[label="",style="solid", color="black", weight=3]; 13[label="AProVE_IO []",fontsize=16,color="green",shape="box"];14[label="primbindIO getChar getContents1",fontsize=16,color="black",shape="box"];14 -> 15[label="",style="solid", color="black", weight=3]; 15[label="primbindIO getChar2 getContents1",fontsize=16,color="black",shape="box"];15 -> 16[label="",style="solid", color="black", weight=3]; 16[label="primbindIO (getChar1 terminator) getContents1",fontsize=16,color="black",shape="box"];16 -> 17[label="",style="solid", color="black", weight=3]; 17[label="primbindIO (getChar1 ter1m) getContents1",fontsize=16,color="burlywood",shape="box"];48[label="ter1m/False",fontsize=10,color="white",style="solid",shape="box"];17 -> 48[label="",style="solid", color="burlywood", weight=9]; 48 -> 18[label="",style="solid", color="burlywood", weight=3]; 49[label="ter1m/True",fontsize=10,color="white",style="solid",shape="box"];17 -> 49[label="",style="solid", color="burlywood", weight=9]; 49 -> 19[label="",style="solid", color="burlywood", weight=3]; 18[label="primbindIO (getChar1 False) getContents1",fontsize=16,color="black",shape="box"];18 -> 20[label="",style="solid", color="black", weight=3]; 19[label="primbindIO (getChar1 True) getContents1",fontsize=16,color="black",shape="box"];19 -> 21[label="",style="solid", color="black", weight=3]; 20[label="primbindIO (getChar0 otherwise) getContents1",fontsize=16,color="black",shape="box"];20 -> 22[label="",style="solid", color="black", weight=3]; 21[label="primbindIO (return terminator) getContents1",fontsize=16,color="black",shape="box"];21 -> 23[label="",style="solid", color="black", weight=3]; 22[label="primbindIO (getChar0 True) getContents1",fontsize=16,color="black",shape="box"];22 -> 24[label="",style="solid", color="black", weight=3]; 23[label="primbindIO (primretIO terminator) getContents1",fontsize=16,color="black",shape="box"];23 -> 25[label="",style="solid", color="black", weight=3]; 24[label="primbindIO (aIOE IOError_EOF) getContents1",fontsize=16,color="black",shape="box"];24 -> 26[label="",style="solid", color="black", weight=3]; 25[label="primbindIO (AProVE_IO terminator) getContents1",fontsize=16,color="black",shape="box"];25 -> 27[label="",style="solid", color="black", weight=3]; 26[label="primbindIO (AProVE_Exception (AET_IOError (IOError IOError_EOF [] [] Nothing))) getContents1",fontsize=16,color="black",shape="box"];26 -> 28[label="",style="solid", color="black", weight=3]; 27[label="getContents1 terminator",fontsize=16,color="black",shape="box"];27 -> 29[label="",style="solid", color="black", weight=3]; 28[label="AProVE_Exception (AET_IOError (IOError IOError_EOF [] [] Nothing))",fontsize=16,color="green",shape="box"];29 -> 30[label="",style="dashed", color="red", weight=0]; 29[label="getContents >>= getContents0 terminator",fontsize=16,color="magenta"];29 -> 31[label="",style="dashed", color="magenta", weight=3]; 31 -> 1[label="",style="dashed", color="red", weight=0]; 31[label="getContents",fontsize=16,color="magenta"];30[label="vx3 >>= getContents0 terminator",fontsize=16,color="black",shape="triangle"];30 -> 32[label="",style="solid", color="black", weight=3]; 32[label="primbindIO vx3 (getContents0 terminator)",fontsize=16,color="burlywood",shape="box"];50[label="vx3/IO vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 50[label="",style="solid", color="burlywood", weight=9]; 50 -> 33[label="",style="solid", color="burlywood", weight=3]; 51[label="vx3/AProVE_IO vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 51[label="",style="solid", color="burlywood", weight=9]; 51 -> 34[label="",style="solid", color="burlywood", weight=3]; 52[label="vx3/AProVE_Exception vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 52[label="",style="solid", color="burlywood", weight=9]; 52 -> 35[label="",style="solid", color="burlywood", weight=3]; 53[label="vx3/AProVE_Error vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 53[label="",style="solid", color="burlywood", weight=9]; 53 -> 36[label="",style="solid", color="burlywood", weight=3]; 33[label="primbindIO (IO vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];33 -> 37[label="",style="solid", color="black", weight=3]; 34[label="primbindIO (AProVE_IO vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];34 -> 38[label="",style="solid", color="black", weight=3]; 35[label="primbindIO (AProVE_Exception vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];35 -> 39[label="",style="solid", color="black", weight=3]; 36[label="primbindIO (AProVE_Error vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];36 -> 40[label="",style="solid", color="black", weight=3]; 37[label="error []",fontsize=16,color="red",shape="box"];38[label="getContents0 terminator vx30",fontsize=16,color="black",shape="box"];38 -> 41[label="",style="solid", color="black", weight=3]; 39[label="AProVE_Exception vx30",fontsize=16,color="green",shape="box"];40[label="AProVE_Error vx30",fontsize=16,color="green",shape="box"];41[label="return (terminator : vx30)",fontsize=16,color="black",shape="box"];41 -> 42[label="",style="solid", color="black", weight=3]; 42[label="primretIO (terminator : vx30)",fontsize=16,color="black",shape="box"];42 -> 43[label="",style="solid", color="black", weight=3]; 43[label="AProVE_IO (terminator : vx30)",fontsize=16,color="green",shape="box"];43 -> 44[label="",style="dashed", color="green", weight=3]; 44[label="terminator",fontsize=16,color="black",shape="box"];44 -> 45[label="",style="solid", color="black", weight=3]; 45[label="ter2m",fontsize=16,color="green",shape="box"];} ---------------------------------------- (8) Obligation: Q DP problem: The TRS P consists of the following rules: new_getContents -> new_getContents R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (9) NonTerminationLoopProof (COMPLETE) We used the non-termination processor [FROCOS05] to show that the DP problem is infinite. Found a loop by semiunifying a rule from P directly. s = new_getContents evaluates to t =new_getContents Thus s starts an infinite chain as s semiunifies with t with the following substitutions: * Matcher: [ ] * Semiunifier: [ ] -------------------------------------------------------------------------------- Rewriting sequence The DP semiunifies directly so there is only one rewrite step from new_getContents to new_getContents. ---------------------------------------- (10) NO ---------------------------------------- (11) Narrow (COMPLETE) Haskell To QDPs digraph dp_graph { node [outthreshold=100, inthreshold=100];1[label="getContents",fontsize=16,color="black",shape="triangle"];1 -> 3[label="",style="solid", color="black", weight=3]; 3[label="getContents4",fontsize=16,color="black",shape="box"];3 -> 4[label="",style="solid", color="black", weight=3]; 4[label="getContents3 terminator",fontsize=16,color="black",shape="box"];4 -> 5[label="",style="solid", color="black", weight=3]; 5[label="getContents3 ter0m",fontsize=16,color="burlywood",shape="box"];46[label="ter0m/False",fontsize=10,color="white",style="solid",shape="box"];5 -> 46[label="",style="solid", color="burlywood", weight=9]; 46 -> 6[label="",style="solid", color="burlywood", weight=3]; 47[label="ter0m/True",fontsize=10,color="white",style="solid",shape="box"];5 -> 47[label="",style="solid", color="burlywood", weight=9]; 47 -> 7[label="",style="solid", color="burlywood", weight=3]; 6[label="getContents3 False",fontsize=16,color="black",shape="box"];6 -> 8[label="",style="solid", color="black", weight=3]; 7[label="getContents3 True",fontsize=16,color="black",shape="box"];7 -> 9[label="",style="solid", color="black", weight=3]; 8[label="getContents2 otherwise",fontsize=16,color="black",shape="box"];8 -> 10[label="",style="solid", color="black", weight=3]; 9[label="return []",fontsize=16,color="black",shape="box"];9 -> 11[label="",style="solid", color="black", weight=3]; 10[label="getContents2 True",fontsize=16,color="black",shape="box"];10 -> 12[label="",style="solid", color="black", weight=3]; 11[label="primretIO []",fontsize=16,color="black",shape="box"];11 -> 13[label="",style="solid", color="black", weight=3]; 12[label="getChar >>= getContents1",fontsize=16,color="black",shape="box"];12 -> 14[label="",style="solid", color="black", weight=3]; 13[label="AProVE_IO []",fontsize=16,color="green",shape="box"];14[label="primbindIO getChar getContents1",fontsize=16,color="black",shape="box"];14 -> 15[label="",style="solid", color="black", weight=3]; 15[label="primbindIO getChar2 getContents1",fontsize=16,color="black",shape="box"];15 -> 16[label="",style="solid", color="black", weight=3]; 16[label="primbindIO (getChar1 terminator) getContents1",fontsize=16,color="black",shape="box"];16 -> 17[label="",style="solid", color="black", weight=3]; 17[label="primbindIO (getChar1 ter1m) getContents1",fontsize=16,color="burlywood",shape="box"];48[label="ter1m/False",fontsize=10,color="white",style="solid",shape="box"];17 -> 48[label="",style="solid", color="burlywood", weight=9]; 48 -> 18[label="",style="solid", color="burlywood", weight=3]; 49[label="ter1m/True",fontsize=10,color="white",style="solid",shape="box"];17 -> 49[label="",style="solid", color="burlywood", weight=9]; 49 -> 19[label="",style="solid", color="burlywood", weight=3]; 18[label="primbindIO (getChar1 False) getContents1",fontsize=16,color="black",shape="box"];18 -> 20[label="",style="solid", color="black", weight=3]; 19[label="primbindIO (getChar1 True) getContents1",fontsize=16,color="black",shape="box"];19 -> 21[label="",style="solid", color="black", weight=3]; 20[label="primbindIO (getChar0 otherwise) getContents1",fontsize=16,color="black",shape="box"];20 -> 22[label="",style="solid", color="black", weight=3]; 21[label="primbindIO (return terminator) getContents1",fontsize=16,color="black",shape="box"];21 -> 23[label="",style="solid", color="black", weight=3]; 22[label="primbindIO (getChar0 True) getContents1",fontsize=16,color="black",shape="box"];22 -> 24[label="",style="solid", color="black", weight=3]; 23[label="primbindIO (primretIO terminator) getContents1",fontsize=16,color="black",shape="box"];23 -> 25[label="",style="solid", color="black", weight=3]; 24[label="primbindIO (aIOE IOError_EOF) getContents1",fontsize=16,color="black",shape="box"];24 -> 26[label="",style="solid", color="black", weight=3]; 25[label="primbindIO (AProVE_IO terminator) getContents1",fontsize=16,color="black",shape="box"];25 -> 27[label="",style="solid", color="black", weight=3]; 26[label="primbindIO (AProVE_Exception (AET_IOError (IOError IOError_EOF [] [] Nothing))) getContents1",fontsize=16,color="black",shape="box"];26 -> 28[label="",style="solid", color="black", weight=3]; 27[label="getContents1 terminator",fontsize=16,color="black",shape="box"];27 -> 29[label="",style="solid", color="black", weight=3]; 28[label="AProVE_Exception (AET_IOError (IOError IOError_EOF [] [] Nothing))",fontsize=16,color="green",shape="box"];29 -> 30[label="",style="dashed", color="red", weight=0]; 29[label="getContents >>= getContents0 terminator",fontsize=16,color="magenta"];29 -> 31[label="",style="dashed", color="magenta", weight=3]; 31 -> 1[label="",style="dashed", color="red", weight=0]; 31[label="getContents",fontsize=16,color="magenta"];30[label="vx3 >>= getContents0 terminator",fontsize=16,color="black",shape="triangle"];30 -> 32[label="",style="solid", color="black", weight=3]; 32[label="primbindIO vx3 (getContents0 terminator)",fontsize=16,color="burlywood",shape="box"];50[label="vx3/IO vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 50[label="",style="solid", color="burlywood", weight=9]; 50 -> 33[label="",style="solid", color="burlywood", weight=3]; 51[label="vx3/AProVE_IO vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 51[label="",style="solid", color="burlywood", weight=9]; 51 -> 34[label="",style="solid", color="burlywood", weight=3]; 52[label="vx3/AProVE_Exception vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 52[label="",style="solid", color="burlywood", weight=9]; 52 -> 35[label="",style="solid", color="burlywood", weight=3]; 53[label="vx3/AProVE_Error vx30",fontsize=10,color="white",style="solid",shape="box"];32 -> 53[label="",style="solid", color="burlywood", weight=9]; 53 -> 36[label="",style="solid", color="burlywood", weight=3]; 33[label="primbindIO (IO vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];33 -> 37[label="",style="solid", color="black", weight=3]; 34[label="primbindIO (AProVE_IO vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];34 -> 38[label="",style="solid", color="black", weight=3]; 35[label="primbindIO (AProVE_Exception vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];35 -> 39[label="",style="solid", color="black", weight=3]; 36[label="primbindIO (AProVE_Error vx30) (getContents0 terminator)",fontsize=16,color="black",shape="box"];36 -> 40[label="",style="solid", color="black", weight=3]; 37[label="error []",fontsize=16,color="red",shape="box"];38[label="getContents0 terminator vx30",fontsize=16,color="black",shape="box"];38 -> 41[label="",style="solid", color="black", weight=3]; 39[label="AProVE_Exception vx30",fontsize=16,color="green",shape="box"];40[label="AProVE_Error vx30",fontsize=16,color="green",shape="box"];41[label="return (terminator : vx30)",fontsize=16,color="black",shape="box"];41 -> 42[label="",style="solid", color="black", weight=3]; 42[label="primretIO (terminator : vx30)",fontsize=16,color="black",shape="box"];42 -> 43[label="",style="solid", color="black", weight=3]; 43[label="AProVE_IO (terminator : vx30)",fontsize=16,color="green",shape="box"];43 -> 44[label="",style="dashed", color="green", weight=3]; 44[label="terminator",fontsize=16,color="black",shape="box"];44 -> 45[label="",style="solid", color="black", weight=3]; 45[label="ter2m",fontsize=16,color="green",shape="box"];} ---------------------------------------- (12) TRUE