@tuprolog/2p-full 1.0.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/2p-bdd.js +204 -201
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +3668 -4128
  4. package/2p-core.js.map +1 -1
  5. package/2p-datalog.js +3 -3
  6. package/2p-datalog.js.map +1 -1
  7. package/2p-dsl-core.js +3 -3
  8. package/2p-dsl-core.js.map +1 -1
  9. package/2p-dsl-solve.js +3 -3
  10. package/2p-dsl-solve.js.map +1 -1
  11. package/2p-dsl-theory.js +3 -3
  12. package/2p-dsl-theory.js.map +1 -1
  13. package/2p-dsl-unify.js +3 -3
  14. package/2p-dsl-unify.js.map +1 -1
  15. package/2p-full.js +9 -19
  16. package/2p-full.js.map +1 -1
  17. package/2p-io-lib.js +6 -3321
  18. package/2p-io-lib.js.map +1 -1
  19. package/2p-oop-lib.js +6 -3435
  20. package/2p-oop-lib.js.map +1 -1
  21. package/2p-parser-core.js +6 -1266
  22. package/2p-parser-core.js.map +1 -1
  23. package/2p-parser-js.js +6 -30
  24. package/2p-parser-js.js.map +1 -1
  25. package/2p-parser-theory.js +6 -126
  26. package/2p-parser-theory.js.map +1 -1
  27. package/2p-repl.js +6 -499
  28. package/2p-repl.js.map +1 -1
  29. package/2p-serialize-core.js +3 -3
  30. package/2p-serialize-core.js.map +1 -1
  31. package/2p-serialize-theory.js +3 -3
  32. package/2p-serialize-theory.js.map +1 -1
  33. package/2p-solve-classic.js +1216 -1203
  34. package/2p-solve-classic.js.map +1 -1
  35. package/2p-solve-concurrent.js +3 -3
  36. package/2p-solve-concurrent.js.map +1 -1
  37. package/2p-solve-plp.js +8 -8
  38. package/2p-solve-plp.js.map +1 -1
  39. package/2p-solve-problog.js +2095 -2140
  40. package/2p-solve-problog.js.map +1 -1
  41. package/2p-solve-streams.js +1244 -1333
  42. package/2p-solve-streams.js.map +1 -1
  43. package/2p-solve.js +5185 -6393
  44. package/2p-solve.js.map +1 -1
  45. package/2p-test-dsl.js +3 -3
  46. package/2p-test-dsl.js.map +1 -1
  47. package/2p-theory.js +2091 -1992
  48. package/2p-theory.js.map +1 -1
  49. package/2p-unify.js +315 -300
  50. package/2p-unify.js.map +1 -1
  51. package/2p-utils.js +625 -635
  52. package/2p-utils.js.map +1 -1
  53. package/clikt-clikt-mordant.js +15 -0
  54. package/clikt-clikt-mordant.js.map +1 -0
  55. package/clikt-clikt.js +15 -0
  56. package/clikt-clikt.js.map +1 -0
  57. package/colormath-root-colormath.js +15 -0
  58. package/colormath-root-colormath.js.map +1 -0
  59. package/kotlin-kotlin-stdlib.js +6829 -8585
  60. package/kotlin-kotlin-stdlib.js.map +1 -1
  61. package/kotlin-kotlin-test.js +15 -0
  62. package/kotlin-kotlin-test.js.map +1 -0
  63. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
  64. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
  65. package/kotlinx-atomicfu.js +15 -0
  66. package/kotlinx-atomicfu.js.map +1 -0
  67. package/kotlinx-coroutines-core.js +15 -0
  68. package/kotlinx-coroutines-core.js.map +1 -0
  69. package/kt-math.js +3143 -3508
  70. package/kt-math.js.map +1 -1
  71. package/mordant-mordant-omnibus.js +15 -0
  72. package/mordant-mordant-omnibus.js.map +1 -0
  73. package/mordant-mordant.js +19 -0
  74. package/mordant-mordant.js.map +1 -0
  75. package/package.json +2 -3
  76. package/88b0986a7186d029-atomicfu-js-ir.js +0 -15
  77. package/88b0986a7186d029-atomicfu-js-ir.js.map +0 -1
  78. package/clikt-clikt-js-ir.js +0 -6006
  79. package/clikt-clikt-js-ir.js.map +0 -1
  80. package/kotlin-kotlin-test-kotlin-test-js-ir.js +0 -15
  81. package/kotlin-kotlin-test-kotlin-test-js-ir.js.map +0 -1
  82. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +0 -15
  83. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +0 -1
  84. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +0 -15
  85. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +0 -1
@@ -1,195 +1,200 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
3
  define(['exports', './2p-unify.js', './kotlin-kotlin-stdlib.js', './2p-solve.js', './2p-theory.js', './2p-utils.js', './2p-core.js'], factory);
4
4
  else if (typeof exports === 'object')
5
5
  factory(module.exports, require('./2p-unify.js'), require('./kotlin-kotlin-stdlib.js'), require('./2p-solve.js'), require('./2p-theory.js'), require('./2p-utils.js'), require('./2p-core.js'));
