@tuprolog/arg2p-core 0.10.2 → 0.11.2

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.
@@ -1,194 +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.$_$.b1;
34
- var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_solve.$_$.x;
32
+ var VOID = kotlin_kotlin.$_$.b;
33
+ var Companion_instance = kotlin_it_unibo_tuprolog_solve.$_$.c1;
34
+ var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_solve.$_$.y;
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.$_$.m;
38
- var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.o;
39
- var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.n;
40
- var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.p;
41
- var toString = kotlin_kotlin.$_$.v5;
42
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s;
43
- var Unit_instance = kotlin_kotlin.$_$.r1;
44
- var AbstractSolver = kotlin_it_unibo_tuprolog_solve.$_$.k1;
45
- var protoOf = kotlin_kotlin.$_$.q5;
46
- var THROW_CCE = kotlin_kotlin.$_$.d9;
47
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.l9;
48
- var getAllOperators = kotlin_it_unibo_tuprolog_solve.$_$.y2;
49
- var toOperatorSet = kotlin_it_unibo_tuprolog_solve.$_$.a3;
50
- var Long = kotlin_kotlin.$_$.x8;
51
- var currentTimeInstant = kotlin_it_unibo_tuprolog_solve.$_$.w2;
52
- var asSequence = kotlin_kotlin.$_$.o6;
53
- var classMeta = kotlin_kotlin.$_$.u4;
54
- var setMetadataFor = kotlin_kotlin.$_$.r5;
55
- var ensureNotNull = kotlin_kotlin.$_$.g9;
56
- var toLong = kotlin_kotlin.$_$.t5;
57
- var hashCode = kotlin_kotlin.$_$.c5;
58
- var equals = kotlin_kotlin.$_$.x4;
59
- var CoroutineImpl = kotlin_kotlin.$_$.m4;
60
- var SequenceScope = kotlin_kotlin.$_$.k6;
61
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.l4;
62
- var sequence = kotlin_kotlin.$_$.n7;
63
- var asSequence_0 = kotlin_kotlin.$_$.d2;
64
- var emptySequence = kotlin_kotlin.$_$.t6;
65
- var plus = kotlin_kotlin.$_$.l7;
66
- var flatMap = kotlin_kotlin.$_$.z6;
67
- var distinct = kotlin_kotlin.$_$.r6;
68
- var cached = kotlin_it_unibo_tuprolog_utils.$_$.p;
37
+ var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.n;
38
+ var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.p;
39
+ var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.o;
40
+ var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.q;
41
+ var toString = kotlin_kotlin.$_$.e6;
42
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
43
+ var Unit_instance = kotlin_kotlin.$_$.j1;
44
+ var AbstractSolver = kotlin_it_unibo_tuprolog_solve.$_$.l1;
45
+ var protoOf = kotlin_kotlin.$_$.b6;
46
+ var THROW_CCE = kotlin_kotlin.$_$.q9;
47
+ var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.y9;
48
+ var getAllOperators = kotlin_it_unibo_tuprolog_solve.$_$.z2;
49
+ var toOperatorSet = kotlin_it_unibo_tuprolog_solve.$_$.b3;
50
+ var currentTimeInstant = kotlin_it_unibo_tuprolog_solve.$_$.x2;
51
+ var asSequence = kotlin_kotlin.$_$.y6;
52
+ var initMetadataForClass = kotlin_kotlin.$_$.m5;
53
+ var ensureNotNull = kotlin_kotlin.$_$.t9;
54
+ var fromInt = kotlin_kotlin.$_$.m4;
55
+ var add = kotlin_kotlin.$_$.h4;
56
+ var hashCode = kotlin_kotlin.$_$.l5;
57
+ var equals = kotlin_kotlin.$_$.g5;
58
+ var CoroutineImpl = kotlin_kotlin.$_$.e4;
59
+ var SequenceScope = kotlin_kotlin.$_$.u6;
60
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d4;
61
+ var initMetadataForLambda = kotlin_kotlin.$_$.p5;
62
+ var sequence = kotlin_kotlin.$_$.y7;
63
+ var toString_0 = kotlin_kotlin.$_$.aa;
64
+ var asSequence_0 = kotlin_kotlin.$_$.v1;
65
+ var emptySequence = kotlin_kotlin.$_$.d7;
66
+ var plus = kotlin_kotlin.$_$.v7;
67
+ var KProperty1 = kotlin_kotlin.$_$.t6;
68
+ var getPropertyCallableRef = kotlin_kotlin.$_$.j5;
69
+ var flatMap = kotlin_kotlin.$_$.j7;
70
+ var distinct = kotlin_kotlin.$_$.b7;
71
+ var cached = kotlin_it_unibo_tuprolog_utils.$_$.r;
69
72
  var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.q;
70
- var filter = kotlin_kotlin.$_$.w6;
71
- var map = kotlin_kotlin.$_$.h7;
72
- var toList = kotlin_kotlin.$_$.t7;
73
- var Companion_instance_6 = kotlin_it_unibo_tuprolog_solve.$_$.q;
73
+ var filter = kotlin_kotlin.$_$.g7;
74
+ var map = kotlin_kotlin.$_$.r7;
75
+ var toList = kotlin_kotlin.$_$.e8;
76
+ var Companion_instance_6 = kotlin_it_unibo_tuprolog_solve.$_$.r;
74
77
  var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.r;
75
78
  var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.t;
76
79
  var Companion_instance_7 = kotlin_it_unibo_tuprolog_utils.$_$.c;
77
- var Companion_getInstance_4 = kotlin_kotlin.$_$.q1;
78
- var emptySet = kotlin_kotlin.$_$.o2;
79
- var lazy = kotlin_kotlin.$_$.i9;
80
- var contains = kotlin_kotlin.$_$.p6;
81
- var createSolver = kotlin_it_unibo_tuprolog_solve.$_$.b;
82
- var update = kotlin_it_unibo_tuprolog_solve.$_$.c;
83
- var apply = kotlin_it_unibo_tuprolog_solve.$_$.u1;
84
- var applyIterable = kotlin_it_unibo_tuprolog_solve.$_$.t1;
85
- var applySequence = kotlin_it_unibo_tuprolog_solve.$_$.v1;
86
- var get_standardInput = kotlin_it_unibo_tuprolog_solve.$_$.x1;
87
- var get_standardOutput = kotlin_it_unibo_tuprolog_solve.$_$.y1;
88
- var get_standardError = kotlin_it_unibo_tuprolog_solve.$_$.w1;
89
- var get_warnings = kotlin_it_unibo_tuprolog_solve.$_$.z1;
90
- var get_endTime = kotlin_it_unibo_tuprolog_solve.$_$.r1;
91
- var get_remainingTime = kotlin_it_unibo_tuprolog_solve.$_$.s1;
92
- var get_elapsedTime = kotlin_it_unibo_tuprolog_solve.$_$.q1;
93
- var ExecutionContext = kotlin_it_unibo_tuprolog_solve.$_$.a2;
94
- var KProperty1 = kotlin_kotlin.$_$.j6;
95
- var getPropertyCallableRef = kotlin_kotlin.$_$.a5;
96
- var objectCreate = kotlin_kotlin.$_$.o5;
97
- var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.h;
98
- var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.g;
99
- var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.d;
100
- var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.e;
101
- var newBuilder = kotlin_it_unibo_tuprolog_solve.$_$.t2;
102
- var get_defaultRuntime = kotlin_it_unibo_tuprolog_solve.$_$.o2;
103
- var get_defaultUnificator = kotlin_it_unibo_tuprolog_solve.$_$.q2;
104
- var get_defaultFlags = kotlin_it_unibo_tuprolog_solve.$_$.l2;
105
- var get_defaultStaticKb = kotlin_it_unibo_tuprolog_solve.$_$.p2;
106
- var get_defaultDynamicKb = kotlin_it_unibo_tuprolog_solve.$_$.j2;
107
- var get_defaultInputChannel = kotlin_it_unibo_tuprolog_solve.$_$.m2;
108
- var get_defaultOutputChannel = kotlin_it_unibo_tuprolog_solve.$_$.n2;
109
- var get_defaultErrorChannel = kotlin_it_unibo_tuprolog_solve.$_$.k2;
110
- var get_defaultWarningsChannel = kotlin_it_unibo_tuprolog_solve.$_$.r2;
111
- var solverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.u2;
112
- var solverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.i;
113
- var mutableSolverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.s2;
114
- var mutableSolverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.f;
115
- var SolverFactory = kotlin_it_unibo_tuprolog_solve.$_$.v2;
116
- var objectMeta = kotlin_kotlin.$_$.p5;
117
- var defineProp = kotlin_kotlin.$_$.w4;
118
- var listOf = kotlin_kotlin.$_$.b3;
119
- var getAllOperators_0 = kotlin_it_unibo_tuprolog_solve.$_$.z2;
120
- var to = kotlin_kotlin.$_$.n9;
121
- var loadStaticClauses = kotlin_it_unibo_tuprolog_solve.$_$.e2;
122
- var loadStaticClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.f2;
123
- var loadStaticClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.g2;
124
- var loadDynamicClauses = kotlin_it_unibo_tuprolog_solve.$_$.d2;
125
- var loadDynamicClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.b2;
126
- var loadDynamicClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.c2;
127
- var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.h2;
128
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.y;
129
- var TimeOutException_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.k;
130
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.z;
131
- var interfaceMeta = kotlin_kotlin.$_$.d5;
132
- var getKClass = kotlin_kotlin.$_$.c;
133
- var ClassCastException_init_$Create$ = kotlin_kotlin.$_$.q;
134
- var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.g1;
135
- var MessageError = kotlin_it_unibo_tuprolog_solve.$_$.h1;
136
- var Companion_instance_9 = kotlin_it_unibo_tuprolog_solve.$_$.u;
137
- var plus_0 = kotlin_it_unibo_tuprolog_utils.$_$.f1;
138
- var LogicError = kotlin_it_unibo_tuprolog_solve.$_$.i1;
139
- var toSet = kotlin_kotlin.$_$.v7;
140
- var plus_1 = kotlin_kotlin.$_$.r3;
141
- var TrackVariables_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.z;
142
- var drop = kotlin_kotlin.$_$.s6;
143
- var first = kotlin_kotlin.$_$.y6;
80
+ var emptySet = kotlin_kotlin.$_$.g2;
81
+ var lazy = kotlin_kotlin.$_$.v9;
82
+ var contains = kotlin_kotlin.$_$.z6;
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.$_$.v1;
87
+ var applyIterable = kotlin_it_unibo_tuprolog_solve.$_$.u1;
88
+ var applySequence = kotlin_it_unibo_tuprolog_solve.$_$.w1;
89
+ var getBigIntHashCode = kotlin_kotlin.$_$.h5;
90
+ var get_standardInput = kotlin_it_unibo_tuprolog_solve.$_$.y1;
91
+ var get_standardOutput = kotlin_it_unibo_tuprolog_solve.$_$.z1;
92
+ var get_standardError = kotlin_it_unibo_tuprolog_solve.$_$.x1;
93
+ var get_warnings = kotlin_it_unibo_tuprolog_solve.$_$.a2;
94
+ var get_endTime = kotlin_it_unibo_tuprolog_solve.$_$.s1;
95
+ var get_remainingTime = kotlin_it_unibo_tuprolog_solve.$_$.t1;
96
+ var get_elapsedTime = kotlin_it_unibo_tuprolog_solve.$_$.r1;
97
+ var ExecutionContext = kotlin_it_unibo_tuprolog_solve.$_$.b2;
98
+ var objectCreate = kotlin_kotlin.$_$.a6;
99
+ var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.i;
100
+ var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.h;
101
+ var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.e;
102
+ var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.f;
103
+ var newBuilder = kotlin_it_unibo_tuprolog_solve.$_$.u2;
104
+ var get_defaultRuntime = kotlin_it_unibo_tuprolog_solve.$_$.p2;
105
+ var get_defaultUnificator = kotlin_it_unibo_tuprolog_solve.$_$.r2;
106
+ var get_defaultFlags = kotlin_it_unibo_tuprolog_solve.$_$.m2;
107
+ var get_defaultStaticKb = kotlin_it_unibo_tuprolog_solve.$_$.q2;
108
+ var get_defaultDynamicKb = kotlin_it_unibo_tuprolog_solve.$_$.k2;
109
+ var get_defaultInputChannel = kotlin_it_unibo_tuprolog_solve.$_$.n2;
110
+ var get_defaultOutputChannel = kotlin_it_unibo_tuprolog_solve.$_$.o2;
111
+ var get_defaultErrorChannel = kotlin_it_unibo_tuprolog_solve.$_$.l2;
112
+ var get_defaultWarningsChannel = kotlin_it_unibo_tuprolog_solve.$_$.s2;
113
+ var solverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.v2;
114
+ var solverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.j;
115
+ var mutableSolverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.t2;
116
+ var mutableSolverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.g;
117
+ var SolverFactory = kotlin_it_unibo_tuprolog_solve.$_$.w2;
118
+ var initMetadataForObject = kotlin_kotlin.$_$.q5;
119
+ var defineProp = kotlin_kotlin.$_$.f5;
120
+ var listOf = kotlin_kotlin.$_$.t2;
121
+ var getAllOperators_0 = kotlin_it_unibo_tuprolog_solve.$_$.a3;
122
+ var to = kotlin_kotlin.$_$.ba;
123
+ var loadStaticClauses = kotlin_it_unibo_tuprolog_solve.$_$.f2;
124
+ var loadStaticClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.g2;
125
+ var loadStaticClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.h2;
126
+ var loadDynamicClauses = kotlin_it_unibo_tuprolog_solve.$_$.e2;
127
+ var loadDynamicClausesIterable = kotlin_it_unibo_tuprolog_solve.$_$.c2;
128
+ var loadDynamicClausesSequence = kotlin_it_unibo_tuprolog_solve.$_$.d2;
129
+ var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.i2;
130
+ var initMetadataForCompanion = kotlin_kotlin.$_$.n5;
131
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w;
132
+ var subtract = kotlin_kotlin.$_$.u4;
133
+ var TimeOutException_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.l;
134
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.x;
135
+ var initMetadataForInterface = kotlin_kotlin.$_$.o5;
136
+ var getKClass = kotlin_kotlin.$_$.s6;
137
+ var ClassCastException_init_$Create$ = kotlin_kotlin.$_$.o;
138
+ var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.h1;
139
+ var MessageError = kotlin_it_unibo_tuprolog_solve.$_$.i1;
140
+ var Companion_instance_9 = kotlin_it_unibo_tuprolog_solve.$_$.v;
141
+ var plus_0 = kotlin_it_unibo_tuprolog_utils.$_$.h1;
142
+ var LogicError = kotlin_it_unibo_tuprolog_solve.$_$.j1;
143
+ var toSet = kotlin_kotlin.$_$.g8;
144
+ var plus_1 = kotlin_kotlin.$_$.j3;
145
+ var TrackVariables_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a1;
146
+ var drop = kotlin_kotlin.$_$.c7;
147
+ var first = kotlin_kotlin.$_$.i7;
144
148
  var Unifier = kotlin_it_unibo_tuprolog_core.$_$.l1;
145
- var isInterface = kotlin_kotlin.$_$.g5;
146
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v;
147
- var ResolutionException = kotlin_it_unibo_tuprolog_solve.$_$.j1;
148
- var Companion_instance_10 = kotlin_it_unibo_tuprolog_solve.$_$.v;
149
- var extractSignature = kotlin_it_unibo_tuprolog_solve.$_$.x2;
150
- var Signature = kotlin_it_unibo_tuprolog_solve.$_$.i2;
149
+ var isInterface = kotlin_kotlin.$_$.t5;
150
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t;
151
+ var ResolutionException = kotlin_it_unibo_tuprolog_solve.$_$.k1;
152
+ var Companion_instance_10 = kotlin_it_unibo_tuprolog_solve.$_$.w;
153
+ var extractSignature = kotlin_it_unibo_tuprolog_solve.$_$.y2;
154
+ var Signature = kotlin_it_unibo_tuprolog_solve.$_$.j2;
151
155
  var Expected_CALLABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a;
152
- var cursor = kotlin_it_unibo_tuprolog_utils.$_$.r;
153
- var Companion_instance_11 = kotlin_it_unibo_tuprolog_solve.$_$.s;
156
+ var cursor = kotlin_it_unibo_tuprolog_utils.$_$.t;
157
+ var Companion_instance_11 = kotlin_it_unibo_tuprolog_solve.$_$.t;
154
158
  var prepareForExecutionWithUnifier = kotlin_it_unibo_tuprolog_core.$_$.m2;
155
- var setOf = kotlin_kotlin.$_$.x3;
156
- var Unknown_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a1;
157
- var MissingPredicate_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.j;
158
- var Companion_instance_12 = kotlin_it_unibo_tuprolog_solve.$_$.r;
159
- var contains_0 = kotlin_kotlin.$_$.g2;
160
- var firstOrNull = kotlin_kotlin.$_$.x6;
161
- var any = kotlin_kotlin.$_$.m6;
162
- var LastCallOptimization_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.y;
163
- var buffered = kotlin_it_unibo_tuprolog_utils.$_$.o;
164
- var sequenceOf = kotlin_kotlin.$_$.m7;
165
- var MagicCut = kotlin_it_unibo_tuprolog_solve.$_$.p1;
166
- var Request = kotlin_it_unibo_tuprolog_solve.$_$.m1;
167
- var ExtensionLibrary = kotlin_it_unibo_tuprolog_solve.$_$.l1;
168
- var CommonBuiltins_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.f1;
169
- var listOf_0 = kotlin_kotlin.$_$.c3;
159
+ var setOf = kotlin_kotlin.$_$.p3;
160
+ var Unknown_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.b1;
161
+ var MissingPredicate_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.k;
162
+ var Companion_instance_12 = kotlin_it_unibo_tuprolog_solve.$_$.s;
163
+ var contains_0 = kotlin_kotlin.$_$.y1;
164
+ var firstOrNull = kotlin_kotlin.$_$.h7;
165
+ var any = kotlin_kotlin.$_$.w6;
166
+ var LastCallOptimization_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.z;
167
+ var buffered = kotlin_it_unibo_tuprolog_utils.$_$.q;
168
+ var sequenceOf = kotlin_kotlin.$_$.w7;
169
+ var MagicCut = kotlin_it_unibo_tuprolog_solve.$_$.q1;
170
+ var sequenceOf_0 = kotlin_kotlin.$_$.x7;
171
+ var Request = kotlin_it_unibo_tuprolog_solve.$_$.n1;
172
+ var get_ONE = kotlin_kotlin.$_$.g4;
173
+ var ExtensionLibrary = kotlin_it_unibo_tuprolog_solve.$_$.m1;
174
+ var CommonBuiltins_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.g1;
175
+ var listOf_0 = kotlin_kotlin.$_$.u2;
170
176
  var Struct = kotlin_it_unibo_tuprolog_core.$_$.k1;
171
- var Companion_instance_13 = kotlin_it_unibo_tuprolog_solve.$_$.t;
172
- var Companion_instance_14 = kotlin_it_unibo_tuprolog_solve.$_$.w;
173
- var UnaryPredicate = kotlin_it_unibo_tuprolog_solve.$_$.n1;
174
- var Companion_getInstance_5 = kotlin_it_unibo_tuprolog_solve.$_$.c1;
175
- var RuleWrapper = kotlin_it_unibo_tuprolog_solve.$_$.o1;
176
- var RuleWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.l;
177
- var EnsureExecutable_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.e1;
178
- var MagicCut_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.d1;
177
+ var Companion_instance_13 = kotlin_it_unibo_tuprolog_solve.$_$.u;
178
+ var Companion_instance_14 = kotlin_it_unibo_tuprolog_solve.$_$.x;
179
+ var UnaryPredicate = kotlin_it_unibo_tuprolog_solve.$_$.o1;
180
+ var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.d1;
181
+ var RuleWrapper = kotlin_it_unibo_tuprolog_solve.$_$.p1;
182
+ var RuleWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.m;
183
+ var EnsureExecutable_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.f1;
184
+ var MagicCut_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.e1;
179
185
  //endregion
180
186
  //region block: pre-declaration
181
- setMetadataFor(AbstractClassicSolver, 'AbstractClassicSolver', classMeta, AbstractSolver);
182
- setMetadataFor(ChoicePointContext, 'ChoicePointContext', classMeta);
183
- setMetadataFor(Primitives, 'Primitives', classMeta, ChoicePointContext);
184
- setMetadataFor(Rules, 'Rules', classMeta, ChoicePointContext);
185
- setMetadataFor(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn, 'ChoicePointContext$<get-pathToRoot>$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
186
- setMetadataFor(ClassicExecutionContext$pathToRoot$slambda, 'ClassicExecutionContext$pathToRoot$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
187
- setMetadataFor(ClassicExecutionContext, 'ClassicExecutionContext', classMeta, VOID, [ExecutionContext]);
188
- setMetadataFor(ClassicSolver, 'ClassicSolver', classMeta, AbstractClassicSolver);
189
- setMetadataFor(ClassicSolverFactory, 'ClassicSolverFactory', objectMeta, VOID, [SolverFactory]);
190
- setMetadataFor(MutableClassicSolver, 'MutableClassicSolver', classMeta, ClassicSolver, [ClassicSolver, MutableSolver]);
191
- 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);
192
198
  function get_isEndState() {
193
199
  return false;
194
200
  }
@@ -199,19 +205,20 @@
199
205
  var tmp0_elvis_lhs = this.asEndState();
200
206
  var tmp;
201
207
  if (tmp0_elvis_lhs == null) {
202
- throw ClassCastException_init_$Create$('Cannot cast ' + this + ' to ' + getKClass(EndState).n6());
208
+ throw ClassCastException_init_$Create$('Cannot cast ' + toString(this) + ' to ' + getKClass(EndState).z8());
203
209
  } else {
204
210
  tmp = tmp0_elvis_lhs;
205
211
  }
206
212
  return tmp;
207
213
  }
208
214
  function clone(context, $super) {
209
- context = context === VOID ? this.jb() : context;
210
- return $super === VOID ? this.p30(context) : $super.p30.call(this, context);
215
+ context = context === VOID ? this.f8() : context;
216
+ return $super === VOID ? this.a2z(context) : $super.a2z.call(this, context);
211
217
  }
212
- setMetadataFor(State, 'State', interfaceMeta);
218
+ initMetadataForInterface(State, 'State');
219
+ initMetadataForClass(AbstractState, 'AbstractState', VOID, VOID, [State]);
213
220
  function get_hasOpenAlternatives() {
214
- return this.l2f().y1t() ? this.jb().o2x() : false;
221
+ return this.d2e().q1s() && this.f8().v2v();
215
222
  }
216
223
  function get_isEndState_0() {
217
224
  return true;
@@ -220,40 +227,39 @@
220
227
  return this;
221
228
  }
222
229
  function asEndState_1() {
223
- return this.m30();
224
- }
225
- setMetadataFor(EndState, 'EndState', interfaceMeta, VOID, [State]);
226
- setMetadataFor(AbstractState, 'AbstractState', classMeta, VOID, [State]);
227
- setMetadataFor(AbstractEndState, 'AbstractEndState', classMeta, AbstractState, [EndState, AbstractState]);
228
- setMetadataFor(StateBacktracking, 'StateBacktracking', classMeta, AbstractState);
229
- setMetadataFor(StateEnd, 'StateEnd', classMeta, AbstractEndState);
230
- setMetadataFor(StateException, 'StateException', classMeta, AbstractState, [State, AbstractState]);
231
- setMetadataFor(StateGoalSelection, 'StateGoalSelection', classMeta, AbstractState);
232
- setMetadataFor(StateHalt, 'StateHalt', classMeta, AbstractEndState, [State, AbstractEndState]);
233
- setMetadataFor(StateInit, 'StateInit', classMeta, AbstractState);
234
- setMetadataFor(StatePrimitiveExecution, 'StatePrimitiveExecution', classMeta, AbstractState);
235
- setMetadataFor(StatePrimitiveSelection, 'StatePrimitiveSelection', classMeta, AbstractState);
236
- setMetadataFor(StateRuleExecution, 'StateRuleExecution', classMeta, AbstractState);
237
- setMetadataFor(CutLimit, 'CutLimit', classMeta);
238
- setMetadataFor(None, 'None', objectMeta, CutLimit);
239
- setMetadataFor(Actual, 'Actual', classMeta, CutLimit);
240
- setMetadataFor(Companion_0, 'Companion', objectMeta);
241
- setMetadataFor(StateRuleSelection, 'StateRuleSelection', classMeta, AbstractState);
242
- setMetadataFor(AbstractSolutionIterator, 'AbstractSolutionIterator', classMeta);
243
- setMetadataFor(SimpleSolutionIterator, 'SimpleSolutionIterator', classMeta, AbstractSolutionIterator);
244
- setMetadataFor(DefaultBuiltins, 'DefaultBuiltins', objectMeta, ExtensionLibrary);
245
- setMetadataFor(Throw, 'Throw', objectMeta, UnaryPredicate);
246
- setMetadataFor(Call, 'Call', objectMeta, RuleWrapper);
247
- setMetadataFor(Catch, 'Catch', objectMeta, RuleWrapper);
248
- setMetadataFor(Comma, 'Comma', objectMeta, RuleWrapper);
249
- setMetadataFor(Cut, 'Cut', objectMeta, RuleWrapper);
250
- setMetadataFor(NegationAsFailure, 'NegationAsFailure', classMeta, RuleWrapper);
251
- setMetadataFor(Fail, 'Fail', objectMeta, NegationAsFailure);
252
- setMetadataFor(Success, 'Success', objectMeta, NegationAsFailure);
253
- setMetadataFor(Companion_1, 'Companion', objectMeta);
230
+ return this.z2y();
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);
254
260
  //endregion
255
261
  function AbstractClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
256
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
262
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
257
263
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
258
264
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
259
265
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -263,31 +269,29 @@
263
269
  stdErr = stdErr === VOID ? Companion_instance_3.stdErr() : stdErr;
