@tuprolog/2p-full 0.31.5-dev0a → 0.31.5-dev0f

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.
@@ -192,7 +192,7 @@
192
192
  }
193
193
  setMetadataFor(State, 'State', interfaceMeta, undefined, undefined, undefined, undefined, []);
194
194
  function get_hasOpenAlternatives() {
195
- return this.k2j().d1w() ? this.j5().j35() : false;
195
+ return this.h2j().a1w() ? this.j5().g35() : false;
196
196
  }
197
197
  function get_isEndState_0() {
198
198
  return true;
@@ -201,7 +201,7 @@
201
201
  return this;
202
202
  }
203
203
  function asEndState_1() {
204
- return this.h38();
204
+ return this.e38();
205
205
  }
206
206
  setMetadataFor(EndState, 'EndState', interfaceMeta, undefined, [State], undefined, undefined, []);
207
207
  setMetadataFor(AbstractState, 'AbstractState', classMeta, undefined, [State], undefined, undefined, []);
@@ -234,12 +234,12 @@
234
234
  setMetadataFor(Companion_1, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
235
235
  //endregion
236
236
  function AbstractClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
237
- AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_getInstance().p1y(stdIn), Companion_getInstance_0().s1y(stdOut, stdErr, warnings), trustKb);
237
+ AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_getInstance().m1y(stdIn), Companion_getInstance_0().p1y(stdOut, stdErr, warnings), trustKb);
238
238
  return $this;
239
239
  }
240
240
  function updateCurrentContextAfterStateTransition($this, source, destination, index) {
241
241
  // Inline function 'kotlin.require' call
242
- var tmp0_require = destination.j5().f34_1.equals(index);
242
+ var tmp0_require = destination.j5().c34_1.equals(index);
243
243
  // Inline function 'kotlin.contracts.contract' call
244
244
  // Inline function 'kotlin.require' call
245
245
  // Inline function 'kotlin.contracts.contract' call
@@ -250,7 +250,7 @@
250
250
  var message = tmp$ret$0;
251
251
  throw IllegalArgumentException_init_$Create$(toString(message));
252
252
  }
253
- $this.m34(destination.j5());
253
+ $this.j34(destination.j5());
254
254
  }