6
6
  else {
7
- if (typeof this['2p-unify'] === 'undefined') {
7
+ if (typeof globalThis['2p-unify'] === 'undefined') {
8
8
  throw new Error("Error loading module '2p-solve-classic'. Its dependency '2p-unify' was not found. Please, check whether '2p-unify' is loaded prior to '2p-solve-classic'.");
9
9
  }
10
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
10
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
11
11
  throw new Error("Error loading module '2p-solve-classic'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '2p-solve-classic'.");
12
12
  }
13
- if (typeof this['2p-solve'] === 'undefined') {
13
+ if (typeof globalThis['2p-solve'] === 'undefined') {
14
14
  throw new Error("Error loading module '2p-solve-classic'. Its dependency '2p-solve' was not found. Please, check whether '2p-solve' is loaded prior to '2p-solve-classic'.");
15
15
  }
16
- if (typeof this['2p-theory'] === 'undefined') {
16
+ if (typeof globalThis['2p-theory'] === 'undefined') {
17
17
  throw new Error("Error loading module '2p-solve-classic'. Its dependency '2p-theory' was not found. Please, check whether '2p-theory' is loaded prior to '2p-solve-classic'.");
18
18
  }
19
- if (typeof this['2p-utils'] === 'undefined') {
19
+ if (typeof globalThis['2p-utils'] === 'undefined') {
20
20
  throw new Error("Error loading module '2p-solve-classic'. Its dependency '2p-utils' was not found. Please, check whether '2p-utils' is loaded prior to '2p-solve-classic'.");
21
21
  }
22
- if (typeof this['2p-core'] === 'undefined') {
22
+ if (typeof globalThis['2p-core'] === 'undefined') {
23
23
  throw new Error("Error loading module '2p-solve-classic'. Its dependency '2p-core' was not found. Please, check whether '2p-core' is loaded prior to '2p-solve-classic'.");
24
24
  }
25
- root['2p-solve-classic'] = factory(typeof this['2p-solve-classic'] === 'undefined' ? {} : this['2p-solve-classic'], this['2p-unify'], this['kotlin-kotlin-stdlib'], this['2p-solve'], this['2p-theory'], this['2p-utils'], this['2p-core']);
25
+ globalThis['2p-solve-classic'] = factory(typeof globalThis['2p-solve-classic'] === 'undefined' ? {} : globalThis['2p-solve-classic'], globalThis['2p-unify'], globalThis['kotlin-kotlin-stdlib'], globalThis['2p-solve'], globalThis['2p-theory'], globalThis['2p-utils'], globalThis['2p-core']);
26
26
  }
27
- }(this, function (_, kotlin_it_unibo_tuprolog_unify, kotlin_kotlin, kotlin_it_unibo_tuprolog_solve, kotlin_it_unibo_tuprolog_theory, kotlin_it_unibo_tuprolog_utils, kotlin_it_unibo_tuprolog_core) {
27
+ }(function (_, kotlin_it_unibo_tuprolog_unify, kotlin_kotlin, kotlin_it_unibo_tuprolog_solve, kotlin_it_unibo_tuprolog_theory, kotlin_it_unibo_tuprolog_utils, kotlin_it_unibo_tuprolog_core) {
28
28
  'use strict';
29
29
  //region block: imports
30
30
  var imul = Math.imul;
31
31
  var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.a;
32
- var VOID = kotlin_kotlin.$_$.d;
33
- var Companion_instance = kotlin_it_unibo_tuprolog_solve.$_$.d2;
34
- var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_solve.$_$.y1;
32
+ var VOID = kotlin_kotlin.$_$.b;
33
+ var Companion_instance = kotlin_it_unibo_tuprolog_solve.$_$.i1;
34
+ var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_solve.$_$.d1;
35
35
  var Companion_instance_0 = kotlin_it_unibo_tuprolog_theory.$_$.b;
36
36
  var Companion_instance_1 = kotlin_it_unibo_tuprolog_theory.$_$.a;
37
- var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.j1;
38
- var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.l1;
39
- var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.k1;
40
- var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.m1;
41
- var toString = kotlin_kotlin.$_$.z6;
42
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v;
43
- var Unit_instance = kotlin_kotlin.$_$.y1;
44
- var AbstractSolver = kotlin_it_unibo_tuprolog_solve.$_$.v2;
45
- var protoOf = kotlin_kotlin.$_$.u6;
46
- var THROW_CCE = kotlin_kotlin.$_$.vb;
47
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.ec;
48
- var getAllOperators = kotlin_it_unibo_tuprolog_solve.$_$.n5;
49
- var toOperatorSet = kotlin_it_unibo_tuprolog_solve.$_$.p5;
50
- var Long = kotlin_kotlin.$_$.pb;
51
- var currentTimeInstant = kotlin_it_unibo_tuprolog_solve.$_$.l5;
52
- var asSequence = kotlin_kotlin.$_$.v7;
53
- var classMeta = kotlin_kotlin.$_$.v5;
54
- var setMetadataFor = kotlin_kotlin.$_$.v6;
55
- var ensureNotNull = kotlin_kotlin.$_$.yb;
56
- var toLong = kotlin_kotlin.$_$.x6;
57
- var hashCode = kotlin_kotlin.$_$.e6;
58
- var equals = kotlin_kotlin.$_$.y5;
59
- var CoroutineImpl = kotlin_kotlin.$_$.l5;
60
- var SequenceScope = kotlin_kotlin.$_$.r7;
61
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k5;
62
- var sequence = kotlin_kotlin.$_$.x8;
63
- var asSequence_0 = kotlin_kotlin.$_$.n2;
64
- var emptySequence = kotlin_kotlin.$_$.a8;
65
- var plus = kotlin_kotlin.$_$.u8;
66
- var flatMap = kotlin_kotlin.$_$.h8;
67
- var distinct = kotlin_kotlin.$_$.y7;
37
+ var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.s;
38
+ var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.u;
39
+ var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.t;
40
+ var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.v;
41
+ var toString = kotlin_kotlin.$_$.n6;
42
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
43
+ var Unit_instance = kotlin_kotlin.$_$.k1;
44
+ var AbstractSolver = kotlin_it_unibo_tuprolog_solve.$_$.u1;
45
+ var protoOf = kotlin_kotlin.$_$.k6;
46
+ var THROW_CCE = kotlin_kotlin.$_$.ea;
47
+ var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.ma;
48
+ var getAllOperators = kotlin_it_unibo_tuprolog_solve.$_$.c4;
49
+ var toOperatorSet = kotlin_it_unibo_tuprolog_solve.$_$.e4;
50
+ var currentTimeInstant = kotlin_it_unibo_tuprolog_solve.$_$.a4;
51
+ var asSequence = kotlin_kotlin.$_$.h7;
52
+ var initMetadataForClass = kotlin_kotlin.$_$.t5;
53
+ var ensureNotNull = kotlin_kotlin.$_$.ha;
54
+ var fromInt = kotlin_kotlin.$_$.s4;
55
+ var add = kotlin_kotlin.$_$.n4;
56
+ var hashCode = kotlin_kotlin.$_$.s5;
57
+ var equals = kotlin_kotlin.$_$.m5;
58
+ var CoroutineImpl = kotlin_kotlin.$_$.k4;
59
+ var SequenceScope = kotlin_kotlin.$_$.d7;
60
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.j4;
61
+ var initMetadataForLambda = kotlin_kotlin.$_$.x5;
62
+ var sequence = kotlin_kotlin.$_$.k8;
63
+ var toString_0 = kotlin_kotlin.$_$.oa;
64
+ var asSequence_0 = kotlin_kotlin.$_$.w1;
65
+ var emptySequence = kotlin_kotlin.$_$.m7;
66
+ var plus = kotlin_kotlin.$_$.g8;
67
+ var KProperty1 = kotlin_kotlin.$_$.c7;
68
+ var getPropertyCallableRef = kotlin_kotlin.$_$.q5;
69
+ var flatMap = kotlin_kotlin.$_$.t7;
70
+ var distinct = kotlin_kotlin.$_$.k7;
68
71
  var cached = kotlin_it_unibo_tuprolog_utils.$_$.r;
69
- var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.d1;
70
- var filter = kotlin_kotlin.$_$.e8;
71
- var map = kotlin_kotlin.$_$.q8;
72
- var toList = kotlin_kotlin.$_$.d9;
73
- var Companion_instance_6 = kotlin_it_unibo_tuprolog_solve.$_$.n1;
74
- var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.e1;
75
- var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.g1;
72
+ var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.u;
73
+ var filter = kotlin_kotlin.$_$.q7;
74
+ var map = kotlin_kotlin.$_$.c8;
75
+ var toList = kotlin_kotlin.$_$.q8;
76
+ var Companion_instance_6 = kotlin_it_unibo_tuprolog_solve.$_$.w;
77
+ var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.v;
78
+ var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.x;
76
79
  var Companion_instance_7 = kotlin_it_unibo_tuprolog_utils.$_$.c;
77
- var Companion_getInstance_4 = kotlin_kotlin.$_$.x1;
78
- var emptySet = kotlin_kotlin.$_$.b3;
79
- var lazy = kotlin_kotlin.$_$.ac;
80
- var contains = kotlin_kotlin.$_$.w7;
81
- var createSolver = kotlin_it_unibo_tuprolog_solve.$_$.s;
82
- var createMutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.r;
83
- var update = kotlin_it_unibo_tuprolog_solve.$_$.t;
84
- var apply = kotlin_it_unibo_tuprolog_solve.$_$.w3;
85
- var applyIterable = kotlin_it_unibo_tuprolog_solve.$_$.v3;
86
- var applySequence = kotlin_it_unibo_tuprolog_solve.$_$.x3;
87
- var get_standardInput = kotlin_it_unibo_tuprolog_solve.$_$.z3;
88
- var get_standardOutput = kotlin_it_unibo_tuprolog_solve.$_$.a4;
89
- var get_standardError = kotlin_it_unibo_tuprolog_solve.$_$.y3;
90
- var get_warnings = kotlin_it_unibo_tuprolog_solve.$_$.b4;
91
- var get_endTime = kotlin_it_unibo_tuprolog_solve.$_$.t3;
92
- var get_remainingTime = kotlin_it_unibo_tuprolog_solve.$_$.u3;
93
- var get_elapsedTime = kotlin_it_unibo_tuprolog_solve.$_$.s3;
94
- var ExecutionContext = kotlin_it_unibo_tuprolog_solve.$_$.c4;
95
- var KProperty1 = kotlin_kotlin.$_$.q7;
96
- var getPropertyCallableRef = kotlin_kotlin.$_$.c6;
97
- var objectCreate = kotlin_kotlin.$_$.s6;
98
- var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.z;
99
- var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.y;
100
- var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.v;
101
- var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.w;
102
- var newBuilder = kotlin_it_unibo_tuprolog_solve.$_$.h5;
103
- var get_defaultRuntime = kotlin_it_unibo_tuprolog_solve.$_$.c5;
104
- var get_defaultUnificator = kotlin_it_unibo_tuprolog_solve.$_$.e5;
105
- var get_defaultFlags = kotlin_it_unibo_tuprolog_solve.$_$.z4;
106
- var get_defaultStaticKb = kotlin_it_unibo_tuprolog_solve.$_$.d5;
107
- var get_defaultDynamicKb = kotlin_it_unibo_tuprolog_solve.$_$.x4;
108
- var get_defaultInputChannel = kotlin_it_unibo_tuprolog_solve.$_$.a5;
109
- var get_defaultOutputChannel = kotlin_it_unibo_tuprolog_solve.$_$.b5;
110
- var get_defaultErrorChannel = kotlin_it_unibo_tuprolog_solve.$_$.y4;
111
- var get_defaultWarningsChannel = kotlin_it_unibo_tuprolog_solve.$_$.f5;
112
- var solverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.i5;
113
- var solverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.a1;
114
- var mutableSolverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.g5;
115
- var mutableSolverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.x;
116
- var SolverFactory = kotlin_it_unibo_tuprolog_solve.$_$.j5;
117
- var objectMeta = kotlin_kotlin.$_$.t6;
118
- var defineProp = kotlin_kotlin.$_$.x5;
119
- var listOf = kotlin_kotlin.$_$.r3;
120
- var getAllOperators_0 = kotlin_it_unibo_tuprolog_solve.$_$.o5;
121
- var to = kotlin_kotlin.$_$.hc;
122
- var loadStaticClauses = kotlin_it_unibo_tuprolog_solve.$_$.g4;
123
- var loadStaticClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.h4;
124
- var loadStaticClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.i4;
125
- var loadDynamicClauses = kotlin_it_unibo_tuprolog_solve.$_$.f4;
126
- var loadDynamicClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.d4;
127
- var loadDynamicClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.e4;
128
- var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.j4;
129
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.b1;
130
- var TimeOutException_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.e1;
131
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.c1;
132
- var interfaceMeta = kotlin_kotlin.$_$.f6;
133
- var getKClass = kotlin_kotlin.$_$.c;
134
- var ClassCastException_init_$Create$ = kotlin_kotlin.$_$.t;
135
- var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.k2;
136
- var MessageError = kotlin_it_unibo_tuprolog_solve.$_$.q2;
137
- var Companion_instance_9 = kotlin_it_unibo_tuprolog_solve.$_$.v1;
80
+ var emptySet = kotlin_kotlin.$_$.j2;
81
+ var lazy = kotlin_kotlin.$_$.ja;
82
+ var contains = kotlin_kotlin.$_$.i7;
83
+ var createSolver = kotlin_it_unibo_tuprolog_solve.$_$.c;
84
+ var createMutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.b;
85
+ var update = kotlin_it_unibo_tuprolog_solve.$_$.d;
86
+ var apply = kotlin_it_unibo_tuprolog_solve.$_$.l2;
87
+ var applyIterable = kotlin_it_unibo_tuprolog_solve.$_$.k2;
88
+ var applySequence = kotlin_it_unibo_tuprolog_solve.$_$.m2;
89
+ var getBigIntHashCode = kotlin_kotlin.$_$.n5;
90
+ var get_standardInput = kotlin_it_unibo_tuprolog_solve.$_$.o2;
91
+ var get_standardOutput = kotlin_it_unibo_tuprolog_solve.$_$.p2;
92
+ var get_standardError = kotlin_it_unibo_tuprolog_solve.$_$.n2;
93
+ var get_warnings = kotlin_it_unibo_tuprolog_solve.$_$.q2;
94
+ var get_endTime = kotlin_it_unibo_tuprolog_solve.$_$.i2;
95
+ var get_remainingTime = kotlin_it_unibo_tuprolog_solve.$_$.j2;
96
+ var get_elapsedTime = kotlin_it_unibo_tuprolog_solve.$_$.h2;
97
+ var ExecutionContext = kotlin_it_unibo_tuprolog_solve.$_$.r2;
98
+ var objectCreate = kotlin_kotlin.$_$.j6;
99
+ var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.j;
100
+ var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.i;
101
+ var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.f;
102
+ var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.g;
103
+ var newBuilder = kotlin_it_unibo_tuprolog_solve.$_$.w3;
104
+ var get_defaultRuntime = kotlin_it_unibo_tuprolog_solve.$_$.r3;
105
+ var get_defaultUnificator = kotlin_it_unibo_tuprolog_solve.$_$.t3;
106
+ var get_defaultFlags = kotlin_it_unibo_tuprolog_solve.$_$.o3;
107
+ var get_defaultStaticKb = kotlin_it_unibo_tuprolog_solve.$_$.s3;
108
+ var get_defaultDynamicKb = kotlin_it_unibo_tuprolog_solve.$_$.m3;
109
+ var get_defaultInputChannel = kotlin_it_unibo_tuprolog_solve.$_$.p3;
110
+ var get_defaultOutputChannel = kotlin_it_unibo_tuprolog_solve.$_$.q3;
111
+ var get_defaultErrorChannel = kotlin_it_unibo_tuprolog_solve.$_$.n3;
112
+ var get_defaultWarningsChannel = kotlin_it_unibo_tuprolog_solve.$_$.u3;
113
+ var solverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.x3;
114
+ var solverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.k;
115
+ var mutableSolverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.v3;
116
+ var mutableSolverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.h;
117
+ var SolverFactory = kotlin_it_unibo_tuprolog_solve.$_$.y3;
118
+ var initMetadataForObject = kotlin_kotlin.$_$.y5;
119
+ var defineProp = kotlin_kotlin.$_$.l5;
120
+ var listOf = kotlin_kotlin.$_$.x2;
121
+ var getAllOperators_0 = kotlin_it_unibo_tuprolog_solve.$_$.d4;
122
+ var to = kotlin_kotlin.$_$.pa;
123
+ var loadStaticClauses = kotlin_it_unibo_tuprolog_solve.$_$.v2;
124
+ var loadStaticClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.w2;
125
+ var loadStaticClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.x2;
126
+ var loadDynamicClauses = kotlin_it_unibo_tuprolog_solve.$_$.u2;
127
+ var loadDynamicClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.s2;
128
+ var loadDynamicClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.t2;
129
+ var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.y2;
130
+ var initMetadataForCompanion = kotlin_kotlin.$_$.u5;
131
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w;
132
+ var subtract = kotlin_kotlin.$_$.a5;
133
+ var TimeOutException_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.o;
134
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.x;
135
+ var initMetadataForInterface = kotlin_kotlin.$_$.w5;
136
+ var getKClass = kotlin_kotlin.$_$.b7;
137
+ var ClassCastException_init_$Create$ = kotlin_kotlin.$_$.o;
138
+ var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.n1;
139
+ var MessageError = kotlin_it_unibo_tuprolog_solve.$_$.p1;
140
+ var Companion_instance_9 = kotlin_it_unibo_tuprolog_solve.$_$.a1;
138
141
  var plus_0 = kotlin_it_unibo_tuprolog_utils.$_$.h1;
139
- var LogicError = kotlin_it_unibo_tuprolog_solve.$_$.s2;
140
- var toSet = kotlin_kotlin.$_$.f9;
141
- var plus_1 = kotlin_kotlin.$_$.i4;
142
- var TrackVariables_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a2;
143
- var drop = kotlin_kotlin.$_$.z7;
144
- var first = kotlin_kotlin.$_$.g8;
145
- var Unifier = kotlin_it_unibo_tuprolog_core.$_$.a2;
146
- var isInterface = kotlin_kotlin.$_$.j6;
147
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.y;
148
- var ResolutionException = kotlin_it_unibo_tuprolog_solve.$_$.t2;
149
- var Companion_instance_10 = kotlin_it_unibo_tuprolog_solve.$_$.w1;
150
- var extractSignature = kotlin_it_unibo_tuprolog_solve.$_$.m5;
151
- var Signature = kotlin_it_unibo_tuprolog_solve.$_$.k4;
152
- var Expected_CALLABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.k;
142
+ var LogicError = kotlin_it_unibo_tuprolog_solve.$_$.r1;
143
+ var toSet = kotlin_kotlin.$_$.s8;
144
+ var plus_1 = kotlin_kotlin.$_$.n3;
145
+ var TrackVariables_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.f1;
146
+ var drop = kotlin_kotlin.$_$.l7;
147
+ var first = kotlin_kotlin.$_$.s7;
148
+ var Unifier = kotlin_it_unibo_tuprolog_core.$_$.q1;
149
+ var isInterface = kotlin_kotlin.$_$.c6;
150
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t;
151
+ var ResolutionException = kotlin_it_unibo_tuprolog_solve.$_$.s1;
152
+ var Companion_instance_10 = kotlin_it_unibo_tuprolog_solve.$_$.b1;
153
+ var extractSignature = kotlin_it_unibo_tuprolog_solve.$_$.b4;
154
+ var Signature = kotlin_it_unibo_tuprolog_solve.$_$.z2;
155
+ var Expected_CALLABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a;
153
156
  var cursor = kotlin_it_unibo_tuprolog_utils.$_$.t;
154
- var Companion_instance_11 = kotlin_it_unibo_tuprolog_solve.$_$.r1;
155
- var prepareForExecutionWithUnifier = kotlin_it_unibo_tuprolog_core.$_$.d3;
156
- var setOf = kotlin_kotlin.$_$.o4;
157
- var Unknown_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.b2;
158
- var MissingPredicate_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.c1;
159
- var Companion_instance_12 = kotlin_it_unibo_tuprolog_solve.$_$.q1;
160
- var contains_0 = kotlin_kotlin.$_$.r2;
161
- var firstOrNull = kotlin_kotlin.$_$.f8;
162
- var any = kotlin_kotlin.$_$.t7;
163
- var LastCallOptimization_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.z1;
157
+ var Companion_instance_11 = kotlin_it_unibo_tuprolog_solve.$_$.y;
158
+ var prepareForExecutionWithUnifier = kotlin_it_unibo_tuprolog_core.$_$.t2;
159
+ var setOf = kotlin_kotlin.$_$.t3;
160
+ var Unknown_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.g1;
161
+ var MissingPredicate_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.m;
162
+ var Companion_instance_12 = kotlin_it_unibo_tuprolog_solve.$_$.x;
163
+ var contains_0 = kotlin_kotlin.$_$.a2;
164
+ var firstOrNull = kotlin_kotlin.$_$.r7;
165
+ var any = kotlin_kotlin.$_$.f7;
166
+ var LastCallOptimization_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.e1;
164
167
  var buffered = kotlin_it_unibo_tuprolog_utils.$_$.q;
165
- var sequenceOf = kotlin_kotlin.$_$.w8;
166
- var MagicCut = kotlin_it_unibo_tuprolog_solve.$_$.r3;
167
- var Request = kotlin_it_unibo_tuprolog_solve.$_$.g3;
168
- var ExtensionLibrary = kotlin_it_unibo_tuprolog_solve.$_$.x2;
169
- var CommonBuiltins_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.j2;
170
- var listOf_0 = kotlin_kotlin.$_$.s3;
171
- var Struct = kotlin_it_unibo_tuprolog_core.$_$.z1;
172
- var Companion_instance_13 = kotlin_it_unibo_tuprolog_solve.$_$.s1;
173
- var Companion_instance_14 = kotlin_it_unibo_tuprolog_solve.$_$.x1;
174
- var UnaryPredicate = kotlin_it_unibo_tuprolog_solve.$_$.p3;
175
- var Companion_getInstance_5 = kotlin_it_unibo_tuprolog_solve.$_$.e2;
176
- var RuleWrapper = kotlin_it_unibo_tuprolog_solve.$_$.q3;
177
- var RuleWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.g1;
178
- var EnsureExecutable_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.g2;
179
- var MagicCut_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.f2;
168
+ var sequenceOf = kotlin_kotlin.$_$.i8;
169
+ var MagicCut = kotlin_it_unibo_tuprolog_solve.$_$.g2;
170
+ var sequenceOf_0 = kotlin_kotlin.$_$.j8;
171
+ var Request = kotlin_it_unibo_tuprolog_solve.$_$.a2;
172
+ var get_ONE = kotlin_kotlin.$_$.m4;
173
+ var ExtensionLibrary = kotlin_it_unibo_tuprolog_solve.$_$.v1;
174
+ var CommonBuiltins_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.m1;
175
+ var listOf_0 = kotlin_kotlin.$_$.y2;
176
+ var Struct = kotlin_it_unibo_tuprolog_core.$_$.p1;
177
+ var Companion_instance_13 = kotlin_it_unibo_tuprolog_solve.$_$.z;
178
+ var Companion_instance_14 = kotlin_it_unibo_tuprolog_solve.$_$.c1;
179
+ var UnaryPredicate = kotlin_it_unibo_tuprolog_solve.$_$.e2;
180
+ var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.j1;
181
+ var RuleWrapper = kotlin_it_unibo_tuprolog_solve.$_$.f2;
182
+ var RuleWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.q;
183
+ var EnsureExecutable_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.l1;
184
+ var MagicCut_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.k1;
180
185
  //endregion
181
186
  //region block: pre-declaration
182
- setMetadataFor(AbstractClassicSolver, 'AbstractClassicSolver', classMeta, AbstractSolver);
183
- setMetadataFor(ChoicePointContext, 'ChoicePointContext', classMeta);
184
- setMetadataFor(Primitives, 'Primitives', classMeta, ChoicePointContext);
185
- setMetadataFor(Rules, 'Rules', classMeta, ChoicePointContext);
186
- setMetadataFor(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn, 'ChoicePointContext$<get-pathToRoot>$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
187
- setMetadataFor(ClassicExecutionContext$pathToRoot$slambda, 'ClassicExecutionContext$pathToRoot$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
188
- setMetadataFor(ClassicExecutionContext, 'ClassicExecutionContext', classMeta, VOID, [ExecutionContext]);
189
- setMetadataFor(ClassicSolver, 'ClassicSolver', classMeta, AbstractClassicSolver);
190
- setMetadataFor(ClassicSolverFactory, 'ClassicSolverFactory', objectMeta, VOID, [SolverFactory]);
191
- setMetadataFor(MutableClassicSolver, 'MutableClassicSolver', classMeta, ClassicSolver, [ClassicSolver, MutableSolver]);
192
- setMetadataFor(Companion, 'Companion', objectMeta);
187
+ initMetadataForClass(AbstractClassicSolver, 'AbstractClassicSolver', VOID, AbstractSolver);
188
+ initMetadataForClass(ChoicePointContext, 'ChoicePointContext');
189
+ initMetadataForClass(Primitives, 'Primitives', VOID, ChoicePointContext);
190
+ initMetadataForClass(Rules, 'Rules', VOID, ChoicePointContext);
191
+ initMetadataForLambda(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn, CoroutineImpl, VOID, [1]);
192
+ initMetadataForLambda(ClassicExecutionContext$pathToRoot$slambda, CoroutineImpl, VOID, [1]);
193
+ initMetadataForClass(ClassicExecutionContext, 'ClassicExecutionContext', VOID, VOID, [ExecutionContext]);
194
+ initMetadataForClass(ClassicSolver, 'ClassicSolver', VOID, AbstractClassicSolver);
195
+ initMetadataForObject(ClassicSolverFactory, 'ClassicSolverFactory', VOID, VOID, [SolverFactory]);
196
+ initMetadataForClass(MutableClassicSolver, 'MutableClassicSolver', VOID, ClassicSolver, [ClassicSolver, MutableSolver]);
197
+ initMetadataForCompanion(Companion);
193
198
  function get_isEndState() {
194
199
  return false;
195
200
  }
@@ -200,19 +205,20 @@
200
205
  var tmp0_elvis_lhs = this.asEndState();
201
206
  var tmp;
202
207
  if (tmp0_elvis_lhs == null) {
203
- throw ClassCastException_init_$Create$('Cannot cast ' + this + ' to ' + getKClass(EndState).s6());
208
+ throw ClassCastException_init_$Create$('Cannot cast ' + toString(this) + ' to ' + getKClass(EndState).b9());
204
209
  } else {
205
210
  tmp = tmp0_elvis_lhs;
206
211
  }
207
212
  return tmp;
208
213
  }
209
214
  function clone(context, $super) {
210
- context = context === VOID ? this.uc() : context;
211
- return $super === VOID ? this.x37(context) : $super.x37.call(this, context);
215
+ context = context === VOID ? this.h8() : context;
216
+ return $super === VOID ? this.e30(context) : $super.e30.call(this, context);
212
217
  }
213
- setMetadataFor(State, 'State', interfaceMeta);
218
+ initMetadataForInterface(State, 'State');
219
+ initMetadataForClass(AbstractState, 'AbstractState', VOID, VOID, [State]);
214
220
  function get_hasOpenAlternatives() {
215
- return this.x2i().g1w() ? this.uc().w34() : false;
221
+ return this.f2f().n1t() && this.h8().z2w();
216
222
  }
217
223
  function get_isEndState_0() {
218
224
  return true;
@@ -221,40 +227,39 @@
221
227
  return this;
222
228
  }
223
229
  function asEndState_1() {
224
- return this.u37();
225
- }
226
- setMetadataFor(EndState, 'EndState', interfaceMeta, VOID, [State]);
227
- setMetadataFor(AbstractState, 'AbstractState', classMeta, VOID, [State]);
228
- setMetadataFor(AbstractEndState, 'AbstractEndState', classMeta, AbstractState, [EndState, AbstractState]);
229
- setMetadataFor(StateBacktracking, 'StateBacktracking', classMeta, AbstractState);
230
- setMetadataFor(StateEnd, 'StateEnd', classMeta, AbstractEndState);
231
- setMetadataFor(StateException, 'StateException', classMeta, AbstractState, [State, AbstractState]);
232
- setMetadataFor(StateGoalSelection, 'StateGoalSelection', classMeta, AbstractState);
233
- setMetadataFor(StateHalt, 'StateHalt', classMeta, AbstractEndState, [State, AbstractEndState]);
234
- setMetadataFor(StateInit, 'StateInit', classMeta, AbstractState);
235
- setMetadataFor(StatePrimitiveExecution, 'StatePrimitiveExecution', classMeta, AbstractState);
236
- setMetadataFor(StatePrimitiveSelection, 'StatePrimitiveSelection', classMeta, AbstractState);
237
- setMetadataFor(StateRuleExecution, 'StateRuleExecution', classMeta, AbstractState);
238
- setMetadataFor(CutLimit, 'CutLimit', classMeta);
239
- setMetadataFor(None, 'None', objectMeta, CutLimit);
240
- setMetadataFor(Actual, 'Actual', classMeta, CutLimit);
241
- setMetadataFor(Companion_0, 'Companion', objectMeta);
242
- setMetadataFor(StateRuleSelection, 'StateRuleSelection', classMeta, AbstractState);
243
- setMetadataFor(AbstractSolutionIterator, 'AbstractSolutionIterator', classMeta);
244
- setMetadataFor(SimpleSolutionIterator, 'SimpleSolutionIterator', classMeta, AbstractSolutionIterator);
245
- setMetadataFor(DefaultBuiltins, 'DefaultBuiltins', objectMeta, ExtensionLibrary);
246
- setMetadataFor(Throw, 'Throw', objectMeta, UnaryPredicate);
247
- setMetadataFor(Call, 'Call', objectMeta, RuleWrapper);
248
- setMetadataFor(Catch, 'Catch', objectMeta, RuleWrapper);
249
- setMetadataFor(Comma, 'Comma', objectMeta, RuleWrapper);
250
- setMetadataFor(Cut, 'Cut', objectMeta, RuleWrapper);
251
- setMetadataFor(NegationAsFailure, 'NegationAsFailure', classMeta, RuleWrapper);
252
- setMetadataFor(Fail, 'Fail', objectMeta, NegationAsFailure);
253
- setMetadataFor(Success, 'Success', objectMeta, NegationAsFailure);
254
- setMetadataFor(Companion_1, 'Companion', objectMeta);
230
+ return this.d30();
231
+ }
232
+ initMetadataForInterface(EndState, 'EndState', VOID, VOID, [State]);
233
+ initMetadataForClass(AbstractEndState, 'AbstractEndState', VOID, AbstractState, [AbstractState, EndState]);
234
+ initMetadataForClass(StateBacktracking, 'StateBacktracking', VOID, AbstractState);
235
+ initMetadataForClass(StateEnd, 'StateEnd', VOID, AbstractEndState);
236
+ initMetadataForClass(StateException, 'StateException', VOID, AbstractState, [AbstractState, State]);
237
+ initMetadataForClass(StateGoalSelection, 'StateGoalSelection', VOID, AbstractState);
238
+ initMetadataForClass(StateHalt, 'StateHalt', VOID, AbstractEndState, [AbstractEndState, State]);
239
+ initMetadataForClass(StateInit, 'StateInit', VOID, AbstractState);
240
+ initMetadataForClass(StatePrimitiveExecution, 'StatePrimitiveExecution', VOID, AbstractState);
241
+ initMetadataForClass(StatePrimitiveSelection, 'StatePrimitiveSelection', VOID, AbstractState);
242
+ initMetadataForClass(StateRuleExecution, 'StateRuleExecution', VOID, AbstractState);
243
+ initMetadataForClass(CutLimit, 'CutLimit');
244
+ initMetadataForObject(None, 'None', VOID, CutLimit);
245
+ initMetadataForClass(Actual, 'Actual', VOID, CutLimit);
246
+ initMetadataForCompanion(Companion_0);
247
+ initMetadataForClass(StateRuleSelection, 'StateRuleSelection', VOID, AbstractState);
248
+ initMetadataForClass(AbstractSolutionIterator, 'AbstractSolutionIterator');
249
+ initMetadataForClass(SimpleSolutionIterator, 'SimpleSolutionIterator', VOID, AbstractSolutionIterator);
250
+ initMetadataForObject(DefaultBuiltins, 'DefaultBuiltins', VOID, ExtensionLibrary);
251
+ initMetadataForObject(Throw, 'Throw', VOID, UnaryPredicate);
252
+ initMetadataForObject(Call, 'Call', VOID, RuleWrapper);
253
+ initMetadataForObject(Catch, 'Catch', VOID, RuleWrapper);
254
+ initMetadataForObject(Comma, 'Comma', VOID, RuleWrapper);
255
+ initMetadataForObject(Cut, 'Cut', VOID, RuleWrapper);
256
+ initMetadataForClass(NegationAsFailure, 'NegationAsFailure', VOID, RuleWrapper);
257
+ initMetadataForObject(Fail, 'Fail', VOID, NegationAsFailure);
258
+ initMetadataForObject(Success, 'Success', VOID, NegationAsFailure);
259
+ initMetadataForCompanion(Companion_1);
255
260
  //endregion
256
261
  function AbstractClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
257
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
262
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
258
263
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
259
264
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
260
265
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -264,31 +269,29 @@
264
269
  stdErr = stdErr === VOID ? Companion_instance_3.stdErr() : stdErr;
265
270
  warnings = warnings === VOID ? Companion_instance_3.warning() : warnings;
266
271
  trustKb = trustKb === VOID ? false : trustKb;
267
- AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.q1y(stdIn), Companion_instance_5.t1y(stdOut, stdErr, warnings), trustKb);
272
+ AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.j1v(stdIn), Companion_instance_5.m1v(stdOut, stdErr, warnings), trustKb);
268
273
  return $this;
269
274
  }
270
275
  function updateCurrentContextAfterStateTransition($this, source, destination, index) {
271
276
  // Inline function 'kotlin.require' call
272
- // Inline function 'kotlin.contracts.contract' call
273
277
  // Inline function 'kotlin.require' call
274
- // Inline function 'kotlin.contracts.contract' call
275
- if (!destination.uc().s33_1.equals(index)) {
276
- // Inline function 'kotlin.require.<anonymous>' call
278
+ if (!(destination.h8().v2v_1 === index)) {
277
279
  var message = 'Failed requirement.';
278
280
  throw IllegalArgumentException_init_$Create$(toString(message));
279
281
  }
280
- $this.z33(destination.uc());
282
+ $this.c2w(destination.h8());
281
283
  }
282
- function AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref($boundThis) {
283
- var l = function (p0, p1, p2) {
284
- updateCurrentContextAfterStateTransition($boundThis, p0, p1, p2);
284
+ function AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(p0) {
285
+ var l = function (_this__u8e3s4, p0_0, p1) {
286
+ var tmp0 = p0;
287
+ updateCurrentContextAfterStateTransition(tmp0, _this__u8e3s4, p0_0, p1);
285
288
  return Unit_instance;
286
289
  };
287
290
  l.callableName = 'updateCurrentContextAfterStateTransition';
288
291
  return l;
289
292
  }
290
293
  function AbstractClassicSolver(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb) {
291
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
294
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
292
295
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
293
296
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
294
297
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -298,97 +301,101 @@
298
301
  trustKb = trustKb === VOID ? false : trustKb;
299
302
  AbstractSolver.call(this, unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb);
300
303
  }
301
- protoOf(AbstractClassicSolver).z33 = function (_set____db54di) {
302
- this.y33_1 = _set____db54di;
304
+ protoOf(AbstractClassicSolver).c2w = function (_set____db54di) {
305
+ this.b2w_1 = _set____db54di;
303
306
  };
304
- protoOf(AbstractClassicSolver).k2b = function (_set____db54di) {
305
- return this.z33(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
307
+ protoOf(AbstractClassicSolver).c28 = function (_set____db54di) {
308
+ return this.c2w(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
306
309
  };
307
- protoOf(AbstractClassicSolver).i2b = function () {
308
- var tmp = this.y33_1;
310
+ protoOf(AbstractClassicSolver).a28 = function () {
311
+ var tmp = this.b2w_1;
309
312
  if (!(tmp == null))
310
313
  return tmp;
311
314
  else {
312
315
  throwUninitializedPropertyAccessException('currentContext');
313
316
  }
314
317
  };
315
- protoOf(AbstractClassicSolver).j2b = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
316
- return new ClassicExecutionContext(VOID, unificator, libraries, flags, trustKb ? staticKb.toImmutableTheory() : Companion_instance_0.empty(unificator), trustKb ? dynamicKb.toMutableTheory() : Companion_instance_1.empty(unificator), toOperatorSet(getAllOperators(libraries, [])), inputChannels, outputChannels, VOID, VOID, VOID, VOID, VOID, VOID, new Long(0, 0));
317
- };
318
- protoOf(AbstractClassicSolver).q2b = function (goal, options) {
319
- var tmp0_unificator = this.f1l();
320
- var tmp1_libraries = this.c1v();
321
- var tmp2_flags = this.d1v();
322
- var tmp3_staticKb = this.e1v().toImmutableTheory();
323
- var tmp4_dynamicKb = this.f1v().toMutableTheory();
324
- var tmp5_operators = this.l1v();
325
- var tmp6_inputChannels = this.g1v();
326
- var tmp7_outputChannels = this.h1v();
327
- var tmp8_customData = this.i2b().h33_1;
318
+ protoOf(AbstractClassicSolver).b28 = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
319
+ return new ClassicExecutionContext(VOID, unificator, libraries, flags, trustKb ? staticKb.toImmutableTheory() : Companion_instance_0.empty(unificator), trustKb ? dynamicKb.toMutableTheory() : Companion_instance_1.empty(unificator), toOperatorSet(getAllOperators(libraries, [])), inputChannels, outputChannels, VOID, VOID, VOID, VOID, VOID, VOID, 0n);
320
+ };
321
+ protoOf(AbstractClassicSolver).i28 = function (goal, options) {
322
+ var tmp0_unificator = this.n1i();
323
+ var tmp1_libraries = this.k1s();
324
+ var tmp2_flags = this.l1s();
325
+ var tmp3_staticKb = this.m1s().toImmutableTheory();
326
+ var tmp4_dynamicKb = this.n1s().toMutableTheory();
327
+ var tmp5_operators = this.t1s();
328
+ var tmp6_inputChannels = this.o1s();
329
+ var tmp7_outputChannels = this.p1s();
330
+ var tmp8_customData = this.a28().k2v_1;
328
331
  var tmp9_startTime = currentTimeInstant();
329
- var tmp10_maxDuration = options.k1x();
330
- this.z33(new ClassicExecutionContext(VOID, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, VOID, goal, VOID, VOID, VOID, tmp9_startTime, tmp10_maxDuration));
331
- var tmp = new StateInit(this.i2b());
332
- return asSequence(this.a34(tmp, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
332
+ var tmp10_maxDuration = options.r1u();
333
+ this.c2w(new ClassicExecutionContext(VOID, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, VOID, goal, VOID, VOID, VOID, tmp9_startTime, tmp10_maxDuration));
334
+ var tmp = new StateInit(this.a28());
335
+ return asSequence(this.d2w(tmp, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
336
+ };
337
+ protoOf(AbstractClassicSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
338
+ return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof AbstractClassicSolver) ? $super : THROW_CCE());
333
339
  };
334
340
  function Primitives(alternatives, executionContext, parent, depth) {
335
341
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
336
- this.f34_1 = alternatives;
337
- this.g34_1 = executionContext;
338
- this.h34_1 = parent;
339
- this.i34_1 = depth;
342
+ this.i2w_1 = alternatives;
343
+ this.j2w_1 = executionContext;
344
+ this.k2w_1 = parent;
345
+ this.l2w_1 = depth;
340
346
  }
341
- protoOf(Primitives).j34 = function () {
342
- return this.f34_1;
347
+ protoOf(Primitives).m2w = function () {
348
+ return this.i2w_1;
343
349
  };
344
- protoOf(Primitives).k34 = function () {
345
- return this.g34_1;
350
+ protoOf(Primitives).n2w = function () {
351
+ return this.j2w_1;
346
352
  };
347
- protoOf(Primitives).l34 = function () {
348
- return this.h34_1;
353
+ protoOf(Primitives).o2w = function () {
354
+ return this.k2w_1;
349
355
  };
350
- protoOf(Primitives).m34 = function () {
351
- return this.i34_1;
356
+ protoOf(Primitives).p2w = function () {
357
+ return this.l2w_1;
352
358
  };
353
359
  protoOf(Primitives).toString = function () {
354
360
  return protoOf(ChoicePointContext).toString.call(this);
355
361
  };
356
- protoOf(Primitives).n34 = function () {
362
+ protoOf(Primitives).q2w = function () {
357
363
  return 'Primitives';
358
364
  };
359
- protoOf(Primitives).o34 = function (context) {
360
- var tmp0_$this = ensureNotNull(this.g34_1);
361
- var tmp1_primitives = this.f34_1;
365
+ protoOf(Primitives).r2w = function (context) {
366
+ var tmp0_$this = ensureNotNull(this.j2w_1);
367
+ var tmp1_primitives = this.i2w_1;
362
368
  // Inline function 'kotlin.Long.plus' call
363
- var tmp2_step = context.s33_1.ob(toLong(1));
364
- var tmp3_startTime = context.n33_1;
365
- var tmp4_flags = context.b33_1;
366
- var tmp5_dynamicKb = context.d33_1;
367
- var tmp6_staticKb = context.c33_1;
368
- var tmp7_operators = context.e33_1;
369
- var tmp8_inputChannels = context.f33_1;
370
- var tmp9_outputChannels = context.g33_1;
371
- var tmp10_libraries = context.a33_1;
372
- var tmp11_customData = context.h33_1.discardEphemeral();
373
- var tempContext = tmp0_$this.p34(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, VOID, tmp1_primitives, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
374
- var nextChoicePointContext = this.q34(this.f34_1.er(), tempContext);
375
- return tempContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
376
- };
377
- protoOf(Primitives).r34 = function (alternatives, executionContext, parent, depth) {
369
+ var this_0 = context.v2v_1;
370
+ var tmp2_step = add(this_0, fromInt(1));
371
+ var tmp3_startTime = context.q2v_1;
372
+ var tmp4_flags = context.e2v_1;
373
+ var tmp5_dynamicKb = context.g2v_1;
374
+ var tmp6_staticKb = context.f2v_1;
375
+ var tmp7_operators = context.h2v_1;
376
+ var tmp8_inputChannels = context.i2v_1;
377
+ var tmp9_outputChannels = context.j2v_1;
378
+ var tmp10_libraries = context.d2v_1;
379
+ var tmp11_customData = context.k2v_1.discardEphemeral();
380
+ var tempContext = tmp0_$this.s2w(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, VOID, tmp1_primitives, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
381
+ var nextChoicePointContext = this.t2w(this.i2w_1.jp(), tempContext);
382
+ return tempContext.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
383
+ };
384
+ protoOf(Primitives).u2w = function (alternatives, executionContext, parent, depth) {
378
385
  return new Primitives(alternatives, executionContext, parent, depth);
379
386
  };
380
- protoOf(Primitives).q34 = function (alternatives, executionContext, parent, depth, $super) {
381
- alternatives = alternatives === VOID ? this.f34_1 : alternatives;
382
- executionContext = executionContext === VOID ? this.g34_1 : executionContext;
383
- parent = parent === VOID ? this.h34_1 : parent;
384
- depth = depth === VOID ? this.i34_1 : depth;
385
- return $super === VOID ? this.r34(alternatives, executionContext, parent, depth) : $super.r34.call(this, alternatives, executionContext, parent, depth);
387
+ protoOf(Primitives).t2w = function (alternatives, executionContext, parent, depth, $super) {
388
+ alternatives = alternatives === VOID ? this.i2w_1 : alternatives;
389
+ executionContext = executionContext === VOID ? this.j2w_1 : executionContext;
390
+ parent = parent === VOID ? this.k2w_1 : parent;
391
+ depth = depth === VOID ? this.l2w_1 : depth;
392
+ return $super === VOID ? this.u2w(alternatives, executionContext, parent, depth) : $super.u2w.call(this, alternatives, executionContext, parent, depth);
386
393
  };
387
394
  protoOf(Primitives).hashCode = function () {
388
- var result = hashCode(this.f34_1);
389
- result = imul(result, 31) + (this.g34_1 == null ? 0 : this.g34_1.hashCode()) | 0;
390
- result = imul(result, 31) + (this.h34_1 == null ? 0 : hashCode(this.h34_1)) | 0;
391
- result = imul(result, 31) + this.i34_1 | 0;
395
+ var result = hashCode(this.i2w_1);
396
+ result = imul(result, 31) + (this.j2w_1 == null ? 0 : this.j2w_1.hashCode()) | 0;
397
+ result = imul(result, 31) + (this.k2w_1 == null ? 0 : hashCode(this.k2w_1)) | 0;
398
+ result = imul(result, 31) + this.l2w_1 | 0;
392
399
  return result;
393
400
  };
394
401
  protoOf(Primitives).equals = function (other) {
@@ -396,75 +403,75 @@
396
403
  return true;
397
404
  if (!(other instanceof Primitives))
398
405
  return false;
399
- var tmp0_other_with_cast = other instanceof Primitives ? other : THROW_CCE();
400
- if (!equals(this.f34_1, tmp0_other_with_cast.f34_1))
406
+ if (!equals(this.i2w_1, other.i2w_1))
401
407
  return false;
402
- if (!equals(this.g34_1, tmp0_other_with_cast.g34_1))
408
+ if (!equals(this.j2w_1, other.j2w_1))
403
409
  return false;
404
- if (!equals(this.h34_1, tmp0_other_with_cast.h34_1))
410
+ if (!equals(this.k2w_1, other.k2w_1))
405
411
  return false;
406
- if (!(this.i34_1 === tmp0_other_with_cast.i34_1))
412
+ if (!(this.l2w_1 === other.l2w_1))
407
413
  return false;
408
414
  return true;
409
415
  };
410
416
  function Rules(alternatives, executionContext, parent, depth) {
411
417
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
412
- this.e35_1 = alternatives;
413
- this.f35_1 = executionContext;
414
- this.g35_1 = parent;
415
- this.h35_1 = depth;
418
+ this.h2x_1 = alternatives;
419
+ this.i2x_1 = executionContext;
420
+ this.j2x_1 = parent;
421
+ this.k2x_1 = depth;
416
422
  }
417
- protoOf(Rules).j34 = function () {
418
- return this.e35_1;
423
+ protoOf(Rules).m2w = function () {
424
+ return this.h2x_1;
419
425
  };
420
- protoOf(Rules).k34 = function () {
421
- return this.f35_1;
426
+ protoOf(Rules).n2w = function () {
427
+ return this.i2x_1;
422
428
  };
423
- protoOf(Rules).l34 = function () {
424
- return this.g35_1;
429
+ protoOf(Rules).o2w = function () {
430
+ return this.j2x_1;
425
431
  };
426
- protoOf(Rules).m34 = function () {
427
- return this.h35_1;
432
+ protoOf(Rules).p2w = function () {
433
+ return this.k2x_1;
428
434
  };
429
435
  protoOf(Rules).toString = function () {
430
436
  return protoOf(ChoicePointContext).toString.call(this);
431
437
  };
432
- protoOf(Rules).n34 = function () {
438
+ protoOf(Rules).q2w = function () {
433
439
  return 'Rules';
434
440
  };
435
- protoOf(Rules).o34 = function (context) {
436
- var tmp0_$this = ensureNotNull(this.f35_1);
437
- var tmp1_rules = this.e35_1;
441
+ protoOf(Rules).r2w = function (context) {
442
+ var tmp0_$this = ensureNotNull(this.i2x_1);
443
+ var tmp1_rules = this.h2x_1;
438
444
  // Inline function 'kotlin.Long.plus' call
439
- var tmp2_step = context.s33_1.ob(toLong(1));
440
- var tmp3_startTime = context.n33_1;
441
- var tmp4_flags = context.b33_1;
442
- var tmp5_dynamicKb = context.d33_1;
443
- var tmp6_staticKb = context.c33_1;
444
- var tmp7_operators = context.e33_1;
445
- var tmp8_inputChannels = context.f33_1;
446
- var tmp9_outputChannels = context.g33_1;
447
- var tmp10_libraries = context.a33_1;
448
- var tmp11_customData = context.h33_1.discardEphemeral();
449
- var tempContext = tmp0_$this.p34(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, tmp1_rules, VOID, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
450
- var nextChoicePointContext = this.i35(this.e35_1.er(), tempContext);
451
- return tempContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
452
- };
453
- protoOf(Rules).j35 = function (alternatives, executionContext, parent, depth) {
445
+ var this_0 = context.v2v_1;
446
+ var tmp2_step = add(this_0, fromInt(1));
447
+ var tmp3_startTime = context.q2v_1;
448
+ var tmp4_flags = context.e2v_1;
449
+ var tmp5_dynamicKb = context.g2v_1;
450
+ var tmp6_staticKb = context.f2v_1;
451
+ var tmp7_operators = context.h2v_1;
452
+ var tmp8_inputChannels = context.i2v_1;
453
+ var tmp9_outputChannels = context.j2v_1;
454
+ var tmp10_libraries = context.d2v_1;
455
+ var tmp11_customData = context.k2v_1.discardEphemeral();
456
+ var tempContext = tmp0_$this.s2w(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, tmp1_rules, VOID, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
457
+ var nextChoicePointContext = this.l2x(this.h2x_1.jp(), tempContext);
458
+ return tempContext.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
459
+ };
460
+ protoOf(Rules).m2x = function (alternatives, executionContext, parent, depth) {
454
461
  return new Rules(alternatives, executionContext, parent, depth);
455
462
  };
456
- protoOf(Rules).i35 = function (alternatives, executionContext, parent, depth, $super) {
457
- alternatives = alternatives === VOID ? this.e35_1 : alternatives;
458
- executionContext = executionContext === VOID ? this.f35_1 : executionContext;
459
- parent = parent === VOID ? this.g35_1 : parent;
460
- depth = depth === VOID ? this.h35_1 : depth;
461
- return $super === VOID ? this.j35(alternatives, executionContext, parent, depth) : $super.j35.call(this, alternatives, executionContext, parent, depth);
463
+ protoOf(Rules).l2x = function (alternatives, executionContext, parent, depth, $super) {
464
+ alternatives = alternatives === VOID ? this.h2x_1 : alternatives;
465
+ executionContext = executionContext === VOID ? this.i2x_1 : executionContext;
466
+ parent = parent === VOID ? this.j2x_1 : parent;
467
+ depth = depth === VOID ? this.k2x_1 : depth;
468
+ return $super === VOID ? this.m2x(alternatives, executionContext, parent, depth) : $super.m2x.call(this, alternatives, executionContext, parent, depth);
462
469
  };
463
470
  protoOf(Rules).hashCode = function () {
464
- var result = hashCode(this.e35_1);
465
- result = imul(result, 31) + (this.f35_1 == null ? 0 : this.f35_1.hashCode()) | 0;
466
- result = imul(result, 31) + (this.g35_1 == null ? 0 : hashCode(this.g35_1)) | 0;
467
- result = imul(result, 31) + this.h35_1 | 0;
471
+ var result = hashCode(this.h2x_1);
472
+ result = imul(result, 31) + (this.i2x_1 == null ? 0 : this.i2x_1.hashCode()) | 0;
473
+ result = imul(result, 31) + (this.j2x_1 == null ? 0 : hashCode(this.j2x_1)) | 0;
474
+ result = imul(result, 31) + this.k2x_1 | 0;
468
475
  return result;
469
476
  };
470
477
  protoOf(Rules).equals = function (other) {
@@ -472,115 +479,114 @@
472
479
  return true;
473
480
  if (!(other instanceof Rules))
474
481
  return false;
475
- var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
476
- if (!equals(this.e35_1, tmp0_other_with_cast.e35_1))
482
+ if (!equals(this.h2x_1, other.h2x_1))
477
483
  return false;
478
- if (!equals(this.f35_1, tmp0_other_with_cast.f35_1))
484
+ if (!equals(this.i2x_1, other.i2x_1))
479
485
  return false;
480
- if (!equals(this.g35_1, tmp0_other_with_cast.g35_1))
486
+ if (!equals(this.j2x_1, other.j2x_1))
481
487
  return false;
482
- if (!(this.h35_1 === tmp0_other_with_cast.h35_1))
488
+ if (!(this.k2x_1 === other.k2x_1))
483
489
  return false;
484
490
  return true;
485
491
  };
486
492
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation) {
487
- this.s35_1 = this$0;
493
+ this.v2x_1 = this$0;
488
494
  CoroutineImpl.call(this, resultContinuation);
489
495
  }
490
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).v35 = function ($this$sequence, $completion) {
491
- var tmp = this.w35($this$sequence, $completion);
492
- tmp.pc_1 = Unit_instance;
493
- tmp.qc_1 = null;
494
- return tmp.yc();
496
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).y2x = function ($this$sequence, $completion) {
497
+ var tmp = this.z2x($this$sequence, $completion);
498
+ tmp.d8_1 = Unit_instance;
499
+ tmp.e8_1 = null;
500
+ return tmp.j8();
495
501
  };
496
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).ld = function (p1, $completion) {
497
- return this.v35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
502
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).a9 = function (p1, $completion) {
503
+ return this.y2x(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
498
504
  };
499
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).yc = function () {
500
- var suspendResult = this.pc_1;
505
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).j8 = function () {
506
+ var suspendResult = this.d8_1;
501
507
  $sm: do
502
508
  try {
503
- var tmp = this.nc_1;
509
+ var tmp = this.b8_1;
504
510
  switch (tmp) {
505
511
  case 0:
506
- this.oc_1 = 4;
507
- this.u35_1 = this.s35_1;
508
- this.nc_1 = 1;
512
+ this.c8_1 = 4;
513
+ this.x2x_1 = this.v2x_1;
514
+ this.b8_1 = 1;
509
515
  continue $sm;
510
516
  case 1:
511
- if (!!(this.u35_1 == null)) {
512
- this.nc_1 = 3;
517
+ if (!!(this.x2x_1 == null)) {
518
+ this.b8_1 = 3;
513
519
  continue $sm;
514
520
  }
515
521
 
516
- this.nc_1 = 2;
517
- suspendResult = this.t35_1.ef(ensureNotNull(this.u35_1), this);
522
+ this.b8_1 = 2;
523
+ suspendResult = this.w2x_1.gd(ensureNotNull(this.x2x_1), this);
518
524
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
519
525
  return suspendResult;
520
526
  }
521
527
 
522
528
  continue $sm;
523
529
  case 2:
524
- this.u35_1 = this.u35_1.l34();
525
- this.nc_1 = 1;
530
+ this.x2x_1 = this.x2x_1.o2w();
531
+ this.b8_1 = 1;
526
532
  continue $sm;
527
533
  case 3:
528
534
  return Unit_instance;
529
535
  case 4:
530
- throw this.qc_1;
536
+ throw this.e8_1;
531
537
  }
532
538
  } catch ($p) {
533
539
  var e = $p;
534
- if (this.oc_1 === 4) {
540
+ if (this.c8_1 === 4) {
535
541
  throw e;
536
542
  } else {
537
- this.nc_1 = this.oc_1;
538
- this.qc_1 = e;
543
+ this.b8_1 = this.c8_1;
544
+ this.e8_1 = e;
539
545
  }
540
546
  }
541
547
  while (true);
542
548
  };
543
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).w35 = function ($this$sequence, completion) {
544
- var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.s35_1, completion);
545
- i.t35_1 = $this$sequence;
549
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).z2x = function ($this$sequence, completion) {
550
+ var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.v2x_1, completion);
551
+ i.w2x_1 = $this$sequence;
546
552
  return i;
547
553
  };
548
554
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this$0, resultContinuation) {
549
555
  var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation);
550
556
  var l = function ($this$sequence, $completion) {
551
- return i.v35($this$sequence, $completion);
557
+ return i.y2x($this$sequence, $completion);
552
558
  };
553
559
  l.$arity = 1;
554
560
  return l;
555
561
  }
556
562
  function ChoicePointContext(alternatives, executionContext, parent, depth) {
557
563
  depth = depth === VOID ? 0 : depth;
558
- this.s34_1 = alternatives;
559
- this.t34_1 = executionContext;
560
- this.u34_1 = parent;
561
- this.v34_1 = depth;
564
+ this.v2w_1 = alternatives;
565
+ this.w2w_1 = executionContext;
566
+ this.x2w_1 = parent;
567
+ this.y2w_1 = depth;
562
568
  }
563
- protoOf(ChoicePointContext).j34 = function () {
564
- return this.s34_1;
569
+ protoOf(ChoicePointContext).m2w = function () {
570
+ return this.v2w_1;
565
571
  };
566
- protoOf(ChoicePointContext).k34 = function () {
567
- return this.t34_1;
572
+ protoOf(ChoicePointContext).n2w = function () {
573
+ return this.w2w_1;
568
574
  };
569
- protoOf(ChoicePointContext).l34 = function () {
570
- return this.u34_1;
575
+ protoOf(ChoicePointContext).o2w = function () {
576
+ return this.x2w_1;
571
577
  };
572
- protoOf(ChoicePointContext).m34 = function () {
573
- return this.v34_1;
578
+ protoOf(ChoicePointContext).p2w = function () {
579
+ return this.y2w_1;
574
580
  };
575
- protoOf(ChoicePointContext).w34 = function () {
581
+ protoOf(ChoicePointContext).z2w = function () {
582
+ var tmp0 = this.a2x();
576
583
  var tmp$ret$1;
577
584
  $l$block: {
578
585
  // Inline function 'kotlin.sequences.any' call
579
- var tmp0_iterator = this.x34().r();
580
- while (tmp0_iterator.s()) {
581
- var element = tmp0_iterator.u();
582
- // Inline function 'it.unibo.tuprolog.solve.classic.ChoicePointContext.<get-hasOpenAlternatives>.<anonymous>' call
583
- if (element.j34().gr()) {
586
+ var _iterator__ex2g4s = tmp0.p();
587
+ while (_iterator__ex2g4s.s()) {
588
+ var element = _iterator__ex2g4s.t();
589
+ if (element.m2w().lp()) {
584
590
  tmp$ret$1 = true;
585
591
  break $l$block;
586
592
  }
@@ -589,117 +595,118 @@
589
595
  }
590
596
  return tmp$ret$1;
591
597
  };
592
- protoOf(ChoicePointContext).x34 = function () {
598
+ protoOf(ChoicePointContext).a2x = function () {
593
599
  return sequence(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this, null));
594
600
  };
595
- protoOf(ChoicePointContext).y34 = function () {
596
- var tmp0_safe_receiver = this.k34();
597
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r33_1;
601
+ protoOf(ChoicePointContext).b2x = function () {
602
+ var tmp0_safe_receiver = this.n2w();
603
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u2v_1;
598
604
  };
599
- protoOf(ChoicePointContext).z34 = function () {
600
- var tmp0_safe_receiver = this.k34();
601
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y32_1;
605
+ protoOf(ChoicePointContext).c2x = function () {
606
+ var tmp0_safe_receiver = this.n2w();
607
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2v_1;
602
608
  };
603
609
  protoOf(ChoicePointContext).toString = function () {
604
- var tmp = this.n34() + '(' + ('alternatives=' + this.j34() + ', ');
610
+ var tmp = this.q2w() + '(' + ('alternatives=' + toString(this.m2w()) + ', ');
605
611
  var tmp_0;
606
- if (this.k34() === null) {
607
- tmp_0 = 'executionContext=' + this.k34() + ', ';
612
+ if (this.n2w() === null) {
613
+ tmp_0 = 'executionContext=' + toString_0(this.n2w()) + ', ';
608
614
  } else {
609
- 'executionContextDepth=' + this.y34() + ', ';
610
- tmp_0 = 'executionContextProcedure=' + this.z34() + ', ';
615
+ 'executionContextDepth=' + this.b2x() + ', ';
616
+ tmp_0 = 'executionContextProcedure=' + toString_0(this.c2x()) + ', ';
611
617
  }
612
- return tmp + tmp_0 + ('depth=' + this.m34()) + ')';
618
+ return tmp + tmp_0 + ('depth=' + this.p2w()) + ')';
613
619
  };
614
620
  function appendRules(_this__u8e3s4, alternatives, executionContext) {
615
621
  executionContext = executionContext === VOID ? null : executionContext;
616
622
  return new Rules(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
617
623
  }
618
624
  function nextDepth(_this__u8e3s4) {
619
- return _this__u8e3s4 == null ? 0 : _this__u8e3s4.m34() + 1 | 0;
625
+ return _this__u8e3s4 == null ? 0 : _this__u8e3s4.p2w() + 1 | 0;
620
626
  }
621
627
  function appendPrimitives(_this__u8e3s4, alternatives, executionContext) {
622
628
  executionContext = executionContext === VOID ? null : executionContext;
623
629
  return new Primitives(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
624
630
  }
625
631
  function _get_locallyInterestingVariables__39cqti($this) {
626
- var tmp = asSequence_0($this.t33_1);
627
- var tmp0_safe_receiver = $this.k33_1.fr();
628
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sw();
632
+ var tmp = asSequence_0($this.w2v_1);
633
+ var tmp0_safe_receiver = $this.n2v_1.kp();
634
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bu();
629
635
  return plus(tmp, tmp1_elvis_lhs == null ? emptySequence() : tmp1_elvis_lhs);
630
636
  }
631
637
  function _get_interestingVariables__k6uw5o($this) {
638
+ var tmp0 = $this.z2v_1;
639
+ var tmp = KProperty1;
632
640
  // Inline function 'kotlin.getValue' call
633
- var this_0 = $this.w33_1;
634
- interestingVariables$factory();
635
- return this_0.r2();
641
+ getPropertyCallableRef('interestingVariables', 1, tmp, ClassicExecutionContext$_get_interestingVariables_$ref_xwa4zu(), null);
642
+ return tmp0.e2();
636
643
  }
637
644
  function ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation) {
638
- this.f36_1 = this$0;
645
+ this.i2y_1 = this$0;
639
646
  CoroutineImpl.call(this, resultContinuation);
640
647
  }
641
- protoOf(ClassicExecutionContext$pathToRoot$slambda).i36 = function ($this$sequence, $completion) {
642
- var tmp = this.j36($this$sequence, $completion);
643
- tmp.pc_1 = Unit_instance;
644
- tmp.qc_1 = null;
645
- return tmp.yc();
648
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).l2y = function ($this$sequence, $completion) {
649
+ var tmp = this.m2y($this$sequence, $completion);
650
+ tmp.d8_1 = Unit_instance;
651
+ tmp.e8_1 = null;
652
+ return tmp.j8();
646
653
  };
647
- protoOf(ClassicExecutionContext$pathToRoot$slambda).ld = function (p1, $completion) {
648
- return this.i36(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
654
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).a9 = function (p1, $completion) {
655
+ return this.l2y(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
649
656
  };
650
- protoOf(ClassicExecutionContext$pathToRoot$slambda).yc = function () {
651
- var suspendResult = this.pc_1;
657
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).j8 = function () {
658
+ var suspendResult = this.d8_1;
652
659
  $sm: do
653
660
  try {
654
- var tmp = this.nc_1;
661
+ var tmp = this.b8_1;
655
662
  switch (tmp) {
656
663
  case 0:
657
- this.oc_1 = 4;
658
- this.h36_1 = this.f36_1;
659
- this.nc_1 = 1;
664
+ this.c8_1 = 4;
665
+ this.k2y_1 = this.i2y_1;
666
+ this.b8_1 = 1;
660
667
  continue $sm;
661
668
  case 1:
662
- if (!!(this.h36_1 == null)) {
663
- this.nc_1 = 3;
669
+ if (!!(this.k2y_1 == null)) {
670
+ this.b8_1 = 3;
664
671
  continue $sm;
665
672
  }
666
673
 
667
- this.nc_1 = 2;
668
- suspendResult = this.g36_1.ef(this.h36_1, this);
674
+ this.b8_1 = 2;
675
+ suspendResult = this.j2y_1.gd(this.k2y_1, this);
669
676
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
670
677
  return suspendResult;
671
678
  }
672
679
 
673
680
  continue $sm;
674
681
  case 2:
675
- this.h36_1 = this.h36_1.q33_1;
676
- this.nc_1 = 1;
682
+ this.k2y_1 = this.k2y_1.t2v_1;
683
+ this.b8_1 = 1;
677
684
  continue $sm;
678
685
  case 3:
679
686
  return Unit_instance;
680
687
  case 4:
681
- throw this.qc_1;
688
+ throw this.e8_1;
682
689
  }
683
690
  } catch ($p) {
684
691
  var e = $p;
685
- if (this.oc_1 === 4) {
692
+ if (this.c8_1 === 4) {
686
693
  throw e;
687
694
  } else {
688
- this.nc_1 = this.oc_1;
689
- this.qc_1 = e;
695
+ this.b8_1 = this.c8_1;
696
+ this.e8_1 = e;
690
697
  }
691
698
  }
692
699
  while (true);
693
700
  };
694
- protoOf(ClassicExecutionContext$pathToRoot$slambda).j36 = function ($this$sequence, completion) {
695
- var i = new ClassicExecutionContext$pathToRoot$slambda(this.f36_1, completion);
696
- i.g36_1 = $this$sequence;
701
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).m2y = function ($this$sequence, completion) {
702
+ var i = new ClassicExecutionContext$pathToRoot$slambda(this.i2y_1, completion);
703
+ i.j2y_1 = $this$sequence;
697
704
  return i;
698
705
  };
699
706
  function ClassicExecutionContext$pathToRoot$slambda_0(this$0, resultContinuation) {
700
707
  var i = new ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation);
701
708
  var l = function ($this$sequence, $completion) {
702
- return i.i36($this$sequence, $completion);
709
+ return i.l2y($this$sequence, $completion);
703
710
  };
704
711
  l.$arity = 1;
705
712
  return l;
@@ -707,42 +714,57 @@
707
714
  function ClassicExecutionContext$currentGoal$delegate$lambda(this$0) {
708
715
  return function () {
709
716
  var tmp;
710
- if (this$0.k33_1.hr()) {
717
+ if (this$0.n2v_1.mp()) {
711
718
  tmp = null;
712
719
  } else {
713
- var tmp0_safe_receiver = this$0.k33_1.fr();
714
- tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.i33_1);
720
+ var tmp0_safe_receiver = this$0.n2v_1.kp();
721
+ tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.l2v_1);
715
722
  }
716
723
  return tmp;
717
724
  };
718
725
  }
726
+ function ClassicExecutionContext$_get_currentGoal_$ref_ulveh3() {
727
+ return function (p0) {
728
+ return p0.n2y();
729
+ };
730
+ }
719
731
  function ClassicExecutionContext$interestingVariables$delegate$lambda$lambda(it) {
720
732
  return _get_locallyInterestingVariables__39cqti(it);
721
733
  }
722
734
  function ClassicExecutionContext$interestingVariables$delegate$lambda(this$0) {
723
735
  return function () {
724
- var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.j33_1.sw());
725
- return cached(distinct(plus(tmp, flatMap(this$0.u33_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
736
+ var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.m2v_1.bu());
737
+ return cached(distinct(plus(tmp, flatMap(this$0.x2v_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
738
+ };
739
+ }
740
+ function ClassicExecutionContext$_get_interestingVariables_$ref_xwa4zu() {
741
+ return function (p0) {
742
+ return _get_interestingVariables__k6uw5o(p0);
726
743
  };
727
744
  }
728
745
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
729
- return it.k36();
746
+ return it.o2y();
730
747
  }
731
748
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0) {
732
749
  return function (it) {
733
- var tmp0_elvis_lhs = it.y32_1;
734
- return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.j33_1]) : tmp0_elvis_lhs;
750
+ var tmp0_elvis_lhs = it.b2v_1;
751
+ return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.m2v_1]) : tmp0_elvis_lhs;
735
752
  };
736
753
  }
737
754
  function ClassicExecutionContext$logicStackTrace$delegate$lambda(this$0) {
738
755
  return function () {
739
- var tmp = filter(this$0.u33_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
756
+ var tmp = filter(this$0.x2v_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
740
757
  return toList(map(tmp, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0)));
741
758
  };
742
759
  }
760
+ function ClassicExecutionContext$_get_logicStackTrace_$ref_p35zx2() {
761
+ return function (p0) {
762
+ return p0.h1s();
763
+ };
764
+ }
743
765
  function ClassicExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
744
766
  procedure = procedure === VOID ? null : procedure;
745
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
767
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
746
768
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
747
769
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
748
770
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -752,230 +774,225 @@
752
774
  outputChannels = outputChannels === VOID ? Companion_instance_5.fromStandard() : outputChannels;
753
775
  customData = customData === VOID ? Companion_instance_6.empty() : customData;
754
776
  substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
755
- query = query === VOID ? Companion_getInstance_3().hw_1 : query;
777
+ query = query === VOID ? Companion_getInstance_3().qt_1 : query;
756
778
  goals = goals === VOID ? Companion_instance_7.empty() : goals;
757
779
  rules = rules === VOID ? Companion_instance_7.empty() : rules;
758
780
  primitives = primitives === VOID ? Companion_instance_7.empty() : primitives;
759
- var tmp;
760
- if (maxDuration === VOID) {
761
- Companion_getInstance_4();
762
- tmp = new Long(-1, 2147483647);
763
- } else {
764
- tmp = maxDuration;
765
- }
766
- maxDuration = tmp;
781
+ maxDuration = maxDuration === VOID ? 9223372036854775807n : maxDuration;
767
782
  choicePoints = choicePoints === VOID ? null : choicePoints;
768
783
  parent = parent === VOID ? null : parent;
769
784
  depth = depth === VOID ? 0 : depth;
770
- step = step === VOID ? new Long(0, 0) : step;
785
+ step = step === VOID ? 0n : step;
771
786
  relevantVariables = relevantVariables === VOID ? emptySet() : relevantVariables;
772
- this.y32_1 = procedure;
773
- this.z32_1 = unificator;
774
- this.a33_1 = libraries;
775
- this.b33_1 = flags;
776
- this.c33_1 = staticKb;
777
- this.d33_1 = dynamicKb;
778
- this.e33_1 = operators;
779
- this.f33_1 = inputChannels;
780
- this.g33_1 = outputChannels;
781
- this.h33_1 = customData;
782
- this.i33_1 = substitution;
783
- this.j33_1 = query;
784
- this.k33_1 = goals;
785
- this.l33_1 = rules;
786
- this.m33_1 = primitives;
787
- this.n33_1 = startTime;
788
- this.o33_1 = maxDuration;
789
- this.p33_1 = choicePoints;
790
- this.q33_1 = parent;
791
- this.r33_1 = depth;
792
- this.s33_1 = step;
793
- this.t33_1 = relevantVariables;
787
+ this.b2v_1 = procedure;
788
+ this.c2v_1 = unificator;
789
+ this.d2v_1 = libraries;
790
+ this.e2v_1 = flags;
791
+ this.f2v_1 = staticKb;
792
+ this.g2v_1 = dynamicKb;
793
+ this.h2v_1 = operators;
794
+ this.i2v_1 = inputChannels;
795
+ this.j2v_1 = outputChannels;
796
+ this.k2v_1 = customData;
797
+ this.l2v_1 = substitution;
798
+ this.m2v_1 = query;
799
+ this.n2v_1 = goals;
800
+ this.o2v_1 = rules;
801
+ this.p2v_1 = primitives;
802
+ this.q2v_1 = startTime;
803
+ this.r2v_1 = maxDuration;
804
+ this.s2v_1 = choicePoints;
805
+ this.t2v_1 = parent;
806
+ this.u2v_1 = depth;
807
+ this.v2v_1 = step;
808
+ this.w2v_1 = relevantVariables;
794
809
  // Inline function 'kotlin.require' call
795
- // Inline function 'kotlin.contracts.contract' call
796
810
  // Inline function 'kotlin.require' call
797
- // Inline function 'kotlin.contracts.contract' call
798
- if (!((this.r33_1 === 0 ? this.q33_1 == null : false) ? true : this.r33_1 > 0 ? !(this.q33_1 == null) : false)) {
799
- // Inline function 'kotlin.require.<anonymous>' call
811
+ if (!(this.u2v_1 === 0 && this.t2v_1 == null || (this.u2v_1 > 0 && !(this.t2v_1 == null)))) {
800
812
  var message = 'Failed requirement.';
801
813
  throw IllegalArgumentException_init_$Create$(toString(message));
802
814
  }
803
815
  // Inline function 'kotlin.require' call
804
- // Inline function 'kotlin.contracts.contract' call
805
816
  // Inline function 'kotlin.require' call
806
- // Inline function 'kotlin.contracts.contract' call
807
- if (!(this.n33_1.q6(new Long(0, 0)) >= 0)) {
808
- // Inline function 'kotlin.require.<anonymous>' call
817
+ if (!(this.q2v_1 >= 0n)) {
809
818
  var message_0 = 'Failed requirement.';
810
819
  throw IllegalArgumentException_init_$Create$(toString(message_0));
811
820
  }
812
821
  // Inline function 'kotlin.require' call
813
- // Inline function 'kotlin.contracts.contract' call
814
822
  // Inline function 'kotlin.require' call
815
- // Inline function 'kotlin.contracts.contract' call
816
- if (!(this.o33_1.q6(new Long(0, 0)) >= 0)) {
817
- // Inline function 'kotlin.require.<anonymous>' call
823
+ if (!(this.r2v_1 >= 0n)) {
818
824
  var message_1 = 'Failed requirement.';
819
825
  throw IllegalArgumentException_init_$Create$(toString(message_1));
820
826
  }
827
+ var tmp = this;
828
+ tmp.x2v_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
821
829
  var tmp_0 = this;
822
- tmp_0.u33_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
830
+ tmp_0.y2v_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
823
831
  var tmp_1 = this;
824
- tmp_1.v33_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
832
+ tmp_1.z2v_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
825
833
  var tmp_2 = this;
826
- tmp_2.w33_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
827
- var tmp_3 = this;
828
- tmp_3.x33_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
834
+ tmp_2.a2w_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
829
835
  }
830
- protoOf(ClassicExecutionContext).x1u = function () {
831
- return this.y32_1;
836
+ protoOf(ClassicExecutionContext).f1s = function () {
837
+ return this.b2v_1;
832
838
  };
833
- protoOf(ClassicExecutionContext).f1l = function () {
834
- return this.z32_1;
839
+ protoOf(ClassicExecutionContext).n1i = function () {
840
+ return this.c2v_1;
835
841
  };
836
- protoOf(ClassicExecutionContext).c1v = function () {
837
- return this.a33_1;
842
+ protoOf(ClassicExecutionContext).k1s = function () {
843
+ return this.d2v_1;
838
844
  };
839
- protoOf(ClassicExecutionContext).d1v = function () {
840
- return this.b33_1;
845
+ protoOf(ClassicExecutionContext).l1s = function () {
846
+ return this.e2v_1;
841
847
  };
842
- protoOf(ClassicExecutionContext).e1v = function () {
843
- return this.c33_1;
848
+ protoOf(ClassicExecutionContext).m1s = function () {
849
+ return this.f2v_1;
844
850
  };
845
- protoOf(ClassicExecutionContext).f1v = function () {
846
- return this.d33_1;
851
+ protoOf(ClassicExecutionContext).n1s = function () {
852
+ return this.g2v_1;
847
853
  };
848
- protoOf(ClassicExecutionContext).l1v = function () {
849
- return this.e33_1;
854
+ protoOf(ClassicExecutionContext).t1s = function () {
855
+ return this.h2v_1;
850
856
  };
851
- protoOf(ClassicExecutionContext).g1v = function () {
852
- return this.f33_1;
857
+ protoOf(ClassicExecutionContext).o1s = function () {
858
+ return this.i2v_1;
853
859
  };
854
- protoOf(ClassicExecutionContext).h1v = function () {
855
- return this.g33_1;
860
+ protoOf(ClassicExecutionContext).p1s = function () {
861
+ return this.j2v_1;
856
862
  };
857
- protoOf(ClassicExecutionContext).a1v = function () {
858
- return this.h33_1;
863
+ protoOf(ClassicExecutionContext).i1s = function () {
864
+ return this.k2v_1;
859
865
  };
860
- protoOf(ClassicExecutionContext).y1u = function () {
861
- return this.i33_1;
866
+ protoOf(ClassicExecutionContext).g1s = function () {
867
+ return this.l2v_1;
862
868
  };
863
- protoOf(ClassicExecutionContext).s1u = function () {
864
- return this.n33_1;
869
+ protoOf(ClassicExecutionContext).a1s = function () {
870
+ return this.q2v_1;
865
871
  };
866
- protoOf(ClassicExecutionContext).u1u = function () {
867
- return this.o33_1;
872
+ protoOf(ClassicExecutionContext).c1s = function () {
873
+ return this.r2v_1;
868
874
  };
869
- protoOf(ClassicExecutionContext).l36 = function () {
870
- return this.r33_1 === 0;
875
+ protoOf(ClassicExecutionContext).p2y = function () {
876
+ return this.u2v_1 === 0;
871
877
  };
872
- protoOf(ClassicExecutionContext).w34 = function () {
873
- var tmp0_safe_receiver = this.p33_1;
874
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w34();
878
+ protoOf(ClassicExecutionContext).z2w = function () {
879
+ var tmp0_safe_receiver = this.s2v_1;
880
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z2w();
875
881
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
876
882
  };
877
- protoOf(ClassicExecutionContext).k36 = function () {
878
- return this.q33_1 == null ? true : (this.r33_1 - this.q33_1.r33_1 | 0) >= 1;
883
+ protoOf(ClassicExecutionContext).o2y = function () {
884
+ return this.t2v_1 == null || (this.u2v_1 - this.t2v_1.u2v_1 | 0) >= 1;
879
885
  };
880
- protoOf(ClassicExecutionContext).m36 = function () {
886
+ protoOf(ClassicExecutionContext).n2y = function () {
887
+ var tmp0 = this.y2v_1;
888
+ var tmp = KProperty1;
881
889
  // Inline function 'kotlin.getValue' call
882
- var this_0 = this.v33_1;
883
- currentGoal$factory();
884
- return this_0.r2();
890
+ getPropertyCallableRef('currentGoal', 1, tmp, ClassicExecutionContext$_get_currentGoal_$ref_ulveh3(), null);
891
+ return tmp0.e2();
885
892
  };
886
- protoOf(ClassicExecutionContext).n36 = function (variable) {
893
+ protoOf(ClassicExecutionContext).q2y = function (variable) {
887
894
  return contains(_get_interestingVariables__k6uw5o(this), variable);
888
895
  };
889
- protoOf(ClassicExecutionContext).z1u = function () {
896
+ protoOf(ClassicExecutionContext).h1s = function () {
897
+ var tmp0 = this.a2w_1;
898
+ var tmp = KProperty1;
890
899
  // Inline function 'kotlin.getValue' call
891
- var this_0 = this.x33_1;
892
- logicStackTrace$factory();
893
- return this_0.r2();
900
+ getPropertyCallableRef('logicStackTrace', 1, tmp, ClassicExecutionContext$_get_logicStackTrace_$ref_p35zx2(), null);
901
+ return tmp0.e2();
894
902
  };
895
- protoOf(ClassicExecutionContext).b1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
903
+ protoOf(ClassicExecutionContext).j1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
896
904
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
897
905
  };
898
- protoOf(ClassicExecutionContext).i1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
906
+ protoOf(ClassicExecutionContext).createSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
907
+ return this.createSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof ClassicExecutionContext) ? $super : THROW_CCE());
908
+ };
909
+ protoOf(ClassicExecutionContext).q1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
899
910
  return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
900
911
  };
901
- protoOf(ClassicExecutionContext).k1v = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
902
- return this.p34(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
912
+ protoOf(ClassicExecutionContext).createMutableSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
913
+ return this.createMutableSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof ClassicExecutionContext) ? $super : THROW_CCE());
914
+ };
915
+ protoOf(ClassicExecutionContext).s1s = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
916
+ return this.s2w(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
917
+ };
918
+ protoOf(ClassicExecutionContext).update = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, $super) {
919
+ return this.update(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, ($super == null ? true : $super instanceof ClassicExecutionContext) ? $super : THROW_CCE());
903
920
  };
904
- protoOf(ClassicExecutionContext).o36 = function (sideEffect) {
921
+ protoOf(ClassicExecutionContext).r2y = function (sideEffect) {
905
922
  var tmp = apply.call(this, sideEffect);
906
923
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
907
924
  };
908
925
  protoOf(ClassicExecutionContext).apply = function (sideEffect) {
909
- return this.o36(sideEffect);
926
+ return this.r2y(sideEffect);
910
927
  };
911
- protoOf(ClassicExecutionContext).p36 = function (sideEffects) {
928
+ protoOf(ClassicExecutionContext).s2y = function (sideEffects) {
912
929
  var tmp = applyIterable.call(this, sideEffects);
913
930
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
914
931
  };
915
932
  protoOf(ClassicExecutionContext).applyIterable = function (sideEffects) {
916
- return this.p36(sideEffects);
933
+ return this.s2y(sideEffects);
917
934
  };
918
- protoOf(ClassicExecutionContext).q36 = function (sideEffects) {
935
+ protoOf(ClassicExecutionContext).t2y = function (sideEffects) {
919
936
  var tmp = applySequence.call(this, sideEffects);
920
937
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
921
938
  };
922
939
  protoOf(ClassicExecutionContext).applySequence = function (sideEffects) {
923
- return this.q36(sideEffects);
940
+ return this.t2y(sideEffects);
924
941
  };
925
942
  protoOf(ClassicExecutionContext).toString = function () {
926
- return 'ClassicExecutionContext(' + ('step=' + this.s33_1.toString() + ', ') + ('depth=' + this.r33_1 + ', ') + ('substitution=' + this.i33_1 + ', ') + ('logicStackTrace=' + this.z1u() + ', ') + ('goals=' + this.k33_1 + ', ') + ('rules=' + this.l33_1 + ', ') + ('primitives=' + this.m33_1 + ', ') + ('startTime=' + this.n33_1.toString() + ', ') + ('endTime=' + this.t1u().toString() + ', ') + ('maxDuration=' + this.o33_1.toString() + ', ') + ('unificator=' + this.z32_1 + ', ') + ('choicePoints=' + this.p33_1) + ')';
943
+ return 'ClassicExecutionContext(' + ('step=' + this.v2v_1.toString() + ', ') + ('depth=' + this.u2v_1 + ', ') + ('substitution=' + toString(this.l2v_1) + ', ') + ('logicStackTrace=' + toString(this.h1s()) + ', ') + ('goals=' + toString(this.n2v_1) + ', ') + ('rules=' + toString(this.o2v_1) + ', ') + ('primitives=' + toString(this.p2v_1) + ', ') + ('startTime=' + this.q2v_1.toString() + ', ') + ('endTime=' + this.b1s().toString() + ', ') + ('maxDuration=' + this.r2v_1.toString() + ', ') + ('unificator=' + toString(this.c2v_1) + ', ') + ('choicePoints=' + toString_0(this.s2v_1)) + ')';
927
944
  };
928
- protoOf(ClassicExecutionContext).r36 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
945
+ protoOf(ClassicExecutionContext).u2y = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
929
946
  return new ClassicExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
930
947
  };
931
- protoOf(ClassicExecutionContext).p34 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
932
- procedure = procedure === VOID ? this.y32_1 : procedure;
933
- unificator = unificator === VOID ? this.z32_1 : unificator;
934
- libraries = libraries === VOID ? this.a33_1 : libraries;
935
- flags = flags === VOID ? this.b33_1 : flags;
936
- staticKb = staticKb === VOID ? this.c33_1 : staticKb;
937
- dynamicKb = dynamicKb === VOID ? this.d33_1 : dynamicKb;
938
- operators = operators === VOID ? this.e33_1 : operators;
939
- inputChannels = inputChannels === VOID ? this.f33_1 : inputChannels;
940
- outputChannels = outputChannels === VOID ? this.g33_1 : outputChannels;
941
- customData = customData === VOID ? this.h33_1 : customData;
942
- substitution = substitution === VOID ? this.i33_1 : substitution;
943
- query = query === VOID ? this.j33_1 : query;
944
- goals = goals === VOID ? this.k33_1 : goals;
945
- rules = rules === VOID ? this.l33_1 : rules;
946
- primitives = primitives === VOID ? this.m33_1 : primitives;
947
- startTime = startTime === VOID ? this.n33_1 : startTime;
948
- maxDuration = maxDuration === VOID ? this.o33_1 : maxDuration;
949
- choicePoints = choicePoints === VOID ? this.p33_1 : choicePoints;
950
- parent = parent === VOID ? this.q33_1 : parent;
951
- depth = depth === VOID ? this.r33_1 : depth;
952
- step = step === VOID ? this.s33_1 : step;
953
- relevantVariables = relevantVariables === VOID ? this.t33_1 : relevantVariables;
954
- return $super === VOID ? this.r36(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.r36.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
948
+ protoOf(ClassicExecutionContext).s2w = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
949
+ procedure = procedure === VOID ? this.b2v_1 : procedure;
950
+ unificator = unificator === VOID ? this.c2v_1 : unificator;
951
+ libraries = libraries === VOID ? this.d2v_1 : libraries;
952
+ flags = flags === VOID ? this.e2v_1 : flags;
953
+ staticKb = staticKb === VOID ? this.f2v_1 : staticKb;
954
+ dynamicKb = dynamicKb === VOID ? this.g2v_1 : dynamicKb;
955
+ operators = operators === VOID ? this.h2v_1 : operators;
956
+ inputChannels = inputChannels === VOID ? this.i2v_1 : inputChannels;
957
+ outputChannels = outputChannels === VOID ? this.j2v_1 : outputChannels;
958
+ customData = customData === VOID ? this.k2v_1 : customData;
959
+ substitution = substitution === VOID ? this.l2v_1 : substitution;
960
+ query = query === VOID ? this.m2v_1 : query;
961
+ goals = goals === VOID ? this.n2v_1 : goals;
962
+ rules = rules === VOID ? this.o2v_1 : rules;
963
+ primitives = primitives === VOID ? this.p2v_1 : primitives;
964
+ startTime = startTime === VOID ? this.q2v_1 : startTime;
965
+ maxDuration = maxDuration === VOID ? this.r2v_1 : maxDuration;
966
+ choicePoints = choicePoints === VOID ? this.s2v_1 : choicePoints;
967
+ parent = parent === VOID ? this.t2v_1 : parent;
968
+ depth = depth === VOID ? this.u2v_1 : depth;
969
+ step = step === VOID ? this.v2v_1 : step;
970
+ relevantVariables = relevantVariables === VOID ? this.w2v_1 : relevantVariables;
971
+ return $super === VOID ? this.u2y(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.u2y.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
955
972
  };
956
973
  protoOf(ClassicExecutionContext).hashCode = function () {
957
- var result = this.y32_1 == null ? 0 : this.y32_1.hashCode();
958
- result = imul(result, 31) + hashCode(this.z32_1) | 0;
959
- result = imul(result, 31) + hashCode(this.a33_1) | 0;
960
- result = imul(result, 31) + this.b33_1.hashCode() | 0;
961
- result = imul(result, 31) + hashCode(this.c33_1) | 0;
962
- result = imul(result, 31) + hashCode(this.d33_1) | 0;
963
- result = imul(result, 31) + this.e33_1.hashCode() | 0;
964
- result = imul(result, 31) + hashCode(this.f33_1) | 0;
965
- result = imul(result, 31) + hashCode(this.g33_1) | 0;
966
- result = imul(result, 31) + this.h33_1.hashCode() | 0;
967
- result = imul(result, 31) + hashCode(this.i33_1) | 0;
968
- result = imul(result, 31) + this.j33_1.hashCode() | 0;
969
- result = imul(result, 31) + hashCode(this.k33_1) | 0;
970
- result = imul(result, 31) + hashCode(this.l33_1) | 0;
971
- result = imul(result, 31) + hashCode(this.m33_1) | 0;
972
- result = imul(result, 31) + this.n33_1.hashCode() | 0;
973
- result = imul(result, 31) + this.o33_1.hashCode() | 0;
974
- result = imul(result, 31) + (this.p33_1 == null ? 0 : hashCode(this.p33_1)) | 0;
975
- result = imul(result, 31) + (this.q33_1 == null ? 0 : this.q33_1.hashCode()) | 0;
976
- result = imul(result, 31) + this.r33_1 | 0;
977
- result = imul(result, 31) + this.s33_1.hashCode() | 0;
978
- result = imul(result, 31) + hashCode(this.t33_1) | 0;
974
+ var result = this.b2v_1 == null ? 0 : this.b2v_1.hashCode();
975
+ result = imul(result, 31) + hashCode(this.c2v_1) | 0;
976
+ result = imul(result, 31) + hashCode(this.d2v_1) | 0;
977
+ result = imul(result, 31) + this.e2v_1.hashCode() | 0;
978
+ result = imul(result, 31) + hashCode(this.f2v_1) | 0;
979
+ result = imul(result, 31) + hashCode(this.g2v_1) | 0;
980
+ result = imul(result, 31) + this.h2v_1.hashCode() | 0;
981
+ result = imul(result, 31) + hashCode(this.i2v_1) | 0;
982
+ result = imul(result, 31) + hashCode(this.j2v_1) | 0;
983
+ result = imul(result, 31) + this.k2v_1.hashCode() | 0;
984
+ result = imul(result, 31) + hashCode(this.l2v_1) | 0;
985
+ result = imul(result, 31) + this.m2v_1.hashCode() | 0;
986
+ result = imul(result, 31) + hashCode(this.n2v_1) | 0;
987
+ result = imul(result, 31) + hashCode(this.o2v_1) | 0;
988
+ result = imul(result, 31) + hashCode(this.p2v_1) | 0;
989
+ result = imul(result, 31) + getBigIntHashCode(this.q2v_1) | 0;
990
+ result = imul(result, 31) + getBigIntHashCode(this.r2v_1) | 0;
991
+ result = imul(result, 31) + (this.s2v_1 == null ? 0 : hashCode(this.s2v_1)) | 0;
992
+ result = imul(result, 31) + (this.t2v_1 == null ? 0 : this.t2v_1.hashCode()) | 0;
993
+ result = imul(result, 31) + this.u2v_1 | 0;
994
+ result = imul(result, 31) + getBigIntHashCode(this.v2v_1) | 0;
995
+ result = imul(result, 31) + hashCode(this.w2v_1) | 0;
979
996
  return result;
980
997
  };
981
998
  protoOf(ClassicExecutionContext).equals = function (other) {
@@ -983,70 +1000,54 @@
983
1000
  return true;
984
1001
  if (!(other instanceof ClassicExecutionContext))
985
1002
  return false;
986
- var tmp0_other_with_cast = other instanceof ClassicExecutionContext ? other : THROW_CCE();
987
- if (!equals(this.y32_1, tmp0_other_with_cast.y32_1))
1003
+ if (!equals(this.b2v_1, other.b2v_1))
988
1004
  return false;
989
- if (!equals(this.z32_1, tmp0_other_with_cast.z32_1))
1005
+ if (!equals(this.c2v_1, other.c2v_1))
990
1006
  return false;
991
- if (!equals(this.a33_1, tmp0_other_with_cast.a33_1))
1007
+ if (!equals(this.d2v_1, other.d2v_1))
992
1008
  return false;
993
- if (!this.b33_1.equals(tmp0_other_with_cast.b33_1))
1009
+ if (!this.e2v_1.equals(other.e2v_1))
994
1010
  return false;
995
- if (!equals(this.c33_1, tmp0_other_with_cast.c33_1))
1011
+ if (!equals(this.f2v_1, other.f2v_1))
996
1012
  return false;
997
- if (!equals(this.d33_1, tmp0_other_with_cast.d33_1))
1013
+ if (!equals(this.g2v_1, other.g2v_1))
998
1014
  return false;
999
- if (!this.e33_1.equals(tmp0_other_with_cast.e33_1))
1015
+ if (!this.h2v_1.equals(other.h2v_1))
1000
1016
  return false;
1001
- if (!equals(this.f33_1, tmp0_other_with_cast.f33_1))
1017
+ if (!equals(this.i2v_1, other.i2v_1))
1002
1018
  return false;
1003
- if (!equals(this.g33_1, tmp0_other_with_cast.g33_1))
1019
+ if (!equals(this.j2v_1, other.j2v_1))
1004
1020
  return false;
1005
- if (!this.h33_1.equals(tmp0_other_with_cast.h33_1))
1021
+ if (!this.k2v_1.equals(other.k2v_1))
1006
1022
  return false;
1007
- if (!equals(this.i33_1, tmp0_other_with_cast.i33_1))
1023
+ if (!equals(this.l2v_1, other.l2v_1))
1008
1024
  return false;
1009
- if (!this.j33_1.equals(tmp0_other_with_cast.j33_1))
1025
+ if (!this.m2v_1.equals(other.m2v_1))
1010
1026
  return false;
1011
- if (!equals(this.k33_1, tmp0_other_with_cast.k33_1))
1027
+ if (!equals(this.n2v_1, other.n2v_1))
1012
1028
  return false;
1013
- if (!equals(this.l33_1, tmp0_other_with_cast.l33_1))
1029
+ if (!equals(this.o2v_1, other.o2v_1))
1014
1030
  return false;
1015
- if (!equals(this.m33_1, tmp0_other_with_cast.m33_1))
1031
+ if (!equals(this.p2v_1, other.p2v_1))
1016
1032
  return false;
1017
- if (!this.n33_1.equals(tmp0_other_with_cast.n33_1))
1033
+ if (!(this.q2v_1 === other.q2v_1))
1018
1034
  return false;
1019
- if (!this.o33_1.equals(tmp0_other_with_cast.o33_1))
1035
+ if (!(this.r2v_1 === other.r2v_1))
1020
1036
  return false;
1021
- if (!equals(this.p33_1, tmp0_other_with_cast.p33_1))
1037
+ if (!equals(this.s2v_1, other.s2v_1))
1022
1038
  return false;
1023
- if (!equals(this.q33_1, tmp0_other_with_cast.q33_1))
1039
+ if (!equals(this.t2v_1, other.t2v_1))
1024
1040
  return false;
1025
- if (!(this.r33_1 === tmp0_other_with_cast.r33_1))
1041
+ if (!(this.u2v_1 === other.u2v_1))
1026
1042
  return false;
1027
- if (!this.s33_1.equals(tmp0_other_with_cast.s33_1))
1043
+ if (!(this.v2v_1 === other.v2v_1))
1028
1044
  return false;
1029
- if (!equals(this.t33_1, tmp0_other_with_cast.t33_1))
1045
+ if (!equals(this.w2v_1, other.w2v_1))
1030
1046
  return false;
1031
1047
  return true;
1032
1048
  };
1033
- function currentGoal$factory() {
1034
- return getPropertyCallableRef('currentGoal', 1, KProperty1, function (receiver) {
1035
- return receiver.m36();
1036
- }, null);
1037
- }
1038
- function interestingVariables$factory() {
1039
- return getPropertyCallableRef('interestingVariables', 1, KProperty1, function (receiver) {
1040
- return _get_interestingVariables__k6uw5o(receiver);
1041
- }, null);
1042
- }
1043
- function logicStackTrace$factory() {
1044
- return getPropertyCallableRef('logicStackTrace', 1, KProperty1, function (receiver) {
1045
- return receiver.z1u();
1046
- }, null);
1047
- }
1048
1049
  function ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, $this) {
1049
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1050
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
1050
1051
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1051
1052
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1052
1053
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -1062,7 +1063,7 @@
1062
1063
  return ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(ClassicSolver)));
1063
1064
  }
1064
1065
  function ClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1065
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1066
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
1066
1067
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1067
1068
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1068
1069
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1079,43 +1080,58 @@
1079
1080
  function ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb) {
1080
1081
  return ClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, objectCreate(protoOf(ClassicSolver)));
1081
1082
  }
1082
- protoOf(ClassicSolver).a34 = function (initialState, onStateTransition) {
1083
- return Companion_instance_15.t36(initialState, onStateTransition);
1083
+ protoOf(ClassicSolver).d2w = function (initialState, onStateTransition) {
1084
+ return Companion_instance_15.w2y(initialState, onStateTransition);
1084
1085
  };
1085
- protoOf(ClassicSolver).t1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1086
+ protoOf(ClassicSolver).b1t = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1086
1087
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1087
1088
  };
1088
- protoOf(ClassicSolver).u1s = function () {
1089
+ protoOf(ClassicSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1090
+ return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof ClassicSolver) ? $super : THROW_CCE());
1091
+ };
1092
+ protoOf(ClassicSolver).c1q = function () {
1089
1093
  return this.copy();
1090
1094
  };
1091
1095
  protoOf(ClassicSolver).clone = function () {
1092
- return this.u1s();
1096
+ return this.c1q();
1093
1097
  };
1094
1098
  function ClassicSolver() {
1095
1099
  }
1096
1100
  function ClassicSolverFactory() {
1097
1101
  }
1098
- protoOf(ClassicSolverFactory).d1y = function () {
1102
+ protoOf(ClassicSolverFactory).w1u = function () {
1099
1103
  return DefaultBuiltins_getInstance();
1100
1104
  };
1101
- protoOf(ClassicSolverFactory).o1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1105
+ protoOf(ClassicSolverFactory).h1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1102
1106
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1103
1107
  };
1104
- protoOf(ClassicSolverFactory).u1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1108
+ protoOf(ClassicSolverFactory).rawSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
1109
+ return this.rawSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof ClassicSolverFactory) ? $super : THROW_CCE());
1110
+ };
1111
+ protoOf(ClassicSolverFactory).n1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1105
1112
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1106
1113
  };
1107
- protoOf(ClassicSolverFactory).w1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1114
+ protoOf(ClassicSolverFactory).solverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1115
+ return this.solverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof ClassicSolverFactory) ? $super : THROW_CCE());
1116
+ };
1117
+ protoOf(ClassicSolverFactory).p1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1108
1118
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1109
1119
  };
1110
- protoOf(ClassicSolverFactory).y1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1120
+ protoOf(ClassicSolverFactory).mutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1121
+ return this.mutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof ClassicSolverFactory) ? $super : THROW_CCE());
1122
+ };
1123
+ protoOf(ClassicSolverFactory).r1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1111
1124
  return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1112
1125
  };
1126
+ protoOf(ClassicSolverFactory).rawMutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
1127
+ return this.rawMutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof ClassicSolverFactory) ? $super : THROW_CCE());
1128
+ };
1113
1129
  var ClassicSolverFactory_instance;
1114
1130
  function ClassicSolverFactory_getInstance() {
1115
1131
  return ClassicSolverFactory_instance;
1116
1132
  }
1117
1133
  function MutableClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, $this) {
1118
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1134
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
1119
1135
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1120
1136
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1121
1137
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1131,7 +1147,7 @@
1131
1147
  return MutableClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(MutableClassicSolver)));
1132
1148
  }
1133
1149
  function MutableClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1134
- unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1150
+ unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
1135
1151
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1136
1152
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1137
1153
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1150,271 +1166,274 @@
1150
1166
  }
1151
1167
  function MutableClassicSolver$loadLibrary$lambda($library) {
1152
1168
  return function ($this$updateContext) {
1153
- var newRuntime = $this$updateContext.a33_1.plusLibrary($library);
1154
- return $this$updateContext.p34(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.e33_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
1169
+ var newRuntime = $this$updateContext.d2v_1.plusLibrary($library);
1170
+ return $this$updateContext.s2w(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.h2v_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
1155
1171
  };
1156
1172
  }
1157
1173
  function MutableClassicSolver$unloadLibrary$lambda($library) {
1158
1174
  return function ($this$updateContext) {
1159
- var newRuntime = $this$updateContext.a33_1.plusLibrary($library);
1160
- return $this$updateContext.p34(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.c33_1, $this$updateContext.d33_1])));
1175
+ var newRuntime = $this$updateContext.d2v_1.plusLibrary($library);
1176
+ return $this$updateContext.s2w(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.f2v_1, $this$updateContext.g2v_1])));
1161
1177
  };
1162
1178
  }
1163
1179
  function MutableClassicSolver$setRuntime$lambda($libraries) {
1164
1180
  return function ($this$updateContext) {
1165
- return $this$updateContext.p34(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.c33_1, $this$updateContext.d33_1])));
1181
+ return $this$updateContext.s2w(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.f2v_1, $this$updateContext.g2v_1])));
1166
1182
  };
1167
1183
  }
1168
1184
  function MutableClassicSolver$resetStaticKb$lambda($this$updateContext) {
1169
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.z32_1), VOID, toOperatorSet(getAllOperators($this$updateContext.a33_1, [$this$updateContext.d33_1])));
1185
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.c2v_1), VOID, toOperatorSet(getAllOperators($this$updateContext.d2v_1, [$this$updateContext.g2v_1])));
1170
1186
  }
1171
1187
  function MutableClassicSolver$resetDynamicKb$lambda($this$updateContext) {
1172
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.z32_1), toOperatorSet(getAllOperators($this$updateContext.a33_1, [$this$updateContext.c33_1])));
1188
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.c2v_1), toOperatorSet(getAllOperators($this$updateContext.d2v_1, [$this$updateContext.f2v_1])));
1173
1189
  }
1174
1190
  function MutableClassicSolver$assertA$lambda($clause) {
1175
1191
  return function ($this$updateContext) {
1176
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.k1s($clause), $this$updateContext.e33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1192
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $this$updateContext.g2v_1.s1p($clause), $this$updateContext.h2v_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1177
1193
  };
1178
1194
  }
1179
1195
  function MutableClassicSolver$assertA$lambda_0($fact) {
1180
1196
  return function ($this$updateContext) {
1181
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.j1t($fact));
1197
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $this$updateContext.g2v_1.r1q($fact));
1182
1198
  };
1183
1199
  }
1184
1200
  function MutableClassicSolver$assertZ$lambda($clause) {
1185
1201
  return function ($this$updateContext) {
1186
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.o1s($clause), $this$updateContext.e33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1202
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $this$updateContext.g2v_1.w1p($clause), $this$updateContext.h2v_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1187
1203
  };
1188
1204
  }
1189
1205
  function MutableClassicSolver$assertZ$lambda_0($fact) {
1190
1206
  return function ($this$updateContext) {
1191
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.k1t($fact));
1207
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $this$updateContext.g2v_1.s1q($fact));
1192
1208
  };
1193
1209
  }
1194
1210
  function MutableClassicSolver$retract$lambda($result, $clause) {
1195
1211
  return function ($this$updateContext) {
1196
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory(), $this$updateContext.e33_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1212
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $result.k1p().toMutableTheory(), $this$updateContext.h2v_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1197
1213
  };
1198
1214
  }
1199
1215
  function MutableClassicSolver$retract$lambda_0($result) {
1200
1216
  return function ($this$updateContext) {
1201
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory());
1217
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $result.k1p().toMutableTheory());
1202
1218
  };
1203
1219
  }
1204
1220
  function MutableClassicSolver$retractAll$lambda($result) {
1205
1221
  return function ($this$updateContext) {
1206
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory(), $this$updateContext.e33_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.c1s()))));
1222
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $result.k1p().toMutableTheory(), $this$updateContext.h2v_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.k1p()))));
1207
1223
  };
