@tuprolog/2p-full 1.1.4 → 1.3.1

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