264
270
  warnings = warnings === VOID ? Companion_instance_3.warning() : warnings;
265
271
  trustKb = trustKb === VOID ? false : trustKb;
266
- AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.v1v(stdIn), Companion_instance_5.y1v(stdOut, stdErr, warnings), trustKb);
272
+ AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.n1u(stdIn), Companion_instance_5.q1u(stdOut, stdErr, warnings), trustKb);
267
273
  return $this;
268
274
  }
269
275
  function updateCurrentContextAfterStateTransition($this, source, destination, index) {
270
276
  // Inline function 'kotlin.require' call
271
- // Inline function 'kotlin.contracts.contract' call
272
277
  // Inline function 'kotlin.require' call
273
- // Inline function 'kotlin.contracts.contract' call
274
- if (!destination.jb().k2w_1.equals(index)) {
275
- // Inline function 'kotlin.require.<anonymous>' call
278
+ if (!(destination.f8().r2u_1 === index)) {
276
279
  var message = 'Failed requirement.';
277
280
  throw IllegalArgumentException_init_$Create$(toString(message));
278
281
  }
279
- $this.r2w(destination.jb());
282
+ $this.y2u(destination.f8());
280
283
  }
281
- function AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref($boundThis) {
282
- var l = function (p0, p1, p2) {
283
- 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);
284
288
  return Unit_instance;
285
289
  };
286
290
  l.callableName = 'updateCurrentContextAfterStateTransition';
287
291
  return l;
288
292
  }
289
293
  function AbstractClassicSolver(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb) {
290
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
294
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
291
295
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
292
296
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
293
297
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -297,97 +301,101 @@
297
301
  trustKb = trustKb === VOID ? false : trustKb;
298
302
  AbstractSolver.call(this, unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb);
299
303
  }