1208
1224
  }
1209
1225
  function MutableClassicSolver$retractAll$lambda_0($result) {
1210
1226
  return function ($this$updateContext) {
1211
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory());
1227
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, $result.k1p().toMutableTheory());
1212
1228
  };
1213
1229
  }
1214
1230
  function MutableClassicSolver$setFlag$lambda($name, $value) {
1215
1231
  return function ($this$updateContext) {
1216
- return $this$updateContext.p34(VOID, VOID, VOID, $this$updateContext.b33_1.set($name, $value));
1232
+ return $this$updateContext.s2w(VOID, VOID, VOID, $this$updateContext.e2v_1.set($name, $value));
1217
1233
  };
1218
1234
  }
1219
1235
  function MutableClassicSolver$setFlag$lambda_0($flag) {
1220
1236
  return function ($this$updateContext) {
1221
- return $this$updateContext.p34(VOID, VOID, VOID, $this$updateContext.b33_1.plusPair($flag));
1237
+ return $this$updateContext.s2w(VOID, VOID, VOID, $this$updateContext.e2v_1.plusPair($flag));
1222
1238
  };
1223
1239
  }
1224
1240
  function MutableClassicSolver$setFlag$lambda_1($flag) {
1225
1241
  return function ($this$updateContext) {
1226
- return $this$updateContext.p34(VOID, VOID, VOID, $this$updateContext.b33_1.plusNotable($flag));
1242
+ return $this$updateContext.s2w(VOID, VOID, VOID, $this$updateContext.e2v_1.plusNotable($flag));
1227
1243
  };
1228
1244
  }