255
255
  function AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref($boundThis) {
256
256
  var l = function (p0, p1, p2) {
@@ -263,21 +263,21 @@
263
263
  function AbstractClassicSolver(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb) {
264
264
  AbstractSolver.call(this, unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb);
265
265
  }
266
- AbstractClassicSolver.prototype.m34 = function (_set____db54di) {
267
- this.l34_1 = _set____db54di;
266
+ AbstractClassicSolver.prototype.j34 = function (_set____db54di) {
267
+ this.i34_1 = _set____db54di;
268
268
  };
269
- AbstractClassicSolver.prototype.x2b = function (_set____db54di) {
270
- return this.m34(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
269
+ AbstractClassicSolver.prototype.u2b = function (_set____db54di) {
270
+ return this.j34(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
271
271
  };
272
- AbstractClassicSolver.prototype.v2b = function () {
273
- var tmp = this.l34_1;
272
+ AbstractClassicSolver.prototype.s2b = function () {
273
+ var tmp = this.i34_1;
274
274
  if (!(tmp == null))
275
275
  return tmp;
276
276
  else {
277
277
  throwUninitializedPropertyAccessException('currentContext');
278
278
  }
279
279
  };
280
- AbstractClassicSolver.prototype.w2b = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
280
+ AbstractClassicSolver.prototype.t2b = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
281
281
  var tmp = trustKb ? staticKb.toImmutableTheory() : Companion_getInstance_1().empty(unificator);
282
282
  var tmp_0 = trustKb ? dynamicKb.toMutableTheory() : Companion_getInstance_2().empty(unificator);
283
283
  var tmp_1 = toOperatorSet(getAllOperators(libraries, []));
@@ -286,93 +286,93 @@
286
286
  var tmp_4 = new Long(0, 0);
287
287
  return ClassicExecutionContext_init_$Create$(null, unificator, libraries, flags, tmp, tmp_0, tmp_1, inputChannels, outputChannels, null, null, null, null, null, null, tmp_2, tmp_3, null, null, 0, tmp_4, null, 4161025, null);
288
288
  };
289
- AbstractClassicSolver.prototype.d2c = function (goal, options) {
290
- var tmp0_unificator = this.k1l();
291
- var tmp1_libraries = this.w1u();
292
- var tmp2_flags = this.x1u();
293
- var tmp3_staticKb = this.y1u().toImmutableTheory();
294
- var tmp4_dynamicKb = this.z1u().toMutableTheory();
295
- var tmp5_operators = this.h1v();
296
- var tmp6_inputChannels = this.a1v();
297
- var tmp7_outputChannels = this.b1v();
298
- var tmp8_customData = this.v2b().u33_1;
289
+ AbstractClassicSolver.prototype.a2c = function (goal, options) {
290
+ var tmp0_unificator = this.h1l();
291
+ var tmp1_libraries = this.t1u();
292
+ var tmp2_flags = this.u1u();
293
+ var tmp3_staticKb = this.v1u().toImmutableTheory();
294
+ var tmp4_dynamicKb = this.w1u().toMutableTheory();
295
+ var tmp5_operators = this.e1v();
296
+ var tmp6_inputChannels = this.x1u();
297
+ var tmp7_outputChannels = this.y1u();
298
+ var tmp8_customData = this.s2b().r33_1;
299
299
  var tmp9_startTime = currentTimeInstant();
300
- var tmp10_maxDuration = options.j1x();
300
+ var tmp10_maxDuration = options.g1x();
301
301
  var tmp = new Long(0, 0);
302
- this.m34(ClassicExecutionContext_init_$Create$(null, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, null, goal, null, null, null, tmp9_startTime, tmp10_maxDuration, null, null, 0, tmp, null, 4092929, null));
303
- var tmp_0 = new StateInit(this.v2b());
304
- return asSequence(this.n34(tmp_0, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
302
+ this.j34(ClassicExecutionContext_init_$Create$(null, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, null, goal, null, null, null, tmp9_startTime, tmp10_maxDuration, null, null, 0, tmp, null, 4092929, null));
303
+ var tmp_0 = new StateInit(this.s2b());
304
+ return asSequence(this.k34(tmp_0, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
305
305
  };
306
306
  function Primitives(alternatives, executionContext, parent, depth) {
307
307
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
308
- this.s34_1 = alternatives;
309
- this.t34_1 = executionContext;
310
- this.u34_1 = parent;
311
- this.v34_1 = depth;
308
+ this.p34_1 = alternatives;
309
+ this.q34_1 = executionContext;
310
+ this.r34_1 = parent;
311
+ this.s34_1 = depth;
312
312
  }
313
- Primitives.prototype.w34 = function () {
314
- return this.s34_1;
313
+ Primitives.prototype.t34 = function () {
314
+ return this.p34_1;
315
315
  };
316
- Primitives.prototype.x34 = function () {
317
- return this.t34_1;
316
+ Primitives.prototype.u34 = function () {
317
+ return this.q34_1;
318
318
  };
319
- Primitives.prototype.y34 = function () {
320
- return this.u34_1;
319
+ Primitives.prototype.v34 = function () {
320
+ return this.r34_1;
321
321
  };
322
- Primitives.prototype.z34 = function () {
323
- return this.v34_1;
322
+ Primitives.prototype.w34 = function () {
323
+ return this.s34_1;
324
324
  };
325
325
  Primitives.prototype.toString = function () {
326
326
  return ChoicePointContext.prototype.toString.call(this);
327
327
  };
328
- Primitives.prototype.a35 = function () {
328
+ Primitives.prototype.x34 = function () {
329
329
  return 'Primitives';
330
330
  };
331
- Primitives.prototype.b35 = function (context) {
332
- var tmp0_$this = ensureNotNull(this.t34_1);
333
- var tmp1_primitives = this.s34_1;
331
+ Primitives.prototype.y34 = function (context) {
332
+ var tmp0_$this = ensureNotNull(this.q34_1);
333
+ var tmp1_primitives = this.p34_1;
334
334
  var tmp$ret$0;
335
335
  // Inline function 'kotlin.Long.plus' call
336
- var tmp0_plus = context.f34_1;
337
- tmp$ret$0 = tmp0_plus.bh(new Long(1, 0));
336
+ var tmp0_plus = context.c34_1;
337
+ tmp$ret$0 = tmp0_plus.zg(new Long(1, 0));
338
338
  var tmp2_step = tmp$ret$0;
339
- var tmp3_startTime = context.a34_1;
340
- var tmp4_flags = context.o33_1;
341
- var tmp5_dynamicKb = context.q33_1;
342
- var tmp6_staticKb = context.p33_1;
343
- var tmp7_operators = context.r33_1;
344
- var tmp8_inputChannels = context.s33_1;
345
- var tmp9_outputChannels = context.t33_1;
346
- var tmp10_libraries = context.n33_1;
347
- var tmp11_customData = context.u33_1.discardEphemeral();
339
+ var tmp3_startTime = context.x33_1;
340
+ var tmp4_flags = context.l33_1;
341
+ var tmp5_dynamicKb = context.n33_1;
342
+ var tmp6_staticKb = context.m33_1;
343
+ var tmp7_operators = context.o33_1;
344
+ var tmp8_inputChannels = context.p33_1;
345
+ var tmp9_outputChannels = context.q33_1;
346
+ var tmp10_libraries = context.k33_1;
347
+ var tmp11_customData = context.r33_1.discardEphemeral();
348
348
  var tmp = new Long(0, 0);
349
- var tempContext = tmp0_$this.c35(null, null, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, null, null, null, null, tmp1_primitives, tmp3_startTime, tmp, null, null, 0, tmp2_step, null, 3095555, null);
350
- var tmp_0 = this.s34_1.tq();
351
- var nextChoicePointContext = this.d35(tmp_0, tempContext, null, 0, 12, null);
349
+ var tempContext = tmp0_$this.z34(null, null, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, null, null, null, null, tmp1_primitives, tmp3_startTime, tmp, null, null, 0, tmp2_step, null, 3095555, null);
350
+ var tmp_0 = this.p34_1.qq();
351
+ var nextChoicePointContext = this.a35(tmp_0, tempContext, null, 0, 12, null);
352
352
  var tmp_1 = new Long(0, 0);
353
353
  var tmp_2 = new Long(0, 0);
354
354
  var tmp_3 = new Long(0, 0);
355
- return tempContext.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, tmp_2, nextChoicePointContext, null, 0, tmp_3, null, 4063231, null);
355
+ return tempContext.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, tmp_2, nextChoicePointContext, null, 0, tmp_3, null, 4063231, null);
356
356
  };
357
- Primitives.prototype.e35 = function (alternatives, executionContext, parent, depth) {
357
+ Primitives.prototype.b35 = function (alternatives, executionContext, parent, depth) {
358
358
  return new Primitives(alternatives, executionContext, parent, depth);
359
359
  };
360
- Primitives.prototype.d35 = function (alternatives, executionContext, parent, depth, $mask0, $handler) {
360
+ Primitives.prototype.a35 = function (alternatives, executionContext, parent, depth, $mask0, $handler) {
361
361
  if (!(($mask0 & 1) === 0))
362
- alternatives = this.s34_1;
362
+ alternatives = this.p34_1;
363
363
  if (!(($mask0 & 2) === 0))
364
- executionContext = this.t34_1;
364
+ executionContext = this.q34_1;
365
365
  if (!(($mask0 & 4) === 0))
366
- parent = this.u34_1;
366
+ parent = this.r34_1;
367
367
  if (!(($mask0 & 8) === 0))
368
- depth = this.v34_1;
369
- return this.e35(alternatives, executionContext, parent, depth);
368
+ depth = this.s34_1;
369
+ return this.b35(alternatives, executionContext, parent, depth);
370
370
  };
371
371
  Primitives.prototype.hashCode = function () {
372
- var result = hashCode(this.s34_1);
373
- result = imul(result, 31) + (this.t34_1 == null ? 0 : this.t34_1.hashCode()) | 0;
374
- result = imul(result, 31) + (this.u34_1 == null ? 0 : hashCode(this.u34_1)) | 0;
375
- result = imul(result, 31) + this.v34_1 | 0;
372
+ var result = hashCode(this.p34_1);
373
+ result = imul(result, 31) + (this.q34_1 == null ? 0 : this.q34_1.hashCode()) | 0;
374
+ result = imul(result, 31) + (this.r34_1 == null ? 0 : hashCode(this.r34_1)) | 0;
375
+ result = imul(result, 31) + this.s34_1 | 0;
376
376
  return result;
377
377
  };
378
378
  Primitives.prototype.equals = function (other) {
@@ -381,86 +381,86 @@
381
381
  if (!(other instanceof Primitives))
382
382
  return false;
383
383
  var tmp0_other_with_cast = other instanceof Primitives ? other : THROW_CCE();
384
- if (!equals(this.s34_1, tmp0_other_with_cast.s34_1))
384
+ if (!equals(this.p34_1, tmp0_other_with_cast.p34_1))
385
385
  return false;
386
- if (!equals(this.t34_1, tmp0_other_with_cast.t34_1))
386
+ if (!equals(this.q34_1, tmp0_other_with_cast.q34_1))
387
387
  return false;
388
- if (!equals(this.u34_1, tmp0_other_with_cast.u34_1))
388
+ if (!equals(this.r34_1, tmp0_other_with_cast.r34_1))
389
389
  return false;
390
- if (!(this.v34_1 === tmp0_other_with_cast.v34_1))
390
+ if (!(this.s34_1 === tmp0_other_with_cast.s34_1))
391
391
  return false;
392
392
  return true;
393
393
  };
394
394
  function Rules(alternatives, executionContext, parent, depth) {
395
395
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
396
- this.r35_1 = alternatives;
397
- this.s35_1 = executionContext;
398
- this.t35_1 = parent;
399
- this.u35_1 = depth;
396
+ this.o35_1 = alternatives;
397
+ this.p35_1 = executionContext;
398
+ this.q35_1 = parent;
399
+ this.r35_1 = depth;
400
400
  }
401
- Rules.prototype.w34 = function () {
402
- return this.r35_1;
401
+ Rules.prototype.t34 = function () {
402
+ return this.o35_1;
403
403
  };
404
- Rules.prototype.x34 = function () {
405
- return this.s35_1;
404
+ Rules.prototype.u34 = function () {
405
+ return this.p35_1;
406
406
  };
407
- Rules.prototype.y34 = function () {
408
- return this.t35_1;
407
+ Rules.prototype.v34 = function () {
408
+ return this.q35_1;
409
409
  };
410
- Rules.prototype.z34 = function () {
411
- return this.u35_1;
410
+ Rules.prototype.w34 = function () {
411
+ return this.r35_1;
412
412
  };
413
413
  Rules.prototype.toString = function () {
414
414
  return ChoicePointContext.prototype.toString.call(this);
415
415
  };
416
- Rules.prototype.a35 = function () {
416
+ Rules.prototype.x34 = function () {
417
417
  return 'Rules';
418
418
  };
419
- Rules.prototype.b35 = function (context) {
420
- var tmp0_$this = ensureNotNull(this.s35_1);
421
- var tmp1_rules = this.r35_1;
419
+ Rules.prototype.y34 = function (context) {
420
+ var tmp0_$this = ensureNotNull(this.p35_1);
421
+ var tmp1_rules = this.o35_1;
422
422
  var tmp$ret$0;
423
423
  // Inline function 'kotlin.Long.plus' call
424
- var tmp0_plus = context.f34_1;
425
- tmp$ret$0 = tmp0_plus.bh(new Long(1, 0));
424
+ var tmp0_plus = context.c34_1;
425
+ tmp$ret$0 = tmp0_plus.zg(new Long(1, 0));
426
426
  var tmp2_step = tmp$ret$0;
427
- var tmp3_startTime = context.a34_1;
428
- var tmp4_flags = context.o33_1;
429
- var tmp5_dynamicKb = context.q33_1;
430
- var tmp6_staticKb = context.p33_1;
431
- var tmp7_operators = context.r33_1;
432
- var tmp8_inputChannels = context.s33_1;
433
- var tmp9_outputChannels = context.t33_1;
434
- var tmp10_libraries = context.n33_1;
435
- var tmp11_customData = context.u33_1.discardEphemeral();
427
+ var tmp3_startTime = context.x33_1;
428
+ var tmp4_flags = context.l33_1;
429
+ var tmp5_dynamicKb = context.n33_1;
430
+ var tmp6_staticKb = context.m33_1;
431
+ var tmp7_operators = context.o33_1;
432
+ var tmp8_inputChannels = context.p33_1;
433
+ var tmp9_outputChannels = context.q33_1;
434
+ var tmp10_libraries = context.k33_1;
435
+ var tmp11_customData = context.r33_1.discardEphemeral();
436
436
  var tmp = new Long(0, 0);
437
- var tempContext = tmp0_$this.c35(null, null, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, null, null, null, tmp1_rules, null, tmp3_startTime, tmp, null, null, 0, tmp2_step, null, 3103747, null);
438
- var tmp_0 = this.r35_1.tq();
439
- var nextChoicePointContext = this.v35(tmp_0, tempContext, null, 0, 12, null);
437
+ var tempContext = tmp0_$this.z34(null, null, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, null, null, null, tmp1_rules, null, tmp3_startTime, tmp, null, null, 0, tmp2_step, null, 3103747, null);
438
+ var tmp_0 = this.o35_1.qq();
439
+ var nextChoicePointContext = this.s35(tmp_0, tempContext, null, 0, 12, null);
440
440
  var tmp_1 = new Long(0, 0);
441
441
  var tmp_2 = new Long(0, 0);
442
442
  var tmp_3 = new Long(0, 0);
443
- return tempContext.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, tmp_2, nextChoicePointContext, null, 0, tmp_3, null, 4063231, null);
443
+ return tempContext.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, tmp_2, nextChoicePointContext, null, 0, tmp_3, null, 4063231, null);
444
444
  };
445
- Rules.prototype.w35 = function (alternatives, executionContext, parent, depth) {
445
+ Rules.prototype.t35 = function (alternatives, executionContext, parent, depth) {
446
446
  return new Rules(alternatives, executionContext, parent, depth);
447
447
  };
448
- Rules.prototype.v35 = function (alternatives, executionContext, parent, depth, $mask0, $handler) {
448
+ Rules.prototype.s35 = function (alternatives, executionContext, parent, depth, $mask0, $handler) {
449
449
  if (!(($mask0 & 1) === 0))
450
- alternatives = this.r35_1;
450
+ alternatives = this.o35_1;
451
451
  if (!(($mask0 & 2) === 0))
452
- executionContext = this.s35_1;
452
+ executionContext = this.p35_1;
453
453
  if (!(($mask0 & 4) === 0))
454
- parent = this.t35_1;
454
+ parent = this.q35_1;
455
455
  if (!(($mask0 & 8) === 0))
456
- depth = this.u35_1;
457
- return this.w35(alternatives, executionContext, parent, depth);
456
+ depth = this.r35_1;
457
+ return this.t35(alternatives, executionContext, parent, depth);
458
458
  };
459
459
  Rules.prototype.hashCode = function () {
460
- var result = hashCode(this.r35_1);
461
- result = imul(result, 31) + (this.s35_1 == null ? 0 : this.s35_1.hashCode()) | 0;
462
- result = imul(result, 31) + (this.t35_1 == null ? 0 : hashCode(this.t35_1)) | 0;
463
- result = imul(result, 31) + this.u35_1 | 0;
460
+ var result = hashCode(this.o35_1);
461
+ result = imul(result, 31) + (this.p35_1 == null ? 0 : this.p35_1.hashCode()) | 0;
462
+ result = imul(result, 31) + (this.q35_1 == null ? 0 : hashCode(this.q35_1)) | 0;
463
+ result = imul(result, 31) + this.r35_1 | 0;
464
464
  return result;
465
465
  };
466
466
  Rules.prototype.equals = function (other) {
@@ -469,114 +469,114 @@
469
469
  if (!(other instanceof Rules))
470
470
  return false;
471
471
  var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
472
- if (!equals(this.r35_1, tmp0_other_with_cast.r35_1))
472
+ if (!equals(this.o35_1, tmp0_other_with_cast.o35_1))
473
473
  return false;
474
- if (!equals(this.s35_1, tmp0_other_with_cast.s35_1))
474
+ if (!equals(this.p35_1, tmp0_other_with_cast.p35_1))
475
475
  return false;
476
- if (!equals(this.t35_1, tmp0_other_with_cast.t35_1))
476
+ if (!equals(this.q35_1, tmp0_other_with_cast.q35_1))
477
477
  return false;
478
- if (!(this.u35_1 === tmp0_other_with_cast.u35_1))
478
+ if (!(this.r35_1 === tmp0_other_with_cast.r35_1))
479
479
  return false;
480
480
  return true;
481
481
  };
482
482
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation) {
483
- this.f36_1 = this$0;
483
+ this.c36_1 = this$0;
484
484
  CoroutineImpl.call(this, resultContinuation);
485
485
  }
486
- ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.i36 = function ($this$sequence, $cont) {
487
- var tmp = this.j36($this$sequence, $cont);
488
- tmp.ei_1 = Unit_getInstance();
489
- tmp.fi_1 = null;
490
- return tmp.ki();
486
+ ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.f36 = function ($this$sequence, $cont) {
487
+ var tmp = this.g36($this$sequence, $cont);
488
+ tmp.bi_1 = Unit_getInstance();
489
+ tmp.ci_1 = null;
490
+ return tmp.hi();
491
491
  };
492
- ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.wi = function (p1, $cont) {
493
- return this.i36(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
492
+ ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.ti = function (p1, $cont) {
493
+ return this.f36(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
494
494
  };
495
- ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.ki = function () {
496
- var suspendResult = this.ei_1;
495
+ ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.hi = function () {
496
+ var suspendResult = this.bi_1;
497
497
  $sm: do
498
498
  try {
499
- var tmp = this.ci_1;
499
+ var tmp = this.zh_1;
500
500
  switch (tmp) {
501
501
  case 0:
502
- this.di_1 = 4;
503
- this.h36_1 = this.f36_1;
504
- this.ci_1 = 1;
502
+ this.ai_1 = 4;
503
+ this.e36_1 = this.c36_1;
504
+ this.zh_1 = 1;
505
505
  continue $sm;
506
506
  case 1:
507
- if (!!(this.h36_1 == null)) {
508
- this.ci_1 = 3;
507
+ if (!!(this.e36_1 == null)) {
508
+ this.zh_1 = 3;
509
509
  continue $sm;
510
510
  }
511
511
 
512
- this.ci_1 = 2;
513
- suspendResult = this.g36_1.z4(ensureNotNull(this.h36_1), this);
512
+ this.zh_1 = 2;
513
+ suspendResult = this.d36_1.z4(ensureNotNull(this.e36_1), this);
514
514
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
515
515
  return suspendResult;
516
516
  }
517
517
 
518
518
  continue $sm;
519
519
  case 2:
520
- this.h36_1 = this.h36_1.y34();
521
- this.ci_1 = 1;
520
+ this.e36_1 = this.e36_1.v34();
521
+ this.zh_1 = 1;
522
522
  continue $sm;
523
523
  case 3:
524
524
  return Unit_getInstance();
525
525
  case 4:
526
- throw this.fi_1;
526
+ throw this.ci_1;
527
527
  }
528
528
  } catch ($p) {
529
- if (this.di_1 === 4) {
529
+ if (this.ai_1 === 4) {
530
530
  throw $p;
531
531
  } else {
532
- this.ci_1 = this.di_1;
533
- this.fi_1 = $p;
532
+ this.zh_1 = this.ai_1;
533
+ this.ci_1 = $p;
534
534
  }
535
535
  }
536
536
  while (true);
537
537
  };
538
- ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.j36 = function ($this$sequence, completion) {
539
- var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.f36_1, completion);
540
- i.g36_1 = $this$sequence;
538
+ ChoicePointContext$_get_pathToRoot_$slambda_q0myjn.prototype.g36 = function ($this$sequence, completion) {
539
+ var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.c36_1, completion);
540
+ i.d36_1 = $this$sequence;
541
541
  return i;
542
542
  };
543
543
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this$0, resultContinuation) {
544
544
  var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation);
545
545
  var l = function ($this$sequence, $cont) {
546
- return i.i36($this$sequence, $cont);
546
+ return i.f36($this$sequence, $cont);
547
547
  };
548
548
  l.$arity = 1;
549
549
  return l;
550
550
  }
551
551
  function ChoicePointContext(alternatives, executionContext, parent, depth) {
552
- this.f35_1 = alternatives;
553
- this.g35_1 = executionContext;
554
- this.h35_1 = parent;
555
- this.i35_1 = depth;
552
+ this.c35_1 = alternatives;
553
+ this.d35_1 = executionContext;
554
+ this.e35_1 = parent;
555
+ this.f35_1 = depth;
556
556
  }
557
- ChoicePointContext.prototype.w34 = function () {
558
- return this.f35_1;
557
+ ChoicePointContext.prototype.t34 = function () {
558
+ return this.c35_1;
559
559
  };
560
- ChoicePointContext.prototype.x34 = function () {
561
- return this.g35_1;
560
+ ChoicePointContext.prototype.u34 = function () {
561
+ return this.d35_1;
562
562
  };
563
- ChoicePointContext.prototype.y34 = function () {
564
- return this.h35_1;
563
+ ChoicePointContext.prototype.v34 = function () {
564
+ return this.e35_1;
565
565
  };
566
- ChoicePointContext.prototype.z34 = function () {
567
- return this.i35_1;
566
+ ChoicePointContext.prototype.w34 = function () {
567
+ return this.f35_1;
568
568
  };
569
- ChoicePointContext.prototype.j35 = function () {
569
+ ChoicePointContext.prototype.g35 = function () {
570
570
  var tmp$ret$1;
571
571
  $l$block: {
572
572
  // Inline function 'kotlin.sequences.any' call
573
- var tmp0_any = this.k35();
573
+ var tmp0_any = this.h35();
574
574
  var tmp0_iterator = tmp0_any.j();
575
575
  while (tmp0_iterator.m()) {
576
- var element = tmp0_iterator.p();
576
+ var element = tmp0_iterator.n();
577
577
  var tmp$ret$0;
578
578
  // Inline function 'it.unibo.tuprolog.solve.classic.ChoicePointContext.<get-hasOpenAlternatives>.<anonymous>' call
579
- tmp$ret$0 = element.w34().vq();
579
+ tmp$ret$0 = element.t34().sq();
580
580
  if (tmp$ret$0) {
581
581
  tmp$ret$1 = true;
582
582
  break $l$block;
@@ -586,33 +586,33 @@
586
586
  }
587
587
  return tmp$ret$1;
588
588
  };
589
- ChoicePointContext.prototype.k35 = function () {
589
+ ChoicePointContext.prototype.h35 = function () {
590
590
  return sequence(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this, null));
591
591
  };
592
- ChoicePointContext.prototype.l35 = function () {
593
- var tmp0_safe_receiver = this.x34();
594
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e34_1;
592
+ ChoicePointContext.prototype.i35 = function () {
593
+ var tmp0_safe_receiver = this.u34();
594
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b34_1;
595
595
  };
596
- ChoicePointContext.prototype.m35 = function () {
597
- var tmp0_safe_receiver = this.x34();
598
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l33_1;
596
+ ChoicePointContext.prototype.j35 = function () {
597
+ var tmp0_safe_receiver = this.u34();
598
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i33_1;
599
599
  };
600
600
  ChoicePointContext.prototype.toString = function () {
601
- var tmp = this.a35() + '(' + ('alternatives=' + this.w34() + ', ');
601
+ var tmp = this.x34() + '(' + ('alternatives=' + this.t34() + ', ');
602
602
  var tmp_0;
603
- if (this.x34() === null) {
604
- tmp_0 = 'executionContext=' + this.x34() + ', ';
603
+ if (this.u34() === null) {
604
+ tmp_0 = 'executionContext=' + this.u34() + ', ';
605
605
  } else {
606
- 'executionContextDepth=' + this.l35() + ', ';
607
- tmp_0 = 'executionContextProcedure=' + this.m35() + ', ';
606
+ 'executionContextDepth=' + this.i35() + ', ';
607
+ tmp_0 = 'executionContextProcedure=' + this.j35() + ', ';
608
608
  }
609
- return tmp + tmp_0 + ('depth=' + this.z34()) + ')';
609
+ return tmp + tmp_0 + ('depth=' + this.w34()) + ')';
610
610
  };
611
611
  function appendRules(_this__u8e3s4, alternatives, executionContext) {
612
612
  return new Rules(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
613
613
  }
614
614
  function nextDepth(_this__u8e3s4) {
615
- return _this__u8e3s4 == null ? 0 : _this__u8e3s4.z34() + 1 | 0;
615
+ return _this__u8e3s4 == null ? 0 : _this__u8e3s4.w34() + 1 | 0;
616
616
  }
617
617
  function appendPrimitives(_this__u8e3s4, alternatives, executionContext) {
618
618
  return new Primitives(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
@@ -621,7 +621,7 @@
621
621
  if (!(($mask0 & 1) === 0))
622
622
  procedure = null;
623
623
  if (!(($mask0 & 2) === 0))
624
- unificator = Companion_getInstance_3().h1l();
624
+ unificator = Companion_getInstance_3().e1l();
625
625
  if (!(($mask0 & 4) === 0))
626
626
  libraries = Companion_getInstance_4().empty();
627
627
  if (!(($mask0 & 8) === 0))
@@ -634,18 +634,18 @@
634
634
  operators = toOperatorSet(getAllOperators(libraries, [staticKb, dynamicKb]));
635
635
  if (!(($mask0 & 128) === 0)) {
636
636
  var tmp = Companion_getInstance();
637
- inputChannels = tmp.v1z(null, 1, null);
637
+ inputChannels = tmp.s1z(null, 1, null);
638
638
  }
639
639
  if (!(($mask0 & 256) === 0)) {
640
640
  var tmp_0 = Companion_getInstance_0();
641
- outputChannels = tmp_0.w1z(null, null, null, 7, null);
641
+ outputChannels = tmp_0.t1z(null, null, null, 7, null);
642
642
  }
643
643
  if (!(($mask0 & 512) === 0))
644
644
  customData = Companion_getInstance_6().empty();
645
645
  if (!(($mask0 & 1024) === 0))
646
646
  substitution = Companion_getInstance_7().empty();
647
647
  if (!(($mask0 & 2048) === 0))
648
- query = Companion_getInstance_8().wv_1;
648
+ query = Companion_getInstance_8().tv_1;
649
649
  if (!(($mask0 & 4096) === 0))
650
650
  goals = Companion_getInstance_9().empty();
651
651
  if (!(($mask0 & 8192) === 0))
@@ -673,83 +673,83 @@
673
673
  return ClassicExecutionContext_init_$Init$(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $mask0, $marker, Object.create(ClassicExecutionContext.prototype));
674
674
  }
675
675
  function _get_locallyInterestingVariables__39cqti($this) {
676
- var tmp = asSequence_0($this.g34_1);
677
- var tmp0_safe_receiver = $this.x33_1.uq();
678
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.hw();
676
+ var tmp = asSequence_0($this.d34_1);
677
+ var tmp0_safe_receiver = $this.u33_1.rq();
678
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ew();
679
679
  return plus(tmp, tmp1_elvis_lhs == null ? emptySequence() : tmp1_elvis_lhs);
680
680
  }
681
681
  function _get_interestingVariables__k6uw5o($this) {
682
682
  var tmp$ret$0;
683
683
  // Inline function 'kotlin.getValue' call
684
684
  var tmp0_getValue = interestingVariables$factory();
685
- tmp$ret$0 = $this.j34_1.b1();
685
+ tmp$ret$0 = $this.g34_1.b1();
686
686
  return tmp$ret$0;
687
687
  }
688
688
  function ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation) {
689
- this.s36_1 = this$0;
689
+ this.p36_1 = this$0;
690
690
  CoroutineImpl.call(this, resultContinuation);
691
691
  }
692
- ClassicExecutionContext$pathToRoot$slambda.prototype.v36 = function ($this$sequence, $cont) {
693
- var tmp = this.w36($this$sequence, $cont);
694
- tmp.ei_1 = Unit_getInstance();
695
- tmp.fi_1 = null;
696
- return tmp.ki();
692
+ ClassicExecutionContext$pathToRoot$slambda.prototype.s36 = function ($this$sequence, $cont) {
693
+ var tmp = this.t36($this$sequence, $cont);
694
+ tmp.bi_1 = Unit_getInstance();
695
+ tmp.ci_1 = null;
696
+ return tmp.hi();
697
697
  };
698
- ClassicExecutionContext$pathToRoot$slambda.prototype.wi = function (p1, $cont) {
699
- return this.v36(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
698
+ ClassicExecutionContext$pathToRoot$slambda.prototype.ti = function (p1, $cont) {
699
+ return this.s36(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
700
700
  };
701
- ClassicExecutionContext$pathToRoot$slambda.prototype.ki = function () {
702
- var suspendResult = this.ei_1;
701
+ ClassicExecutionContext$pathToRoot$slambda.prototype.hi = function () {
702
+ var suspendResult = this.bi_1;
703
703
  $sm: do
704
704
  try {
705
- var tmp = this.ci_1;
705
+ var tmp = this.zh_1;
706
706
  switch (tmp) {
707
707
  case 0:
708
- this.di_1 = 4;
709
- this.u36_1 = this.s36_1;
710
- this.ci_1 = 1;
708
+ this.ai_1 = 4;
709
+ this.r36_1 = this.p36_1;
710
+ this.zh_1 = 1;
711
711
  continue $sm;
712
712
  case 1:
713
- if (!!(this.u36_1 == null)) {
714
- this.ci_1 = 3;
713
+ if (!!(this.r36_1 == null)) {
714
+ this.zh_1 = 3;
715
715
  continue $sm;
716
716
  }
717
717
 
718
- this.ci_1 = 2;
719
- suspendResult = this.t36_1.z4(this.u36_1, this);
718
+ this.zh_1 = 2;
719
+ suspendResult = this.q36_1.z4(this.r36_1, this);
720
720
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
721
721
  return suspendResult;
722
722
  }
723
723
 
724
724
  continue $sm;
725
725
  case 2:
726
- this.u36_1 = this.u36_1.d34_1;
727
- this.ci_1 = 1;
726
+ this.r36_1 = this.r36_1.a34_1;
727
+ this.zh_1 = 1;
728
728
  continue $sm;
729
729
  case 3:
730
730
  return Unit_getInstance();
731
731
  case 4:
732
- throw this.fi_1;
732
+ throw this.ci_1;
733
733
  }
734
734
  } catch ($p) {
735
- if (this.di_1 === 4) {
735
+ if (this.ai_1 === 4) {
736
736
  throw $p;
737
737
  } else {
738
- this.ci_1 = this.di_1;
739
- this.fi_1 = $p;
738
+ this.zh_1 = this.ai_1;
739
+ this.ci_1 = $p;
740
740
  }
741
741
  }
742
742
  while (true);
743
743
  };
744
- ClassicExecutionContext$pathToRoot$slambda.prototype.w36 = function ($this$sequence, completion) {
745
- var i = new ClassicExecutionContext$pathToRoot$slambda(this.s36_1, completion);
746
- i.t36_1 = $this$sequence;
744
+ ClassicExecutionContext$pathToRoot$slambda.prototype.t36 = function ($this$sequence, completion) {
745
+ var i = new ClassicExecutionContext$pathToRoot$slambda(this.p36_1, completion);
746
+ i.q36_1 = $this$sequence;
747
747
  return i;
748
748
  };
749
749
  function ClassicExecutionContext$pathToRoot$slambda_0(this$0, resultContinuation) {
750
750
  var i = new ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation);
751
751
  var l = function ($this$sequence, $cont) {
752
- return i.v36($this$sequence, $cont);
752
+ return i.s36($this$sequence, $cont);
753
753
  };
754
754
  l.$arity = 1;
755
755
  return l;
@@ -757,11 +757,11 @@
757
757
  function ClassicExecutionContext$currentGoal$delegate$lambda(this$0) {
758
758
  return function () {
759
759
  var tmp;
760
- if (this$0.x33_1.wq()) {
760
+ if (this$0.u33_1.tq()) {
761
761
  tmp = null;
762
762
  } else {
763
- var tmp0_safe_receiver = this$0.x33_1.uq();
764
- tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.v33_1);
763
+ var tmp0_safe_receiver = this$0.u33_1.rq();
764
+ tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.s33_1);
765
765
  }
766
766
  return tmp;
767
767
  };
@@ -771,50 +771,50 @@
771
771
  }
772
772
  function ClassicExecutionContext$interestingVariables$delegate$lambda(this$0) {
773
773
  return function () {
774
- var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.w33_1.hw());
775
- return cached(distinct(plus(tmp, flatMap(this$0.h34_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
774
+ var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.t33_1.ew());
775
+ return cached(distinct(plus(tmp, flatMap(this$0.e34_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
776
776
  };
777
777
  }
778
778
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
779
- return it.x36();
779
+ return it.u36();
780
780
  }
781
781
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0) {
782
782
  return function (it) {
783
- var tmp0_elvis_lhs = it.l33_1;
784
- return tmp0_elvis_lhs == null ? Companion_getInstance_11().of('?-', [this$0.w33_1]) : tmp0_elvis_lhs;
783
+ var tmp0_elvis_lhs = it.i33_1;
784
+ return tmp0_elvis_lhs == null ? Companion_getInstance_11().of('?-', [this$0.t33_1]) : tmp0_elvis_lhs;
785
785
  };
786
786
  }
787
787
  function ClassicExecutionContext$logicStackTrace$delegate$lambda(this$0) {
788
788
  return function () {
789
- var tmp = filter(this$0.h34_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
789
+ var tmp = filter(this$0.e34_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
790
790
  return toList(map(tmp, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0)));
791
791
  };
792
792
  }
793
793
  function ClassicExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
794
- this.l33_1 = procedure;
795
- this.m33_1 = unificator;
796
- this.n33_1 = libraries;
797
- this.o33_1 = flags;
798
- this.p33_1 = staticKb;
799
- this.q33_1 = dynamicKb;
800
- this.r33_1 = operators;
801
- this.s33_1 = inputChannels;
802
- this.t33_1 = outputChannels;
803
- this.u33_1 = customData;
804
- this.v33_1 = substitution;
805
- this.w33_1 = query;
806
- this.x33_1 = goals;
807
- this.y33_1 = rules;
808
- this.z33_1 = primitives;
809
- this.a34_1 = startTime;
810
- this.b34_1 = maxDuration;
811
- this.c34_1 = choicePoints;
812
- this.d34_1 = parent;
813
- this.e34_1 = depth;
814
- this.f34_1 = step;
815
- this.g34_1 = relevantVariables;
794
+ this.i33_1 = procedure;
795
+ this.j33_1 = unificator;
796
+ this.k33_1 = libraries;
797
+ this.l33_1 = flags;
798
+ this.m33_1 = staticKb;
799
+ this.n33_1 = dynamicKb;
800
+ this.o33_1 = operators;
801
+ this.p33_1 = inputChannels;
802
+ this.q33_1 = outputChannels;
803
+ this.r33_1 = customData;
804
+ this.s33_1 = substitution;
805
+ this.t33_1 = query;
806
+ this.u33_1 = goals;
807
+ this.v33_1 = rules;
808
+ this.w33_1 = primitives;
809
+ this.x33_1 = startTime;
810
+ this.y33_1 = maxDuration;
811
+ this.z33_1 = choicePoints;
812
+ this.a34_1 = parent;
813
+ this.b34_1 = depth;
814
+ this.c34_1 = step;
815
+ this.d34_1 = relevantVariables;
816
816
  // Inline function 'kotlin.require' call
817
- var tmp0_require = (this.e34_1 === 0 ? this.d34_1 == null : false) ? true : this.e34_1 > 0 ? !(this.d34_1 == null) : false;
817
+ var tmp0_require = (this.b34_1 === 0 ? this.a34_1 == null : false) ? true : this.b34_1 > 0 ? !(this.a34_1 == null) : false;
818
818
  // Inline function 'kotlin.contracts.contract' call
819
819
  // Inline function 'kotlin.require' call
820
820
  // Inline function 'kotlin.contracts.contract' call
@@ -826,7 +826,7 @@
826
826
  throw IllegalArgumentException_init_$Create$(toString(message));
827
827
  }
828
828
  // Inline function 'kotlin.require' call
829
- var tmp1_require = this.a34_1.jd(new Long(0, 0)) >= 0;
829
+ var tmp1_require = this.x33_1.jd(new Long(0, 0)) >= 0;
830
830
  // Inline function 'kotlin.contracts.contract' call
831
831
  // Inline function 'kotlin.require' call
832
832
  // Inline function 'kotlin.contracts.contract' call
@@ -838,7 +838,7 @@
838
838
  throw IllegalArgumentException_init_$Create$(toString(message_0));
839
839
  }
840
840
  // Inline function 'kotlin.require' call
841
- var tmp2_require = this.b34_1.jd(new Long(0, 0)) >= 0;
841
+ var tmp2_require = this.y33_1.jd(new Long(0, 0)) >= 0;
842
842
  // Inline function 'kotlin.contracts.contract' call
843
843
  // Inline function 'kotlin.require' call
844
844
  // Inline function 'kotlin.contracts.contract' call
@@ -850,170 +850,173 @@
850
850
  throw IllegalArgumentException_init_$Create$(toString(message_1));
851
851
  }
852
852
  var tmp = this;
853
- tmp.h34_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
853
+ tmp.e34_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
854
854
  var tmp_0 = this;
855
- tmp_0.i34_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
855
+ tmp_0.f34_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
856
856
  var tmp_1 = this;
857
- tmp_1.j34_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
857
+ tmp_1.g34_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
858
858
  var tmp_2 = this;
859
- tmp_2.k34_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
859
+ tmp_2.h34_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
860
860
  }
861
- ClassicExecutionContext.prototype.q1u = function () {
861
+ ClassicExecutionContext.prototype.n1u = function () {
862
+ return this.i33_1;
863
+ };
864
+ ClassicExecutionContext.prototype.h1l = function () {
865
+ return this.j33_1;
866
+ };
867
+ ClassicExecutionContext.prototype.t1u = function () {
868
+ return this.k33_1;
869
+ };
870
+ ClassicExecutionContext.prototype.u1u = function () {
862
871
  return this.l33_1;
863
872
  };
864
- ClassicExecutionContext.prototype.k1l = function () {
873
+ ClassicExecutionContext.prototype.v1u = function () {
865
874
  return this.m33_1;
866
875
  };
867
876
  ClassicExecutionContext.prototype.w1u = function () {
868
877
  return this.n33_1;
869
878
  };
870
- ClassicExecutionContext.prototype.x1u = function () {
879
+ ClassicExecutionContext.prototype.e1v = function () {
871
880
  return this.o33_1;
872
881
  };
873
- ClassicExecutionContext.prototype.y1u = function () {
882
+ ClassicExecutionContext.prototype.x1u = function () {
874
883
  return this.p33_1;
875
884
  };
876
- ClassicExecutionContext.prototype.z1u = function () {
885
+ ClassicExecutionContext.prototype.y1u = function () {
877
886
  return this.q33_1;
878
887
  };
879
- ClassicExecutionContext.prototype.h1v = function () {
888
+ ClassicExecutionContext.prototype.q1u = function () {
880
889
  return this.r33_1;
881
890
  };
882
- ClassicExecutionContext.prototype.a1v = function () {
891
+ ClassicExecutionContext.prototype.o1u = function () {
883
892
  return this.s33_1;
884
893
  };
885
- ClassicExecutionContext.prototype.b1v = function () {
886
- return this.t33_1;
887
- };
888
- ClassicExecutionContext.prototype.t1u = function () {
889
- return this.u33_1;
890
- };
891
- ClassicExecutionContext.prototype.r1u = function () {
892
- return this.v33_1;
893
- };
894
- ClassicExecutionContext.prototype.l1u = function () {
895
- return this.a34_1;
894
+ ClassicExecutionContext.prototype.i1u = function () {
895
+ return this.x33_1;
896
896
  };
897
- ClassicExecutionContext.prototype.n1u = function () {
898
- return this.b34_1;
897
+ ClassicExecutionContext.prototype.k1u = function () {
898
+ return this.y33_1;
899
899
  };
900
- ClassicExecutionContext.prototype.y36 = function () {
901
- return this.e34_1 === 0;
900
+ ClassicExecutionContext.prototype.v36 = function () {
901
+ return this.b34_1 === 0;
902
902
  };
903
- ClassicExecutionContext.prototype.j35 = function () {
904
- var tmp0_safe_receiver = this.c34_1;
905
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j35();
903
+ ClassicExecutionContext.prototype.g35 = function () {
904
+ var tmp0_safe_receiver = this.z33_1;
905
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g35();
906
906
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
907
907
  };
908
- ClassicExecutionContext.prototype.x36 = function () {
909
- return this.d34_1 == null ? true : (this.e34_1 - this.d34_1.e34_1 | 0) >= 1;
908
+ ClassicExecutionContext.prototype.u36 = function () {
909
+ return this.a34_1 == null ? true : (this.b34_1 - this.a34_1.b34_1 | 0) >= 1;
910
910
  };
911
- ClassicExecutionContext.prototype.z36 = function () {
911
+ ClassicExecutionContext.prototype.w36 = function () {
912
912
  var tmp$ret$0;
913
913
  // Inline function 'kotlin.getValue' call
914
914
  var tmp0_getValue = currentGoal$factory();
915
- tmp$ret$0 = this.i34_1.b1();
915
+ tmp$ret$0 = this.f34_1.b1();
916
916
  return tmp$ret$0;
917
917
  };
918
- ClassicExecutionContext.prototype.a37 = function (variable) {
918
+ ClassicExecutionContext.prototype.x36 = function (variable) {
919
919
  return contains(_get_interestingVariables__k6uw5o(this), variable);
920
920
  };
921
- ClassicExecutionContext.prototype.s1u = function () {
921
+ ClassicExecutionContext.prototype.p1u = function () {
922
922
  var tmp$ret$0;
923
923
  // Inline function 'kotlin.getValue' call
924
924
  var tmp0_getValue = logicStackTrace$factory();
925
- tmp$ret$0 = this.k34_1.b1();
925
+ tmp$ret$0 = this.h34_1.b1();
926
926
  return tmp$ret$0;
927
927
  };
928
- ClassicExecutionContext.prototype.u1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
928
+ ClassicExecutionContext.prototype.r1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
929
929
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
930
930
  };
931
- ClassicExecutionContext.prototype.c1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
931
+ ClassicExecutionContext.prototype.z1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
932
932
  return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
933
933
  };
934
- ClassicExecutionContext.prototype.f1v = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
934
+ ClassicExecutionContext.prototype.c1v = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
935
935
  var tmp = dynamicKb.toMutableTheory();
936
936
  var tmp_0 = new Long(0, 0);
937
937
  var tmp_1 = new Long(0, 0);
938
938
  var tmp_2 = new Long(0, 0);
939
- return this.c35(null, unificator, libraries, flags, staticKb, tmp, operators, inputChannels, outputChannels, customData, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4193281, null);
939
+ return this.z34(null, unificator, libraries, flags, staticKb, tmp, operators, inputChannels, outputChannels, customData, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4193281, null);
940
940
  };
941
- ClassicExecutionContext.prototype.b37 = function (sideEffect) {
941
+ ClassicExecutionContext.prototype.y36 = function (sideEffect) {
942
942
  var tmp = apply.call(this, sideEffect);
943
943
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
944
944
  };
945
945
  ClassicExecutionContext.prototype.apply = function (sideEffect) {
946
- return this.b37(sideEffect);
946
+ return this.y36(sideEffect);
947
947
  };
948
- ClassicExecutionContext.prototype.c37 = function (sideEffects) {
948
+ ClassicExecutionContext.prototype.z36 = function (sideEffects) {
949
949
  var tmp = applyIterable.call(this, sideEffects);
950
950
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
951
951
  };
952
952
  ClassicExecutionContext.prototype.applyIterable = function (sideEffects) {
953
- return this.c37(sideEffects);
953
+ return this.z36(sideEffects);
954
954
  };
955
- ClassicExecutionContext.prototype.d37 = function (sideEffects) {
955
+ ClassicExecutionContext.prototype.a37 = function (sideEffects) {
956
956
  var tmp = applySequence.call(this, sideEffects);
957
957
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
958
958
  };
959
959
  ClassicExecutionContext.prototype.applySequence = function (sideEffects) {
960
- return this.d37(sideEffects);
960
+ return this.a37(sideEffects);
961
961
  };
962
962
  ClassicExecutionContext.prototype.toString = function () {
963
- return 'ClassicExecutionContext(' + ('step=' + toString(this.f34_1) + ', ') + ('depth=' + this.e34_1 + ', ') + ('substitution=' + this.v33_1 + ', ') + ('logicStackTrace=' + this.s1u() + ', ') + ('goals=' + this.x33_1 + ', ') + ('rules=' + this.y33_1 + ', ') + ('primitives=' + this.z33_1 + ', ') + ('startTime=' + toString(this.a34_1) + ', ') + ('endTime=' + toString(this.m1u()) + ', ') + ('maxDuration=' + toString(this.b34_1) + ', ') + ('unificator=' + this.m33_1 + ', ') + ('choicePoints=' + this.c34_1) + ')';
963
+ return 'ClassicExecutionContext(' + ('step=' + toString(this.c34_1) + ', ') + ('depth=' + this.b34_1 + ', ') + ('substitution=' + this.s33_1 + ', ') + ('logicStackTrace=' + this.p1u() + ', ') + ('goals=' + this.u33_1 + ', ') + ('rules=' + this.v33_1 + ', ') + ('primitives=' + this.w33_1 + ', ') + ('startTime=' + toString(this.x33_1) + ', ') + ('endTime=' + toString(this.j1u()) + ', ') + ('maxDuration=' + toString(this.y33_1) + ', ') + ('unificator=' + this.j33_1 + ', ') + ('choicePoints=' + this.z33_1) + ')';
964
964
  };
965
- ClassicExecutionContext.prototype.e37 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
965
+ ClassicExecutionContext.prototype.b37 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
966
966
  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);
967
967
  };
968
- ClassicExecutionContext.prototype.c35 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $mask0, $handler) {
968
+ ClassicExecutionContext.prototype.z34 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $mask0, $handler) {
969
969
  if (!(($mask0 & 1) === 0))
970
- procedure = this.l33_1;
970
+ procedure = this.i33_1;
971
971
  if (!(($mask0 & 2) === 0))
972
- unificator = this.m33_1;
972
+ unificator = this.j33_1;
973
973
  if (!(($mask0 & 4) === 0))
974
- libraries = this.n33_1;
974
+ libraries = this.k33_1;
975
975
  if (!(($mask0 & 8) === 0))
976
- flags = this.o33_1;
976
+ flags = this.l33_1;
977
977
  if (!(($mask0 & 16) === 0))
978
- staticKb = this.p33_1;
978
+ staticKb = this.m33_1;
979
979
  if (!(($mask0 & 32) === 0))
980
- dynamicKb = this.q33_1;
980
+ dynamicKb = this.n33_1;
981
981
  if (!(($mask0 & 64) === 0))
982
- operators = this.r33_1;
982
+ operators = this.o33_1;
983
983
  if (!(($mask0 & 128) === 0))
984
- inputChannels = this.s33_1;
984
+ inputChannels = this.p33_1;
985
985
  if (!(($mask0 & 256) === 0))
986
- outputChannels = this.t33_1;
986
+ outputChannels = this.q33_1;
987
987
  if (!(($mask0 & 512) === 0))
988
- customData = this.u33_1;
988
+ customData = this.r33_1;
989
989
  if (!(($mask0 & 1024) === 0))
990
- substitution = this.v33_1;
990
+ substitution = this.s33_1;
991
991
  if (!(($mask0 & 2048) === 0))
992
- query = this.w33_1;
992
+ query = this.t33_1;
993
993
  if (!(($mask0 & 4096) === 0))
994
- goals = this.x33_1;
994
+ goals = this.u33_1;
995
995
  if (!(($mask0 & 8192) === 0))
996
- rules = this.y33_1;
996
+ rules = this.v33_1;
997
997
  if (!(($mask0 & 16384) === 0))
998
- primitives = this.z33_1;
998
+ primitives = this.w33_1;
999
999
  if (!(($mask0 & 32768) === 0))
1000
- startTime = this.a34_1;
1000
+ startTime = this.x33_1;
1001
1001
  if (!(($mask0 & 65536) === 0))
1002
- maxDuration = this.b34_1;
1002
+ maxDuration = this.y33_1;
1003
1003
  if (!(($mask0 & 131072) === 0))
1004
- choicePoints = this.c34_1;
1004
+ choicePoints = this.z33_1;
1005
1005
  if (!(($mask0 & 262144) === 0))
1006
- parent = this.d34_1;
1006
+ parent = this.a34_1;
1007
1007
  if (!(($mask0 & 524288) === 0))
1008
- depth = this.e34_1;
1008
+ depth = this.b34_1;
1009
1009
  if (!(($mask0 & 1048576) === 0))
1010
- step = this.f34_1;
1010
+ step = this.c34_1;
1011
1011
  if (!(($mask0 & 2097152) === 0))
1012
- relevantVariables = this.g34_1;
1013
- return this.e37(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
1012
+ relevantVariables = this.d34_1;
1013
+ return this.b37(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
1014
1014
  };
1015
1015
  ClassicExecutionContext.prototype.hashCode = function () {
1016
- var result = this.l33_1 == null ? 0 : this.l33_1.hashCode();
1016
+ var result = this.i33_1 == null ? 0 : this.i33_1.hashCode();
1017
+ result = imul(result, 31) + hashCode(this.j33_1) | 0;
1018
+ result = imul(result, 31) + hashCode(this.k33_1) | 0;
1019
+ result = imul(result, 31) + this.l33_1.hashCode() | 0;
1017
1020
  result = imul(result, 31) + hashCode(this.m33_1) | 0;
1018
1021
  result = imul(result, 31) + hashCode(this.n33_1) | 0;
1019
1022
  result = imul(result, 31) + this.o33_1.hashCode() | 0;
@@ -1021,20 +1024,17 @@
1021
1024
  result = imul(result, 31) + hashCode(this.q33_1) | 0;
1022
1025
  result = imul(result, 31) + this.r33_1.hashCode() | 0;
1023
1026
  result = imul(result, 31) + hashCode(this.s33_1) | 0;
1024
- result = imul(result, 31) + hashCode(this.t33_1) | 0;
1025
- result = imul(result, 31) + this.u33_1.hashCode() | 0;
1027
+ result = imul(result, 31) + this.t33_1.hashCode() | 0;
1028
+ result = imul(result, 31) + hashCode(this.u33_1) | 0;
1026
1029
  result = imul(result, 31) + hashCode(this.v33_1) | 0;
1027
- result = imul(result, 31) + this.w33_1.hashCode() | 0;
1028
- result = imul(result, 31) + hashCode(this.x33_1) | 0;
1029
- result = imul(result, 31) + hashCode(this.y33_1) | 0;
1030
- result = imul(result, 31) + hashCode(this.z33_1) | 0;
1031
- result = imul(result, 31) + this.a34_1.hashCode() | 0;
1032
- result = imul(result, 31) + this.b34_1.hashCode() | 0;
1033
- result = imul(result, 31) + (this.c34_1 == null ? 0 : hashCode(this.c34_1)) | 0;
1034
- result = imul(result, 31) + (this.d34_1 == null ? 0 : this.d34_1.hashCode()) | 0;
1035
- result = imul(result, 31) + this.e34_1 | 0;
1036
- result = imul(result, 31) + this.f34_1.hashCode() | 0;
1037
- result = imul(result, 31) + hashCode(this.g34_1) | 0;
1030
+ result = imul(result, 31) + hashCode(this.w33_1) | 0;
1031
+ result = imul(result, 31) + this.x33_1.hashCode() | 0;
1032
+ result = imul(result, 31) + this.y33_1.hashCode() | 0;
1033
+ result = imul(result, 31) + (this.z33_1 == null ? 0 : hashCode(this.z33_1)) | 0;
1034
+ result = imul(result, 31) + (this.a34_1 == null ? 0 : this.a34_1.hashCode()) | 0;
1035
+ result = imul(result, 31) + this.b34_1 | 0;
1036
+ result = imul(result, 31) + this.c34_1.hashCode() | 0;
1037
+ result = imul(result, 31) + hashCode(this.d34_1) | 0;
1038
1038
  return result;
1039
1039
  };
1040
1040
  ClassicExecutionContext.prototype.equals = function (other) {
@@ -1043,7 +1043,13 @@
1043
1043
  if (!(other instanceof ClassicExecutionContext))
1044
1044
  return false;
1045
1045
  var tmp0_other_with_cast = other instanceof ClassicExecutionContext ? other : THROW_CCE();
1046
- if (!equals(this.l33_1, tmp0_other_with_cast.l33_1))
1046
+ if (!equals(this.i33_1, tmp0_other_with_cast.i33_1))
1047
+ return false;
1048
+ if (!equals(this.j33_1, tmp0_other_with_cast.j33_1))
1049
+ return false;
1050
+ if (!equals(this.k33_1, tmp0_other_with_cast.k33_1))
1051
+ return false;
1052
+ if (!this.l33_1.equals(tmp0_other_with_cast.l33_1))
1047
1053
  return false;
1048
1054
  if (!equals(this.m33_1, tmp0_other_with_cast.m33_1))
1049
1055
  return false;
@@ -1059,39 +1065,33 @@
1059
1065
  return false;
1060
1066
  if (!equals(this.s33_1, tmp0_other_with_cast.s33_1))
1061
1067
  return false;
1062
- if (!equals(this.t33_1, tmp0_other_with_cast.t33_1))
1068
+ if (!this.t33_1.equals(tmp0_other_with_cast.t33_1))
1063
1069
  return false;
1064
- if (!this.u33_1.equals(tmp0_other_with_cast.u33_1))
1070
+ if (!equals(this.u33_1, tmp0_other_with_cast.u33_1))
1065
1071
  return false;
1066
1072
  if (!equals(this.v33_1, tmp0_other_with_cast.v33_1))
1067
1073
  return false;
1068
- if (!this.w33_1.equals(tmp0_other_with_cast.w33_1))
1074
+ if (!equals(this.w33_1, tmp0_other_with_cast.w33_1))
1069
1075
  return false;
1070
- if (!equals(this.x33_1, tmp0_other_with_cast.x33_1))
1076
+ if (!this.x33_1.equals(tmp0_other_with_cast.x33_1))
1071
1077
  return false;
1072
- if (!equals(this.y33_1, tmp0_other_with_cast.y33_1))
1078
+ if (!this.y33_1.equals(tmp0_other_with_cast.y33_1))
1073
1079
  return false;
1074
1080
  if (!equals(this.z33_1, tmp0_other_with_cast.z33_1))
1075
1081
  return false;
1076
- if (!this.a34_1.equals(tmp0_other_with_cast.a34_1))
1082
+ if (!equals(this.a34_1, tmp0_other_with_cast.a34_1))
1077
1083
  return false;
1078
- if (!this.b34_1.equals(tmp0_other_with_cast.b34_1))
1084
+ if (!(this.b34_1 === tmp0_other_with_cast.b34_1))
1079
1085
  return false;
1080
- if (!equals(this.c34_1, tmp0_other_with_cast.c34_1))
1086
+ if (!this.c34_1.equals(tmp0_other_with_cast.c34_1))
1081
1087
  return false;
1082
1088
  if (!equals(this.d34_1, tmp0_other_with_cast.d34_1))
1083
1089
  return false;
1084
- if (!(this.e34_1 === tmp0_other_with_cast.e34_1))
1085
- return false;
1086
- if (!this.f34_1.equals(tmp0_other_with_cast.f34_1))
1087
- return false;
1088
- if (!equals(this.g34_1, tmp0_other_with_cast.g34_1))
1089
- return false;
1090
1090
  return true;
1091
1091
  };
1092
1092
  function currentGoal$factory() {
1093
1093
  return getPropertyCallableRef('currentGoal', 1, KProperty1, function (receiver) {
1094
- return receiver.z36();
1094
+ return receiver.w36();
1095
1095
  }, null);
1096
1096
  }
1097
1097
  function interestingVariables$factory() {
@@ -1101,7 +1101,7 @@
1101
1101
  }
1102
1102
  function logicStackTrace$factory() {
1103
1103
  return getPropertyCallableRef('logicStackTrace', 1, KProperty1, function (receiver) {
1104
- return receiver.s1u();
1104
+ return receiver.p1u();
1105
1105
  }, null);
1106
1106
  }
1107
1107
  function ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, $this) {
@@ -1114,7 +1114,7 @@
1114
1114
  }
1115
1115
  function ClassicSolver_init_$Init$_0(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, $mask0, $marker, $this) {
1116
1116
  if (!(($mask0 & 1) === 0))
1117
- unificator = Companion_getInstance_3().h1l();
1117
+ unificator = Companion_getInstance_3().e1l();
1118
1118
  if (!(($mask0 & 2) === 0))
1119
1119
  libraries = Companion_getInstance_4().empty();
1120
1120
  if (!(($mask0 & 4) === 0))
@@ -1125,11 +1125,11 @@
1125
1125
  initialDynamicKb = Companion_getInstance_2().empty(unificator);
1126
1126
  if (!(($mask0 & 32) === 0)) {
1127
1127
  var tmp = Companion_getInstance();
1128
- inputChannels = tmp.v1z(null, 1, null);
1128
+ inputChannels = tmp.s1z(null, 1, null);
1129
1129
  }
1130
1130
  if (!(($mask0 & 64) === 0)) {
1131
1131
  var tmp_0 = Companion_getInstance_0();
1132
- outputChannels = tmp_0.w1z(null, null, null, 7, null);
1132
+ outputChannels = tmp_0.t1z(null, null, null, 7, null);
1133
1133
  }
1134
1134
  if (!(($mask0 & 128) === 0))
1135
1135
  trustKb = false;
@@ -1146,7 +1146,7 @@
1146
1146
  }
1147
1147
  function ClassicSolver_init_$Init$_2(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $mask0, $marker, $this) {
1148
1148
  if (!(($mask0 & 1) === 0))
1149
- unificator = Companion_getInstance_3().h1l();
1149
+ unificator = Companion_getInstance_3().e1l();
1150
1150
  if (!(($mask0 & 2) === 0))
1151
1151
  libraries = Companion_getInstance_4().empty();
1152
1152
  if (!(($mask0 & 4) === 0))
@@ -1171,36 +1171,36 @@
1171
1171
  function ClassicSolver_init_$Create$_1(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $mask0, $marker) {
1172
1172
  return ClassicSolver_init_$Init$_2(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $mask0, $marker, Object.create(ClassicSolver.prototype));
1173
1173
  }
1174
- ClassicSolver.prototype.n34 = function (initialState, onStateTransition) {
1175
- return Companion_getInstance_22().g37(initialState, onStateTransition);
1174
+ ClassicSolver.prototype.k34 = function (initialState, onStateTransition) {
1175
+ return Companion_getInstance_22().d37(initialState, onStateTransition);
1176
1176
  };
1177
- ClassicSolver.prototype.p1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1177
+ ClassicSolver.prototype.m1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1178
1178
  return ClassicSolver_init_$Create$_1(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, false, 512, null);
1179
1179
  };
1180
- ClassicSolver.prototype.z1s = function () {
1181
- return this.x1x(null, null, null, null, null, null, null, null, null, 511, null);
1180
+ ClassicSolver.prototype.w1s = function () {
1181
+ return this.u1x(null, null, null, null, null, null, null, null, null, 511, null);
1182
1182
  };
1183
1183
  ClassicSolver.prototype.clone = function () {
1184
- return this.z1s();
1184
+ return this.w1s();
1185
1185
  };
1186
1186
  function ClassicSolver() {
1187
1187
  }
1188
1188
  function ClassicSolverFactory() {
1189
1189
  ClassicSolverFactory_instance = this;
1190
1190
  }
1191
- ClassicSolverFactory.prototype.d1y = function () {
1191
+ ClassicSolverFactory.prototype.a1y = function () {
1192
1192
  return DefaultBuiltins_getInstance();
1193
1193
  };
1194
- ClassicSolverFactory.prototype.t1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1194
+ ClassicSolverFactory.prototype.q1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1195
1195
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, false, 128, null);
1196
1196
  };
1197
- ClassicSolverFactory.prototype.v1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1197
+ ClassicSolverFactory.prototype.s1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1198
1198
  return ClassicSolver_init_$Create$_1(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, false, 512, null);
1199
1199
  };
1200
- ClassicSolverFactory.prototype.z1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1200
+ ClassicSolverFactory.prototype.w1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1201
1201
  return MutableClassicSolver_init_$Create$_1(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, false, 512, null);
1202
1202
  };
1203
- ClassicSolverFactory.prototype.d1z = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1203
+ ClassicSolverFactory.prototype.a1z = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1204
1204
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, false, 128, null);
1205
1205
  };
1206
1206
  var ClassicSolverFactory_instance;
@@ -1219,7 +1219,7 @@
1219
1219
  }
1220
1220
  function MutableClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, $mask0, $marker, $this) {
1221
1221
  if (!(($mask0 & 1) === 0))
1222
- unificator = Companion_getInstance_3().h1l();
1222
+ unificator = Companion_getInstance_3().e1l();
1223
1223
  if (!(($mask0 & 2) === 0))
1224
1224
  libraries = Companion_getInstance_4().empty();
1225
1225
  if (!(($mask0 & 4) === 0))
@@ -1230,11 +1230,11 @@
1230
1230
  dynamicKb = Companion_getInstance_2().empty(unificator);
1231
1231
  if (!(($mask0 & 32) === 0)) {
1232
1232
  var tmp = Companion_getInstance();
1233
- inputChannels = tmp.v1z(null, 1, null);
1233
+ inputChannels = tmp.s1z(null, 1, null);
1234
1234
  }
1235
1235
  if (!(($mask0 & 64) === 0)) {
1236
1236
  var tmp_0 = Companion_getInstance_0();
1237
- outputChannels = tmp_0.w1z(null, null, null, 7, null);
1237
+ outputChannels = tmp_0.t1z(null, null, null, 7, null);
1238
1238
  }
1239
1239
  if (!(($mask0 & 128) === 0))
1240
1240
  trustKb = false;
@@ -1251,7 +1251,7 @@
1251
1251
  }
1252
1252
  function MutableClassicSolver_init_$Init$_2(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $mask0, $marker, $this) {
1253
1253
  if (!(($mask0 & 1) === 0))
1254
- unificator = Companion_getInstance_3().h1l();
1254
+ unificator = Companion_getInstance_3().e1l();
1255
1255
  if (!(($mask0 & 2) === 0))
1256
1256
  libraries = Companion_getInstance_4().empty();
1257
1257
  if (!(($mask0 & 4) === 0))
@@ -1278,351 +1278,351 @@
1278
1278
  }
1279
1279
  function MutableClassicSolver$loadLibrary$lambda($library) {
1280
1280
  return function ($this$updateContext) {
1281
- var newRuntime = $this$updateContext.n33_1.plusLibrary($library);
1282
- var tmp = $this$updateContext.r33_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, [])));
1281
+ var newRuntime = $this$updateContext.k33_1.plusLibrary($library);
1282
+ var tmp = $this$updateContext.o33_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, [])));
1283
1283
  var tmp_0 = new Long(0, 0);
1284
1284
  var tmp_1 = new Long(0, 0);
1285
1285
  var tmp_2 = new Long(0, 0);
1286
- return $this$updateContext.c35(null, null, newRuntime, null, null, null, tmp, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194235, null);
1286
+ return $this$updateContext.z34(null, null, newRuntime, null, null, null, tmp, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194235, null);
1287
1287
  };
1288
1288
  }
1289
1289
  function MutableClassicSolver$unloadLibrary$lambda($library) {
1290
1290
  return function ($this$updateContext) {
1291
- var newRuntime = $this$updateContext.n33_1.plusLibrary($library);
1292
- var tmp = toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.p33_1, $this$updateContext.q33_1]));
1291
+ var newRuntime = $this$updateContext.k33_1.plusLibrary($library);
1292
+ var tmp = toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.m33_1, $this$updateContext.n33_1]));
1293
1293
  var tmp_0 = new Long(0, 0);
1294
1294
  var tmp_1 = new Long(0, 0);
1295
1295
  var tmp_2 = new Long(0, 0);
1296
- return $this$updateContext.c35(null, null, newRuntime, null, null, null, tmp, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194235, null);
1296
+ return $this$updateContext.z34(null, null, newRuntime, null, null, null, tmp, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194235, null);
1297
1297
  };
1298
1298
  }
1299
1299
  function MutableClassicSolver$setRuntime$lambda($libraries) {
1300
1300
  return function ($this$updateContext) {
1301
- var tmp = toOperatorSet(getAllOperators($libraries, [$this$updateContext.p33_1, $this$updateContext.q33_1]));
1301
+ var tmp = toOperatorSet(getAllOperators($libraries, [$this$updateContext.m33_1, $this$updateContext.n33_1]));
1302
1302
  var tmp_0 = new Long(0, 0);
1303
1303
  var tmp_1 = new Long(0, 0);
1304
1304
  var tmp_2 = new Long(0, 0);
1305
- return $this$updateContext.c35(null, null, $libraries, null, null, null, tmp, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194235, null);
1305
+ return $this$updateContext.z34(null, null, $libraries, null, null, null, tmp, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194235, null);
1306
1306
  };
1307
1307
  }
1308
1308
  function MutableClassicSolver$resetStaticKb$lambda($this$updateContext) {
1309
- var tmp = Companion_getInstance_1().empty($this$updateContext.m33_1);
1310
- var tmp_0 = toOperatorSet(getAllOperators($this$updateContext.n33_1, [$this$updateContext.q33_1]));
1309
+ var tmp = Companion_getInstance_1().empty($this$updateContext.j33_1);
1310
+ var tmp_0 = toOperatorSet(getAllOperators($this$updateContext.k33_1, [$this$updateContext.n33_1]));
1311
1311
  var tmp_1 = new Long(0, 0);
1312
1312
  var tmp_2 = new Long(0, 0);
1313
1313
  var tmp_3 = new Long(0, 0);
1314
- return $this$updateContext.c35(null, null, null, null, tmp, null, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194223, null);
1314
+ return $this$updateContext.z34(null, null, null, null, tmp, null, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194223, null);
1315
1315
  }
1316
1316
  function MutableClassicSolver$resetDynamicKb$lambda($this$updateContext) {
1317
- var tmp = Companion_getInstance_2().empty($this$updateContext.m33_1);
1318
- var tmp_0 = toOperatorSet(getAllOperators($this$updateContext.n33_1, [$this$updateContext.p33_1]));
1317
+ var tmp = Companion_getInstance_2().empty($this$updateContext.j33_1);
1318
+ var tmp_0 = toOperatorSet(getAllOperators($this$updateContext.k33_1, [$this$updateContext.m33_1]));
1319
1319
  var tmp_1 = new Long(0, 0);
1320
1320
  var tmp_2 = new Long(0, 0);
1321
1321
  var tmp_3 = new Long(0, 0);
1322
- return $this$updateContext.c35(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1322
+ return $this$updateContext.z34(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1323
1323
  }
1324
1324
  function MutableClassicSolver$assertA$lambda($clause) {
1325
1325
  return function ($this$updateContext) {
1326
- var tmp = $this$updateContext.q33_1.p1s($clause);
1327
- var tmp_0 = $this$updateContext.r33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause))));
1326
+ var tmp = $this$updateContext.n33_1.m1s($clause);
1327
+ var tmp_0 = $this$updateContext.o33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause))));
1328
1328
  var tmp_1 = new Long(0, 0);
1329
1329
  var tmp_2 = new Long(0, 0);
1330
1330
  var tmp_3 = new Long(0, 0);
1331
- return $this$updateContext.c35(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1331
+ return $this$updateContext.z34(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1332
1332
  };
1333
1333
  }
1334
1334
  function MutableClassicSolver$assertA$lambda_0($fact) {
1335
1335
  return function ($this$updateContext) {
1336
- var tmp = $this$updateContext.q33_1.c1t($fact);
1336
+ var tmp = $this$updateContext.n33_1.z1s($fact);
1337
1337
  var tmp_0 = new Long(0, 0);
1338
1338
  var tmp_1 = new Long(0, 0);
1339
1339
  var tmp_2 = new Long(0, 0);
1340
- return $this$updateContext.c35(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1340
+ return $this$updateContext.z34(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1341
1341
  };
1342
1342
  }
1343
1343
  function MutableClassicSolver$assertZ$lambda($clause) {
1344
1344
  return function ($this$updateContext) {
1345
- var tmp = $this$updateContext.q33_1.t1s($clause);
1346
- var tmp_0 = $this$updateContext.r33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause))));
1345
+ var tmp = $this$updateContext.n33_1.q1s($clause);
1346
+ var tmp_0 = $this$updateContext.o33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause))));
1347
1347
  var tmp_1 = new Long(0, 0);
1348
1348
  var tmp_2 = new Long(0, 0);
1349
1349
  var tmp_3 = new Long(0, 0);
1350
- return $this$updateContext.c35(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1350
+ return $this$updateContext.z34(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1351
1351
  };
1352
1352
  }
1353
1353
  function MutableClassicSolver$assertZ$lambda_0($fact) {
1354
1354
  return function ($this$updateContext) {
1355
- var tmp = $this$updateContext.q33_1.d1t($fact);
1355
+ var tmp = $this$updateContext.n33_1.a1t($fact);
1356
1356
  var tmp_0 = new Long(0, 0);
1357
1357
  var tmp_1 = new Long(0, 0);
1358
1358
  var tmp_2 = new Long(0, 0);
1359
- return $this$updateContext.c35(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1359
+ return $this$updateContext.z34(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1360
1360
  };
1361
1361
  }
1362
1362
  function MutableClassicSolver$retract$lambda($result, $clause) {
1363
1363
  return function ($this$updateContext) {
1364
- var tmp = $result.h1s().toMutableTheory();
1365
- var tmp_0 = $this$updateContext.r33_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause))));
1364
+ var tmp = $result.e1s().toMutableTheory();
1365
+ var tmp_0 = $this$updateContext.o33_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause))));
1366
1366
  var tmp_1 = new Long(0, 0);
1367
1367
  var tmp_2 = new Long(0, 0);
1368
1368
  var tmp_3 = new Long(0, 0);
1369
- return $this$updateContext.c35(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1369
+ return $this$updateContext.z34(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1370
1370
  };
1371
1371
  }
1372
1372
  function MutableClassicSolver$retract$lambda_0($result) {
1373
1373
  return function ($this$updateContext) {
1374
- var tmp = $result.h1s().toMutableTheory();
1374
+ var tmp = $result.e1s().toMutableTheory();
1375
1375
  var tmp_0 = new Long(0, 0);
1376
1376
  var tmp_1 = new Long(0, 0);
1377
1377
  var tmp_2 = new Long(0, 0);
1378
- return $this$updateContext.c35(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1378
+ return $this$updateContext.z34(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1379
1379
  };
1380
1380
  }
1381
1381
  function MutableClassicSolver$retractAll$lambda($result) {
1382
1382
  return function ($this$updateContext) {
1383
- var tmp = $result.h1s().toMutableTheory();
1384
- var tmp_0 = $this$updateContext.r33_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.h1s())));
1383
+ var tmp = $result.e1s().toMutableTheory();
1384
+ var tmp_0 = $this$updateContext.o33_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.e1s())));
1385
1385
  var tmp_1 = new Long(0, 0);
1386
1386
  var tmp_2 = new Long(0, 0);
1387
1387
  var tmp_3 = new Long(0, 0);
1388
- return $this$updateContext.c35(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1388
+ return $this$updateContext.z34(null, null, null, null, null, tmp, tmp_0, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 4194207, null);
1389
1389
  };
1390
1390
  }
1391
1391
  function MutableClassicSolver$retractAll$lambda_0($result) {
1392
1392
  return function ($this$updateContext) {
1393
- var tmp = $result.h1s().toMutableTheory();
1393
+ var tmp = $result.e1s().toMutableTheory();
1394
1394
  var tmp_0 = new Long(0, 0);
1395
1395
  var tmp_1 = new Long(0, 0);
1396
1396
  var tmp_2 = new Long(0, 0);
1397
- return $this$updateContext.c35(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1397
+ return $this$updateContext.z34(null, null, null, null, null, tmp, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194271, null);
1398
1398
  };
1399
1399
  }
1400
1400
  function MutableClassicSolver$setFlag$lambda($name, $value) {
1401
1401
  return function ($this$updateContext) {
1402
- var tmp = $this$updateContext.o33_1.set($name, $value);
1402
+ var tmp = $this$updateContext.l33_1.set($name, $value);
1403
1403
  var tmp_0 = new Long(0, 0);
1404
1404
  var tmp_1 = new Long(0, 0);
1405
1405
  var tmp_2 = new Long(0, 0);
1406
- return $this$updateContext.c35(null, null, null, tmp, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194295, null);
1406
+ return $this$updateContext.z34(null, null, null, tmp, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194295, null);
1407
1407
  };
1408
1408
  }
1409
1409
  function MutableClassicSolver$setFlag$lambda_0($flag) {
1410
1410
  return function ($this$updateContext) {
1411
- var tmp = $this$updateContext.o33_1.plusPair($flag);
1411
+ var tmp = $this$updateContext.l33_1.plusPair($flag);
1412
1412
  var tmp_0 = new Long(0, 0);
1413
1413
  var tmp_1 = new Long(0, 0);
1414
1414
  var tmp_2 = new Long(0, 0);
1415
- return $this$updateContext.c35(null, null, null, tmp, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194295, null);
1415
+ return $this$updateContext.z34(null, null, null, tmp, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194295, null);
1416
1416
  };
1417
1417
  }
1418
1418
  function MutableClassicSolver$setFlag$lambda_1($flag) {
1419
1419
  return function ($this$updateContext) {
1420
- var tmp = $this$updateContext.o33_1.plusNotable($flag);
1420
+ var tmp = $this$updateContext.l33_1.plusNotable($flag);
1421
1421
  var tmp_0 = new Long(0, 0);
1422
1422
  var tmp_1 = new Long(0, 0);
1423
1423
  var tmp_2 = new Long(0, 0);
1424
- return $this$updateContext.c35(null, null, null, tmp, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194295, null);
1424
+ return $this$updateContext.z34(null, null, null, tmp, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194295, null);
1425
1425
  };
1426
1426
  }
1427
1427
  function MutableClassicSolver$setStandardInput$lambda($stdIn) {
1428
1428
  return function ($this$updateContext) {
1429
1429
  Companion_getInstance();
1430
- var tmp = $this$updateContext.s33_1.plus(to('stdin', $stdIn));
1430
+ var tmp = $this$updateContext.p33_1.plus(to('stdin', $stdIn));
1431
1431
  var tmp_0 = new Long(0, 0);
1432
1432
  var tmp_1 = new Long(0, 0);
1433
1433
  var tmp_2 = new Long(0, 0);
1434
- return $this$updateContext.c35(null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194175, null);
1434
+ return $this$updateContext.z34(null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194175, null);
1435
1435
  };
1436
1436
  }
1437
1437
  function MutableClassicSolver$setStandardError$lambda($stdErr) {
1438
1438
  return function ($this$updateContext) {
1439
1439
  Companion_getInstance_0();
1440
- var tmp = $this$updateContext.t33_1.plus(to('stderr', $stdErr));
1440
+ var tmp = $this$updateContext.q33_1.plus(to('stderr', $stdErr));
1441
1441
  var tmp_0 = new Long(0, 0);
1442
1442
  var tmp_1 = new Long(0, 0);
1443
1443
  var tmp_2 = new Long(0, 0);
1444
- return $this$updateContext.c35(null, null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194047, null);
1444
+ return $this$updateContext.z34(null, null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194047, null);
1445
1445
  };
1446
1446
  }
1447
1447
  function MutableClassicSolver$setStandardOutput$lambda($stdOut) {
1448
1448
  return function ($this$updateContext) {
1449
1449
  Companion_getInstance_0();
1450
- var tmp = $this$updateContext.t33_1.plus(to('stdout', $stdOut));
1450
+ var tmp = $this$updateContext.q33_1.plus(to('stdout', $stdOut));
1451
1451
  var tmp_0 = new Long(0, 0);
1452
1452
  var tmp_1 = new Long(0, 0);
1453
1453
  var tmp_2 = new Long(0, 0);
1454
- return $this$updateContext.c35(null, null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194047, null);
1454
+ return $this$updateContext.z34(null, null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194047, null);
1455
1455
  };
1456
1456
  }
1457
1457
  function MutableClassicSolver$setWarnings$lambda($warnings) {
1458
1458
  return function ($this$updateContext) {
1459
- var tmp = Companion_getInstance_0().x1z($this$updateContext.t33_1, $warnings);
1459
+ var tmp = Companion_getInstance_0().u1z($this$updateContext.q33_1, $warnings);
1460
1460
  var tmp_0 = new Long(0, 0);
1461
1461
  var tmp_1 = new Long(0, 0);
1462
1462
  var tmp_2 = new Long(0, 0);
1463
- return $this$updateContext.c35(null, null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194047, null);
1463
+ return $this$updateContext.z34(null, null, null, null, null, null, null, null, tmp, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 4194047, null);
1464
1464
  };
1465
1465
  }
1466
- MutableClassicSolver.prototype.i37 = function (library) {
1467
- this.u2b(MutableClassicSolver$loadLibrary$lambda(library));
1466
+ MutableClassicSolver.prototype.f37 = function (library) {
1467
+ this.r2b(MutableClassicSolver$loadLibrary$lambda(library));
1468
1468
  };
1469
1469
  MutableClassicSolver.prototype.loadLibrary = function (library) {
1470
- return this.i37(library);
1470
+ return this.f37(library);
1471
1471
  };
1472
- MutableClassicSolver.prototype.j37 = function (library) {
1473
- this.u2b(MutableClassicSolver$unloadLibrary$lambda(library));
1472
+ MutableClassicSolver.prototype.g37 = function (library) {
1473
+ this.r2b(MutableClassicSolver$unloadLibrary$lambda(library));
1474
1474
  };
1475
1475
  MutableClassicSolver.prototype.unloadLibrary = function (library) {
1476
- return this.j37(library);
1476
+ return this.g37(library);
1477
1477
  };
1478
- MutableClassicSolver.prototype.k37 = function (libraries) {
1479
- this.u2b(MutableClassicSolver$setRuntime$lambda(libraries));
1478
+ MutableClassicSolver.prototype.h37 = function (libraries) {
1479
+ this.r2b(MutableClassicSolver$setRuntime$lambda(libraries));
1480
1480
  };
1481
1481
  MutableClassicSolver.prototype.setLibraries = function (libraries) {
1482
- return this.k37(libraries);
1482
+ return this.h37(libraries);
1483
1483
  };
1484
- MutableClassicSolver.prototype.l37 = function (theory) {
1485
- this.y2b(theory, null, false, false, 10, null);
1484
+ MutableClassicSolver.prototype.i37 = function (theory) {
1485
+ this.v2b(theory, null, false, false, 10, null);
1486
1486
  };
1487
1487
  MutableClassicSolver.prototype.loadStaticKb = function (theory) {
1488
- return this.l37(theory);
1488
+ return this.i37(theory);
1489
1489
  };
1490
- MutableClassicSolver.prototype.m37 = function (theory) {
1491
- this.y2b(theory, null, false, false, 14, null);
1490
+ MutableClassicSolver.prototype.j37 = function (theory) {
1491
+ this.v2b(theory, null, false, false, 14, null);
1492
1492
  };
1493
1493
  MutableClassicSolver.prototype.appendStaticKb = function (theory) {
1494
- return this.m37(theory);
1494
+ return this.j37(theory);
1495
1495
  };
1496
- MutableClassicSolver.prototype.n37 = function () {
1497
- this.u2b(MutableClassicSolver$resetStaticKb$lambda);
1496
+ MutableClassicSolver.prototype.k37 = function () {
1497
+ this.r2b(MutableClassicSolver$resetStaticKb$lambda);
1498
1498
  };
1499
1499
  MutableClassicSolver.prototype.resetStaticKb = function () {
1500
- return this.n37();
1500
+ return this.k37();
1501
1501
  };
1502
- MutableClassicSolver.prototype.o37 = function (theory) {
1503
- this.y2b(null, theory, false, false, 5, null);
1502
+ MutableClassicSolver.prototype.l37 = function (theory) {
1503
+ this.v2b(null, theory, false, false, 5, null);
1504
1504
  };
1505
1505
  MutableClassicSolver.prototype.loadDynamicKb = function (theory) {
1506
- return this.o37(theory);
1506
+ return this.l37(theory);
1507
1507
  };
1508
- MutableClassicSolver.prototype.p37 = function (theory) {
1509
- this.y2b(null, theory, false, false, 13, null);
1508
+ MutableClassicSolver.prototype.m37 = function (theory) {
1509
+ this.v2b(null, theory, false, false, 13, null);
1510
1510
  };
1511
1511
  MutableClassicSolver.prototype.appendDynamicKb = function (theory) {
1512
- return this.p37(theory);
1512
+ return this.m37(theory);
1513
1513
  };
1514
- MutableClassicSolver.prototype.q37 = function () {
1515
- this.u2b(MutableClassicSolver$resetDynamicKb$lambda);
1514
+ MutableClassicSolver.prototype.n37 = function () {
1515
+ this.r2b(MutableClassicSolver$resetDynamicKb$lambda);
1516
1516
  };
1517
1517
  MutableClassicSolver.prototype.resetDynamicKb = function () {
1518
- return this.q37();
1518
+ return this.n37();
1519
1519
  };
1520
- MutableClassicSolver.prototype.w1m = function (clause) {
1521
- this.u2b(MutableClassicSolver$assertA$lambda(clause));
1520
+ MutableClassicSolver.prototype.t1m = function (clause) {
1521
+ this.r2b(MutableClassicSolver$assertA$lambda(clause));
1522
1522
  };
1523
1523
  MutableClassicSolver.prototype.assertA = function (clause) {
1524
- return this.w1m(clause);
1524
+ return this.t1m(clause);
1525
1525
  };
1526
- MutableClassicSolver.prototype.r37 = function (fact) {
1527
- this.u2b(MutableClassicSolver$assertA$lambda_0(fact));
1526
+ MutableClassicSolver.prototype.o37 = function (fact) {
1527
+ this.r2b(MutableClassicSolver$assertA$lambda_0(fact));
1528
1528
  };
1529
1529
  MutableClassicSolver.prototype.assertAFact = function (fact) {
1530
- return this.r37(fact);
1530
+ return this.o37(fact);
1531
1531
  };
1532
- MutableClassicSolver.prototype.w1l = function (clause) {
1533
- this.u2b(MutableClassicSolver$assertZ$lambda(clause));
1532
+ MutableClassicSolver.prototype.t1l = function (clause) {
1533
+ this.r2b(MutableClassicSolver$assertZ$lambda(clause));
1534
1534
  };
1535
1535
  MutableClassicSolver.prototype.assertZ = function (clause) {
1536
- return this.w1l(clause);
1536
+ return this.t1l(clause);
1537
1537
  };
1538
- MutableClassicSolver.prototype.s37 = function (fact) {
1539
- this.u2b(MutableClassicSolver$assertZ$lambda_0(fact));
1538
+ MutableClassicSolver.prototype.p37 = function (fact) {
1539
+ this.r2b(MutableClassicSolver$assertZ$lambda_0(fact));
1540
1540
  };
1541
1541
  MutableClassicSolver.prototype.assertZFact = function (fact) {
1542
- return this.s37(fact);
1542
+ return this.p37(fact);
1543
1543
  };
1544
- MutableClassicSolver.prototype.e1t = function (clause) {
1545
- var result = this.z1u().retract(clause);
1546
- this.u2b(MutableClassicSolver$retract$lambda(result, clause));
1544
+ MutableClassicSolver.prototype.b1t = function (clause) {
1545
+ var result = this.w1u().retract(clause);
1546
+ this.r2b(MutableClassicSolver$retract$lambda(result, clause));
1547
1547
  return result;
1548
1548
  };
1549
1549
  MutableClassicSolver.prototype.retract = function (clause) {
1550
- return this.e1t(clause);
1550
+ return this.b1t(clause);
1551
1551
  };
1552
- MutableClassicSolver.prototype.f1t = function (fact) {
1553
- var result = this.z1u().retractByHead(fact);
1554
- this.u2b(MutableClassicSolver$retract$lambda_0(result));
1552
+ MutableClassicSolver.prototype.c1t = function (fact) {
1553
+ var result = this.w1u().retractByHead(fact);
1554
+ this.r2b(MutableClassicSolver$retract$lambda_0(result));
1555
1555
  return result;
1556
1556
  };
1557
1557
  MutableClassicSolver.prototype.retractByHead = function (fact) {
1558
- return this.f1t(fact);
1558
+ return this.c1t(fact);
1559
1559
  };
1560
- MutableClassicSolver.prototype.c1m = function (clause) {
1561
- var result = this.z1u().retractAll(clause);
1562
- this.u2b(MutableClassicSolver$retractAll$lambda(result));
1560
+ MutableClassicSolver.prototype.z1l = function (clause) {
1561
+ var result = this.w1u().retractAll(clause);
1562
+ this.r2b(MutableClassicSolver$retractAll$lambda(result));
1563
1563
  return result;
1564
1564
  };
1565
1565
  MutableClassicSolver.prototype.retractAll = function (clause) {
1566
- return this.c1m(clause);
1566
+ return this.z1l(clause);
1567
1567
  };
1568
- MutableClassicSolver.prototype.t37 = function (fact) {
1569
- var result = this.z1u().retractAllByHead(fact);
1570
- this.u2b(MutableClassicSolver$retractAll$lambda_0(result));
1568
+ MutableClassicSolver.prototype.q37 = function (fact) {
1569
+ var result = this.w1u().retractAllByHead(fact);
1570
+ this.r2b(MutableClassicSolver$retractAll$lambda_0(result));
1571
1571
  return result;
1572
1572
  };
1573
1573
  MutableClassicSolver.prototype.retractAllBeHead = function (fact) {
1574
- return this.t37(fact);
1574
+ return this.q37(fact);
1575
1575
  };
1576
- MutableClassicSolver.prototype.u37 = function (name, value) {
1577
- this.u2b(MutableClassicSolver$setFlag$lambda(name, value));
1576
+ MutableClassicSolver.prototype.r37 = function (name, value) {
1577
+ this.r2b(MutableClassicSolver$setFlag$lambda(name, value));
1578
1578
  };
1579
1579
  MutableClassicSolver.prototype.setFlag = function (name, value) {
1580
- return this.u37(name, value);
1580
+ return this.r37(name, value);
1581
1581
  };
1582
- MutableClassicSolver.prototype.v37 = function (flag) {
1583
- this.u2b(MutableClassicSolver$setFlag$lambda_0(flag));
1582
+ MutableClassicSolver.prototype.s37 = function (flag) {
1583
+ this.r2b(MutableClassicSolver$setFlag$lambda_0(flag));
1584
1584
  };
1585
1585
  MutableClassicSolver.prototype.setFlagPair = function (flag) {
1586
- return this.v37(flag);
1586
+ return this.s37(flag);
1587
1587
  };
1588
- MutableClassicSolver.prototype.w37 = function (flag) {
1589
- this.u2b(MutableClassicSolver$setFlag$lambda_1(flag));
1588
+ MutableClassicSolver.prototype.t37 = function (flag) {
1589
+ this.r2b(MutableClassicSolver$setFlag$lambda_1(flag));
1590
1590
  };
1591
1591
  MutableClassicSolver.prototype.setFlagNotable = function (flag) {
1592
- return this.w37(flag);
1592
+ return this.t37(flag);
1593
1593
  };
1594
- MutableClassicSolver.prototype.x37 = function (stdIn) {
1595
- this.u2b(MutableClassicSolver$setStandardInput$lambda(stdIn));
1594
+ MutableClassicSolver.prototype.u37 = function (stdIn) {
1595
+ this.r2b(MutableClassicSolver$setStandardInput$lambda(stdIn));
1596
1596
  };
1597
1597
  MutableClassicSolver.prototype.setStandardInput = function (stdIn) {
1598
- return this.x37(stdIn);
1598
+ return this.u37(stdIn);
1599
1599
  };
1600
- MutableClassicSolver.prototype.y37 = function (stdErr) {
1601
- this.u2b(MutableClassicSolver$setStandardError$lambda(stdErr));
1600
+ MutableClassicSolver.prototype.v37 = function (stdErr) {
1601
+ this.r2b(MutableClassicSolver$setStandardError$lambda(stdErr));
1602
1602
  };
1603
1603
  MutableClassicSolver.prototype.setStandardError = function (stdErr) {
1604
- return this.y37(stdErr);
1604
+ return this.v37(stdErr);
1605
1605
  };
1606
- MutableClassicSolver.prototype.z37 = function (stdOut) {
1607
- this.u2b(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1606
+ MutableClassicSolver.prototype.w37 = function (stdOut) {
1607
+ this.r2b(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1608
1608
  };
1609
1609
  MutableClassicSolver.prototype.setStandardOutput = function (stdOut) {
1610
- return this.z37(stdOut);
1610
+ return this.w37(stdOut);
1611
1611
  };
1612
- MutableClassicSolver.prototype.a38 = function (warnings) {
1613
- this.u2b(MutableClassicSolver$setWarnings$lambda(warnings));
1612
+ MutableClassicSolver.prototype.x37 = function (warnings) {
1613
+ this.r2b(MutableClassicSolver$setWarnings$lambda(warnings));
1614
1614
  };
1615
1615
  MutableClassicSolver.prototype.setWarnings = function (warnings) {
1616
- return this.a38(warnings);
1616
+ return this.x37(warnings);
1617
1617
  };
1618
- MutableClassicSolver.prototype.p1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1618
+ MutableClassicSolver.prototype.m1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1619
1619
  return MutableClassicSolver_init_$Create$_1(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, false, 512, null);
1620
1620
  };
1621
- MutableClassicSolver.prototype.z1s = function () {
1622
- return this.x1x(null, null, null, null, null, null, null, null, null, 511, null);
1621
+ MutableClassicSolver.prototype.w1s = function () {
1622
+ return this.u1x(null, null, null, null, null, null, null, null, null, 511, null);
1623
1623
  };
1624
1624
  MutableClassicSolver.prototype.clone = function () {
1625
- return this.z1s();
1625
+ return this.w1s();
1626
1626
  };
1627
1627
  function MutableClassicSolver() {
1628
1628
  }
@@ -1639,9 +1639,9 @@
1639
1639
  } else {
1640
1640
  tmp = onStateTransition;
1641
1641
  }
1642
- return this.g37(initialState, tmp);
1642
+ return this.d37(initialState, tmp);
1643
1643
  };
1644
- Companion.prototype.g37 = function (initialState, onStateTransition) {
1644
+ Companion.prototype.d37 = function (initialState, onStateTransition) {
1645
1645
  return new SimpleSolutionIterator(initialState, onStateTransition);
1646
1646
  };
1647
1647
  var Companion_instance;
@@ -1652,85 +1652,85 @@
1652
1652
  }
1653
1653
  function AbstractEndState(solution, context) {
1654
1654
  AbstractState.call(this, context);
1655
- this.d38_1 = solution;
1656
- this.e38_1 = context;
1655
+ this.a38_1 = solution;
1656
+ this.b38_1 = context;
1657
1657
  }
1658
- AbstractEndState.prototype.k2j = function () {
1659
- return this.d38_1;
1658
+ AbstractEndState.prototype.h2j = function () {
1659
+ return this.a38_1;
1660
1660
  };
1661
1661
  AbstractEndState.prototype.j5 = function () {
1662
- return this.e38_1;
1662
+ return this.b38_1;
1663
1663
  };
1664
- AbstractEndState.prototype.f38 = function () {
1664
+ AbstractEndState.prototype.c38 = function () {
1665
1665
  throw NoSuchElementException_init_$Create$();
1666
1666
  };
1667
1667
  AbstractEndState.prototype.asEndState = function () {
1668
- return this.h38();
1668
+ return this.e38();
1669
1669
  };
1670
1670
  function AbstractState$executionTime$delegate$lambda(this$0) {
1671
1671
  return function () {
1672
- return this$0.n38();
1672
+ return this$0.k38();
1673
1673
  };
1674
1674
  }
1675
1675
  function AbstractState(context) {
1676
- this.i38_1 = context;
1676
+ this.f38_1 = context;
1677
1677
  var tmp = this;
1678
- tmp.j38_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1678
+ tmp.g38_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1679
1679
  }
1680
1680
  AbstractState.prototype.j5 = function () {
1681
- return this.i38_1;
1681
+ return this.f38_1;
1682
1682
  };
1683
- AbstractState.prototype.l38 = function () {
1683
+ AbstractState.prototype.i38 = function () {
1684
1684
  var tmp$ret$0;
1685
1685
  // Inline function 'kotlin.getValue' call
1686
1686
  var tmp0_getValue = executionTime$factory();
1687
- tmp$ret$0 = this.j38_1.b1();
1687
+ tmp$ret$0 = this.g38_1.b1();
1688
1688
  return tmp$ret$0;
1689
1689
  };
1690
- AbstractState.prototype.m38 = function () {
1691
- return this.l38().ch(this.j5().a34_1).jd(this.j5().b34_1) > 0;
1690
+ AbstractState.prototype.j38 = function () {
1691
+ return this.i38().ah(this.j5().x33_1).jd(this.j5().y33_1) > 0;
1692
1692
  };
1693
- AbstractState.prototype.p = function () {
1693
+ AbstractState.prototype.n = function () {
1694
1694
  var tmp;
1695
- if (this.m38()) {
1696
- var tmp0_exceededDuration = this.j5().b34_1;
1695
+ if (this.j38()) {
1696
+ var tmp0_exceededDuration = this.j5().y33_1;
1697
1697
  var tmp1_context = this.j5();
1698
1698
  var tmp_0 = TimeOutException_init_$Create$(null, null, tmp1_context, tmp0_exceededDuration, 3, null);
1699
1699
  var tmp_1 = this.j5();
1700
1700
  var tmp_2 = new Long(0, 0);
1701
1701
  var tmp_3 = new Long(0, 0);
1702
- var tmp_4 = this.o38();
1703
- tmp = new StateHalt(tmp_0, tmp_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_2, tmp_3, null, null, 0, tmp_4, null, 3145727, null));
1702
+ var tmp_4 = this.l38();
1703
+ tmp = new StateHalt(tmp_0, tmp_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_2, tmp_3, null, null, 0, tmp_4, null, 3145727, null));
1704
1704
  } else {
1705
- tmp = this.f38();
1705
+ tmp = this.c38();
1706
1706
  }
1707
1707
  return tmp;
1708
1708
  };
1709
1709
  AbstractState.prototype.next = function () {
1710
- return this.p();
1710
+ return this.n();
1711
1711
  };
1712
- AbstractState.prototype.n38 = function () {
1712
+ AbstractState.prototype.k38 = function () {
1713
1713
  return currentTimeInstant();
1714
1714
  };
1715
- AbstractState.prototype.o38 = function () {
1715
+ AbstractState.prototype.l38 = function () {
1716
1716
  var tmp$ret$0;
1717
1717
  // Inline function 'kotlin.Long.plus' call
1718
- var tmp0_plus = this.j5().f34_1;
1719
- tmp$ret$0 = tmp0_plus.bh(new Long(1, 0));
1718
+ var tmp0_plus = this.j5().c34_1;
1719
+ tmp$ret$0 = tmp0_plus.zg(new Long(1, 0));
1720
1720
  return tmp$ret$0;
1721
1721
  };
1722
- AbstractState.prototype.p38 = function (_this__u8e3s4) {
1722
+ AbstractState.prototype.m38 = function (_this__u8e3s4) {
1723
1723
  var tmp$ret$2;
1724
1724
  $l$block: {
1725
1725
  // Inline function 'kotlin.sequences.first' call
1726
- var tmp0_first = _this__u8e3s4.h34_1;
1726
+ var tmp0_first = _this__u8e3s4.e34_1;
1727
1727
  var tmp0_iterator = tmp0_first.j();
1728
1728
  while (tmp0_iterator.m()) {
1729
- var element = tmp0_iterator.p();
1729
+ var element = tmp0_iterator.n();
1730
1730
  var tmp$ret$1;
1731
1731
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.AbstractState.skipThrow.<anonymous>' call
1732
- var tmp0_safe_receiver = element.l33_1;
1733
- var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fw();
1732
+ var tmp0_safe_receiver = element.i33_1;
1733
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cw();
1734
1734
  var tmp$ret$0;
1735
1735
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1736
1736
  var tmp0__get_functor__thl4dk = Throw_getInstance();
@@ -1747,7 +1747,7 @@
1747
1747
  };
1748
1748
  function executionTime$factory() {
1749
1749
  return getPropertyCallableRef('executionTime', 1, KProperty1, function (receiver) {
1750
- return receiver.l38();
1750
+ return receiver.i38();
1751
1751
  }, null);
1752
1752
  }
1753
1753
  function EndState() {
@@ -1756,38 +1756,38 @@
1756
1756
  }
1757
1757
  function StateBacktracking(context) {
1758
1758
  AbstractState.call(this, context);
1759
- this.s38_1 = context;
1759
+ this.p38_1 = context;
1760
1760
  }
1761
1761
  StateBacktracking.prototype.j5 = function () {
1762
- return this.s38_1;
1762
+ return this.p38_1;
1763
1763
  };
1764
- StateBacktracking.prototype.f38 = function () {
1765
- var choicePoints = this.s38_1.c34_1;
1764
+ StateBacktracking.prototype.c38 = function () {
1765
+ var choicePoints = this.p38_1.z33_1;
1766
1766
  var tmp;
1767
1767
  var tmp$ret$1;
1768
1768
  // Inline function 'kotlin.let' call
1769
1769
  // Inline function 'kotlin.contracts.contract' call
1770
1770
  var tmp$ret$0;
1771
1771
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1772
- tmp$ret$0 = choicePoints === null ? true : !choicePoints.j35();
1772
+ tmp$ret$0 = choicePoints === null ? true : !choicePoints.g35();
1773
1773
  tmp$ret$1 = tmp$ret$0;
1774
1774
  if (tmp$ret$1) {
1775
- var tmp_0 = Companion_getInstance_14().no(this.s38_1.w33_1);
1775
+ var tmp_0 = Companion_getInstance_14().no(this.p38_1.t33_1);
1776
1776
  var tmp_1 = new Long(0, 0);
1777
1777
  var tmp_2 = new Long(0, 0);
1778
- var tmp_3 = this.o38();
1779
- tmp = new StateEnd(tmp_0, this.s38_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 3145727, null));
1778
+ var tmp_3 = this.l38();
1779
+ tmp = new StateEnd(tmp_0, this.p38_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_1, tmp_2, null, null, 0, tmp_3, null, 3145727, null));
1780
1780
  } else {
1781
1781
  var tmp$ret$3;
1782
1782
  $l$block: {
1783
1783
  // Inline function 'kotlin.sequences.first' call
1784
- var tmp0_first = ensureNotNull(choicePoints).k35();
1784
+ var tmp0_first = ensureNotNull(choicePoints).h35();
1785
1785
  var tmp0_iterator = tmp0_first.j();
1786
1786
  while (tmp0_iterator.m()) {
1787
- var element = tmp0_iterator.p();
1787
+ var element = tmp0_iterator.n();
1788
1788
  var tmp$ret$2;
1789
1789
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1790
- tmp$ret$2 = element.w34().vq();
1790
+ tmp$ret$2 = element.t34().sq();
1791
1791
  if (tmp$ret$2) {
1792
1792
  tmp$ret$3 = element;
1793
1793
  break $l$block;
@@ -1796,9 +1796,9 @@
1796
1796
  throw NoSuchElementException_init_$Create$_0('Sequence contains no element matching the predicate.');
1797
1797
  }
1798
1798
  var choicePointContext = tmp$ret$3;
1799
- var nextContext = choicePointContext.b35(this.s38_1);
1799
+ var nextContext = choicePointContext.y34(this.p38_1);
1800
1800
  var tmp_4;
1801
- if (nextContext.z33_1.vq()) {
1801
+ if (nextContext.w33_1.sq()) {
1802
1802
  tmp_4 = new StatePrimitiveExecution(nextContext);
1803
1803
  } else {
1804
1804
  tmp_4 = new StateRuleExecution(nextContext);
@@ -1807,17 +1807,17 @@
1807
1807
  }
1808
1808
  return tmp;
1809
1809
  };
1810
- StateBacktracking.prototype.k38 = function (context) {
1811
- return this.t38(context);
1810
+ StateBacktracking.prototype.h38 = function (context) {
1811
+ return this.q38(context);
1812
1812
  };
1813
- StateBacktracking.prototype.t38 = function (context) {
1813
+ StateBacktracking.prototype.q38 = function (context) {
1814
1814
  return new StateBacktracking(context);
1815
1815
  };
1816
1816
  StateBacktracking.prototype.toString = function () {
1817
- return 'StateBacktracking(context=' + this.s38_1 + ')';
1817
+ return 'StateBacktracking(context=' + this.p38_1 + ')';
1818
1818
  };
1819
1819
  StateBacktracking.prototype.hashCode = function () {
1820
- return this.s38_1.hashCode();
1820
+ return this.p38_1.hashCode();
1821
1821
  };
1822
1822
  StateBacktracking.prototype.equals = function (other) {
1823
1823
  if (this === other)
@@ -1825,49 +1825,49 @@
1825
1825
  if (!(other instanceof StateBacktracking))
1826
1826
  return false;
1827
1827
  var tmp0_other_with_cast = other instanceof StateBacktracking ? other : THROW_CCE();
1828
- if (!this.s38_1.equals(tmp0_other_with_cast.s38_1))
1828
+ if (!this.p38_1.equals(tmp0_other_with_cast.p38_1))
1829
1829
  return false;
1830
1830
  return true;
1831
1831
  };
1832
1832
  function StateEnd(solution, context) {
1833
1833
  AbstractEndState.call(this, solution, context);
1834
- this.y38_1 = solution;
1835
- this.z38_1 = context;
1834
+ this.v38_1 = solution;
1835
+ this.w38_1 = context;
1836
1836
  }
1837
- StateEnd.prototype.k2j = function () {
1838
- return this.y38_1;
1837
+ StateEnd.prototype.h2j = function () {
1838
+ return this.v38_1;
1839
1839
  };
1840
1840
  StateEnd.prototype.j5 = function () {
1841
- return this.z38_1;
1841
+ return this.w38_1;
1842
1842
  };
1843
- StateEnd.prototype.m38 = function () {
1843
+ StateEnd.prototype.j38 = function () {
1844
1844
  return false;
1845
1845
  };
1846
- StateEnd.prototype.f38 = function () {
1846
+ StateEnd.prototype.c38 = function () {
1847
1847
  var tmp;
1848
- if (this.z38_1.j35()) {
1849
- var tmp0_$this = this.z38_1;
1850
- var tmp1_step = this.o38();
1851
- var tmp2_startTime = this.n38();
1848
+ if (this.w38_1.g35()) {
1849
+ var tmp0_$this = this.w38_1;
1850
+ var tmp1_step = this.l38();
1851
+ var tmp2_startTime = this.k38();
1852
1852
  var tmp_0 = new Long(0, 0);
1853
- tmp = new StateBacktracking(tmp0_$this.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp2_startTime, tmp_0, null, null, 0, tmp1_step, null, 3112959, null));
1853
+ tmp = new StateBacktracking(tmp0_$this.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp2_startTime, tmp_0, null, null, 0, tmp1_step, null, 3112959, null));
1854
1854
  } else {
1855
- tmp = AbstractEndState.prototype.f38.call(this);
1855
+ tmp = AbstractEndState.prototype.c38.call(this);
1856
1856
  }
1857
1857
  return tmp;
1858
1858
  };
1859
- StateEnd.prototype.k38 = function (context) {
1860
- return this.a39(this.y38_1, context);
1859
+ StateEnd.prototype.h38 = function (context) {
1860
+ return this.x38(this.v38_1, context);
1861
1861
  };
1862
- StateEnd.prototype.a39 = function (solution, context) {
1862
+ StateEnd.prototype.x38 = function (solution, context) {
1863
1863
  return new StateEnd(solution, context);
1864
1864
  };
1865
1865
  StateEnd.prototype.toString = function () {
1866
- return 'StateEnd(solution=' + this.y38_1 + ', context=' + this.z38_1 + ')';
1866
+ return 'StateEnd(solution=' + this.v38_1 + ', context=' + this.w38_1 + ')';
1867
1867
  };
1868
1868
  StateEnd.prototype.hashCode = function () {
1869
- var result = hashCode(this.y38_1);
1870
- result = imul(result, 31) + this.z38_1.hashCode() | 0;
1869
+ var result = hashCode(this.v38_1);
1870
+ result = imul(result, 31) + this.w38_1.hashCode() | 0;
1871
1871
  return result;
1872
1872
  };
1873
1873
  StateEnd.prototype.equals = function (other) {
@@ -1876,19 +1876,19 @@
1876
1876
  if (!(other instanceof StateEnd))
1877
1877
  return false;
1878
1878
  var tmp0_other_with_cast = other instanceof StateEnd ? other : THROW_CCE();
1879
- if (!equals(this.y38_1, tmp0_other_with_cast.y38_1))
1879
+ if (!equals(this.v38_1, tmp0_other_with_cast.v38_1))
1880
1880
  return false;
1881
- if (!this.z38_1.equals(tmp0_other_with_cast.z38_1))
1881
+ if (!this.w38_1.equals(tmp0_other_with_cast.w38_1))
1882
1882
  return false;
1883
1883
  return true;
1884
1884
  };
1885
1885
  StateEnd.prototype.asEndState = function () {
1886
- return this.h38();
1886
+ return this.e38();
1887
1887
  };
1888
1888
  function isCatch(_this__u8e3s4, $this) {
1889
1889
  var tmp;
1890
- if (_this__u8e3s4.zv() === 3) {
1891
- var tmp_0 = _this__u8e3s4.fw();
1890
+ if (_this__u8e3s4.wv() === 3) {
1891
+ var tmp_0 = _this__u8e3s4.cw();
1892
1892
  var tmp$ret$0;
1893
1893
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1894
1894
  var tmp0__get_functor__thl4dk = Catch_getInstance();
@@ -1903,9 +1903,9 @@
1903
1903
  var tmp0_subject = _this__u8e3s4;
1904
1904
  var tmp;
1905
1905
  if (tmp0_subject instanceof MessageError) {
1906
- tmp = _this__u8e3s4.m27();
1906
+ tmp = _this__u8e3s4.j27();
1907
1907
  } else {
1908
- tmp = _this__u8e3s4.n25();
1908
+ tmp = _this__u8e3s4.k25();
1909
1909
  }
1910
1910
  return tmp;
1911
1911
  }
@@ -1920,25 +1920,25 @@
1920
1920
  return tmp;
1921
1921
  }
1922
1922
  function _get_finalState__3aigq8($this) {
1923
- var tmp = toPublicException($this.d39_1, $this);
1923
+ var tmp = toPublicException($this.a39_1, $this);
1924
1924
  var tmp_0 = new Long(0, 0);
1925
1925
  var tmp_1 = new Long(0, 0);
1926
- var tmp_2 = $this.o38();
1927
- return new StateHalt(tmp, $this.e39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3145727, null));
1926
+ var tmp_2 = $this.l38();
1927
+ return new StateHalt(tmp, $this.b39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3145727, null));
1928
1928
  }
1929
1929
  function _get_handleExceptionInParentContext__yj3v4e($this) {
1930
- var tmp = ensureNotNull($this.e39_1.d34_1);
1930
+ var tmp = ensureNotNull($this.b39_1.a34_1);
1931
1931
  var tmp_0 = new Long(0, 0);
1932
1932
  var tmp_1 = new Long(0, 0);
1933
- var tmp_2 = $this.o38();
1934
- return new StateException($this.d39_1, tmp.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3145727, null));
1933
+ var tmp_2 = $this.l38();
1934
+ return new StateException($this.a39_1, tmp.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3145727, null));
1935
1935
  }
1936
1936
  function handleStruct($this, unificator, catchGoal, error) {
1937
1937
  var tmp;
1938
1938
  if (isCatch(catchGoal, $this)) {
1939
1939
  var catcher = unificator.mgu(catchGoal.get(1), getExceptionContent(error, $this));
1940
1940
  tmp = handleCatch($this, catchGoal, catcher);
1941
- } else if ($this.e39_1.y36()) {
1941
+ } else if ($this.b39_1.v36()) {
1942
1942
  tmp = _get_finalState__3aigq8($this);
1943
1943
  } else {
1944
1944
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1947,20 +1947,20 @@
1947
1947
  }
1948
1948
  function handleCatch($this, catchGoal, catcher) {
1949
1949
  var tmp;
1950
- if (catcher.q12()) {
1951
- var tmp_0 = $this.e39_1.v33_1.plus(catcher);
1950
+ if (catcher.n12()) {
1951
+ var tmp_0 = $this.b39_1.s33_1.plus(catcher);
1952
1952
  var newSubstitution = tmp_0.filterEntry(StateException$handleCatch$lambda($this));
1953
1953
  var subGoals = catchGoal.get(2).getSubstituted(newSubstitution, []);
1954
- var newGoals = plus_0(toGoals(subGoals), $this.e39_1.x33_1.tq());
1955
- var tmp0_$this = $this.e39_1;
1954
+ var newGoals = plus_0(toGoals(subGoals), $this.b39_1.u33_1.qq());
1955
+ var tmp0_$this = $this.b39_1;
1956
1956
  var tmp1_rules = Companion_getInstance_9().empty();
1957
1957
  var tmp2_primitives = Companion_getInstance_9().empty();
1958
1958
  var tmp3_substitution = newSubstitution.castToUnifier();
1959
- var tmp4_step = $this.o38();
1959
+ var tmp4_step = $this.l38();
1960
1960
  var tmp_1 = new Long(0, 0);
1961
1961
  var tmp_2 = new Long(0, 0);
1962
- tmp = new StateGoalSelection(tmp0_$this.c35(null, null, null, null, null, null, null, null, null, null, tmp3_substitution, null, newGoals, tmp1_rules, tmp2_primitives, tmp_1, tmp_2, null, null, 0, tmp4_step, null, 3116031, null));
1963
- } else if ($this.e39_1.y36()) {
1962
+ tmp = new StateGoalSelection(tmp0_$this.z34(null, null, null, null, null, null, null, null, null, null, tmp3_substitution, null, newGoals, tmp1_rules, tmp2_primitives, tmp_1, tmp_2, null, null, 0, tmp4_step, null, 3116031, null));
1963
+ } else if ($this.b39_1.v36()) {
1964
1964
  tmp = _get_finalState__3aigq8($this);
1965
1965
  } else {
1966
1966
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1973,40 +1973,40 @@
1973
1973
  // Inline function 'kotlin.collections.component1' call
1974
1974
  tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.a1();
1975
1975
  var it = tmp$ret$0;
1976
- return this$0.e39_1.a37(it);
1976
+ return this$0.b39_1.x36(it);
1977
1977
  };
1978
1978
  }
1979
1979
  function StateException(exception, context) {
1980
1980
  AbstractState.call(this, context);
1981
- this.d39_1 = exception;
1982
- this.e39_1 = context;
1981
+ this.a39_1 = exception;
1982
+ this.b39_1 = context;
1983
1983
  }
1984
1984
  StateException.prototype.j5 = function () {
1985
- return this.e39_1;
1985
+ return this.b39_1;
1986
1986
  };
1987
- StateException.prototype.f38 = function () {
1988
- var tmp0_subject = this.d39_1;
1987
+ StateException.prototype.c38 = function () {
1988
+ var tmp0_subject = this.a39_1;
1989
1989
  var tmp;
1990
1990
  if (tmp0_subject instanceof LogicError) {
1991
- var catchGoal = ensureNotNull(this.e39_1.z36());
1992
- tmp = catchGoal.lw() ? handleStruct(this, this.e39_1.m33_1, catchGoal.castToStruct(), this.d39_1) : this.e39_1.y36() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1991
+ var catchGoal = ensureNotNull(this.b39_1.w36());
1992
+ tmp = catchGoal.iw() ? handleStruct(this, this.b39_1.j33_1, catchGoal.castToStruct(), this.a39_1) : this.b39_1.v36() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1993
1993
  } else {
1994
1994
  tmp = _get_finalState__3aigq8(this);
1995
1995
  }
1996
1996
  return tmp;
1997
1997
  };
1998
- StateException.prototype.k38 = function (context) {
1999
- return this.f39(this.d39_1, context);
1998
+ StateException.prototype.h38 = function (context) {
1999
+ return this.c39(this.a39_1, context);
2000
2000
  };
2001
- StateException.prototype.f39 = function (exception, context) {
2001
+ StateException.prototype.c39 = function (exception, context) {
2002
2002
  return new StateException(exception, context);
2003
2003
  };
2004
2004
  StateException.prototype.toString = function () {
2005
- return 'StateException(exception=' + this.d39_1 + ', context=' + this.e39_1 + ')';
2005
+ return 'StateException(exception=' + this.a39_1 + ', context=' + this.b39_1 + ')';
2006
2006
  };
2007
2007
  StateException.prototype.hashCode = function () {
2008
- var result = hashCode(this.d39_1);
2009
- result = imul(result, 31) + this.e39_1.hashCode() | 0;
2008
+ var result = hashCode(this.a39_1);
2009
+ result = imul(result, 31) + this.b39_1.hashCode() | 0;
2010
2010
  return result;
2011
2011
  };
2012
2012
  StateException.prototype.equals = function (other) {
@@ -2015,9 +2015,9 @@
2015
2015
  if (!(other instanceof StateException))
2016
2016
  return false;
2017
2017
  var tmp0_other_with_cast = other instanceof StateException ? other : THROW_CCE();
2018
- if (!equals(this.d39_1, tmp0_other_with_cast.d39_1))
2018
+ if (!equals(this.a39_1, tmp0_other_with_cast.a39_1))
2019
2019
  return false;
2020
- if (!this.e39_1.equals(tmp0_other_with_cast.e39_1))
2020
+ if (!this.b39_1.equals(tmp0_other_with_cast.b39_1))
2021
2021
  return false;
2022
2022
  return true;
2023
2023
  };
@@ -2027,76 +2027,76 @@
2027
2027
  // Inline function 'kotlin.collections.component1' call
2028
2028
  tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.a1();
2029
2029
  var it = tmp$ret$0;
2030
- return this$0.i39_1.a37(it);
2030
+ return this$0.f39_1.x36(it);
2031
2031
  };
2032
2032
  }
2033
2033
  function StateGoalSelection(context) {
2034
2034
  AbstractState.call(this, context);
2035
- this.i39_1 = context;
2035
+ this.f39_1 = context;
2036
2036
  }
2037
2037
  StateGoalSelection.prototype.j5 = function () {
2038
- return this.i39_1;
2038
+ return this.f39_1;
2039
2039
  };
2040
- StateGoalSelection.prototype.f38 = function () {
2040
+ StateGoalSelection.prototype.c38 = function () {
2041
2041
  var tmp;
2042
- if (this.i39_1.x33_1.wq()) {
2042
+ if (this.f39_1.u33_1.tq()) {
2043
2043
  var tmp_0;
2044
- if (this.i39_1.y36()) {
2045
- var tmp_1 = Companion_getInstance_14().m1w(this.i39_1.w33_1, this.i39_1.v33_1);
2044
+ if (this.f39_1.v36()) {
2045
+ var tmp_1 = Companion_getInstance_14().j1w(this.f39_1.t33_1, this.f39_1.s33_1);
2046
2046
  var tmp_2 = new Long(0, 0);
2047
2047
  var tmp_3 = new Long(0, 0);
2048
- var tmp_4 = this.o38();
2049
- tmp_0 = new StateEnd(tmp_1, this.i39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_2, tmp_3, null, null, 0, tmp_4, null, 3145727, null));
2048
+ var tmp_4 = this.l38();
2049
+ tmp_0 = new StateEnd(tmp_1, this.f39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_2, tmp_3, null, null, 0, tmp_4, null, 3145727, null));
2050
2050
  } else {
2051
2051
  var tmp$ret$1;
2052
2052
  // Inline function 'kotlin.let' call
2053
- var tmp0_let = ensureNotNull(this.i39_1.d34_1);
2053
+ var tmp0_let = ensureNotNull(this.f39_1.a34_1);
2054
2054
  // Inline function 'kotlin.contracts.contract' call
2055
2055
  var tmp$ret$0;
2056
2056
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateGoalSelection.computeNext.<anonymous>' call
2057
- var tmp0_choicePoints = this.i39_1.c34_1;
2058
- var tmp1_flags = this.i39_1.o33_1;
2059
- var tmp2_dynamicKb = this.i39_1.q33_1;
2060
- var tmp3_staticKb = this.i39_1.p33_1;
2061
- var tmp4_substitution = this.i39_1.v33_1.k12(StateGoalSelection$computeNext$lambda(this));
2062
- var tmp5_goals = tmp0_let.x33_1.tq();
2063
- var tmp6_procedure = tmp0_let.l33_1;
2064
- var tmp7_step = this.o38();
2065
- var tmp8_startTime = this.i39_1.a34_1;
2066
- var tmp9_operators = this.i39_1.r33_1;
2067
- var tmp10_inputChannels = this.i39_1.s33_1;
2068
- var tmp11_outputChannels = this.i39_1.t33_1;
2069
- var tmp12_libraries = this.i39_1.n33_1;
2070
- var tmp13_customData = this.i39_1.u33_1;
2057
+ var tmp0_choicePoints = this.f39_1.z33_1;
2058
+ var tmp1_flags = this.f39_1.l33_1;
2059
+ var tmp2_dynamicKb = this.f39_1.n33_1;
2060
+ var tmp3_staticKb = this.f39_1.m33_1;
2061
+ var tmp4_substitution = this.f39_1.s33_1.h12(StateGoalSelection$computeNext$lambda(this));
2062
+ var tmp5_goals = tmp0_let.u33_1.qq();
2063
+ var tmp6_procedure = tmp0_let.i33_1;
2064
+ var tmp7_step = this.l38();
2065
+ var tmp8_startTime = this.f39_1.x33_1;
2066
+ var tmp9_operators = this.f39_1.o33_1;
2067
+ var tmp10_inputChannels = this.f39_1.p33_1;
2068
+ var tmp11_outputChannels = this.f39_1.q33_1;
2069
+ var tmp12_libraries = this.f39_1.k33_1;
2070
+ var tmp13_customData = this.f39_1.r33_1;
2071
2071
  var tmp_5 = new Long(0, 0);
2072
- tmp$ret$0 = tmp0_let.c35(tmp6_procedure, null, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, null, tmp5_goals, null, null, tmp8_startTime, tmp_5, tmp0_choicePoints, null, 0, tmp7_step, null, 2975746, null);
2072
+ tmp$ret$0 = tmp0_let.z34(tmp6_procedure, null, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, null, tmp5_goals, null, null, tmp8_startTime, tmp_5, tmp0_choicePoints, null, 0, tmp7_step, null, 2975746, null);
2073
2073
  tmp$ret$1 = tmp$ret$0;
2074
2074
  tmp_0 = new StateGoalSelection(tmp$ret$1);
2075
2075
  }
2076
2076
  tmp = tmp_0;
2077
- } else if (equals(this.i39_1.o33_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().u29_1)) {
2077
+ } else if (equals(this.f39_1.l33_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().r29_1)) {
2078
2078
  var tmp_6 = new Long(0, 0);
2079
2079
  var tmp_7 = new Long(0, 0);
2080
- tmp = new StatePrimitiveSelection(this.i39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_6, tmp_7, null, null, 0, this.o38(), plus_1(this.i39_1.g34_1, toSet(ensureNotNull(this.i39_1.x33_1.uq()).hw())), 1048575, null));
2080
+ tmp = new StatePrimitiveSelection(this.f39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_6, tmp_7, null, null, 0, this.l38(), plus_1(this.f39_1.d34_1, toSet(ensureNotNull(this.f39_1.u33_1.rq()).ew())), 1048575, null));
2081
2081
  } else {
2082
2082
  var tmp_8 = new Long(0, 0);
2083
2083
  var tmp_9 = new Long(0, 0);
2084
- var tmp_10 = this.o38();
2085
- tmp = new StatePrimitiveSelection(this.i39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_8, tmp_9, null, null, 0, tmp_10, null, 3145727, null));
2084
+ var tmp_10 = this.l38();
2085
+ tmp = new StatePrimitiveSelection(this.f39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_8, tmp_9, null, null, 0, tmp_10, null, 3145727, null));
2086
2086
  }
2087
2087
  return tmp;
2088
2088
  };
2089
- StateGoalSelection.prototype.k38 = function (context) {
2090
- return this.t38(context);
2089
+ StateGoalSelection.prototype.h38 = function (context) {
2090
+ return this.q38(context);
2091
2091
  };
2092
- StateGoalSelection.prototype.t38 = function (context) {
2092
+ StateGoalSelection.prototype.q38 = function (context) {
2093
2093
  return new StateGoalSelection(context);
2094
2094
  };
2095
2095
  StateGoalSelection.prototype.toString = function () {
2096
- return 'StateGoalSelection(context=' + this.i39_1 + ')';
2096
+ return 'StateGoalSelection(context=' + this.f39_1 + ')';
2097
2097
  };
2098
2098
  StateGoalSelection.prototype.hashCode = function () {
2099
- return this.i39_1.hashCode();
2099
+ return this.f39_1.hashCode();
2100
2100
  };
2101
2101
  StateGoalSelection.prototype.equals = function (other) {
2102
2102
  if (this === other)
@@ -2104,30 +2104,30 @@
2104
2104
  if (!(other instanceof StateGoalSelection))
2105
2105
  return false;
2106
2106
  var tmp0_other_with_cast = other instanceof StateGoalSelection ? other : THROW_CCE();
2107
- if (!this.i39_1.equals(tmp0_other_with_cast.i39_1))
2107
+ if (!this.f39_1.equals(tmp0_other_with_cast.f39_1))
2108
2108
  return false;
2109
2109
  return true;
2110
2110
  };
2111
2111
  function StateHalt(exception, context) {
2112
- AbstractEndState.call(this, Companion_getInstance_14().halt(context.w33_1, exception), context);
2113
- this.n39_1 = exception;
2114
- this.o39_1 = context;
2112
+ AbstractEndState.call(this, Companion_getInstance_14().halt(context.t33_1, exception), context);
2113
+ this.k39_1 = exception;
2114
+ this.l39_1 = context;
2115
2115
  }
2116
2116
  StateHalt.prototype.j5 = function () {
2117
- return this.o39_1;
2117
+ return this.l39_1;
2118
2118
  };
2119
- StateHalt.prototype.k38 = function (context) {
2120
- return this.f39(this.n39_1, context);
2119
+ StateHalt.prototype.h38 = function (context) {
2120
+ return this.c39(this.k39_1, context);
2121
2121
  };
2122
- StateHalt.prototype.f39 = function (exception, context) {
2122
+ StateHalt.prototype.c39 = function (exception, context) {
2123
2123
  return new StateHalt(exception, context);
2124
2124
  };
2125
2125
  StateHalt.prototype.toString = function () {
2126
- return 'StateHalt(exception=' + this.n39_1 + ', context=' + this.o39_1 + ')';
2126
+ return 'StateHalt(exception=' + this.k39_1 + ', context=' + this.l39_1 + ')';
2127
2127
  };
2128
2128
  StateHalt.prototype.hashCode = function () {
2129
- var result = hashCode(this.n39_1);
2130
- result = imul(result, 31) + this.o39_1.hashCode() | 0;
2129
+ var result = hashCode(this.k39_1);
2130
+ result = imul(result, 31) + this.l39_1.hashCode() | 0;
2131
2131
  return result;
2132
2132
  };
2133
2133
  StateHalt.prototype.equals = function (other) {
@@ -2136,44 +2136,44 @@
2136
2136
  if (!(other instanceof StateHalt))
2137
2137
  return false;
2138
2138
  var tmp0_other_with_cast = other instanceof StateHalt ? other : THROW_CCE();
2139
- if (!equals(this.n39_1, tmp0_other_with_cast.n39_1))
2139
+ if (!equals(this.k39_1, tmp0_other_with_cast.k39_1))
2140
2140
  return false;
2141
- if (!this.o39_1.equals(tmp0_other_with_cast.o39_1))
2141
+ if (!this.l39_1.equals(tmp0_other_with_cast.l39_1))
2142
2142
  return false;
2143
2143
  return true;
2144
2144
  };
2145
2145
  StateHalt.prototype.asEndState = function () {
2146
- return this.h38();
2146
+ return this.e38();
2147
2147
  };
2148
2148
  function StateInit(context) {
2149
2149
  AbstractState.call(this, context);
2150
- this.r39_1 = context;
2150
+ this.o39_1 = context;
2151
2151
  }
2152
2152
  StateInit.prototype.j5 = function () {
2153
- return this.r39_1;
2153
+ return this.o39_1;
2154
2154
  };
2155
- StateInit.prototype.f38 = function () {
2156
- var tmp0_$this = this.r39_1;
2157
- var tmp1_goals = toGoals(this.r39_1.w33_1);
2155
+ StateInit.prototype.c38 = function () {
2156
+ var tmp0_$this = this.o39_1;
2157
+ var tmp1_goals = toGoals(this.o39_1.t33_1);
2158
2158
  var tmp2_rules = Companion_getInstance_9().empty();
2159
2159
  var tmp3_primitives = Companion_getInstance_9().empty();
2160
2160
  var tmp4_substitution = Companion_getInstance_7().empty();
2161
- var tmp5_customData = this.r39_1.u33_1.preservePersistent();
2161
+ var tmp5_customData = this.o39_1.r33_1.preservePersistent();
2162
2162
  var tmp6_relevantVariables = emptySet();
2163
2163
  var tmp = new Long(0, 0);
2164
- return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.c35(null, null, null, null, null, null, null, null, null, tmp5_customData, tmp4_substitution, null, tmp1_goals, tmp2_rules, tmp3_primitives, tmp, new Long(0, 0), null, null, 0, new Long(1, 0), tmp6_relevantVariables, 100863, null), Companion_getInstance_9().empty()));
2164
+ return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.z34(null, null, null, null, null, null, null, null, null, tmp5_customData, tmp4_substitution, null, tmp1_goals, tmp2_rules, tmp3_primitives, tmp, new Long(0, 0), null, null, 0, new Long(1, 0), tmp6_relevantVariables, 100863, null), Companion_getInstance_9().empty()));
2165
2165
  };
2166
- StateInit.prototype.k38 = function (context) {
2167
- return this.t38(context);
2166
+ StateInit.prototype.h38 = function (context) {
2167
+ return this.q38(context);
2168
2168
  };
2169
- StateInit.prototype.t38 = function (context) {
2169
+ StateInit.prototype.q38 = function (context) {
2170
2170
  return new StateInit(context);
2171
2171
  };
2172
2172
  StateInit.prototype.toString = function () {
2173
- return 'StateInit(context=' + this.r39_1 + ')';
2173
+ return 'StateInit(context=' + this.o39_1 + ')';
2174
2174
  };
2175
2175
  StateInit.prototype.hashCode = function () {
2176
- return this.r39_1.hashCode();
2176
+ return this.o39_1.hashCode();
2177
2177
  };
2178
2178
  StateInit.prototype.equals = function (other) {
2179
2179
  if (this === other)
@@ -2181,12 +2181,12 @@
2181
2181
  if (!(other instanceof StateInit))
2182
2182
  return false;
2183
2183
  var tmp0_other_with_cast = other instanceof StateInit ? other : THROW_CCE();
2184
- if (!this.r39_1.equals(tmp0_other_with_cast.r39_1))
2184
+ if (!this.o39_1.equals(tmp0_other_with_cast.o39_1))
2185
2185
  return false;
2186
2186
  return true;
2187
2187
  };
2188
2188
  function copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution) {
2189
- var tmp0_safe_receiver = _this__u8e3s4.z33_1.uq();
2189
+ var tmp0_safe_receiver = _this__u8e3s4.w33_1.rq();
2190
2190
  var tmp;
2191
2191
  if (tmp0_safe_receiver == null) {
2192
2192
  tmp = null;
@@ -2196,24 +2196,24 @@
2196
2196
  // Inline function 'kotlin.contracts.contract' call
2197
2197
  var tmp$ret$0;
2198
2198
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveExecution.copyFromCurrentPrimitive.<anonymous>' call
2199
- tmp$ret$0 = _this__u8e3s4.c37(tmp0_safe_receiver.sideEffects);
2199
+ tmp$ret$0 = _this__u8e3s4.z36(tmp0_safe_receiver.sideEffects);
2200
2200
  tmp$ret$1 = tmp$ret$0;
2201
2201
  tmp = tmp$ret$1;
2202
2202
  }
2203
2203
  var tmp1_elvis_lhs = tmp;
2204
2204
  var ctx = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
2205
2205
  var tmp3_elvis_lhs = goals;
2206
- var tmp4_goals = tmp3_elvis_lhs == null ? _this__u8e3s4.x33_1 : tmp3_elvis_lhs;
2207
- var tmp_0 = drop(_this__u8e3s4.h34_1, procedureFromAncestor);
2206
+ var tmp4_goals = tmp3_elvis_lhs == null ? _this__u8e3s4.u33_1 : tmp3_elvis_lhs;
2207
+ var tmp_0 = drop(_this__u8e3s4.e34_1, procedureFromAncestor);
2208
2208
  var tmp5_procedure = first(map(tmp_0, StatePrimitiveExecution$copyFromCurrentPrimitive$lambda));
2209
2209
  var tmp6_primitives = Companion_getInstance_9().empty();
2210
2210
  var tmp2_elvis_lhs = substitution;
2211
- var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.v33_1 : tmp2_elvis_lhs;
2211
+ var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.s33_1 : tmp2_elvis_lhs;
2212
2212
  var tmp7_substitution = isInterface(tmp_1, Unifier) ? tmp_1 : THROW_CCE();
2213
- var tmp8_step = $this.o38();
2213
+ var tmp8_step = $this.l38();
2214
2214
  var tmp_2 = new Long(0, 0);
2215
2215
  var tmp_3 = new Long(0, 0);
2216
- return ctx.c35(tmp5_procedure, null, null, null, null, null, null, null, null, null, tmp7_substitution, null, tmp4_goals, null, tmp6_primitives, tmp_2, tmp_3, null, null, 0, tmp8_step, null, 3124222, null);
2216
+ return ctx.z34(tmp5_procedure, null, null, null, null, null, null, null, null, null, tmp7_substitution, null, tmp4_goals, null, tmp6_primitives, tmp_2, tmp_3, null, null, 0, tmp8_step, null, 3124222, null);
2217
2217
  }
2218
2218
  function copyFromCurrentPrimitive$default(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution, $mask0, $handler) {
2219
2219
  if (!(($mask0 & 2) === 0))
@@ -2225,23 +2225,23 @@
2225
2225
  return copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution);
2226
2226
  }
2227
2227
  function StatePrimitiveExecution$copyFromCurrentPrimitive$lambda(it) {
2228
- return it.l33_1;
2228
+ return it.i33_1;
2229
2229
  }
2230
2230
  function StatePrimitiveExecution$computeNext$lambda(this$0) {
2231
2231
  return function (it) {
2232
- return new StateGoalSelection(copyFromCurrentPrimitive(this$0.u39_1, this$0, this$0.u39_1.x33_1.tq(), 1, this$0.u39_1.m33_1.mergeWithOccurCheck(this$0.u39_1.v33_1, it.r1u(), false)));
2232
+ return new StateGoalSelection(copyFromCurrentPrimitive(this$0.r39_1, this$0, this$0.r39_1.u33_1.qq(), 1, this$0.r39_1.j33_1.mergeWithOccurCheck(this$0.r39_1.s33_1, it.o1u(), false)));
2233
2233
  };
2234
2234
  }
2235
2235
  function StatePrimitiveExecution$computeNext$lambda_0(this$0) {
2236
2236
  return function (it) {
2237
- var tmp = ensureNotNull(this$0.u39_1.d34_1);
2237
+ var tmp = ensureNotNull(this$0.r39_1.a34_1);
2238
2238
  return new StateBacktracking(copyFromCurrentPrimitive$default(tmp, this$0, null, 0, null, 14, null));
2239
2239
  };
2240
2240
  }
2241
2241
  function StatePrimitiveExecution$computeNext$lambda_1(this$0) {
2242
2242
  return function (it) {
2243
- var tmp = it.c1w().updateLastContext(this$0.p38(this$0.u39_1));
2244
- return new StateException(tmp, copyFromCurrentPrimitive$default(this$0.u39_1, this$0, null, 0, null, 14, null));
2243
+ var tmp = it.z1v().updateLastContext(this$0.m38(this$0.r39_1));
2244
+ return new StateException(tmp, copyFromCurrentPrimitive$default(this$0.r39_1, this$0, null, 0, null, 14, null));
2245
2245
  };
2246
2246
  }
2247
2247
  function StatePrimitiveExecution$computeNext$lambda_2(it) {
@@ -2249,15 +2249,15 @@
2249
2249
  }
2250
2250
  function StatePrimitiveExecution(context) {
2251
2251
  AbstractState.call(this, context);
2252
- this.u39_1 = context;
2252
+ this.r39_1 = context;
2253
2253
  }
2254
2254
  StatePrimitiveExecution.prototype.j5 = function () {
2255
- return this.u39_1;
2255
+ return this.r39_1;
2256
2256
  };
2257
- StatePrimitiveExecution.prototype.f38 = function () {
2257
+ StatePrimitiveExecution.prototype.c38 = function () {
2258
2258
  var tmp;
2259
2259
  try {
2260
- var tmp0_safe_receiver = this.u39_1.z33_1.uq();
2260
+ var tmp0_safe_receiver = this.r39_1.w33_1.rq();
2261
2261
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.solution;
2262
2262
  var tmp_0;
2263
2263
  if (tmp1_safe_receiver == null) {
@@ -2266,12 +2266,12 @@
2266
2266
  var tmp_1 = StatePrimitiveExecution$computeNext$lambda(this);
2267
2267
  var tmp_2 = StatePrimitiveExecution$computeNext$lambda_0(this);
2268
2268
  var tmp_3 = StatePrimitiveExecution$computeNext$lambda_1(this);
2269
- tmp_0 = tmp1_safe_receiver.g1w(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
2269
+ tmp_0 = tmp1_safe_receiver.d1w(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
2270
2270
  }
2271
2271
  var tmp2_elvis_lhs = tmp_0;
2272
2272
  var tmp_4;
2273
2273
  if (tmp2_elvis_lhs == null) {
2274
- tmp_4 = new StateBacktracking(copyFromCurrentPrimitive$default(this.u39_1, this, null, 0, null, 14, null));
2274
+ tmp_4 = new StateBacktracking(copyFromCurrentPrimitive$default(this.r39_1, this, null, 0, null, 14, null));
2275
2275
  } else {
2276
2276
  tmp_4 = tmp2_elvis_lhs;
2277
2277
  }
@@ -2279,11 +2279,11 @@
2279
2279
  } catch ($p) {
2280
2280
  var tmp_5;
2281
2281
  if ($p instanceof ResolutionException) {
2282
- var tmp_6 = $p.updateLastContext(this.p38(this.u39_1));
2282
+ var tmp_6 = $p.updateLastContext(this.m38(this.r39_1));
2283
2283
  var tmp_7 = new Long(0, 0);
2284
2284
  var tmp_8 = new Long(0, 0);
2285
- var tmp_9 = this.o38();
2286
- tmp_5 = new StateException(tmp_6, this.u39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_7, tmp_8, null, null, 0, tmp_9, null, 3145727, null));
2285
+ var tmp_9 = this.l38();
2286
+ tmp_5 = new StateException(tmp_6, this.r39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_7, tmp_8, null, null, 0, tmp_9, null, 3145727, null));
2287
2287
  } else {
2288
2288
  throw $p;
2289
2289
  }
@@ -2291,17 +2291,17 @@
2291
2291
  }
2292
2292
  return tmp;
2293
2293
  };
2294
- StatePrimitiveExecution.prototype.k38 = function (context) {
2295
- return this.t38(context);
2294
+ StatePrimitiveExecution.prototype.h38 = function (context) {
2295
+ return this.q38(context);
2296
2296
  };
2297
- StatePrimitiveExecution.prototype.t38 = function (context) {
2297
+ StatePrimitiveExecution.prototype.q38 = function (context) {
2298
2298
  return new StatePrimitiveExecution(context);
2299
2299
  };
2300
2300
  StatePrimitiveExecution.prototype.toString = function () {
2301
- return 'StatePrimitiveExecution(context=' + this.u39_1 + ')';
2301
+ return 'StatePrimitiveExecution(context=' + this.r39_1 + ')';
2302
2302
  };
2303
2303
  StatePrimitiveExecution.prototype.hashCode = function () {
2304
- return this.u39_1.hashCode();
2304
+ return this.r39_1.hashCode();
2305
2305
  };
2306
2306
  StatePrimitiveExecution.prototype.equals = function (other) {
2307
2307
  if (this === other)
@@ -2309,44 +2309,44 @@
2309
2309
  if (!(other instanceof StatePrimitiveExecution))
2310
2310
  return false;
2311
2311
  var tmp0_other_with_cast = other instanceof StatePrimitiveExecution ? other : THROW_CCE();
2312
- if (!this.u39_1.equals(tmp0_other_with_cast.u39_1))
2312
+ if (!this.r39_1.equals(tmp0_other_with_cast.r39_1))
2313
2313
  return false;
2314
2314
  return true;
2315
2315
  };
2316
2316
  function exceptionalState($this, exception) {
2317
2317
  var tmp = new Long(0, 0);
2318
2318
  var tmp_0 = new Long(0, 0);
2319
- var tmp_1 = $this.o38();
2320
- return new StateException(exception, $this.x39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, null, 0, tmp_1, null, 3145727, null));
2319
+ var tmp_1 = $this.l38();
2320
+ return new StateException(exception, $this.u39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, null, 0, tmp_1, null, 3145727, null));
2321
2321
  }
2322
2322
  function StatePrimitiveSelection(context) {
2323
2323
  AbstractState.call(this, context);
2324
- this.x39_1 = context;
2324
+ this.u39_1 = context;
2325
2325
  }
2326
2326
  StatePrimitiveSelection.prototype.j5 = function () {
2327
- return this.x39_1;
2327
+ return this.u39_1;
2328
2328
  };
2329
- StatePrimitiveSelection.prototype.f38 = function () {
2329
+ StatePrimitiveSelection.prototype.c38 = function () {
2330
2330
  var tmp$ret$1;
2331
2331
  // Inline function 'kotlin.with' call
2332
- var tmp0_with = this.x39_1;
2332
+ var tmp0_with = this.u39_1;
2333
2333
  // Inline function 'kotlin.contracts.contract' call
2334
2334
  var tmp$ret$0;
2335
2335
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveSelection.computeNext.<anonymous>' call
2336
- var goal = ensureNotNull(tmp0_with.z36());
2336
+ var goal = ensureNotNull(tmp0_with.w36());
2337
2337
  var tmp;
2338
- if (goal.bx()) {
2339
- tmp = exceptionalState(this, Companion_getInstance_17().forGoal(this.x39_1, extractSignature(ensureNotNull(this.x39_1.l33_1)), goal.castToVar()));
2340
- } else if (goal.lw()) {
2338
+ if (goal.yw()) {
2339
+ tmp = exceptionalState(this, Companion_getInstance_17().forGoal(this.u39_1, extractSignature(ensureNotNull(this.u39_1.i33_1)), goal.castToVar()));
2340
+ } else if (goal.iw()) {
2341
2341
  var goalStruct = goal.castToStruct();
2342
2342
  var signature = extractSignature(goalStruct);
2343
2343
  var tmp_0;
2344
- if (tmp0_with.n33_1.hasPrimitive(signature)) {
2344
+ if (tmp0_with.k33_1.hasPrimitive(signature)) {
2345
2345
  var childContext = createChild$default(tmp0_with, false, 1, null);
2346
2346
  var tmp_1;
2347
2347
  try {
2348
- var request = toRequest(childContext, goalStruct, signature, this.l38());
2349
- var tmp0_elvis_lhs = tmp0_with.n33_1.n2e().a3(signature);
2348
+ var request = toRequest(childContext, goalStruct, signature, this.i38());
2349
+ var tmp0_elvis_lhs = tmp0_with.k33_1.k2e().a3(signature);
2350
2350
  var tmp_2;
2351
2351
  if (tmp0_elvis_lhs == null) {
2352
2352
  throw IllegalStateException_init_$Create$('Inconsistent behaviour of Library.contains and Library.get');
@@ -2359,7 +2359,7 @@
2359
2359
  } catch ($p) {
2360
2360
  var tmp_3;
2361
2361
  if ($p instanceof ResolutionException) {
2362
- tmp_3 = exceptionalState(this, $p.updateLastContext(this.p38(childContext)));
2362
+ tmp_3 = exceptionalState(this, $p.updateLastContext(this.m38(childContext)));
2363
2363
  } else {
2364
2364
  throw $p;
2365
2365
  }
@@ -2369,13 +2369,13 @@
2369
2369
  } else {
2370
2370
  var tmp_4 = new Long(0, 0);
2371
2371
  var tmp_5 = new Long(0, 0);
2372
- var tmp_6 = this.o38();
2373
- tmp_0 = new StateRuleSelection(this.x39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_4, tmp_5, null, null, 0, tmp_6, null, 3145727, null));
2372
+ var tmp_6 = this.l38();
2373
+ tmp_0 = new StateRuleSelection(this.u39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_4, tmp_5, null, null, 0, tmp_6, null, 3145727, null));
2374
2374
  }
2375
2375
  tmp = tmp_0;
2376
2376
  } else {
2377
2377
  var tmp_7 = Companion_getInstance_16();
2378
- var tmp1_safe_receiver = this.x39_1.l33_1;
2378
+ var tmp1_safe_receiver = this.u39_1.i33_1;
2379
2379
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : extractSignature(tmp1_safe_receiver);
2380
2380
  var tmp_8;
2381
2381
  if (tmp2_elvis_lhs == null) {
@@ -2383,23 +2383,23 @@
2383
2383
  } else {
2384
2384
  tmp_8 = tmp2_elvis_lhs;
2385
2385
  }
2386
- tmp = exceptionalState(this, tmp_7.forGoal(this.x39_1, tmp_8, Expected_CALLABLE_getInstance(), goal));
2386
+ tmp = exceptionalState(this, tmp_7.forGoal(this.u39_1, tmp_8, Expected_CALLABLE_getInstance(), goal));
2387
2387
  }
2388
2388
  tmp$ret$0 = tmp;
2389
2389
  tmp$ret$1 = tmp$ret$0;
2390
2390
  return tmp$ret$1;
2391
2391
  };
2392
- StatePrimitiveSelection.prototype.k38 = function (context) {
2393
- return this.t38(context);
2392
+ StatePrimitiveSelection.prototype.h38 = function (context) {
2393
+ return this.q38(context);
2394
2394
  };
2395
- StatePrimitiveSelection.prototype.t38 = function (context) {
2395
+ StatePrimitiveSelection.prototype.q38 = function (context) {
2396
2396
  return new StatePrimitiveSelection(context);
2397
2397
  };
2398
2398
  StatePrimitiveSelection.prototype.toString = function () {
2399
- return 'StatePrimitiveSelection(context=' + this.x39_1 + ')';
2399
+ return 'StatePrimitiveSelection(context=' + this.u39_1 + ')';
2400
2400
  };
2401
2401
  StatePrimitiveSelection.prototype.hashCode = function () {
2402
- return this.x39_1.hashCode();
2402
+ return this.u39_1.hashCode();
2403
2403
  };
2404
2404
  StatePrimitiveSelection.prototype.equals = function (other) {
2405
2405
  if (this === other)
@@ -2407,7 +2407,7 @@
2407
2407
  if (!(other instanceof StatePrimitiveSelection))
2408
2408
  return false;
2409
2409
  var tmp0_other_with_cast = other instanceof StatePrimitiveSelection ? other : THROW_CCE();
2410
- if (!this.x39_1.equals(tmp0_other_with_cast.x39_1))
2410
+ if (!this.u39_1.equals(tmp0_other_with_cast.u39_1))
2411
2411
  return false;
2412
2412
  return true;
2413
2413
  };
@@ -2415,53 +2415,53 @@
2415
2415
  var tmp = Companion_getInstance_9().empty();
2416
2416
  var tmp_0 = new Long(0, 0);
2417
2417
  var tmp_1 = new Long(0, 0);
2418
- var tmp_2 = $this.o38();
2419
- return new StateBacktracking($this.a3a_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3137535, null));
2418
+ var tmp_2 = $this.l38();
2419
+ return new StateBacktracking($this.x39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3137535, null));
2420
2420
  }
2421
2421
  function StateRuleExecution(context) {
2422
2422
  AbstractState.call(this, context);
2423
- this.a3a_1 = context;
2423
+ this.x39_1 = context;
2424
2424
  }
2425
2425
  StateRuleExecution.prototype.j5 = function () {
2426
- return this.a3a_1;
2426
+ return this.x39_1;
2427
2427
  };
2428
- StateRuleExecution.prototype.f38 = function () {
2428
+ StateRuleExecution.prototype.c38 = function () {
2429
2429
  var tmp$ret$1;
2430
2430
  // Inline function 'kotlin.with' call
2431
- var tmp0_with = this.a3a_1;
2431
+ var tmp0_with = this.x39_1;
2432
2432
  // Inline function 'kotlin.contracts.contract' call
2433
2433
  var tmp$ret$0;
2434
2434
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleExecution.computeNext.<anonymous>' call
2435
- tmp$ret$0 = tmp0_with.m33_1.mgu(ensureNotNull(tmp0_with.z36()), ensureNotNull(tmp0_with.y33_1.uq()).ly());
2435
+ tmp$ret$0 = tmp0_with.j33_1.mgu(ensureNotNull(tmp0_with.w36()), ensureNotNull(tmp0_with.v33_1.rq()).iy());
2436
2436
  tmp$ret$1 = tmp$ret$0;
2437
2437
  var substitution = tmp$ret$1;
2438
2438
  var tmp;
2439
- if (substitution.q12()) {
2440
- var newSubstitution = this.a3a_1.v33_1.plus(substitution).castToUnifier();
2441
- var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.a3a_1.y33_1.uq()), newSubstitution).my().getSubstituted(newSubstitution, []);
2442
- var tmp0_$this = this.a3a_1;
2439
+ if (substitution.n12()) {
2440
+ var newSubstitution = this.x39_1.s33_1.plus(substitution).castToUnifier();
2441
+ var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.x39_1.v33_1.rq()), newSubstitution).jy().getSubstituted(newSubstitution, []);
2442
+ var tmp0_$this = this.x39_1;
2443
2443
  var tmp1_goals = toGoals(subGoals);
2444
2444
  var tmp2_rules = Companion_getInstance_9().empty();
2445
- var tmp3_step = this.o38();
2445
+ var tmp3_step = this.l38();
2446
2446
  var tmp_0 = new Long(0, 0);
2447
2447
  var tmp_1 = new Long(0, 0);
2448
- tmp = new StateGoalSelection(tmp0_$this.c35(null, null, null, null, null, null, null, null, null, null, newSubstitution, null, tmp1_goals, tmp2_rules, null, tmp_0, tmp_1, null, null, 0, tmp3_step, null, 3132415, null));
2448
+ tmp = new StateGoalSelection(tmp0_$this.z34(null, null, null, null, null, null, null, null, null, null, newSubstitution, null, tmp1_goals, tmp2_rules, null, tmp_0, tmp_1, null, null, 0, tmp3_step, null, 3132415, null));
2449
2449
  } else {
2450
2450
  tmp = _get_failureState__yid9tw(this);
2451
2451
  }
2452
2452
  return tmp;
2453
2453
  };
2454
- StateRuleExecution.prototype.k38 = function (context) {
2455
- return this.t38(context);
2454
+ StateRuleExecution.prototype.h38 = function (context) {
2455
+ return this.q38(context);
2456
2456
  };
2457
- StateRuleExecution.prototype.t38 = function (context) {
2457
+ StateRuleExecution.prototype.q38 = function (context) {
2458
2458
  return new StateRuleExecution(context);
2459
2459
  };
2460
2460
  StateRuleExecution.prototype.toString = function () {
2461
- return 'StateRuleExecution(context=' + this.a3a_1 + ')';
2461
+ return 'StateRuleExecution(context=' + this.x39_1 + ')';
2462
2462
  };
2463
2463
  StateRuleExecution.prototype.hashCode = function () {
2464
- return this.a3a_1.hashCode();
2464
+ return this.x39_1.hashCode();
2465
2465
  };
2466
2466
  StateRuleExecution.prototype.equals = function (other) {
2467
2467
  if (this === other)
@@ -2469,23 +2469,23 @@
2469
2469
  if (!(other instanceof StateRuleExecution))
2470
2470
  return false;
2471
2471
  var tmp0_other_with_cast = other instanceof StateRuleExecution ? other : THROW_CCE();
2472
- if (!this.a3a_1.equals(tmp0_other_with_cast.a3a_1))
2472
+ if (!this.x39_1.equals(tmp0_other_with_cast.x39_1))
2473
2473
  return false;
2474
2474
  return true;
2475
2475
  };
2476
2476
  function None() {
2477
2477
  None_instance = this;
2478
2478
  CutLimit.call(this);
2479
- this.b3a_1 = -1;
2480
- this.c3a_1 = null;
2479
+ this.y39_1 = -1;
2480
+ this.z39_1 = null;
2481
2481
  }
2482
- None.prototype.d3a = function () {
2483
- return this.b3a_1;
2482
+ None.prototype.a3a = function () {
2483
+ return this.y39_1;
2484
2484
  };
2485
- None.prototype.q1u = function () {
2486
- return this.c3a_1;
2485
+ None.prototype.n1u = function () {
2486
+ return this.z39_1;
2487
2487
  };
2488
- None.prototype.e3a = function () {
2488
+ None.prototype.b3a = function () {
2489
2489
  return true;
2490
2490
  };
2491
2491
  var None_instance;
@@ -2496,27 +2496,27 @@
2496
2496
  }
2497
2497
  function Actual(depthToCut, procedure) {
2498
2498
  CutLimit.call(this);
2499
- this.f3a_1 = depthToCut;
2500
- this.g3a_1 = procedure;
2499
+ this.c3a_1 = depthToCut;
2500
+ this.d3a_1 = procedure;
2501
2501
  }
2502
- Actual.prototype.d3a = function () {
2503
- return this.f3a_1;
2502
+ Actual.prototype.a3a = function () {
2503
+ return this.c3a_1;
2504
2504
  };
2505
- Actual.prototype.q1u = function () {
2506
- return this.g3a_1;
2505
+ Actual.prototype.n1u = function () {
2506
+ return this.d3a_1;
2507
2507
  };
2508
2508
  function CutLimit() {
2509
2509
  }
2510
- CutLimit.prototype.e3a = function () {
2510
+ CutLimit.prototype.b3a = function () {
2511
2511
  return false;
2512
2512
  };
2513
2513
  function Companion_0() {
2514
2514
  Companion_instance_0 = this;
2515
- this.h3a_1 = Catch_getInstance().signature;
2515
+ this.e3a_1 = Catch_getInstance().signature;
2516
2516
  var tmp = this;
2517
2517
  var tmp_0 = Signature_init_$Create$(',', 2, false, 4, null);
2518
2518
  var tmp_1 = Signature_init_$Create$(';', 2, false, 4, null);
2519
- tmp.i3a_1 = setOf([tmp_0, tmp_1, Signature_init_$Create$('->', 2, false, 4, null)]);
2519
+ tmp.f3a_1 = setOf([tmp_0, tmp_1, Signature_init_$Create$('->', 2, false, 4, null)]);
2520
2520
  }
2521
2521
  var Companion_instance_0;
2522
2522
  function Companion_getInstance_23() {
@@ -2527,19 +2527,19 @@
2527
2527
  function _get_failureState__yid9tw_0($this) {
2528
2528
  var tmp = new Long(0, 0);
2529
2529
  var tmp_0 = new Long(0, 0);
2530
- var tmp_1 = $this.o38();
2531
- return new StateBacktracking($this.l3a_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, null, 0, tmp_1, null, 3145727, null));
2530
+ var tmp_1 = $this.l38();
2531
+ return new StateBacktracking($this.i3a_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, null, 0, tmp_1, null, 3145727, null));
2532
2532
  }
2533
2533
  function exceptionalState_0($this, exception) {
2534
2534
  var tmp = new Long(0, 0);
2535
2535
  var tmp_0 = new Long(0, 0);
2536
- var tmp_1 = $this.o38();
2537
- return new StateException(exception, $this.l3a_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, null, 0, tmp_1, null, 3145727, null));
2536
+ var tmp_1 = $this.l38();
2537
+ return new StateException(exception, $this.i3a_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp, tmp_0, null, null, 0, tmp_1, null, 3145727, null));
2538
2538
  }
2539
2539
  function missingProcedure($this, ruleSources, missing) {
2540
- var unknown = $this.l3a_1.o33_1.get(Unknown_getInstance());
2540
+ var unknown = $this.i3a_1.l33_1.get(Unknown_getInstance());
2541
2541
  var tmp;
2542
- if (equals(unknown, Unknown_getInstance().a2a_1)) {
2542
+ if (equals(unknown, Unknown_getInstance().x29_1)) {
2543
2543
  tmp = _get_failureState__yid9tw_0($this);
2544
2544
  } else {
2545
2545
  var tmp_0;
@@ -2548,7 +2548,7 @@
2548
2548
  // Inline function 'kotlin.sequences.none' call
2549
2549
  var tmp0_iterator = ruleSources.j();
2550
2550
  while (tmp0_iterator.m()) {
2551
- var element = tmp0_iterator.p();
2551
+ var element = tmp0_iterator.n();
2552
2552
  var tmp$ret$0;
2553
2553
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2554
2554
  tmp$ret$0 = element.containsIndicator(missing.toIndicator());
@@ -2562,15 +2562,15 @@
2562
2562
  if (tmp$ret$1) {
2563
2563
  var tmp0_subject = unknown;
2564
2564
  var tmp_1;
2565
- if (equals(tmp0_subject, Unknown_getInstance().y29_1)) {
2566
- tmp_1 = exceptionalState_0($this, Companion_getInstance_18().forProcedure($this.l3a_1, missing));
2567
- } else if (equals(tmp0_subject, Unknown_getInstance().z29_1)) {
2565
+ if (equals(tmp0_subject, Unknown_getInstance().v29_1)) {
2566
+ tmp_1 = exceptionalState_0($this, Companion_getInstance_18().forProcedure($this.i3a_1, missing));
2567
+ } else if (equals(tmp0_subject, Unknown_getInstance().w29_1)) {
2568
2568
  var tmp$ret$2;
2569
2569
  // Inline function 'kotlin.also' call
2570
2570
  var tmp0_also = _get_failureState__yid9tw_0($this);
2571
2571
  // Inline function 'kotlin.contracts.contract' call
2572
2572
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2573
- $this.l3a_1.o1v().write(MissingPredicate_init_$Create$($this.l3a_1, missing));
2573
+ $this.i3a_1.l1v().write(MissingPredicate_init_$Create$($this.i3a_1, missing));
2574
2574
  tmp$ret$2 = tmp0_also;
2575
2575
  tmp_1 = tmp$ret$2;
2576
2576
  } else {
@@ -2585,31 +2585,31 @@
2585
2585
  return tmp;
2586
2586
  }
2587
2587
  function _get_ignoreState__t4wl8y($this) {
2588
- var tmp = $this.l3a_1.x33_1.tq();
2588
+ var tmp = $this.i3a_1.u33_1.qq();
2589
2589
  var tmp_0 = new Long(0, 0);
2590
2590
  var tmp_1 = new Long(0, 0);
2591
- var tmp_2 = $this.o38();
2592
- return new StateGoalSelection($this.l3a_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, tmp, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3141631, null));
2591
+ var tmp_2 = $this.l38();
2592
+ return new StateGoalSelection($this.i3a_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, tmp, null, null, tmp_0, tmp_1, null, null, 0, tmp_2, null, 3141631, null));
2593
2593
  }
2594
2594
  function isCut(_this__u8e3s4, $this) {
2595
- return _this__u8e3s4.aw() ? _this__u8e3s4.castToAtom().b1() === '!' : false;
2595
+ return _this__u8e3s4.xv() ? _this__u8e3s4.castToAtom().b1() === '!' : false;
2596
2596
  }
2597
2597
  function computeCutLimit(_this__u8e3s4, $this, magicCut) {
2598
2598
  var tmp;
2599
2599
  if (magicCut) {
2600
- tmp = firstOrNull(_this__u8e3s4.h34_1);
2600
+ tmp = firstOrNull(_this__u8e3s4.e34_1);
2601
2601
  } else {
2602
2602
  var tmp$ret$1;
2603
2603
  $l$block: {
2604
2604
  // Inline function 'kotlin.sequences.firstOrNull' call
2605
- var tmp0_firstOrNull = _this__u8e3s4.h34_1;
2605
+ var tmp0_firstOrNull = _this__u8e3s4.e34_1;
2606
2606
  var tmp0_iterator = tmp0_firstOrNull.j();
2607
2607
  while (tmp0_iterator.m()) {
2608
- var element = tmp0_iterator.p();
2608
+ var element = tmp0_iterator.n();
2609
2609
  var tmp$ret$0;
2610
2610
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeCutLimit.<anonymous>' call
2611
- var tmp_0 = Companion_getInstance_23().i3a_1;
2612
- var tmp0_safe_receiver = element.l33_1;
2611
+ var tmp_0 = Companion_getInstance_23().f3a_1;
2612
+ var tmp0_safe_receiver = element.i33_1;
2613
2613
  tmp$ret$0 = !contains_0(tmp_0, tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver));
2614
2614
  if (tmp$ret$0) {
2615
2615
  tmp$ret$1 = element;
@@ -2625,21 +2625,21 @@
2625
2625
  if (cutLimit == null) {
2626
2626
  tmp_1 = None_getInstance();
2627
2627
  } else {
2628
- tmp_1 = new Actual(cutLimit.e34_1, cutLimit.l33_1);
2628
+ tmp_1 = new Actual(cutLimit.b34_1, cutLimit.i33_1);
2629
2629
  }
2630
2630
  return tmp_1;
2631
2631
  }
2632
2632
  function cutCanBeSkipped($this, cutLimit, executionContext) {
2633
- return (cutLimit.e3a() ? true : cutLimit.d3a() > executionContext.e34_1) ? true : cutLimit.d3a() === executionContext.e34_1 ? !equals(cutLimit.q1u(), executionContext.l33_1) : false;
2633
+ return (cutLimit.b3a() ? true : cutLimit.a3a() > executionContext.b34_1) ? true : cutLimit.a3a() === executionContext.b34_1 ? !equals(cutLimit.n1u(), executionContext.i33_1) : false;
2634
2634
  }
2635
2635
  function performCut(_this__u8e3s4, $this, cutLimit) {
2636
2636
  var tmp;
2637
2637
  if (_this__u8e3s4 === null) {
2638
2638
  tmp = null;
2639
- } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.x34()))) {
2639
+ } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.u34()))) {
2640
2640
  tmp = _this__u8e3s4;
2641
2641
  } else {
2642
- var tmp_0 = _this__u8e3s4.k35();
2642
+ var tmp_0 = _this__u8e3s4.h35();
2643
2643
  var cutCandidates = filter(tmp_0, StateRuleSelection$performCut$lambda(cutLimit));
2644
2644
  var tmp_1;
2645
2645
  if (any(cutCandidates)) {
@@ -2648,10 +2648,10 @@
2648
2648
  // Inline function 'kotlin.sequences.firstOrNull' call
2649
2649
  var tmp0_iterator = cutCandidates.j();
2650
2650
  while (tmp0_iterator.m()) {
2651
- var element = tmp0_iterator.p();
2651
+ var element = tmp0_iterator.n();
2652
2652
  var tmp$ret$0;
2653
2653
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.performCut.<anonymous>' call
2654
- tmp$ret$0 = ensureNotNull(element.x34()).e34_1 <= cutLimit.d3a();
2654
+ tmp$ret$0 = ensureNotNull(element.u34()).b34_1 <= cutLimit.a3a();
2655
2655
  if (tmp$ret$0) {
2656
2656
  tmp$ret$1 = element;
2657
2657
  break $l$block;
@@ -2660,7 +2660,7 @@
2660
2660
  tmp$ret$1 = null;
2661
2661
  }
2662
2662
  var tmp0_safe_receiver = tmp$ret$1;
2663
- tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y34();
2663
+ tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v34();
2664
2664
  } else {
2665
2665
  tmp_1 = _this__u8e3s4;
2666
2666
  }
@@ -2670,10 +2670,10 @@
2670
2670
  }
2671
2671
  function _get_isTailRecursive__h5eso7(_this__u8e3s4, $this) {
2672
2672
  var tmp;
2673
- if (_this__u8e3s4.x33_1.tq().wq() ? equals(_this__u8e3s4.o33_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().n29_1) : false) {
2673
+ if (_this__u8e3s4.u33_1.qq().tq() ? equals(_this__u8e3s4.l33_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().k29_1) : false) {
2674
2674
  var tmp$ret$3;
2675
2675
  // Inline function 'kotlin.let' call
2676
- var tmp0_let = ensureNotNull(_this__u8e3s4.z36());
2676
+ var tmp0_let = ensureNotNull(_this__u8e3s4.w36());
2677
2677
  // Inline function 'kotlin.contracts.contract' call
2678
2678
  var tmp$ret$2;
2679
2679
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>' call
@@ -2689,9 +2689,9 @@
2689
2689
  var tmp$ret$0;
2690
2690
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>.<anonymous>' call
2691
2691
  var tmp_1;
2692
- var tmp0_safe_receiver_0 = _this__u8e3s4.l33_1;
2692
+ var tmp0_safe_receiver_0 = _this__u8e3s4.i33_1;
2693
2693
  if (equals(tmp1_safe_receiver, tmp0_safe_receiver_0 == null ? null : extractSignature(tmp0_safe_receiver_0))) {
2694
- tmp_1 = !equals(tmp1_safe_receiver, Companion_getInstance_23().h3a_1);
2694
+ tmp_1 = !equals(tmp1_safe_receiver, Companion_getInstance_23().e3a_1);
2695
2695
  } else {
2696
2696
  tmp_1 = false;
2697
2697
  }
@@ -2717,7 +2717,7 @@
2717
2717
  var tmp$ret$0;
2718
2718
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.selectClauses.<anonymous>' call
2719
2719
  var tmp_0;
2720
- if (_this__u8e3s4.a1t()) {
2720
+ if (_this__u8e3s4.x1s()) {
2721
2721
  tmp_0 = buffered(tmp0_let);
2722
2722
  } else {
2723
2723
  tmp_0 = tmp0_let;
@@ -2728,7 +2728,7 @@
2728
2728
  }
2729
2729
  function StateRuleSelection$performCut$lambda($cutLimit) {
2730
2730
  return function (it) {
2731
- return equals(ensureNotNull(it.x34()).l33_1, $cutLimit.q1u());
2731
+ return equals(ensureNotNull(it.u34()).i33_1, $cutLimit.n1u());
2732
2732
  };
2733
2733
  }
2734
2734
  function StateRuleSelection$computeNext$lambda(this$0, $currentGoalStruct) {
@@ -2737,34 +2737,34 @@
2737
2737
  };
2738
2738
  }
2739
2739
  function StateRuleSelection$selectClauses$lambda(it) {
2740
- return it.iw();
2740
+ return it.fw();
2741
2741
  }
2742
2742
  function StateRuleSelection(context) {
2743
2743
  Companion_getInstance_23();
2744
2744
  AbstractState.call(this, context);
2745
- this.l3a_1 = context;
2745
+ this.i3a_1 = context;
2746
2746
  }
2747
2747
  StateRuleSelection.prototype.j5 = function () {
2748
- return this.l3a_1;
2748
+ return this.i3a_1;
2749
2749
  };
2750
- StateRuleSelection.prototype.f38 = function () {
2751
- var currentGoal = ensureNotNull(this.l3a_1.z36());
2750
+ StateRuleSelection.prototype.c38 = function () {
2751
+ var currentGoal = ensureNotNull(this.i3a_1.w36());
2752
2752
  var tmp;
2753
- if (currentGoal.bx()) {
2754
- tmp = exceptionalState_0(this, Companion_getInstance_17().forGoal(this.l3a_1, extractSignature(ensureNotNull(this.l3a_1.l33_1)), currentGoal.castToVar()));
2755
- } else if (currentGoal.lw()) {
2753
+ if (currentGoal.yw()) {
2754
+ tmp = exceptionalState_0(this, Companion_getInstance_17().forGoal(this.i3a_1, extractSignature(ensureNotNull(this.i3a_1.i33_1)), currentGoal.castToVar()));
2755
+ } else if (currentGoal.iw()) {
2756
2756
  var tmp$ret$5;
2757
2757
  // Inline function 'kotlin.with' call
2758
- var tmp0_with = this.l3a_1;
2758
+ var tmp0_with = this.i3a_1;
2759
2759
  // Inline function 'kotlin.contracts.contract' call
2760
2760
  var tmp$ret$4;
2761
2761
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>' call
2762
2762
  var currentGoalStruct = currentGoal.castToStruct();
2763
- var ruleSources = sequenceOf([tmp0_with.n33_1.asTheory(tmp0_with.m33_1), tmp0_with.p33_1, tmp0_with.q33_1]);
2763
+ var ruleSources = sequenceOf([tmp0_with.k33_1.asTheory(tmp0_with.j33_1), tmp0_with.m33_1, tmp0_with.n33_1]);
2764
2764
  var tmp_0;
2765
- if (currentGoalStruct.cx()) {
2765
+ if (currentGoalStruct.zw()) {
2766
2766
  var tmp_1;
2767
- if (currentGoalStruct.dw()) {
2767
+ if (currentGoalStruct.aw()) {
2768
2768
  tmp_1 = _get_ignoreState__t4wl8y(this);
2769
2769
  } else {
2770
2770
  tmp_1 = _get_failureState__yid9tw_0(this);
@@ -2781,9 +2781,9 @@
2781
2781
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2782
2782
  var tmp_2 = new Long(0, 0);
2783
2783
  var tmp_3 = new Long(0, 0);
2784
- var tmp_4 = performCut(tmp0_let.i39_1.c34_1, this, cutLimit);
2784
+ var tmp_4 = performCut(tmp0_let.f39_1.z33_1, this, cutLimit);
2785
2785
  var tmp_5 = new Long(0, 0);
2786
- tmp$ret$0 = tmp0_let.t38(tmp0_let.i39_1.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_2, tmp_3, tmp_4, null, 0, tmp_5, null, 4063231, null));
2786
+ tmp$ret$0 = tmp0_let.q38(tmp0_let.f39_1.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, tmp_2, tmp_3, tmp_4, null, 0, tmp_5, null, 4063231, null));
2787
2787
  tmp$ret$1 = tmp$ret$0;
2788
2788
  tmp_0 = tmp$ret$1;
2789
2789
  } else {
@@ -2792,7 +2792,7 @@
2792
2792
  // Inline function 'kotlin.sequences.any' call
2793
2793
  var tmp0_iterator = ruleSources.j();
2794
2794
  while (tmp0_iterator.m()) {
2795
- var element = tmp0_iterator.p();
2795
+ var element = tmp0_iterator.n();
2796
2796
  var tmp$ret$2;
2797
2797
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2798
2798
  tmp$ret$2 = element.containsHead(currentGoalStruct);
@@ -2806,10 +2806,10 @@
2806
2806
  if (tmp$ret$3) {
2807
2807
  var rules = cursor(flatMap(ruleSources, StateRuleSelection$computeNext$lambda(this, currentGoalStruct)));
2808
2808
  var tmp_6;
2809
- if (_get_isTailRecursive__h5eso7(this.l3a_1, this)) {
2810
- tmp_6 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints$default(this.l3a_1, rules, false, 2, null));
2809
+ if (_get_isTailRecursive__h5eso7(this.i3a_1, this)) {
2810
+ tmp_6 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints$default(this.i3a_1, rules, false, 2, null));
2811
2811
  } else {
2812
- tmp_6 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints$default(this.l3a_1, rules, false, 2, null));
2812
+ tmp_6 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints$default(this.i3a_1, rules, false, 2, null));
2813
2813
  }
2814
2814
  tmp_0 = tmp_6;
2815
2815
  } else {
@@ -2821,21 +2821,21 @@
2821
2821
  tmp$ret$5 = tmp$ret$4;
2822
2822
  tmp = tmp$ret$5;
2823
2823
  } else {
2824
- tmp = exceptionalState_0(this, Companion_getInstance_16().forGoal(this.l3a_1, extractSignature(ensureNotNull(this.l3a_1.l33_1)), Expected_CALLABLE_getInstance(), currentGoal));
2824
+ tmp = exceptionalState_0(this, Companion_getInstance_16().forGoal(this.i3a_1, extractSignature(ensureNotNull(this.i3a_1.i33_1)), Expected_CALLABLE_getInstance(), currentGoal));
2825
2825
  }
2826
2826
  return tmp;
2827
2827
  };
2828
- StateRuleSelection.prototype.k38 = function (context) {
2829
- return this.t38(context);
2828
+ StateRuleSelection.prototype.h38 = function (context) {
2829
+ return this.q38(context);
2830
2830
  };
2831
- StateRuleSelection.prototype.t38 = function (context) {
2831
+ StateRuleSelection.prototype.q38 = function (context) {
2832
2832
  return new StateRuleSelection(context);
2833
2833
  };
2834
2834
  StateRuleSelection.prototype.toString = function () {
2835
- return 'StateRuleSelection(context=' + this.l3a_1 + ')';
2835
+ return 'StateRuleSelection(context=' + this.i3a_1 + ')';
2836
2836
  };
2837
2837
  StateRuleSelection.prototype.hashCode = function () {
2838
- return this.l3a_1.hashCode();
2838
+ return this.i3a_1.hashCode();
2839
2839
  };
2840
2840
  StateRuleSelection.prototype.equals = function (other) {
2841
2841
  if (this === other)
@@ -2843,22 +2843,22 @@
2843
2843
  if (!(other instanceof StateRuleSelection))
2844
2844
  return false;
2845
2845
  var tmp0_other_with_cast = other instanceof StateRuleSelection ? other : THROW_CCE();
2846
- if (!this.l3a_1.equals(tmp0_other_with_cast.l3a_1))
2846
+ if (!this.i3a_1.equals(tmp0_other_with_cast.i3a_1))
2847
2847
  return false;
2848
2848
  return true;
2849
2849
  };
2850
2850
  function appendRulesAndChoicePoints(_this__u8e3s4, rules) {
2851
2851
  var tmp;
2852
- if (rules.vq()) {
2853
- tmp = appendRules(_this__u8e3s4.c34_1, rules.tq(), _this__u8e3s4);
2852
+ if (rules.sq()) {
2853
+ tmp = appendRules(_this__u8e3s4.z33_1, rules.qq(), _this__u8e3s4);
2854
2854
  } else {
2855
- tmp = appendRules(_this__u8e3s4.c34_1, Companion_getInstance_9().empty(), _this__u8e3s4);
2855
+ tmp = appendRules(_this__u8e3s4.z33_1, Companion_getInstance_9().empty(), _this__u8e3s4);
2856
2856
  }
2857
2857
  var newChoicePointContext = tmp;
2858
2858
  var tmp_0 = new Long(0, 0);
2859
2859
  var tmp_1 = new Long(0, 0);
2860
2860
  var tmp_2 = new Long(0, 0);
2861
- return _this__u8e3s4.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, rules, null, tmp_0, tmp_1, newChoicePointContext, null, 0, tmp_2, null, 4055039, null);
2861
+ return _this__u8e3s4.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, rules, null, tmp_0, tmp_1, newChoicePointContext, null, 0, tmp_2, null, 4055039, null);
2862
2862
  }
2863
2863
  function toGoals(_this__u8e3s4) {
2864
2864
  var tmp = unfoldGoals(_this__u8e3s4);
@@ -2866,8 +2866,8 @@
2866
2866
  }
2867
2867
  function unfoldGoals(_this__u8e3s4) {
2868
2868
  var tmp;
2869
- if (_this__u8e3s4.qw()) {
2870
- var tmp_0 = _this__u8e3s4.castToTuple().ju();
2869
+ if (_this__u8e3s4.nw()) {
2870
+ var tmp_0 = _this__u8e3s4.castToTuple().gu();
2871
2871
  tmp = flatMap(tmp_0, unfoldGoals$lambda);
2872
2872
  } else {
2873
2873
  tmp = sequenceOf([_this__u8e3s4]);
@@ -2875,19 +2875,19 @@
2875
2875
  return tmp;
2876
2876
  }
2877
2877
  function createChild(_this__u8e3s4, inferProcedureFromGoals) {
2878
- var currentGoal = ensureNotNull(_this__u8e3s4.z36()).castToStruct();
2878
+ var currentGoal = ensureNotNull(_this__u8e3s4.w36()).castToStruct();
2879
2879
  var tmp0_goals = toGoals(currentGoal);
2880
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.l33_1;
2881
- var tmp2_depth = _this__u8e3s4.e34_1 + 1 | 0;
2880
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.i33_1;
2881
+ var tmp2_depth = _this__u8e3s4.b34_1 + 1 | 0;
2882
2882
  var tmp$ret$0;
2883
2883
  // Inline function 'kotlin.Long.plus' call
2884
- var tmp0_plus = _this__u8e3s4.f34_1;
2885
- tmp$ret$0 = tmp0_plus.bh(new Long(1, 0));
2884
+ var tmp0_plus = _this__u8e3s4.c34_1;
2885
+ tmp$ret$0 = tmp0_plus.zg(new Long(1, 0));
2886
2886
  var tmp3_step = tmp$ret$0;
2887
2887
  var tmp4_relevantVariables = emptySet();
2888
2888
  var tmp = new Long(0, 0);
2889
2889
  var tmp_0 = new Long(0, 0);
2890
- return _this__u8e3s4.c35(tmp1_procedure, null, null, null, null, null, null, null, null, null, null, null, tmp0_goals, null, null, tmp, tmp_0, null, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables, 258046, null);
2890
+ return _this__u8e3s4.z34(tmp1_procedure, null, null, null, null, null, null, null, null, null, null, null, tmp0_goals, null, null, tmp, tmp_0, null, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables, 258046, null);
2891
2891
  }
2892
2892
  function createChild$default(_this__u8e3s4, inferProcedureFromGoals, $mask0, $handler) {
2893
2893
  if (!(($mask0 & 1) === 0))
@@ -2895,21 +2895,21 @@
2895
2895
  return createChild(_this__u8e3s4, inferProcedureFromGoals);
2896
2896
  }
2897
2897
  function toRequest(_this__u8e3s4, goal, signature, startTime) {
2898
- var tmp = goal.gw();
2898
+ var tmp = goal.dw();
2899
2899
  return Request_init_$Create$(signature, tmp, _this__u8e3s4, startTime, new Long(0, 0), 16, null);
2900
2900
  }
2901
2901
  function appendPrimitivesAndChoicePoints(_this__u8e3s4, primitiveExecutions) {
2902
2902
  var tmp;
2903
- if (primitiveExecutions.vq()) {
2904
- tmp = appendPrimitives(_this__u8e3s4.c34_1, primitiveExecutions.tq(), _this__u8e3s4);
2903
+ if (primitiveExecutions.sq()) {
2904
+ tmp = appendPrimitives(_this__u8e3s4.z33_1, primitiveExecutions.qq(), _this__u8e3s4);
2905
2905
  } else {
2906
- tmp = appendPrimitives(_this__u8e3s4.c34_1, Companion_getInstance_9().empty(), _this__u8e3s4);
2906
+ tmp = appendPrimitives(_this__u8e3s4.z33_1, Companion_getInstance_9().empty(), _this__u8e3s4);
2907
2907
  }
2908
2908
  var newChoicePointContext = tmp;
2909
2909
  var tmp_0 = new Long(0, 0);
2910
2910
  var tmp_1 = new Long(0, 0);
2911
2911
  var tmp_2 = new Long(0, 0);
2912
- return _this__u8e3s4.c35(null, null, null, null, null, null, null, null, null, null, null, null, null, null, primitiveExecutions, tmp_0, tmp_1, newChoicePointContext, null, 0, tmp_2, null, 4046847, null);
2912
+ return _this__u8e3s4.z34(null, null, null, null, null, null, null, null, null, null, null, null, null, null, primitiveExecutions, tmp_0, tmp_1, newChoicePointContext, null, 0, tmp_2, null, 4046847, null);
2913
2913
  }
2914
2914
  function replaceWithChildAppendingRulesAndChoicePoints(_this__u8e3s4, rules, inferProcedureFromGoals) {
2915
2915
  var tempExecutionContext = replaceWithChild(_this__u8e3s4, inferProcedureFromGoals);
@@ -2933,28 +2933,28 @@
2933
2933
  return map(_this__u8e3s4, ensureRules$lambda);
2934
2934
  }
2935
2935
  function replaceWithChild(_this__u8e3s4, inferProcedureFromGoals) {
2936
- var currentGoal = ensureNotNull(_this__u8e3s4.z36()).castToStruct();
2936
+ var currentGoal = ensureNotNull(_this__u8e3s4.w36()).castToStruct();
2937
2937
  var tmp0_goals = toGoals(currentGoal);
2938
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.l33_1;
2939
- var tmp2_depth = _this__u8e3s4.e34_1 + 1 | 0;
2938
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.i33_1;
2939
+ var tmp2_depth = _this__u8e3s4.b34_1 + 1 | 0;
2940
2940
  var tmp$ret$0;
2941
2941
  // Inline function 'kotlin.Long.plus' call
2942
- var tmp0_plus = _this__u8e3s4.f34_1;
2943
- tmp$ret$0 = tmp0_plus.bh(new Long(1, 0));
2942
+ var tmp0_plus = _this__u8e3s4.c34_1;
2943
+ tmp$ret$0 = tmp0_plus.zg(new Long(1, 0));
2944
2944
  var tmp3_step = tmp$ret$0;
2945
2945
  var tmp = new Long(0, 0);
2946
2946
  var tmp_0 = new Long(0, 0);
2947
- return _this__u8e3s4.c35(tmp1_procedure, null, null, null, null, null, null, null, null, null, null, null, tmp0_goals, null, null, tmp, tmp_0, null, null, tmp2_depth, tmp3_step, null, 2617342, null);
2947
+ return _this__u8e3s4.z34(tmp1_procedure, null, null, null, null, null, null, null, null, null, null, null, tmp0_goals, null, null, tmp, tmp_0, null, null, tmp2_depth, tmp3_step, null, 2617342, null);
2948
2948
  }
2949
2949
  function toGoals$lambda(it) {
2950
- return it.bx() ? Companion_getInstance_11().of('call', [it]) : it;
2950
+ return it.yw() ? Companion_getInstance_11().of('call', [it]) : it;
2951
2951
  }
2952
2952
  function unfoldGoals$lambda(it) {
2953
2953
  return unfoldGoals(it);
2954
2954
  }
2955
2955
  function ensureRules$lambda(it) {
2956
2956
  // Inline function 'kotlin.require' call
2957
- var tmp0_require = it.nw();
2957
+ var tmp0_require = it.kw();
2958
2958
  // Inline function 'kotlin.contracts.contract' call
2959
2959
  // Inline function 'kotlin.require' call
2960
2960
  // Inline function 'kotlin.contracts.contract' call
@@ -2968,54 +2968,54 @@
2968
2968
  return it.castToRule();
2969
2969
  }
2970
2970
  function AbstractSolutionIterator(state) {
2971
- this.m3a_1 = state;
2972
- this.n3a_1 = new Long(0, 0);
2971
+ this.j3a_1 = state;
2972
+ this.k3a_1 = new Long(0, 0);
2973
2973
  }
2974
2974
  AbstractSolutionIterator.prototype.m = function () {
2975
2975
  var tmp$ret$1;
2976
2976
  // Inline function 'kotlin.let' call
2977
- var tmp0_let = this.m3a_1;
2977
+ var tmp0_let = this.j3a_1;
2978
2978
  // Inline function 'kotlin.contracts.contract' call
2979
2979
  var tmp$ret$0;
2980
2980
  // Inline function 'it.unibo.tuprolog.solve.classic.impl.AbstractSolutionIterator.hasNext.<anonymous>' call
2981
- tmp$ret$0 = !tmp0_let.g38() ? true : tmp0_let.castToEndState().j35();
2981
+ tmp$ret$0 = !tmp0_let.d38() ? true : tmp0_let.castToEndState().g35();
2982
2982
  tmp$ret$1 = tmp$ret$0;
2983
2983
  return tmp$ret$1;
2984
2984
  };
2985
- AbstractSolutionIterator.prototype.p = function () {
2985
+ AbstractSolutionIterator.prototype.n = function () {
2986
2986
  do {
2987
- var previousState = this.m3a_1;
2987
+ var previousState = this.j3a_1;
2988
2988
  var tmp = this;
2989
- var tmp_0 = this.m3a_1;
2989
+ var tmp_0 = this.j3a_1;
2990
2990
  var tmp0_this = this;
2991
- tmp0_this.n3a_1 = tmp0_this.n3a_1.gh();
2992
- tmp.m3a_1 = this.o3a(tmp_0, tmp0_this.n3a_1);
2993
- this.onStateTransition(previousState, this.m3a_1, this.n3a_1);
2991
+ tmp0_this.k3a_1 = tmp0_this.k3a_1.eh();
2992
+ tmp.j3a_1 = this.l3a(tmp_0, tmp0_this.k3a_1);
2993
+ this.onStateTransition(previousState, this.j3a_1, this.k3a_1);
2994
2994
  }
2995
- while (!this.m3a_1.g38());
2996
- return this.m3a_1.castToEndState().k2j().cleanUp();
2995
+ while (!this.j3a_1.d38());
2996
+ return this.j3a_1.castToEndState().h2j().cleanUp();
2997
2997
  };
2998
2998
  function SimpleSolutionIterator(state, onStateTransitionCallback) {
2999
2999
  AbstractSolutionIterator.call(this, state);
3000
- this.r3a_1 = onStateTransitionCallback;
3000
+ this.o3a_1 = onStateTransitionCallback;
3001
3001
  }
3002
- SimpleSolutionIterator.prototype.o3a = function (state, step) {
3002
+ SimpleSolutionIterator.prototype.l3a = function (state, step) {
3003
3003
  return state.next();
3004
3004
  };
3005
- SimpleSolutionIterator.prototype.s3a = function (source, destination, index) {
3006
- return this.r3a_1(source, destination, index);
3005
+ SimpleSolutionIterator.prototype.p3a = function (source, destination, index) {
3006
+ return this.o3a_1(source, destination, index);
3007
3007
  };
3008
3008
  SimpleSolutionIterator.prototype.onStateTransition = function (source, destination, index) {
3009
- return this.s3a(source, destination, index);
3009
+ return this.p3a(source, destination, index);
3010
3010
  };
3011
3011
  function DefaultBuiltins() {
3012
3012
  DefaultBuiltins_instance = this;
3013
3013
  ExtensionLibrary.call(this, CommonBuiltins_getInstance());
3014
3014
  }
3015
- DefaultBuiltins.prototype.b2f = function () {
3015
+ DefaultBuiltins.prototype.y2e = function () {
3016
3016
  return listOf(Throw_getInstance());
3017
3017
  };
3018
- DefaultBuiltins.prototype.a2f = function () {
3018
+ DefaultBuiltins.prototype.x2e = function () {
3019
3019
  return listOf_0([Catch_getInstance(), Call_getInstance(), Comma_getInstance(), Cut_getInstance(), Fail_getInstance(), Success_getInstance()]);
3020
3020
  };
3021
3021
  var DefaultBuiltins_instance;
@@ -3029,12 +3029,12 @@
3029
3029
  var tmp_0;
3030
3030
  var tmp_1;
3031
3031
  if (isInterface(error, Struct)) {
3032
- tmp_1 = error.fw() === 'error';
3032
+ tmp_1 = error.cw() === 'error';
3033
3033
  } else {
3034
3034
  tmp_1 = false;
3035
3035
  }
3036
3036
  if (tmp_1) {
3037
- var containsArg = error.zv();
3037
+ var containsArg = error.wv();
3038
3038
  tmp_0 = 1 <= containsArg ? containsArg <= 2 : false;
3039
3039
  } else {
3040
3040
  tmp_0 = false;
@@ -3042,10 +3042,10 @@
3042
3042
  if (tmp_0) {
3043
3043
  var tmp_2 = Companion_getInstance_20();
3044
3044
  var tmp_3 = error.get(0);
3045
- tmp = tmp_2.u25(null, null, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.zv() > 1 ? error.get(1) : null, 3, null);
3045
+ tmp = tmp_2.r25(null, null, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.wv() > 1 ? error.get(1) : null, 3, null);
3046
3046
  } else {
3047
3047
  var tmp_4 = Companion_getInstance_19();
3048
- tmp = tmp_4.h27(error, context, null, 4, null);
3048
+ tmp = tmp_4.e27(error, context, null, 4, null);
3049
3049
  }
3050
3050
  return tmp;
3051
3051
  }
@@ -3053,13 +3053,13 @@
3053
3053
  Throw_instance = this;
3054
3054
  UnaryPredicate.call(this, 'throw');
3055
3055
  }
3056
- Throw.prototype.t2r = function (_this__u8e3s4, first) {
3057
- var tmp = Companion_getInstance_21().b2g(_this__u8e3s4);
3058
- var tmp_0 = handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.n(0));
3059
- return sequenceOf([tmp.f2j(tmp_0, null, [], 6, null)]);
3056
+ Throw.prototype.q2r = function (_this__u8e3s4, first) {
3057
+ var tmp = Companion_getInstance_21().y2f(_this__u8e3s4);
3058
+ var tmp_0 = handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.o(0));
3059
+ return sequenceOf([tmp.c2j(tmp_0, null, [], 6, null)]);
3060
3060
  };
3061
- Throw.prototype.f2k = function (_this__u8e3s4, first) {
3062
- return this.t2r(_this__u8e3s4, first);
3061
+ Throw.prototype.c2k = function (_this__u8e3s4, first) {
3062
+ return this.q2r(_this__u8e3s4, first);
3063
3063
  };
3064
3064
  var Throw_instance;
3065
3065
  function Throw_getInstance() {
@@ -3071,10 +3071,10 @@
3071
3071
  Call_instance = this;
3072
3072
  RuleWrapper_init_$Init$('call', 1, false, 4, null, this);
3073
3073
  }
3074
- Call.prototype.j2k = function (_this__u8e3s4) {
3074
+ Call.prototype.g2k = function (_this__u8e3s4) {
3075
3075
  return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('G')]);
3076
3076
  };
3077
- Call.prototype.k2k = function (_this__u8e3s4) {
3077
+ Call.prototype.h2k = function (_this__u8e3s4) {
3078
3078
  var tmp$ret$0;
3079
3079
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3080
3080
  var tmp0__get_functor__thl4dk = EnsureExecutable_getInstance();
@@ -3091,10 +3091,10 @@
3091
3091
  Catch_instance = this;
3092
3092
  RuleWrapper_init_$Init$('catch', 3, false, 4, null, this);
3093
3093
  }
3094
- Catch.prototype.j2k = function (_this__u8e3s4) {
3094
+ Catch.prototype.g2k = function (_this__u8e3s4) {
3095
3095
  return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('G'), _this__u8e3s4.varOf('E'), _this__u8e3s4.varOf('C')]);
3096
3096
  };
3097
- Catch.prototype.k2k = function (_this__u8e3s4) {
3097
+ Catch.prototype.h2k = function (_this__u8e3s4) {
3098
3098
  return _this__u8e3s4.varOf('G');
3099
3099
  };
3100
3100
  var Catch_instance;
@@ -3107,10 +3107,10 @@
3107
3107
  Comma_instance = this;
3108
3108
  RuleWrapper_init_$Init$(',', 2, false, 4, null, this);
3109
3109
  }
3110
- Comma.prototype.j2k = function (_this__u8e3s4) {
3110
+ Comma.prototype.g2k = function (_this__u8e3s4) {
3111
3111
  return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
3112
3112
  };
3113
- Comma.prototype.k2k = function (_this__u8e3s4) {
3113
+ Comma.prototype.h2k = function (_this__u8e3s4) {
3114
3114
  return _this__u8e3s4.tupleOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
3115
3115
  };
3116
3116
  var Comma_instance;
@@ -3133,7 +3133,7 @@
3133
3133
  Fail_instance = this;
3134
3134
  NegationAsFailure.call(this);
3135
3135
  }
3136
- Fail.prototype.k2k = function (_this__u8e3s4) {
3136
+ Fail.prototype.h2k = function (_this__u8e3s4) {
3137
3137
  var tmp$ret$0;
3138
3138
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3139
3139
  var tmp0__get_functor__thl4dk = EnsureExecutable_getInstance();
@@ -3155,7 +3155,7 @@
3155
3155
  Success_instance = this;
3156
3156
  NegationAsFailure.call(this);
3157
3157
  }
3158
- Success.prototype.k2k = function (_this__u8e3s4) {
3158
+ Success.prototype.h2k = function (_this__u8e3s4) {
3159
3159
  return _this__u8e3s4.truthOf(true);
3160
3160
  };
3161
3161
  var Success_instance;
@@ -3166,8 +3166,8 @@
3166
3166
  }
3167
3167
  function Companion_1() {
3168
3168
  Companion_instance_1 = this;
3169
- this.s3b_1 = '\\+';
3170
- this.t3b_1 = 1;
3169
+ this.p3b_1 = '\\+';
3170
+ this.q3b_1 = 1;
3171
3171
  }
3172
3172
  var Companion_instance_1;
3173
3173
  function Companion_getInstance_24() {
@@ -3181,11 +3181,11 @@
3181
3181
  Companion_getInstance_24();
3182
3182
  RuleWrapper_init_$Init$('\\+', 1, false, 4, null, this);
3183
3183
  }
3184
- NegationAsFailure.prototype.j2k = function (_this__u8e3s4) {
3184
+ NegationAsFailure.prototype.g2k = function (_this__u8e3s4) {
3185
3185
  return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('X')]);
3186
3186
  };
3187
3187
  //region block: post-declaration
3188
- AbstractClassicSolver.prototype.x1x = copy$default;
3188
+ AbstractClassicSolver.prototype.u1x = copy$default;
3189
3189
  AbstractClassicSolver.prototype.solveWithTimeout = solveWithTimeout;
3190
3190
  AbstractClassicSolver.prototype.solve = solve;
3191
3191
  AbstractClassicSolver.prototype.solveListWithTimeout = solveListWithTimeout;
@@ -3194,21 +3194,21 @@
3194
3194
  AbstractClassicSolver.prototype.solveOnceWithTimeout = solveOnceWithTimeout;
3195
3195
  AbstractClassicSolver.prototype.solveOnce = solveOnce;
3196
3196
  AbstractClassicSolver.prototype.solveOnceWithOptions = solveOnceWithOptions;
3197
- AbstractClassicSolver.prototype.i1v = get_standardInput;
3198
- AbstractClassicSolver.prototype.k1v = get_standardOutput;
3199
- AbstractClassicSolver.prototype.m1v = get_standardError;
3200
- AbstractClassicSolver.prototype.o1v = get_warnings;
3201
- ClassicExecutionContext.prototype.v1u = createSolver$default;
3202
- ClassicExecutionContext.prototype.d1v = createMutableSolver$default;
3203
- ClassicExecutionContext.prototype.g1v = update$default;
3204
- ClassicExecutionContext.prototype.i1v = get_standardInput;
3205
- ClassicExecutionContext.prototype.k1v = get_standardOutput;
3206
- ClassicExecutionContext.prototype.m1v = get_standardError;
3207
- ClassicExecutionContext.prototype.o1v = get_warnings;
3208
- ClassicExecutionContext.prototype.m1u = get_endTime;
3209
- ClassicExecutionContext.prototype.o1u = get_remainingTime;
3210
- ClassicExecutionContext.prototype.p1u = get_elapsedTime;
3211
- ClassicSolver.prototype.x1x = copy$default;
3197
+ AbstractClassicSolver.prototype.f1v = get_standardInput;
3198
+ AbstractClassicSolver.prototype.h1v = get_standardOutput;
3199
+ AbstractClassicSolver.prototype.j1v = get_standardError;
3200
+ AbstractClassicSolver.prototype.l1v = get_warnings;
3201
+ ClassicExecutionContext.prototype.s1u = createSolver$default;
3202
+ ClassicExecutionContext.prototype.a1v = createMutableSolver$default;
3203
+ ClassicExecutionContext.prototype.d1v = update$default;
3204
+ ClassicExecutionContext.prototype.f1v = get_standardInput;
3205
+ ClassicExecutionContext.prototype.h1v = get_standardOutput;
3206
+ ClassicExecutionContext.prototype.j1v = get_standardError;
3207
+ ClassicExecutionContext.prototype.l1v = get_warnings;
3208
+ ClassicExecutionContext.prototype.j1u = get_endTime;
3209
+ ClassicExecutionContext.prototype.l1u = get_remainingTime;
3210
+ ClassicExecutionContext.prototype.m1u = get_elapsedTime;
3211
+ ClassicSolver.prototype.u1x = copy$default;
3212
3212
  ClassicSolver.prototype.solveWithTimeout = solveWithTimeout;
3213
3213
  ClassicSolver.prototype.solve = solve;
3214
3214
  ClassicSolver.prototype.solveListWithTimeout = solveListWithTimeout;
@@ -3217,29 +3217,29 @@
3217
3217
  ClassicSolver.prototype.solveOnceWithTimeout = solveOnceWithTimeout;
3218
3218
  ClassicSolver.prototype.solveOnce = solveOnce;
3219
3219
  ClassicSolver.prototype.solveOnceWithOptions = solveOnceWithOptions;
3220
- ClassicSolver.prototype.i1v = get_standardInput;
3221
- ClassicSolver.prototype.k1v = get_standardOutput;
3222
- ClassicSolver.prototype.m1v = get_standardError;
3223
- ClassicSolver.prototype.o1v = get_warnings;
3224
- ClassicSolverFactory.prototype.u1y = solverOf$default;
3225
- ClassicSolverFactory.prototype.w1y = solverOf$default_0;
3226
- ClassicSolverFactory.prototype.a1z = mutableSolverOf$default;
3227
- ClassicSolverFactory.prototype.e1z = mutableSolverOf$default_0;
3220
+ ClassicSolver.prototype.f1v = get_standardInput;
3221
+ ClassicSolver.prototype.h1v = get_standardOutput;
3222
+ ClassicSolver.prototype.j1v = get_standardError;
3223
+ ClassicSolver.prototype.l1v = get_warnings;
3224
+ ClassicSolverFactory.prototype.r1y = solverOf$default;
3225
+ ClassicSolverFactory.prototype.t1y = solverOf$default_0;
3226
+ ClassicSolverFactory.prototype.x1y = mutableSolverOf$default;
3227
+ ClassicSolverFactory.prototype.b1z = mutableSolverOf$default_0;
3228
3228
  ClassicSolverFactory.prototype.newBuilder = newBuilder;
3229
- ClassicSolverFactory.prototype.c1y = get_defaultRuntime;
3230
- ClassicSolverFactory.prototype.e1y = get_defaultUnificator;
3231
- ClassicSolverFactory.prototype.f1y = get_defaultFlags;
3232
- ClassicSolverFactory.prototype.i1y = get_defaultStaticKb;
3233
- ClassicSolverFactory.prototype.j1y = get_defaultDynamicKb;
3234
- ClassicSolverFactory.prototype.k1y = get_defaultInputChannel;
3235
- ClassicSolverFactory.prototype.l1y = get_defaultOutputChannel;
3236
- ClassicSolverFactory.prototype.m1y = get_defaultErrorChannel;
3237
- ClassicSolverFactory.prototype.n1y = get_defaultWarningsChannel;
3238
- ClassicSolverFactory.prototype.x1y = solverWithDefaultBuiltins;
3239
- ClassicSolverFactory.prototype.y1y = solverWithDefaultBuiltins$default;
3240
- ClassicSolverFactory.prototype.b1z = mutableSolverWithDefaultBuiltins;
3241
- ClassicSolverFactory.prototype.c1z = mutableSolverWithDefaultBuiltins$default;
3242
- MutableClassicSolver.prototype.x1x = copy$default;
3229
+ ClassicSolverFactory.prototype.z1x = get_defaultRuntime;
3230
+ ClassicSolverFactory.prototype.b1y = get_defaultUnificator;
3231
+ ClassicSolverFactory.prototype.c1y = get_defaultFlags;
3232
+ ClassicSolverFactory.prototype.f1y = get_defaultStaticKb;
3233
+ ClassicSolverFactory.prototype.g1y = get_defaultDynamicKb;
3234
+ ClassicSolverFactory.prototype.h1y = get_defaultInputChannel;
3235
+ ClassicSolverFactory.prototype.i1y = get_defaultOutputChannel;
3236
+ ClassicSolverFactory.prototype.j1y = get_defaultErrorChannel;
3237
+ ClassicSolverFactory.prototype.k1y = get_defaultWarningsChannel;
3238
+ ClassicSolverFactory.prototype.u1y = solverWithDefaultBuiltins;
3239
+ ClassicSolverFactory.prototype.v1y = solverWithDefaultBuiltins$default;
3240
+ ClassicSolverFactory.prototype.y1y = mutableSolverWithDefaultBuiltins;
3241
+ ClassicSolverFactory.prototype.z1y = mutableSolverWithDefaultBuiltins$default;
3242
+ MutableClassicSolver.prototype.u1x = copy$default;
3243
3243
  MutableClassicSolver.prototype.solveWithTimeout = solveWithTimeout;
3244
3244
  MutableClassicSolver.prototype.solve = solve;
3245
3245
  MutableClassicSolver.prototype.solveListWithTimeout = solveListWithTimeout;
@@ -3248,60 +3248,60 @@
3248
3248
  MutableClassicSolver.prototype.solveOnceWithTimeout = solveOnceWithTimeout;
3249
3249
  MutableClassicSolver.prototype.solveOnce = solveOnce;
3250
3250
  MutableClassicSolver.prototype.solveOnceWithOptions = solveOnceWithOptions;
3251
- MutableClassicSolver.prototype.i1v = get_standardInput;
3252
- MutableClassicSolver.prototype.k1v = get_standardOutput;
3253
- MutableClassicSolver.prototype.m1v = get_standardError;
3254
- MutableClassicSolver.prototype.o1v = get_warnings;
3251
+ MutableClassicSolver.prototype.f1v = get_standardInput;
3252
+ MutableClassicSolver.prototype.h1v = get_standardOutput;
3253
+ MutableClassicSolver.prototype.j1v = get_standardError;
3254
+ MutableClassicSolver.prototype.l1v = get_warnings;
3255
3255
  MutableClassicSolver.prototype.loadStaticClauses = loadStaticClauses;
3256
3256
  MutableClassicSolver.prototype.loadStaticClausesIterable = loadStaticClausesIterable;
3257
3257
  MutableClassicSolver.prototype.loadStaticClausesSequence = loadStaticClausesSequence;
3258
3258
  MutableClassicSolver.prototype.loadDynamicClauses = loadDynamicClauses;
3259
3259
  MutableClassicSolver.prototype.loadDynamicClausesIterable = loadDynamicClausesIterable;
3260
3260
  MutableClassicSolver.prototype.loadDynamicClausesSequence = loadDynamicClausesSequence;
3261
- AbstractState.prototype.g38 = get_isEndState;
3261
+ AbstractState.prototype.d38 = get_isEndState;
3262
3262
  AbstractState.prototype.asEndState = asEndState;
3263
3263
  AbstractState.prototype.castToEndState = castToEndState;
3264
- AbstractEndState.prototype.j35 = get_hasOpenAlternatives;
3265
- AbstractEndState.prototype.g38 = get_isEndState_0;
3266
- AbstractEndState.prototype.h38 = asEndState_0;
3264
+ AbstractEndState.prototype.g35 = get_hasOpenAlternatives;
3265
+ AbstractEndState.prototype.d38 = get_isEndState_0;
3266
+ AbstractEndState.prototype.e38 = asEndState_0;
3267
3267
  AbstractEndState.prototype.castToEndState = castToEndState;
3268
- StateBacktracking.prototype.g38 = get_isEndState;
3268
+ StateBacktracking.prototype.d38 = get_isEndState;
3269
3269
  StateBacktracking.prototype.asEndState = asEndState;
3270
3270
  StateBacktracking.prototype.castToEndState = castToEndState;
3271
- StateEnd.prototype.j35 = get_hasOpenAlternatives;
3272
- StateEnd.prototype.g38 = get_isEndState_0;
3273
- StateEnd.prototype.h38 = asEndState_0;
3271
+ StateEnd.prototype.g35 = get_hasOpenAlternatives;
3272
+ StateEnd.prototype.d38 = get_isEndState_0;
3273
+ StateEnd.prototype.e38 = asEndState_0;
3274
3274
  StateEnd.prototype.castToEndState = castToEndState;
3275
- StateException.prototype.g38 = get_isEndState;
3275
+ StateException.prototype.d38 = get_isEndState;
3276
3276
  StateException.prototype.asEndState = asEndState;
3277
3277
  StateException.prototype.castToEndState = castToEndState;
3278
- StateGoalSelection.prototype.g38 = get_isEndState;
3278
+ StateGoalSelection.prototype.d38 = get_isEndState;
3279
3279
  StateGoalSelection.prototype.asEndState = asEndState;
3280
3280
  StateGoalSelection.prototype.castToEndState = castToEndState;
3281
- StateHalt.prototype.g38 = get_isEndState_0;
3282
- StateHalt.prototype.h38 = asEndState_0;
3281
+ StateHalt.prototype.d38 = get_isEndState_0;
3282
+ StateHalt.prototype.e38 = asEndState_0;
3283
3283
  StateHalt.prototype.castToEndState = castToEndState;
3284
- StateHalt.prototype.j35 = get_hasOpenAlternatives;
3285
- StateInit.prototype.g38 = get_isEndState;
3284
+ StateHalt.prototype.g35 = get_hasOpenAlternatives;
3285
+ StateInit.prototype.d38 = get_isEndState;
3286
3286
  StateInit.prototype.asEndState = asEndState;
3287
3287
  StateInit.prototype.castToEndState = castToEndState;
3288
- StatePrimitiveExecution.prototype.g38 = get_isEndState;
3288
+ StatePrimitiveExecution.prototype.d38 = get_isEndState;
3289
3289
  StatePrimitiveExecution.prototype.asEndState = asEndState;
3290
3290
  StatePrimitiveExecution.prototype.castToEndState = castToEndState;
3291
- StatePrimitiveSelection.prototype.g38 = get_isEndState;
3291
+ StatePrimitiveSelection.prototype.d38 = get_isEndState;
3292
3292
  StatePrimitiveSelection.prototype.asEndState = asEndState;
3293
3293
  StatePrimitiveSelection.prototype.castToEndState = castToEndState;
3294
- StateRuleExecution.prototype.g38 = get_isEndState;
3294
+ StateRuleExecution.prototype.d38 = get_isEndState;
3295
3295
  StateRuleExecution.prototype.asEndState = asEndState;
3296
3296
  StateRuleExecution.prototype.castToEndState = castToEndState;
3297
- StateRuleSelection.prototype.g38 = get_isEndState;
3297
+ StateRuleSelection.prototype.d38 = get_isEndState;
3298
3298
  StateRuleSelection.prototype.asEndState = asEndState;
3299
3299
  StateRuleSelection.prototype.castToEndState = castToEndState;
3300
3300
  DefaultBuiltins.prototype.containsSignature = containsSignature;
3301
3301
  DefaultBuiltins.prototype.containsOperator = containsOperator;
3302
3302
  DefaultBuiltins.prototype.hasPrimitive = hasPrimitive;
3303
3303
  DefaultBuiltins.prototype.hasFunction = hasFunction;
3304
- DefaultBuiltins.prototype.p2e = get_ruleSignatures;
3304
+ DefaultBuiltins.prototype.m2e = get_ruleSignatures;
3305
3305
  DefaultBuiltins.prototype.hasProtected = hasProtected;
3306
3306
  //endregion
3307
3307
  //region block: exports