300
- protoOf(AbstractClassicSolver).r2w = function (_set____db54di) {
301
- this.q2w_1 = _set____db54di;
304
+ protoOf(AbstractClassicSolver).y2u = function (_set____db54di) {
305
+ this.x2u_1 = _set____db54di;
302
306
  };
303
- protoOf(AbstractClassicSolver).p28 = function (_set____db54di) {
304
- return this.r2w(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
307
+ protoOf(AbstractClassicSolver).g27 = function (_set____db54di) {
308
+ return this.y2u(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
305
309
  };
306
- protoOf(AbstractClassicSolver).n28 = function () {
307
- var tmp = this.q2w_1;
310
+ protoOf(AbstractClassicSolver).e27 = function () {
311
+ var tmp = this.x2u_1;
308
312
  if (!(tmp == null))
309
313
  return tmp;
310
314
  else {
311
315
  throwUninitializedPropertyAccessException('currentContext');
312
316
  }
313
317
  };
314
- protoOf(AbstractClassicSolver).o28 = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
315
- 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));
316
- };
317
- protoOf(AbstractClassicSolver).v28 = function (goal, options) {
318
- var tmp0_unificator = this.a1j();
319
- var tmp1_libraries = this.x1s();
320
- var tmp2_flags = this.y1s();
321
- var tmp3_staticKb = this.z1s().toImmutableTheory();
322
- var tmp4_dynamicKb = this.a1t().toMutableTheory();
323
- var tmp5_operators = this.f1t();
324
- var tmp6_inputChannels = this.b1t();
325
- var tmp7_outputChannels = this.c1t();
326
- var tmp8_customData = this.n28().z2v_1;
318
+ protoOf(AbstractClassicSolver).f27 = 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).m27 = function (goal, options) {
322
+ var tmp0_unificator = this.r1h();
323
+ var tmp1_libraries = this.o1r();
324
+ var tmp2_flags = this.p1r();
325
+ var tmp3_staticKb = this.q1r().toImmutableTheory();
326
+ var tmp4_dynamicKb = this.r1r().toMutableTheory();
327
+ var tmp5_operators = this.x1r();
328
+ var tmp6_inputChannels = this.s1r();
329
+ var tmp7_outputChannels = this.t1r();
330
+ var tmp8_customData = this.e27().g2u_1;
327
331
  var tmp9_startTime = currentTimeInstant();
328
- var tmp10_maxDuration = options.c1v();
329
- this.r2w(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));
330
- var tmp = new StateInit(this.n28());
331
- return asSequence(this.s2w(tmp, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
332
+ var tmp10_maxDuration = options.u1t();
333
+ this.y2u(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.e27());
335
+ return asSequence(this.z2u(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());
332
339
  };
333
340
  function Primitives(alternatives, executionContext, parent, depth) {
334
341
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
335
- this.x2w_1 = alternatives;
336
- this.y2w_1 = executionContext;
337
- this.z2w_1 = parent;
338
- this.a2x_1 = depth;
342
+ this.e2v_1 = alternatives;
343
+ this.f2v_1 = executionContext;
344
+ this.g2v_1 = parent;
345
+ this.h2v_1 = depth;
339
346
  }
340
- protoOf(Primitives).b2x = function () {
341
- return this.x2w_1;
347
+ protoOf(Primitives).i2v = function () {
348
+ return this.e2v_1;
342
349
  };
343
- protoOf(Primitives).c2x = function () {
344
- return this.y2w_1;
350
+ protoOf(Primitives).j2v = function () {
351
+ return this.f2v_1;
345
352
  };
346
- protoOf(Primitives).d2x = function () {
347
- return this.z2w_1;
353
+ protoOf(Primitives).k2v = function () {
354
+ return this.g2v_1;
348
355
  };
349
- protoOf(Primitives).e2x = function () {
350
- return this.a2x_1;
356
+ protoOf(Primitives).l2v = function () {
357
+ return this.h2v_1;
351
358
  };
352
359
  protoOf(Primitives).toString = function () {
353
360
  return protoOf(ChoicePointContext).toString.call(this);
354
361
  };
355
- protoOf(Primitives).f2x = function () {
362
+ protoOf(Primitives).m2v = function () {
356
363
  return 'Primitives';
357
364
  };
358
- protoOf(Primitives).g2x = function (context) {
359
- var tmp0_$this = ensureNotNull(this.y2w_1);
360
- var tmp1_primitives = this.x2w_1;
365
+ protoOf(Primitives).n2v = function (context) {
366
+ var tmp0_$this = ensureNotNull(this.f2v_1);
367
+ var tmp1_primitives = this.e2v_1;
361
368
  // Inline function 'kotlin.Long.plus' call
362
- var tmp2_step = context.k2w_1.ia(toLong(1));
363
- var tmp3_startTime = context.f2w_1;
364
- var tmp4_flags = context.t2v_1;
365
- var tmp5_dynamicKb = context.v2v_1;
366
- var tmp6_staticKb = context.u2v_1;
367
- var tmp7_operators = context.w2v_1;
368
- var tmp8_inputChannels = context.x2v_1;
369
- var tmp9_outputChannels = context.y2v_1;
370
- var tmp10_libraries = context.s2v_1;
371
- var tmp11_customData = context.z2v_1.discardEphemeral();
372
- var tempContext = tmp0_$this.h2x(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);
373
- var nextChoicePointContext = this.i2x(this.x2w_1.pp(), tempContext);
374
- return tempContext.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
375
- };
376
- protoOf(Primitives).j2x = function (alternatives, executionContext, parent, depth) {
369
+ var this_0 = context.r2u_1;
370
+ var tmp2_step = add(this_0, fromInt(1));
371
+ var tmp3_startTime = context.m2u_1;
372
+ var tmp4_flags = context.a2u_1;
373
+ var tmp5_dynamicKb = context.c2u_1;
374
+ var tmp6_staticKb = context.b2u_1;
375
+ var tmp7_operators = context.d2u_1;
376
+ var tmp8_inputChannels = context.e2u_1;
377
+ var tmp9_outputChannels = context.f2u_1;
378
+ var tmp10_libraries = context.z2t_1;
379
+ var tmp11_customData = context.g2u_1.discardEphemeral();
380
+ var tempContext = tmp0_$this.o2v(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.p2v(this.e2v_1.mo(), tempContext);
382
+ return tempContext.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
383
+ };
384
+ protoOf(Primitives).q2v = function (alternatives, executionContext, parent, depth) {
377
385
  return new Primitives(alternatives, executionContext, parent, depth);
378
386
  };
379
- protoOf(Primitives).i2x = function (alternatives, executionContext, parent, depth, $super) {
380
- alternatives = alternatives === VOID ? this.x2w_1 : alternatives;
381
- executionContext = executionContext === VOID ? this.y2w_1 : executionContext;
382
- parent = parent === VOID ? this.z2w_1 : parent;
383
- depth = depth === VOID ? this.a2x_1 : depth;
384
- return $super === VOID ? this.j2x(alternatives, executionContext, parent, depth) : $super.j2x.call(this, alternatives, executionContext, parent, depth);
387
+ protoOf(Primitives).p2v = function (alternatives, executionContext, parent, depth, $super) {
388
+ alternatives = alternatives === VOID ? this.e2v_1 : alternatives;
389
+ executionContext = executionContext === VOID ? this.f2v_1 : executionContext;
390
+ parent = parent === VOID ? this.g2v_1 : parent;
391
+ depth = depth === VOID ? this.h2v_1 : depth;
392
+ return $super === VOID ? this.q2v(alternatives, executionContext, parent, depth) : $super.q2v.call(this, alternatives, executionContext, parent, depth);
385
393
  };
386
394
  protoOf(Primitives).hashCode = function () {
387
- var result = hashCode(this.x2w_1);
388
- result = imul(result, 31) + (this.y2w_1 == null ? 0 : this.y2w_1.hashCode()) | 0;
389
- result = imul(result, 31) + (this.z2w_1 == null ? 0 : hashCode(this.z2w_1)) | 0;
390
- result = imul(result, 31) + this.a2x_1 | 0;
395
+ var result = hashCode(this.e2v_1);
396
+ result = imul(result, 31) + (this.f2v_1 == null ? 0 : this.f2v_1.hashCode()) | 0;
397
+ result = imul(result, 31) + (this.g2v_1 == null ? 0 : hashCode(this.g2v_1)) | 0;
398
+ result = imul(result, 31) + this.h2v_1 | 0;
391
399
  return result;
392
400
  };
393
401
  protoOf(Primitives).equals = function (other) {
@@ -395,75 +403,75 @@
395
403
  return true;
396
404
  if (!(other instanceof Primitives))
397
405
  return false;
398
- var tmp0_other_with_cast = other instanceof Primitives ? other : THROW_CCE();
399
- if (!equals(this.x2w_1, tmp0_other_with_cast.x2w_1))
406
+ if (!equals(this.e2v_1, other.e2v_1))
400
407
  return false;
401
- if (!equals(this.y2w_1, tmp0_other_with_cast.y2w_1))
408
+ if (!equals(this.f2v_1, other.f2v_1))
402
409
  return false;
403
- if (!equals(this.z2w_1, tmp0_other_with_cast.z2w_1))
410
+ if (!equals(this.g2v_1, other.g2v_1))
404
411
  return false;
405
- if (!(this.a2x_1 === tmp0_other_with_cast.a2x_1))
412
+ if (!(this.h2v_1 === other.h2v_1))
406
413
  return false;
407
414
  return true;
408
415
  };
409
416
  function Rules(alternatives, executionContext, parent, depth) {
410
417
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
411
- this.w2x_1 = alternatives;
412
- this.x2x_1 = executionContext;
413
- this.y2x_1 = parent;
414
- this.z2x_1 = depth;
418
+ this.d2w_1 = alternatives;
419
+ this.e2w_1 = executionContext;
420
+ this.f2w_1 = parent;
421
+ this.g2w_1 = depth;
415
422
  }
416
- protoOf(Rules).b2x = function () {
417
- return this.w2x_1;
423
+ protoOf(Rules).i2v = function () {
424
+ return this.d2w_1;
418
425
  };
419
- protoOf(Rules).c2x = function () {
420
- return this.x2x_1;
426
+ protoOf(Rules).j2v = function () {
427
+ return this.e2w_1;
421
428
  };
422
- protoOf(Rules).d2x = function () {
423
- return this.y2x_1;
429
+ protoOf(Rules).k2v = function () {
430
+ return this.f2w_1;
424
431
  };
425
- protoOf(Rules).e2x = function () {
426
- return this.z2x_1;
432
+ protoOf(Rules).l2v = function () {
433
+ return this.g2w_1;
427
434
  };
428
435
  protoOf(Rules).toString = function () {
429
436
  return protoOf(ChoicePointContext).toString.call(this);
430
437
  };
431
- protoOf(Rules).f2x = function () {
438
+ protoOf(Rules).m2v = function () {
432
439
  return 'Rules';
433
440
  };
434
- protoOf(Rules).g2x = function (context) {
435
- var tmp0_$this = ensureNotNull(this.x2x_1);
436
- var tmp1_rules = this.w2x_1;
441
+ protoOf(Rules).n2v = function (context) {
442
+ var tmp0_$this = ensureNotNull(this.e2w_1);
443
+ var tmp1_rules = this.d2w_1;
437
444
  // Inline function 'kotlin.Long.plus' call
438
- var tmp2_step = context.k2w_1.ia(toLong(1));
439
- var tmp3_startTime = context.f2w_1;
440
- var tmp4_flags = context.t2v_1;
441
- var tmp5_dynamicKb = context.v2v_1;
442
- var tmp6_staticKb = context.u2v_1;
443
- var tmp7_operators = context.w2v_1;
444
- var tmp8_inputChannels = context.x2v_1;
445
- var tmp9_outputChannels = context.y2v_1;
446
- var tmp10_libraries = context.s2v_1;
447
- var tmp11_customData = context.z2v_1.discardEphemeral();
448
- var tempContext = tmp0_$this.h2x(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);
449
- var nextChoicePointContext = this.a2y(this.w2x_1.pp(), tempContext);
450
- return tempContext.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
451
- };
452
- protoOf(Rules).b2y = function (alternatives, executionContext, parent, depth) {
445
+ var this_0 = context.r2u_1;
446
+ var tmp2_step = add(this_0, fromInt(1));
447
+ var tmp3_startTime = context.m2u_1;
448
+ var tmp4_flags = context.a2u_1;
449
+ var tmp5_dynamicKb = context.c2u_1;
450
+ var tmp6_staticKb = context.b2u_1;
451
+ var tmp7_operators = context.d2u_1;
452
+ var tmp8_inputChannels = context.e2u_1;
453
+ var tmp9_outputChannels = context.f2u_1;
454
+ var tmp10_libraries = context.z2t_1;
455
+ var tmp11_customData = context.g2u_1.discardEphemeral();
456
+ var tempContext = tmp0_$this.o2v(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.h2w(this.d2w_1.mo(), tempContext);
458
+ return tempContext.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
459
+ };
460
+ protoOf(Rules).i2w = function (alternatives, executionContext, parent, depth) {
453
461
  return new Rules(alternatives, executionContext, parent, depth);
454
462
  };
455
- protoOf(Rules).a2y = function (alternatives, executionContext, parent, depth, $super) {
456
- alternatives = alternatives === VOID ? this.w2x_1 : alternatives;
457
- executionContext = executionContext === VOID ? this.x2x_1 : executionContext;
458
- parent = parent === VOID ? this.y2x_1 : parent;
459
- depth = depth === VOID ? this.z2x_1 : depth;
460
- return $super === VOID ? this.b2y(alternatives, executionContext, parent, depth) : $super.b2y.call(this, alternatives, executionContext, parent, depth);
463
+ protoOf(Rules).h2w = function (alternatives, executionContext, parent, depth, $super) {
464
+ alternatives = alternatives === VOID ? this.d2w_1 : alternatives;
465
+ executionContext = executionContext === VOID ? this.e2w_1 : executionContext;
466
+ parent = parent === VOID ? this.f2w_1 : parent;
467
+ depth = depth === VOID ? this.g2w_1 : depth;
468
+ return $super === VOID ? this.i2w(alternatives, executionContext, parent, depth) : $super.i2w.call(this, alternatives, executionContext, parent, depth);
461
469
  };
462
470
  protoOf(Rules).hashCode = function () {
463
- var result = hashCode(this.w2x_1);
464
- result = imul(result, 31) + (this.x2x_1 == null ? 0 : this.x2x_1.hashCode()) | 0;
465
- result = imul(result, 31) + (this.y2x_1 == null ? 0 : hashCode(this.y2x_1)) | 0;
466
- result = imul(result, 31) + this.z2x_1 | 0;
471
+ var result = hashCode(this.d2w_1);
472
+ result = imul(result, 31) + (this.e2w_1 == null ? 0 : this.e2w_1.hashCode()) | 0;
473
+ result = imul(result, 31) + (this.f2w_1 == null ? 0 : hashCode(this.f2w_1)) | 0;
474
+ result = imul(result, 31) + this.g2w_1 | 0;
467
475
  return result;
468
476
  };
469
477
  protoOf(Rules).equals = function (other) {
@@ -471,115 +479,114 @@
471
479
  return true;
472
480
  if (!(other instanceof Rules))
473
481
  return false;
474
- var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
475
- if (!equals(this.w2x_1, tmp0_other_with_cast.w2x_1))
482
+ if (!equals(this.d2w_1, other.d2w_1))
476
483
  return false;
477
- if (!equals(this.x2x_1, tmp0_other_with_cast.x2x_1))
484
+ if (!equals(this.e2w_1, other.e2w_1))
478
485
  return false;
479
- if (!equals(this.y2x_1, tmp0_other_with_cast.y2x_1))
486
+ if (!equals(this.f2w_1, other.f2w_1))
480
487
  return false;
481
- if (!(this.z2x_1 === tmp0_other_with_cast.z2x_1))
488
+ if (!(this.g2w_1 === other.g2w_1))
482
489
  return false;
483
490
  return true;
484
491
  };
485
492
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation) {
486
- this.k2y_1 = this$0;
493
+ this.r2w_1 = this$0;
487
494
  CoroutineImpl.call(this, resultContinuation);
488
495
  }
489
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).n2y = function ($this$sequence, $completion) {
490
- var tmp = this.o2y($this$sequence, $completion);
491
- tmp.eb_1 = Unit_instance;
492
- tmp.fb_1 = null;
493
- return tmp.nb();
496
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).u2w = function ($this$sequence, $completion) {
497
+ var tmp = this.v2w($this$sequence, $completion);
498
+ tmp.b8_1 = Unit_instance;
499
+ tmp.c8_1 = null;
500
+ return tmp.h8();
494
501
  };
495
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).ac = function (p1, $completion) {
496
- return this.n2y(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
502
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).y8 = function (p1, $completion) {
503
+ return this.u2w(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
497
504
  };
498
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).nb = function () {
499
- var suspendResult = this.eb_1;
505
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).h8 = function () {
506
+ var suspendResult = this.b8_1;
500
507
  $sm: do
501
508
  try {
502
- var tmp = this.cb_1;
509
+ var tmp = this.z7_1;
503
510
  switch (tmp) {
504
511
  case 0:
505
- this.db_1 = 4;
506
- this.m2y_1 = this.k2y_1;
507
- this.cb_1 = 1;
512
+ this.a8_1 = 4;
513
+ this.t2w_1 = this.r2w_1;
514
+ this.z7_1 = 1;
508
515
  continue $sm;
509
516
  case 1:
510
- if (!!(this.m2y_1 == null)) {
511
- this.cb_1 = 3;
517
+ if (!!(this.t2w_1 == null)) {
518
+ this.z7_1 = 3;
512
519
  continue $sm;
513
520
  }
514
521
 
515
- this.cb_1 = 2;
516
- suspendResult = this.l2y_1.sd(ensureNotNull(this.m2y_1), this);
522
+ this.z7_1 = 2;
523
+ suspendResult = this.s2w_1.lc(ensureNotNull(this.t2w_1), this);
517
524
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
518
525
  return suspendResult;
519
526
  }
520
527
 
521
528
  continue $sm;
522
529
  case 2:
523
- this.m2y_1 = this.m2y_1.d2x();
524
- this.cb_1 = 1;
530
+ this.t2w_1 = this.t2w_1.k2v();
531
+ this.z7_1 = 1;
525
532
  continue $sm;
526
533
  case 3:
527
534
  return Unit_instance;
528
535
  case 4:
529
- throw this.fb_1;
536
+ throw this.c8_1;
530
537
  }
531
538
  } catch ($p) {
532
539
  var e = $p;
533
- if (this.db_1 === 4) {
540
+ if (this.a8_1 === 4) {
534
541
  throw e;
535
542
  } else {
536
- this.cb_1 = this.db_1;
537
- this.fb_1 = e;
543
+ this.z7_1 = this.a8_1;
544
+ this.c8_1 = e;
538
545
  }
539
546
  }
540
547
  while (true);
541
548
  };
542
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).o2y = function ($this$sequence, completion) {
543
- var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.k2y_1, completion);
544
- i.l2y_1 = $this$sequence;
549
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).v2w = function ($this$sequence, completion) {
550
+ var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.r2w_1, completion);
551
+ i.s2w_1 = $this$sequence;
545
552
  return i;
546
553
  };
547
554
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this$0, resultContinuation) {
548
555
  var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation);
549
556
  var l = function ($this$sequence, $completion) {
550
- return i.n2y($this$sequence, $completion);
557
+ return i.u2w($this$sequence, $completion);
551
558
  };
552
559
  l.$arity = 1;
553
560
  return l;
554
561
  }
555
562
  function ChoicePointContext(alternatives, executionContext, parent, depth) {
556
563
  depth = depth === VOID ? 0 : depth;
557
- this.k2x_1 = alternatives;
558
- this.l2x_1 = executionContext;
559
- this.m2x_1 = parent;
560
- this.n2x_1 = depth;
564
+ this.r2v_1 = alternatives;
565
+ this.s2v_1 = executionContext;
566
+ this.t2v_1 = parent;
567
+ this.u2v_1 = depth;
561
568
  }
562
- protoOf(ChoicePointContext).b2x = function () {
563
- return this.k2x_1;
569
+ protoOf(ChoicePointContext).i2v = function () {
570
+ return this.r2v_1;
564
571
  };
565
- protoOf(ChoicePointContext).c2x = function () {
566
- return this.l2x_1;
572
+ protoOf(ChoicePointContext).j2v = function () {
573
+ return this.s2v_1;
567
574
  };
568
- protoOf(ChoicePointContext).d2x = function () {
569
- return this.m2x_1;
575
+ protoOf(ChoicePointContext).k2v = function () {
576
+ return this.t2v_1;
570
577
  };
571
- protoOf(ChoicePointContext).e2x = function () {
572
- return this.n2x_1;
578
+ protoOf(ChoicePointContext).l2v = function () {
579
+ return this.u2v_1;
573
580
  };
574
- protoOf(ChoicePointContext).o2x = function () {
581
+ protoOf(ChoicePointContext).v2v = function () {
582
+ var tmp0 = this.w2v();
575
583
  var tmp$ret$1;
576
584
  $l$block: {
577
585
  // Inline function 'kotlin.sequences.any' call
578
- var tmp0_iterator = this.p2x().o();
579
- while (tmp0_iterator.p()) {
580
- var element = tmp0_iterator.r();
581
- // Inline function 'it.unibo.tuprolog.solve.classic.ChoicePointContext.<get-hasOpenAlternatives>.<anonymous>' call
582
- if (element.b2x().rp()) {
586
+ var _iterator__ex2g4s = tmp0.o();
587
+ while (_iterator__ex2g4s.r()) {
588
+ var element = _iterator__ex2g4s.s();
589
+ if (element.i2v().oo()) {
583
590
  tmp$ret$1 = true;
584
591
  break $l$block;
585
592
  }
@@ -588,117 +595,118 @@
588
595
  }
589
596
  return tmp$ret$1;
590
597
  };
591
- protoOf(ChoicePointContext).p2x = function () {
598
+ protoOf(ChoicePointContext).w2v = function () {
592
599
  return sequence(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this, null));
593
600
  };
594
- protoOf(ChoicePointContext).q2x = function () {
595
- var tmp0_safe_receiver = this.c2x();
596
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j2w_1;
601
+ protoOf(ChoicePointContext).x2v = function () {
602
+ var tmp0_safe_receiver = this.j2v();
603
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q2u_1;
597
604
  };
598
- protoOf(ChoicePointContext).r2x = function () {
599
- var tmp0_safe_receiver = this.c2x();
600
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q2v_1;
605
+ protoOf(ChoicePointContext).y2v = function () {
606
+ var tmp0_safe_receiver = this.j2v();
607
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x2t_1;
601
608
  };
602
609
  protoOf(ChoicePointContext).toString = function () {
603
- var tmp = this.f2x() + '(' + ('alternatives=' + this.b2x() + ', ');
610
+ var tmp = this.m2v() + '(' + ('alternatives=' + toString(this.i2v()) + ', ');
604
611
  var tmp_0;
605
- if (this.c2x() === null) {
606
- tmp_0 = 'executionContext=' + this.c2x() + ', ';
612
+ if (this.j2v() === null) {
613
+ tmp_0 = 'executionContext=' + toString_0(this.j2v()) + ', ';
607
614
  } else {
608
- 'executionContextDepth=' + this.q2x() + ', ';
609
- tmp_0 = 'executionContextProcedure=' + this.r2x() + ', ';
615
+ 'executionContextDepth=' + this.x2v() + ', ';
616
+ tmp_0 = 'executionContextProcedure=' + toString_0(this.y2v()) + ', ';
610
617
  }
611
- return tmp + tmp_0 + ('depth=' + this.e2x()) + ')';
618
+ return tmp + tmp_0 + ('depth=' + this.l2v()) + ')';
612
619
  };
613
620
  function appendRules(_this__u8e3s4, alternatives, executionContext) {
614
621
  executionContext = executionContext === VOID ? null : executionContext;
615
622
  return new Rules(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
616
623
  }
617
624
  function nextDepth(_this__u8e3s4) {
618
- return _this__u8e3s4 == null ? 0 : _this__u8e3s4.e2x() + 1 | 0;
625
+ return _this__u8e3s4 == null ? 0 : _this__u8e3s4.l2v() + 1 | 0;
619
626
  }
620
627
  function appendPrimitives(_this__u8e3s4, alternatives, executionContext) {
621
628
  executionContext = executionContext === VOID ? null : executionContext;
622
629
  return new Primitives(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
623
630
  }
624
631
  function _get_locallyInterestingVariables__39cqti($this) {
625
- var tmp = asSequence_0($this.l2w_1);
626
- var tmp0_safe_receiver = $this.c2w_1.qp();
627
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.mu();
632
+ var tmp = asSequence_0($this.s2u_1);
633
+ var tmp0_safe_receiver = $this.j2u_1.no();
634
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.et();
628
635
  return plus(tmp, tmp1_elvis_lhs == null ? emptySequence() : tmp1_elvis_lhs);
629
636
  }
630
637
  function _get_interestingVariables__k6uw5o($this) {
638
+ var tmp0 = $this.v2u_1;
639
+ var tmp = KProperty1;
631
640
  // Inline function 'kotlin.getValue' call
632
- var this_0 = $this.o2w_1;
633
- interestingVariables$factory();
634
- return this_0.q2();
641
+ getPropertyCallableRef('interestingVariables', 1, tmp, ClassicExecutionContext$_get_interestingVariables_$ref_xwa4zu(), null);
642
+ return tmp0.c2();
635
643
  }
636
644
  function ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation) {
637
- this.x2y_1 = this$0;
645
+ this.e2x_1 = this$0;
638
646
  CoroutineImpl.call(this, resultContinuation);
639
647
  }
640
- protoOf(ClassicExecutionContext$pathToRoot$slambda).a2z = function ($this$sequence, $completion) {
641
- var tmp = this.b2z($this$sequence, $completion);
642
- tmp.eb_1 = Unit_instance;
643
- tmp.fb_1 = null;
644
- return tmp.nb();
648
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).h2x = function ($this$sequence, $completion) {
649
+ var tmp = this.i2x($this$sequence, $completion);
650
+ tmp.b8_1 = Unit_instance;
651
+ tmp.c8_1 = null;
652
+ return tmp.h8();
645
653
  };
646
- protoOf(ClassicExecutionContext$pathToRoot$slambda).ac = function (p1, $completion) {
647
- return this.a2z(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
654
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).y8 = function (p1, $completion) {
655
+ return this.h2x(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
648
656
  };
649
- protoOf(ClassicExecutionContext$pathToRoot$slambda).nb = function () {
650
- var suspendResult = this.eb_1;
657
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).h8 = function () {
658
+ var suspendResult = this.b8_1;
651
659
  $sm: do
652
660
  try {
653
- var tmp = this.cb_1;
661
+ var tmp = this.z7_1;
654
662
  switch (tmp) {
655
663
  case 0:
656
- this.db_1 = 4;
657
- this.z2y_1 = this.x2y_1;
658
- this.cb_1 = 1;
664
+ this.a8_1 = 4;
665
+ this.g2x_1 = this.e2x_1;
666
+ this.z7_1 = 1;
659
667
  continue $sm;
660
668
  case 1:
661
- if (!!(this.z2y_1 == null)) {
662
- this.cb_1 = 3;
669
+ if (!!(this.g2x_1 == null)) {
670
+ this.z7_1 = 3;
663
671
  continue $sm;
664
672
  }
665
673
 
666
- this.cb_1 = 2;
667
- suspendResult = this.y2y_1.sd(this.z2y_1, this);
674
+ this.z7_1 = 2;
675
+ suspendResult = this.f2x_1.lc(this.g2x_1, this);
668
676
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
669
677
  return suspendResult;
670
678
  }
671
679
 
672
680
  continue $sm;
673
681
  case 2:
674
- this.z2y_1 = this.z2y_1.i2w_1;
675
- this.cb_1 = 1;
682
+ this.g2x_1 = this.g2x_1.p2u_1;
683
+ this.z7_1 = 1;
676
684
  continue $sm;
677
685
  case 3:
678
686
  return Unit_instance;
679
687
  case 4:
680
- throw this.fb_1;
688
+ throw this.c8_1;
681
689
  }
682
690
  } catch ($p) {
683
691
  var e = $p;
684
- if (this.db_1 === 4) {
692
+ if (this.a8_1 === 4) {
685
693
  throw e;
686
694
  } else {
687
- this.cb_1 = this.db_1;
688
- this.fb_1 = e;
695
+ this.z7_1 = this.a8_1;
696
+ this.c8_1 = e;
689
697
  }
690
698
  }
691
699
  while (true);
692
700
  };
693
- protoOf(ClassicExecutionContext$pathToRoot$slambda).b2z = function ($this$sequence, completion) {
694
- var i = new ClassicExecutionContext$pathToRoot$slambda(this.x2y_1, completion);
695
- i.y2y_1 = $this$sequence;
701
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).i2x = function ($this$sequence, completion) {
702
+ var i = new ClassicExecutionContext$pathToRoot$slambda(this.e2x_1, completion);
703
+ i.f2x_1 = $this$sequence;
696
704
  return i;
697
705
  };
698
706
  function ClassicExecutionContext$pathToRoot$slambda_0(this$0, resultContinuation) {
699
707
  var i = new ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation);
700
708
  var l = function ($this$sequence, $completion) {
701
- return i.a2z($this$sequence, $completion);
709
+ return i.h2x($this$sequence, $completion);
702
710
  };
703
711
  l.$arity = 1;
704
712
  return l;
@@ -706,42 +714,57 @@
706
714
  function ClassicExecutionContext$currentGoal$delegate$lambda(this$0) {
707
715
  return function () {
708
716
  var tmp;
709
- if (this$0.c2w_1.sp()) {
717
+ if (this$0.j2u_1.po()) {
710
718
  tmp = null;
711
719
  } else {
712
- var tmp0_safe_receiver = this$0.c2w_1.qp();
713
- tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.a2w_1);
720
+ var tmp0_safe_receiver = this$0.j2u_1.no();
721
+ tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.h2u_1);
714
722
  }
715
723
  return tmp;
716
724
  };
717
725
  }
726
+ function ClassicExecutionContext$_get_currentGoal_$ref_ulveh3() {
727
+ return function (p0) {
728
+ return p0.j2x();
729
+ };
730
+ }
718
731
  function ClassicExecutionContext$interestingVariables$delegate$lambda$lambda(it) {
719
732
  return _get_locallyInterestingVariables__39cqti(it);
720
733
  }
721
734
  function ClassicExecutionContext$interestingVariables$delegate$lambda(this$0) {
722
735
  return function () {
723
- var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.b2w_1.mu());
724
- return cached(distinct(plus(tmp, flatMap(this$0.m2w_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
736
+ var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.i2u_1.et());
737
+ return cached(distinct(plus(tmp, flatMap(this$0.t2u_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);
725
743
  };
726
744
  }
727
745
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
728
- return it.c2z();
746
+ return it.k2x();
729
747
  }
730
748
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0) {
731
749
  return function (it) {
732
- var tmp0_elvis_lhs = it.q2v_1;
733
- return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.b2w_1]) : tmp0_elvis_lhs;
750
+ var tmp0_elvis_lhs = it.x2t_1;
751
+ return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.i2u_1]) : tmp0_elvis_lhs;
734
752
  };
735
753
  }
736
754
  function ClassicExecutionContext$logicStackTrace$delegate$lambda(this$0) {
737
755
  return function () {
738
- var tmp = filter(this$0.m2w_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
756
+ var tmp = filter(this$0.t2u_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
739
757
  return toList(map(tmp, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0)));
740
758
  };
741
759
  }
760
+ function ClassicExecutionContext$_get_logicStackTrace_$ref_p35zx2() {
761
+ return function (p0) {
762
+ return p0.l1r();
763
+ };
764
+ }
742
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) {
743
766
  procedure = procedure === VOID ? null : procedure;
744
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
767
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
745
768
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
746
769
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
747
770
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -751,227 +774,225 @@
751
774
  outputChannels = outputChannels === VOID ? Companion_instance_5.fromStandard() : outputChannels;
752
775
  customData = customData === VOID ? Companion_instance_6.empty() : customData;
753
776
  substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
754
- query = query === VOID ? Companion_getInstance_3().bu_1 : query;
777
+ query = query === VOID ? Companion_getInstance_3().ts_1 : query;
755
778
  goals = goals === VOID ? Companion_instance_7.empty() : goals;
756
779
  rules = rules === VOID ? Companion_instance_7.empty() : rules;
757
780
  primitives = primitives === VOID ? Companion_instance_7.empty() : primitives;
758
- var tmp;
759
- if (maxDuration === VOID) {
760
- Companion_getInstance_4();
761
- tmp = new Long(-1, 2147483647);
762
- } else {
763
- tmp = maxDuration;
764
- }
765
- maxDuration = tmp;
781
+ maxDuration = maxDuration === VOID ? 9223372036854775807n : maxDuration;
766
782
  choicePoints = choicePoints === VOID ? null : choicePoints;
767
783
  parent = parent === VOID ? null : parent;
768
784
  depth = depth === VOID ? 0 : depth;
769
- step = step === VOID ? new Long(0, 0) : step;
785
+ step = step === VOID ? 0n : step;
770
786
  relevantVariables = relevantVariables === VOID ? emptySet() : relevantVariables;
771
- this.q2v_1 = procedure;
772
- this.r2v_1 = unificator;
773
- this.s2v_1 = libraries;
774
- this.t2v_1 = flags;
775
- this.u2v_1 = staticKb;
776
- this.v2v_1 = dynamicKb;
777
- this.w2v_1 = operators;
778
- this.x2v_1 = inputChannels;
779
- this.y2v_1 = outputChannels;
780
- this.z2v_1 = customData;
781
- this.a2w_1 = substitution;
782
- this.b2w_1 = query;
783
- this.c2w_1 = goals;
784
- this.d2w_1 = rules;
785
- this.e2w_1 = primitives;
786
- this.f2w_1 = startTime;
787
- this.g2w_1 = maxDuration;
788
- this.h2w_1 = choicePoints;
789
- this.i2w_1 = parent;
790
- this.j2w_1 = depth;
791
- this.k2w_1 = step;
792
- this.l2w_1 = relevantVariables;
787
+ this.x2t_1 = procedure;
788
+ this.y2t_1 = unificator;
789
+ this.z2t_1 = libraries;
790
+ this.a2u_1 = flags;
791
+ this.b2u_1 = staticKb;
792
+ this.c2u_1 = dynamicKb;
793
+ this.d2u_1 = operators;
794
+ this.e2u_1 = inputChannels;
795
+ this.f2u_1 = outputChannels;
796
+ this.g2u_1 = customData;
797
+ this.h2u_1 = substitution;
798
+ this.i2u_1 = query;
799
+ this.j2u_1 = goals;
800
+ this.k2u_1 = rules;
801
+ this.l2u_1 = primitives;
802
+ this.m2u_1 = startTime;
803
+ this.n2u_1 = maxDuration;
804
+ this.o2u_1 = choicePoints;
805
+ this.p2u_1 = parent;
806
+ this.q2u_1 = depth;
807
+ this.r2u_1 = step;
808
+ this.s2u_1 = relevantVariables;
793
809
  // Inline function 'kotlin.require' call
794
- // Inline function 'kotlin.contracts.contract' call
795
810
  // Inline function 'kotlin.require' call
796
- // Inline function 'kotlin.contracts.contract' call
797
- if (!((this.j2w_1 === 0 ? this.i2w_1 == null : false) ? true : this.j2w_1 > 0 ? !(this.i2w_1 == null) : false)) {
798
- // Inline function 'kotlin.require.<anonymous>' call
811
+ if (!(this.q2u_1 === 0 && this.p2u_1 == null || (this.q2u_1 > 0 && !(this.p2u_1 == null)))) {
799
812
  var message = 'Failed requirement.';
800
813
  throw IllegalArgumentException_init_$Create$(toString(message));
801
814
  }
802
815
  // Inline function 'kotlin.require' call
803
- // Inline function 'kotlin.contracts.contract' call
804
816
  // Inline function 'kotlin.require' call
805
- // Inline function 'kotlin.contracts.contract' call
806
- if (!(this.f2w_1.l6(new Long(0, 0)) >= 0)) {
807
- // Inline function 'kotlin.require.<anonymous>' call
817
+ if (!(this.m2u_1 >= 0n)) {
808
818
  var message_0 = 'Failed requirement.';
809
819
  throw IllegalArgumentException_init_$Create$(toString(message_0));
810
820
  }
811
821
  // Inline function 'kotlin.require' call
812
- // Inline function 'kotlin.contracts.contract' call
813
822
  // Inline function 'kotlin.require' call
814
- // Inline function 'kotlin.contracts.contract' call
815
- if (!(this.g2w_1.l6(new Long(0, 0)) >= 0)) {
816
- // Inline function 'kotlin.require.<anonymous>' call
823
+ if (!(this.n2u_1 >= 0n)) {
817
824
  var message_1 = 'Failed requirement.';
818
825
  throw IllegalArgumentException_init_$Create$(toString(message_1));
819
826
  }
827
+ var tmp = this;
828
+ tmp.t2u_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
820
829
  var tmp_0 = this;
821
- tmp_0.m2w_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
830
+ tmp_0.u2u_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
822
831
  var tmp_1 = this;
823
- tmp_1.n2w_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
832
+ tmp_1.v2u_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
824
833
  var tmp_2 = this;
825
- tmp_2.o2w_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
826
- var tmp_3 = this;
827
- tmp_3.p2w_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
834
+ tmp_2.w2u_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
828
835
  }
829
- protoOf(ClassicExecutionContext).s1s = function () {
830
- return this.q2v_1;
836
+ protoOf(ClassicExecutionContext).j1r = function () {
837
+ return this.x2t_1;
831
838
  };
832
- protoOf(ClassicExecutionContext).a1j = function () {
833
- return this.r2v_1;
839
+ protoOf(ClassicExecutionContext).r1h = function () {
840
+ return this.y2t_1;
834
841
  };
835
- protoOf(ClassicExecutionContext).x1s = function () {
836
- return this.s2v_1;
842
+ protoOf(ClassicExecutionContext).o1r = function () {
843
+ return this.z2t_1;
837
844
  };
838
- protoOf(ClassicExecutionContext).y1s = function () {
839
- return this.t2v_1;
845
+ protoOf(ClassicExecutionContext).p1r = function () {
846
+ return this.a2u_1;
840
847
  };
841
- protoOf(ClassicExecutionContext).z1s = function () {
842
- return this.u2v_1;
848
+ protoOf(ClassicExecutionContext).q1r = function () {
849
+ return this.b2u_1;
843
850
  };
844
- protoOf(ClassicExecutionContext).a1t = function () {
845
- return this.v2v_1;
851
+ protoOf(ClassicExecutionContext).r1r = function () {
852
+ return this.c2u_1;
846
853
  };
847
- protoOf(ClassicExecutionContext).f1t = function () {
848
- return this.w2v_1;
854
+ protoOf(ClassicExecutionContext).x1r = function () {
855
+ return this.d2u_1;
849
856
  };
850
- protoOf(ClassicExecutionContext).b1t = function () {
851
- return this.x2v_1;
857
+ protoOf(ClassicExecutionContext).s1r = function () {
858
+ return this.e2u_1;
852
859
  };
853
- protoOf(ClassicExecutionContext).c1t = function () {
854
- return this.y2v_1;
860
+ protoOf(ClassicExecutionContext).t1r = function () {
861
+ return this.f2u_1;
855
862
  };
856
- protoOf(ClassicExecutionContext).v1s = function () {
857
- return this.z2v_1;
863
+ protoOf(ClassicExecutionContext).m1r = function () {
864
+ return this.g2u_1;
858
865
  };
859
- protoOf(ClassicExecutionContext).t1s = function () {
860
- return this.a2w_1;
866
+ protoOf(ClassicExecutionContext).k1r = function () {
867
+ return this.h2u_1;
861
868
  };
862
- protoOf(ClassicExecutionContext).n1s = function () {
863
- return this.f2w_1;
869
+ protoOf(ClassicExecutionContext).e1r = function () {
870
+ return this.m2u_1;
864
871
  };
865
- protoOf(ClassicExecutionContext).p1s = function () {
866
- return this.g2w_1;
872
+ protoOf(ClassicExecutionContext).g1r = function () {
873
+ return this.n2u_1;
867
874
  };
868
- protoOf(ClassicExecutionContext).d2z = function () {
869
- return this.j2w_1 === 0;
875
+ protoOf(ClassicExecutionContext).l2x = function () {
876
+ return this.q2u_1 === 0;
870
877
  };
871
- protoOf(ClassicExecutionContext).o2x = function () {
872
- var tmp0_safe_receiver = this.h2w_1;
873
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o2x();
878
+ protoOf(ClassicExecutionContext).v2v = function () {
879
+ var tmp0_safe_receiver = this.o2u_1;
880
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v2v();
874
881
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
875
882
  };
876
- protoOf(ClassicExecutionContext).c2z = function () {
877
- return this.i2w_1 == null ? true : (this.j2w_1 - this.i2w_1.j2w_1 | 0) >= 1;
883
+ protoOf(ClassicExecutionContext).k2x = function () {
884
+ return this.p2u_1 == null || (this.q2u_1 - this.p2u_1.q2u_1 | 0) >= 1;
878
885
  };
879
- protoOf(ClassicExecutionContext).e2z = function () {
886
+ protoOf(ClassicExecutionContext).j2x = function () {
887
+ var tmp0 = this.u2u_1;
888
+ var tmp = KProperty1;
880
889
  // Inline function 'kotlin.getValue' call
881
- var this_0 = this.n2w_1;
882
- currentGoal$factory();
883
- return this_0.q2();
890
+ getPropertyCallableRef('currentGoal', 1, tmp, ClassicExecutionContext$_get_currentGoal_$ref_ulveh3(), null);
891
+ return tmp0.c2();
884
892
  };
885
- protoOf(ClassicExecutionContext).f2z = function (variable) {
893
+ protoOf(ClassicExecutionContext).m2x = function (variable) {
886
894
  return contains(_get_interestingVariables__k6uw5o(this), variable);
887
895
  };
888
- protoOf(ClassicExecutionContext).u1s = function () {
896
+ protoOf(ClassicExecutionContext).l1r = function () {
897
+ var tmp0 = this.w2u_1;
898
+ var tmp = KProperty1;
889
899
  // Inline function 'kotlin.getValue' call
890
- var this_0 = this.p2w_1;
891
- logicStackTrace$factory();
892
- return this_0.q2();
900
+ getPropertyCallableRef('logicStackTrace', 1, tmp, ClassicExecutionContext$_get_logicStackTrace_$ref_p35zx2(), null);
901
+ return tmp0.c2();
893
902
  };
894
- protoOf(ClassicExecutionContext).w1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
903
+ protoOf(ClassicExecutionContext).n1r = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
895
904
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
896
905
  };
897
- protoOf(ClassicExecutionContext).e1t = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
898
- return this.h2x(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
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).u1r = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
910
+ return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
911
+ };
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).w1r = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
916
+ return this.o2v(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());
899
920
  };
900
- protoOf(ClassicExecutionContext).g2z = function (sideEffect) {
921
+ protoOf(ClassicExecutionContext).n2x = function (sideEffect) {
901
922
  var tmp = apply.call(this, sideEffect);
902
923
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
903
924
  };
904
925
  protoOf(ClassicExecutionContext).apply = function (sideEffect) {
905
- return this.g2z(sideEffect);
926
+ return this.n2x(sideEffect);
906
927
  };
907
- protoOf(ClassicExecutionContext).h2z = function (sideEffects) {
928
+ protoOf(ClassicExecutionContext).o2x = function (sideEffects) {
908
929
  var tmp = applyIterable.call(this, sideEffects);
909
930
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
910
931
  };
911
932
  protoOf(ClassicExecutionContext).applyIterable = function (sideEffects) {
912
- return this.h2z(sideEffects);
933
+ return this.o2x(sideEffects);
913
934
  };
914
- protoOf(ClassicExecutionContext).i2z = function (sideEffects) {
935
+ protoOf(ClassicExecutionContext).p2x = function (sideEffects) {
915
936
  var tmp = applySequence.call(this, sideEffects);
916
937
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
917
938
  };
918
939
  protoOf(ClassicExecutionContext).applySequence = function (sideEffects) {
919
- return this.i2z(sideEffects);
940
+ return this.p2x(sideEffects);
920
941
  };
921
942
  protoOf(ClassicExecutionContext).toString = function () {
922
- return 'ClassicExecutionContext(' + ('step=' + this.k2w_1.toString() + ', ') + ('depth=' + this.j2w_1 + ', ') + ('substitution=' + this.a2w_1 + ', ') + ('logicStackTrace=' + this.u1s() + ', ') + ('goals=' + this.c2w_1 + ', ') + ('rules=' + this.d2w_1 + ', ') + ('primitives=' + this.e2w_1 + ', ') + ('startTime=' + this.f2w_1.toString() + ', ') + ('endTime=' + this.o1s().toString() + ', ') + ('maxDuration=' + this.g2w_1.toString() + ', ') + ('unificator=' + this.r2v_1 + ', ') + ('choicePoints=' + this.h2w_1) + ')';
943
+ return 'ClassicExecutionContext(' + ('step=' + this.r2u_1.toString() + ', ') + ('depth=' + this.q2u_1 + ', ') + ('substitution=' + toString(this.h2u_1) + ', ') + ('logicStackTrace=' + toString(this.l1r()) + ', ') + ('goals=' + toString(this.j2u_1) + ', ') + ('rules=' + toString(this.k2u_1) + ', ') + ('primitives=' + toString(this.l2u_1) + ', ') + ('startTime=' + this.m2u_1.toString() + ', ') + ('endTime=' + this.f1r().toString() + ', ') + ('maxDuration=' + this.n2u_1.toString() + ', ') + ('unificator=' + toString(this.y2t_1) + ', ') + ('choicePoints=' + toString_0(this.o2u_1)) + ')';
923
944
  };
924
- protoOf(ClassicExecutionContext).j2z = 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).q2x = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
925
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);
926
947
  };
927
- protoOf(ClassicExecutionContext).h2x = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
928
- procedure = procedure === VOID ? this.q2v_1 : procedure;
929
- unificator = unificator === VOID ? this.r2v_1 : unificator;
930
- libraries = libraries === VOID ? this.s2v_1 : libraries;
931
- flags = flags === VOID ? this.t2v_1 : flags;
932
- staticKb = staticKb === VOID ? this.u2v_1 : staticKb;
933
- dynamicKb = dynamicKb === VOID ? this.v2v_1 : dynamicKb;
934
- operators = operators === VOID ? this.w2v_1 : operators;
935
- inputChannels = inputChannels === VOID ? this.x2v_1 : inputChannels;
936
- outputChannels = outputChannels === VOID ? this.y2v_1 : outputChannels;
937
- customData = customData === VOID ? this.z2v_1 : customData;
938
- substitution = substitution === VOID ? this.a2w_1 : substitution;
939
- query = query === VOID ? this.b2w_1 : query;
940
- goals = goals === VOID ? this.c2w_1 : goals;
941
- rules = rules === VOID ? this.d2w_1 : rules;
942
- primitives = primitives === VOID ? this.e2w_1 : primitives;
943
- startTime = startTime === VOID ? this.f2w_1 : startTime;
944
- maxDuration = maxDuration === VOID ? this.g2w_1 : maxDuration;
945
- choicePoints = choicePoints === VOID ? this.h2w_1 : choicePoints;
946
- parent = parent === VOID ? this.i2w_1 : parent;
947
- depth = depth === VOID ? this.j2w_1 : depth;
948
- step = step === VOID ? this.k2w_1 : step;
949
- relevantVariables = relevantVariables === VOID ? this.l2w_1 : relevantVariables;
950
- return $super === VOID ? this.j2z(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.j2z.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).o2v = 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.x2t_1 : procedure;
950
+ unificator = unificator === VOID ? this.y2t_1 : unificator;
951
+ libraries = libraries === VOID ? this.z2t_1 : libraries;
952
+ flags = flags === VOID ? this.a2u_1 : flags;
953
+ staticKb = staticKb === VOID ? this.b2u_1 : staticKb;
954
+ dynamicKb = dynamicKb === VOID ? this.c2u_1 : dynamicKb;
955
+ operators = operators === VOID ? this.d2u_1 : operators;
956
+ inputChannels = inputChannels === VOID ? this.e2u_1 : inputChannels;
957
+ outputChannels = outputChannels === VOID ? this.f2u_1 : outputChannels;
958
+ customData = customData === VOID ? this.g2u_1 : customData;
959
+ substitution = substitution === VOID ? this.h2u_1 : substitution;
960
+ query = query === VOID ? this.i2u_1 : query;
961
+ goals = goals === VOID ? this.j2u_1 : goals;
962
+ rules = rules === VOID ? this.k2u_1 : rules;
963
+ primitives = primitives === VOID ? this.l2u_1 : primitives;
964
+ startTime = startTime === VOID ? this.m2u_1 : startTime;
965
+ maxDuration = maxDuration === VOID ? this.n2u_1 : maxDuration;
966
+ choicePoints = choicePoints === VOID ? this.o2u_1 : choicePoints;
967
+ parent = parent === VOID ? this.p2u_1 : parent;
968
+ depth = depth === VOID ? this.q2u_1 : depth;
969
+ step = step === VOID ? this.r2u_1 : step;
970
+ relevantVariables = relevantVariables === VOID ? this.s2u_1 : relevantVariables;
971
+ return $super === VOID ? this.q2x(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.q2x.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
951
972
  };
952
973
  protoOf(ClassicExecutionContext).hashCode = function () {
953
- var result = this.q2v_1 == null ? 0 : this.q2v_1.hashCode();
954
- result = imul(result, 31) + hashCode(this.r2v_1) | 0;
955
- result = imul(result, 31) + hashCode(this.s2v_1) | 0;
956
- result = imul(result, 31) + this.t2v_1.hashCode() | 0;
957
- result = imul(result, 31) + hashCode(this.u2v_1) | 0;
958
- result = imul(result, 31) + hashCode(this.v2v_1) | 0;
959
- result = imul(result, 31) + this.w2v_1.hashCode() | 0;
960
- result = imul(result, 31) + hashCode(this.x2v_1) | 0;
961
- result = imul(result, 31) + hashCode(this.y2v_1) | 0;
962
- result = imul(result, 31) + this.z2v_1.hashCode() | 0;
963
- result = imul(result, 31) + hashCode(this.a2w_1) | 0;
964
- result = imul(result, 31) + this.b2w_1.hashCode() | 0;
965
- result = imul(result, 31) + hashCode(this.c2w_1) | 0;
966
- result = imul(result, 31) + hashCode(this.d2w_1) | 0;
967
- result = imul(result, 31) + hashCode(this.e2w_1) | 0;
968
- result = imul(result, 31) + this.f2w_1.hashCode() | 0;
969
- result = imul(result, 31) + this.g2w_1.hashCode() | 0;
970
- result = imul(result, 31) + (this.h2w_1 == null ? 0 : hashCode(this.h2w_1)) | 0;
971
- result = imul(result, 31) + (this.i2w_1 == null ? 0 : this.i2w_1.hashCode()) | 0;
972
- result = imul(result, 31) + this.j2w_1 | 0;
973
- result = imul(result, 31) + this.k2w_1.hashCode() | 0;
974
- result = imul(result, 31) + hashCode(this.l2w_1) | 0;
974
+ var result = this.x2t_1 == null ? 0 : this.x2t_1.hashCode();
975
+ result = imul(result, 31) + hashCode(this.y2t_1) | 0;
976
+ result = imul(result, 31) + hashCode(this.z2t_1) | 0;
977
+ result = imul(result, 31) + this.a2u_1.hashCode() | 0;
978
+ result = imul(result, 31) + hashCode(this.b2u_1) | 0;
979
+ result = imul(result, 31) + hashCode(this.c2u_1) | 0;
980
+ result = imul(result, 31) + this.d2u_1.hashCode() | 0;
981
+ result = imul(result, 31) + hashCode(this.e2u_1) | 0;
982
+ result = imul(result, 31) + hashCode(this.f2u_1) | 0;
983
+ result = imul(result, 31) + this.g2u_1.hashCode() | 0;
984
+ result = imul(result, 31) + hashCode(this.h2u_1) | 0;
985
+ result = imul(result, 31) + this.i2u_1.hashCode() | 0;
986
+ result = imul(result, 31) + hashCode(this.j2u_1) | 0;
987
+ result = imul(result, 31) + hashCode(this.k2u_1) | 0;
988
+ result = imul(result, 31) + hashCode(this.l2u_1) | 0;
989
+ result = imul(result, 31) + getBigIntHashCode(this.m2u_1) | 0;
990
+ result = imul(result, 31) + getBigIntHashCode(this.n2u_1) | 0;
991
+ result = imul(result, 31) + (this.o2u_1 == null ? 0 : hashCode(this.o2u_1)) | 0;
992
+ result = imul(result, 31) + (this.p2u_1 == null ? 0 : this.p2u_1.hashCode()) | 0;
993
+ result = imul(result, 31) + this.q2u_1 | 0;
994
+ result = imul(result, 31) + getBigIntHashCode(this.r2u_1) | 0;
995
+ result = imul(result, 31) + hashCode(this.s2u_1) | 0;
975
996
  return result;
976
997
  };
977
998
  protoOf(ClassicExecutionContext).equals = function (other) {
@@ -979,70 +1000,54 @@
979
1000
  return true;
980
1001
  if (!(other instanceof ClassicExecutionContext))
981
1002
  return false;
982
- var tmp0_other_with_cast = other instanceof ClassicExecutionContext ? other : THROW_CCE();
983
- if (!equals(this.q2v_1, tmp0_other_with_cast.q2v_1))
1003
+ if (!equals(this.x2t_1, other.x2t_1))
984
1004
  return false;
985
- if (!equals(this.r2v_1, tmp0_other_with_cast.r2v_1))
1005
+ if (!equals(this.y2t_1, other.y2t_1))
986
1006
  return false;
987
- if (!equals(this.s2v_1, tmp0_other_with_cast.s2v_1))
1007
+ if (!equals(this.z2t_1, other.z2t_1))
988
1008
  return false;
989
- if (!this.t2v_1.equals(tmp0_other_with_cast.t2v_1))
1009
+ if (!this.a2u_1.equals(other.a2u_1))
990
1010
  return false;
991
- if (!equals(this.u2v_1, tmp0_other_with_cast.u2v_1))
1011
+ if (!equals(this.b2u_1, other.b2u_1))
992
1012
  return false;
993
- if (!equals(this.v2v_1, tmp0_other_with_cast.v2v_1))
1013
+ if (!equals(this.c2u_1, other.c2u_1))
994
1014
  return false;
995
- if (!this.w2v_1.equals(tmp0_other_with_cast.w2v_1))
1015
+ if (!this.d2u_1.equals(other.d2u_1))
996
1016
  return false;
997
- if (!equals(this.x2v_1, tmp0_other_with_cast.x2v_1))
1017
+ if (!equals(this.e2u_1, other.e2u_1))
998
1018
  return false;
999
- if (!equals(this.y2v_1, tmp0_other_with_cast.y2v_1))
1019
+ if (!equals(this.f2u_1, other.f2u_1))
1000
1020
  return false;
1001
- if (!this.z2v_1.equals(tmp0_other_with_cast.z2v_1))
1021
+ if (!this.g2u_1.equals(other.g2u_1))
1002
1022
  return false;
1003
- if (!equals(this.a2w_1, tmp0_other_with_cast.a2w_1))
1023
+ if (!equals(this.h2u_1, other.h2u_1))
1004
1024
  return false;
1005
- if (!this.b2w_1.equals(tmp0_other_with_cast.b2w_1))
1025
+ if (!this.i2u_1.equals(other.i2u_1))
1006
1026
  return false;
1007
- if (!equals(this.c2w_1, tmp0_other_with_cast.c2w_1))
1027
+ if (!equals(this.j2u_1, other.j2u_1))
1008
1028
  return false;
1009
- if (!equals(this.d2w_1, tmp0_other_with_cast.d2w_1))
1029
+ if (!equals(this.k2u_1, other.k2u_1))
1010
1030
  return false;
1011
- if (!equals(this.e2w_1, tmp0_other_with_cast.e2w_1))
1031
+ if (!equals(this.l2u_1, other.l2u_1))
1012
1032
  return false;
1013
- if (!this.f2w_1.equals(tmp0_other_with_cast.f2w_1))
1033
+ if (!(this.m2u_1 === other.m2u_1))
1014
1034
  return false;
1015
- if (!this.g2w_1.equals(tmp0_other_with_cast.g2w_1))
1035
+ if (!(this.n2u_1 === other.n2u_1))
1016
1036
  return false;
1017
- if (!equals(this.h2w_1, tmp0_other_with_cast.h2w_1))
1037
+ if (!equals(this.o2u_1, other.o2u_1))
1018
1038
  return false;
1019
- if (!equals(this.i2w_1, tmp0_other_with_cast.i2w_1))
1039
+ if (!equals(this.p2u_1, other.p2u_1))
1020
1040
  return false;
1021
- if (!(this.j2w_1 === tmp0_other_with_cast.j2w_1))
1041
+ if (!(this.q2u_1 === other.q2u_1))
1022
1042
  return false;
1023
- if (!this.k2w_1.equals(tmp0_other_with_cast.k2w_1))
1043
+ if (!(this.r2u_1 === other.r2u_1))
1024
1044
  return false;
1025
- if (!equals(this.l2w_1, tmp0_other_with_cast.l2w_1))
1045
+ if (!equals(this.s2u_1, other.s2u_1))
1026
1046
  return false;
1027
1047
  return true;
1028
1048
  };
1029
- function currentGoal$factory() {
1030
- return getPropertyCallableRef('currentGoal', 1, KProperty1, function (receiver) {
1031
- return receiver.e2z();
1032
- }, null);
1033
- }
1034
- function interestingVariables$factory() {
1035
- return getPropertyCallableRef('interestingVariables', 1, KProperty1, function (receiver) {
1036
- return _get_interestingVariables__k6uw5o(receiver);
1037
- }, null);
1038
- }
1039
- function logicStackTrace$factory() {
1040
- return getPropertyCallableRef('logicStackTrace', 1, KProperty1, function (receiver) {
1041
- return receiver.u1s();
1042
- }, null);
1043
- }
1044
1049
  function ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, $this) {
1045
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
1050
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
1046
1051
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1047
1052
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1048
1053
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -1058,7 +1063,7 @@
1058
1063
  return ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(ClassicSolver)));
1059
1064
  }
1060
1065
  function ClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1061
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
1066
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
1062
1067
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1063
1068
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1064
1069
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1075,43 +1080,58 @@
1075
1080
  function ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb) {
1076
1081
  return ClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, objectCreate(protoOf(ClassicSolver)));
1077
1082
  }
1078
- protoOf(ClassicSolver).s2w = function (initialState, onStateTransition) {
1079
- return Companion_instance_15.l2z(initialState, onStateTransition);
1083
+ protoOf(ClassicSolver).z2u = function (initialState, onStateTransition) {
1084
+ return Companion_instance_15.s2x(initialState, onStateTransition);
1080
1085
  };
1081
- protoOf(ClassicSolver).g1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1086
+ protoOf(ClassicSolver).y1t = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1082
1087
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1083
1088
  };
1084
- protoOf(ClassicSolver).p1q = 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).g1p = function () {
1085
1093
  return this.copy();
1086
1094
  };
1087
1095
  protoOf(ClassicSolver).clone = function () {
1088
- return this.p1q();
1096
+ return this.g1p();
1089
1097
  };
1090
1098
  function ClassicSolver() {
1091
1099
  }
1092
1100
  function ClassicSolverFactory() {
1093
1101
  }
1094
- protoOf(ClassicSolverFactory).i1v = function () {
1102
+ protoOf(ClassicSolverFactory).a1u = function () {
1095
1103
  return DefaultBuiltins_getInstance();
1096
1104
  };
1097
- protoOf(ClassicSolverFactory).t1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1105
+ protoOf(ClassicSolverFactory).l1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1098
1106
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1099
1107
  };
1100
- protoOf(ClassicSolverFactory).z1v = 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).r1u = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1101
1112
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1102
1113
  };
1103
- protoOf(ClassicSolverFactory).b1w = 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).t1u = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1104
1118
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1105
1119
  };
1106
- protoOf(ClassicSolverFactory).d1w = 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).v1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1107
1124
  return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1108
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
+ };
1109
1129
  var ClassicSolverFactory_instance;
1110
1130
  function ClassicSolverFactory_getInstance() {
1111
1131
  return ClassicSolverFactory_instance;
1112
1132
  }
1113
1133
  function MutableClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, $this) {
1114
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
1134
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
1115
1135
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1116
1136
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1117
1137
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1127,7 +1147,7 @@
1127
1147
  return MutableClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(MutableClassicSolver)));
1128
1148
  }
1129
1149
  function MutableClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1130
- unificator = unificator === VOID ? Companion_getInstance().x1i() : unificator;
1150
+ unificator = unificator === VOID ? Companion_getInstance().k1h() : unificator;
1131
1151
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1132
1152
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1133
1153
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1146,271 +1166,274 @@
1146
1166
  }
1147
1167
  function MutableClassicSolver$loadLibrary$lambda($library) {
1148
1168
  return function ($this$updateContext) {
1149
- var newRuntime = $this$updateContext.s2v_1.plusLibrary($library);
1150
- return $this$updateContext.h2x(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.w2v_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
1169
+ var newRuntime = $this$updateContext.z2t_1.plusLibrary($library);
1170
+ return $this$updateContext.o2v(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.d2u_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
1151
1171
  };
1152
1172
  }
1153
1173
  function MutableClassicSolver$unloadLibrary$lambda($library) {
1154
1174
  return function ($this$updateContext) {
1155
- var newRuntime = $this$updateContext.s2v_1.plusLibrary($library);
1156
- return $this$updateContext.h2x(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.u2v_1, $this$updateContext.v2v_1])));
1175
+ var newRuntime = $this$updateContext.z2t_1.plusLibrary($library);
1176
+ return $this$updateContext.o2v(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.b2u_1, $this$updateContext.c2u_1])));
1157
1177
  };
1158
1178
  }
1159
1179
  function MutableClassicSolver$setRuntime$lambda($libraries) {
1160
1180
  return function ($this$updateContext) {
1161
- return $this$updateContext.h2x(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.u2v_1, $this$updateContext.v2v_1])));
1181
+ return $this$updateContext.o2v(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.b2u_1, $this$updateContext.c2u_1])));
1162
1182
  };
1163
1183
  }
1164
1184
  function MutableClassicSolver$resetStaticKb$lambda($this$updateContext) {
1165
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.r2v_1), VOID, toOperatorSet(getAllOperators($this$updateContext.s2v_1, [$this$updateContext.v2v_1])));
1185
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.y2t_1), VOID, toOperatorSet(getAllOperators($this$updateContext.z2t_1, [$this$updateContext.c2u_1])));
1166
1186
  }
1167
1187
  function MutableClassicSolver$resetDynamicKb$lambda($this$updateContext) {
1168
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.r2v_1), toOperatorSet(getAllOperators($this$updateContext.s2v_1, [$this$updateContext.u2v_1])));
1188
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.y2t_1), toOperatorSet(getAllOperators($this$updateContext.z2t_1, [$this$updateContext.b2u_1])));
1169
1189
  }
1170
1190
  function MutableClassicSolver$assertA$lambda($clause) {
1171
1191
  return function ($this$updateContext) {
1172
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $this$updateContext.v2v_1.f1q($clause), $this$updateContext.w2v_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1192
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $this$updateContext.c2u_1.w1o($clause), $this$updateContext.d2u_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1173
1193
  };
1174
1194
  }
1175
1195
  function MutableClassicSolver$assertA$lambda_0($fact) {
1176
1196
  return function ($this$updateContext) {
1177
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $this$updateContext.v2v_1.e1r($fact));
1197
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $this$updateContext.c2u_1.v1p($fact));
1178
1198
  };
1179
1199
  }
1180
1200
  function MutableClassicSolver$assertZ$lambda($clause) {
1181
1201
  return function ($this$updateContext) {
1182
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $this$updateContext.v2v_1.j1q($clause), $this$updateContext.w2v_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1202
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $this$updateContext.c2u_1.a1p($clause), $this$updateContext.d2u_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1183
1203
  };
1184
1204
  }
1185
1205
  function MutableClassicSolver$assertZ$lambda_0($fact) {
1186
1206
  return function ($this$updateContext) {
1187
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $this$updateContext.v2v_1.f1r($fact));
1207
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $this$updateContext.c2u_1.w1p($fact));
1188
1208
  };
1189
1209
  }
1190
1210
  function MutableClassicSolver$retract$lambda($result, $clause) {
1191
1211
  return function ($this$updateContext) {
1192
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $result.x1p().toMutableTheory(), $this$updateContext.w2v_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1212
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $result.o1o().toMutableTheory(), $this$updateContext.d2u_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1193
1213
  };
1194
1214
  }
1195
1215
  function MutableClassicSolver$retract$lambda_0($result) {
1196
1216
  return function ($this$updateContext) {
1197
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $result.x1p().toMutableTheory());
1217
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $result.o1o().toMutableTheory());
1198
1218
  };
1199
1219
  }
1200
1220
  function MutableClassicSolver$retractAll$lambda($result) {
1201
1221
  return function ($this$updateContext) {
1202
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $result.x1p().toMutableTheory(), $this$updateContext.w2v_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.x1p()))));
1222
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $result.o1o().toMutableTheory(), $this$updateContext.d2u_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.o1o()))));
1203
1223
  };