1229
1245
  function MutableClassicSolver$setStandardInput$lambda($stdIn) {
1230
1246
  return function ($this$updateContext) {
1231
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.f33_1.plus(to('stdin', $stdIn)));
1247
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.i2v_1.plus(to('stdin', $stdIn)));
1232
1248
  };
1233
1249
  }
1234
1250
  function MutableClassicSolver$setStandardError$lambda($stdErr) {
1235
1251
  return function ($this$updateContext) {
1236
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.g33_1.plus(to('stderr', $stdErr)));
1252
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.j2v_1.plus(to('stderr', $stdErr)));
1237
1253
  };
1238
1254
  }
1239
1255
  function MutableClassicSolver$setStandardOutput$lambda($stdOut) {
1240
1256
  return function ($this$updateContext) {
1241
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.g33_1.plus(to('stdout', $stdOut)));
1257
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.j2v_1.plus(to('stdout', $stdOut)));
1242
1258
  };
1243
1259
  }
1244
1260
  function MutableClassicSolver$setWarnings$lambda($warnings) {
1245
1261
  return function ($this$updateContext) {
1246
- return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.o1z($this$updateContext.g33_1, $warnings));
1262
+ return $this$updateContext.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.f1w($this$updateContext.j2v_1, $warnings));
1247
1263
  };
1248
1264
  }
