MAYBE proof of input_HUX5JWXG4y.trs # AProVE Commit ID: aff8ecad908e01718a4c36e68d2e55d5e0f16e15 fuhs 20220216 unpublished The Runtime Complexity (parallel-innermost) of the given CpxTRS could be proven to be BOUNDS(1, INF). (0) CpxTRS (1) RenamingProof [BOTH BOUNDS(ID, ID), 0 ms] (2) CpxTRS (3) CpxTrsToCdtProof [BOTH BOUNDS(ID, ID), 0 ms] (4) CdtProblem (5) CdtToCpxRelTrsProof [BOTH BOUNDS(ID, ID), 0 ms] (6) CpxRelTRS (7) RenamingProof [BOTH BOUNDS(ID, ID), 0 ms] (8) CpxRelTRS (9) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (10) typed CpxTrs (11) OrderProof [LOWER BOUND(ID), 8 ms] (12) typed CpxTrs (13) RelTrsToDecreasingLoopProblemProof [LOWER BOUND(ID), 0 ms] (14) TRS for Loop Detection (15) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (16) CpxTRS (17) CpxTrsToCdtProof [UPPER BOUND(ID), 0 ms] (18) CdtProblem (19) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (20) CdtProblem (21) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (22) CdtProblem (23) CdtUsableRulesProof [BOTH BOUNDS(ID, ID), 0 ms] (24) CdtProblem (25) CdtToCpxRelTrsProof [BOTH BOUNDS(ID, ID), 0 ms] (26) CpxRelTRS (27) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (28) CpxTRS (29) RelTrsToWeightedTrsProof [BOTH BOUNDS(ID, ID), 0 ms] (30) CpxWeightedTrs (31) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (32) CpxTypedWeightedTrs (33) CompletionProof [UPPER BOUND(ID), 0 ms] (34) CpxTypedWeightedCompleteTrs (35) NarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (36) CpxTypedWeightedCompleteTrs (37) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] (38) CpxRNTS (39) SimplificationProof [BOTH BOUNDS(ID, ID), 0 ms] (40) CpxRNTS (41) CpxRntsAnalysisOrderProof [BOTH BOUNDS(ID, ID), 0 ms] (42) CpxRNTS (43) ResultPropagationProof [UPPER BOUND(ID), 0 ms] (44) CpxRNTS (45) IntTrsBoundProof [UPPER BOUND(ID), 212 ms] (46) CpxRNTS (47) IntTrsBoundProof [UPPER BOUND(ID), 53 ms] (48) CpxRNTS (49) CompletionProof [UPPER BOUND(ID), 0 ms] (50) CpxTypedWeightedCompleteTrs (51) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] (52) CpxRNTS (53) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (54) CdtProblem (55) CdtUsableRulesProof [BOTH BOUNDS(ID, ID), 0 ms] (56) CdtProblem (57) CdtInstantiationProof [BOTH BOUNDS(ID, ID), 0 ms] (58) CdtProblem (59) RelTrsToWeightedTrsProof [UPPER BOUND(ID), 0 ms] (60) CpxWeightedTrs (61) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (62) CpxTypedWeightedTrs (63) CompletionProof [UPPER BOUND(ID), 0 ms] (64) CpxTypedWeightedCompleteTrs (65) NarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (66) CpxTypedWeightedCompleteTrs (67) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] (68) CpxRNTS (69) SimplificationProof [BOTH BOUNDS(ID, ID), 0 ms] (70) CpxRNTS (71) CpxRntsAnalysisOrderProof [BOTH BOUNDS(ID, ID), 0 ms] (72) CpxRNTS (73) ResultPropagationProof [UPPER BOUND(ID), 0 ms] (74) CpxRNTS (75) IntTrsBoundProof [UPPER BOUND(ID), 202 ms] (76) CpxRNTS (77) IntTrsBoundProof [UPPER BOUND(ID), 55 ms] (78) CpxRNTS (79) CompletionProof [UPPER BOUND(ID), 0 ms] (80) CpxTypedWeightedCompleteTrs (81) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] (82) CpxRNTS ---------------------------------------- (0) Obligation: The Runtime Complexity (parallel-innermost) of the given CpxTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: f(X) -> f(c) c -> b S is empty. Rewrite Strategy: PARALLEL_INNERMOST ---------------------------------------- (1) RenamingProof (BOTH BOUNDS(ID, ID)) Renamed function symbols to avoid clashes with predefined symbol. ---------------------------------------- (2) Obligation: The Runtime Complexity (parallel-innermost) of the given CpxTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: f(X) -> f(c) c -> b S is empty. Rewrite Strategy: PARALLEL_INNERMOST ---------------------------------------- (3) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID)) Converted Cpx (relative) TRS with rewrite strategy PARALLEL_INNERMOST to CDT ---------------------------------------- (4) Obligation: Complexity Dependency Tuples Problem Rules: f(z0) -> f(c) c -> b Tuples: F(z0) -> c1(F(c), C) C -> c2 S tuples: F(z0) -> c1(F(c), C) C -> c2 K tuples:none Defined Rule Symbols: f_1, c Defined Pair Symbols: F_1, C Compound Symbols: c1_2, c2 ---------------------------------------- (5) CdtToCpxRelTrsProof (BOTH BOUNDS(ID, ID)) Converted S to standard rules, and D \ S as well as R to relative rules. ---------------------------------------- (6) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: F(z0) -> c1(F(c), C) C -> c2 The (relative) TRS S consists of the following rules: f(z0) -> f(c) c -> b Rewrite Strategy: INNERMOST ---------------------------------------- (7) RenamingProof (BOTH BOUNDS(ID, ID)) Renamed function symbols to avoid clashes with predefined symbol. ---------------------------------------- (8) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: F(z0) -> c1(F(c), C) C -> c2 The (relative) TRS S consists of the following rules: f(z0) -> f(c) c -> b Rewrite Strategy: INNERMOST ---------------------------------------- (9) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Inferred types. ---------------------------------------- (10) Obligation: Innermost TRS: Rules: F(z0) -> c1(F(c), C) C -> c2 f(z0) -> f(c) c -> b Types: F :: b -> c1 c1 :: c1 -> c2 -> c1 c :: b C :: c2 c2 :: c2 f :: b -> f b :: b hole_c11_3 :: c1 hole_b2_3 :: b hole_c23_3 :: c2 hole_f4_3 :: f gen_c15_3 :: Nat -> c1 ---------------------------------------- (11) OrderProof (LOWER BOUND(ID)) Heuristically decided to analyse the following defined symbols: F, f ---------------------------------------- (12) Obligation: Innermost TRS: Rules: F(z0) -> c1(F(c), C) C -> c2 f(z0) -> f(c) c -> b Types: F :: b -> c1 c1 :: c1 -> c2 -> c1 c :: b C :: c2 c2 :: c2 f :: b -> f b :: b hole_c11_3 :: c1 hole_b2_3 :: b hole_c23_3 :: c2 hole_f4_3 :: f gen_c15_3 :: Nat -> c1 Generator Equations: gen_c15_3(0) <=> hole_c11_3 gen_c15_3(+(x, 1)) <=> c1(gen_c15_3(x), c2) The following defined symbols remain to be analysed: F, f ---------------------------------------- (13) RelTrsToDecreasingLoopProblemProof (LOWER BOUND(ID)) Transformed a relative TRS into a decreasing-loop problem. ---------------------------------------- (14) Obligation: Analyzing the following TRS for decreasing loops: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: F(z0) -> c1(F(c), C) C -> c2 The (relative) TRS S consists of the following rules: f(z0) -> f(c) c -> b Rewrite Strategy: INNERMOST ---------------------------------------- (15) RelTrsToTrsProof (UPPER BOUND(ID)) transformed relative TRS to TRS ---------------------------------------- (16) Obligation: The Runtime Complexity (parallel-innermost) of the given CpxTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: f(X) -> f(c) c -> b S is empty. Rewrite Strategy: PARALLEL_INNERMOST ---------------------------------------- (17) CpxTrsToCdtProof (UPPER BOUND(ID)) Converted Cpx (relative) TRS with rewrite strategy PARALLEL_INNERMOST to CDT ---------------------------------------- (18) Obligation: Complexity Dependency Tuples Problem Rules: f(z0) -> f(c) c -> b Tuples: F(z0) -> c1(F(c), C) C -> c2 S tuples: F(z0) -> c1(F(c), C) C -> c2 K tuples:none Defined Rule Symbols: f_1, c Defined Pair Symbols: F_1, C Compound Symbols: c1_2, c2 ---------------------------------------- (19) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing nodes: C -> c2 ---------------------------------------- (20) Obligation: Complexity Dependency Tuples Problem Rules: f(z0) -> f(c) c -> b Tuples: F(z0) -> c1(F(c), C) S tuples: F(z0) -> c1(F(c), C) K tuples:none Defined Rule Symbols: f_1, c Defined Pair Symbols: F_1 Compound Symbols: c1_2 ---------------------------------------- (21) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (22) Obligation: Complexity Dependency Tuples Problem Rules: f(z0) -> f(c) c -> b Tuples: F(z0) -> c1(F(c)) S tuples: F(z0) -> c1(F(c)) K tuples:none Defined Rule Symbols: f_1, c Defined Pair Symbols: F_1 Compound Symbols: c1_1 ---------------------------------------- (23) CdtUsableRulesProof (BOTH BOUNDS(ID, ID)) The following rules are not usable and were removed: f(z0) -> f(c) ---------------------------------------- (24) Obligation: Complexity Dependency Tuples Problem Rules: c -> b Tuples: F(z0) -> c1(F(c)) S tuples: F(z0) -> c1(F(c)) K tuples:none Defined Rule Symbols: c Defined Pair Symbols: F_1 Compound Symbols: c1_1 ---------------------------------------- (25) CdtToCpxRelTrsProof (BOTH BOUNDS(ID, ID)) Converted S to standard rules, and D \ S as well as R to relative rules. ---------------------------------------- (26) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: F(z0) -> c1(F(c)) The (relative) TRS S consists of the following rules: c -> b Rewrite Strategy: INNERMOST ---------------------------------------- (27) RelTrsToTrsProof (UPPER BOUND(ID)) transformed relative TRS to TRS ---------------------------------------- (28) Obligation: The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: F(z0) -> c1(F(c)) c -> b S is empty. Rewrite Strategy: INNERMOST ---------------------------------------- (29) RelTrsToWeightedTrsProof (BOTH BOUNDS(ID, ID)) Transformed relative TRS to weighted TRS ---------------------------------------- (30) Obligation: The Runtime Complexity (innermost) of the given CpxWeightedTrs could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: F(z0) -> c1(F(c)) [1] c -> b [0] Rewrite Strategy: INNERMOST ---------------------------------------- (31) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Infered types. ---------------------------------------- (32) Obligation: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: F(z0) -> c1(F(c)) [1] c -> b [0] The TRS has the following type information: F :: b -> c1 c1 :: c1 -> c1 c :: b b :: b Rewrite Strategy: INNERMOST ---------------------------------------- (33) CompletionProof (UPPER BOUND(ID)) The transformation into a RNTS is sound, since: (a) The obligation is a constructor system where every type has a constant constructor, (b) The following defined symbols do not have to be completely defined, as they can never occur inside other defined symbols: F_1 (c) The following functions are completely defined: c Due to the following rules being added: c -> b [0] And the following fresh constants: const ---------------------------------------- (34) Obligation: Runtime Complexity Weighted TRS where critical functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: F(z0) -> c1(F(c)) [1] c -> b [0] c -> b [0] The TRS has the following type information: F :: b -> c1 c1 :: c1 -> c1 c :: b b :: b const :: c1 Rewrite Strategy: INNERMOST ---------------------------------------- (35) NarrowingProof (BOTH BOUNDS(ID, ID)) Narrowed the inner basic terms of all right-hand sides by a single narrowing step. ---------------------------------------- (36) Obligation: Runtime Complexity Weighted TRS where critical functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: F(z0) -> c1(F(b)) [1] F(z0) -> c1(F(b)) [1] c -> b [0] c -> b [0] The TRS has the following type information: F :: b -> c1 c1 :: c1 -> c1 c :: b b :: b const :: c1 Rewrite Strategy: INNERMOST ---------------------------------------- (37) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: b => 0 const => 0 ---------------------------------------- (38) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(0) :|: z = z0, z0 >= 0 c -{ 0 }-> 0 :|: ---------------------------------------- (39) SimplificationProof (BOTH BOUNDS(ID, ID)) Simplified the RNTS by moving equalities from the constraints into the right-hand sides. ---------------------------------------- (40) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(0) :|: z >= 0 c -{ 0 }-> 0 :|: ---------------------------------------- (41) CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID)) Found the following analysis order by SCC decomposition: { F } { c } ---------------------------------------- (42) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(0) :|: z >= 0 c -{ 0 }-> 0 :|: Function symbols to be analyzed: {F}, {c} ---------------------------------------- (43) ResultPropagationProof (UPPER BOUND(ID)) Applied inner abstraction using the recently inferred runtime/size bounds where possible. ---------------------------------------- (44) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(0) :|: z >= 0 c -{ 0 }-> 0 :|: Function symbols to be analyzed: {F}, {c} ---------------------------------------- (45) IntTrsBoundProof (UPPER BOUND(ID)) Computed SIZE bound using CoFloCo for: F after applying outer abstraction to obtain an ITS, resulting in: O(1) with polynomial bound: 0 ---------------------------------------- (46) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(0) :|: z >= 0 c -{ 0 }-> 0 :|: Function symbols to be analyzed: {F}, {c} Previous analysis results are: F: runtime: ?, size: O(1) [0] ---------------------------------------- (47) IntTrsBoundProof (UPPER BOUND(ID)) Computed RUNTIME bound using CoFloCo for: F after applying outer abstraction to obtain an ITS, resulting in: INF with polynomial bound: ? ---------------------------------------- (48) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(0) :|: z >= 0 c -{ 0 }-> 0 :|: Function symbols to be analyzed: {F}, {c} Previous analysis results are: F: runtime: INF, size: O(1) [0] ---------------------------------------- (49) CompletionProof (UPPER BOUND(ID)) The TRS is a completely defined constructor system, as every type has a constant constructor and the following rules were added: c -> null_c [0] And the following fresh constants: null_c, const ---------------------------------------- (50) Obligation: Runtime Complexity Weighted TRS where all functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: F(z0) -> c1(F(c)) [1] c -> b [0] c -> null_c [0] The TRS has the following type information: F :: b:null_c -> c1 c1 :: c1 -> c1 c :: b:null_c b :: b:null_c null_c :: b:null_c const :: c1 Rewrite Strategy: INNERMOST ---------------------------------------- (51) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: b => 1 null_c => 0 const => 0 ---------------------------------------- (52) Obligation: Complexity RNTS consisting of the following rules: F(z) -{ 1 }-> 1 + F(c) :|: z = z0, z0 >= 0 c -{ 0 }-> 1 :|: c -{ 0 }-> 0 :|: Only complete derivations are relevant for the runtime complexity. ---------------------------------------- (53) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace F(z0) -> c1(F(c)) by F(x0) -> c1(F(b)) ---------------------------------------- (54) Obligation: Complexity Dependency Tuples Problem Rules: c -> b Tuples: F(x0) -> c1(F(b)) S tuples: F(x0) -> c1(F(b)) K tuples:none Defined Rule Symbols: c Defined Pair Symbols: F_1 Compound Symbols: c1_1 ---------------------------------------- (55) CdtUsableRulesProof (BOTH BOUNDS(ID, ID)) The following rules are not usable and were removed: c -> b ---------------------------------------- (56) Obligation: Complexity Dependency Tuples Problem Rules:none Tuples: F(x0) -> c1(F(b)) S tuples: F(x0) -> c1(F(b)) K tuples:none Defined Rule Symbols:none Defined Pair Symbols: F_1 Compound Symbols: c1_1 ---------------------------------------- (57) CdtInstantiationProof (BOTH BOUNDS(ID, ID)) Use instantiation to replace F(x0) -> c1(F(b)) by F(b) -> c1(F(b)) ---------------------------------------- (58) Obligation: Complexity Dependency Tuples Problem Rules:none Tuples: F(b) -> c1(F(b)) S tuples: F(b) -> c1(F(b)) K tuples:none Defined Rule Symbols:none Defined Pair Symbols: F_1 Compound Symbols: c1_1 ---------------------------------------- (59) RelTrsToWeightedTrsProof (UPPER BOUND(ID)) Transformed relative TRS to weighted TRS ---------------------------------------- (60) Obligation: The Runtime Complexity (innermost) of the given CpxWeightedTrs could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: f(X) -> f(c) [1] c -> b [1] Rewrite Strategy: INNERMOST ---------------------------------------- (61) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Infered types. ---------------------------------------- (62) Obligation: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: f(X) -> f(c) [1] c -> b [1] The TRS has the following type information: f :: b -> f c :: b b :: b Rewrite Strategy: INNERMOST ---------------------------------------- (63) CompletionProof (UPPER BOUND(ID)) The transformation into a RNTS is sound, since: (a) The obligation is a constructor system where every type has a constant constructor, (b) The following defined symbols do not have to be completely defined, as they can never occur inside other defined symbols: f_1 (c) The following functions are completely defined: c Due to the following rules being added: none And the following fresh constants: const ---------------------------------------- (64) Obligation: Runtime Complexity Weighted TRS where critical functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: f(X) -> f(c) [1] c -> b [1] The TRS has the following type information: f :: b -> f c :: b b :: b const :: f Rewrite Strategy: INNERMOST ---------------------------------------- (65) NarrowingProof (BOTH BOUNDS(ID, ID)) Narrowed the inner basic terms of all right-hand sides by a single narrowing step. ---------------------------------------- (66) Obligation: Runtime Complexity Weighted TRS where critical functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: f(X) -> f(b) [2] c -> b [1] The TRS has the following type information: f :: b -> f c :: b b :: b const :: f Rewrite Strategy: INNERMOST ---------------------------------------- (67) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: b => 0 const => 0 ---------------------------------------- (68) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 2 }-> f(0) :|: X >= 0, z = X ---------------------------------------- (69) SimplificationProof (BOTH BOUNDS(ID, ID)) Simplified the RNTS by moving equalities from the constraints into the right-hand sides. ---------------------------------------- (70) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 2 }-> f(0) :|: z >= 0 ---------------------------------------- (71) CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID)) Found the following analysis order by SCC decomposition: { f } { c } ---------------------------------------- (72) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 2 }-> f(0) :|: z >= 0 Function symbols to be analyzed: {f}, {c} ---------------------------------------- (73) ResultPropagationProof (UPPER BOUND(ID)) Applied inner abstraction using the recently inferred runtime/size bounds where possible. ---------------------------------------- (74) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 2 }-> f(0) :|: z >= 0 Function symbols to be analyzed: {f}, {c} ---------------------------------------- (75) IntTrsBoundProof (UPPER BOUND(ID)) Computed SIZE bound using CoFloCo for: f after applying outer abstraction to obtain an ITS, resulting in: O(1) with polynomial bound: 0 ---------------------------------------- (76) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 2 }-> f(0) :|: z >= 0 Function symbols to be analyzed: {f}, {c} Previous analysis results are: f: runtime: ?, size: O(1) [0] ---------------------------------------- (77) IntTrsBoundProof (UPPER BOUND(ID)) Computed RUNTIME bound using CoFloCo for: f after applying outer abstraction to obtain an ITS, resulting in: INF with polynomial bound: ? ---------------------------------------- (78) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 2 }-> f(0) :|: z >= 0 Function symbols to be analyzed: {f}, {c} Previous analysis results are: f: runtime: INF, size: O(1) [0] ---------------------------------------- (79) CompletionProof (UPPER BOUND(ID)) The TRS is a completely defined constructor system, as every type has a constant constructor and the following rules were added: none And the following fresh constants: const ---------------------------------------- (80) Obligation: Runtime Complexity Weighted TRS where all functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: f(X) -> f(c) [1] c -> b [1] The TRS has the following type information: f :: b -> f c :: b b :: b const :: f Rewrite Strategy: INNERMOST ---------------------------------------- (81) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: b => 0 const => 0 ---------------------------------------- (82) Obligation: Complexity RNTS consisting of the following rules: c -{ 1 }-> 0 :|: f(z) -{ 1 }-> f(c) :|: X >= 0, z = X Only complete derivations are relevant for the runtime complexity.