1204
1224
  }
1205
1225
  function MutableClassicSolver$retractAll$lambda_0($result) {
1206
1226
  return function ($this$updateContext) {
1207
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, $result.x1p().toMutableTheory());
1227
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, $result.o1o().toMutableTheory());
1208
1228
  };
1209
1229
  }
1210
1230
  function MutableClassicSolver$setFlag$lambda($name, $value) {
1211
1231
  return function ($this$updateContext) {
1212
- return $this$updateContext.h2x(VOID, VOID, VOID, $this$updateContext.t2v_1.set($name, $value));
1232
+ return $this$updateContext.o2v(VOID, VOID, VOID, $this$updateContext.a2u_1.set($name, $value));
1213
1233
  };
1214
1234
  }
1215
1235
  function MutableClassicSolver$setFlag$lambda_0($flag) {
1216
1236
  return function ($this$updateContext) {
1217
- return $this$updateContext.h2x(VOID, VOID, VOID, $this$updateContext.t2v_1.plusPair($flag));
1237
+ return $this$updateContext.o2v(VOID, VOID, VOID, $this$updateContext.a2u_1.plusPair($flag));
1218
1238
  };
1219
1239
  }
1220
1240
  function MutableClassicSolver$setFlag$lambda_1($flag) {
1221
1241
  return function ($this$updateContext) {
1222
- return $this$updateContext.h2x(VOID, VOID, VOID, $this$updateContext.t2v_1.plusNotable($flag));
1242
+ return $this$updateContext.o2v(VOID, VOID, VOID, $this$updateContext.a2u_1.plusNotable($flag));
1223
1243
  };
1224
1244
  }
1225
1245
  function MutableClassicSolver$setStandardInput$lambda($stdIn) {
1226
1246
  return function ($this$updateContext) {
1227
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.x2v_1.plus(to('stdin', $stdIn)));
1247
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.e2u_1.plus(to('stdin', $stdIn)));
1228
1248
  };
1229
1249
  }
1230
1250
  function MutableClassicSolver$setStandardError$lambda($stdErr) {
1231
1251
  return function ($this$updateContext) {
1232
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.y2v_1.plus(to('stderr', $stdErr)));
1252
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.f2u_1.plus(to('stderr', $stdErr)));
1233
1253
  };
1234
1254
  }
1235
1255
  function MutableClassicSolver$setStandardOutput$lambda($stdOut) {
1236
1256
  return function ($this$updateContext) {
1237
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.y2v_1.plus(to('stdout', $stdOut)));
1257
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.f2u_1.plus(to('stdout', $stdOut)));
1238
1258
  };
1239
1259
  }
1240
1260
  function MutableClassicSolver$setWarnings$lambda($warnings) {
1241
1261
  return function ($this$updateContext) {
1242
- return $this$updateContext.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.s1w($this$updateContext.y2v_1, $warnings));
1262
+ return $this$updateContext.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.j1v($this$updateContext.f2u_1, $warnings));
1243
1263
  };
1244
1264
  }