1249
- protoOf(MutableClassicSolver).v36 = function (library) {
1250
- this.h2b(MutableClassicSolver$loadLibrary$lambda(library));
1265
+ protoOf(MutableClassicSolver).y2y = function (library) {
1266
+ this.z27(MutableClassicSolver$loadLibrary$lambda(library));
1251
1267
  };
1252
1268
  protoOf(MutableClassicSolver).loadLibrary = function (library) {
1253
- return this.v36(library);
1269
+ return this.y2y(library);
1254
1270
  };
1255
- protoOf(MutableClassicSolver).w36 = function (library) {
1256
- this.h2b(MutableClassicSolver$unloadLibrary$lambda(library));
1271
+ protoOf(MutableClassicSolver).z2y = function (library) {
1272
+ this.z27(MutableClassicSolver$unloadLibrary$lambda(library));
1257
1273
  };
1258
1274
  protoOf(MutableClassicSolver).unloadLibrary = function (library) {
1259
- return this.w36(library);
1275
+ return this.z2y(library);
1260
1276
  };
1261
- protoOf(MutableClassicSolver).x36 = function (libraries) {
1262
- this.h2b(MutableClassicSolver$setRuntime$lambda(libraries));
1277
+ protoOf(MutableClassicSolver).a2z = function (libraries) {
1278
+ this.z27(MutableClassicSolver$setRuntime$lambda(libraries));
1263
1279
  };
1264
1280
  protoOf(MutableClassicSolver).setLibraries = function (libraries) {
1265
- return this.x36(libraries);
1281
+ return this.a2z(libraries);
1266
1282
  };
1267
- protoOf(MutableClassicSolver).y36 = function (theory) {
1268
- this.l2b(theory, VOID, false);
1283
+ protoOf(MutableClassicSolver).b2z = function (theory) {
1284
+ this.d28(theory, VOID, false);
1269
1285
  };
1270
1286
  protoOf(MutableClassicSolver).loadStaticKb = function (theory) {
1271
- return this.y36(theory);
1287
+ return this.b2z(theory);
1272
1288
  };
1273
- protoOf(MutableClassicSolver).z36 = function (theory) {
1274
- this.l2b(theory);
1289
+ protoOf(MutableClassicSolver).c2z = function (theory) {
1290
+ this.d28(theory);
1275
1291
  };
1276
1292
  protoOf(MutableClassicSolver).appendStaticKb = function (theory) {
1277
- return this.z36(theory);
1293
+ return this.c2z(theory);
1278
1294
  };
1279
- protoOf(MutableClassicSolver).a37 = function () {
1280
- this.h2b(MutableClassicSolver$resetStaticKb$lambda);
1295
+ protoOf(MutableClassicSolver).d2z = function () {
1296
+ this.z27(MutableClassicSolver$resetStaticKb$lambda);
1281
1297
  };
1282
1298
  protoOf(MutableClassicSolver).resetStaticKb = function () {
1283
- return this.a37();
1299
+ return this.d2z();
1284
1300
  };
1285
- protoOf(MutableClassicSolver).b37 = function (theory) {
1286
- this.l2b(VOID, theory, VOID, false);
1301
+ protoOf(MutableClassicSolver).e2z = function (theory) {
1302
+ this.d28(VOID, theory, VOID, false);
1287
1303
  };
1288
1304
  protoOf(MutableClassicSolver).loadDynamicKb = function (theory) {
1289
- return this.b37(theory);
1305
+ return this.e2z(theory);
1290
1306
  };
1291
- protoOf(MutableClassicSolver).c37 = function (theory) {
1292
- this.l2b(VOID, theory);
1307
+ protoOf(MutableClassicSolver).f2z = function (theory) {
1308
+ this.d28(VOID, theory);
1293
1309
  };
1294
1310
  protoOf(MutableClassicSolver).appendDynamicKb = function (theory) {
1295
- return this.c37(theory);
1311
+ return this.f2z(theory);
1296
1312
  };
1297
- protoOf(MutableClassicSolver).d37 = function () {
1298
- this.h2b(MutableClassicSolver$resetDynamicKb$lambda);
1313
+ protoOf(MutableClassicSolver).g2z = function () {
1314
+ this.z27(MutableClassicSolver$resetDynamicKb$lambda);
1299
1315
  };
1300
1316
  protoOf(MutableClassicSolver).resetDynamicKb = function () {
1301
- return this.d37();
1317
+ return this.g2z();
1302
1318
  };
1303
- protoOf(MutableClassicSolver).r1m = function (clause) {
1304
- this.h2b(MutableClassicSolver$assertA$lambda(clause));
1319
+ protoOf(MutableClassicSolver).z1j = function (clause) {
1320
+ this.z27(MutableClassicSolver$assertA$lambda(clause));
1305
1321
  };
1306
1322
  protoOf(MutableClassicSolver).assertA = function (clause) {
1307
- return this.r1m(clause);
1323
+ return this.z1j(clause);
1308
1324
  };
1309
- protoOf(MutableClassicSolver).e37 = function (fact) {
1310
- this.h2b(MutableClassicSolver$assertA$lambda_0(fact));
1325
+ protoOf(MutableClassicSolver).h2z = function (fact) {
1326
+ this.z27(MutableClassicSolver$assertA$lambda_0(fact));
1311
1327
  };
1312
1328
  protoOf(MutableClassicSolver).assertAFact = function (fact) {
1313
- return this.e37(fact);
1329
+ return this.h2z(fact);
1314
1330
  };
1315
- protoOf(MutableClassicSolver).s1l = function (clause) {
1316
- this.h2b(MutableClassicSolver$assertZ$lambda(clause));
1331
+ protoOf(MutableClassicSolver).a1j = function (clause) {
1332
+ this.z27(MutableClassicSolver$assertZ$lambda(clause));
1317
1333
  };
1318
1334
  protoOf(MutableClassicSolver).assertZ = function (clause) {
1319
- return this.s1l(clause);
1335
+ return this.a1j(clause);
1320
1336
  };
1321
- protoOf(MutableClassicSolver).f37 = function (fact) {
1322
- this.h2b(MutableClassicSolver$assertZ$lambda_0(fact));
1337
+ protoOf(MutableClassicSolver).i2z = function (fact) {
1338
+ this.z27(MutableClassicSolver$assertZ$lambda_0(fact));
1323
1339
  };
1324
1340
  protoOf(MutableClassicSolver).assertZFact = function (fact) {
1325
- return this.f37(fact);
1341
+ return this.i2z(fact);
1326
1342
  };
1327
- protoOf(MutableClassicSolver).l1t = function (clause) {
1328
- var result = this.f1v().retract(clause);
1329
- this.h2b(MutableClassicSolver$retract$lambda(result, clause));
1343
+ protoOf(MutableClassicSolver).t1q = function (clause) {
1344
+ var result = this.n1s().retract(clause);
1345
+ this.z27(MutableClassicSolver$retract$lambda(result, clause));
1330
1346
  return result;
1331
1347
  };
1332
1348
  protoOf(MutableClassicSolver).retract = function (clause) {
1333
- return this.l1t(clause);
1349
+ return this.t1q(clause);
1334
1350
  };
1335
- protoOf(MutableClassicSolver).m1t = function (fact) {
1336
- var result = this.f1v().retractByHead(fact);
1337
- this.h2b(MutableClassicSolver$retract$lambda_0(result));
1351
+ protoOf(MutableClassicSolver).u1q = function (fact) {
1352
+ var result = this.n1s().retractByHead(fact);
1353
+ this.z27(MutableClassicSolver$retract$lambda_0(result));
1338
1354
  return result;
1339
1355
  };
1340
1356
  protoOf(MutableClassicSolver).retractByHead = function (fact) {
1341
- return this.m1t(fact);
1357
+ return this.u1q(fact);
1342
1358
  };
1343
- protoOf(MutableClassicSolver).x1l = function (clause) {
1344
- var result = this.f1v().retractAll(clause);
1345
- this.h2b(MutableClassicSolver$retractAll$lambda(result));
1359
+ protoOf(MutableClassicSolver).f1j = function (clause) {
1360
+ var result = this.n1s().retractAll(clause);
1361
+ this.z27(MutableClassicSolver$retractAll$lambda(result));
1346
1362
  return result;
1347
1363
  };
1348
1364
  protoOf(MutableClassicSolver).retractAll = function (clause) {
1349
- return this.x1l(clause);
1365
+ return this.f1j(clause);
1350
1366
  };
1351
- protoOf(MutableClassicSolver).g37 = function (fact) {
1352
- var result = this.f1v().retractAllByHead(fact);
1353
- this.h2b(MutableClassicSolver$retractAll$lambda_0(result));
1367
+ protoOf(MutableClassicSolver).j2z = function (fact) {
1368
+ var result = this.n1s().retractAllByHead(fact);
1369
+ this.z27(MutableClassicSolver$retractAll$lambda_0(result));
1354
1370
  return result;
1355
1371
  };
1356
1372
  protoOf(MutableClassicSolver).retractAllBeHead = function (fact) {
1357
- return this.g37(fact);
1373
+ return this.j2z(fact);
1358
1374
  };
1359
- protoOf(MutableClassicSolver).h37 = function (name, value) {
1360
- this.h2b(MutableClassicSolver$setFlag$lambda(name, value));
1375
+ protoOf(MutableClassicSolver).k2z = function (name, value) {
1376
+ this.z27(MutableClassicSolver$setFlag$lambda(name, value));
1361
1377
  };
1362
1378
  protoOf(MutableClassicSolver).setFlag = function (name, value) {
1363
- return this.h37(name, value);
1379
+ return this.k2z(name, value);
1364
1380
  };
1365
- protoOf(MutableClassicSolver).i37 = function (flag) {
1366
- this.h2b(MutableClassicSolver$setFlag$lambda_0(flag));
1381
+ protoOf(MutableClassicSolver).l2z = function (flag) {
1382
+ this.z27(MutableClassicSolver$setFlag$lambda_0(flag));
1367
1383
  };
1368
1384
  protoOf(MutableClassicSolver).setFlagPair = function (flag) {
1369
- return this.i37(flag);
1385
+ return this.l2z(flag);
1370
1386
  };
1371
- protoOf(MutableClassicSolver).j37 = function (flag) {
1372
- this.h2b(MutableClassicSolver$setFlag$lambda_1(flag));
1387
+ protoOf(MutableClassicSolver).m2z = function (flag) {
1388
+ this.z27(MutableClassicSolver$setFlag$lambda_1(flag));
1373
1389
  };
1374
1390
  protoOf(MutableClassicSolver).setFlagNotable = function (flag) {
1375
- return this.j37(flag);
1391
+ return this.m2z(flag);
1376
1392
  };
1377
- protoOf(MutableClassicSolver).k37 = function (stdIn) {
1378
- this.h2b(MutableClassicSolver$setStandardInput$lambda(stdIn));
1393
+ protoOf(MutableClassicSolver).n2z = function (stdIn) {
1394
+ this.z27(MutableClassicSolver$setStandardInput$lambda(stdIn));
1379
1395
  };
1380
1396
  protoOf(MutableClassicSolver).setStandardInput = function (stdIn) {
1381
- return this.k37(stdIn);
1397
+ return this.n2z(stdIn);
1382
1398
  };
1383
- protoOf(MutableClassicSolver).l37 = function (stdErr) {
1384
- this.h2b(MutableClassicSolver$setStandardError$lambda(stdErr));
1399
+ protoOf(MutableClassicSolver).o2z = function (stdErr) {
1400
+ this.z27(MutableClassicSolver$setStandardError$lambda(stdErr));
1385
1401
  };
1386
1402
  protoOf(MutableClassicSolver).setStandardError = function (stdErr) {
1387
- return this.l37(stdErr);
1403
+ return this.o2z(stdErr);
1388
1404
  };
1389
- protoOf(MutableClassicSolver).m37 = function (stdOut) {
1390
- this.h2b(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1405
+ protoOf(MutableClassicSolver).p2z = function (stdOut) {
1406
+ this.z27(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1391
1407
  };
1392
1408
  protoOf(MutableClassicSolver).setStandardOutput = function (stdOut) {
1393
- return this.m37(stdOut);
1409
+ return this.p2z(stdOut);
1394
1410
  };
1395
- protoOf(MutableClassicSolver).n37 = function (warnings) {
1396
- this.h2b(MutableClassicSolver$setWarnings$lambda(warnings));
1411
+ protoOf(MutableClassicSolver).q2z = function (warnings) {
1412
+ this.z27(MutableClassicSolver$setWarnings$lambda(warnings));
1397
1413
  };
1398
1414
  protoOf(MutableClassicSolver).setWarnings = function (warnings) {
1399
- return this.n37(warnings);
1415
+ return this.q2z(warnings);
1400
1416
  };
1401
- protoOf(MutableClassicSolver).t1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1417
+ protoOf(MutableClassicSolver).b1t = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1402
1418
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1403
1419
  };
1404
- protoOf(MutableClassicSolver).u1s = function () {
1420
+ protoOf(MutableClassicSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1421
+ return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof MutableClassicSolver) ? $super : THROW_CCE());
1422
+ };
1423
+ protoOf(MutableClassicSolver).c1q = function () {
1405
1424
  return this.copy();
1406
1425
  };
1407
1426
  protoOf(MutableClassicSolver).clone = function () {
1408
- return this.u1s();
1427
+ return this.c1q();
1409
1428
  };
1410
1429
  function MutableClassicSolver() {
1411
1430
  }
1412
- function SolutionIterator$Companion$of$lambda(_anonymous_parameter_0__qggqh8, _anonymous_parameter_1__qggqgd, _anonymous_parameter_2__qggqfi) {
1431
+ function SolutionIterator$Companion$of$lambda(_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
1413
1432
  return Unit_instance;
1414
1433
  }
1415
1434
  function Companion() {
1416
1435
  }
1417
- protoOf(Companion).t36 = function (initialState, onStateTransition) {
1436
+ protoOf(Companion).w2y = function (initialState, onStateTransition) {
1418
1437
  return new SimpleSolutionIterator(initialState, onStateTransition);
1419
1438
  };
1420
1439
  protoOf(Companion).of = function (initialState, onStateTransition, $super) {
@@ -1425,82 +1444,89 @@
1425
1444
  tmp = onStateTransition;
1426
1445
  }
1427
1446
  onStateTransition = tmp;
1428
- return $super === VOID ? this.t36(initialState, onStateTransition) : $super.t36.call(this, initialState, onStateTransition);
1447
+ return $super === VOID ? this.w2y(initialState, onStateTransition) : $super.w2y.call(this, initialState, onStateTransition);
1429
1448
  };
1430
1449
  var Companion_instance_15;
1431
- function Companion_getInstance_6() {
1450
+ function Companion_getInstance_5() {
1432
1451
  return Companion_instance_15;
1433
1452
  }
1434
1453
  function AbstractEndState(solution, context) {
1435
1454
  AbstractState.call(this, context);
1436
- this.q37_1 = solution;
1437
- this.r37_1 = context;
1455
+ this.t2z_1 = solution;
1456
+ this.u2z_1 = context;
1438
1457
  }
1439
- protoOf(AbstractEndState).x2i = function () {
1440
- return this.q37_1;
1458
+ protoOf(AbstractEndState).f2f = function () {
1459
+ return this.t2z_1;
1441
1460
  };
1442
- protoOf(AbstractEndState).uc = function () {
1443
- return this.r37_1;
1461
+ protoOf(AbstractEndState).h8 = function () {
1462
+ return this.u2z_1;
1444
1463
  };
1445
- protoOf(AbstractEndState).s37 = function () {
1464
+ protoOf(AbstractEndState).v2z = function () {
1446
1465
  throw NoSuchElementException_init_$Create$();
1447
1466
  };
1448
1467
  protoOf(AbstractEndState).asEndState = function () {
1449
- return this.u37();
1468
+ return this.d30();
1450
1469
  };
1451
1470
  function AbstractState$executionTime$delegate$lambda(this$0) {
1452
1471
  return function () {
1453
- return this$0.a38();
1472
+ return this$0.a30();
1473
+ };
1474
+ }
1475
+ function AbstractState$_get_executionTime_$ref_gwd5wm() {
1476
+ return function (p0) {
1477
+ return p0.y2z();
1454
1478
  };
1455
1479
  }
1456
1480
  function AbstractState(context) {
1457
- this.v37_1 = context;
1481
+ this.w2z_1 = context;
1458
1482
  var tmp = this;
1459
- tmp.w37_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1483
+ tmp.x2z_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1460
1484
  }
1461
- protoOf(AbstractState).uc = function () {
1462
- return this.v37_1;
1485
+ protoOf(AbstractState).h8 = function () {
1486
+ return this.w2z_1;
1463
1487
  };
1464
- protoOf(AbstractState).y37 = function () {
1488
+ protoOf(AbstractState).y2z = function () {
1489
+ var tmp0 = this.x2z_1;
1490
+ var tmp = KProperty1;
1465
1491
  // Inline function 'kotlin.getValue' call
1466
- var this_0 = this.w37_1;
1467
- executionTime$factory();
1468
- return this_0.r2();
1492
+ getPropertyCallableRef('executionTime', 1, tmp, AbstractState$_get_executionTime_$ref_gwd5wm(), null);
1493
+ return tmp0.e2();
1469
1494
  };
1470
- protoOf(AbstractState).z37 = function () {
1471
- return this.y37().pb(this.uc().n33_1).q6(this.uc().o33_1) > 0;
1495
+ protoOf(AbstractState).z2z = function () {
1496
+ return subtract(this.y2z(), this.h8().q2v_1) > this.h8().r2v_1;
1472
1497
  };
1473
- protoOf(AbstractState).u = function () {
1498
+ protoOf(AbstractState).t = function () {
1474
1499
  var tmp;
1475
- if (this.z37()) {
1476
- var tmp0_exceededDuration = this.uc().o33_1;
1477
- var tmp1_context = this.uc();
1478
- tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.uc().p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1500
+ if (this.z2z()) {
1501
+ var tmp0_exceededDuration = this.h8().r2v_1;
1502
+ var tmp1_context = this.h8();
1503
+ tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.h8().s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30()));
1479
1504
  } else {
1480
- tmp = this.s37();
1505
+ tmp = this.v2z();
1481
1506
  }
1482
1507
  return tmp;
1483
1508
  };
1484
1509
  protoOf(AbstractState).next = function () {
1485
- return this.u();
1510
+ return this.t();
1486
1511
  };
1487
- protoOf(AbstractState).a38 = function () {
1512
+ protoOf(AbstractState).a30 = function () {
1488
1513
  return currentTimeInstant();
1489
1514
  };
1490
- protoOf(AbstractState).b38 = function () {
1515
+ protoOf(AbstractState).b30 = function () {
1491
1516
  // Inline function 'kotlin.Long.plus' call
1492
- return this.uc().s33_1.ob(toLong(1));
1517
+ var this_0 = this.h8().v2v_1;
1518
+ return add(this_0, fromInt(1));
1493
1519
  };
1494
- protoOf(AbstractState).c38 = function (_this__u8e3s4) {
1520
+ protoOf(AbstractState).f30 = function (_this__u8e3s4) {
1521
+ var tmp0 = _this__u8e3s4.x2v_1;
1495
1522
  var tmp$ret$2;
1496
1523
  $l$block: {
1497
1524
  // Inline function 'kotlin.sequences.first' call
1498
- var tmp0_iterator = _this__u8e3s4.u33_1.r();
1499
- while (tmp0_iterator.s()) {
1500
- var element = tmp0_iterator.u();
1501
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.AbstractState.skipThrow.<anonymous>' call
1502
- var tmp0_safe_receiver = element.y32_1;
1503
- var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qw();
1525
+ var _iterator__ex2g4s = tmp0.p();
1526
+ while (_iterator__ex2g4s.s()) {
1527
+ var element = _iterator__ex2g4s.t();
1528
+ var tmp0_safe_receiver = element.b2v_1;
1529
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zt();
1504
1530
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1505
1531
  if (!(tmp === Throw_getInstance().signature.name)) {
1506
1532
  tmp$ret$2 = element;
@@ -1511,39 +1537,32 @@
1511
1537
  }
1512
1538
  return tmp$ret$2;
1513
1539
  };
1514
- function executionTime$factory() {
1515
- return getPropertyCallableRef('executionTime', 1, KProperty1, function (receiver) {
1516
- return receiver.y37();
1517
- }, null);
1518
- }
1519
1540
  function EndState() {
1520
1541
  }
1521
1542
  function State() {
1522
1543
  }
1523
1544
  function StateBacktracking(context) {
1524
1545
  AbstractState.call(this, context);
1525
- this.f38_1 = context;
1546
+ this.i30_1 = context;
1526
1547
  }
1527
- protoOf(StateBacktracking).uc = function () {
1528
- return this.f38_1;
1548
+ protoOf(StateBacktracking).h8 = function () {
1549
+ return this.i30_1;
1529
1550
  };
1530
- protoOf(StateBacktracking).s37 = function () {
1531
- var choicePoints = this.f38_1.p33_1;
1551
+ protoOf(StateBacktracking).v2z = function () {
1552
+ var choicePoints = this.i30_1.s2v_1;
1532
1553
  var tmp;
1533
1554
  // Inline function 'kotlin.let' call
1534
- // Inline function 'kotlin.contracts.contract' call
1535
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1536
- if (choicePoints === null ? true : !choicePoints.w34()) {
1537
- tmp = new StateEnd(Companion_instance_8.no(this.f38_1.j33_1), this.f38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1555
+ if (choicePoints === null || !choicePoints.z2w()) {
1556
+ tmp = new StateEnd(Companion_instance_8.no(this.i30_1.m2v_1), this.i30_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30()));
1538
1557
  } else {
1558
+ var tmp0 = ensureNotNull(choicePoints).a2x();
1539
1559
  var tmp$ret$3;
1540
1560
  $l$block: {
1541
1561
  // Inline function 'kotlin.sequences.first' call
1542
- var tmp0_iterator = ensureNotNull(choicePoints).x34().r();
1543
- while (tmp0_iterator.s()) {
1544
- var element = tmp0_iterator.u();
1545
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1546
- if (element.j34().gr()) {
1562
+ var _iterator__ex2g4s = tmp0.p();
1563
+ while (_iterator__ex2g4s.s()) {
1564
+ var element = _iterator__ex2g4s.t();
1565
+ if (element.m2w().lp()) {
1547
1566
  tmp$ret$3 = element;
1548
1567
  break $l$block;
1549
1568
  }
@@ -1551,9 +1570,9 @@
1551
1570
  throw NoSuchElementException_init_$Create$_0('Sequence contains no element matching the predicate.');
1552
1571
  }
1553
1572
  var choicePointContext = tmp$ret$3;
1554
- var nextContext = choicePointContext.o34(this.f38_1);
1573
+ var nextContext = choicePointContext.r2w(this.i30_1);
1555
1574
  var tmp_0;
1556
- if (nextContext.m33_1.gr()) {
1575
+ if (nextContext.p2v_1.lp()) {
1557
1576
  tmp_0 = new StatePrimitiveExecution(nextContext);
1558
1577
  } else {
1559
1578
  tmp_0 = new StateRuleExecution(nextContext);
@@ -1562,66 +1581,71 @@
1562
1581
  }
1563
1582
  return tmp;
1564
1583
  };
1565
- protoOf(StateBacktracking).x37 = function (context) {
1566
- return this.g38(context);
1584
+ protoOf(StateBacktracking).e30 = function (context) {
1585
+ return this.j30(context);
1567
1586
  };
1568
- protoOf(StateBacktracking).g38 = function (context) {
1587
+ protoOf(StateBacktracking).clone = function (context, $super) {
1588
+ return this.clone(context, ($super == null ? true : $super instanceof StateBacktracking) ? $super : THROW_CCE());
1589
+ };
1590
+ protoOf(StateBacktracking).j30 = function (context) {
1569
1591
  return new StateBacktracking(context);
1570
1592
  };
1571
1593
  protoOf(StateBacktracking).toString = function () {
1572
- return 'StateBacktracking(context=' + this.f38_1 + ')';
1594
+ return 'StateBacktracking(context=' + this.i30_1.toString() + ')';
1573
1595
  };
1574
1596
  protoOf(StateBacktracking).hashCode = function () {
1575
- return this.f38_1.hashCode();
1597
+ return this.i30_1.hashCode();
1576
1598
  };
1577
1599
  protoOf(StateBacktracking).equals = function (other) {
1578
1600
  if (this === other)
1579
1601
  return true;
1580
1602
  if (!(other instanceof StateBacktracking))
1581
1603
  return false;
1582
- var tmp0_other_with_cast = other instanceof StateBacktracking ? other : THROW_CCE();
1583
- if (!this.f38_1.equals(tmp0_other_with_cast.f38_1))
1604
+ if (!this.i30_1.equals(other.i30_1))
1584
1605
  return false;
1585
1606
  return true;
1586
1607
  };
1587
1608
  function StateEnd(solution, context) {
1588
1609
  AbstractEndState.call(this, solution, context);
1589
- this.l38_1 = solution;
1590
- this.m38_1 = context;
1610
+ this.o30_1 = solution;
1611
+ this.p30_1 = context;
1591
1612
  }
1592
- protoOf(StateEnd).x2i = function () {
1593
- return this.l38_1;
1613
+ protoOf(StateEnd).f2f = function () {
1614
+ return this.o30_1;
1594
1615
  };
1595
- protoOf(StateEnd).uc = function () {
1596
- return this.m38_1;
1616
+ protoOf(StateEnd).h8 = function () {
1617
+ return this.p30_1;
1597
1618
  };
1598
- protoOf(StateEnd).z37 = function () {
1619
+ protoOf(StateEnd).z2z = function () {
1599
1620
  return false;
1600
1621
  };
1601
- protoOf(StateEnd).s37 = function () {
1622
+ protoOf(StateEnd).v2z = function () {
1602
1623
  var tmp;
1603
- if (this.m38_1.w34()) {
1604
- var tmp0_$this = this.m38_1;
1605
- var tmp1_step = this.b38();
1606
- var tmp2_startTime = this.a38();
1607
- tmp = new StateBacktracking(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1624
+ if (this.p30_1.z2w()) {
1625
+ var tmp0_$this = this.p30_1;
1626
+ var tmp1_step = this.b30();
1627
+ var tmp2_startTime = this.a30();
1628
+ tmp = new StateBacktracking(tmp0_$this.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1608
1629
  } else {
1609
- tmp = protoOf(AbstractEndState).s37.call(this);
1630
+ tmp = protoOf(AbstractEndState).v2z.call(this);
1610
1631
  }
1611
1632
  return tmp;
1612
1633
  };
1613
- protoOf(StateEnd).x37 = function (context) {
1614
- return this.n38(this.l38_1, context);
1634
+ protoOf(StateEnd).e30 = function (context) {
1635
+ return this.q30(this.o30_1, context);
1636
+ };
1637
+ protoOf(StateEnd).clone = function (context, $super) {
1638
+ return this.clone(context, ($super == null ? true : $super instanceof StateEnd) ? $super : THROW_CCE());
1615
1639
  };
1616
- protoOf(StateEnd).n38 = function (solution, context) {
1640
+ protoOf(StateEnd).q30 = function (solution, context) {
1617
1641
  return new StateEnd(solution, context);
1618
1642
  };
1619
1643
  protoOf(StateEnd).toString = function () {
1620
- return 'StateEnd(solution=' + this.l38_1 + ', context=' + this.m38_1 + ')';
1644
+ return 'StateEnd(solution=' + toString(this.o30_1) + ', context=' + this.p30_1.toString() + ')';
1621
1645
  };
1622
1646
  protoOf(StateEnd).hashCode = function () {
1623
- var result = hashCode(this.l38_1);
1624
- result = imul(result, 31) + this.m38_1.hashCode() | 0;
1647
+ var result = hashCode(this.o30_1);
1648
+ result = imul(result, 31) + this.p30_1.hashCode() | 0;
1625
1649
  return result;
1626
1650
  };
1627
1651
  protoOf(StateEnd).equals = function (other) {
@@ -1629,20 +1653,19 @@
1629
1653
  return true;
1630
1654
  if (!(other instanceof StateEnd))
1631
1655
  return false;
1632
- var tmp0_other_with_cast = other instanceof StateEnd ? other : THROW_CCE();
1633
- if (!equals(this.l38_1, tmp0_other_with_cast.l38_1))
1656
+ if (!equals(this.o30_1, other.o30_1))
1634
1657
  return false;
1635
- if (!this.m38_1.equals(tmp0_other_with_cast.m38_1))
1658
+ if (!this.p30_1.equals(other.p30_1))
1636
1659
  return false;
1637
1660
  return true;
1638
1661
  };
1639
1662
  protoOf(StateEnd).asEndState = function () {
1640
- return this.u37();
1663
+ return this.d30();
1641
1664
  };
1642
- function isCatch(_this__u8e3s4, $this) {
1665
+ function isCatch($this, _this__u8e3s4) {
1643
1666
  var tmp;
1644
- if (_this__u8e3s4.kw() === 3) {
1645
- var tmp_0 = _this__u8e3s4.qw();
1667
+ if (_this__u8e3s4.tt() === 3) {
1668
+ var tmp_0 = _this__u8e3s4.zt();
1646
1669
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1647
1670
  tmp = tmp_0 === Catch_getInstance().signature.name;
1648
1671
  } else {
@@ -1650,16 +1673,16 @@
1650
1673
  }
1651
1674
  return tmp;
1652
1675
  }
1653
- function getExceptionContent(_this__u8e3s4, $this) {
1676
+ function getExceptionContent($this, _this__u8e3s4) {
1654
1677
  var tmp;
1655
1678
  if (_this__u8e3s4 instanceof MessageError) {
1656
- tmp = _this__u8e3s4.a27();
1679
+ tmp = _this__u8e3s4.s23();
1657
1680
  } else {
1658
- tmp = _this__u8e3s4.c25();
1681
+ tmp = _this__u8e3s4.u21();
1659
1682
  }
1660
1683
  return tmp;
1661
1684
  }
1662
- function toPublicException(_this__u8e3s4, $this) {
1685
+ function toPublicException($this, _this__u8e3s4) {
1663
1686
  var tmp;
1664
1687
  if (_this__u8e3s4 instanceof MessageError) {
1665
1688
  tmp = Companion_instance_9.forUncaughtError(_this__u8e3s4);
@@ -1669,17 +1692,17 @@
1669
1692
  return tmp;
1670
1693
  }
1671
1694
  function _get_finalState__3aigq8($this) {
1672
- return new StateHalt(toPublicException($this.q38_1, $this), $this.r38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
1695
+ return new StateHalt(toPublicException($this, $this.t30_1), $this.u30_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
1673
1696
  }
1674
1697
  function _get_handleExceptionInParentContext__yj3v4e($this) {
1675
- return new StateException($this.q38_1, ensureNotNull($this.r38_1.q33_1).p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
1698
+ return new StateException($this.t30_1, ensureNotNull($this.u30_1.t2v_1).s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
1676
1699
  }
1677
1700
  function handleStruct($this, unificator, catchGoal, error) {
1678
1701
  var tmp;
1679
- if (isCatch(catchGoal, $this)) {
1680
- var catcher = unificator.mgu(catchGoal.get(1), getExceptionContent(error, $this));
1702
+ if (isCatch($this, catchGoal)) {
1703
+ var catcher = unificator.mgu(catchGoal.get(1), getExceptionContent($this, error));
1681
1704
  tmp = handleCatch($this, catchGoal, catcher);
1682
- } else if ($this.r38_1.l36()) {
1705
+ } else if ($this.u30_1.p2y()) {
1683
1706
  tmp = _get_finalState__3aigq8($this);
1684
1707
  } else {
1685
1708
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1688,18 +1711,18 @@
1688
1711
  }
1689
1712
  function handleCatch($this, catchGoal, catcher) {
1690
1713
  var tmp;
1691
- if (catcher.w12()) {
1692
- var tmp_0 = $this.r38_1.i33_1.plus(catcher);
1714
+ if (catcher.f10()) {
1715
+ var tmp_0 = $this.u30_1.l2v_1.plus(catcher);
1693
1716
  var newSubstitution = tmp_0.filterEntry(StateException$handleCatch$lambda($this));
1694
1717
  var subGoals = catchGoal.get(2).getSubstituted(newSubstitution, []);
1695
- var newGoals = plus_0(toGoals(subGoals), $this.r38_1.k33_1.er());
1696
- var tmp0_$this = $this.r38_1;
1718
+ var newGoals = plus_0(toGoals(subGoals), $this.u30_1.n2v_1.jp());
1719
+ var tmp0_$this = $this.u30_1;
1697
1720
  var tmp1_rules = Companion_instance_7.empty();
1698
1721
  var tmp2_primitives = Companion_instance_7.empty();
1699
1722
  var tmp3_substitution = newSubstitution.castToUnifier();
1700
- var tmp4_step = $this.b38();
1701
- tmp = new StateGoalSelection(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_substitution, VOID, newGoals, tmp1_rules, tmp2_primitives, VOID, VOID, VOID, VOID, VOID, tmp4_step));
1702
- } else if ($this.r38_1.l36()) {
1723
+ var tmp4_step = $this.b30();
1724
+ tmp = new StateGoalSelection(tmp0_$this.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_substitution, VOID, newGoals, tmp1_rules, tmp2_primitives, VOID, VOID, VOID, VOID, VOID, tmp4_step));
1725
+ } else if ($this.u30_1.p2y()) {
1703
1726
  tmp = _get_finalState__3aigq8($this);
1704
1727
  } else {
1705
1728
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1707,42 +1730,45 @@
1707
1730
  return tmp;
1708
1731
  }
1709
1732
  function StateException$handleCatch$lambda(this$0) {
1710
- return function (_name_for_destructuring_parameter_0__wldtmu) {
1733
+ return function (_destruct__k2r9zo) {
1711
1734
  // Inline function 'kotlin.collections.component1' call
1712
- var it = _name_for_destructuring_parameter_0__wldtmu.q2();
1713
- return this$0.r38_1.n36(it);
1735
+ var it = _destruct__k2r9zo.d2();
1736
+ return this$0.u30_1.q2y(it);
1714
1737
  };
1715
1738
  }
1716
1739
  function StateException(exception, context) {
1717
1740
  AbstractState.call(this, context);
1718
- this.q38_1 = exception;
1719
- this.r38_1 = context;
1741
+ this.t30_1 = exception;
1742
+ this.u30_1 = context;
1720
1743
  }
1721
- protoOf(StateException).uc = function () {
1722
- return this.r38_1;
1744
+ protoOf(StateException).h8 = function () {
1745
+ return this.u30_1;
1723
1746
  };
1724
- protoOf(StateException).s37 = function () {
1747
+ protoOf(StateException).v2z = function () {
1725
1748
  var tmp;
1726
- if (this.q38_1 instanceof LogicError) {
1727
- var catchGoal = ensureNotNull(this.r38_1.m36());
1728
- tmp = catchGoal.ww() ? handleStruct(this, this.r38_1.z32_1, catchGoal.castToStruct(), this.q38_1) : this.r38_1.l36() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1749
+ if (this.t30_1 instanceof LogicError) {
1750
+ var catchGoal = ensureNotNull(this.u30_1.n2y());
1751
+ tmp = catchGoal.fu() ? handleStruct(this, this.u30_1.c2v_1, catchGoal.castToStruct(), this.t30_1) : this.u30_1.p2y() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1729
1752
  } else {
1730
1753
  tmp = _get_finalState__3aigq8(this);
1731
1754
  }
1732
1755
  return tmp;
1733
1756
  };
1734
- protoOf(StateException).x37 = function (context) {
1735
- return this.s38(this.q38_1, context);
1757
+ protoOf(StateException).e30 = function (context) {
1758
+ return this.v30(this.t30_1, context);
1759
+ };
1760
+ protoOf(StateException).clone = function (context, $super) {
1761
+ return this.clone(context, ($super == null ? true : $super instanceof StateException) ? $super : THROW_CCE());
1736
1762
  };
1737
- protoOf(StateException).s38 = function (exception, context) {
1763
+ protoOf(StateException).v30 = function (exception, context) {
1738
1764
  return new StateException(exception, context);
1739
1765
  };
1740
1766
  protoOf(StateException).toString = function () {
1741
- return 'StateException(exception=' + this.q38_1 + ', context=' + this.r38_1 + ')';
1767
+ return 'StateException(exception=' + this.t30_1.toString() + ', context=' + this.u30_1.toString() + ')';
1742
1768
  };
1743
1769
  protoOf(StateException).hashCode = function () {
1744
- var result = hashCode(this.q38_1);
1745
- result = imul(result, 31) + this.r38_1.hashCode() | 0;
1770
+ var result = hashCode(this.t30_1);
1771
+ result = imul(result, 31) + this.u30_1.hashCode() | 0;
1746
1772
  return result;
1747
1773
  };
1748
1774
  protoOf(StateException).equals = function (other) {
@@ -1750,105 +1776,107 @@
1750
1776
  return true;
1751
1777
  if (!(other instanceof StateException))
1752
1778
  return false;
1753
- var tmp0_other_with_cast = other instanceof StateException ? other : THROW_CCE();
1754
- if (!equals(this.q38_1, tmp0_other_with_cast.q38_1))
1779
+ if (!equals(this.t30_1, other.t30_1))
1755
1780
  return false;
1756
- if (!this.r38_1.equals(tmp0_other_with_cast.r38_1))
1781
+ if (!this.u30_1.equals(other.u30_1))
1757
1782
  return false;
1758
1783
  return true;
1759
1784
  };
1760
1785
  function StateGoalSelection$computeNext$lambda(this$0) {
1761
- return function (_name_for_destructuring_parameter_0__wldtmu) {
1786
+ return function (_destruct__k2r9zo) {
1762
1787
  // Inline function 'kotlin.collections.component1' call
1763
- var it = _name_for_destructuring_parameter_0__wldtmu.q2();
1764
- return this$0.v38_1.n36(it);
1788
+ var it = _destruct__k2r9zo.d2();
1789
+ return this$0.y30_1.q2y(it);
1765
1790
  };
1766
1791
  }
1767
1792
  function StateGoalSelection(context) {
1768
1793
  AbstractState.call(this, context);
1769
- this.v38_1 = context;
1794
+ this.y30_1 = context;
1770
1795
  }
1771
- protoOf(StateGoalSelection).uc = function () {
1772
- return this.v38_1;
1796
+ protoOf(StateGoalSelection).h8 = function () {
1797
+ return this.y30_1;
1773
1798
  };
1774
- protoOf(StateGoalSelection).s37 = function () {
1799
+ protoOf(StateGoalSelection).v2z = function () {
1775
1800
  var tmp;
1776
- if (this.v38_1.k33_1.hr()) {
1801
+ if (this.y30_1.n2v_1.mp()) {
1777
1802
  var tmp_0;
1778
- if (this.v38_1.l36()) {
1779
- tmp_0 = new StateEnd(Companion_instance_8.o1w(this.v38_1.j33_1, this.v38_1.i33_1), this.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1803
+ if (this.y30_1.p2y()) {
1804
+ tmp_0 = new StateEnd(Companion_instance_8.w1t(this.y30_1.m2v_1, this.y30_1.l2v_1), this.y30_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30()));
1780
1805
  } else {
1781
1806
  // Inline function 'kotlin.let' call
1782
- // Inline function 'kotlin.contracts.contract' call
1783
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateGoalSelection.computeNext.<anonymous>' call
1784
- var it = ensureNotNull(this.v38_1.q33_1);
1785
- var tmp0_choicePoints = this.v38_1.p33_1;
1786
- var tmp1_flags = this.v38_1.b33_1;
1787
- var tmp2_dynamicKb = this.v38_1.d33_1;
1788
- var tmp3_staticKb = this.v38_1.c33_1;
1789
- var tmp4_substitution = this.v38_1.i33_1.q12(StateGoalSelection$computeNext$lambda(this));
1790
- var tmp5_goals = it.k33_1.er();
1791
- var tmp6_procedure = it.y32_1;
1792
- var tmp7_step = this.b38();
1793
- var tmp8_startTime = this.v38_1.n33_1;
1794
- var tmp9_operators = this.v38_1.e33_1;
1795
- var tmp10_inputChannels = this.v38_1.f33_1;
1796
- var tmp11_outputChannels = this.v38_1.g33_1;
1797
- var tmp12_libraries = this.v38_1.a33_1;
1798
- var tmp13_customData = this.v38_1.h33_1;
1799
- var tmp$ret$1 = it.p34(tmp6_procedure, VOID, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, VOID, tmp5_goals, VOID, VOID, tmp8_startTime, VOID, tmp0_choicePoints, VOID, VOID, tmp7_step);
1807
+ var it = ensureNotNull(this.y30_1.t2v_1);
1808
+ var tmp0_choicePoints = this.y30_1.s2v_1;
1809
+ var tmp1_flags = this.y30_1.e2v_1;
1810
+ var tmp2_dynamicKb = this.y30_1.g2v_1;
1811
+ var tmp3_staticKb = this.y30_1.f2v_1;
1812
+ var tmp4_substitution = this.y30_1.l2v_1.zz(StateGoalSelection$computeNext$lambda(this));
1813
+ var tmp5_goals = it.n2v_1.jp();
1814
+ var tmp6_procedure = it.b2v_1;
1815
+ var tmp7_step = this.b30();
1816
+ var tmp8_startTime = this.y30_1.q2v_1;
1817
+ var tmp9_operators = this.y30_1.h2v_1;
1818
+ var tmp10_inputChannels = this.y30_1.i2v_1;
1819
+ var tmp11_outputChannels = this.y30_1.j2v_1;
1820
+ var tmp12_libraries = this.y30_1.d2v_1;
1821
+ var tmp13_customData = this.y30_1.k2v_1;
1822
+ var tmp$ret$1 = it.s2w(tmp6_procedure, VOID, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, VOID, tmp5_goals, VOID, VOID, tmp8_startTime, VOID, tmp0_choicePoints, VOID, VOID, tmp7_step);
1800
1823
  tmp_0 = new StateGoalSelection(tmp$ret$1);
1801
1824
  }
1802
1825
  tmp = tmp_0;
1803
- } else if (equals(this.v38_1.b33_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().h29_1)) {
1804
- tmp = new StatePrimitiveSelection(this.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38(), plus_1(this.v38_1.t33_1, toSet(ensureNotNull(this.v38_1.k33_1.fr()).sw()))));
1826
+ } else if (equals(this.y30_1.e2v_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().z25_1)) {
1827
+ tmp = new StatePrimitiveSelection(this.y30_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30(), plus_1(this.y30_1.w2v_1, toSet(ensureNotNull(this.y30_1.n2v_1.kp()).bu()))));
1805
1828
  } else {
1806
- tmp = new StatePrimitiveSelection(this.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1829
+ tmp = new StatePrimitiveSelection(this.y30_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30()));
1807
1830
  }
1808
1831
  return tmp;
1809
1832
  };
1810
- protoOf(StateGoalSelection).x37 = function (context) {
1811
- return this.g38(context);
1833
+ protoOf(StateGoalSelection).e30 = function (context) {
1834
+ return this.j30(context);
1812
1835
  };
1813
- protoOf(StateGoalSelection).g38 = function (context) {
1836
+ protoOf(StateGoalSelection).clone = function (context, $super) {
1837
+ return this.clone(context, ($super == null ? true : $super instanceof StateGoalSelection) ? $super : THROW_CCE());
1838
+ };
1839
+ protoOf(StateGoalSelection).j30 = function (context) {
1814
1840
  return new StateGoalSelection(context);
1815
1841
  };
1816
1842
  protoOf(StateGoalSelection).toString = function () {
1817
- return 'StateGoalSelection(context=' + this.v38_1 + ')';
1843
+ return 'StateGoalSelection(context=' + this.y30_1.toString() + ')';
1818
1844
  };
1819
1845
  protoOf(StateGoalSelection).hashCode = function () {
1820
- return this.v38_1.hashCode();
1846
+ return this.y30_1.hashCode();
1821
1847
  };
1822
1848
  protoOf(StateGoalSelection).equals = function (other) {
1823
1849
  if (this === other)
1824
1850
  return true;
1825
1851
  if (!(other instanceof StateGoalSelection))
1826
1852
  return false;
1827
- var tmp0_other_with_cast = other instanceof StateGoalSelection ? other : THROW_CCE();
1828
- if (!this.v38_1.equals(tmp0_other_with_cast.v38_1))
1853
+ if (!this.y30_1.equals(other.y30_1))
1829
1854
  return false;
1830
1855
  return true;
1831
1856
  };
1832
1857
  function StateHalt(exception, context) {
1833
- AbstractEndState.call(this, Companion_instance_8.halt(context.j33_1, exception), context);
1834
- this.a39_1 = exception;
1835
- this.b39_1 = context;
1858
+ AbstractEndState.call(this, Companion_instance_8.halt(context.m2v_1, exception), context);
1859
+ this.d31_1 = exception;
1860
+ this.e31_1 = context;
1836
1861
  }
1837
- protoOf(StateHalt).uc = function () {
1838
- return this.b39_1;
1862
+ protoOf(StateHalt).h8 = function () {
1863
+ return this.e31_1;
1864
+ };
1865
+ protoOf(StateHalt).e30 = function (context) {
1866
+ return this.v30(this.d31_1, context);
1839
1867
  };
1840
- protoOf(StateHalt).x37 = function (context) {
1841
- return this.s38(this.a39_1, context);
1868
+ protoOf(StateHalt).clone = function (context, $super) {
1869
+ return this.clone(context, ($super == null ? true : $super instanceof StateHalt) ? $super : THROW_CCE());
1842
1870
  };
1843
- protoOf(StateHalt).s38 = function (exception, context) {
1871
+ protoOf(StateHalt).v30 = function (exception, context) {
1844
1872
  return new StateHalt(exception, context);
1845
1873
  };
1846
1874
  protoOf(StateHalt).toString = function () {
1847
- return 'StateHalt(exception=' + this.a39_1 + ', context=' + this.b39_1 + ')';
1875
+ return 'StateHalt(exception=' + this.d31_1.toString() + ', context=' + this.e31_1.toString() + ')';
1848
1876
  };
1849
1877
  protoOf(StateHalt).hashCode = function () {
1850
- var result = hashCode(this.a39_1);
1851
- result = imul(result, 31) + this.b39_1.hashCode() | 0;
1878
+ var result = hashCode(this.d31_1);
1879
+ result = imul(result, 31) + this.e31_1.hashCode() | 0;
1852
1880
  return result;
1853
1881
  };
1854
1882
  protoOf(StateHalt).equals = function (other) {
@@ -1856,99 +1884,98 @@
1856
1884
  return true;
1857
1885
  if (!(other instanceof StateHalt))
1858
1886
  return false;
1859
- var tmp0_other_with_cast = other instanceof StateHalt ? other : THROW_CCE();
1860
- if (!equals(this.a39_1, tmp0_other_with_cast.a39_1))
1887
+ if (!equals(this.d31_1, other.d31_1))
1861
1888
  return false;
1862
- if (!this.b39_1.equals(tmp0_other_with_cast.b39_1))
1889
+ if (!this.e31_1.equals(other.e31_1))
1863
1890
  return false;
1864
1891
  return true;
1865
1892
  };
1866
1893
  protoOf(StateHalt).asEndState = function () {
1867
- return this.u37();
1894
+ return this.d30();
1868
1895
  };
1869
1896
  function StateInit(context) {
1870
1897
  AbstractState.call(this, context);
1871
- this.e39_1 = context;
1898
+ this.h31_1 = context;
1872
1899
  }
1873
- protoOf(StateInit).uc = function () {
1874
- return this.e39_1;
1900
+ protoOf(StateInit).h8 = function () {
1901
+ return this.h31_1;
1875
1902
  };
1876
- protoOf(StateInit).s37 = function () {
1877
- var tmp0_$this = this.e39_1;
1878
- var tmp1_goals = toGoals(this.e39_1.j33_1);
1903
+ protoOf(StateInit).v2z = function () {
1904
+ var tmp0_$this = this.h31_1;
1905
+ var tmp1_goals = toGoals(this.h31_1.m2v_1);
1879
1906
  var tmp2_rules = Companion_instance_7.empty();
1880
1907
  var tmp3_primitives = Companion_instance_7.empty();
1881
1908
  var tmp4_substitution = Companion_getInstance_2().empty();
1882
- var tmp5_customData = this.e39_1.h33_1.preservePersistent();
1909
+ var tmp5_customData = this.h31_1.k2v_1.preservePersistent();
1883
1910
  var tmp6_relevantVariables = emptySet();
1884
- return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp5_customData, tmp4_substitution, VOID, tmp1_goals, tmp2_rules, tmp3_primitives, VOID, VOID, null, null, 0, new Long(1, 0), tmp6_relevantVariables), Companion_instance_7.empty()));
1911
+ return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp5_customData, tmp4_substitution, VOID, tmp1_goals, tmp2_rules, tmp3_primitives, VOID, VOID, null, null, 0, 1n, tmp6_relevantVariables), Companion_instance_7.empty()));
1885
1912
  };
1886
- protoOf(StateInit).x37 = function (context) {
1887
- return this.g38(context);
1913
+ protoOf(StateInit).e30 = function (context) {
1914
+ return this.j30(context);
1888
1915
  };
1889
- protoOf(StateInit).g38 = function (context) {
1916
+ protoOf(StateInit).clone = function (context, $super) {
1917
+ return this.clone(context, ($super == null ? true : $super instanceof StateInit) ? $super : THROW_CCE());
1918
+ };
1919
+ protoOf(StateInit).j30 = function (context) {
1890
1920
  return new StateInit(context);
1891
1921
  };
1892
1922
  protoOf(StateInit).toString = function () {
1893
- return 'StateInit(context=' + this.e39_1 + ')';
1923
+ return 'StateInit(context=' + this.h31_1.toString() + ')';
1894
1924
  };
1895
1925
  protoOf(StateInit).hashCode = function () {
1896
- return this.e39_1.hashCode();
1926
+ return this.h31_1.hashCode();
1897
1927
  };
1898
1928
  protoOf(StateInit).equals = function (other) {
1899
1929
  if (this === other)
1900
1930
  return true;
1901
1931
  if (!(other instanceof StateInit))
1902
1932
  return false;
1903
- var tmp0_other_with_cast = other instanceof StateInit ? other : THROW_CCE();
1904
- if (!this.e39_1.equals(tmp0_other_with_cast.e39_1))
1933
+ if (!this.h31_1.equals(other.h31_1))
1905
1934
  return false;
1906
1935
  return true;
1907
1936
  };
1908
- function copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution) {
1909
- var tmp0_safe_receiver = _this__u8e3s4.m33_1.fr();
1937
+ function copyFromCurrentPrimitive($this, _this__u8e3s4, goals, procedureFromAncestor, substitution) {
1938
+ var tmp0_safe_receiver = _this__u8e3s4.p2v_1.kp();
1910
1939
  var tmp;
1911
1940
  if (tmp0_safe_receiver == null) {
1912
1941
  tmp = null;
1913
1942
  } else {
1914
1943
  // Inline function 'kotlin.let' call
1915
- // Inline function 'kotlin.contracts.contract' call
1916
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveExecution.copyFromCurrentPrimitive.<anonymous>' call
1917
- tmp = _this__u8e3s4.p36(tmp0_safe_receiver.sideEffects);
1944
+ tmp = _this__u8e3s4.s2y(tmp0_safe_receiver.sideEffects);
1918
1945
  }
1919
1946
  var tmp1_elvis_lhs = tmp;
1920
1947
  var ctx = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
1921
- var tmp4_goals = goals == null ? _this__u8e3s4.k33_1 : goals;
1922
- var tmp_0 = drop(_this__u8e3s4.u33_1, procedureFromAncestor);
1948
+ var tmp4_goals = goals == null ? _this__u8e3s4.n2v_1 : goals;
1949
+ var tmp_0 = drop(_this__u8e3s4.x2v_1, procedureFromAncestor);
1923
1950
  var tmp5_procedure = first(map(tmp_0, StatePrimitiveExecution$copyFromCurrentPrimitive$lambda));
1924
1951
  var tmp6_primitives = Companion_instance_7.empty();
1925
- var tmp_1 = substitution == null ? _this__u8e3s4.i33_1 : substitution;
1952
+ var tmp_1 = substitution == null ? _this__u8e3s4.l2v_1 : substitution;
1926
1953
  var tmp7_substitution = isInterface(tmp_1, Unifier) ? tmp_1 : THROW_CCE();
1927
- var tmp8_step = $this.b38();
1928
- return ctx.p34(tmp5_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp7_substitution, VOID, tmp4_goals, VOID, tmp6_primitives, VOID, VOID, VOID, VOID, VOID, tmp8_step);
1954
+ var tmp8_step = $this.b30();
1955
+ return ctx.s2w(tmp5_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp7_substitution, VOID, tmp4_goals, VOID, tmp6_primitives, VOID, VOID, VOID, VOID, VOID, tmp8_step);
1929
1956
  }
1930
- function copyFromCurrentPrimitive$default(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution, $super) {
1957
+ function copyFromCurrentPrimitive$default($this, _this__u8e3s4, goals, procedureFromAncestor, substitution, $super) {
1931
1958
  goals = goals === VOID ? null : goals;
1932
1959
  procedureFromAncestor = procedureFromAncestor === VOID ? 0 : procedureFromAncestor;
1933
1960
  substitution = substitution === VOID ? null : substitution;
1934
- return copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution);
1961
+ return copyFromCurrentPrimitive($this, _this__u8e3s4, goals, procedureFromAncestor, substitution);
1935
1962
  }
1936
1963
  function StatePrimitiveExecution$copyFromCurrentPrimitive$lambda(it) {
1937
- return it.y32_1;
1964
+ return it.b2v_1;
1938
1965
  }
1939
1966
  function StatePrimitiveExecution$computeNext$lambda(this$0) {
1940
1967
  return function (it) {
1941
- return new StateGoalSelection(copyFromCurrentPrimitive(this$0.h39_1, this$0, this$0.h39_1.k33_1.er(), 1, this$0.h39_1.z32_1.mergeWithOccurCheck(this$0.h39_1.i33_1, it.y1u(), false)));
1968
+ return new StateGoalSelection(copyFromCurrentPrimitive(this$0, this$0.k31_1, this$0.k31_1.n2v_1.jp(), 1, this$0.k31_1.c2v_1.mergeWithOccurCheck(this$0.k31_1.l2v_1, it.g1s(), false)));
1942
1969
  };
1943
1970
  }
1944
1971
  function StatePrimitiveExecution$computeNext$lambda_0(this$0) {
1945
1972
  return function (it) {
1946
- return new StateBacktracking(copyFromCurrentPrimitive$default(ensureNotNull(this$0.h39_1.q33_1), this$0));
1973
+ return new StateBacktracking(copyFromCurrentPrimitive$default(this$0, ensureNotNull(this$0.k31_1.t2v_1)));
1947
1974
  };
1948
1975
  }
1949
1976
  function StatePrimitiveExecution$computeNext$lambda_1(this$0) {
1950
1977
  return function (it) {
1951
- return new StateException(it.f1w().updateLastContext(this$0.c38(this$0.h39_1)), copyFromCurrentPrimitive$default(this$0.h39_1, this$0));
1978
+ return new StateException(it.m1t().updateLastContext(this$0.f30(this$0.k31_1)), copyFromCurrentPrimitive$default(this$0, this$0.k31_1));
1952
1979
  };
1953
1980
  }
1954
1981
  function StatePrimitiveExecution$computeNext$lambda_2(it) {
@@ -1956,15 +1983,15 @@
1956
1983
  }
1957
1984
  function StatePrimitiveExecution(context) {
1958
1985
  AbstractState.call(this, context);
1959
- this.h39_1 = context;
1986
+ this.k31_1 = context;
1960
1987
  }
1961
- protoOf(StatePrimitiveExecution).uc = function () {
1962
- return this.h39_1;
1988
+ protoOf(StatePrimitiveExecution).h8 = function () {
1989
+ return this.k31_1;
1963
1990
  };
1964
- protoOf(StatePrimitiveExecution).s37 = function () {
1991
+ protoOf(StatePrimitiveExecution).v2z = function () {
1965
1992
  var tmp;
1966
1993
  try {
1967
- var tmp0_safe_receiver = this.h39_1.m33_1.fr();
1994
+ var tmp0_safe_receiver = this.k31_1.p2v_1.kp();
1968
1995
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.solution;
1969
1996
  var tmp_0;
1970
1997
  if (tmp1_safe_receiver == null) {
@@ -1973,15 +2000,15 @@
1973
2000
  var tmp_1 = StatePrimitiveExecution$computeNext$lambda(this);
1974
2001
  var tmp_2 = StatePrimitiveExecution$computeNext$lambda_0(this);
1975
2002
  var tmp_3 = StatePrimitiveExecution$computeNext$lambda_1(this);
1976
- tmp_0 = tmp1_safe_receiver.j1w(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
2003
+ tmp_0 = tmp1_safe_receiver.q1t(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
1977
2004
  }
1978
2005
  var tmp2_elvis_lhs = tmp_0;
1979
- tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive$default(this.h39_1, this)) : tmp2_elvis_lhs;
2006
+ tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive$default(this, this.k31_1)) : tmp2_elvis_lhs;
1980
2007
  } catch ($p) {
1981
2008
  var tmp_4;
1982
2009
  if ($p instanceof ResolutionException) {
1983
2010
  var exception = $p;
1984
- tmp_4 = new StateException(exception.updateLastContext(this.c38(this.h39_1)), this.h39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
2011
+ tmp_4 = new StateException(exception.updateLastContext(this.f30(this.k31_1)), this.k31_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30()));
1985
2012
  } else {
1986
2013
  throw $p;
1987
2014
  }
@@ -1989,57 +2016,57 @@
1989
2016
  }
1990
2017
  return tmp;
1991
2018
  };
1992
- protoOf(StatePrimitiveExecution).x37 = function (context) {
1993
- return this.g38(context);
2019
+ protoOf(StatePrimitiveExecution).e30 = function (context) {
2020
+ return this.j30(context);
2021
+ };
2022
+ protoOf(StatePrimitiveExecution).clone = function (context, $super) {
2023
+ return this.clone(context, ($super == null ? true : $super instanceof StatePrimitiveExecution) ? $super : THROW_CCE());
1994
2024
  };
1995
- protoOf(StatePrimitiveExecution).g38 = function (context) {
2025
+ protoOf(StatePrimitiveExecution).j30 = function (context) {
1996
2026
  return new StatePrimitiveExecution(context);
1997
2027
  };
1998
2028
  protoOf(StatePrimitiveExecution).toString = function () {
1999
- return 'StatePrimitiveExecution(context=' + this.h39_1 + ')';
2029
+ return 'StatePrimitiveExecution(context=' + this.k31_1.toString() + ')';
2000
2030
  };
2001
2031
  protoOf(StatePrimitiveExecution).hashCode = function () {
2002
- return this.h39_1.hashCode();
2032
+ return this.k31_1.hashCode();
2003
2033
  };
2004
2034
  protoOf(StatePrimitiveExecution).equals = function (other) {
2005
2035
  if (this === other)
2006
2036
  return true;
2007
2037
  if (!(other instanceof StatePrimitiveExecution))
2008
2038
  return false;
2009
- var tmp0_other_with_cast = other instanceof StatePrimitiveExecution ? other : THROW_CCE();
2010
- if (!this.h39_1.equals(tmp0_other_with_cast.h39_1))
2039
+ if (!this.k31_1.equals(other.k31_1))
2011
2040
  return false;
2012
2041
  return true;
2013
2042
  };
2014
2043
  function exceptionalState($this, exception) {
2015
- return new StateException(exception, $this.k39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2044
+ return new StateException(exception, $this.n31_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
2016
2045
  }
2017
2046
  function StatePrimitiveSelection(context) {
2018
2047
  AbstractState.call(this, context);
2019
- this.k39_1 = context;
2048
+ this.n31_1 = context;
2020
2049
  }
2021
- protoOf(StatePrimitiveSelection).uc = function () {
2022
- return this.k39_1;
2050
+ protoOf(StatePrimitiveSelection).h8 = function () {
2051
+ return this.n31_1;
2023
2052
  };
2024
- protoOf(StatePrimitiveSelection).s37 = function () {
2053
+ protoOf(StatePrimitiveSelection).v2z = function () {
2025
2054
  // Inline function 'kotlin.with' call
2026
- // Inline function 'kotlin.contracts.contract' call
2027
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveSelection.computeNext.<anonymous>' call
2028
- var $this$with = this.k39_1;
2029
- var goal = ensureNotNull($this$with.m36());
2055
+ var $this$with = this.n31_1;
2056
+ var goal = ensureNotNull($this$with.n2y());
2030
2057
  var tmp;
2031
- if (goal.mx()) {
2032
- tmp = exceptionalState(this, Companion_instance_11.forGoal(this.k39_1, extractSignature(ensureNotNull(this.k39_1.y32_1)), goal.castToVar()));
2033
- } else if (goal.ww()) {
2058
+ if (goal.vu()) {
2059
+ tmp = exceptionalState(this, Companion_instance_11.forGoal(this.n31_1, extractSignature(ensureNotNull(this.n31_1.b2v_1)), goal.castToVar()));
2060
+ } else if (goal.fu()) {
2034
2061
  var goalStruct = goal.castToStruct();
2035
2062
  var signature = extractSignature(goalStruct);
2036
2063
  var tmp_0;
2037
- if ($this$with.a33_1.hasPrimitive(signature)) {
2064
+ if ($this$with.d2v_1.hasPrimitive(signature)) {
2038
2065
  var childContext = createChild($this$with);
2039
2066
  var tmp_1;
2040
2067
  try {
2041
- var request = toRequest(childContext, goalStruct, signature, this.y37());
2042
- var tmp0_elvis_lhs = $this$with.a33_1.i2e().x2(signature);
2068
+ var request = toRequest(childContext, goalStruct, signature, this.y2z());
2069
+ var tmp0_elvis_lhs = $this$with.d2v_1.x2a().h2(signature);
2043
2070
  var tmp_2;
2044
2071
  if (tmp0_elvis_lhs == null) {
2045
2072
  var message = 'Inconsistent behaviour of Library.contains and Library.get';
@@ -2054,7 +2081,7 @@
2054
2081
  var tmp_3;
2055
2082
  if ($p instanceof ResolutionException) {
2056
2083
  var exception = $p;
2057
- tmp_3 = exceptionalState(this, exception.updateLastContext(this.c38(childContext)));
2084
+ tmp_3 = exceptionalState(this, exception.updateLastContext(this.f30(childContext)));
2058
2085
  } else {
2059
2086
  throw $p;
2060
2087
  }
@@ -2062,104 +2089,106 @@
2062
2089
  }
2063
2090
  tmp_0 = tmp_1;
2064
2091
  } else {
2065
- tmp_0 = new StateRuleSelection(this.k39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
2092
+ tmp_0 = new StateRuleSelection(this.n31_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b30()));
2066
2093
  }
2067
2094
  tmp = tmp_0;
2068
2095
  } else {
2069
2096
  var tmp_4 = Companion_instance_10;
2070
- var tmp1_safe_receiver = this.k39_1.y32_1;
2097
+ var tmp1_safe_receiver = this.n31_1.b2v_1;
2071
2098
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : extractSignature(tmp1_safe_receiver);
2072
- tmp = exceptionalState(this, tmp_4.forGoal(this.k39_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2099
+ tmp = exceptionalState(this, tmp_4.forGoal(this.n31_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2073
2100
  }
2074
2101
  return tmp;
2075
2102
  };
2076
- protoOf(StatePrimitiveSelection).x37 = function (context) {
2077
- return this.g38(context);
2103
+ protoOf(StatePrimitiveSelection).e30 = function (context) {
2104
+ return this.j30(context);
2105
+ };
2106
+ protoOf(StatePrimitiveSelection).clone = function (context, $super) {
2107
+ return this.clone(context, ($super == null ? true : $super instanceof StatePrimitiveSelection) ? $super : THROW_CCE());
2078
2108
  };
2079
- protoOf(StatePrimitiveSelection).g38 = function (context) {
2109
+ protoOf(StatePrimitiveSelection).j30 = function (context) {
2080
2110
  return new StatePrimitiveSelection(context);
2081
2111
  };
2082
2112
  protoOf(StatePrimitiveSelection).toString = function () {
2083
- return 'StatePrimitiveSelection(context=' + this.k39_1 + ')';
2113
+ return 'StatePrimitiveSelection(context=' + this.n31_1.toString() + ')';
2084
2114
  };
2085
2115
  protoOf(StatePrimitiveSelection).hashCode = function () {
2086
- return this.k39_1.hashCode();
2116
+ return this.n31_1.hashCode();
2087
2117
  };
2088
2118
  protoOf(StatePrimitiveSelection).equals = function (other) {
2089
2119
  if (this === other)
2090
2120
  return true;
2091
2121
  if (!(other instanceof StatePrimitiveSelection))
2092
2122
  return false;
2093
- var tmp0_other_with_cast = other instanceof StatePrimitiveSelection ? other : THROW_CCE();
2094
- if (!this.k39_1.equals(tmp0_other_with_cast.k39_1))
2123
+ if (!this.n31_1.equals(other.n31_1))
2095
2124
  return false;
2096
2125
  return true;
2097
2126
  };
2098
2127
  function _get_failureState__yid9tw($this) {
2099
- return new StateBacktracking($this.n39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2128
+ return new StateBacktracking($this.q31_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
2100
2129
  }
2101
2130
  function StateRuleExecution(context) {
2102
2131
  AbstractState.call(this, context);
2103
- this.n39_1 = context;
2132
+ this.q31_1 = context;
2104
2133
  }
2105
- protoOf(StateRuleExecution).uc = function () {
2106
- return this.n39_1;
2134
+ protoOf(StateRuleExecution).h8 = function () {
2135
+ return this.q31_1;
2107
2136
  };
2108
- protoOf(StateRuleExecution).s37 = function () {
2137
+ protoOf(StateRuleExecution).v2z = function () {
2109
2138
  // Inline function 'kotlin.with' call
2110
- // Inline function 'kotlin.contracts.contract' call
2111
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleExecution.computeNext.<anonymous>' call
2112
- var $this$with = this.n39_1;
2113
- var substitution = $this$with.z32_1.mgu(ensureNotNull($this$with.m36()), ensureNotNull($this$with.l33_1.fr()).wy());
2139
+ var $this$with = this.q31_1;
2140
+ var substitution = $this$with.c2v_1.mgu(ensureNotNull($this$with.n2y()), ensureNotNull($this$with.o2v_1.kp()).fw());
2114
2141
  var tmp;
2115
- if (substitution.w12()) {
2116
- var newSubstitution = this.n39_1.i33_1.plus(substitution).castToUnifier();
2117
- var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.n39_1.l33_1.fr()), newSubstitution).xy().getSubstituted(newSubstitution, []);
2118
- var tmp0_$this = this.n39_1;
2142
+ if (substitution.f10()) {
2143
+ var newSubstitution = this.q31_1.l2v_1.plus(substitution).castToUnifier();
2144
+ var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.q31_1.o2v_1.kp()), newSubstitution).gw().getSubstituted(newSubstitution, []);
2145
+ var tmp0_$this = this.q31_1;
2119
2146
  var tmp1_goals = toGoals(subGoals);
2120
2147
  var tmp2_rules = Companion_instance_7.empty();
2121
- var tmp3_step = this.b38();
2122
- tmp = new StateGoalSelection(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2148
+ var tmp3_step = this.b30();
2149
+ tmp = new StateGoalSelection(tmp0_$this.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2123
2150
  } else {
2124
2151
  tmp = _get_failureState__yid9tw(this);
2125
2152
  }
2126
2153
  return tmp;
2127
2154
  };
2128
- protoOf(StateRuleExecution).x37 = function (context) {
2129
- return this.g38(context);
2155
+ protoOf(StateRuleExecution).e30 = function (context) {
2156
+ return this.j30(context);
2130
2157
  };
2131
- protoOf(StateRuleExecution).g38 = function (context) {
2158
+ protoOf(StateRuleExecution).clone = function (context, $super) {
2159
+ return this.clone(context, ($super == null ? true : $super instanceof StateRuleExecution) ? $super : THROW_CCE());
2160
+ };
2161
+ protoOf(StateRuleExecution).j30 = function (context) {
2132
2162
  return new StateRuleExecution(context);
2133
2163
  };
2134
2164
  protoOf(StateRuleExecution).toString = function () {
2135
- return 'StateRuleExecution(context=' + this.n39_1 + ')';
2165
+ return 'StateRuleExecution(context=' + this.q31_1.toString() + ')';
2136
2166
  };
2137
2167
  protoOf(StateRuleExecution).hashCode = function () {
2138
- return this.n39_1.hashCode();
2168
+ return this.q31_1.hashCode();
2139
2169
  };
2140
2170
  protoOf(StateRuleExecution).equals = function (other) {
2141
2171
  if (this === other)
2142
2172
  return true;
2143
2173
  if (!(other instanceof StateRuleExecution))
2144
2174
  return false;
2145
- var tmp0_other_with_cast = other instanceof StateRuleExecution ? other : THROW_CCE();
2146
- if (!this.n39_1.equals(tmp0_other_with_cast.n39_1))
2175
+ if (!this.q31_1.equals(other.q31_1))
2147
2176
  return false;
2148
2177
  return true;
2149
2178
  };
2150
2179
  function None() {
2151
2180
  None_instance = this;
2152
2181
  CutLimit.call(this);
2153
- this.o39_1 = -1;
2154
- this.p39_1 = null;
2182
+ this.r31_1 = -1;
2183
+ this.s31_1 = null;
2155
2184
  }
2156
- protoOf(None).q39 = function () {
2157
- return this.o39_1;
2185
+ protoOf(None).t31 = function () {
2186
+ return this.r31_1;
2158
2187
  };
2159
- protoOf(None).x1u = function () {
2160
- return this.p39_1;
2188
+ protoOf(None).f1s = function () {
2189
+ return this.s31_1;
2161
2190
  };
2162
- protoOf(None).r39 = function () {
2191
+ protoOf(None).u31 = function () {
2163
2192
  return true;
2164
2193
  };
2165
2194
  var None_instance;
@@ -2170,51 +2199,50 @@
2170
2199
  }
2171
2200
  function Actual(depthToCut, procedure) {
2172
2201
  CutLimit.call(this);
2173
- this.s39_1 = depthToCut;
2174
- this.t39_1 = procedure;
2202
+ this.v31_1 = depthToCut;
2203
+ this.w31_1 = procedure;
2175
2204
  }
2176
- protoOf(Actual).q39 = function () {
2177
- return this.s39_1;
2205
+ protoOf(Actual).t31 = function () {
2206
+ return this.v31_1;
2178
2207
  };
2179
- protoOf(Actual).x1u = function () {
2180
- return this.t39_1;
2208
+ protoOf(Actual).f1s = function () {
2209
+ return this.w31_1;
2181
2210
  };
2182
2211
  function CutLimit() {
2183
2212
  }
2184
- protoOf(CutLimit).r39 = function () {
2213
+ protoOf(CutLimit).u31 = function () {
2185
2214
  return false;
2186
2215
  };
2187
2216
  function Companion_0() {
2188
2217
  Companion_instance_16 = this;
2189
- this.u39_1 = Catch_getInstance().signature;
2190
- this.v39_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2218
+ this.x31_1 = Catch_getInstance().signature;
2219
+ this.y31_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2191
2220
  }
2192
2221
  var Companion_instance_16;
2193
- function Companion_getInstance_7() {
2222
+ function Companion_getInstance_6() {
2194
2223
  if (Companion_instance_16 == null)
2195
2224
  new Companion_0();
2196
2225
  return Companion_instance_16;
2197
2226
  }
2198
2227
  function _get_failureState__yid9tw_0($this) {
2199
- return new StateBacktracking($this.y39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2228
+ return new StateBacktracking($this.b32_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
2200
2229
  }
2201
2230
  function exceptionalState_0($this, exception) {
2202
- return new StateException(exception, $this.y39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2231
+ return new StateException(exception, $this.b32_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
2203
2232
  }
2204
2233
  function missingProcedure($this, ruleSources, missing) {
2205
- var unknown = $this.y39_1.b33_1.get(Unknown_getInstance());
2234
+ var unknown = $this.b32_1.e2v_1.get(Unknown_getInstance());
2206
2235
  var tmp;
2207
- if (equals(unknown, Unknown_getInstance().n29_1)) {
2236
+ if (equals(unknown, Unknown_getInstance().f26_1)) {
2208
2237
  tmp = _get_failureState__yid9tw_0($this);
2209
2238
  } else {
2210
2239
  var tmp_0;
2211
2240
  var tmp$ret$1;
2212
2241
  $l$block: {
2213
2242
  // Inline function 'kotlin.sequences.none' call
2214
- var tmp0_iterator = ruleSources.r();
2215
- while (tmp0_iterator.s()) {
2216
- var element = tmp0_iterator.u();
2217
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2243
+ var _iterator__ex2g4s = ruleSources.p();
2244
+ while (_iterator__ex2g4s.s()) {
2245
+ var element = _iterator__ex2g4s.t();
2218
2246
  if (element.containsIndicator(missing.toIndicator())) {
2219
2247
  tmp$ret$1 = false;
2220
2248
  break $l$block;
@@ -2224,14 +2252,12 @@
2224
2252
  }
2225
2253
  if (tmp$ret$1) {
2226
2254
  var tmp_1;
2227
- if (equals(unknown, Unknown_getInstance().l29_1)) {
2228
- tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.y39_1, missing));
2229
- } else if (equals(unknown, Unknown_getInstance().m29_1)) {
2255
+ if (equals(unknown, Unknown_getInstance().d26_1)) {
2256
+ tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.b32_1, missing));
2257
+ } else if (equals(unknown, Unknown_getInstance().e26_1)) {
2230
2258
  // Inline function 'kotlin.also' call
2231
2259
  var this_0 = _get_failureState__yid9tw_0($this);
2232
- // Inline function 'kotlin.contracts.contract' call
2233
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2234
- $this.y39_1.p1v().write(MissingPredicate_init_$Create$($this.y39_1, missing));
2260
+ $this.b32_1.x1s().write(MissingPredicate_init_$Create$($this.b32_1, missing));
2235
2261
  tmp_1 = this_0;
2236
2262
  } else {
2237
2263
  tmp_1 = _get_failureState__yid9tw_0($this);
@@ -2245,25 +2271,25 @@
2245
2271
  return tmp;
2246
2272
  }
2247
2273
  function _get_ignoreState__t4wl8y($this) {
2248
- return new StateGoalSelection($this.y39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.y39_1.k33_1.er(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2274
+ return new StateGoalSelection($this.b32_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b32_1.n2v_1.jp(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b30()));
2249
2275
  }
2250
- function isCut(_this__u8e3s4, $this) {
2251
- return _this__u8e3s4.lw() ? _this__u8e3s4.castToAtom().r2() === '!' : false;
2276
+ function isCut($this, _this__u8e3s4) {
2277
+ return _this__u8e3s4.ut() && _this__u8e3s4.castToAtom().e2() === '!';
2252
2278
  }
2253
- function computeCutLimit(_this__u8e3s4, $this, magicCut) {
2279
+ function computeCutLimit($this, _this__u8e3s4, magicCut) {
2254
2280
  var tmp;
2255
2281
  if (magicCut) {
2256
- tmp = firstOrNull(_this__u8e3s4.u33_1);
2282
+ tmp = firstOrNull(_this__u8e3s4.x2v_1);
2257
2283
  } else {
2284
+ var tmp0 = _this__u8e3s4.x2v_1;
2258
2285
  var tmp$ret$1;
2259
2286
  $l$block: {
2260
2287
  // Inline function 'kotlin.sequences.firstOrNull' call
2261
- var tmp0_iterator = _this__u8e3s4.u33_1.r();
2262
- while (tmp0_iterator.s()) {
2263
- var element = tmp0_iterator.u();
2264
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeCutLimit.<anonymous>' call
2265
- var tmp_0 = Companion_getInstance_7().v39_1;
2266
- var tmp0_safe_receiver = element.y32_1;
2288
+ var _iterator__ex2g4s = tmp0.p();
2289
+ while (_iterator__ex2g4s.s()) {
2290
+ var element = _iterator__ex2g4s.t();
2291
+ var tmp_0 = Companion_getInstance_6().y31_1;
2292
+ var tmp0_safe_receiver = element.b2v_1;
2267
2293
  if (!contains_0(tmp_0, tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver))) {
2268
2294
  tmp$ret$1 = element;
2269
2295
  break $l$block;
@@ -2278,32 +2304,31 @@
2278
2304
  if (cutLimit == null) {
2279
2305
  tmp_1 = None_getInstance();
2280
2306
  } else {
2281
- tmp_1 = new Actual(cutLimit.r33_1, cutLimit.y32_1);
2307
+ tmp_1 = new Actual(cutLimit.u2v_1, cutLimit.b2v_1);
2282
2308
  }
2283
2309
  return tmp_1;
2284
2310
  }
2285
2311
  function cutCanBeSkipped($this, cutLimit, executionContext) {
2286
- return (cutLimit.r39() ? true : cutLimit.q39() > executionContext.r33_1) ? true : cutLimit.q39() === executionContext.r33_1 ? !equals(cutLimit.x1u(), executionContext.y32_1) : false;
2312
+ return cutLimit.u31() || cutLimit.t31() > executionContext.u2v_1 || (cutLimit.t31() === executionContext.u2v_1 && !equals(cutLimit.f1s(), executionContext.b2v_1));
2287
2313
  }
2288
- function performCut(_this__u8e3s4, $this, cutLimit) {
2314
+ function performCut($this, _this__u8e3s4, cutLimit) {
2289
2315
  var tmp;
2290
2316
  if (_this__u8e3s4 === null) {
2291
2317
  tmp = null;
2292
- } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.k34()))) {
2318
+ } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.n2w()))) {
2293
2319
  tmp = _this__u8e3s4;
2294
2320
  } else {
2295
- var tmp_0 = _this__u8e3s4.x34();
2321
+ var tmp_0 = _this__u8e3s4.a2x();
2296
2322
  var cutCandidates = filter(tmp_0, StateRuleSelection$performCut$lambda(cutLimit));
2297
2323
  var tmp_1;
2298
2324
  if (any(cutCandidates)) {
2299
2325
  var tmp$ret$1;
2300
2326
  $l$block: {
2301
2327
  // Inline function 'kotlin.sequences.firstOrNull' call
2302
- var tmp0_iterator = cutCandidates.r();
2303
- while (tmp0_iterator.s()) {
2304
- var element = tmp0_iterator.u();
2305
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.performCut.<anonymous>' call
2306
- if (ensureNotNull(element.k34()).r33_1 <= cutLimit.q39()) {
2328
+ var _iterator__ex2g4s = cutCandidates.p();
2329
+ while (_iterator__ex2g4s.s()) {
2330
+ var element = _iterator__ex2g4s.t();
2331
+ if (ensureNotNull(element.n2w()).u2v_1 <= cutLimit.t31()) {
2307
2332
  tmp$ret$1 = element;
2308
2333
  break $l$block;
2309
2334
  }
@@ -2311,7 +2336,7 @@
2311
2336
  tmp$ret$1 = null;
2312
2337
  }
2313
2338
  var tmp0_safe_receiver = tmp$ret$1;
2314
- tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l34();
2339
+ tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o2w();
2315
2340
  } else {
2316
2341
  tmp_1 = _this__u8e3s4;
2317
2342
  }
@@ -2319,25 +2344,21 @@
2319
2344
  }
2320
2345
  return tmp;
2321
2346
  }
2322
- function _get_isTailRecursive__h5eso7(_this__u8e3s4, $this) {
2347
+ function _get_isTailRecursive__h5eso7($this, _this__u8e3s4) {
2323
2348
  var tmp;
2324
- if (_this__u8e3s4.k33_1.er().hr() ? equals(_this__u8e3s4.b33_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().a29_1) : false) {
2349
+ if (_this__u8e3s4.n2v_1.jp().mp() && equals(_this__u8e3s4.e2v_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().s25_1)) {
2325
2350
  // Inline function 'kotlin.let' call
2326
- // Inline function 'kotlin.contracts.contract' call
2327
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>' call
2328
- var tmp0_safe_receiver = ensureNotNull(_this__u8e3s4.m36()).asStruct();
2351
+ var tmp0_safe_receiver = ensureNotNull(_this__u8e3s4.n2y()).asStruct();
2329
2352
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver);
2330
2353
  var tmp_0;
2331
2354
  if (tmp1_safe_receiver == null) {
2332
2355
  tmp_0 = null;
2333
2356
  } else {
2334
2357
  // Inline function 'kotlin.let' call
2335
- // Inline function 'kotlin.contracts.contract' call
2336
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>.<anonymous>' call
2337
2358
  var tmp_1;
2338
- var tmp0_safe_receiver_0 = _this__u8e3s4.y32_1;
2359
+ var tmp0_safe_receiver_0 = _this__u8e3s4.b2v_1;
2339
2360
  if (tmp1_safe_receiver.equals(tmp0_safe_receiver_0 == null ? null : extractSignature(tmp0_safe_receiver_0))) {
2340
- tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_7().u39_1);
2361
+ tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_6().x31_1);
2341
2362
  } else {
2342
2363
  tmp_1 = false;
2343
2364
  }
@@ -2350,14 +2371,12 @@
2350
2371
  }
2351
2372
  return tmp;
2352
2373
  }
2353
- function selectClauses(_this__u8e3s4, $this, term) {
2354
- // Inline function 'kotlin.let' call
2374
+ function selectClauses($this, _this__u8e3s4, term) {
2355
2375
  var tmp = _this__u8e3s4.getByHead(term);
2356
- // Inline function 'kotlin.contracts.contract' call
2357
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.selectClauses.<anonymous>' call
2376
+ // Inline function 'kotlin.let' call
2358
2377
  var it = ensureRules(map(tmp, StateRuleSelection$selectClauses$lambda));
2359
2378
  var tmp_0;
2360
- if (_this__u8e3s4.v1s()) {
2379
+ if (_this__u8e3s4.d1q()) {
2361
2380
  tmp_0 = buffered(it);
2362
2381
  } else {
2363
2382
  tmp_0 = it;
@@ -2366,62 +2385,57 @@
2366
2385
  }
2367
2386
  function StateRuleSelection$performCut$lambda($cutLimit) {
2368
2387
  return function (it) {
2369
- return equals(ensureNotNull(it.k34()).y32_1, $cutLimit.x1u());
2388
+ return equals(ensureNotNull(it.n2w()).b2v_1, $cutLimit.f1s());
2370
2389
  };
2371
2390
  }
2372
2391
  function StateRuleSelection$computeNext$lambda(this$0, $currentGoalStruct) {
2373
2392
  return function (it) {
2374
- return selectClauses(it, this$0, $currentGoalStruct);
2393
+ return selectClauses(this$0, it, $currentGoalStruct);
2375
2394
  };
2376
2395
  }
2377
2396
  function StateRuleSelection$selectClauses$lambda(it) {
2378
- return it.tw();
2397
+ return it.cu();
2379
2398
  }
2380
2399
  function StateRuleSelection(context) {
2381
- Companion_getInstance_7();
2400
+ Companion_getInstance_6();
2382
2401
  AbstractState.call(this, context);
2383
- this.y39_1 = context;
2402
+ this.b32_1 = context;
2384
2403
  }
2385
- protoOf(StateRuleSelection).uc = function () {
2386
- return this.y39_1;
2404
+ protoOf(StateRuleSelection).h8 = function () {
2405
+ return this.b32_1;
2387
2406
  };
2388
- protoOf(StateRuleSelection).s37 = function () {
2389
- var currentGoal = ensureNotNull(this.y39_1.m36());
2407
+ protoOf(StateRuleSelection).v2z = function () {
2408
+ var currentGoal = ensureNotNull(this.b32_1.n2y());
2390
2409
  var tmp;
2391
- if (currentGoal.mx()) {
2392
- tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.y39_1, extractSignature(ensureNotNull(this.y39_1.y32_1)), currentGoal.castToVar()));
2393
- } else if (currentGoal.ww()) {
2410
+ if (currentGoal.vu()) {
2411
+ tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.b32_1, extractSignature(ensureNotNull(this.b32_1.b2v_1)), currentGoal.castToVar()));
2412
+ } else if (currentGoal.fu()) {
2394
2413
  // Inline function 'kotlin.with' call
2395
- // Inline function 'kotlin.contracts.contract' call
2396
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>' call
2397
- var $this$with = this.y39_1;
2414
+ var $this$with = this.b32_1;
2398
2415
  var currentGoalStruct = currentGoal.castToStruct();
2399
- var ruleSources = sequenceOf([$this$with.a33_1.asTheory($this$with.z32_1), $this$with.c33_1, $this$with.d33_1]);
2416
+ var ruleSources = sequenceOf([$this$with.d2v_1.asTheory($this$with.c2v_1), $this$with.f2v_1, $this$with.g2v_1]);
2400
2417
  var tmp_0;
2401
- if (currentGoalStruct.nx()) {
2418
+ if (currentGoalStruct.wu()) {
2402
2419
  var tmp_1;
2403
- if (currentGoalStruct.ow()) {
2420
+ if (currentGoalStruct.xt()) {
2404
2421
  tmp_1 = _get_ignoreState__t4wl8y(this);
2405
2422
  } else {
2406
2423
  tmp_1 = _get_failureState__yid9tw_0(this);
2407
2424
  }
2408
2425
  tmp_0 = tmp_1;
2409
2426
  } else {
2410
- if (isCut(currentGoalStruct, this)) {
2411
- var cutLimit = computeCutLimit($this$with, this, currentGoalStruct instanceof MagicCut);
2427
+ if (isCut(this, currentGoalStruct)) {
2428
+ var cutLimit = computeCutLimit(this, $this$with, currentGoalStruct instanceof MagicCut);
2412
2429
  // Inline function 'kotlin.let' call
2413
- // Inline function 'kotlin.contracts.contract' call
2414
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2415
2430
  var it = _get_ignoreState__t4wl8y(this);
2416
- tmp_0 = it.g38(it.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(it.v38_1.p33_1, this, cutLimit)));
2431
+ tmp_0 = it.j30(it.y30_1.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(this, it.y30_1.s2v_1, cutLimit)));
2417
2432
  } else {
2418
2433
  var tmp$ret$3;
2419
2434
  $l$block: {
2420
2435
  // Inline function 'kotlin.sequences.any' call
2421
- var tmp0_iterator = ruleSources.r();
2422
- while (tmp0_iterator.s()) {
2423
- var element = tmp0_iterator.u();
2424
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2436
+ var _iterator__ex2g4s = ruleSources.p();
2437
+ while (_iterator__ex2g4s.s()) {
2438
+ var element = _iterator__ex2g4s.t();
2425
2439
  if (element.containsHead(currentGoalStruct)) {
2426
2440
  tmp$ret$3 = true;
2427
2441
  break $l$block;
@@ -2432,10 +2446,10 @@
2432
2446
  if (tmp$ret$3) {
2433
2447
  var rules = cursor(flatMap(ruleSources, StateRuleSelection$computeNext$lambda(this, currentGoalStruct)));
2434
2448
  var tmp_2;
2435
- if (_get_isTailRecursive__h5eso7(this.y39_1, this)) {
2436
- tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.y39_1, rules));
2449
+ if (_get_isTailRecursive__h5eso7(this, this.b32_1)) {
2450
+ tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.b32_1, rules));
2437
2451
  } else {
2438
- tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.y39_1, rules));
2452
+ tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.b32_1, rules));
2439
2453
  }
2440
2454
  tmp_0 = tmp_2;
2441
2455
  } else {
@@ -2445,41 +2459,43 @@
2445
2459
  }
2446
2460
  tmp = tmp_0;
2447
2461
  } else {
2448
- tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.y39_1, extractSignature(ensureNotNull(this.y39_1.y32_1)), Expected_CALLABLE_getInstance(), currentGoal));
2462
+ tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.b32_1, extractSignature(ensureNotNull(this.b32_1.b2v_1)), Expected_CALLABLE_getInstance(), currentGoal));
2449
2463
  }
2450
2464
  return tmp;
2451
2465
  };
2452
- protoOf(StateRuleSelection).x37 = function (context) {
2453
- return this.g38(context);
2466
+ protoOf(StateRuleSelection).e30 = function (context) {
2467
+ return this.j30(context);
2454
2468
  };
2455
- protoOf(StateRuleSelection).g38 = function (context) {
2469
+ protoOf(StateRuleSelection).clone = function (context, $super) {
2470
+ return this.clone(context, ($super == null ? true : $super instanceof StateRuleSelection) ? $super : THROW_CCE());
2471
+ };
2472
+ protoOf(StateRuleSelection).j30 = function (context) {
2456
2473
  return new StateRuleSelection(context);
2457
2474
  };
2458
2475
  protoOf(StateRuleSelection).toString = function () {
2459
- return 'StateRuleSelection(context=' + this.y39_1 + ')';
2476
+ return 'StateRuleSelection(context=' + this.b32_1.toString() + ')';
2460
2477
  };
2461
2478
  protoOf(StateRuleSelection).hashCode = function () {
2462
- return this.y39_1.hashCode();
2479
+ return this.b32_1.hashCode();
2463
2480
  };
2464
2481
  protoOf(StateRuleSelection).equals = function (other) {
2465
2482
  if (this === other)
2466
2483
  return true;
2467
2484
  if (!(other instanceof StateRuleSelection))
2468
2485
  return false;
2469
- var tmp0_other_with_cast = other instanceof StateRuleSelection ? other : THROW_CCE();
2470
- if (!this.y39_1.equals(tmp0_other_with_cast.y39_1))
2486
+ if (!this.b32_1.equals(other.b32_1))
2471
2487
  return false;
2472
2488
  return true;
2473
2489
  };
2474
2490
  function appendRulesAndChoicePoints(_this__u8e3s4, rules) {
2475
2491
  var tmp;
2476
- if (rules.gr()) {
2477
- tmp = appendRules(_this__u8e3s4.p33_1, rules.er(), _this__u8e3s4);
2492
+ if (rules.lp()) {
2493
+ tmp = appendRules(_this__u8e3s4.s2v_1, rules.jp(), _this__u8e3s4);
2478
2494
  } else {
2479
- tmp = appendRules(_this__u8e3s4.p33_1, Companion_instance_7.empty(), _this__u8e3s4);
2495
+ tmp = appendRules(_this__u8e3s4.s2v_1, Companion_instance_7.empty(), _this__u8e3s4);
2480
2496
  }
2481
2497
  var newChoicePointContext = tmp;
2482
- return _this__u8e3s4.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2498
+ return _this__u8e3s4.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2483
2499
  }
2484
2500
  function toGoals(_this__u8e3s4) {
2485
2501
  var tmp = unfoldGoals(_this__u8e3s4);
@@ -2487,37 +2503,38 @@
2487
2503
  }
2488
2504
  function unfoldGoals(_this__u8e3s4) {
2489
2505
  var tmp;
2490
- if (_this__u8e3s4.bx()) {
2491
- var tmp_0 = _this__u8e3s4.castToTuple().uu();
2506
+ if (_this__u8e3s4.ku()) {
2507
+ var tmp_0 = _this__u8e3s4.castToTuple().ps();
2492
2508
  tmp = flatMap(tmp_0, unfoldGoals$lambda);
2493
2509
  } else {
2494
- tmp = sequenceOf([_this__u8e3s4]);
2510
+ tmp = sequenceOf_0(_this__u8e3s4);
2495
2511
  }
2496
2512
  return tmp;
2497
2513
  }
2498
2514
  function createChild(_this__u8e3s4, inferProcedureFromGoals) {
2499
2515
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2500
- var currentGoal = ensureNotNull(_this__u8e3s4.m36()).castToStruct();
2516
+ var currentGoal = ensureNotNull(_this__u8e3s4.n2y()).castToStruct();
2501
2517
  var tmp0_goals = toGoals(currentGoal);
2502
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.y32_1;
2503
- var tmp2_depth = _this__u8e3s4.r33_1 + 1 | 0;
2518
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.b2v_1;
2519
+ var tmp2_depth = _this__u8e3s4.u2v_1 + 1 | 0;
2504
2520
  // Inline function 'kotlin.Long.plus' call
2505
- var tmp3_step = _this__u8e3s4.s33_1.ob(toLong(1));
2521
+ var this_0 = _this__u8e3s4.v2v_1;
2522
+ var tmp3_step = add(this_0, fromInt(1));
2506
2523
  var tmp4_relevantVariables = emptySet();
2507
- return _this__u8e3s4.p34(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables);
2524
+ return _this__u8e3s4.s2w(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables);
2508
2525
  }
2509
2526
  function toRequest(_this__u8e3s4, goal, signature, startTime) {
2510
- return new Request(signature, goal.rw(), _this__u8e3s4, startTime);
2527
+ return new Request(signature, goal.au(), _this__u8e3s4, startTime);
2511
2528
  }
2512
2529
  function appendPrimitivesAndChoicePoints(_this__u8e3s4, primitiveExecutions) {
2513
2530
  var tmp;
2514
- if (primitiveExecutions.gr()) {
2515
- tmp = appendPrimitives(_this__u8e3s4.p33_1, primitiveExecutions.er(), _this__u8e3s4);
2531
+ if (primitiveExecutions.lp()) {
2532
+ tmp = appendPrimitives(_this__u8e3s4.s2v_1, primitiveExecutions.jp(), _this__u8e3s4);
2516
2533
  } else {
2517
- tmp = appendPrimitives(_this__u8e3s4.p33_1, Companion_instance_7.empty(), _this__u8e3s4);
2534
+ tmp = appendPrimitives(_this__u8e3s4.s2v_1, Companion_instance_7.empty(), _this__u8e3s4);
2518
2535
  }
2519
2536
  var newChoicePointContext = tmp;
2520
- return _this__u8e3s4.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2537
+ return _this__u8e3s4.s2w(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2521
2538
  }
2522
2539
  function replaceWithChildAppendingRulesAndChoicePoints(_this__u8e3s4, rules, inferProcedureFromGoals) {
2523
2540
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
@@ -2534,76 +2551,72 @@
2534
2551
  }
2535
2552
  function replaceWithChild(_this__u8e3s4, inferProcedureFromGoals) {
2536
2553
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2537
- var currentGoal = ensureNotNull(_this__u8e3s4.m36()).castToStruct();
2554
+ var currentGoal = ensureNotNull(_this__u8e3s4.n2y()).castToStruct();
2538
2555
  var tmp0_goals = toGoals(currentGoal);
2539
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.y32_1;
2540
- var tmp2_depth = _this__u8e3s4.r33_1 + 1 | 0;
2556
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.b2v_1;
2557
+ var tmp2_depth = _this__u8e3s4.u2v_1 + 1 | 0;
2541
2558
  // Inline function 'kotlin.Long.plus' call
2542
- var tmp3_step = _this__u8e3s4.s33_1.ob(toLong(1));
2543
- return _this__u8e3s4.p34(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_depth, tmp3_step);
2559
+ var this_0 = _this__u8e3s4.v2v_1;
2560
+ var tmp3_step = add(this_0, fromInt(1));
2561
+ return _this__u8e3s4.s2w(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_depth, tmp3_step);
2544
2562
  }
2545
2563
  function toGoals$lambda(it) {
2546
- return it.mx() ? Companion_getInstance_1().of('call', [it]) : it;
2564
+ return it.vu() ? Companion_getInstance_1().of('call', [it]) : it;
2547
2565
  }
2548
2566
  function unfoldGoals$lambda(it) {
2549
2567
  return unfoldGoals(it);
2550
2568
  }
2551
2569
  function ensureRules$lambda(it) {
2552
2570
  // Inline function 'kotlin.require' call
2553
- // Inline function 'kotlin.contracts.contract' call
2554
2571
  // Inline function 'kotlin.require' call
2555
- // Inline function 'kotlin.contracts.contract' call
2556
- if (!it.yw()) {
2557
- // Inline function 'kotlin.require.<anonymous>' call
2572
+ if (!it.hu()) {
2558
2573
  var message = 'Failed requirement.';
2559
2574
  throw IllegalArgumentException_init_$Create$(toString(message));
2560
2575
  }
2561
2576
  return it.castToRule();
2562
2577
  }
2563
2578
  function AbstractSolutionIterator(state) {
2564
- this.z39_1 = state;
2565
- this.a3a_1 = new Long(0, 0);
2579
+ this.c32_1 = state;
2580
+ this.d32_1 = 0n;
2566
2581
  }
2567
2582
  protoOf(AbstractSolutionIterator).s = function () {
2568
2583
  // Inline function 'kotlin.let' call
2569
- // Inline function 'kotlin.contracts.contract' call
2570
- // Inline function 'it.unibo.tuprolog.solve.classic.impl.AbstractSolutionIterator.hasNext.<anonymous>' call
2571
- var it = this.z39_1;
2572
- return !it.t37() ? true : it.castToEndState().w34();
2584
+ var it = this.c32_1;
2585
+ return !it.c30() || it.castToEndState().z2w();
2573
2586
  };
2574
- protoOf(AbstractSolutionIterator).u = function () {
2587
+ protoOf(AbstractSolutionIterator).t = function () {
2575
2588
  do {
2576
- var previousState = this.z39_1;
2589
+ var previousState = this.c32_1;
2577
2590
  var tmp = this;
2578
- var tmp_0 = this.z39_1;
2579
- this.a3a_1 = this.a3a_1.tb();
2580
- tmp.z39_1 = this.b3a(tmp_0, this.a3a_1);
2581
- this.onStateTransition(previousState, this.z39_1, this.a3a_1);
2591
+ var tmp_0 = this.c32_1;
2592
+ this.d32_1 = add(this.d32_1, get_ONE());
2593
+ tmp.c32_1 = this.e32(tmp_0, this.d32_1);
2594
+ this.onStateTransition(previousState, this.c32_1, this.d32_1);
2582
2595
  }
2583
- while (!this.z39_1.t37());
2584
- return this.z39_1.castToEndState().x2i().cleanUp();
2596
+ while (!this.c32_1.c30());
2597
+ return this.c32_1.castToEndState().f2f().cleanUp();
2585
2598
  };
2586
2599
  function SimpleSolutionIterator(state, onStateTransitionCallback) {
2587
2600
  AbstractSolutionIterator.call(this, state);
2588
- this.e3a_1 = onStateTransitionCallback;
2601
+ this.h32_1 = onStateTransitionCallback;
2589
2602
  }
2590
- protoOf(SimpleSolutionIterator).b3a = function (state, step) {
2603
+ protoOf(SimpleSolutionIterator).e32 = function (state, step) {
2591
2604
  return state.next();
2592
2605
  };
2593
- protoOf(SimpleSolutionIterator).f3a = function (source, destination, index) {
2594
- return this.e3a_1(source, destination, index);
2606
+ protoOf(SimpleSolutionIterator).i32 = function (source, destination, index) {
2607
+ return this.h32_1(source, destination, index);
2595
2608
  };
2596
2609
  protoOf(SimpleSolutionIterator).onStateTransition = function (source, destination, index) {
2597
- return this.f3a(source, destination, index);
2610
+ return this.i32(source, destination, index);
2598
2611
  };
2599
2612
  function DefaultBuiltins() {
2600
2613
  DefaultBuiltins_instance = this;
2601
2614
  ExtensionLibrary.call(this, CommonBuiltins_getInstance());
2602
2615
  }
2603
- protoOf(DefaultBuiltins).w2e = function () {
2616
+ protoOf(DefaultBuiltins).l2b = function () {
2604
2617
  return listOf(Throw_getInstance());
2605
2618
  };
2606
- protoOf(DefaultBuiltins).v2e = function () {
2619
+ protoOf(DefaultBuiltins).k2b = function () {
2607
2620
  return listOf_0([Catch_getInstance(), Call_getInstance(), Comma_getInstance(), Cut_getInstance(), Fail_getInstance(), Success_getInstance()]);
2608
2621
  };
2609
2622
  var DefaultBuiltins_instance;
@@ -2617,12 +2630,12 @@
2617
2630
  var tmp_0;
2618
2631
  var tmp_1;
2619
2632
  if (isInterface(error, Struct)) {
2620
- tmp_1 = error.qw() === 'error';
2633
+ tmp_1 = error.zt() === 'error';
2621
2634
  } else {
2622
2635
  tmp_1 = false;
2623
2636
  }
2624
2637
  if (tmp_1) {
2625
- var containsArg = error.kw();
2638
+ var containsArg = error.tt();
2626
2639
  tmp_0 = 1 <= containsArg ? containsArg <= 2 : false;
2627
2640
  } else {
2628
2641
  tmp_0 = false;
@@ -2630,9 +2643,9 @@
2630
2643
  if (tmp_0) {
2631
2644
  var tmp_2 = Companion_instance_14;
2632
2645
  var tmp_3 = error.get(0);
2633
- tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.kw() > 1 ? error.get(1) : null);
2646
+ tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.tt() > 1 ? error.get(1) : null);
2634
2647
  } else {
2635
- tmp = Companion_instance_13.v26(error, context);
2648
+ tmp = Companion_instance_13.n23(error, context);
2636
2649
  }
2637
2650
  return tmp;
2638
2651
  }
@@ -2640,11 +2653,11 @@
2640
2653
  Throw_instance = this;
2641
2654
  UnaryPredicate.call(this, 'throw');
2642
2655
  }
2643
- protoOf(Throw).g2r = function (_this__u8e3s4, first) {
2644
- return sequenceOf([Companion_getInstance_5().w2f(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.c1(0)), VOID, [])]);
2656
+ protoOf(Throw).y2l = function (_this__u8e3s4, first) {
2657
+ return sequenceOf_0(Companion_getInstance_4().l2c(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.z(0)), VOID, []));
2645
2658
  };
2646
- protoOf(Throw).s2j = function (_this__u8e3s4, first) {
2647
- return this.g2r(_this__u8e3s4, first);
2659
+ protoOf(Throw).y2f = function (_this__u8e3s4, first) {
2660
+ return this.y2l(_this__u8e3s4, first);
2648
2661
  };
2649
2662
  var Throw_instance;
2650
2663
  function Throw_getInstance() {
@@ -2656,10 +2669,10 @@
2656
2669
  Call_instance = this;
2657
2670
  RuleWrapper_init_$Init$('call', 1, VOID, this);
2658
2671
  }
2659
- protoOf(Call).w2j = function (_this__u8e3s4) {
2672
+ protoOf(Call).c2g = function (_this__u8e3s4) {
2660
2673
  return listOf(_this__u8e3s4.varOf('G'));
2661
2674
  };
2662
- protoOf(Call).x2j = function (_this__u8e3s4) {
2675
+ protoOf(Call).d2g = function (_this__u8e3s4) {
2663
2676
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2664
2677
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2665
2678
  return _this__u8e3s4.tupleOf([_this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('G')]), _this__u8e3s4.varOf('G')]);
@@ -2674,10 +2687,10 @@
2674
2687
  Catch_instance = this;
2675
2688
  RuleWrapper_init_$Init$('catch', 3, VOID, this);
2676
2689
  }
2677
- protoOf(Catch).w2j = function (_this__u8e3s4) {
2690
+ protoOf(Catch).c2g = function (_this__u8e3s4) {
2678
2691
  return listOf_0([_this__u8e3s4.varOf('G'), _this__u8e3s4.varOf('E'), _this__u8e3s4.varOf('C')]);
2679
2692
  };
2680
- protoOf(Catch).x2j = function (_this__u8e3s4) {
2693
+ protoOf(Catch).d2g = function (_this__u8e3s4) {
2681
2694
  return _this__u8e3s4.varOf('G');
2682
2695
  };
2683
2696
  var Catch_instance;
@@ -2690,10 +2703,10 @@
2690
2703
  Comma_instance = this;
2691
2704
  RuleWrapper_init_$Init$(',', 2, VOID, this);
2692
2705
  }
2693
- protoOf(Comma).w2j = function (_this__u8e3s4) {
2706
+ protoOf(Comma).c2g = function (_this__u8e3s4) {
2694
2707
  return listOf_0([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2695
2708
  };
2696
- protoOf(Comma).x2j = function (_this__u8e3s4) {
2709
+ protoOf(Comma).d2g = function (_this__u8e3s4) {
2697
2710
  return _this__u8e3s4.tupleOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2698
2711
  };
2699
2712
  var Comma_instance;
@@ -2716,7 +2729,7 @@
2716
2729
  Fail_instance = this;
2717
2730
  NegationAsFailure.call(this);
2718
2731
  }
2719
- protoOf(Fail).x2j = function (_this__u8e3s4) {
2732
+ protoOf(Fail).d2g = function (_this__u8e3s4) {
2720
2733
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2721
2734
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2722
2735
  var tmp = _this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('X')]);
@@ -2734,7 +2747,7 @@
2734
2747
  Success_instance = this;
2735
2748
  NegationAsFailure.call(this);
2736
2749
  }
2737
- protoOf(Success).x2j = function (_this__u8e3s4) {
2750
+ protoOf(Success).d2g = function (_this__u8e3s4) {
2738
2751
  return _this__u8e3s4.truthOf(true);
2739
2752
  };
2740
2753
  var Success_instance;
@@ -2744,47 +2757,47 @@
2744
2757
  return Success_instance;
2745
2758
  }
2746
2759
  function Companion_1() {
2747
- this.f3b_1 = '\\+';
2748
- this.g3b_1 = 1;
2760
+ this.i33_1 = '\\+';
2761
+ this.j33_1 = 1;
2749
2762
  }
2750
2763
  var Companion_instance_17;
2751
- function Companion_getInstance_8() {
2764
+ function Companion_getInstance_7() {
2752
2765
  return Companion_instance_17;
2753
2766
  }
2754
2767
  function NegationAsFailure() {
2755
2768
  RuleWrapper_init_$Init$('\\+', 1, VOID, this);
2756
2769
  }
2757
- protoOf(NegationAsFailure).w2j = function (_this__u8e3s4) {
2770
+ protoOf(NegationAsFailure).c2g = function (_this__u8e3s4) {
2758
2771
  return listOf(_this__u8e3s4.varOf('X'));
2759
2772
  };
2760
2773
  //region block: post-declaration
2761
2774
  protoOf(ClassicExecutionContext).createSolver = createSolver;
2762
2775
  protoOf(ClassicExecutionContext).createMutableSolver = createMutableSolver;
2763
2776
  protoOf(ClassicExecutionContext).update = update;
2764
- protoOf(ClassicExecutionContext).m1v = get_standardInput;
2765
- protoOf(ClassicExecutionContext).n1v = get_standardOutput;
2766
- protoOf(ClassicExecutionContext).o1v = get_standardError;
2767
- protoOf(ClassicExecutionContext).p1v = get_warnings;
2768
- protoOf(ClassicExecutionContext).t1u = get_endTime;
2769
- protoOf(ClassicExecutionContext).v1u = get_remainingTime;
2770
- protoOf(ClassicExecutionContext).w1u = get_elapsedTime;
2777
+ protoOf(ClassicExecutionContext).u1s = get_standardInput;
2778
+ protoOf(ClassicExecutionContext).v1s = get_standardOutput;
2779
+ protoOf(ClassicExecutionContext).w1s = get_standardError;
2780
+ protoOf(ClassicExecutionContext).x1s = get_warnings;
2781
+ protoOf(ClassicExecutionContext).b1s = get_endTime;
2782
+ protoOf(ClassicExecutionContext).d1s = get_remainingTime;
2783
+ protoOf(ClassicExecutionContext).e1s = get_elapsedTime;
2771
2784
  protoOf(ClassicSolverFactory).rawSolverOf = rawSolverOf;
2772
2785
  protoOf(ClassicSolverFactory).solverOf = solverOf;
2773
2786
  protoOf(ClassicSolverFactory).mutableSolverOf = mutableSolverOf;
2774
2787
  protoOf(ClassicSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
2775
2788
  protoOf(ClassicSolverFactory).newBuilder = newBuilder;
2776
- protoOf(ClassicSolverFactory).c1y = get_defaultRuntime;
2777
- protoOf(ClassicSolverFactory).e1y = get_defaultUnificator;
2778
- protoOf(ClassicSolverFactory).f1y = get_defaultFlags;
2779
- protoOf(ClassicSolverFactory).i1y = get_defaultStaticKb;
2780
- protoOf(ClassicSolverFactory).j1y = get_defaultDynamicKb;
2781
- protoOf(ClassicSolverFactory).k1y = get_defaultInputChannel;
2782
- protoOf(ClassicSolverFactory).l1y = get_defaultOutputChannel;
2783
- protoOf(ClassicSolverFactory).m1y = get_defaultErrorChannel;
2784
- protoOf(ClassicSolverFactory).n1y = get_defaultWarningsChannel;
2785
- protoOf(ClassicSolverFactory).v1y = solverWithDefaultBuiltins;
2789
+ protoOf(ClassicSolverFactory).v1u = get_defaultRuntime;
2790
+ protoOf(ClassicSolverFactory).x1u = get_defaultUnificator;
2791
+ protoOf(ClassicSolverFactory).y1u = get_defaultFlags;
2792
+ protoOf(ClassicSolverFactory).b1v = get_defaultStaticKb;
2793
+ protoOf(ClassicSolverFactory).c1v = get_defaultDynamicKb;
2794
+ protoOf(ClassicSolverFactory).d1v = get_defaultInputChannel;
2795
+ protoOf(ClassicSolverFactory).e1v = get_defaultOutputChannel;
2796
+ protoOf(ClassicSolverFactory).f1v = get_defaultErrorChannel;
2797
+ protoOf(ClassicSolverFactory).g1v = get_defaultWarningsChannel;
2798
+ protoOf(ClassicSolverFactory).o1v = solverWithDefaultBuiltins;
2786
2799
  protoOf(ClassicSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
2787
- protoOf(ClassicSolverFactory).x1y = mutableSolverWithDefaultBuiltins;
2800
+ protoOf(ClassicSolverFactory).q1v = mutableSolverWithDefaultBuiltins;
2788
2801
  protoOf(ClassicSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
2789
2802
  protoOf(MutableClassicSolver).loadStaticClauses = loadStaticClauses;
2790
2803
  protoOf(MutableClassicSolver).loadStaticClausesIterable = loadStaticClausesIterable;
@@ -2792,13 +2805,13 @@
2792
2805
  protoOf(MutableClassicSolver).loadDynamicClauses = loadDynamicClauses;
2793
2806
  protoOf(MutableClassicSolver).loadDynamicClausesIterable = loadDynamicClausesIterable;
2794
2807
  protoOf(MutableClassicSolver).loadDynamicClausesSequence = loadDynamicClausesSequence;
2795
- protoOf(AbstractState).t37 = get_isEndState;
2808
+ protoOf(AbstractState).c30 = get_isEndState;
2796
2809
  protoOf(AbstractState).asEndState = asEndState;
2797
2810
  protoOf(AbstractState).castToEndState = castToEndState;
2798
2811
  protoOf(AbstractState).clone = clone;
2799
- protoOf(AbstractEndState).w34 = get_hasOpenAlternatives;
2800
- protoOf(AbstractEndState).t37 = get_isEndState_0;
2801
- protoOf(AbstractEndState).u37 = asEndState_0;
2812
+ protoOf(AbstractEndState).c30 = get_isEndState_0;
2813
+ protoOf(AbstractEndState).d30 = asEndState_0;
2814
+ protoOf(AbstractEndState).z2w = get_hasOpenAlternatives;
2802
2815
  //endregion
2803
2816
  //region block: init
2804
2817
  ClassicSolverFactory_instance = new ClassicSolverFactory();
@@ -2812,7 +2825,7 @@
2812
2825
  var $it$unibo$tuprolog = $it$unibo.tuprolog || ($it$unibo.tuprolog = {});
2813
2826
  var $it$unibo$tuprolog$solve = $it$unibo$tuprolog.solve || ($it$unibo$tuprolog.solve = {});
2814
2827
  var $it$unibo$tuprolog$solve$classic = $it$unibo$tuprolog$solve.classic || ($it$unibo$tuprolog$solve.classic = {});
2815
- defineProp($it$unibo$tuprolog$solve$classic, 'ClassicSolverFactory', ClassicSolverFactory_getInstance);
2828
+ defineProp($it$unibo$tuprolog$solve$classic, 'ClassicSolverFactory', ClassicSolverFactory_getInstance, VOID, true);
2816
2829
  }
2817
2830
  $jsExportAll$(_);
2818
2831
  _.$jsExportAll$ = $jsExportAll$;