1245
- protoOf(MutableClassicSolver).n2z = function (library) {
1246
- this.m28(MutableClassicSolver$loadLibrary$lambda(library));
1265
+ protoOf(MutableClassicSolver).u2x = function (library) {
1266
+ this.d27(MutableClassicSolver$loadLibrary$lambda(library));
1247
1267
  };
1248
1268
  protoOf(MutableClassicSolver).loadLibrary = function (library) {
1249
- return this.n2z(library);
1269
+ return this.u2x(library);
1250
1270
  };
1251
- protoOf(MutableClassicSolver).o2z = function (library) {
1252
- this.m28(MutableClassicSolver$unloadLibrary$lambda(library));
1271
+ protoOf(MutableClassicSolver).v2x = function (library) {
1272
+ this.d27(MutableClassicSolver$unloadLibrary$lambda(library));
1253
1273
  };
1254
1274
  protoOf(MutableClassicSolver).unloadLibrary = function (library) {
1255
- return this.o2z(library);
1275
+ return this.v2x(library);
1256
1276
  };
1257
- protoOf(MutableClassicSolver).p2z = function (libraries) {
1258
- this.m28(MutableClassicSolver$setRuntime$lambda(libraries));
1277
+ protoOf(MutableClassicSolver).w2x = function (libraries) {
1278
+ this.d27(MutableClassicSolver$setRuntime$lambda(libraries));
1259
1279
  };
1260
1280
  protoOf(MutableClassicSolver).setLibraries = function (libraries) {
1261
- return this.p2z(libraries);
1281
+ return this.w2x(libraries);
1262
1282
  };
1263
- protoOf(MutableClassicSolver).q2z = function (theory) {
1264
- this.q28(theory, VOID, false);
1283
+ protoOf(MutableClassicSolver).x2x = function (theory) {
1284
+ this.h27(theory, VOID, false);
1265
1285
  };
1266
1286
  protoOf(MutableClassicSolver).loadStaticKb = function (theory) {
1267
- return this.q2z(theory);
1287
+ return this.x2x(theory);
1268
1288
  };
1269
- protoOf(MutableClassicSolver).r2z = function (theory) {
1270
- this.q28(theory);
1289
+ protoOf(MutableClassicSolver).y2x = function (theory) {
1290
+ this.h27(theory);
1271
1291
  };
1272
1292
  protoOf(MutableClassicSolver).appendStaticKb = function (theory) {
1273
- return this.r2z(theory);
1293
+ return this.y2x(theory);
1274
1294
  };
1275
- protoOf(MutableClassicSolver).s2z = function () {
1276
- this.m28(MutableClassicSolver$resetStaticKb$lambda);
1295
+ protoOf(MutableClassicSolver).z2x = function () {
1296
+ this.d27(MutableClassicSolver$resetStaticKb$lambda);
1277
1297
  };
1278
1298
  protoOf(MutableClassicSolver).resetStaticKb = function () {
1279
- return this.s2z();
1299
+ return this.z2x();
1280
1300
  };
1281
- protoOf(MutableClassicSolver).t2z = function (theory) {
1282
- this.q28(VOID, theory, VOID, false);
1301
+ protoOf(MutableClassicSolver).a2y = function (theory) {
1302
+ this.h27(VOID, theory, VOID, false);
1283
1303
  };
1284
1304
  protoOf(MutableClassicSolver).loadDynamicKb = function (theory) {
1285
- return this.t2z(theory);
1305
+ return this.a2y(theory);
1286
1306
  };
1287
- protoOf(MutableClassicSolver).u2z = function (theory) {
1288
- this.q28(VOID, theory);
1307
+ protoOf(MutableClassicSolver).b2y = function (theory) {
1308
+ this.h27(VOID, theory);
1289
1309
  };
1290
1310
  protoOf(MutableClassicSolver).appendDynamicKb = function (theory) {
1291
- return this.u2z(theory);
1311
+ return this.b2y(theory);
1292
1312
  };
1293
- protoOf(MutableClassicSolver).v2z = function () {
1294
- this.m28(MutableClassicSolver$resetDynamicKb$lambda);
1313
+ protoOf(MutableClassicSolver).c2y = function () {
1314
+ this.d27(MutableClassicSolver$resetDynamicKb$lambda);
1295
1315
  };
1296
1316
  protoOf(MutableClassicSolver).resetDynamicKb = function () {
1297
- return this.v2z();
1317
+ return this.c2y();
1298
1318
  };
1299
- protoOf(MutableClassicSolver).m1k = function (clause) {
1300
- this.m28(MutableClassicSolver$assertA$lambda(clause));
1319
+ protoOf(MutableClassicSolver).d1j = function (clause) {
1320
+ this.d27(MutableClassicSolver$assertA$lambda(clause));
1301
1321
  };
1302
1322
  protoOf(MutableClassicSolver).assertA = function (clause) {
1303
- return this.m1k(clause);
1323
+ return this.d1j(clause);
1304
1324
  };
1305
- protoOf(MutableClassicSolver).w2z = function (fact) {
1306
- this.m28(MutableClassicSolver$assertA$lambda_0(fact));
1325
+ protoOf(MutableClassicSolver).d2y = function (fact) {
1326
+ this.d27(MutableClassicSolver$assertA$lambda_0(fact));
1307
1327
  };
1308
1328
  protoOf(MutableClassicSolver).assertAFact = function (fact) {
1309
- return this.w2z(fact);
1329
+ return this.d2y(fact);
1310
1330
  };
1311
- protoOf(MutableClassicSolver).n1j = function (clause) {
1312
- this.m28(MutableClassicSolver$assertZ$lambda(clause));
1331
+ protoOf(MutableClassicSolver).e1i = function (clause) {
1332
+ this.d27(MutableClassicSolver$assertZ$lambda(clause));
1313
1333
  };
1314
1334
  protoOf(MutableClassicSolver).assertZ = function (clause) {
1315
- return this.n1j(clause);
1335
+ return this.e1i(clause);
1316
1336
  };
1317
- protoOf(MutableClassicSolver).x2z = function (fact) {
1318
- this.m28(MutableClassicSolver$assertZ$lambda_0(fact));
1337
+ protoOf(MutableClassicSolver).e2y = function (fact) {
1338
+ this.d27(MutableClassicSolver$assertZ$lambda_0(fact));
1319
1339
  };
1320
1340
  protoOf(MutableClassicSolver).assertZFact = function (fact) {
1321
- return this.x2z(fact);
1341
+ return this.e2y(fact);
1322
1342
  };
1323
- protoOf(MutableClassicSolver).g1r = function (clause) {
1324
- var result = this.a1t().retract(clause);
1325
- this.m28(MutableClassicSolver$retract$lambda(result, clause));
1343
+ protoOf(MutableClassicSolver).x1p = function (clause) {
1344
+ var result = this.r1r().retract(clause);
1345
+ this.d27(MutableClassicSolver$retract$lambda(result, clause));
1326
1346
  return result;
1327
1347
  };
1328
1348
  protoOf(MutableClassicSolver).retract = function (clause) {
1329
- return this.g1r(clause);
1349
+ return this.x1p(clause);
1330
1350
  };
1331
- protoOf(MutableClassicSolver).h1r = function (fact) {
1332
- var result = this.a1t().retractByHead(fact);
1333
- this.m28(MutableClassicSolver$retract$lambda_0(result));
1351
+ protoOf(MutableClassicSolver).y1p = function (fact) {
1352
+ var result = this.r1r().retractByHead(fact);
1353
+ this.d27(MutableClassicSolver$retract$lambda_0(result));
1334
1354
  return result;
1335
1355
  };
1336
1356
  protoOf(MutableClassicSolver).retractByHead = function (fact) {
1337
- return this.h1r(fact);
1357
+ return this.y1p(fact);
1338
1358
  };
1339
- protoOf(MutableClassicSolver).s1j = function (clause) {
1340
- var result = this.a1t().retractAll(clause);
1341
- this.m28(MutableClassicSolver$retractAll$lambda(result));
1359
+ protoOf(MutableClassicSolver).j1i = function (clause) {
1360
+ var result = this.r1r().retractAll(clause);
1361
+ this.d27(MutableClassicSolver$retractAll$lambda(result));
1342
1362
  return result;
1343
1363
  };
1344
1364
  protoOf(MutableClassicSolver).retractAll = function (clause) {
1345
- return this.s1j(clause);
1365
+ return this.j1i(clause);
1346
1366
  };
1347
- protoOf(MutableClassicSolver).y2z = function (fact) {
1348
- var result = this.a1t().retractAllByHead(fact);
1349
- this.m28(MutableClassicSolver$retractAll$lambda_0(result));
1367
+ protoOf(MutableClassicSolver).f2y = function (fact) {
1368
+ var result = this.r1r().retractAllByHead(fact);
1369
+ this.d27(MutableClassicSolver$retractAll$lambda_0(result));
1350
1370
  return result;
1351
1371
  };
1352
1372
  protoOf(MutableClassicSolver).retractAllBeHead = function (fact) {
1353
- return this.y2z(fact);
1373
+ return this.f2y(fact);
1354
1374
  };
1355
- protoOf(MutableClassicSolver).z2z = function (name, value) {
1356
- this.m28(MutableClassicSolver$setFlag$lambda(name, value));
1375
+ protoOf(MutableClassicSolver).g2y = function (name, value) {
1376
+ this.d27(MutableClassicSolver$setFlag$lambda(name, value));
1357
1377
  };
1358
1378
  protoOf(MutableClassicSolver).setFlag = function (name, value) {
1359
- return this.z2z(name, value);
1379
+ return this.g2y(name, value);
1360
1380
  };
1361
- protoOf(MutableClassicSolver).a30 = function (flag) {
1362
- this.m28(MutableClassicSolver$setFlag$lambda_0(flag));
1381
+ protoOf(MutableClassicSolver).h2y = function (flag) {
1382
+ this.d27(MutableClassicSolver$setFlag$lambda_0(flag));
1363
1383
  };
1364
1384
  protoOf(MutableClassicSolver).setFlagPair = function (flag) {
1365
- return this.a30(flag);
1385
+ return this.h2y(flag);
1366
1386
  };
1367
- protoOf(MutableClassicSolver).b30 = function (flag) {
1368
- this.m28(MutableClassicSolver$setFlag$lambda_1(flag));
1387
+ protoOf(MutableClassicSolver).i2y = function (flag) {
1388
+ this.d27(MutableClassicSolver$setFlag$lambda_1(flag));
1369
1389
  };
1370
1390
  protoOf(MutableClassicSolver).setFlagNotable = function (flag) {
1371
- return this.b30(flag);
1391
+ return this.i2y(flag);
1372
1392
  };
1373
- protoOf(MutableClassicSolver).c30 = function (stdIn) {
1374
- this.m28(MutableClassicSolver$setStandardInput$lambda(stdIn));
1393
+ protoOf(MutableClassicSolver).j2y = function (stdIn) {
1394
+ this.d27(MutableClassicSolver$setStandardInput$lambda(stdIn));
1375
1395
  };
1376
1396
  protoOf(MutableClassicSolver).setStandardInput = function (stdIn) {
1377
- return this.c30(stdIn);
1397
+ return this.j2y(stdIn);
1378
1398
  };
1379
- protoOf(MutableClassicSolver).d30 = function (stdErr) {
1380
- this.m28(MutableClassicSolver$setStandardError$lambda(stdErr));
1399
+ protoOf(MutableClassicSolver).k2y = function (stdErr) {
1400
+ this.d27(MutableClassicSolver$setStandardError$lambda(stdErr));
1381
1401
  };
1382
1402
  protoOf(MutableClassicSolver).setStandardError = function (stdErr) {
1383
- return this.d30(stdErr);
1403
+ return this.k2y(stdErr);
1384
1404
  };
1385
- protoOf(MutableClassicSolver).e30 = function (stdOut) {
1386
- this.m28(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1405
+ protoOf(MutableClassicSolver).l2y = function (stdOut) {
1406
+ this.d27(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1387
1407
  };
1388
1408
  protoOf(MutableClassicSolver).setStandardOutput = function (stdOut) {
1389
- return this.e30(stdOut);
1409
+ return this.l2y(stdOut);
1390
1410
  };
1391
- protoOf(MutableClassicSolver).f30 = function (warnings) {
1392
- this.m28(MutableClassicSolver$setWarnings$lambda(warnings));
1411
+ protoOf(MutableClassicSolver).m2y = function (warnings) {
1412
+ this.d27(MutableClassicSolver$setWarnings$lambda(warnings));
1393
1413
  };
1394
1414
  protoOf(MutableClassicSolver).setWarnings = function (warnings) {
1395
- return this.f30(warnings);
1415
+ return this.m2y(warnings);
1396
1416
  };
1397
- protoOf(MutableClassicSolver).g1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1417
+ protoOf(MutableClassicSolver).y1t = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1398
1418
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1399
1419
  };
1400
- protoOf(MutableClassicSolver).p1q = 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).g1p = function () {
1401
1424
  return this.copy();
1402
1425
  };
1403
1426
  protoOf(MutableClassicSolver).clone = function () {
1404
- return this.p1q();
1427
+ return this.g1p();
1405
1428
  };
1406
1429
  function MutableClassicSolver() {
1407
1430
  }
1408
- 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) {
1409
1432
  return Unit_instance;
1410
1433
  }
1411
1434
  function Companion() {
1412
1435
  }
1413
- protoOf(Companion).l2z = function (initialState, onStateTransition) {
1436
+ protoOf(Companion).s2x = function (initialState, onStateTransition) {
1414
1437
  return new SimpleSolutionIterator(initialState, onStateTransition);
1415
1438
  };
1416
1439
  protoOf(Companion).of = function (initialState, onStateTransition, $super) {
@@ -1421,82 +1444,89 @@
1421
1444
  tmp = onStateTransition;
1422
1445
  }
1423
1446
  onStateTransition = tmp;
1424
- return $super === VOID ? this.l2z(initialState, onStateTransition) : $super.l2z.call(this, initialState, onStateTransition);
1447
+ return $super === VOID ? this.s2x(initialState, onStateTransition) : $super.s2x.call(this, initialState, onStateTransition);
1425
1448
  };
1426
1449
  var Companion_instance_15;
1427
- function Companion_getInstance_6() {
1450
+ function Companion_getInstance_5() {
1428
1451
  return Companion_instance_15;
1429
1452
  }
1430
1453
  function AbstractEndState(solution, context) {
1431
1454
  AbstractState.call(this, context);
1432
- this.i30_1 = solution;
1433
- this.j30_1 = context;
1455
+ this.p2y_1 = solution;
1456
+ this.q2y_1 = context;
1434
1457
  }
1435
- protoOf(AbstractEndState).l2f = function () {
1436
- return this.i30_1;
1458
+ protoOf(AbstractEndState).d2e = function () {
1459
+ return this.p2y_1;
1437
1460
  };
1438
- protoOf(AbstractEndState).jb = function () {
1439
- return this.j30_1;
1461
+ protoOf(AbstractEndState).f8 = function () {
1462
+ return this.q2y_1;
1440
1463
  };
1441
- protoOf(AbstractEndState).k30 = function () {
1464
+ protoOf(AbstractEndState).r2y = function () {
1442
1465
  throw NoSuchElementException_init_$Create$();
1443
1466
  };
1444
1467
  protoOf(AbstractEndState).asEndState = function () {
1445
- return this.m30();
1468
+ return this.z2y();
1446
1469
  };
1447
1470
  function AbstractState$executionTime$delegate$lambda(this$0) {
1448
1471
  return function () {
1449
- return this$0.s30();
1472
+ return this$0.w2y();
1473
+ };
1474
+ }
1475
+ function AbstractState$_get_executionTime_$ref_gwd5wm() {
1476
+ return function (p0) {
1477
+ return p0.u2y();
1450
1478
  };
1451
1479
  }
1452
1480
  function AbstractState(context) {
1453
- this.n30_1 = context;
1481
+ this.s2y_1 = context;
1454
1482
  var tmp = this;
1455
- tmp.o30_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1483
+ tmp.t2y_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1456
1484
  }
1457
- protoOf(AbstractState).jb = function () {
1458
- return this.n30_1;
1485
+ protoOf(AbstractState).f8 = function () {
1486
+ return this.s2y_1;
1459
1487
  };
1460
- protoOf(AbstractState).q30 = function () {
1488
+ protoOf(AbstractState).u2y = function () {
1489
+ var tmp0 = this.t2y_1;
1490
+ var tmp = KProperty1;
1461
1491
  // Inline function 'kotlin.getValue' call
1462
- var this_0 = this.o30_1;
1463
- executionTime$factory();
1464
- return this_0.q2();
1492
+ getPropertyCallableRef('executionTime', 1, tmp, AbstractState$_get_executionTime_$ref_gwd5wm(), null);
1493
+ return tmp0.c2();
1465
1494
  };
1466
- protoOf(AbstractState).r30 = function () {
1467
- return this.q30().ja(this.jb().f2w_1).l6(this.jb().g2w_1) > 0;
1495
+ protoOf(AbstractState).v2y = function () {
1496
+ return subtract(this.u2y(), this.f8().m2u_1) > this.f8().n2u_1;
1468
1497
  };
1469
- protoOf(AbstractState).r = function () {
1498
+ protoOf(AbstractState).s = function () {
1470
1499
  var tmp;
1471
- if (this.r30()) {
1472
- var tmp0_exceededDuration = this.jb().g2w_1;
1473
- var tmp1_context = this.jb();
1474
- tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.jb().h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30()));
1500
+ if (this.v2y()) {
1501
+ var tmp0_exceededDuration = this.f8().n2u_1;
1502
+ var tmp1_context = this.f8();
1503
+ tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.f8().o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y()));
1475
1504
  } else {
1476
- tmp = this.k30();
1505
+ tmp = this.r2y();
1477
1506
  }
1478
1507
  return tmp;
1479
1508
  };
1480
1509
  protoOf(AbstractState).next = function () {
1481
- return this.r();
1510
+ return this.s();
1482
1511
  };
1483
- protoOf(AbstractState).s30 = function () {
1512
+ protoOf(AbstractState).w2y = function () {
1484
1513
  return currentTimeInstant();
1485
1514
  };
1486
- protoOf(AbstractState).t30 = function () {
1515
+ protoOf(AbstractState).x2y = function () {
1487
1516
  // Inline function 'kotlin.Long.plus' call
1488
- return this.jb().k2w_1.ia(toLong(1));
1517
+ var this_0 = this.f8().r2u_1;
1518
+ return add(this_0, fromInt(1));
1489
1519
  };
1490
- protoOf(AbstractState).u30 = function (_this__u8e3s4) {
1520
+ protoOf(AbstractState).b2z = function (_this__u8e3s4) {
1521
+ var tmp0 = _this__u8e3s4.t2u_1;
1491
1522
  var tmp$ret$2;
1492
1523
  $l$block: {
1493
1524
  // Inline function 'kotlin.sequences.first' call
1494
- var tmp0_iterator = _this__u8e3s4.m2w_1.o();
1495
- while (tmp0_iterator.p()) {
1496
- var element = tmp0_iterator.r();
1497
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.AbstractState.skipThrow.<anonymous>' call
1498
- var tmp0_safe_receiver = element.q2v_1;
1499
- var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ku();
1525
+ var _iterator__ex2g4s = tmp0.o();
1526
+ while (_iterator__ex2g4s.r()) {
1527
+ var element = _iterator__ex2g4s.s();
1528
+ var tmp0_safe_receiver = element.x2t_1;
1529
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ct();
1500
1530
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1501
1531
  if (!(tmp === Throw_getInstance().signature.name)) {
1502
1532
  tmp$ret$2 = element;
@@ -1507,39 +1537,32 @@
1507
1537
  }
1508
1538
  return tmp$ret$2;
1509
1539
  };
1510
- function executionTime$factory() {
1511
- return getPropertyCallableRef('executionTime', 1, KProperty1, function (receiver) {
1512
- return receiver.q30();
1513
- }, null);
1514
- }
1515
1540
  function EndState() {
1516
1541
  }
1517
1542
  function State() {
1518
1543
  }
1519
1544
  function StateBacktracking(context) {
1520
1545
  AbstractState.call(this, context);
1521
- this.x30_1 = context;
1546
+ this.e2z_1 = context;
1522
1547
  }
1523
- protoOf(StateBacktracking).jb = function () {
1524
- return this.x30_1;
1548
+ protoOf(StateBacktracking).f8 = function () {
1549
+ return this.e2z_1;
1525
1550
  };
1526
- protoOf(StateBacktracking).k30 = function () {
1527
- var choicePoints = this.x30_1.h2w_1;
1551
+ protoOf(StateBacktracking).r2y = function () {
1552
+ var choicePoints = this.e2z_1.o2u_1;
1528
1553
  var tmp;
1529
1554
  // Inline function 'kotlin.let' call
1530
- // Inline function 'kotlin.contracts.contract' call
1531
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1532
- if (choicePoints === null ? true : !choicePoints.o2x()) {
1533
- tmp = new StateEnd(Companion_instance_8.no(this.x30_1.b2w_1), this.x30_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30()));
1555
+ if (choicePoints === null || !choicePoints.v2v()) {
1556
+ tmp = new StateEnd(Companion_instance_8.no(this.e2z_1.i2u_1), this.e2z_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y()));
1534
1557
  } else {
1558
+ var tmp0 = ensureNotNull(choicePoints).w2v();
1535
1559
  var tmp$ret$3;
1536
1560
  $l$block: {
1537
1561
  // Inline function 'kotlin.sequences.first' call
1538
- var tmp0_iterator = ensureNotNull(choicePoints).p2x().o();
1539
- while (tmp0_iterator.p()) {
1540
- var element = tmp0_iterator.r();
1541
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1542
- if (element.b2x().rp()) {
1562
+ var _iterator__ex2g4s = tmp0.o();
1563
+ while (_iterator__ex2g4s.r()) {
1564
+ var element = _iterator__ex2g4s.s();
1565
+ if (element.i2v().oo()) {
1543
1566
  tmp$ret$3 = element;
1544
1567
  break $l$block;
1545
1568
  }
@@ -1547,9 +1570,9 @@
1547
1570
  throw NoSuchElementException_init_$Create$_0('Sequence contains no element matching the predicate.');
1548
1571
  }
1549
1572
  var choicePointContext = tmp$ret$3;
1550
- var nextContext = choicePointContext.g2x(this.x30_1);
1573
+ var nextContext = choicePointContext.n2v(this.e2z_1);
1551
1574
  var tmp_0;
1552
- if (nextContext.e2w_1.rp()) {
1575
+ if (nextContext.l2u_1.oo()) {
1553
1576
  tmp_0 = new StatePrimitiveExecution(nextContext);
1554
1577
  } else {
1555
1578
  tmp_0 = new StateRuleExecution(nextContext);
@@ -1558,66 +1581,71 @@
1558
1581
  }
1559
1582
  return tmp;
1560
1583
  };
1561
- protoOf(StateBacktracking).p30 = function (context) {
1562
- return this.y30(context);
1584
+ protoOf(StateBacktracking).a2z = function (context) {
1585
+ return this.f2z(context);
1586
+ };
1587
+ protoOf(StateBacktracking).clone = function (context, $super) {
1588
+ return this.clone(context, ($super == null ? true : $super instanceof StateBacktracking) ? $super : THROW_CCE());
1563
1589
  };
1564
- protoOf(StateBacktracking).y30 = function (context) {
1590
+ protoOf(StateBacktracking).f2z = function (context) {
1565
1591
  return new StateBacktracking(context);
1566
1592
  };
1567
1593
  protoOf(StateBacktracking).toString = function () {
1568
- return 'StateBacktracking(context=' + this.x30_1 + ')';
1594
+ return 'StateBacktracking(context=' + this.e2z_1.toString() + ')';
1569
1595
  };
1570
1596
  protoOf(StateBacktracking).hashCode = function () {
1571
- return this.x30_1.hashCode();
1597
+ return this.e2z_1.hashCode();
1572
1598
  };
1573
1599
  protoOf(StateBacktracking).equals = function (other) {
1574
1600
  if (this === other)
1575
1601
  return true;
1576
1602
  if (!(other instanceof StateBacktracking))
1577
1603
  return false;
1578
- var tmp0_other_with_cast = other instanceof StateBacktracking ? other : THROW_CCE();
1579
- if (!this.x30_1.equals(tmp0_other_with_cast.x30_1))
1604
+ if (!this.e2z_1.equals(other.e2z_1))
1580
1605
  return false;
1581
1606
  return true;
1582
1607
  };
1583
1608
  function StateEnd(solution, context) {
1584
1609
  AbstractEndState.call(this, solution, context);
1585
- this.d31_1 = solution;
1586
- this.e31_1 = context;
1610
+ this.k2z_1 = solution;
1611
+ this.l2z_1 = context;
1587
1612
  }
1588
- protoOf(StateEnd).l2f = function () {
1589
- return this.d31_1;
1613
+ protoOf(StateEnd).d2e = function () {
1614
+ return this.k2z_1;
1590
1615
  };
1591
- protoOf(StateEnd).jb = function () {
1592
- return this.e31_1;
1616
+ protoOf(StateEnd).f8 = function () {
1617
+ return this.l2z_1;
1593
1618
  };
1594
- protoOf(StateEnd).r30 = function () {
1619
+ protoOf(StateEnd).v2y = function () {
1595
1620
  return false;
1596
1621
  };
1597
- protoOf(StateEnd).k30 = function () {
1622
+ protoOf(StateEnd).r2y = function () {
1598
1623
  var tmp;
1599
- if (this.e31_1.o2x()) {
1600
- var tmp0_$this = this.e31_1;
1601
- var tmp1_step = this.t30();
1602
- var tmp2_startTime = this.s30();
1603
- tmp = new StateBacktracking(tmp0_$this.h2x(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.l2z_1.v2v()) {
1625
+ var tmp0_$this = this.l2z_1;
1626
+ var tmp1_step = this.x2y();
1627
+ var tmp2_startTime = this.w2y();
1628
+ tmp = new StateBacktracking(tmp0_$this.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1604
1629
  } else {
1605
- tmp = protoOf(AbstractEndState).k30.call(this);
1630
+ tmp = protoOf(AbstractEndState).r2y.call(this);
1606
1631
  }
1607
1632
  return tmp;
1608
1633
  };
1609
- protoOf(StateEnd).p30 = function (context) {
1610
- return this.f31(this.d31_1, context);
1634
+ protoOf(StateEnd).a2z = function (context) {
1635
+ return this.m2z(this.k2z_1, context);
1636
+ };
1637
+ protoOf(StateEnd).clone = function (context, $super) {
1638
+ return this.clone(context, ($super == null ? true : $super instanceof StateEnd) ? $super : THROW_CCE());
1611
1639
  };
1612
- protoOf(StateEnd).f31 = function (solution, context) {
1640
+ protoOf(StateEnd).m2z = function (solution, context) {
1613
1641
  return new StateEnd(solution, context);
1614
1642
  };
1615
1643
  protoOf(StateEnd).toString = function () {
1616
- return 'StateEnd(solution=' + this.d31_1 + ', context=' + this.e31_1 + ')';
1644
+ return 'StateEnd(solution=' + toString(this.k2z_1) + ', context=' + this.l2z_1.toString() + ')';
1617
1645
  };
1618
1646
  protoOf(StateEnd).hashCode = function () {
1619
- var result = hashCode(this.d31_1);
1620
- result = imul(result, 31) + this.e31_1.hashCode() | 0;
1647
+ var result = hashCode(this.k2z_1);
1648
+ result = imul(result, 31) + this.l2z_1.hashCode() | 0;
1621
1649
  return result;
1622
1650
  };
1623
1651
  protoOf(StateEnd).equals = function (other) {
@@ -1625,20 +1653,19 @@
1625
1653
  return true;
1626
1654
  if (!(other instanceof StateEnd))
1627
1655
  return false;
1628
- var tmp0_other_with_cast = other instanceof StateEnd ? other : THROW_CCE();
1629
- if (!equals(this.d31_1, tmp0_other_with_cast.d31_1))
1656
+ if (!equals(this.k2z_1, other.k2z_1))
1630
1657
  return false;
1631
- if (!this.e31_1.equals(tmp0_other_with_cast.e31_1))
1658
+ if (!this.l2z_1.equals(other.l2z_1))
1632
1659
  return false;
1633
1660
  return true;
1634
1661
  };
1635
1662
  protoOf(StateEnd).asEndState = function () {
1636
- return this.m30();
1663
+ return this.z2y();
1637
1664
  };
1638
- function isCatch(_this__u8e3s4, $this) {
1665
+ function isCatch($this, _this__u8e3s4) {
1639
1666
  var tmp;
1640
- if (_this__u8e3s4.eu() === 3) {
1641
- var tmp_0 = _this__u8e3s4.ku();
1667
+ if (_this__u8e3s4.ws() === 3) {
1668
+ var tmp_0 = _this__u8e3s4.ct();
1642
1669
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1643
1670
  tmp = tmp_0 === Catch_getInstance().signature.name;
1644
1671
  } else {
@@ -1646,16 +1673,16 @@
1646
1673
  }
1647
1674
  return tmp;
1648
1675
  }
1649
- function getExceptionContent(_this__u8e3s4, $this) {
1676
+ function getExceptionContent($this, _this__u8e3s4) {
1650
1677
  var tmp;
1651
1678
  if (_this__u8e3s4 instanceof MessageError) {
1652
- tmp = _this__u8e3s4.f24();
1679
+ tmp = _this__u8e3s4.w22();
1653
1680
  } else {
1654
- tmp = _this__u8e3s4.h22();
1681
+ tmp = _this__u8e3s4.y20();
1655
1682
  }
1656
1683
  return tmp;
1657
1684
  }
1658
- function toPublicException(_this__u8e3s4, $this) {
1685
+ function toPublicException($this, _this__u8e3s4) {
1659
1686
  var tmp;
1660
1687
  if (_this__u8e3s4 instanceof MessageError) {
1661
1688
  tmp = Companion_instance_9.forUncaughtError(_this__u8e3s4);
@@ -1665,17 +1692,17 @@
1665
1692
  return tmp;
1666
1693
  }
1667
1694
  function _get_finalState__3aigq8($this) {
1668
- return new StateHalt(toPublicException($this.i31_1, $this), $this.j31_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
1695
+ return new StateHalt(toPublicException($this, $this.p2z_1), $this.q2z_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
1669
1696
  }
1670
1697
  function _get_handleExceptionInParentContext__yj3v4e($this) {
1671
- return new StateException($this.i31_1, ensureNotNull($this.j31_1.i2w_1).h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
1698
+ return new StateException($this.p2z_1, ensureNotNull($this.q2z_1.p2u_1).o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
1672
1699
  }
1673
1700
  function handleStruct($this, unificator, catchGoal, error) {
1674
1701
  var tmp;
1675
- if (isCatch(catchGoal, $this)) {
1676
- 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));
1677
1704
  tmp = handleCatch($this, catchGoal, catcher);
1678
- } else if ($this.j31_1.d2z()) {
1705
+ } else if ($this.q2z_1.l2x()) {
1679
1706
  tmp = _get_finalState__3aigq8($this);
1680
1707
  } else {
1681
1708
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1684,18 +1711,18 @@
1684
1711
  }
1685
1712
  function handleCatch($this, catchGoal, catcher) {
1686
1713
  var tmp;
1687
- if (catcher.o10()) {
1688
- var tmp_0 = $this.j31_1.a2w_1.plus(catcher);
1714
+ if (catcher.gz()) {
1715
+ var tmp_0 = $this.q2z_1.h2u_1.plus(catcher);
1689
1716
  var newSubstitution = tmp_0.filterEntry(StateException$handleCatch$lambda($this));
1690
1717
  var subGoals = catchGoal.get(2).getSubstituted(newSubstitution, []);
1691
- var newGoals = plus_0(toGoals(subGoals), $this.j31_1.c2w_1.pp());
1692
- var tmp0_$this = $this.j31_1;
1718
+ var newGoals = plus_0(toGoals(subGoals), $this.q2z_1.j2u_1.mo());
1719
+ var tmp0_$this = $this.q2z_1;
1693
1720
  var tmp1_rules = Companion_instance_7.empty();
1694
1721
  var tmp2_primitives = Companion_instance_7.empty();
1695
1722
  var tmp3_substitution = newSubstitution.castToUnifier();
1696
- var tmp4_step = $this.t30();
1697
- tmp = new StateGoalSelection(tmp0_$this.h2x(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));
1698
- } else if ($this.j31_1.d2z()) {
1723
+ var tmp4_step = $this.x2y();
1724
+ tmp = new StateGoalSelection(tmp0_$this.o2v(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.q2z_1.l2x()) {
1699
1726
  tmp = _get_finalState__3aigq8($this);
1700
1727
  } else {
1701
1728
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1703,42 +1730,45 @@
1703
1730
  return tmp;
1704
1731
  }
1705
1732
  function StateException$handleCatch$lambda(this$0) {
1706
- return function (_name_for_destructuring_parameter_0__wldtmu) {
1733
+ return function (_destruct__k2r9zo) {
1707
1734
  // Inline function 'kotlin.collections.component1' call
1708
- var it = _name_for_destructuring_parameter_0__wldtmu.p2();
1709
- return this$0.j31_1.f2z(it);
1735
+ var it = _destruct__k2r9zo.b2();
1736
+ return this$0.q2z_1.m2x(it);
1710
1737
  };
1711
1738
  }
1712
1739
  function StateException(exception, context) {
1713
1740
  AbstractState.call(this, context);
1714
- this.i31_1 = exception;
1715
- this.j31_1 = context;
1741
+ this.p2z_1 = exception;
1742
+ this.q2z_1 = context;
1716
1743
  }
1717
- protoOf(StateException).jb = function () {
1718
- return this.j31_1;
1744
+ protoOf(StateException).f8 = function () {
1745
+ return this.q2z_1;
1719
1746
  };
1720
- protoOf(StateException).k30 = function () {
1747
+ protoOf(StateException).r2y = function () {
1721
1748
  var tmp;
1722
- if (this.i31_1 instanceof LogicError) {
1723
- var catchGoal = ensureNotNull(this.j31_1.e2z());
1724
- tmp = catchGoal.qu() ? handleStruct(this, this.j31_1.r2v_1, catchGoal.castToStruct(), this.i31_1) : this.j31_1.d2z() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1749
+ if (this.p2z_1 instanceof LogicError) {
1750
+ var catchGoal = ensureNotNull(this.q2z_1.j2x());
1751
+ tmp = catchGoal.it() ? handleStruct(this, this.q2z_1.y2t_1, catchGoal.castToStruct(), this.p2z_1) : this.q2z_1.l2x() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1725
1752
  } else {
1726
1753
  tmp = _get_finalState__3aigq8(this);
1727
1754
  }
1728
1755
  return tmp;
1729
1756
  };
1730
- protoOf(StateException).p30 = function (context) {
1731
- return this.k31(this.i31_1, context);
1757
+ protoOf(StateException).a2z = function (context) {
1758
+ return this.r2z(this.p2z_1, context);
1732
1759
  };
1733
- protoOf(StateException).k31 = function (exception, context) {
1760
+ protoOf(StateException).clone = function (context, $super) {
1761
+ return this.clone(context, ($super == null ? true : $super instanceof StateException) ? $super : THROW_CCE());
1762
+ };
1763
+ protoOf(StateException).r2z = function (exception, context) {
1734
1764
  return new StateException(exception, context);
1735
1765
  };
1736
1766
  protoOf(StateException).toString = function () {
1737
- return 'StateException(exception=' + this.i31_1 + ', context=' + this.j31_1 + ')';
1767
+ return 'StateException(exception=' + this.p2z_1.toString() + ', context=' + this.q2z_1.toString() + ')';
1738
1768
  };
1739
1769
  protoOf(StateException).hashCode = function () {
1740
- var result = hashCode(this.i31_1);
1741
- result = imul(result, 31) + this.j31_1.hashCode() | 0;
1770
+ var result = hashCode(this.p2z_1);
1771
+ result = imul(result, 31) + this.q2z_1.hashCode() | 0;
1742
1772
  return result;
1743
1773
  };
1744
1774
  protoOf(StateException).equals = function (other) {
@@ -1746,105 +1776,107 @@
1746
1776
  return true;
1747
1777
  if (!(other instanceof StateException))
1748
1778
  return false;
1749
- var tmp0_other_with_cast = other instanceof StateException ? other : THROW_CCE();
1750
- if (!equals(this.i31_1, tmp0_other_with_cast.i31_1))
1779
+ if (!equals(this.p2z_1, other.p2z_1))
1751
1780
  return false;
1752
- if (!this.j31_1.equals(tmp0_other_with_cast.j31_1))
1781
+ if (!this.q2z_1.equals(other.q2z_1))
1753
1782
  return false;
1754
1783
  return true;
1755
1784
  };
1756
1785
  function StateGoalSelection$computeNext$lambda(this$0) {
1757
- return function (_name_for_destructuring_parameter_0__wldtmu) {
1786
+ return function (_destruct__k2r9zo) {
1758
1787
  // Inline function 'kotlin.collections.component1' call
1759
- var it = _name_for_destructuring_parameter_0__wldtmu.p2();
1760
- return this$0.n31_1.f2z(it);
1788
+ var it = _destruct__k2r9zo.b2();
1789
+ return this$0.u2z_1.m2x(it);
1761
1790
  };
1762
1791
  }
1763
1792
  function StateGoalSelection(context) {
1764
1793
  AbstractState.call(this, context);
1765
- this.n31_1 = context;
1794
+ this.u2z_1 = context;
1766
1795
  }
1767
- protoOf(StateGoalSelection).jb = function () {
1768
- return this.n31_1;
1796
+ protoOf(StateGoalSelection).f8 = function () {
1797
+ return this.u2z_1;
1769
1798
  };
1770
- protoOf(StateGoalSelection).k30 = function () {
1799
+ protoOf(StateGoalSelection).r2y = function () {
1771
1800
  var tmp;
1772
- if (this.n31_1.c2w_1.sp()) {
1801
+ if (this.u2z_1.j2u_1.po()) {
1773
1802
  var tmp_0;
1774
- if (this.n31_1.d2z()) {
1775
- tmp_0 = new StateEnd(Companion_instance_8.h1u(this.n31_1.b2w_1, this.n31_1.a2w_1), this.n31_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30()));
1803
+ if (this.u2z_1.l2x()) {
1804
+ tmp_0 = new StateEnd(Companion_instance_8.z1s(this.u2z_1.i2u_1, this.u2z_1.h2u_1), this.u2z_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y()));
1776
1805
  } else {
1777
1806
  // Inline function 'kotlin.let' call
1778
- // Inline function 'kotlin.contracts.contract' call
1779
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateGoalSelection.computeNext.<anonymous>' call
1780
- var it = ensureNotNull(this.n31_1.i2w_1);
1781
- var tmp0_choicePoints = this.n31_1.h2w_1;
1782
- var tmp1_flags = this.n31_1.t2v_1;
1783
- var tmp2_dynamicKb = this.n31_1.v2v_1;
1784
- var tmp3_staticKb = this.n31_1.u2v_1;
1785
- var tmp4_substitution = this.n31_1.a2w_1.i10(StateGoalSelection$computeNext$lambda(this));
1786
- var tmp5_goals = it.c2w_1.pp();
1787
- var tmp6_procedure = it.q2v_1;
1788
- var tmp7_step = this.t30();
1789
- var tmp8_startTime = this.n31_1.f2w_1;
1790
- var tmp9_operators = this.n31_1.w2v_1;
1791
- var tmp10_inputChannels = this.n31_1.x2v_1;
1792
- var tmp11_outputChannels = this.n31_1.y2v_1;
1793
- var tmp12_libraries = this.n31_1.s2v_1;
1794
- var tmp13_customData = this.n31_1.z2v_1;
1795
- var tmp$ret$1 = it.h2x(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.u2z_1.p2u_1);
1808
+ var tmp0_choicePoints = this.u2z_1.o2u_1;
1809
+ var tmp1_flags = this.u2z_1.a2u_1;
1810
+ var tmp2_dynamicKb = this.u2z_1.c2u_1;
1811
+ var tmp3_staticKb = this.u2z_1.b2u_1;
1812
+ var tmp4_substitution = this.u2z_1.h2u_1.az(StateGoalSelection$computeNext$lambda(this));
1813
+ var tmp5_goals = it.j2u_1.mo();
1814
+ var tmp6_procedure = it.x2t_1;
1815
+ var tmp7_step = this.x2y();
1816
+ var tmp8_startTime = this.u2z_1.m2u_1;
1817
+ var tmp9_operators = this.u2z_1.d2u_1;
1818
+ var tmp10_inputChannels = this.u2z_1.e2u_1;
1819
+ var tmp11_outputChannels = this.u2z_1.f2u_1;
1820
+ var tmp12_libraries = this.u2z_1.z2t_1;
1821
+ var tmp13_customData = this.u2z_1.g2u_1;
1822
+ var tmp$ret$1 = it.o2v(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);
1796
1823
  tmp_0 = new StateGoalSelection(tmp$ret$1);
1797
1824
  }
1798
1825
  tmp = tmp_0;
1799
- } else if (equals(this.n31_1.t2v_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().m26_1)) {
1800
- tmp = new StatePrimitiveSelection(this.n31_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30(), plus_1(this.n31_1.l2w_1, toSet(ensureNotNull(this.n31_1.c2w_1.qp()).mu()))));
1826
+ } else if (equals(this.u2z_1.a2u_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().d25_1)) {
1827
+ tmp = new StatePrimitiveSelection(this.u2z_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y(), plus_1(this.u2z_1.s2u_1, toSet(ensureNotNull(this.u2z_1.j2u_1.no()).et()))));
1801
1828
  } else {
1802
- tmp = new StatePrimitiveSelection(this.n31_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30()));
1829
+ tmp = new StatePrimitiveSelection(this.u2z_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y()));
1803
1830
  }
1804
1831
  return tmp;
1805
1832
  };
1806
- protoOf(StateGoalSelection).p30 = function (context) {
1807
- return this.y30(context);
1833
+ protoOf(StateGoalSelection).a2z = function (context) {
1834
+ return this.f2z(context);
1835
+ };
1836
+ protoOf(StateGoalSelection).clone = function (context, $super) {
1837
+ return this.clone(context, ($super == null ? true : $super instanceof StateGoalSelection) ? $super : THROW_CCE());
1808
1838
  };
1809
- protoOf(StateGoalSelection).y30 = function (context) {
1839
+ protoOf(StateGoalSelection).f2z = function (context) {
1810
1840
  return new StateGoalSelection(context);
1811
1841
  };
1812
1842
  protoOf(StateGoalSelection).toString = function () {
1813
- return 'StateGoalSelection(context=' + this.n31_1 + ')';
1843
+ return 'StateGoalSelection(context=' + this.u2z_1.toString() + ')';
1814
1844
  };
1815
1845
  protoOf(StateGoalSelection).hashCode = function () {
1816
- return this.n31_1.hashCode();
1846
+ return this.u2z_1.hashCode();
1817
1847
  };
1818
1848
  protoOf(StateGoalSelection).equals = function (other) {
1819
1849
  if (this === other)
1820
1850
  return true;
1821
1851
  if (!(other instanceof StateGoalSelection))
1822
1852
  return false;
1823
- var tmp0_other_with_cast = other instanceof StateGoalSelection ? other : THROW_CCE();
1824
- if (!this.n31_1.equals(tmp0_other_with_cast.n31_1))
1853
+ if (!this.u2z_1.equals(other.u2z_1))
1825
1854
  return false;
1826
1855
  return true;
1827
1856
  };
1828
1857
  function StateHalt(exception, context) {
1829
- AbstractEndState.call(this, Companion_instance_8.halt(context.b2w_1, exception), context);
1830
- this.s31_1 = exception;
1831
- this.t31_1 = context;
1858
+ AbstractEndState.call(this, Companion_instance_8.halt(context.i2u_1, exception), context);
1859
+ this.z2z_1 = exception;
1860
+ this.a30_1 = context;
1832
1861
  }
1833
- protoOf(StateHalt).jb = function () {
1834
- return this.t31_1;
1862
+ protoOf(StateHalt).f8 = function () {
1863
+ return this.a30_1;
1835
1864
  };
1836
- protoOf(StateHalt).p30 = function (context) {
1837
- return this.k31(this.s31_1, context);
1865
+ protoOf(StateHalt).a2z = function (context) {
1866
+ return this.r2z(this.z2z_1, context);
1838
1867
  };
1839
- protoOf(StateHalt).k31 = function (exception, context) {
1868
+ protoOf(StateHalt).clone = function (context, $super) {
1869
+ return this.clone(context, ($super == null ? true : $super instanceof StateHalt) ? $super : THROW_CCE());
1870
+ };
1871
+ protoOf(StateHalt).r2z = function (exception, context) {
1840
1872
  return new StateHalt(exception, context);
1841
1873
  };
1842
1874
  protoOf(StateHalt).toString = function () {
1843
- return 'StateHalt(exception=' + this.s31_1 + ', context=' + this.t31_1 + ')';
1875
+ return 'StateHalt(exception=' + this.z2z_1.toString() + ', context=' + this.a30_1.toString() + ')';
1844
1876
  };
1845
1877
  protoOf(StateHalt).hashCode = function () {
1846
- var result = hashCode(this.s31_1);
1847
- result = imul(result, 31) + this.t31_1.hashCode() | 0;
1878
+ var result = hashCode(this.z2z_1);
1879
+ result = imul(result, 31) + this.a30_1.hashCode() | 0;
1848
1880
  return result;
1849
1881
  };
1850
1882
  protoOf(StateHalt).equals = function (other) {
@@ -1852,99 +1884,98 @@
1852
1884
  return true;
1853
1885
  if (!(other instanceof StateHalt))
1854
1886
  return false;
1855
- var tmp0_other_with_cast = other instanceof StateHalt ? other : THROW_CCE();
1856
- if (!equals(this.s31_1, tmp0_other_with_cast.s31_1))
1887
+ if (!equals(this.z2z_1, other.z2z_1))
1857
1888
  return false;
1858
- if (!this.t31_1.equals(tmp0_other_with_cast.t31_1))
1889
+ if (!this.a30_1.equals(other.a30_1))
1859
1890
  return false;
1860
1891
  return true;
1861
1892
  };
1862
1893
  protoOf(StateHalt).asEndState = function () {
1863
- return this.m30();
1894
+ return this.z2y();
1864
1895
  };
1865
1896
  function StateInit(context) {
1866
1897
  AbstractState.call(this, context);
1867
- this.w31_1 = context;
1898
+ this.d30_1 = context;
1868
1899
  }
1869
- protoOf(StateInit).jb = function () {
1870
- return this.w31_1;
1900
+ protoOf(StateInit).f8 = function () {
1901
+ return this.d30_1;
1871
1902
  };
1872
- protoOf(StateInit).k30 = function () {
1873
- var tmp0_$this = this.w31_1;
1874
- var tmp1_goals = toGoals(this.w31_1.b2w_1);
1903
+ protoOf(StateInit).r2y = function () {
1904
+ var tmp0_$this = this.d30_1;
1905
+ var tmp1_goals = toGoals(this.d30_1.i2u_1);
1875
1906
  var tmp2_rules = Companion_instance_7.empty();
1876
1907
  var tmp3_primitives = Companion_instance_7.empty();
1877
1908
  var tmp4_substitution = Companion_getInstance_2().empty();
1878
- var tmp5_customData = this.w31_1.z2v_1.preservePersistent();
1909
+ var tmp5_customData = this.d30_1.g2u_1.preservePersistent();
1879
1910
  var tmp6_relevantVariables = emptySet();
1880
- return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.h2x(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.o2v(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()));
1912
+ };
1913
+ protoOf(StateInit).a2z = function (context) {
1914
+ return this.f2z(context);
1881
1915
  };
1882
- protoOf(StateInit).p30 = function (context) {
1883
- return this.y30(context);
1916
+ protoOf(StateInit).clone = function (context, $super) {
1917
+ return this.clone(context, ($super == null ? true : $super instanceof StateInit) ? $super : THROW_CCE());
1884
1918
  };
1885
- protoOf(StateInit).y30 = function (context) {
1919
+ protoOf(StateInit).f2z = function (context) {
1886
1920
  return new StateInit(context);
1887
1921
  };
1888
1922
  protoOf(StateInit).toString = function () {
1889
- return 'StateInit(context=' + this.w31_1 + ')';
1923
+ return 'StateInit(context=' + this.d30_1.toString() + ')';
1890
1924
  };
1891
1925
  protoOf(StateInit).hashCode = function () {
1892
- return this.w31_1.hashCode();
1926
+ return this.d30_1.hashCode();
1893
1927
  };
1894
1928
  protoOf(StateInit).equals = function (other) {
1895
1929
  if (this === other)
1896
1930
  return true;
1897
1931
  if (!(other instanceof StateInit))
1898
1932
  return false;
1899
- var tmp0_other_with_cast = other instanceof StateInit ? other : THROW_CCE();
1900
- if (!this.w31_1.equals(tmp0_other_with_cast.w31_1))
1933
+ if (!this.d30_1.equals(other.d30_1))
1901
1934
  return false;
1902
1935
  return true;
1903
1936
  };
1904
- function copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution) {
1905
- var tmp0_safe_receiver = _this__u8e3s4.e2w_1.qp();
1937
+ function copyFromCurrentPrimitive($this, _this__u8e3s4, goals, procedureFromAncestor, substitution) {
1938
+ var tmp0_safe_receiver = _this__u8e3s4.l2u_1.no();
1906
1939
  var tmp;
1907
1940
  if (tmp0_safe_receiver == null) {
1908
1941
  tmp = null;
1909
1942
  } else {
1910
1943
  // Inline function 'kotlin.let' call
1911
- // Inline function 'kotlin.contracts.contract' call
1912
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveExecution.copyFromCurrentPrimitive.<anonymous>' call
1913
- tmp = _this__u8e3s4.h2z(tmp0_safe_receiver.sideEffects);
1944
+ tmp = _this__u8e3s4.o2x(tmp0_safe_receiver.sideEffects);
1914
1945
  }
1915
1946
  var tmp1_elvis_lhs = tmp;
1916
1947
  var ctx = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
1917
- var tmp4_goals = goals == null ? _this__u8e3s4.c2w_1 : goals;
1918
- var tmp_0 = drop(_this__u8e3s4.m2w_1, procedureFromAncestor);
1948
+ var tmp4_goals = goals == null ? _this__u8e3s4.j2u_1 : goals;
1949
+ var tmp_0 = drop(_this__u8e3s4.t2u_1, procedureFromAncestor);
1919
1950
  var tmp5_procedure = first(map(tmp_0, StatePrimitiveExecution$copyFromCurrentPrimitive$lambda));
1920
1951
  var tmp6_primitives = Companion_instance_7.empty();
1921
- var tmp_1 = substitution == null ? _this__u8e3s4.a2w_1 : substitution;
1952
+ var tmp_1 = substitution == null ? _this__u8e3s4.h2u_1 : substitution;
1922
1953
  var tmp7_substitution = isInterface(tmp_1, Unifier) ? tmp_1 : THROW_CCE();
1923
- var tmp8_step = $this.t30();
1924
- return ctx.h2x(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.x2y();
1955
+ return ctx.o2v(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);
1925
1956
  }
1926
- function copyFromCurrentPrimitive$default(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution, $super) {
1957
+ function copyFromCurrentPrimitive$default($this, _this__u8e3s4, goals, procedureFromAncestor, substitution, $super) {
1927
1958
  goals = goals === VOID ? null : goals;
1928
1959
  procedureFromAncestor = procedureFromAncestor === VOID ? 0 : procedureFromAncestor;
1929
1960
  substitution = substitution === VOID ? null : substitution;
1930
- return copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution);
1961
+ return copyFromCurrentPrimitive($this, _this__u8e3s4, goals, procedureFromAncestor, substitution);
1931
1962
  }
1932
1963
  function StatePrimitiveExecution$copyFromCurrentPrimitive$lambda(it) {
1933
- return it.q2v_1;
1964
+ return it.x2t_1;
1934
1965
  }
1935
1966
  function StatePrimitiveExecution$computeNext$lambda(this$0) {
1936
1967
  return function (it) {
1937
- return new StateGoalSelection(copyFromCurrentPrimitive(this$0.z31_1, this$0, this$0.z31_1.c2w_1.pp(), 1, this$0.z31_1.r2v_1.mergeWithOccurCheck(this$0.z31_1.a2w_1, it.t1s(), false)));
1968
+ return new StateGoalSelection(copyFromCurrentPrimitive(this$0, this$0.g30_1, this$0.g30_1.j2u_1.mo(), 1, this$0.g30_1.y2t_1.mergeWithOccurCheck(this$0.g30_1.h2u_1, it.k1r(), false)));
1938
1969
  };
1939
1970
  }
1940
1971
  function StatePrimitiveExecution$computeNext$lambda_0(this$0) {
1941
1972
  return function (it) {
1942
- return new StateBacktracking(copyFromCurrentPrimitive$default(ensureNotNull(this$0.z31_1.i2w_1), this$0));
1973
+ return new StateBacktracking(copyFromCurrentPrimitive$default(this$0, ensureNotNull(this$0.g30_1.p2u_1)));
1943
1974
  };
1944
1975
  }
1945
1976
  function StatePrimitiveExecution$computeNext$lambda_1(this$0) {
1946
1977
  return function (it) {
1947
- return new StateException(it.x1t().updateLastContext(this$0.u30(this$0.z31_1)), copyFromCurrentPrimitive$default(this$0.z31_1, this$0));
1978
+ return new StateException(it.p1s().updateLastContext(this$0.b2z(this$0.g30_1)), copyFromCurrentPrimitive$default(this$0, this$0.g30_1));
1948
1979
  };
1949
1980
  }
1950
1981
  function StatePrimitiveExecution$computeNext$lambda_2(it) {
@@ -1952,15 +1983,15 @@
1952
1983
  }
1953
1984
  function StatePrimitiveExecution(context) {
1954
1985
  AbstractState.call(this, context);
1955
- this.z31_1 = context;
1986
+ this.g30_1 = context;
1956
1987
  }
1957
- protoOf(StatePrimitiveExecution).jb = function () {
1958
- return this.z31_1;
1988
+ protoOf(StatePrimitiveExecution).f8 = function () {
1989
+ return this.g30_1;
1959
1990
  };
1960
- protoOf(StatePrimitiveExecution).k30 = function () {
1991
+ protoOf(StatePrimitiveExecution).r2y = function () {
1961
1992
  var tmp;
1962
1993
  try {
1963
- var tmp0_safe_receiver = this.z31_1.e2w_1.qp();
1994
+ var tmp0_safe_receiver = this.g30_1.l2u_1.no();
1964
1995
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.solution;
1965
1996
  var tmp_0;
1966
1997
  if (tmp1_safe_receiver == null) {
@@ -1969,15 +2000,15 @@
1969
2000
  var tmp_1 = StatePrimitiveExecution$computeNext$lambda(this);
1970
2001
  var tmp_2 = StatePrimitiveExecution$computeNext$lambda_0(this);
1971
2002
  var tmp_3 = StatePrimitiveExecution$computeNext$lambda_1(this);
1972
- tmp_0 = tmp1_safe_receiver.b1u(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
2003
+ tmp_0 = tmp1_safe_receiver.t1s(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
1973
2004
  }
1974
2005
  var tmp2_elvis_lhs = tmp_0;
1975
- tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive$default(this.z31_1, this)) : tmp2_elvis_lhs;
2006
+ tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive$default(this, this.g30_1)) : tmp2_elvis_lhs;
1976
2007
  } catch ($p) {
1977
2008
  var tmp_4;
1978
2009
  if ($p instanceof ResolutionException) {
1979
2010
  var exception = $p;
1980
- tmp_4 = new StateException(exception.updateLastContext(this.u30(this.z31_1)), this.z31_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30()));
2011
+ tmp_4 = new StateException(exception.updateLastContext(this.b2z(this.g30_1)), this.g30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y()));
1981
2012
  } else {
1982
2013
  throw $p;
1983
2014
  }
@@ -1985,57 +2016,57 @@
1985
2016
  }
1986
2017
  return tmp;
1987
2018
  };
1988
- protoOf(StatePrimitiveExecution).p30 = function (context) {
1989
- return this.y30(context);
2019
+ protoOf(StatePrimitiveExecution).a2z = function (context) {
2020
+ return this.f2z(context);
1990
2021
  };
1991
- protoOf(StatePrimitiveExecution).y30 = function (context) {
2022
+ protoOf(StatePrimitiveExecution).clone = function (context, $super) {
2023
+ return this.clone(context, ($super == null ? true : $super instanceof StatePrimitiveExecution) ? $super : THROW_CCE());
2024
+ };
2025
+ protoOf(StatePrimitiveExecution).f2z = function (context) {
1992
2026
  return new StatePrimitiveExecution(context);
1993
2027
  };
1994
2028
  protoOf(StatePrimitiveExecution).toString = function () {
1995
- return 'StatePrimitiveExecution(context=' + this.z31_1 + ')';
2029
+ return 'StatePrimitiveExecution(context=' + this.g30_1.toString() + ')';
1996
2030
  };
1997
2031
  protoOf(StatePrimitiveExecution).hashCode = function () {
1998
- return this.z31_1.hashCode();
2032
+ return this.g30_1.hashCode();
1999
2033
  };
2000
2034
  protoOf(StatePrimitiveExecution).equals = function (other) {
2001
2035
  if (this === other)
2002
2036
  return true;
2003
2037
  if (!(other instanceof StatePrimitiveExecution))
2004
2038
  return false;
2005
- var tmp0_other_with_cast = other instanceof StatePrimitiveExecution ? other : THROW_CCE();
2006
- if (!this.z31_1.equals(tmp0_other_with_cast.z31_1))
2039
+ if (!this.g30_1.equals(other.g30_1))
2007
2040
  return false;
2008
2041
  return true;
2009
2042
  };
2010
2043
  function exceptionalState($this, exception) {
2011
- return new StateException(exception, $this.c32_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
2044
+ return new StateException(exception, $this.j30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
2012
2045
  }
2013
2046
  function StatePrimitiveSelection(context) {
2014
2047
  AbstractState.call(this, context);
2015
- this.c32_1 = context;
2048
+ this.j30_1 = context;
2016
2049
  }
2017
- protoOf(StatePrimitiveSelection).jb = function () {
2018
- return this.c32_1;
2050
+ protoOf(StatePrimitiveSelection).f8 = function () {
2051
+ return this.j30_1;
2019
2052
  };
2020
- protoOf(StatePrimitiveSelection).k30 = function () {
2053
+ protoOf(StatePrimitiveSelection).r2y = function () {
2021
2054
  // Inline function 'kotlin.with' call
2022
- // Inline function 'kotlin.contracts.contract' call
2023
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveSelection.computeNext.<anonymous>' call
2024
- var $this$with = this.c32_1;
2025
- var goal = ensureNotNull($this$with.e2z());
2055
+ var $this$with = this.j30_1;
2056
+ var goal = ensureNotNull($this$with.j2x());
2026
2057
  var tmp;
2027
- if (goal.gv()) {
2028
- tmp = exceptionalState(this, Companion_instance_11.forGoal(this.c32_1, extractSignature(ensureNotNull(this.c32_1.q2v_1)), goal.castToVar()));
2029
- } else if (goal.qu()) {
2058
+ if (goal.yt()) {
2059
+ tmp = exceptionalState(this, Companion_instance_11.forGoal(this.j30_1, extractSignature(ensureNotNull(this.j30_1.x2t_1)), goal.castToVar()));
2060
+ } else if (goal.it()) {
2030
2061
  var goalStruct = goal.castToStruct();
2031
2062
  var signature = extractSignature(goalStruct);
2032
2063
  var tmp_0;
2033
- if ($this$with.s2v_1.hasPrimitive(signature)) {
2064
+ if ($this$with.z2t_1.hasPrimitive(signature)) {
2034
2065
  var childContext = createChild($this$with);
2035
2066
  var tmp_1;
2036
2067
  try {
2037
- var request = toRequest(childContext, goalStruct, signature, this.q30());
2038
- var tmp0_elvis_lhs = $this$with.s2v_1.j2b().w2(signature);
2068
+ var request = toRequest(childContext, goalStruct, signature, this.u2y());
2069
+ var tmp0_elvis_lhs = $this$with.z2t_1.b2a().f2(signature);
2039
2070
  var tmp_2;
2040
2071
  if (tmp0_elvis_lhs == null) {
2041
2072
  var message = 'Inconsistent behaviour of Library.contains and Library.get';
@@ -2050,7 +2081,7 @@
2050
2081
  var tmp_3;
2051
2082
  if ($p instanceof ResolutionException) {
2052
2083
  var exception = $p;
2053
- tmp_3 = exceptionalState(this, exception.updateLastContext(this.u30(childContext)));
2084
+ tmp_3 = exceptionalState(this, exception.updateLastContext(this.b2z(childContext)));
2054
2085
  } else {
2055
2086
  throw $p;
2056
2087
  }
@@ -2058,104 +2089,106 @@
2058
2089
  }
2059
2090
  tmp_0 = tmp_1;
2060
2091
  } else {
2061
- tmp_0 = new StateRuleSelection(this.c32_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t30()));
2092
+ tmp_0 = new StateRuleSelection(this.j30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x2y()));
2062
2093
  }
2063
2094
  tmp = tmp_0;
2064
2095
  } else {
2065
2096
  var tmp_4 = Companion_instance_10;
2066
- var tmp1_safe_receiver = this.c32_1.q2v_1;
2097
+ var tmp1_safe_receiver = this.j30_1.x2t_1;
2067
2098
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : extractSignature(tmp1_safe_receiver);
2068
- tmp = exceptionalState(this, tmp_4.forGoal(this.c32_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2099
+ tmp = exceptionalState(this, tmp_4.forGoal(this.j30_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2069
2100
  }
2070
2101
  return tmp;
2071
2102
  };
2072
- protoOf(StatePrimitiveSelection).p30 = function (context) {
2073
- return this.y30(context);
2103
+ protoOf(StatePrimitiveSelection).a2z = function (context) {
2104
+ return this.f2z(context);
2074
2105
  };
2075
- protoOf(StatePrimitiveSelection).y30 = function (context) {
2106
+ protoOf(StatePrimitiveSelection).clone = function (context, $super) {
2107
+ return this.clone(context, ($super == null ? true : $super instanceof StatePrimitiveSelection) ? $super : THROW_CCE());
2108
+ };
2109
+ protoOf(StatePrimitiveSelection).f2z = function (context) {
2076
2110
  return new StatePrimitiveSelection(context);
2077
2111
  };
2078
2112
  protoOf(StatePrimitiveSelection).toString = function () {
2079
- return 'StatePrimitiveSelection(context=' + this.c32_1 + ')';
2113
+ return 'StatePrimitiveSelection(context=' + this.j30_1.toString() + ')';
2080
2114
  };
2081
2115
  protoOf(StatePrimitiveSelection).hashCode = function () {
2082
- return this.c32_1.hashCode();
2116
+ return this.j30_1.hashCode();
2083
2117
  };
2084
2118
  protoOf(StatePrimitiveSelection).equals = function (other) {
2085
2119
  if (this === other)
2086
2120
  return true;
2087
2121
  if (!(other instanceof StatePrimitiveSelection))
2088
2122
  return false;
2089
- var tmp0_other_with_cast = other instanceof StatePrimitiveSelection ? other : THROW_CCE();
2090
- if (!this.c32_1.equals(tmp0_other_with_cast.c32_1))
2123
+ if (!this.j30_1.equals(other.j30_1))
2091
2124
  return false;
2092
2125
  return true;
2093
2126
  };
2094
2127
  function _get_failureState__yid9tw($this) {
2095
- return new StateBacktracking($this.f32_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
2128
+ return new StateBacktracking($this.m30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
2096
2129
  }
2097
2130
  function StateRuleExecution(context) {
2098
2131
  AbstractState.call(this, context);
2099
- this.f32_1 = context;
2132
+ this.m30_1 = context;
2100
2133
  }
2101
- protoOf(StateRuleExecution).jb = function () {
2102
- return this.f32_1;
2134
+ protoOf(StateRuleExecution).f8 = function () {
2135
+ return this.m30_1;
2103
2136
  };
2104
- protoOf(StateRuleExecution).k30 = function () {
2137
+ protoOf(StateRuleExecution).r2y = function () {
2105
2138
  // Inline function 'kotlin.with' call
2106
- // Inline function 'kotlin.contracts.contract' call
2107
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleExecution.computeNext.<anonymous>' call
2108
- var $this$with = this.f32_1;
2109
- var substitution = $this$with.r2v_1.mgu(ensureNotNull($this$with.e2z()), ensureNotNull($this$with.d2w_1.qp()).qw());
2139
+ var $this$with = this.m30_1;
2140
+ var substitution = $this$with.y2t_1.mgu(ensureNotNull($this$with.j2x()), ensureNotNull($this$with.k2u_1.no()).iv());
2110
2141
  var tmp;
2111
- if (substitution.o10()) {
2112
- var newSubstitution = this.f32_1.a2w_1.plus(substitution).castToUnifier();
2113
- var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.f32_1.d2w_1.qp()), newSubstitution).rw().getSubstituted(newSubstitution, []);
2114
- var tmp0_$this = this.f32_1;
2142
+ if (substitution.gz()) {
2143
+ var newSubstitution = this.m30_1.h2u_1.plus(substitution).castToUnifier();
2144
+ var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.m30_1.k2u_1.no()), newSubstitution).jv().getSubstituted(newSubstitution, []);
2145
+ var tmp0_$this = this.m30_1;
2115
2146
  var tmp1_goals = toGoals(subGoals);
2116
2147
  var tmp2_rules = Companion_instance_7.empty();
2117
- var tmp3_step = this.t30();
2118
- tmp = new StateGoalSelection(tmp0_$this.h2x(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.x2y();
2149
+ tmp = new StateGoalSelection(tmp0_$this.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2119
2150
  } else {
2120
2151
  tmp = _get_failureState__yid9tw(this);
2121
2152
  }
2122
2153
  return tmp;
2123
2154
  };
2124
- protoOf(StateRuleExecution).p30 = function (context) {
2125
- return this.y30(context);
2155
+ protoOf(StateRuleExecution).a2z = function (context) {
2156
+ return this.f2z(context);
2157
+ };
2158
+ protoOf(StateRuleExecution).clone = function (context, $super) {
2159
+ return this.clone(context, ($super == null ? true : $super instanceof StateRuleExecution) ? $super : THROW_CCE());
2126
2160
  };
2127
- protoOf(StateRuleExecution).y30 = function (context) {
2161
+ protoOf(StateRuleExecution).f2z = function (context) {
2128
2162
  return new StateRuleExecution(context);
2129
2163
  };
2130
2164
  protoOf(StateRuleExecution).toString = function () {
2131
- return 'StateRuleExecution(context=' + this.f32_1 + ')';
2165
+ return 'StateRuleExecution(context=' + this.m30_1.toString() + ')';
2132
2166
  };
2133
2167
  protoOf(StateRuleExecution).hashCode = function () {
2134
- return this.f32_1.hashCode();
2168
+ return this.m30_1.hashCode();
2135
2169
  };
2136
2170
  protoOf(StateRuleExecution).equals = function (other) {
2137
2171
  if (this === other)
2138
2172
  return true;
2139
2173
  if (!(other instanceof StateRuleExecution))
2140
2174
  return false;
2141
- var tmp0_other_with_cast = other instanceof StateRuleExecution ? other : THROW_CCE();
2142
- if (!this.f32_1.equals(tmp0_other_with_cast.f32_1))
2175
+ if (!this.m30_1.equals(other.m30_1))
2143
2176
  return false;
2144
2177
  return true;
2145
2178
  };
2146
2179
  function None() {
2147
2180
  None_instance = this;
2148
2181
  CutLimit.call(this);
2149
- this.g32_1 = -1;
2150
- this.h32_1 = null;
2182
+ this.n30_1 = -1;
2183
+ this.o30_1 = null;
2151
2184
  }
2152
- protoOf(None).i32 = function () {
2153
- return this.g32_1;
2185
+ protoOf(None).p30 = function () {
2186
+ return this.n30_1;
2154
2187
  };
2155
- protoOf(None).s1s = function () {
2156
- return this.h32_1;
2188
+ protoOf(None).j1r = function () {
2189
+ return this.o30_1;
2157
2190
  };
2158
- protoOf(None).j32 = function () {
2191
+ protoOf(None).q30 = function () {
2159
2192
  return true;
2160
2193
  };
2161
2194
  var None_instance;
@@ -2166,51 +2199,50 @@
2166
2199
  }
2167
2200
  function Actual(depthToCut, procedure) {
2168
2201
  CutLimit.call(this);
2169
- this.k32_1 = depthToCut;
2170
- this.l32_1 = procedure;
2202
+ this.r30_1 = depthToCut;
2203
+ this.s30_1 = procedure;
2171
2204
  }
2172
- protoOf(Actual).i32 = function () {
2173
- return this.k32_1;
2205
+ protoOf(Actual).p30 = function () {
2206
+ return this.r30_1;
2174
2207
  };
2175
- protoOf(Actual).s1s = function () {
2176
- return this.l32_1;
2208
+ protoOf(Actual).j1r = function () {
2209
+ return this.s30_1;
2177
2210
  };
2178
2211
  function CutLimit() {
2179
2212
  }
2180
- protoOf(CutLimit).j32 = function () {
2213
+ protoOf(CutLimit).q30 = function () {
2181
2214
  return false;
2182
2215
  };
2183
2216
  function Companion_0() {
2184
2217
  Companion_instance_16 = this;
2185
- this.m32_1 = Catch_getInstance().signature;
2186
- this.n32_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2218
+ this.t30_1 = Catch_getInstance().signature;
2219
+ this.u30_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2187
2220
  }
2188
2221
  var Companion_instance_16;
2189
- function Companion_getInstance_7() {
2222
+ function Companion_getInstance_6() {
2190
2223
  if (Companion_instance_16 == null)
2191
2224
  new Companion_0();
2192
2225
  return Companion_instance_16;
2193
2226
  }
2194
2227
  function _get_failureState__yid9tw_0($this) {
2195
- return new StateBacktracking($this.q32_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
2228
+ return new StateBacktracking($this.x30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
2196
2229
  }
2197
2230
  function exceptionalState_0($this, exception) {
2198
- return new StateException(exception, $this.q32_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
2231
+ return new StateException(exception, $this.x30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
2199
2232
  }
2200
2233
  function missingProcedure($this, ruleSources, missing) {
2201
- var unknown = $this.q32_1.t2v_1.get(Unknown_getInstance());
2234
+ var unknown = $this.x30_1.a2u_1.get(Unknown_getInstance());
2202
2235
  var tmp;
2203
- if (equals(unknown, Unknown_getInstance().s26_1)) {
2236
+ if (equals(unknown, Unknown_getInstance().j25_1)) {
2204
2237
  tmp = _get_failureState__yid9tw_0($this);
2205
2238
  } else {
2206
2239
  var tmp_0;
2207
2240
  var tmp$ret$1;
2208
2241
  $l$block: {
2209
2242
  // Inline function 'kotlin.sequences.none' call
2210
- var tmp0_iterator = ruleSources.o();
2211
- while (tmp0_iterator.p()) {
2212
- var element = tmp0_iterator.r();
2213
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2243
+ var _iterator__ex2g4s = ruleSources.o();
2244
+ while (_iterator__ex2g4s.r()) {
2245
+ var element = _iterator__ex2g4s.s();
2214
2246
  if (element.containsIndicator(missing.toIndicator())) {
2215
2247
  tmp$ret$1 = false;
2216
2248
  break $l$block;
@@ -2220,14 +2252,12 @@
2220
2252
  }
2221
2253
  if (tmp$ret$1) {
2222
2254
  var tmp_1;
2223
- if (equals(unknown, Unknown_getInstance().q26_1)) {
2224
- tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.q32_1, missing));
2225
- } else if (equals(unknown, Unknown_getInstance().r26_1)) {
2255
+ if (equals(unknown, Unknown_getInstance().h25_1)) {
2256
+ tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.x30_1, missing));
2257
+ } else if (equals(unknown, Unknown_getInstance().i25_1)) {
2226
2258
  // Inline function 'kotlin.also' call
2227
2259
  var this_0 = _get_failureState__yid9tw_0($this);
2228
- // Inline function 'kotlin.contracts.contract' call
2229
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2230
- $this.q32_1.j1t().write(MissingPredicate_init_$Create$($this.q32_1, missing));
2260
+ $this.x30_1.b1s().write(MissingPredicate_init_$Create$($this.x30_1, missing));
2231
2261
  tmp_1 = this_0;
2232
2262
  } else {
2233
2263
  tmp_1 = _get_failureState__yid9tw_0($this);
@@ -2241,25 +2271,25 @@
2241
2271
  return tmp;
2242
2272
  }
2243
2273
  function _get_ignoreState__t4wl8y($this) {
2244
- return new StateGoalSelection($this.q32_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.q32_1.c2w_1.pp(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t30()));
2274
+ return new StateGoalSelection($this.x30_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x30_1.j2u_1.mo(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.x2y()));
2245
2275
  }
2246
- function isCut(_this__u8e3s4, $this) {
2247
- return _this__u8e3s4.fu() ? _this__u8e3s4.castToAtom().q2() === '!' : false;
2276
+ function isCut($this, _this__u8e3s4) {
2277
+ return _this__u8e3s4.xs() && _this__u8e3s4.castToAtom().c2() === '!';
2248
2278
  }
2249
- function computeCutLimit(_this__u8e3s4, $this, magicCut) {
2279
+ function computeCutLimit($this, _this__u8e3s4, magicCut) {
2250
2280
  var tmp;
2251
2281
  if (magicCut) {
2252
- tmp = firstOrNull(_this__u8e3s4.m2w_1);
2282
+ tmp = firstOrNull(_this__u8e3s4.t2u_1);
2253
2283
  } else {
2284
+ var tmp0 = _this__u8e3s4.t2u_1;
2254
2285
  var tmp$ret$1;
2255
2286
  $l$block: {
2256
2287
  // Inline function 'kotlin.sequences.firstOrNull' call
2257
- var tmp0_iterator = _this__u8e3s4.m2w_1.o();
2258
- while (tmp0_iterator.p()) {
2259
- var element = tmp0_iterator.r();
2260
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeCutLimit.<anonymous>' call
2261
- var tmp_0 = Companion_getInstance_7().n32_1;
2262
- var tmp0_safe_receiver = element.q2v_1;
2288
+ var _iterator__ex2g4s = tmp0.o();
2289
+ while (_iterator__ex2g4s.r()) {
2290
+ var element = _iterator__ex2g4s.s();
2291
+ var tmp_0 = Companion_getInstance_6().u30_1;
2292
+ var tmp0_safe_receiver = element.x2t_1;
2263
2293
  if (!contains_0(tmp_0, tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver))) {
2264
2294
  tmp$ret$1 = element;
2265
2295
  break $l$block;
@@ -2274,32 +2304,31 @@
2274
2304
  if (cutLimit == null) {
2275
2305
  tmp_1 = None_getInstance();
2276
2306
  } else {
2277
- tmp_1 = new Actual(cutLimit.j2w_1, cutLimit.q2v_1);
2307
+ tmp_1 = new Actual(cutLimit.q2u_1, cutLimit.x2t_1);
2278
2308
  }
2279
2309
  return tmp_1;
2280
2310
  }
2281
2311
  function cutCanBeSkipped($this, cutLimit, executionContext) {
2282
- return (cutLimit.j32() ? true : cutLimit.i32() > executionContext.j2w_1) ? true : cutLimit.i32() === executionContext.j2w_1 ? !equals(cutLimit.s1s(), executionContext.q2v_1) : false;
2312
+ return cutLimit.q30() || cutLimit.p30() > executionContext.q2u_1 || (cutLimit.p30() === executionContext.q2u_1 && !equals(cutLimit.j1r(), executionContext.x2t_1));
2283
2313
  }
2284
- function performCut(_this__u8e3s4, $this, cutLimit) {
2314
+ function performCut($this, _this__u8e3s4, cutLimit) {
2285
2315
  var tmp;
2286
2316
  if (_this__u8e3s4 === null) {
2287
2317
  tmp = null;
2288
- } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.c2x()))) {
2318
+ } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.j2v()))) {
2289
2319
  tmp = _this__u8e3s4;
2290
2320
  } else {
2291
- var tmp_0 = _this__u8e3s4.p2x();
2321
+ var tmp_0 = _this__u8e3s4.w2v();
2292
2322
  var cutCandidates = filter(tmp_0, StateRuleSelection$performCut$lambda(cutLimit));
2293
2323
  var tmp_1;
2294
2324
  if (any(cutCandidates)) {
2295
2325
  var tmp$ret$1;
2296
2326
  $l$block: {
2297
2327
  // Inline function 'kotlin.sequences.firstOrNull' call
2298
- var tmp0_iterator = cutCandidates.o();
2299
- while (tmp0_iterator.p()) {
2300
- var element = tmp0_iterator.r();
2301
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.performCut.<anonymous>' call
2302
- if (ensureNotNull(element.c2x()).j2w_1 <= cutLimit.i32()) {
2328
+ var _iterator__ex2g4s = cutCandidates.o();
2329
+ while (_iterator__ex2g4s.r()) {
2330
+ var element = _iterator__ex2g4s.s();
2331
+ if (ensureNotNull(element.j2v()).q2u_1 <= cutLimit.p30()) {
2303
2332
  tmp$ret$1 = element;
2304
2333
  break $l$block;
2305
2334
  }
@@ -2307,7 +2336,7 @@
2307
2336
  tmp$ret$1 = null;
2308
2337
  }
2309
2338
  var tmp0_safe_receiver = tmp$ret$1;
2310
- tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d2x();
2339
+ tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k2v();
2311
2340
  } else {
2312
2341
  tmp_1 = _this__u8e3s4;
2313
2342
  }
@@ -2315,25 +2344,21 @@
2315
2344
  }
2316
2345
  return tmp;
2317
2346
  }
2318
- function _get_isTailRecursive__h5eso7(_this__u8e3s4, $this) {
2347
+ function _get_isTailRecursive__h5eso7($this, _this__u8e3s4) {
2319
2348
  var tmp;
2320
- if (_this__u8e3s4.c2w_1.pp().sp() ? equals(_this__u8e3s4.t2v_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().f26_1) : false) {
2349
+ if (_this__u8e3s4.j2u_1.mo().po() && equals(_this__u8e3s4.a2u_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().w24_1)) {
2321
2350
  // Inline function 'kotlin.let' call
2322
- // Inline function 'kotlin.contracts.contract' call
2323
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>' call
2324
- var tmp0_safe_receiver = ensureNotNull(_this__u8e3s4.e2z()).asStruct();
2351
+ var tmp0_safe_receiver = ensureNotNull(_this__u8e3s4.j2x()).asStruct();
2325
2352
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver);
2326
2353
  var tmp_0;
2327
2354
  if (tmp1_safe_receiver == null) {
2328
2355
  tmp_0 = null;
2329
2356
  } else {
2330
2357
  // Inline function 'kotlin.let' call
2331
- // Inline function 'kotlin.contracts.contract' call
2332
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>.<anonymous>' call
2333
2358
  var tmp_1;
2334
- var tmp0_safe_receiver_0 = _this__u8e3s4.q2v_1;
2359
+ var tmp0_safe_receiver_0 = _this__u8e3s4.x2t_1;
2335
2360
  if (tmp1_safe_receiver.equals(tmp0_safe_receiver_0 == null ? null : extractSignature(tmp0_safe_receiver_0))) {
2336
- tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_7().m32_1);
2361
+ tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_6().t30_1);
2337
2362
  } else {
2338
2363
  tmp_1 = false;
2339
2364
  }
@@ -2346,14 +2371,12 @@
2346
2371
  }
2347
2372
  return tmp;
2348
2373
  }
2349
- function selectClauses(_this__u8e3s4, $this, term) {
2350
- // Inline function 'kotlin.let' call
2374
+ function selectClauses($this, _this__u8e3s4, term) {
2351
2375
  var tmp = _this__u8e3s4.getByHead(term);
2352
- // Inline function 'kotlin.contracts.contract' call
2353
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.selectClauses.<anonymous>' call
2376
+ // Inline function 'kotlin.let' call
2354
2377
  var it = ensureRules(map(tmp, StateRuleSelection$selectClauses$lambda));
2355
2378
  var tmp_0;
2356
- if (_this__u8e3s4.q1q()) {
2379
+ if (_this__u8e3s4.h1p()) {
2357
2380
  tmp_0 = buffered(it);
2358
2381
  } else {
2359
2382
  tmp_0 = it;
@@ -2362,62 +2385,57 @@
2362
2385
  }
2363
2386
  function StateRuleSelection$performCut$lambda($cutLimit) {
2364
2387
  return function (it) {
2365
- return equals(ensureNotNull(it.c2x()).q2v_1, $cutLimit.s1s());
2388
+ return equals(ensureNotNull(it.j2v()).x2t_1, $cutLimit.j1r());
2366
2389
  };
2367
2390
  }
2368
2391
  function StateRuleSelection$computeNext$lambda(this$0, $currentGoalStruct) {
2369
2392
  return function (it) {
2370
- return selectClauses(it, this$0, $currentGoalStruct);
2393
+ return selectClauses(this$0, it, $currentGoalStruct);
2371
2394
  };
2372
2395
  }
2373
2396
  function StateRuleSelection$selectClauses$lambda(it) {
2374
- return it.nu();
2397
+ return it.ft();
2375
2398
  }
2376
2399
  function StateRuleSelection(context) {
2377
- Companion_getInstance_7();
2400
+ Companion_getInstance_6();
2378
2401
  AbstractState.call(this, context);
2379
- this.q32_1 = context;
2402
+ this.x30_1 = context;
2380
2403
  }
2381
- protoOf(StateRuleSelection).jb = function () {
2382
- return this.q32_1;
2404
+ protoOf(StateRuleSelection).f8 = function () {
2405
+ return this.x30_1;
2383
2406
  };
2384
- protoOf(StateRuleSelection).k30 = function () {
2385
- var currentGoal = ensureNotNull(this.q32_1.e2z());
2407
+ protoOf(StateRuleSelection).r2y = function () {
2408
+ var currentGoal = ensureNotNull(this.x30_1.j2x());
2386
2409
  var tmp;
2387
- if (currentGoal.gv()) {
2388
- tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.q32_1, extractSignature(ensureNotNull(this.q32_1.q2v_1)), currentGoal.castToVar()));
2389
- } else if (currentGoal.qu()) {
2410
+ if (currentGoal.yt()) {
2411
+ tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.x30_1, extractSignature(ensureNotNull(this.x30_1.x2t_1)), currentGoal.castToVar()));
2412
+ } else if (currentGoal.it()) {
2390
2413
  // Inline function 'kotlin.with' call
2391
- // Inline function 'kotlin.contracts.contract' call
2392
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>' call
2393
- var $this$with = this.q32_1;
2414
+ var $this$with = this.x30_1;
2394
2415
  var currentGoalStruct = currentGoal.castToStruct();
2395
- var ruleSources = sequenceOf([$this$with.s2v_1.asTheory($this$with.r2v_1), $this$with.u2v_1, $this$with.v2v_1]);
2416
+ var ruleSources = sequenceOf([$this$with.z2t_1.asTheory($this$with.y2t_1), $this$with.b2u_1, $this$with.c2u_1]);
2396
2417
  var tmp_0;
2397
- if (currentGoalStruct.hv()) {
2418
+ if (currentGoalStruct.zt()) {
2398
2419
  var tmp_1;
2399
- if (currentGoalStruct.iu()) {
2420
+ if (currentGoalStruct.at()) {
2400
2421
  tmp_1 = _get_ignoreState__t4wl8y(this);
2401
2422
  } else {
2402
2423
  tmp_1 = _get_failureState__yid9tw_0(this);
2403
2424
  }
2404
2425
  tmp_0 = tmp_1;
2405
2426
  } else {
2406
- if (isCut(currentGoalStruct, this)) {
2407
- var cutLimit = computeCutLimit($this$with, this, currentGoalStruct instanceof MagicCut);
2427
+ if (isCut(this, currentGoalStruct)) {
2428
+ var cutLimit = computeCutLimit(this, $this$with, currentGoalStruct instanceof MagicCut);
2408
2429
  // Inline function 'kotlin.let' call
2409
- // Inline function 'kotlin.contracts.contract' call
2410
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2411
2430
  var it = _get_ignoreState__t4wl8y(this);
2412
- tmp_0 = it.y30(it.n31_1.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(it.n31_1.h2w_1, this, cutLimit)));
2431
+ tmp_0 = it.f2z(it.u2z_1.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(this, it.u2z_1.o2u_1, cutLimit)));
2413
2432
  } else {
2414
2433
  var tmp$ret$3;
2415
2434
  $l$block: {
2416
2435
  // Inline function 'kotlin.sequences.any' call
2417
- var tmp0_iterator = ruleSources.o();
2418
- while (tmp0_iterator.p()) {
2419
- var element = tmp0_iterator.r();
2420
- // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2436
+ var _iterator__ex2g4s = ruleSources.o();
2437
+ while (_iterator__ex2g4s.r()) {
2438
+ var element = _iterator__ex2g4s.s();
2421
2439
  if (element.containsHead(currentGoalStruct)) {
2422
2440
  tmp$ret$3 = true;
2423
2441
  break $l$block;
@@ -2428,10 +2446,10 @@
2428
2446
  if (tmp$ret$3) {
2429
2447
  var rules = cursor(flatMap(ruleSources, StateRuleSelection$computeNext$lambda(this, currentGoalStruct)));
2430
2448
  var tmp_2;
2431
- if (_get_isTailRecursive__h5eso7(this.q32_1, this)) {
2432
- tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.q32_1, rules));
2449
+ if (_get_isTailRecursive__h5eso7(this, this.x30_1)) {
2450
+ tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.x30_1, rules));
2433
2451
  } else {
2434
- tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.q32_1, rules));
2452
+ tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.x30_1, rules));
2435
2453
  }
2436
2454
  tmp_0 = tmp_2;
2437
2455
  } else {
@@ -2441,41 +2459,43 @@
2441
2459
  }
2442
2460
  tmp = tmp_0;
2443
2461
  } else {
2444
- tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.q32_1, extractSignature(ensureNotNull(this.q32_1.q2v_1)), Expected_CALLABLE_getInstance(), currentGoal));
2462
+ tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.x30_1, extractSignature(ensureNotNull(this.x30_1.x2t_1)), Expected_CALLABLE_getInstance(), currentGoal));
2445
2463
  }
2446
2464
  return tmp;
2447
2465
  };
2448
- protoOf(StateRuleSelection).p30 = function (context) {
2449
- return this.y30(context);
2466
+ protoOf(StateRuleSelection).a2z = function (context) {
2467
+ return this.f2z(context);
2468
+ };
2469
+ protoOf(StateRuleSelection).clone = function (context, $super) {
2470
+ return this.clone(context, ($super == null ? true : $super instanceof StateRuleSelection) ? $super : THROW_CCE());
2450
2471
  };
2451
- protoOf(StateRuleSelection).y30 = function (context) {
2472
+ protoOf(StateRuleSelection).f2z = function (context) {
2452
2473
  return new StateRuleSelection(context);
2453
2474
  };
2454
2475
  protoOf(StateRuleSelection).toString = function () {
2455
- return 'StateRuleSelection(context=' + this.q32_1 + ')';
2476
+ return 'StateRuleSelection(context=' + this.x30_1.toString() + ')';
2456
2477
  };
2457
2478
  protoOf(StateRuleSelection).hashCode = function () {
2458
- return this.q32_1.hashCode();
2479
+ return this.x30_1.hashCode();
2459
2480
  };
2460
2481
  protoOf(StateRuleSelection).equals = function (other) {
2461
2482
  if (this === other)
2462
2483
  return true;
2463
2484
  if (!(other instanceof StateRuleSelection))
2464
2485
  return false;
2465
- var tmp0_other_with_cast = other instanceof StateRuleSelection ? other : THROW_CCE();
2466
- if (!this.q32_1.equals(tmp0_other_with_cast.q32_1))
2486
+ if (!this.x30_1.equals(other.x30_1))
2467
2487
  return false;
2468
2488
  return true;
2469
2489
  };
2470
2490
  function appendRulesAndChoicePoints(_this__u8e3s4, rules) {
2471
2491
  var tmp;
2472
- if (rules.rp()) {
2473
- tmp = appendRules(_this__u8e3s4.h2w_1, rules.pp(), _this__u8e3s4);
2492
+ if (rules.oo()) {
2493
+ tmp = appendRules(_this__u8e3s4.o2u_1, rules.mo(), _this__u8e3s4);
2474
2494
  } else {
2475
- tmp = appendRules(_this__u8e3s4.h2w_1, Companion_instance_7.empty(), _this__u8e3s4);
2495
+ tmp = appendRules(_this__u8e3s4.o2u_1, Companion_instance_7.empty(), _this__u8e3s4);
2476
2496
  }
2477
2497
  var newChoicePointContext = tmp;
2478
- return _this__u8e3s4.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2498
+ return _this__u8e3s4.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2479
2499
  }
2480
2500
  function toGoals(_this__u8e3s4) {
2481
2501
  var tmp = unfoldGoals(_this__u8e3s4);
@@ -2483,37 +2503,38 @@
2483
2503
  }
2484
2504
  function unfoldGoals(_this__u8e3s4) {
2485
2505
  var tmp;
2486
- if (_this__u8e3s4.vu()) {
2487
- var tmp_0 = _this__u8e3s4.castToTuple().at();
2506
+ if (_this__u8e3s4.nt()) {
2507
+ var tmp_0 = _this__u8e3s4.castToTuple().sr();
2488
2508
  tmp = flatMap(tmp_0, unfoldGoals$lambda);
2489
2509
  } else {
2490
- tmp = sequenceOf([_this__u8e3s4]);
2510
+ tmp = sequenceOf_0(_this__u8e3s4);
2491
2511
  }
2492
2512
  return tmp;
2493
2513
  }
2494
2514
  function createChild(_this__u8e3s4, inferProcedureFromGoals) {
2495
2515
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2496
- var currentGoal = ensureNotNull(_this__u8e3s4.e2z()).castToStruct();
2516
+ var currentGoal = ensureNotNull(_this__u8e3s4.j2x()).castToStruct();
2497
2517
  var tmp0_goals = toGoals(currentGoal);
2498
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.q2v_1;
2499
- var tmp2_depth = _this__u8e3s4.j2w_1 + 1 | 0;
2518
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.x2t_1;
2519
+ var tmp2_depth = _this__u8e3s4.q2u_1 + 1 | 0;
2500
2520
  // Inline function 'kotlin.Long.plus' call
2501
- var tmp3_step = _this__u8e3s4.k2w_1.ia(toLong(1));
2521
+ var this_0 = _this__u8e3s4.r2u_1;
2522
+ var tmp3_step = add(this_0, fromInt(1));
2502
2523
  var tmp4_relevantVariables = emptySet();
2503
- return _this__u8e3s4.h2x(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.o2v(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);
2504
2525
  }
2505
2526
  function toRequest(_this__u8e3s4, goal, signature, startTime) {
2506
- return new Request(signature, goal.lu(), _this__u8e3s4, startTime);
2527
+ return new Request(signature, goal.dt(), _this__u8e3s4, startTime);
2507
2528
  }
2508
2529
  function appendPrimitivesAndChoicePoints(_this__u8e3s4, primitiveExecutions) {
2509
2530
  var tmp;
2510
- if (primitiveExecutions.rp()) {
2511
- tmp = appendPrimitives(_this__u8e3s4.h2w_1, primitiveExecutions.pp(), _this__u8e3s4);
2531
+ if (primitiveExecutions.oo()) {
2532
+ tmp = appendPrimitives(_this__u8e3s4.o2u_1, primitiveExecutions.mo(), _this__u8e3s4);
2512
2533
  } else {
2513
- tmp = appendPrimitives(_this__u8e3s4.h2w_1, Companion_instance_7.empty(), _this__u8e3s4);
2534
+ tmp = appendPrimitives(_this__u8e3s4.o2u_1, Companion_instance_7.empty(), _this__u8e3s4);
2514
2535
  }
2515
2536
  var newChoicePointContext = tmp;
2516
- return _this__u8e3s4.h2x(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2537
+ return _this__u8e3s4.o2v(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2517
2538
  }
2518
2539
  function replaceWithChildAppendingRulesAndChoicePoints(_this__u8e3s4, rules, inferProcedureFromGoals) {
2519
2540
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
@@ -2530,76 +2551,72 @@
2530
2551
  }
2531
2552
  function replaceWithChild(_this__u8e3s4, inferProcedureFromGoals) {
2532
2553
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2533
- var currentGoal = ensureNotNull(_this__u8e3s4.e2z()).castToStruct();
2554
+ var currentGoal = ensureNotNull(_this__u8e3s4.j2x()).castToStruct();
2534
2555
  var tmp0_goals = toGoals(currentGoal);
2535
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.q2v_1;
2536
- var tmp2_depth = _this__u8e3s4.j2w_1 + 1 | 0;
2556
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.x2t_1;
2557
+ var tmp2_depth = _this__u8e3s4.q2u_1 + 1 | 0;
2537
2558
  // Inline function 'kotlin.Long.plus' call
2538
- var tmp3_step = _this__u8e3s4.k2w_1.ia(toLong(1));
2539
- return _this__u8e3s4.h2x(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.r2u_1;
2560
+ var tmp3_step = add(this_0, fromInt(1));
2561
+ return _this__u8e3s4.o2v(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);
2540
2562
  }
2541
2563
  function toGoals$lambda(it) {
2542
- return it.gv() ? Companion_getInstance_1().of('call', [it]) : it;
2564
+ return it.yt() ? Companion_getInstance_1().of('call', [it]) : it;
2543
2565
  }
2544
2566
  function unfoldGoals$lambda(it) {
2545
2567
  return unfoldGoals(it);
2546
2568
  }
2547
2569
  function ensureRules$lambda(it) {
2548
2570
  // Inline function 'kotlin.require' call
2549
- // Inline function 'kotlin.contracts.contract' call
2550
2571
  // Inline function 'kotlin.require' call
2551
- // Inline function 'kotlin.contracts.contract' call
2552
- if (!it.su()) {
2553
- // Inline function 'kotlin.require.<anonymous>' call
2572
+ if (!it.kt()) {
2554
2573
  var message = 'Failed requirement.';
2555
2574
  throw IllegalArgumentException_init_$Create$(toString(message));
2556
2575
  }
2557
2576
  return it.castToRule();
2558
2577
  }
2559
2578
  function AbstractSolutionIterator(state) {
2560
- this.r32_1 = state;
2561
- this.s32_1 = new Long(0, 0);
2579
+ this.y30_1 = state;
2580
+ this.z30_1 = 0n;
2562
2581
  }
2563
- protoOf(AbstractSolutionIterator).p = function () {
2582
+ protoOf(AbstractSolutionIterator).r = function () {
2564
2583
  // Inline function 'kotlin.let' call
2565
- // Inline function 'kotlin.contracts.contract' call
2566
- // Inline function 'it.unibo.tuprolog.solve.classic.impl.AbstractSolutionIterator.hasNext.<anonymous>' call
2567
- var it = this.r32_1;
2568
- return !it.l30() ? true : it.castToEndState().o2x();
2584
+ var it = this.y30_1;
2585
+ return !it.y2y() || it.castToEndState().v2v();
2569
2586
  };
2570
- protoOf(AbstractSolutionIterator).r = function () {
2587
+ protoOf(AbstractSolutionIterator).s = function () {
2571
2588
  do {
2572
- var previousState = this.r32_1;
2589
+ var previousState = this.y30_1;
2573
2590
  var tmp = this;
2574
- var tmp_0 = this.r32_1;
2575
- this.s32_1 = this.s32_1.na();
2576
- tmp.r32_1 = this.t32(tmp_0, this.s32_1);
2577
- this.onStateTransition(previousState, this.r32_1, this.s32_1);
2591
+ var tmp_0 = this.y30_1;
2592
+ this.z30_1 = add(this.z30_1, get_ONE());
2593
+ tmp.y30_1 = this.a31(tmp_0, this.z30_1);
2594
+ this.onStateTransition(previousState, this.y30_1, this.z30_1);
2578
2595
  }
2579
- while (!this.r32_1.l30());
2580
- return this.r32_1.castToEndState().l2f().cleanUp();
2596
+ while (!this.y30_1.y2y());
2597
+ return this.y30_1.castToEndState().d2e().cleanUp();
2581
2598
  };
2582
2599
  function SimpleSolutionIterator(state, onStateTransitionCallback) {
2583
2600
  AbstractSolutionIterator.call(this, state);
2584
- this.w32_1 = onStateTransitionCallback;
2601
+ this.d31_1 = onStateTransitionCallback;
2585
2602
  }
2586
- protoOf(SimpleSolutionIterator).t32 = function (state, step) {
2603
+ protoOf(SimpleSolutionIterator).a31 = function (state, step) {
2587
2604
  return state.next();
2588
2605
  };
2589
- protoOf(SimpleSolutionIterator).x32 = function (source, destination, index) {
2590
- return this.w32_1(source, destination, index);
2606
+ protoOf(SimpleSolutionIterator).e31 = function (source, destination, index) {
2607
+ return this.d31_1(source, destination, index);
2591
2608
  };
2592
2609
  protoOf(SimpleSolutionIterator).onStateTransition = function (source, destination, index) {
2593
- return this.x32(source, destination, index);
2610
+ return this.e31(source, destination, index);
2594
2611
  };
2595
2612
  function DefaultBuiltins() {
2596
2613
  DefaultBuiltins_instance = this;
2597
2614
  ExtensionLibrary.call(this, CommonBuiltins_getInstance());
2598
2615
  }
2599
- protoOf(DefaultBuiltins).x2b = function () {
2616
+ protoOf(DefaultBuiltins).p2a = function () {
2600
2617
  return listOf(Throw_getInstance());
2601
2618
  };
2602
- protoOf(DefaultBuiltins).w2b = function () {
2619
+ protoOf(DefaultBuiltins).o2a = function () {
2603
2620
  return listOf_0([Catch_getInstance(), Call_getInstance(), Comma_getInstance(), Cut_getInstance(), Fail_getInstance(), Success_getInstance()]);
2604
2621
  };
2605
2622
  var DefaultBuiltins_instance;
@@ -2613,12 +2630,12 @@
2613
2630
  var tmp_0;
2614
2631
  var tmp_1;
2615
2632
  if (isInterface(error, Struct)) {
2616
- tmp_1 = error.ku() === 'error';
2633
+ tmp_1 = error.ct() === 'error';
2617
2634
  } else {
2618
2635
  tmp_1 = false;
2619
2636
  }
2620
2637
  if (tmp_1) {
2621
- var containsArg = error.eu();
2638
+ var containsArg = error.ws();
2622
2639
  tmp_0 = 1 <= containsArg ? containsArg <= 2 : false;
2623
2640
  } else {
2624
2641
  tmp_0 = false;
@@ -2626,9 +2643,9 @@
2626
2643
  if (tmp_0) {
2627
2644
  var tmp_2 = Companion_instance_14;
2628
2645
  var tmp_3 = error.get(0);
2629
- tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.eu() > 1 ? error.get(1) : null);
2646
+ tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.ws() > 1 ? error.get(1) : null);
2630
2647
  } else {
2631
- tmp = Companion_instance_13.a24(error, context);
2648
+ tmp = Companion_instance_13.r22(error, context);
2632
2649
  }
2633
2650
  return tmp;
2634
2651
  }
@@ -2636,11 +2653,11 @@
2636
2653
  Throw_instance = this;
2637
2654
  UnaryPredicate.call(this, 'throw');
2638
2655
  }
2639
- protoOf(Throw).c2m = function (_this__u8e3s4, first) {
2640
- return sequenceOf([Companion_getInstance_5().x2c(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.a1(0)), VOID, [])]);
2656
+ protoOf(Throw).u2k = function (_this__u8e3s4, first) {
2657
+ return sequenceOf_0(Companion_getInstance_4().p2b(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.v(0)), VOID, []));
2641
2658
  };
2642
- protoOf(Throw).c2g = function (_this__u8e3s4, first) {
2643
- return this.c2m(_this__u8e3s4, first);
2659
+ protoOf(Throw).u2e = function (_this__u8e3s4, first) {
2660
+ return this.u2k(_this__u8e3s4, first);
2644
2661
  };
2645
2662
  var Throw_instance;
2646
2663
  function Throw_getInstance() {
@@ -2652,10 +2669,10 @@
2652
2669
  Call_instance = this;
2653
2670
  RuleWrapper_init_$Init$('call', 1, VOID, this);
2654
2671
  }
2655
- protoOf(Call).g2g = function (_this__u8e3s4) {
2672
+ protoOf(Call).y2e = function (_this__u8e3s4) {
2656
2673
  return listOf(_this__u8e3s4.varOf('G'));
2657
2674
  };
2658
- protoOf(Call).h2g = function (_this__u8e3s4) {
2675
+ protoOf(Call).z2e = function (_this__u8e3s4) {
2659
2676
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2660
2677
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2661
2678
  return _this__u8e3s4.tupleOf([_this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('G')]), _this__u8e3s4.varOf('G')]);
@@ -2670,10 +2687,10 @@
2670
2687
  Catch_instance = this;
2671
2688
  RuleWrapper_init_$Init$('catch', 3, VOID, this);
2672
2689
  }
2673
- protoOf(Catch).g2g = function (_this__u8e3s4) {
2690
+ protoOf(Catch).y2e = function (_this__u8e3s4) {
2674
2691
  return listOf_0([_this__u8e3s4.varOf('G'), _this__u8e3s4.varOf('E'), _this__u8e3s4.varOf('C')]);
2675
2692
  };
2676
- protoOf(Catch).h2g = function (_this__u8e3s4) {
2693
+ protoOf(Catch).z2e = function (_this__u8e3s4) {
2677
2694
  return _this__u8e3s4.varOf('G');
2678
2695
  };
2679
2696
  var Catch_instance;
@@ -2686,10 +2703,10 @@
2686
2703
  Comma_instance = this;
2687
2704
  RuleWrapper_init_$Init$(',', 2, VOID, this);
2688
2705
  }
2689
- protoOf(Comma).g2g = function (_this__u8e3s4) {
2706
+ protoOf(Comma).y2e = function (_this__u8e3s4) {
2690
2707
  return listOf_0([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2691
2708
  };
2692
- protoOf(Comma).h2g = function (_this__u8e3s4) {
2709
+ protoOf(Comma).z2e = function (_this__u8e3s4) {
2693
2710
  return _this__u8e3s4.tupleOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2694
2711
  };
2695
2712
  var Comma_instance;
@@ -2712,7 +2729,7 @@
2712
2729
  Fail_instance = this;
2713
2730
  NegationAsFailure.call(this);
2714
2731
  }
2715
- protoOf(Fail).h2g = function (_this__u8e3s4) {
2732
+ protoOf(Fail).z2e = function (_this__u8e3s4) {
2716
2733
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2717
2734
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2718
2735
  var tmp = _this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('X')]);
@@ -2730,7 +2747,7 @@
2730
2747
  Success_instance = this;
2731
2748
  NegationAsFailure.call(this);
2732
2749
  }
2733
- protoOf(Success).h2g = function (_this__u8e3s4) {
2750
+ protoOf(Success).z2e = function (_this__u8e3s4) {
2734
2751
  return _this__u8e3s4.truthOf(true);
2735
2752
  };
2736
2753
  var Success_instance;
@@ -2740,46 +2757,47 @@
2740
2757
  return Success_instance;
2741
2758
  }
2742
2759
  function Companion_1() {
2743
- this.x33_1 = '\\+';
2744
- this.y33_1 = 1;
2760
+ this.e32_1 = '\\+';
2761
+ this.f32_1 = 1;
2745
2762
  }
2746
2763
  var Companion_instance_17;
2747
- function Companion_getInstance_8() {
2764
+ function Companion_getInstance_7() {
2748
2765
  return Companion_instance_17;
2749
2766
  }
2750
2767
  function NegationAsFailure() {
2751
2768
  RuleWrapper_init_$Init$('\\+', 1, VOID, this);
2752
2769
  }
2753
- protoOf(NegationAsFailure).g2g = function (_this__u8e3s4) {
2770
+ protoOf(NegationAsFailure).y2e = function (_this__u8e3s4) {
2754
2771
  return listOf(_this__u8e3s4.varOf('X'));
2755
2772
  };
2756
2773
  //region block: post-declaration
2757
2774
  protoOf(ClassicExecutionContext).createSolver = createSolver;
2775
+ protoOf(ClassicExecutionContext).createMutableSolver = createMutableSolver;
2758
2776
  protoOf(ClassicExecutionContext).update = update;
2759
- protoOf(ClassicExecutionContext).g1t = get_standardInput;
2760
- protoOf(ClassicExecutionContext).h1t = get_standardOutput;
2761
- protoOf(ClassicExecutionContext).i1t = get_standardError;
2762
- protoOf(ClassicExecutionContext).j1t = get_warnings;
2763
- protoOf(ClassicExecutionContext).o1s = get_endTime;
2764
- protoOf(ClassicExecutionContext).q1s = get_remainingTime;
2765
- protoOf(ClassicExecutionContext).r1s = get_elapsedTime;
2777
+ protoOf(ClassicExecutionContext).y1r = get_standardInput;
2778
+ protoOf(ClassicExecutionContext).z1r = get_standardOutput;
2779
+ protoOf(ClassicExecutionContext).a1s = get_standardError;
2780
+ protoOf(ClassicExecutionContext).b1s = get_warnings;
2781
+ protoOf(ClassicExecutionContext).f1r = get_endTime;
2782
+ protoOf(ClassicExecutionContext).h1r = get_remainingTime;
2783
+ protoOf(ClassicExecutionContext).i1r = get_elapsedTime;
2766
2784
  protoOf(ClassicSolverFactory).rawSolverOf = rawSolverOf;
2767
2785
  protoOf(ClassicSolverFactory).solverOf = solverOf;
2768
2786
  protoOf(ClassicSolverFactory).mutableSolverOf = mutableSolverOf;
2769
2787
  protoOf(ClassicSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
2770
2788
  protoOf(ClassicSolverFactory).newBuilder = newBuilder;
2771
- protoOf(ClassicSolverFactory).h1v = get_defaultRuntime;
2772
- protoOf(ClassicSolverFactory).j1v = get_defaultUnificator;
2773
- protoOf(ClassicSolverFactory).k1v = get_defaultFlags;
2774
- protoOf(ClassicSolverFactory).n1v = get_defaultStaticKb;
2775
- protoOf(ClassicSolverFactory).o1v = get_defaultDynamicKb;
2776
- protoOf(ClassicSolverFactory).p1v = get_defaultInputChannel;
2777
- protoOf(ClassicSolverFactory).q1v = get_defaultOutputChannel;
2778
- protoOf(ClassicSolverFactory).r1v = get_defaultErrorChannel;
2779
- protoOf(ClassicSolverFactory).s1v = get_defaultWarningsChannel;
2780
- protoOf(ClassicSolverFactory).a1w = solverWithDefaultBuiltins;
2789
+ protoOf(ClassicSolverFactory).z1t = get_defaultRuntime;
2790
+ protoOf(ClassicSolverFactory).b1u = get_defaultUnificator;
2791
+ protoOf(ClassicSolverFactory).c1u = get_defaultFlags;
2792
+ protoOf(ClassicSolverFactory).f1u = get_defaultStaticKb;
2793
+ protoOf(ClassicSolverFactory).g1u = get_defaultDynamicKb;
2794
+ protoOf(ClassicSolverFactory).h1u = get_defaultInputChannel;
2795
+ protoOf(ClassicSolverFactory).i1u = get_defaultOutputChannel;
2796
+ protoOf(ClassicSolverFactory).j1u = get_defaultErrorChannel;
2797
+ protoOf(ClassicSolverFactory).k1u = get_defaultWarningsChannel;
2798
+ protoOf(ClassicSolverFactory).s1u = solverWithDefaultBuiltins;
2781
2799
  protoOf(ClassicSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
2782
- protoOf(ClassicSolverFactory).c1w = mutableSolverWithDefaultBuiltins;
2800
+ protoOf(ClassicSolverFactory).u1u = mutableSolverWithDefaultBuiltins;
2783
2801
  protoOf(ClassicSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
2784
2802
  protoOf(MutableClassicSolver).loadStaticClauses = loadStaticClauses;
2785
2803
  protoOf(MutableClassicSolver).loadStaticClausesIterable = loadStaticClausesIterable;
@@ -2787,13 +2805,13 @@
2787
2805
  protoOf(MutableClassicSolver).loadDynamicClauses = loadDynamicClauses;
2788
2806
  protoOf(MutableClassicSolver).loadDynamicClausesIterable = loadDynamicClausesIterable;
2789
2807
  protoOf(MutableClassicSolver).loadDynamicClausesSequence = loadDynamicClausesSequence;
2790
- protoOf(AbstractState).l30 = get_isEndState;
2808
+ protoOf(AbstractState).y2y = get_isEndState;
2791
2809
  protoOf(AbstractState).asEndState = asEndState;
2792
2810
  protoOf(AbstractState).castToEndState = castToEndState;
2793
2811
  protoOf(AbstractState).clone = clone;
2794
- protoOf(AbstractEndState).o2x = get_hasOpenAlternatives;
2795
- protoOf(AbstractEndState).l30 = get_isEndState_0;
2796
- protoOf(AbstractEndState).m30 = asEndState_0;
2812
+ protoOf(AbstractEndState).y2y = get_isEndState_0;
2813
+ protoOf(AbstractEndState).z2y = asEndState_0;
2814
+ protoOf(AbstractEndState).v2v = get_hasOpenAlternatives;
2797
2815
  //endregion
2798
2816
  //region block: init
2799
2817
  ClassicSolverFactory_instance = new ClassicSolverFactory();
@@ -2807,7 +2825,7 @@
2807
2825
  var $it$unibo$tuprolog = $it$unibo.tuprolog || ($it$unibo.tuprolog = {});
2808
2826
  var $it$unibo$tuprolog$solve = $it$unibo$tuprolog.solve || ($it$unibo$tuprolog.solve = {});
2809
2827
  var $it$unibo$tuprolog$solve$classic = $it$unibo$tuprolog$solve.classic || ($it$unibo$tuprolog$solve.classic = {});
2810
- defineProp($it$unibo$tuprolog$solve$classic, 'ClassicSolverFactory', ClassicSolverFactory_getInstance);
2828
+ defineProp($it$unibo$tuprolog$solve$classic, 'ClassicSolverFactory', ClassicSolverFactory_getInstance, VOID, true);
2811
2829
  }
2812
2830
  $jsExportAll$(_);
2813
2831
  _.$jsExportAll$ = $jsExportAll$;