@tuprolog/2p-full 0.32.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -208,11 +208,11 @@
208
208
  }
209
209
  function clone(context, $super) {
210
210
  context = context === VOID ? this.uc() : context;
211
- return $super === VOID ? this.g37(context) : $super.g37.call(this, context);
211
+ return $super === VOID ? this.x37(context) : $super.x37.call(this, context);
212
212
  }
213
213
  setMetadataFor(State, 'State', interfaceMeta);
214
214
  function get_hasOpenAlternatives() {
215
- return this.g2i().y1v() ? this.uc().f34() : false;
215
+ return this.x2i().g1w() ? this.uc().w34() : false;
216
216
  }
217
217
  function get_isEndState_0() {
218
218
  return true;
@@ -221,7 +221,7 @@
221
221
  return this;
222
222
  }
223
223
  function asEndState_1() {
224
- return this.d37();
224
+ return this.u37();
225
225
  }
226
226
  setMetadataFor(EndState, 'EndState', interfaceMeta, VOID, [State]);
227
227
  setMetadataFor(AbstractState, 'AbstractState', classMeta, VOID, [State]);
@@ -254,7 +254,7 @@
254
254
  setMetadataFor(Companion_1, 'Companion', objectMeta);
255
255
  //endregion
256
256
  function AbstractClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
257
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
257
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
258
258
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
259
259
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
260
260
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -264,7 +264,7 @@
264
264
  stdErr = stdErr === VOID ? Companion_instance_3.stdErr() : stdErr;
265
265
  warnings = warnings === VOID ? Companion_instance_3.warning() : warnings;
266
266
  trustKb = trustKb === VOID ? false : trustKb;
267
- AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.i1y(stdIn), Companion_instance_5.l1y(stdOut, stdErr, warnings), trustKb);
267
+ AbstractClassicSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.q1y(stdIn), Companion_instance_5.t1y(stdOut, stdErr, warnings), trustKb);
268
268
  return $this;
269
269
  }
270
270
  function updateCurrentContextAfterStateTransition($this, source, destination, index) {
@@ -272,12 +272,12 @@
272
272
  // Inline function 'kotlin.contracts.contract' call
273
273
  // Inline function 'kotlin.require' call
274
274
  // Inline function 'kotlin.contracts.contract' call
275
- if (!destination.uc().b33_1.equals(index)) {
275
+ if (!destination.uc().s33_1.equals(index)) {
276
276
  // Inline function 'kotlin.require.<anonymous>' call
277
277
  var message = 'Failed requirement.';
278
278
  throw IllegalArgumentException_init_$Create$(toString(message));
279
279
  }
280
- $this.i33(destination.uc());
280
+ $this.z33(destination.uc());
281
281
  }
282
282
  function AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref($boundThis) {
283
283
  var l = function (p0, p1, p2) {
@@ -288,7 +288,7 @@
288
288
  return l;
289
289
  }
290
290
  function AbstractClassicSolver(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb) {
291
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
291
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
292
292
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
293
293
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
294
294
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -298,97 +298,97 @@
298
298
  trustKb = trustKb === VOID ? false : trustKb;
299
299
  AbstractSolver.call(this, unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb);
300
300
  }
301
- protoOf(AbstractClassicSolver).i33 = function (_set____db54di) {
302
- this.h33_1 = _set____db54di;
301
+ protoOf(AbstractClassicSolver).z33 = function (_set____db54di) {
302
+ this.y33_1 = _set____db54di;
303
303
  };
304
- protoOf(AbstractClassicSolver).c2b = function (_set____db54di) {
305
- return this.i33(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
304
+ protoOf(AbstractClassicSolver).k2b = function (_set____db54di) {
305
+ return this.z33(_set____db54di instanceof ClassicExecutionContext ? _set____db54di : THROW_CCE());
306
306
  };
307
- protoOf(AbstractClassicSolver).a2b = function () {
308
- var tmp = this.h33_1;
307
+ protoOf(AbstractClassicSolver).i2b = function () {
308
+ var tmp = this.y33_1;
309
309
  if (!(tmp == null))
310
310
  return tmp;
311
311
  else {
312
312
  throwUninitializedPropertyAccessException('currentContext');
313
313
  }
314
314
  };
315
- protoOf(AbstractClassicSolver).b2b = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
315
+ protoOf(AbstractClassicSolver).j2b = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
316
316
  return new ClassicExecutionContext(VOID, unificator, libraries, flags, trustKb ? staticKb.toImmutableTheory() : Companion_instance_0.empty(unificator), trustKb ? dynamicKb.toMutableTheory() : Companion_instance_1.empty(unificator), toOperatorSet(getAllOperators(libraries, [])), inputChannels, outputChannels, VOID, VOID, VOID, VOID, VOID, VOID, new Long(0, 0));
317
317
  };
318
- protoOf(AbstractClassicSolver).i2b = function (goal, options) {
319
- var tmp0_unificator = this.j1l();
320
- var tmp1_libraries = this.u1u();
321
- var tmp2_flags = this.v1u();
322
- var tmp3_staticKb = this.w1u().toImmutableTheory();
323
- var tmp4_dynamicKb = this.x1u().toMutableTheory();
324
- var tmp5_operators = this.d1v();
325
- var tmp6_inputChannels = this.y1u();
326
- var tmp7_outputChannels = this.z1u();
327
- var tmp8_customData = this.a2b().q32_1;
318
+ protoOf(AbstractClassicSolver).q2b = function (goal, options) {
319
+ var tmp0_unificator = this.f1l();
320
+ var tmp1_libraries = this.c1v();
321
+ var tmp2_flags = this.d1v();
322
+ var tmp3_staticKb = this.e1v().toImmutableTheory();
323
+ var tmp4_dynamicKb = this.f1v().toMutableTheory();
324
+ var tmp5_operators = this.l1v();
325
+ var tmp6_inputChannels = this.g1v();
326
+ var tmp7_outputChannels = this.h1v();
327
+ var tmp8_customData = this.i2b().h33_1;
328
328
  var tmp9_startTime = currentTimeInstant();
329
- var tmp10_maxDuration = options.c1x();
330
- this.i33(new ClassicExecutionContext(VOID, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, VOID, goal, VOID, VOID, VOID, tmp9_startTime, tmp10_maxDuration));
331
- var tmp = new StateInit(this.a2b());
332
- return asSequence(this.j33(tmp, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
329
+ var tmp10_maxDuration = options.k1x();
330
+ this.z33(new ClassicExecutionContext(VOID, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, VOID, goal, VOID, VOID, VOID, tmp9_startTime, tmp10_maxDuration));
331
+ var tmp = new StateInit(this.i2b());
332
+ return asSequence(this.a34(tmp, AbstractClassicSolver$updateCurrentContextAfterStateTransition$ref(this)));
333
333
  };
334
334
  function Primitives(alternatives, executionContext, parent, depth) {
335
335
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
336
- this.o33_1 = alternatives;
337
- this.p33_1 = executionContext;
338
- this.q33_1 = parent;
339
- this.r33_1 = depth;
336
+ this.f34_1 = alternatives;
337
+ this.g34_1 = executionContext;
338
+ this.h34_1 = parent;
339
+ this.i34_1 = depth;
340
340
  }
341
- protoOf(Primitives).s33 = function () {
342
- return this.o33_1;
341
+ protoOf(Primitives).j34 = function () {
342
+ return this.f34_1;
343
343
  };
344
- protoOf(Primitives).t33 = function () {
345
- return this.p33_1;
344
+ protoOf(Primitives).k34 = function () {
345
+ return this.g34_1;
346
346
  };
347
- protoOf(Primitives).u33 = function () {
348
- return this.q33_1;
347
+ protoOf(Primitives).l34 = function () {
348
+ return this.h34_1;
349
349
  };
350
- protoOf(Primitives).v33 = function () {
351
- return this.r33_1;
350
+ protoOf(Primitives).m34 = function () {
351
+ return this.i34_1;
352
352
  };
353
353
  protoOf(Primitives).toString = function () {
354
354
  return protoOf(ChoicePointContext).toString.call(this);
355
355
  };
356
- protoOf(Primitives).w33 = function () {
356
+ protoOf(Primitives).n34 = function () {
357
357
  return 'Primitives';
358
358
  };
359
- protoOf(Primitives).x33 = function (context) {
360
- var tmp0_$this = ensureNotNull(this.p33_1);
361
- var tmp1_primitives = this.o33_1;
359
+ protoOf(Primitives).o34 = function (context) {
360
+ var tmp0_$this = ensureNotNull(this.g34_1);
361
+ var tmp1_primitives = this.f34_1;
362
362
  // Inline function 'kotlin.Long.plus' call
363
- var tmp2_step = context.b33_1.ob(toLong(1));
364
- var tmp3_startTime = context.w32_1;
365
- var tmp4_flags = context.k32_1;
366
- var tmp5_dynamicKb = context.m32_1;
367
- var tmp6_staticKb = context.l32_1;
368
- var tmp7_operators = context.n32_1;
369
- var tmp8_inputChannels = context.o32_1;
370
- var tmp9_outputChannels = context.p32_1;
371
- var tmp10_libraries = context.j32_1;
372
- var tmp11_customData = context.q32_1.discardEphemeral();
373
- var tempContext = tmp0_$this.y33(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, VOID, tmp1_primitives, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
374
- var nextChoicePointContext = this.z33(this.o33_1.er(), tempContext);
375
- return tempContext.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
376
- };
377
- protoOf(Primitives).a34 = function (alternatives, executionContext, parent, depth) {
363
+ var tmp2_step = context.s33_1.ob(toLong(1));
364
+ var tmp3_startTime = context.n33_1;
365
+ var tmp4_flags = context.b33_1;
366
+ var tmp5_dynamicKb = context.d33_1;
367
+ var tmp6_staticKb = context.c33_1;
368
+ var tmp7_operators = context.e33_1;
369
+ var tmp8_inputChannels = context.f33_1;
370
+ var tmp9_outputChannels = context.g33_1;
371
+ var tmp10_libraries = context.a33_1;
372
+ var tmp11_customData = context.h33_1.discardEphemeral();
373
+ var tempContext = tmp0_$this.p34(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, VOID, tmp1_primitives, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
374
+ var nextChoicePointContext = this.q34(this.f34_1.er(), tempContext);
375
+ return tempContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
376
+ };
377
+ protoOf(Primitives).r34 = function (alternatives, executionContext, parent, depth) {
378
378
  return new Primitives(alternatives, executionContext, parent, depth);
379
379
  };
380
- protoOf(Primitives).z33 = function (alternatives, executionContext, parent, depth, $super) {
381
- alternatives = alternatives === VOID ? this.o33_1 : alternatives;
382
- executionContext = executionContext === VOID ? this.p33_1 : executionContext;
383
- parent = parent === VOID ? this.q33_1 : parent;
384
- depth = depth === VOID ? this.r33_1 : depth;
385
- return $super === VOID ? this.a34(alternatives, executionContext, parent, depth) : $super.a34.call(this, alternatives, executionContext, parent, depth);
380
+ protoOf(Primitives).q34 = function (alternatives, executionContext, parent, depth, $super) {
381
+ alternatives = alternatives === VOID ? this.f34_1 : alternatives;
382
+ executionContext = executionContext === VOID ? this.g34_1 : executionContext;
383
+ parent = parent === VOID ? this.h34_1 : parent;
384
+ depth = depth === VOID ? this.i34_1 : depth;
385
+ return $super === VOID ? this.r34(alternatives, executionContext, parent, depth) : $super.r34.call(this, alternatives, executionContext, parent, depth);
386
386
  };
387
387
  protoOf(Primitives).hashCode = function () {
388
- var result = hashCode(this.o33_1);
389
- result = imul(result, 31) + (this.p33_1 == null ? 0 : this.p33_1.hashCode()) | 0;
390
- result = imul(result, 31) + (this.q33_1 == null ? 0 : hashCode(this.q33_1)) | 0;
391
- result = imul(result, 31) + this.r33_1 | 0;
388
+ var result = hashCode(this.f34_1);
389
+ result = imul(result, 31) + (this.g34_1 == null ? 0 : this.g34_1.hashCode()) | 0;
390
+ result = imul(result, 31) + (this.h34_1 == null ? 0 : hashCode(this.h34_1)) | 0;
391
+ result = imul(result, 31) + this.i34_1 | 0;
392
392
  return result;
393
393
  };
394
394
  protoOf(Primitives).equals = function (other) {
@@ -397,74 +397,74 @@
397
397
  if (!(other instanceof Primitives))
398
398
  return false;
399
399
  var tmp0_other_with_cast = other instanceof Primitives ? other : THROW_CCE();
400
- if (!equals(this.o33_1, tmp0_other_with_cast.o33_1))
400
+ if (!equals(this.f34_1, tmp0_other_with_cast.f34_1))
401
401
  return false;
402
- if (!equals(this.p33_1, tmp0_other_with_cast.p33_1))
402
+ if (!equals(this.g34_1, tmp0_other_with_cast.g34_1))
403
403
  return false;
404
- if (!equals(this.q33_1, tmp0_other_with_cast.q33_1))
404
+ if (!equals(this.h34_1, tmp0_other_with_cast.h34_1))
405
405
  return false;
406
- if (!(this.r33_1 === tmp0_other_with_cast.r33_1))
406
+ if (!(this.i34_1 === tmp0_other_with_cast.i34_1))
407
407
  return false;
408
408
  return true;
409
409
  };
410
410
  function Rules(alternatives, executionContext, parent, depth) {
411
411
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
412
- this.n34_1 = alternatives;
413
- this.o34_1 = executionContext;
414
- this.p34_1 = parent;
415
- this.q34_1 = depth;
412
+ this.e35_1 = alternatives;
413
+ this.f35_1 = executionContext;
414
+ this.g35_1 = parent;
415
+ this.h35_1 = depth;
416
416
  }
417
- protoOf(Rules).s33 = function () {
418
- return this.n34_1;
417
+ protoOf(Rules).j34 = function () {
418
+ return this.e35_1;
419
419
  };
420
- protoOf(Rules).t33 = function () {
421
- return this.o34_1;
420
+ protoOf(Rules).k34 = function () {
421
+ return this.f35_1;
422
422
  };
423
- protoOf(Rules).u33 = function () {
424
- return this.p34_1;
423
+ protoOf(Rules).l34 = function () {
424
+ return this.g35_1;
425
425
  };
426
- protoOf(Rules).v33 = function () {
427
- return this.q34_1;
426
+ protoOf(Rules).m34 = function () {
427
+ return this.h35_1;
428
428
  };
429
429
  protoOf(Rules).toString = function () {
430
430
  return protoOf(ChoicePointContext).toString.call(this);
431
431
  };
432
- protoOf(Rules).w33 = function () {
432
+ protoOf(Rules).n34 = function () {
433
433
  return 'Rules';
434
434
  };
435
- protoOf(Rules).x33 = function (context) {
436
- var tmp0_$this = ensureNotNull(this.o34_1);
437
- var tmp1_rules = this.n34_1;
435
+ protoOf(Rules).o34 = function (context) {
436
+ var tmp0_$this = ensureNotNull(this.f35_1);
437
+ var tmp1_rules = this.e35_1;
438
438
  // Inline function 'kotlin.Long.plus' call
439
- var tmp2_step = context.b33_1.ob(toLong(1));
440
- var tmp3_startTime = context.w32_1;
441
- var tmp4_flags = context.k32_1;
442
- var tmp5_dynamicKb = context.m32_1;
443
- var tmp6_staticKb = context.l32_1;
444
- var tmp7_operators = context.n32_1;
445
- var tmp8_inputChannels = context.o32_1;
446
- var tmp9_outputChannels = context.p32_1;
447
- var tmp10_libraries = context.j32_1;
448
- var tmp11_customData = context.q32_1.discardEphemeral();
449
- var tempContext = tmp0_$this.y33(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, tmp1_rules, VOID, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
450
- var nextChoicePointContext = this.r34(this.n34_1.er(), tempContext);
451
- return tempContext.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
452
- };
453
- protoOf(Rules).s34 = function (alternatives, executionContext, parent, depth) {
439
+ var tmp2_step = context.s33_1.ob(toLong(1));
440
+ var tmp3_startTime = context.n33_1;
441
+ var tmp4_flags = context.b33_1;
442
+ var tmp5_dynamicKb = context.d33_1;
443
+ var tmp6_staticKb = context.c33_1;
444
+ var tmp7_operators = context.e33_1;
445
+ var tmp8_inputChannels = context.f33_1;
446
+ var tmp9_outputChannels = context.g33_1;
447
+ var tmp10_libraries = context.a33_1;
448
+ var tmp11_customData = context.h33_1.discardEphemeral();
449
+ var tempContext = tmp0_$this.p34(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, tmp1_rules, VOID, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
450
+ var nextChoicePointContext = this.i35(this.e35_1.er(), tempContext);
451
+ return tempContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
452
+ };
453
+ protoOf(Rules).j35 = function (alternatives, executionContext, parent, depth) {
454
454
  return new Rules(alternatives, executionContext, parent, depth);
455
455
  };
456
- protoOf(Rules).r34 = function (alternatives, executionContext, parent, depth, $super) {
457
- alternatives = alternatives === VOID ? this.n34_1 : alternatives;
458
- executionContext = executionContext === VOID ? this.o34_1 : executionContext;
459
- parent = parent === VOID ? this.p34_1 : parent;
460
- depth = depth === VOID ? this.q34_1 : depth;
461
- return $super === VOID ? this.s34(alternatives, executionContext, parent, depth) : $super.s34.call(this, alternatives, executionContext, parent, depth);
456
+ protoOf(Rules).i35 = function (alternatives, executionContext, parent, depth, $super) {
457
+ alternatives = alternatives === VOID ? this.e35_1 : alternatives;
458
+ executionContext = executionContext === VOID ? this.f35_1 : executionContext;
459
+ parent = parent === VOID ? this.g35_1 : parent;
460
+ depth = depth === VOID ? this.h35_1 : depth;
461
+ return $super === VOID ? this.j35(alternatives, executionContext, parent, depth) : $super.j35.call(this, alternatives, executionContext, parent, depth);
462
462
  };
463
463
  protoOf(Rules).hashCode = function () {
464
- var result = hashCode(this.n34_1);
465
- result = imul(result, 31) + (this.o34_1 == null ? 0 : this.o34_1.hashCode()) | 0;
466
- result = imul(result, 31) + (this.p34_1 == null ? 0 : hashCode(this.p34_1)) | 0;
467
- result = imul(result, 31) + this.q34_1 | 0;
464
+ var result = hashCode(this.e35_1);
465
+ result = imul(result, 31) + (this.f35_1 == null ? 0 : this.f35_1.hashCode()) | 0;
466
+ result = imul(result, 31) + (this.g35_1 == null ? 0 : hashCode(this.g35_1)) | 0;
467
+ result = imul(result, 31) + this.h35_1 | 0;
468
468
  return result;
469
469
  };
470
470
  protoOf(Rules).equals = function (other) {
@@ -473,28 +473,28 @@
473
473
  if (!(other instanceof Rules))
474
474
  return false;
475
475
  var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
476
- if (!equals(this.n34_1, tmp0_other_with_cast.n34_1))
476
+ if (!equals(this.e35_1, tmp0_other_with_cast.e35_1))
477
477
  return false;
478
- if (!equals(this.o34_1, tmp0_other_with_cast.o34_1))
478
+ if (!equals(this.f35_1, tmp0_other_with_cast.f35_1))
479
479
  return false;
480
- if (!equals(this.p34_1, tmp0_other_with_cast.p34_1))
480
+ if (!equals(this.g35_1, tmp0_other_with_cast.g35_1))
481
481
  return false;
482
- if (!(this.q34_1 === tmp0_other_with_cast.q34_1))
482
+ if (!(this.h35_1 === tmp0_other_with_cast.h35_1))
483
483
  return false;
484
484
  return true;
485
485
  };
486
486
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation) {
487
- this.b35_1 = this$0;
487
+ this.s35_1 = this$0;
488
488
  CoroutineImpl.call(this, resultContinuation);
489
489
  }
490
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).e35 = function ($this$sequence, $completion) {
491
- var tmp = this.f35($this$sequence, $completion);
490
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).v35 = function ($this$sequence, $completion) {
491
+ var tmp = this.w35($this$sequence, $completion);
492
492
  tmp.pc_1 = Unit_instance;
493
493
  tmp.qc_1 = null;
494
494
  return tmp.yc();
495
495
  };
496
496
  protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).ld = function (p1, $completion) {
497
- return this.e35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
497
+ return this.v35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
498
498
  };
499
499
  protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).yc = function () {
500
500
  var suspendResult = this.pc_1;
@@ -504,24 +504,24 @@
504
504
  switch (tmp) {
505
505
  case 0:
506
506
  this.oc_1 = 4;
507
- this.d35_1 = this.b35_1;
507
+ this.u35_1 = this.s35_1;
508
508
  this.nc_1 = 1;
509
509
  continue $sm;
510
510
  case 1:
511
- if (!!(this.d35_1 == null)) {
511
+ if (!!(this.u35_1 == null)) {
512
512
  this.nc_1 = 3;
513
513
  continue $sm;
514
514
  }
515
515
 
516
516
  this.nc_1 = 2;
517
- suspendResult = this.c35_1.ef(ensureNotNull(this.d35_1), this);
517
+ suspendResult = this.t35_1.ef(ensureNotNull(this.u35_1), this);
518
518
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
519
519
  return suspendResult;
520
520
  }
521
521
 
522
522
  continue $sm;
523
523
  case 2:
524
- this.d35_1 = this.d35_1.u33();
524
+ this.u35_1 = this.u35_1.l34();
525
525
  this.nc_1 = 1;
526
526
  continue $sm;
527
527
  case 3:
@@ -540,47 +540,47 @@
540
540
  }
541
541
  while (true);
542
542
  };
543
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).f35 = function ($this$sequence, completion) {
544
- var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.b35_1, completion);
545
- i.c35_1 = $this$sequence;
543
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).w35 = function ($this$sequence, completion) {
544
+ var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.s35_1, completion);
545
+ i.t35_1 = $this$sequence;
546
546
  return i;
547
547
  };
548
548
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this$0, resultContinuation) {
549
549
  var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation);
550
550
  var l = function ($this$sequence, $completion) {
551
- return i.e35($this$sequence, $completion);
551
+ return i.v35($this$sequence, $completion);
552
552
  };
553
553
  l.$arity = 1;
554
554
  return l;
555
555
  }
556
556
  function ChoicePointContext(alternatives, executionContext, parent, depth) {
557
557
  depth = depth === VOID ? 0 : depth;
558
- this.b34_1 = alternatives;
559
- this.c34_1 = executionContext;
560
- this.d34_1 = parent;
561
- this.e34_1 = depth;
558
+ this.s34_1 = alternatives;
559
+ this.t34_1 = executionContext;
560
+ this.u34_1 = parent;
561
+ this.v34_1 = depth;
562
562
  }
563
- protoOf(ChoicePointContext).s33 = function () {
564
- return this.b34_1;
563
+ protoOf(ChoicePointContext).j34 = function () {
564
+ return this.s34_1;
565
565
  };
566
- protoOf(ChoicePointContext).t33 = function () {
567
- return this.c34_1;
566
+ protoOf(ChoicePointContext).k34 = function () {
567
+ return this.t34_1;
568
568
  };
569
- protoOf(ChoicePointContext).u33 = function () {
570
- return this.d34_1;
569
+ protoOf(ChoicePointContext).l34 = function () {
570
+ return this.u34_1;
571
571
  };
572
- protoOf(ChoicePointContext).v33 = function () {
573
- return this.e34_1;
572
+ protoOf(ChoicePointContext).m34 = function () {
573
+ return this.v34_1;
574
574
  };
575
- protoOf(ChoicePointContext).f34 = function () {
575
+ protoOf(ChoicePointContext).w34 = function () {
576
576
  var tmp$ret$1;
577
577
  $l$block: {
578
578
  // Inline function 'kotlin.sequences.any' call
579
- var tmp0_iterator = this.g34().r();
579
+ var tmp0_iterator = this.x34().r();
580
580
  while (tmp0_iterator.s()) {
581
581
  var element = tmp0_iterator.u();
582
582
  // Inline function 'it.unibo.tuprolog.solve.classic.ChoicePointContext.<get-hasOpenAlternatives>.<anonymous>' call
583
- if (element.s33().gr()) {
583
+ if (element.j34().gr()) {
584
584
  tmp$ret$1 = true;
585
585
  break $l$block;
586
586
  }
@@ -589,63 +589,63 @@
589
589
  }
590
590
  return tmp$ret$1;
591
591
  };
592
- protoOf(ChoicePointContext).g34 = function () {
592
+ protoOf(ChoicePointContext).x34 = function () {
593
593
  return sequence(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this, null));
594
594
  };
595
- protoOf(ChoicePointContext).h34 = function () {
596
- var tmp0_safe_receiver = this.t33();
597
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a33_1;
595
+ protoOf(ChoicePointContext).y34 = function () {
596
+ var tmp0_safe_receiver = this.k34();
597
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r33_1;
598
598
  };
599
- protoOf(ChoicePointContext).i34 = function () {
600
- var tmp0_safe_receiver = this.t33();
601
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h32_1;
599
+ protoOf(ChoicePointContext).z34 = function () {
600
+ var tmp0_safe_receiver = this.k34();
601
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y32_1;
602
602
  };
603
603
  protoOf(ChoicePointContext).toString = function () {
604
- var tmp = this.w33() + '(' + ('alternatives=' + this.s33() + ', ');
604
+ var tmp = this.n34() + '(' + ('alternatives=' + this.j34() + ', ');
605
605
  var tmp_0;
606
- if (this.t33() === null) {
607
- tmp_0 = 'executionContext=' + this.t33() + ', ';
606
+ if (this.k34() === null) {
607
+ tmp_0 = 'executionContext=' + this.k34() + ', ';
608
608
  } else {
609
- 'executionContextDepth=' + this.h34() + ', ';
610
- tmp_0 = 'executionContextProcedure=' + this.i34() + ', ';
609
+ 'executionContextDepth=' + this.y34() + ', ';
610
+ tmp_0 = 'executionContextProcedure=' + this.z34() + ', ';
611
611
  }
612
- return tmp + tmp_0 + ('depth=' + this.v33()) + ')';
612
+ return tmp + tmp_0 + ('depth=' + this.m34()) + ')';
613
613
  };
614
614
  function appendRules(_this__u8e3s4, alternatives, executionContext) {
615
615
  executionContext = executionContext === VOID ? null : executionContext;
616
616
  return new Rules(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
617
617
  }
618
618
  function nextDepth(_this__u8e3s4) {
619
- return _this__u8e3s4 == null ? 0 : _this__u8e3s4.v33() + 1 | 0;
619
+ return _this__u8e3s4 == null ? 0 : _this__u8e3s4.m34() + 1 | 0;
620
620
  }
621
621
  function appendPrimitives(_this__u8e3s4, alternatives, executionContext) {
622
622
  executionContext = executionContext === VOID ? null : executionContext;
623
623
  return new Primitives(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
624
624
  }
625
625
  function _get_locallyInterestingVariables__39cqti($this) {
626
- var tmp = asSequence_0($this.c33_1);
627
- var tmp0_safe_receiver = $this.t32_1.fr();
626
+ var tmp = asSequence_0($this.t33_1);
627
+ var tmp0_safe_receiver = $this.k33_1.fr();
628
628
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sw();
629
629
  return plus(tmp, tmp1_elvis_lhs == null ? emptySequence() : tmp1_elvis_lhs);
630
630
  }
631
631
  function _get_interestingVariables__k6uw5o($this) {
632
632
  // Inline function 'kotlin.getValue' call
633
- var this_0 = $this.f33_1;
633
+ var this_0 = $this.w33_1;
634
634
  interestingVariables$factory();
635
635
  return this_0.r2();
636
636
  }
637
637
  function ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation) {
638
- this.o35_1 = this$0;
638
+ this.f36_1 = this$0;
639
639
  CoroutineImpl.call(this, resultContinuation);
640
640
  }
641
- protoOf(ClassicExecutionContext$pathToRoot$slambda).r35 = function ($this$sequence, $completion) {
642
- var tmp = this.s35($this$sequence, $completion);
641
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).i36 = function ($this$sequence, $completion) {
642
+ var tmp = this.j36($this$sequence, $completion);
643
643
  tmp.pc_1 = Unit_instance;
644
644
  tmp.qc_1 = null;
645
645
  return tmp.yc();
646
646
  };
647
647
  protoOf(ClassicExecutionContext$pathToRoot$slambda).ld = function (p1, $completion) {
648
- return this.r35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
648
+ return this.i36(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
649
649
  };
650
650
  protoOf(ClassicExecutionContext$pathToRoot$slambda).yc = function () {
651
651
  var suspendResult = this.pc_1;
@@ -655,24 +655,24 @@
655
655
  switch (tmp) {
656
656
  case 0:
657
657
  this.oc_1 = 4;
658
- this.q35_1 = this.o35_1;
658
+ this.h36_1 = this.f36_1;
659
659
  this.nc_1 = 1;
660
660
  continue $sm;
661
661
  case 1:
662
- if (!!(this.q35_1 == null)) {
662
+ if (!!(this.h36_1 == null)) {
663
663
  this.nc_1 = 3;
664
664
  continue $sm;
665
665
  }
666
666
 
667
667
  this.nc_1 = 2;
668
- suspendResult = this.p35_1.ef(this.q35_1, this);
668
+ suspendResult = this.g36_1.ef(this.h36_1, this);
669
669
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
670
670
  return suspendResult;
671
671
  }
672
672
 
673
673
  continue $sm;
674
674
  case 2:
675
- this.q35_1 = this.q35_1.z32_1;
675
+ this.h36_1 = this.h36_1.q33_1;
676
676
  this.nc_1 = 1;
677
677
  continue $sm;
678
678
  case 3:
@@ -691,15 +691,15 @@
691
691
  }
692
692
  while (true);
693
693
  };
694
- protoOf(ClassicExecutionContext$pathToRoot$slambda).s35 = function ($this$sequence, completion) {
695
- var i = new ClassicExecutionContext$pathToRoot$slambda(this.o35_1, completion);
696
- i.p35_1 = $this$sequence;
694
+ protoOf(ClassicExecutionContext$pathToRoot$slambda).j36 = function ($this$sequence, completion) {
695
+ var i = new ClassicExecutionContext$pathToRoot$slambda(this.f36_1, completion);
696
+ i.g36_1 = $this$sequence;
697
697
  return i;
698
698
  };
699
699
  function ClassicExecutionContext$pathToRoot$slambda_0(this$0, resultContinuation) {
700
700
  var i = new ClassicExecutionContext$pathToRoot$slambda(this$0, resultContinuation);
701
701
  var l = function ($this$sequence, $completion) {
702
- return i.r35($this$sequence, $completion);
702
+ return i.i36($this$sequence, $completion);
703
703
  };
704
704
  l.$arity = 1;
705
705
  return l;
@@ -707,11 +707,11 @@
707
707
  function ClassicExecutionContext$currentGoal$delegate$lambda(this$0) {
708
708
  return function () {
709
709
  var tmp;
710
- if (this$0.t32_1.hr()) {
710
+ if (this$0.k33_1.hr()) {
711
711
  tmp = null;
712
712
  } else {
713
- var tmp0_safe_receiver = this$0.t32_1.fr();
714
- tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.r32_1);
713
+ var tmp0_safe_receiver = this$0.k33_1.fr();
714
+ tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.i33_1);
715
715
  }
716
716
  return tmp;
717
717
  };
@@ -721,28 +721,28 @@
721
721
  }
722
722
  function ClassicExecutionContext$interestingVariables$delegate$lambda(this$0) {
723
723
  return function () {
724
- var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.s32_1.sw());
725
- return cached(distinct(plus(tmp, flatMap(this$0.d33_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
724
+ var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.j33_1.sw());
725
+ return cached(distinct(plus(tmp, flatMap(this$0.u33_1, ClassicExecutionContext$interestingVariables$delegate$lambda$lambda))));
726
726
  };
727
727
  }
728
728
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
729
- return it.t35();
729
+ return it.k36();
730
730
  }
731
731
  function ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0) {
732
732
  return function (it) {
733
- var tmp0_elvis_lhs = it.h32_1;
734
- return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.s32_1]) : tmp0_elvis_lhs;
733
+ var tmp0_elvis_lhs = it.y32_1;
734
+ return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.j33_1]) : tmp0_elvis_lhs;
735
735
  };
736
736
  }
737
737
  function ClassicExecutionContext$logicStackTrace$delegate$lambda(this$0) {
738
738
  return function () {
739
- var tmp = filter(this$0.d33_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
739
+ var tmp = filter(this$0.u33_1, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda);
740
740
  return toList(map(tmp, ClassicExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0)));
741
741
  };
742
742
  }
743
743
  function ClassicExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
744
744
  procedure = procedure === VOID ? null : procedure;
745
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
745
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
746
746
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
747
747
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
748
748
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -769,33 +769,33 @@
769
769
  depth = depth === VOID ? 0 : depth;
770
770
  step = step === VOID ? new Long(0, 0) : step;
771
771
  relevantVariables = relevantVariables === VOID ? emptySet() : relevantVariables;
772
- this.h32_1 = procedure;
773
- this.i32_1 = unificator;
774
- this.j32_1 = libraries;
775
- this.k32_1 = flags;
776
- this.l32_1 = staticKb;
777
- this.m32_1 = dynamicKb;
778
- this.n32_1 = operators;
779
- this.o32_1 = inputChannels;
780
- this.p32_1 = outputChannels;
781
- this.q32_1 = customData;
782
- this.r32_1 = substitution;
783
- this.s32_1 = query;
784
- this.t32_1 = goals;
785
- this.u32_1 = rules;
786
- this.v32_1 = primitives;
787
- this.w32_1 = startTime;
788
- this.x32_1 = maxDuration;
789
- this.y32_1 = choicePoints;
790
- this.z32_1 = parent;
791
- this.a33_1 = depth;
792
- this.b33_1 = step;
793
- this.c33_1 = relevantVariables;
772
+ this.y32_1 = procedure;
773
+ this.z32_1 = unificator;
774
+ this.a33_1 = libraries;
775
+ this.b33_1 = flags;
776
+ this.c33_1 = staticKb;
777
+ this.d33_1 = dynamicKb;
778
+ this.e33_1 = operators;
779
+ this.f33_1 = inputChannels;
780
+ this.g33_1 = outputChannels;
781
+ this.h33_1 = customData;
782
+ this.i33_1 = substitution;
783
+ this.j33_1 = query;
784
+ this.k33_1 = goals;
785
+ this.l33_1 = rules;
786
+ this.m33_1 = primitives;
787
+ this.n33_1 = startTime;
788
+ this.o33_1 = maxDuration;
789
+ this.p33_1 = choicePoints;
790
+ this.q33_1 = parent;
791
+ this.r33_1 = depth;
792
+ this.s33_1 = step;
793
+ this.t33_1 = relevantVariables;
794
794
  // Inline function 'kotlin.require' call
795
795
  // Inline function 'kotlin.contracts.contract' call
796
796
  // Inline function 'kotlin.require' call
797
797
  // Inline function 'kotlin.contracts.contract' call
798
- if (!((this.a33_1 === 0 ? this.z32_1 == null : false) ? true : this.a33_1 > 0 ? !(this.z32_1 == null) : false)) {
798
+ if (!((this.r33_1 === 0 ? this.q33_1 == null : false) ? true : this.r33_1 > 0 ? !(this.q33_1 == null) : false)) {
799
799
  // Inline function 'kotlin.require.<anonymous>' call
800
800
  var message = 'Failed requirement.';
801
801
  throw IllegalArgumentException_init_$Create$(toString(message));
@@ -804,7 +804,7 @@
804
804
  // Inline function 'kotlin.contracts.contract' call
805
805
  // Inline function 'kotlin.require' call
806
806
  // Inline function 'kotlin.contracts.contract' call
807
- if (!(this.w32_1.q6(new Long(0, 0)) >= 0)) {
807
+ if (!(this.n33_1.q6(new Long(0, 0)) >= 0)) {
808
808
  // Inline function 'kotlin.require.<anonymous>' call
809
809
  var message_0 = 'Failed requirement.';
810
810
  throw IllegalArgumentException_init_$Create$(toString(message_0));
@@ -813,169 +813,169 @@
813
813
  // Inline function 'kotlin.contracts.contract' call
814
814
  // Inline function 'kotlin.require' call
815
815
  // Inline function 'kotlin.contracts.contract' call
816
- if (!(this.x32_1.q6(new Long(0, 0)) >= 0)) {
816
+ if (!(this.o33_1.q6(new Long(0, 0)) >= 0)) {
817
817
  // Inline function 'kotlin.require.<anonymous>' call
818
818
  var message_1 = 'Failed requirement.';
819
819
  throw IllegalArgumentException_init_$Create$(toString(message_1));
820
820
  }
821
821
  var tmp_0 = this;
822
- tmp_0.d33_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
822
+ tmp_0.u33_1 = sequence(ClassicExecutionContext$pathToRoot$slambda_0(this, null));
823
823
  var tmp_1 = this;
824
- tmp_1.e33_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
824
+ tmp_1.v33_1 = lazy(ClassicExecutionContext$currentGoal$delegate$lambda(this));
825
825
  var tmp_2 = this;
826
- tmp_2.f33_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
826
+ tmp_2.w33_1 = lazy(ClassicExecutionContext$interestingVariables$delegate$lambda(this));
827
827
  var tmp_3 = this;
828
- tmp_3.g33_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
828
+ tmp_3.x33_1 = lazy(ClassicExecutionContext$logicStackTrace$delegate$lambda(this));
829
829
  }
830
- protoOf(ClassicExecutionContext).p1u = function () {
831
- return this.h32_1;
830
+ protoOf(ClassicExecutionContext).x1u = function () {
831
+ return this.y32_1;
832
832
  };
833
- protoOf(ClassicExecutionContext).j1l = function () {
834
- return this.i32_1;
833
+ protoOf(ClassicExecutionContext).f1l = function () {
834
+ return this.z32_1;
835
835
  };
836
- protoOf(ClassicExecutionContext).u1u = function () {
837
- return this.j32_1;
836
+ protoOf(ClassicExecutionContext).c1v = function () {
837
+ return this.a33_1;
838
838
  };
839
- protoOf(ClassicExecutionContext).v1u = function () {
840
- return this.k32_1;
839
+ protoOf(ClassicExecutionContext).d1v = function () {
840
+ return this.b33_1;
841
841
  };
842
- protoOf(ClassicExecutionContext).w1u = function () {
843
- return this.l32_1;
842
+ protoOf(ClassicExecutionContext).e1v = function () {
843
+ return this.c33_1;
844
844
  };
845
- protoOf(ClassicExecutionContext).x1u = function () {
846
- return this.m32_1;
845
+ protoOf(ClassicExecutionContext).f1v = function () {
846
+ return this.d33_1;
847
847
  };
848
- protoOf(ClassicExecutionContext).d1v = function () {
849
- return this.n32_1;
848
+ protoOf(ClassicExecutionContext).l1v = function () {
849
+ return this.e33_1;
850
850
  };
851
- protoOf(ClassicExecutionContext).y1u = function () {
852
- return this.o32_1;
851
+ protoOf(ClassicExecutionContext).g1v = function () {
852
+ return this.f33_1;
853
853
  };
854
- protoOf(ClassicExecutionContext).z1u = function () {
855
- return this.p32_1;
854
+ protoOf(ClassicExecutionContext).h1v = function () {
855
+ return this.g33_1;
856
856
  };
857
- protoOf(ClassicExecutionContext).s1u = function () {
858
- return this.q32_1;
857
+ protoOf(ClassicExecutionContext).a1v = function () {
858
+ return this.h33_1;
859
859
  };
860
- protoOf(ClassicExecutionContext).q1u = function () {
861
- return this.r32_1;
860
+ protoOf(ClassicExecutionContext).y1u = function () {
861
+ return this.i33_1;
862
862
  };
863
- protoOf(ClassicExecutionContext).k1u = function () {
864
- return this.w32_1;
863
+ protoOf(ClassicExecutionContext).s1u = function () {
864
+ return this.n33_1;
865
865
  };
866
- protoOf(ClassicExecutionContext).m1u = function () {
867
- return this.x32_1;
866
+ protoOf(ClassicExecutionContext).u1u = function () {
867
+ return this.o33_1;
868
868
  };
869
- protoOf(ClassicExecutionContext).u35 = function () {
870
- return this.a33_1 === 0;
869
+ protoOf(ClassicExecutionContext).l36 = function () {
870
+ return this.r33_1 === 0;
871
871
  };
872
- protoOf(ClassicExecutionContext).f34 = function () {
873
- var tmp0_safe_receiver = this.y32_1;
874
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f34();
872
+ protoOf(ClassicExecutionContext).w34 = function () {
873
+ var tmp0_safe_receiver = this.p33_1;
874
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w34();
875
875
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
876
876
  };
877
- protoOf(ClassicExecutionContext).t35 = function () {
878
- return this.z32_1 == null ? true : (this.a33_1 - this.z32_1.a33_1 | 0) >= 1;
877
+ protoOf(ClassicExecutionContext).k36 = function () {
878
+ return this.q33_1 == null ? true : (this.r33_1 - this.q33_1.r33_1 | 0) >= 1;
879
879
  };
880
- protoOf(ClassicExecutionContext).v35 = function () {
880
+ protoOf(ClassicExecutionContext).m36 = function () {
881
881
  // Inline function 'kotlin.getValue' call
882
- var this_0 = this.e33_1;
882
+ var this_0 = this.v33_1;
883
883
  currentGoal$factory();
884
884
  return this_0.r2();
885
885
  };
886
- protoOf(ClassicExecutionContext).w35 = function (variable) {
886
+ protoOf(ClassicExecutionContext).n36 = function (variable) {
887
887
  return contains(_get_interestingVariables__k6uw5o(this), variable);
888
888
  };
889
- protoOf(ClassicExecutionContext).r1u = function () {
889
+ protoOf(ClassicExecutionContext).z1u = function () {
890
890
  // Inline function 'kotlin.getValue' call
891
- var this_0 = this.g33_1;
891
+ var this_0 = this.x33_1;
892
892
  logicStackTrace$factory();
893
893
  return this_0.r2();
894
894
  };
895
- protoOf(ClassicExecutionContext).t1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
895
+ protoOf(ClassicExecutionContext).b1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
896
896
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
897
897
  };
898
- protoOf(ClassicExecutionContext).a1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
898
+ protoOf(ClassicExecutionContext).i1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
899
899
  return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
900
900
  };
901
- protoOf(ClassicExecutionContext).c1v = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
902
- return this.y33(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
901
+ protoOf(ClassicExecutionContext).k1v = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
902
+ return this.p34(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
903
903
  };
904
- protoOf(ClassicExecutionContext).x35 = function (sideEffect) {
904
+ protoOf(ClassicExecutionContext).o36 = function (sideEffect) {
905
905
  var tmp = apply.call(this, sideEffect);
906
906
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
907
907
  };
908
908
  protoOf(ClassicExecutionContext).apply = function (sideEffect) {
909
- return this.x35(sideEffect);
909
+ return this.o36(sideEffect);
910
910
  };
911
- protoOf(ClassicExecutionContext).y35 = function (sideEffects) {
911
+ protoOf(ClassicExecutionContext).p36 = function (sideEffects) {
912
912
  var tmp = applyIterable.call(this, sideEffects);
913
913
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
914
914
  };
915
915
  protoOf(ClassicExecutionContext).applyIterable = function (sideEffects) {
916
- return this.y35(sideEffects);
916
+ return this.p36(sideEffects);
917
917
  };
918
- protoOf(ClassicExecutionContext).z35 = function (sideEffects) {
918
+ protoOf(ClassicExecutionContext).q36 = function (sideEffects) {
919
919
  var tmp = applySequence.call(this, sideEffects);
920
920
  return tmp instanceof ClassicExecutionContext ? tmp : THROW_CCE();
921
921
  };
922
922
  protoOf(ClassicExecutionContext).applySequence = function (sideEffects) {
923
- return this.z35(sideEffects);
923
+ return this.q36(sideEffects);
924
924
  };
925
925
  protoOf(ClassicExecutionContext).toString = function () {
926
- return 'ClassicExecutionContext(' + ('step=' + this.b33_1.toString() + ', ') + ('depth=' + this.a33_1 + ', ') + ('substitution=' + this.r32_1 + ', ') + ('logicStackTrace=' + this.r1u() + ', ') + ('goals=' + this.t32_1 + ', ') + ('rules=' + this.u32_1 + ', ') + ('primitives=' + this.v32_1 + ', ') + ('startTime=' + this.w32_1.toString() + ', ') + ('endTime=' + this.l1u().toString() + ', ') + ('maxDuration=' + this.x32_1.toString() + ', ') + ('unificator=' + this.i32_1 + ', ') + ('choicePoints=' + this.y32_1) + ')';
926
+ return 'ClassicExecutionContext(' + ('step=' + this.s33_1.toString() + ', ') + ('depth=' + this.r33_1 + ', ') + ('substitution=' + this.i33_1 + ', ') + ('logicStackTrace=' + this.z1u() + ', ') + ('goals=' + this.k33_1 + ', ') + ('rules=' + this.l33_1 + ', ') + ('primitives=' + this.m33_1 + ', ') + ('startTime=' + this.n33_1.toString() + ', ') + ('endTime=' + this.t1u().toString() + ', ') + ('maxDuration=' + this.o33_1.toString() + ', ') + ('unificator=' + this.z32_1 + ', ') + ('choicePoints=' + this.p33_1) + ')';
927
927
  };
928
- protoOf(ClassicExecutionContext).a36 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
928
+ protoOf(ClassicExecutionContext).r36 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
929
929
  return new ClassicExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
930
930
  };
931
- protoOf(ClassicExecutionContext).y33 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
932
- procedure = procedure === VOID ? this.h32_1 : procedure;
933
- unificator = unificator === VOID ? this.i32_1 : unificator;
934
- libraries = libraries === VOID ? this.j32_1 : libraries;
935
- flags = flags === VOID ? this.k32_1 : flags;
936
- staticKb = staticKb === VOID ? this.l32_1 : staticKb;
937
- dynamicKb = dynamicKb === VOID ? this.m32_1 : dynamicKb;
938
- operators = operators === VOID ? this.n32_1 : operators;
939
- inputChannels = inputChannels === VOID ? this.o32_1 : inputChannels;
940
- outputChannels = outputChannels === VOID ? this.p32_1 : outputChannels;
941
- customData = customData === VOID ? this.q32_1 : customData;
942
- substitution = substitution === VOID ? this.r32_1 : substitution;
943
- query = query === VOID ? this.s32_1 : query;
944
- goals = goals === VOID ? this.t32_1 : goals;
945
- rules = rules === VOID ? this.u32_1 : rules;
946
- primitives = primitives === VOID ? this.v32_1 : primitives;
947
- startTime = startTime === VOID ? this.w32_1 : startTime;
948
- maxDuration = maxDuration === VOID ? this.x32_1 : maxDuration;
949
- choicePoints = choicePoints === VOID ? this.y32_1 : choicePoints;
950
- parent = parent === VOID ? this.z32_1 : parent;
951
- depth = depth === VOID ? this.a33_1 : depth;
952
- step = step === VOID ? this.b33_1 : step;
953
- relevantVariables = relevantVariables === VOID ? this.c33_1 : relevantVariables;
954
- return $super === VOID ? this.a36(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.a36.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
931
+ protoOf(ClassicExecutionContext).p34 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
932
+ procedure = procedure === VOID ? this.y32_1 : procedure;
933
+ unificator = unificator === VOID ? this.z32_1 : unificator;
934
+ libraries = libraries === VOID ? this.a33_1 : libraries;
935
+ flags = flags === VOID ? this.b33_1 : flags;
936
+ staticKb = staticKb === VOID ? this.c33_1 : staticKb;
937
+ dynamicKb = dynamicKb === VOID ? this.d33_1 : dynamicKb;
938
+ operators = operators === VOID ? this.e33_1 : operators;
939
+ inputChannels = inputChannels === VOID ? this.f33_1 : inputChannels;
940
+ outputChannels = outputChannels === VOID ? this.g33_1 : outputChannels;
941
+ customData = customData === VOID ? this.h33_1 : customData;
942
+ substitution = substitution === VOID ? this.i33_1 : substitution;
943
+ query = query === VOID ? this.j33_1 : query;
944
+ goals = goals === VOID ? this.k33_1 : goals;
945
+ rules = rules === VOID ? this.l33_1 : rules;
946
+ primitives = primitives === VOID ? this.m33_1 : primitives;
947
+ startTime = startTime === VOID ? this.n33_1 : startTime;
948
+ maxDuration = maxDuration === VOID ? this.o33_1 : maxDuration;
949
+ choicePoints = choicePoints === VOID ? this.p33_1 : choicePoints;
950
+ parent = parent === VOID ? this.q33_1 : parent;
951
+ depth = depth === VOID ? this.r33_1 : depth;
952
+ step = step === VOID ? this.s33_1 : step;
953
+ relevantVariables = relevantVariables === VOID ? this.t33_1 : relevantVariables;
954
+ return $super === VOID ? this.r36(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.r36.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
955
955
  };
956
956
  protoOf(ClassicExecutionContext).hashCode = function () {
957
- var result = this.h32_1 == null ? 0 : this.h32_1.hashCode();
958
- result = imul(result, 31) + hashCode(this.i32_1) | 0;
959
- result = imul(result, 31) + hashCode(this.j32_1) | 0;
960
- result = imul(result, 31) + this.k32_1.hashCode() | 0;
961
- result = imul(result, 31) + hashCode(this.l32_1) | 0;
962
- result = imul(result, 31) + hashCode(this.m32_1) | 0;
963
- result = imul(result, 31) + this.n32_1.hashCode() | 0;
964
- result = imul(result, 31) + hashCode(this.o32_1) | 0;
965
- result = imul(result, 31) + hashCode(this.p32_1) | 0;
966
- result = imul(result, 31) + this.q32_1.hashCode() | 0;
967
- result = imul(result, 31) + hashCode(this.r32_1) | 0;
968
- result = imul(result, 31) + this.s32_1.hashCode() | 0;
969
- result = imul(result, 31) + hashCode(this.t32_1) | 0;
970
- result = imul(result, 31) + hashCode(this.u32_1) | 0;
971
- result = imul(result, 31) + hashCode(this.v32_1) | 0;
972
- result = imul(result, 31) + this.w32_1.hashCode() | 0;
973
- result = imul(result, 31) + this.x32_1.hashCode() | 0;
974
- result = imul(result, 31) + (this.y32_1 == null ? 0 : hashCode(this.y32_1)) | 0;
975
- result = imul(result, 31) + (this.z32_1 == null ? 0 : this.z32_1.hashCode()) | 0;
976
- result = imul(result, 31) + this.a33_1 | 0;
957
+ var result = this.y32_1 == null ? 0 : this.y32_1.hashCode();
958
+ result = imul(result, 31) + hashCode(this.z32_1) | 0;
959
+ result = imul(result, 31) + hashCode(this.a33_1) | 0;
977
960
  result = imul(result, 31) + this.b33_1.hashCode() | 0;
978
961
  result = imul(result, 31) + hashCode(this.c33_1) | 0;
962
+ result = imul(result, 31) + hashCode(this.d33_1) | 0;
963
+ result = imul(result, 31) + this.e33_1.hashCode() | 0;
964
+ result = imul(result, 31) + hashCode(this.f33_1) | 0;
965
+ result = imul(result, 31) + hashCode(this.g33_1) | 0;
966
+ result = imul(result, 31) + this.h33_1.hashCode() | 0;
967
+ result = imul(result, 31) + hashCode(this.i33_1) | 0;
968
+ result = imul(result, 31) + this.j33_1.hashCode() | 0;
969
+ result = imul(result, 31) + hashCode(this.k33_1) | 0;
970
+ result = imul(result, 31) + hashCode(this.l33_1) | 0;
971
+ result = imul(result, 31) + hashCode(this.m33_1) | 0;
972
+ result = imul(result, 31) + this.n33_1.hashCode() | 0;
973
+ result = imul(result, 31) + this.o33_1.hashCode() | 0;
974
+ result = imul(result, 31) + (this.p33_1 == null ? 0 : hashCode(this.p33_1)) | 0;
975
+ result = imul(result, 31) + (this.q33_1 == null ? 0 : this.q33_1.hashCode()) | 0;
976
+ result = imul(result, 31) + this.r33_1 | 0;
977
+ result = imul(result, 31) + this.s33_1.hashCode() | 0;
978
+ result = imul(result, 31) + hashCode(this.t33_1) | 0;
979
979
  return result;
980
980
  };
981
981
  protoOf(ClassicExecutionContext).equals = function (other) {
@@ -984,55 +984,55 @@
984
984
  if (!(other instanceof ClassicExecutionContext))
985
985
  return false;
986
986
  var tmp0_other_with_cast = other instanceof ClassicExecutionContext ? other : THROW_CCE();
987
- if (!equals(this.h32_1, tmp0_other_with_cast.h32_1))
987
+ if (!equals(this.y32_1, tmp0_other_with_cast.y32_1))
988
988
  return false;
989
- if (!equals(this.i32_1, tmp0_other_with_cast.i32_1))
989
+ if (!equals(this.z32_1, tmp0_other_with_cast.z32_1))
990
990
  return false;
991
- if (!equals(this.j32_1, tmp0_other_with_cast.j32_1))
991
+ if (!equals(this.a33_1, tmp0_other_with_cast.a33_1))
992
992
  return false;
993
- if (!this.k32_1.equals(tmp0_other_with_cast.k32_1))
993
+ if (!this.b33_1.equals(tmp0_other_with_cast.b33_1))
994
994
  return false;
995
- if (!equals(this.l32_1, tmp0_other_with_cast.l32_1))
995
+ if (!equals(this.c33_1, tmp0_other_with_cast.c33_1))
996
996
  return false;
997
- if (!equals(this.m32_1, tmp0_other_with_cast.m32_1))
997
+ if (!equals(this.d33_1, tmp0_other_with_cast.d33_1))
998
998
  return false;
999
- if (!this.n32_1.equals(tmp0_other_with_cast.n32_1))
999
+ if (!this.e33_1.equals(tmp0_other_with_cast.e33_1))
1000
1000
  return false;
1001
- if (!equals(this.o32_1, tmp0_other_with_cast.o32_1))
1001
+ if (!equals(this.f33_1, tmp0_other_with_cast.f33_1))
1002
1002
  return false;
1003
- if (!equals(this.p32_1, tmp0_other_with_cast.p32_1))
1003
+ if (!equals(this.g33_1, tmp0_other_with_cast.g33_1))
1004
1004
  return false;
1005
- if (!this.q32_1.equals(tmp0_other_with_cast.q32_1))
1005
+ if (!this.h33_1.equals(tmp0_other_with_cast.h33_1))
1006
1006
  return false;
1007
- if (!equals(this.r32_1, tmp0_other_with_cast.r32_1))
1007
+ if (!equals(this.i33_1, tmp0_other_with_cast.i33_1))
1008
1008
  return false;
1009
- if (!this.s32_1.equals(tmp0_other_with_cast.s32_1))
1009
+ if (!this.j33_1.equals(tmp0_other_with_cast.j33_1))
1010
1010
  return false;
1011
- if (!equals(this.t32_1, tmp0_other_with_cast.t32_1))
1011
+ if (!equals(this.k33_1, tmp0_other_with_cast.k33_1))
1012
1012
  return false;
1013
- if (!equals(this.u32_1, tmp0_other_with_cast.u32_1))
1013
+ if (!equals(this.l33_1, tmp0_other_with_cast.l33_1))
1014
1014
  return false;
1015
- if (!equals(this.v32_1, tmp0_other_with_cast.v32_1))
1015
+ if (!equals(this.m33_1, tmp0_other_with_cast.m33_1))
1016
1016
  return false;
1017
- if (!this.w32_1.equals(tmp0_other_with_cast.w32_1))
1017
+ if (!this.n33_1.equals(tmp0_other_with_cast.n33_1))
1018
1018
  return false;
1019
- if (!this.x32_1.equals(tmp0_other_with_cast.x32_1))
1019
+ if (!this.o33_1.equals(tmp0_other_with_cast.o33_1))
1020
1020
  return false;
1021
- if (!equals(this.y32_1, tmp0_other_with_cast.y32_1))
1021
+ if (!equals(this.p33_1, tmp0_other_with_cast.p33_1))
1022
1022
  return false;
1023
- if (!equals(this.z32_1, tmp0_other_with_cast.z32_1))
1023
+ if (!equals(this.q33_1, tmp0_other_with_cast.q33_1))
1024
1024
  return false;
1025
- if (!(this.a33_1 === tmp0_other_with_cast.a33_1))
1025
+ if (!(this.r33_1 === tmp0_other_with_cast.r33_1))
1026
1026
  return false;
1027
- if (!this.b33_1.equals(tmp0_other_with_cast.b33_1))
1027
+ if (!this.s33_1.equals(tmp0_other_with_cast.s33_1))
1028
1028
  return false;
1029
- if (!equals(this.c33_1, tmp0_other_with_cast.c33_1))
1029
+ if (!equals(this.t33_1, tmp0_other_with_cast.t33_1))
1030
1030
  return false;
1031
1031
  return true;
1032
1032
  };
1033
1033
  function currentGoal$factory() {
1034
1034
  return getPropertyCallableRef('currentGoal', 1, KProperty1, function (receiver) {
1035
- return receiver.v35();
1035
+ return receiver.m36();
1036
1036
  }, null);
1037
1037
  }
1038
1038
  function interestingVariables$factory() {
@@ -1042,11 +1042,11 @@
1042
1042
  }
1043
1043
  function logicStackTrace$factory() {
1044
1044
  return getPropertyCallableRef('logicStackTrace', 1, KProperty1, function (receiver) {
1045
- return receiver.r1u();
1045
+ return receiver.z1u();
1046
1046
  }, null);
1047
1047
  }
1048
1048
  function ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, $this) {
1049
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
1049
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1050
1050
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1051
1051
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1052
1052
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -1062,7 +1062,7 @@
1062
1062
  return ClassicSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(ClassicSolver)));
1063
1063
  }
1064
1064
  function ClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1065
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
1065
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1066
1066
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1067
1067
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1068
1068
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1079,35 +1079,35 @@
1079
1079
  function ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb) {
1080
1080
  return ClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, objectCreate(protoOf(ClassicSolver)));
1081
1081
  }
1082
- protoOf(ClassicSolver).j33 = function (initialState, onStateTransition) {
1083
- return Companion_instance_15.c36(initialState, onStateTransition);
1082
+ protoOf(ClassicSolver).a34 = function (initialState, onStateTransition) {
1083
+ return Companion_instance_15.t36(initialState, onStateTransition);
1084
1084
  };
1085
- protoOf(ClassicSolver).l1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1085
+ protoOf(ClassicSolver).t1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1086
1086
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1087
1087
  };
1088
- protoOf(ClassicSolver).y1s = function () {
1088
+ protoOf(ClassicSolver).u1s = function () {
1089
1089
  return this.copy();
1090
1090
  };
1091
1091
  protoOf(ClassicSolver).clone = function () {
1092
- return this.y1s();
1092
+ return this.u1s();
1093
1093
  };
1094
1094
  function ClassicSolver() {
1095
1095
  }
1096
1096
  function ClassicSolverFactory() {
1097
1097
  }
1098
- protoOf(ClassicSolverFactory).v1x = function () {
1098
+ protoOf(ClassicSolverFactory).d1y = function () {
1099
1099
  return DefaultBuiltins_getInstance();
1100
1100
  };
1101
- protoOf(ClassicSolverFactory).g1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1101
+ protoOf(ClassicSolverFactory).o1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1102
1102
  return ClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1103
1103
  };
1104
- protoOf(ClassicSolverFactory).m1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1104
+ protoOf(ClassicSolverFactory).u1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1105
1105
  return ClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1106
1106
  };
1107
- protoOf(ClassicSolverFactory).o1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1107
+ protoOf(ClassicSolverFactory).w1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1108
1108
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1109
1109
  };
1110
- protoOf(ClassicSolverFactory).q1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1110
+ protoOf(ClassicSolverFactory).y1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1111
1111
  return MutableClassicSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1112
1112
  };
1113
1113
  var ClassicSolverFactory_instance;
@@ -1115,7 +1115,7 @@
1115
1115
  return ClassicSolverFactory_instance;
1116
1116
  }
1117
1117
  function MutableClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, $this) {
1118
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
1118
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1119
1119
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1120
1120
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1121
1121
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1131,7 +1131,7 @@
1131
1131
  return MutableClassicSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(MutableClassicSolver)));
1132
1132
  }
1133
1133
  function MutableClassicSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1134
- unificator = unificator === VOID ? Companion_getInstance().g1l() : unificator;
1134
+ unificator = unificator === VOID ? Companion_getInstance().c1l() : unificator;
1135
1135
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1136
1136
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1137
1137
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1150,262 +1150,262 @@
1150
1150
  }
1151
1151
  function MutableClassicSolver$loadLibrary$lambda($library) {
1152
1152
  return function ($this$updateContext) {
1153
- var newRuntime = $this$updateContext.j32_1.plusLibrary($library);
1154
- return $this$updateContext.y33(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.n32_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
1153
+ var newRuntime = $this$updateContext.a33_1.plusLibrary($library);
1154
+ return $this$updateContext.p34(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.e33_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
1155
1155
  };
1156
1156
  }
1157
1157
  function MutableClassicSolver$unloadLibrary$lambda($library) {
1158
1158
  return function ($this$updateContext) {
1159
- var newRuntime = $this$updateContext.j32_1.plusLibrary($library);
1160
- return $this$updateContext.y33(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.l32_1, $this$updateContext.m32_1])));
1159
+ var newRuntime = $this$updateContext.a33_1.plusLibrary($library);
1160
+ return $this$updateContext.p34(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.c33_1, $this$updateContext.d33_1])));
1161
1161
  };
1162
1162
  }
1163
1163
  function MutableClassicSolver$setRuntime$lambda($libraries) {
1164
1164
  return function ($this$updateContext) {
1165
- return $this$updateContext.y33(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.l32_1, $this$updateContext.m32_1])));
1165
+ return $this$updateContext.p34(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.c33_1, $this$updateContext.d33_1])));
1166
1166
  };
1167
1167
  }
1168
1168
  function MutableClassicSolver$resetStaticKb$lambda($this$updateContext) {
1169
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.i32_1), VOID, toOperatorSet(getAllOperators($this$updateContext.j32_1, [$this$updateContext.m32_1])));
1169
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.z32_1), VOID, toOperatorSet(getAllOperators($this$updateContext.a33_1, [$this$updateContext.d33_1])));
1170
1170
  }
1171
1171
  function MutableClassicSolver$resetDynamicKb$lambda($this$updateContext) {
1172
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.i32_1), toOperatorSet(getAllOperators($this$updateContext.j32_1, [$this$updateContext.l32_1])));
1172
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.z32_1), toOperatorSet(getAllOperators($this$updateContext.a33_1, [$this$updateContext.c33_1])));
1173
1173
  }
1174
1174
  function MutableClassicSolver$assertA$lambda($clause) {
1175
1175
  return function ($this$updateContext) {
1176
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $this$updateContext.m32_1.o1s($clause), $this$updateContext.n32_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1176
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.k1s($clause), $this$updateContext.e33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1177
1177
  };
1178
1178
  }
1179
1179
  function MutableClassicSolver$assertA$lambda_0($fact) {
1180
1180
  return function ($this$updateContext) {
1181
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $this$updateContext.m32_1.b1t($fact));
1181
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.j1t($fact));
1182
1182
  };
1183
1183
  }
1184
1184
  function MutableClassicSolver$assertZ$lambda($clause) {
1185
1185
  return function ($this$updateContext) {
1186
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $this$updateContext.m32_1.s1s($clause), $this$updateContext.n32_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1186
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.o1s($clause), $this$updateContext.e33_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1187
1187
  };
1188
1188
  }
1189
1189
  function MutableClassicSolver$assertZ$lambda_0($fact) {
1190
1190
  return function ($this$updateContext) {
1191
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $this$updateContext.m32_1.c1t($fact));
1191
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $this$updateContext.d33_1.k1t($fact));
1192
1192
  };
1193
1193
  }
1194
1194
  function MutableClassicSolver$retract$lambda($result, $clause) {
1195
1195
  return function ($this$updateContext) {
1196
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $result.g1s().toMutableTheory(), $this$updateContext.n32_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1196
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory(), $this$updateContext.e33_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
1197
1197
  };
1198
1198
  }
1199
1199
  function MutableClassicSolver$retract$lambda_0($result) {
1200
1200
  return function ($this$updateContext) {
1201
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $result.g1s().toMutableTheory());
1201
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory());
1202
1202
  };
1203
1203
  }
1204
1204
  function MutableClassicSolver$retractAll$lambda($result) {
1205
1205
  return function ($this$updateContext) {
1206
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $result.g1s().toMutableTheory(), $this$updateContext.n32_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.g1s()))));
1206
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory(), $this$updateContext.e33_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.c1s()))));
1207
1207
  };
1208
1208
  }
1209
1209
  function MutableClassicSolver$retractAll$lambda_0($result) {
1210
1210
  return function ($this$updateContext) {
1211
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, $result.g1s().toMutableTheory());
1211
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, $result.c1s().toMutableTheory());
1212
1212
  };
1213
1213
  }
1214
1214
  function MutableClassicSolver$setFlag$lambda($name, $value) {
1215
1215
  return function ($this$updateContext) {
1216
- return $this$updateContext.y33(VOID, VOID, VOID, $this$updateContext.k32_1.set($name, $value));
1216
+ return $this$updateContext.p34(VOID, VOID, VOID, $this$updateContext.b33_1.set($name, $value));
1217
1217
  };
1218
1218
  }
1219
1219
  function MutableClassicSolver$setFlag$lambda_0($flag) {
1220
1220
  return function ($this$updateContext) {
1221
- return $this$updateContext.y33(VOID, VOID, VOID, $this$updateContext.k32_1.plusPair($flag));
1221
+ return $this$updateContext.p34(VOID, VOID, VOID, $this$updateContext.b33_1.plusPair($flag));
1222
1222
  };
1223
1223
  }
1224
1224
  function MutableClassicSolver$setFlag$lambda_1($flag) {
1225
1225
  return function ($this$updateContext) {
1226
- return $this$updateContext.y33(VOID, VOID, VOID, $this$updateContext.k32_1.plusNotable($flag));
1226
+ return $this$updateContext.p34(VOID, VOID, VOID, $this$updateContext.b33_1.plusNotable($flag));
1227
1227
  };
1228
1228
  }
1229
1229
  function MutableClassicSolver$setStandardInput$lambda($stdIn) {
1230
1230
  return function ($this$updateContext) {
1231
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.o32_1.plus(to('stdin', $stdIn)));
1231
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.f33_1.plus(to('stdin', $stdIn)));
1232
1232
  };
1233
1233
  }
1234
1234
  function MutableClassicSolver$setStandardError$lambda($stdErr) {
1235
1235
  return function ($this$updateContext) {
1236
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.p32_1.plus(to('stderr', $stdErr)));
1236
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.g33_1.plus(to('stderr', $stdErr)));
1237
1237
  };
1238
1238
  }
1239
1239
  function MutableClassicSolver$setStandardOutput$lambda($stdOut) {
1240
1240
  return function ($this$updateContext) {
1241
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.p32_1.plus(to('stdout', $stdOut)));
1241
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.g33_1.plus(to('stdout', $stdOut)));
1242
1242
  };
1243
1243
  }
1244
1244
  function MutableClassicSolver$setWarnings$lambda($warnings) {
1245
1245
  return function ($this$updateContext) {
1246
- return $this$updateContext.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.g1z($this$updateContext.p32_1, $warnings));
1246
+ return $this$updateContext.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.o1z($this$updateContext.g33_1, $warnings));
1247
1247
  };
1248
1248
  }
1249
- protoOf(MutableClassicSolver).e36 = function (library) {
1250
- this.z2a(MutableClassicSolver$loadLibrary$lambda(library));
1249
+ protoOf(MutableClassicSolver).v36 = function (library) {
1250
+ this.h2b(MutableClassicSolver$loadLibrary$lambda(library));
1251
1251
  };
1252
1252
  protoOf(MutableClassicSolver).loadLibrary = function (library) {
1253
- return this.e36(library);
1253
+ return this.v36(library);
1254
1254
  };
1255
- protoOf(MutableClassicSolver).f36 = function (library) {
1256
- this.z2a(MutableClassicSolver$unloadLibrary$lambda(library));
1255
+ protoOf(MutableClassicSolver).w36 = function (library) {
1256
+ this.h2b(MutableClassicSolver$unloadLibrary$lambda(library));
1257
1257
  };
1258
1258
  protoOf(MutableClassicSolver).unloadLibrary = function (library) {
1259
- return this.f36(library);
1259
+ return this.w36(library);
1260
1260
  };
1261
- protoOf(MutableClassicSolver).g36 = function (libraries) {
1262
- this.z2a(MutableClassicSolver$setRuntime$lambda(libraries));
1261
+ protoOf(MutableClassicSolver).x36 = function (libraries) {
1262
+ this.h2b(MutableClassicSolver$setRuntime$lambda(libraries));
1263
1263
  };
1264
1264
  protoOf(MutableClassicSolver).setLibraries = function (libraries) {
1265
- return this.g36(libraries);
1265
+ return this.x36(libraries);
1266
1266
  };
1267
- protoOf(MutableClassicSolver).h36 = function (theory) {
1268
- this.d2b(theory, VOID, false);
1267
+ protoOf(MutableClassicSolver).y36 = function (theory) {
1268
+ this.l2b(theory, VOID, false);
1269
1269
  };
1270
1270
  protoOf(MutableClassicSolver).loadStaticKb = function (theory) {
1271
- return this.h36(theory);
1271
+ return this.y36(theory);
1272
1272
  };
1273
- protoOf(MutableClassicSolver).i36 = function (theory) {
1274
- this.d2b(theory);
1273
+ protoOf(MutableClassicSolver).z36 = function (theory) {
1274
+ this.l2b(theory);
1275
1275
  };
1276
1276
  protoOf(MutableClassicSolver).appendStaticKb = function (theory) {
1277
- return this.i36(theory);
1277
+ return this.z36(theory);
1278
1278
  };
1279
- protoOf(MutableClassicSolver).j36 = function () {
1280
- this.z2a(MutableClassicSolver$resetStaticKb$lambda);
1279
+ protoOf(MutableClassicSolver).a37 = function () {
1280
+ this.h2b(MutableClassicSolver$resetStaticKb$lambda);
1281
1281
  };
1282
1282
  protoOf(MutableClassicSolver).resetStaticKb = function () {
1283
- return this.j36();
1283
+ return this.a37();
1284
1284
  };
1285
- protoOf(MutableClassicSolver).k36 = function (theory) {
1286
- this.d2b(VOID, theory, VOID, false);
1285
+ protoOf(MutableClassicSolver).b37 = function (theory) {
1286
+ this.l2b(VOID, theory, VOID, false);
1287
1287
  };
1288
1288
  protoOf(MutableClassicSolver).loadDynamicKb = function (theory) {
1289
- return this.k36(theory);
1289
+ return this.b37(theory);
1290
1290
  };
1291
- protoOf(MutableClassicSolver).l36 = function (theory) {
1292
- this.d2b(VOID, theory);
1291
+ protoOf(MutableClassicSolver).c37 = function (theory) {
1292
+ this.l2b(VOID, theory);
1293
1293
  };
1294
1294
  protoOf(MutableClassicSolver).appendDynamicKb = function (theory) {
1295
- return this.l36(theory);
1295
+ return this.c37(theory);
1296
1296
  };
1297
- protoOf(MutableClassicSolver).m36 = function () {
1298
- this.z2a(MutableClassicSolver$resetDynamicKb$lambda);
1297
+ protoOf(MutableClassicSolver).d37 = function () {
1298
+ this.h2b(MutableClassicSolver$resetDynamicKb$lambda);
1299
1299
  };
1300
1300
  protoOf(MutableClassicSolver).resetDynamicKb = function () {
1301
- return this.m36();
1301
+ return this.d37();
1302
1302
  };
1303
- protoOf(MutableClassicSolver).v1m = function (clause) {
1304
- this.z2a(MutableClassicSolver$assertA$lambda(clause));
1303
+ protoOf(MutableClassicSolver).r1m = function (clause) {
1304
+ this.h2b(MutableClassicSolver$assertA$lambda(clause));
1305
1305
  };
1306
1306
  protoOf(MutableClassicSolver).assertA = function (clause) {
1307
- return this.v1m(clause);
1307
+ return this.r1m(clause);
1308
1308
  };
1309
- protoOf(MutableClassicSolver).n36 = function (fact) {
1310
- this.z2a(MutableClassicSolver$assertA$lambda_0(fact));
1309
+ protoOf(MutableClassicSolver).e37 = function (fact) {
1310
+ this.h2b(MutableClassicSolver$assertA$lambda_0(fact));
1311
1311
  };
1312
1312
  protoOf(MutableClassicSolver).assertAFact = function (fact) {
1313
- return this.n36(fact);
1313
+ return this.e37(fact);
1314
1314
  };
1315
- protoOf(MutableClassicSolver).w1l = function (clause) {
1316
- this.z2a(MutableClassicSolver$assertZ$lambda(clause));
1315
+ protoOf(MutableClassicSolver).s1l = function (clause) {
1316
+ this.h2b(MutableClassicSolver$assertZ$lambda(clause));
1317
1317
  };
1318
1318
  protoOf(MutableClassicSolver).assertZ = function (clause) {
1319
- return this.w1l(clause);
1319
+ return this.s1l(clause);
1320
1320
  };
1321
- protoOf(MutableClassicSolver).o36 = function (fact) {
1322
- this.z2a(MutableClassicSolver$assertZ$lambda_0(fact));
1321
+ protoOf(MutableClassicSolver).f37 = function (fact) {
1322
+ this.h2b(MutableClassicSolver$assertZ$lambda_0(fact));
1323
1323
  };
1324
1324
  protoOf(MutableClassicSolver).assertZFact = function (fact) {
1325
- return this.o36(fact);
1325
+ return this.f37(fact);
1326
1326
  };
1327
- protoOf(MutableClassicSolver).d1t = function (clause) {
1328
- var result = this.x1u().retract(clause);
1329
- this.z2a(MutableClassicSolver$retract$lambda(result, clause));
1327
+ protoOf(MutableClassicSolver).l1t = function (clause) {
1328
+ var result = this.f1v().retract(clause);
1329
+ this.h2b(MutableClassicSolver$retract$lambda(result, clause));
1330
1330
  return result;
1331
1331
  };
1332
1332
  protoOf(MutableClassicSolver).retract = function (clause) {
1333
- return this.d1t(clause);
1333
+ return this.l1t(clause);
1334
1334
  };
1335
- protoOf(MutableClassicSolver).e1t = function (fact) {
1336
- var result = this.x1u().retractByHead(fact);
1337
- this.z2a(MutableClassicSolver$retract$lambda_0(result));
1335
+ protoOf(MutableClassicSolver).m1t = function (fact) {
1336
+ var result = this.f1v().retractByHead(fact);
1337
+ this.h2b(MutableClassicSolver$retract$lambda_0(result));
1338
1338
  return result;
1339
1339
  };
1340
1340
  protoOf(MutableClassicSolver).retractByHead = function (fact) {
1341
- return this.e1t(fact);
1341
+ return this.m1t(fact);
1342
1342
  };
1343
- protoOf(MutableClassicSolver).b1m = function (clause) {
1344
- var result = this.x1u().retractAll(clause);
1345
- this.z2a(MutableClassicSolver$retractAll$lambda(result));
1343
+ protoOf(MutableClassicSolver).x1l = function (clause) {
1344
+ var result = this.f1v().retractAll(clause);
1345
+ this.h2b(MutableClassicSolver$retractAll$lambda(result));
1346
1346
  return result;
1347
1347
  };
1348
1348
  protoOf(MutableClassicSolver).retractAll = function (clause) {
1349
- return this.b1m(clause);
1349
+ return this.x1l(clause);
1350
1350
  };
1351
- protoOf(MutableClassicSolver).p36 = function (fact) {
1352
- var result = this.x1u().retractAllByHead(fact);
1353
- this.z2a(MutableClassicSolver$retractAll$lambda_0(result));
1351
+ protoOf(MutableClassicSolver).g37 = function (fact) {
1352
+ var result = this.f1v().retractAllByHead(fact);
1353
+ this.h2b(MutableClassicSolver$retractAll$lambda_0(result));
1354
1354
  return result;
1355
1355
  };
1356
1356
  protoOf(MutableClassicSolver).retractAllBeHead = function (fact) {
1357
- return this.p36(fact);
1357
+ return this.g37(fact);
1358
1358
  };
1359
- protoOf(MutableClassicSolver).q36 = function (name, value) {
1360
- this.z2a(MutableClassicSolver$setFlag$lambda(name, value));
1359
+ protoOf(MutableClassicSolver).h37 = function (name, value) {
1360
+ this.h2b(MutableClassicSolver$setFlag$lambda(name, value));
1361
1361
  };
1362
1362
  protoOf(MutableClassicSolver).setFlag = function (name, value) {
1363
- return this.q36(name, value);
1363
+ return this.h37(name, value);
1364
1364
  };
1365
- protoOf(MutableClassicSolver).r36 = function (flag) {
1366
- this.z2a(MutableClassicSolver$setFlag$lambda_0(flag));
1365
+ protoOf(MutableClassicSolver).i37 = function (flag) {
1366
+ this.h2b(MutableClassicSolver$setFlag$lambda_0(flag));
1367
1367
  };
1368
1368
  protoOf(MutableClassicSolver).setFlagPair = function (flag) {
1369
- return this.r36(flag);
1369
+ return this.i37(flag);
1370
1370
  };
1371
- protoOf(MutableClassicSolver).s36 = function (flag) {
1372
- this.z2a(MutableClassicSolver$setFlag$lambda_1(flag));
1371
+ protoOf(MutableClassicSolver).j37 = function (flag) {
1372
+ this.h2b(MutableClassicSolver$setFlag$lambda_1(flag));
1373
1373
  };
1374
1374
  protoOf(MutableClassicSolver).setFlagNotable = function (flag) {
1375
- return this.s36(flag);
1375
+ return this.j37(flag);
1376
1376
  };
1377
- protoOf(MutableClassicSolver).t36 = function (stdIn) {
1378
- this.z2a(MutableClassicSolver$setStandardInput$lambda(stdIn));
1377
+ protoOf(MutableClassicSolver).k37 = function (stdIn) {
1378
+ this.h2b(MutableClassicSolver$setStandardInput$lambda(stdIn));
1379
1379
  };
1380
1380
  protoOf(MutableClassicSolver).setStandardInput = function (stdIn) {
1381
- return this.t36(stdIn);
1381
+ return this.k37(stdIn);
1382
1382
  };
1383
- protoOf(MutableClassicSolver).u36 = function (stdErr) {
1384
- this.z2a(MutableClassicSolver$setStandardError$lambda(stdErr));
1383
+ protoOf(MutableClassicSolver).l37 = function (stdErr) {
1384
+ this.h2b(MutableClassicSolver$setStandardError$lambda(stdErr));
1385
1385
  };
1386
1386
  protoOf(MutableClassicSolver).setStandardError = function (stdErr) {
1387
- return this.u36(stdErr);
1387
+ return this.l37(stdErr);
1388
1388
  };
1389
- protoOf(MutableClassicSolver).v36 = function (stdOut) {
1390
- this.z2a(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1389
+ protoOf(MutableClassicSolver).m37 = function (stdOut) {
1390
+ this.h2b(MutableClassicSolver$setStandardOutput$lambda(stdOut));
1391
1391
  };
1392
1392
  protoOf(MutableClassicSolver).setStandardOutput = function (stdOut) {
1393
- return this.v36(stdOut);
1393
+ return this.m37(stdOut);
1394
1394
  };
1395
- protoOf(MutableClassicSolver).w36 = function (warnings) {
1396
- this.z2a(MutableClassicSolver$setWarnings$lambda(warnings));
1395
+ protoOf(MutableClassicSolver).n37 = function (warnings) {
1396
+ this.h2b(MutableClassicSolver$setWarnings$lambda(warnings));
1397
1397
  };
1398
1398
  protoOf(MutableClassicSolver).setWarnings = function (warnings) {
1399
- return this.w36(warnings);
1399
+ return this.n37(warnings);
1400
1400
  };
1401
- protoOf(MutableClassicSolver).l1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1401
+ protoOf(MutableClassicSolver).t1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1402
1402
  return MutableClassicSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1403
1403
  };
1404
- protoOf(MutableClassicSolver).y1s = function () {
1404
+ protoOf(MutableClassicSolver).u1s = function () {
1405
1405
  return this.copy();
1406
1406
  };
1407
1407
  protoOf(MutableClassicSolver).clone = function () {
1408
- return this.y1s();
1408
+ return this.u1s();
1409
1409
  };
1410
1410
  function MutableClassicSolver() {
1411
1411
  }
@@ -1414,7 +1414,7 @@
1414
1414
  }
1415
1415
  function Companion() {
1416
1416
  }
1417
- protoOf(Companion).c36 = function (initialState, onStateTransition) {
1417
+ protoOf(Companion).t36 = function (initialState, onStateTransition) {
1418
1418
  return new SimpleSolutionIterator(initialState, onStateTransition);
1419
1419
  };
1420
1420
  protoOf(Companion).of = function (initialState, onStateTransition, $super) {
@@ -1425,7 +1425,7 @@
1425
1425
  tmp = onStateTransition;
1426
1426
  }
1427
1427
  onStateTransition = tmp;
1428
- return $super === VOID ? this.c36(initialState, onStateTransition) : $super.c36.call(this, initialState, onStateTransition);
1428
+ return $super === VOID ? this.t36(initialState, onStateTransition) : $super.t36.call(this, initialState, onStateTransition);
1429
1429
  };
1430
1430
  var Companion_instance_15;
1431
1431
  function Companion_getInstance_6() {
@@ -1433,73 +1433,73 @@
1433
1433
  }
1434
1434
  function AbstractEndState(solution, context) {
1435
1435
  AbstractState.call(this, context);
1436
- this.z36_1 = solution;
1437
- this.a37_1 = context;
1436
+ this.q37_1 = solution;
1437
+ this.r37_1 = context;
1438
1438
  }
1439
- protoOf(AbstractEndState).g2i = function () {
1440
- return this.z36_1;
1439
+ protoOf(AbstractEndState).x2i = function () {
1440
+ return this.q37_1;
1441
1441
  };
1442
1442
  protoOf(AbstractEndState).uc = function () {
1443
- return this.a37_1;
1443
+ return this.r37_1;
1444
1444
  };
1445
- protoOf(AbstractEndState).b37 = function () {
1445
+ protoOf(AbstractEndState).s37 = function () {
1446
1446
  throw NoSuchElementException_init_$Create$();
1447
1447
  };
1448
1448
  protoOf(AbstractEndState).asEndState = function () {
1449
- return this.d37();
1449
+ return this.u37();
1450
1450
  };
1451
1451
  function AbstractState$executionTime$delegate$lambda(this$0) {
1452
1452
  return function () {
1453
- return this$0.j37();
1453
+ return this$0.a38();
1454
1454
  };
1455
1455
  }
1456
1456
  function AbstractState(context) {
1457
- this.e37_1 = context;
1457
+ this.v37_1 = context;
1458
1458
  var tmp = this;
1459
- tmp.f37_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1459
+ tmp.w37_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1460
1460
  }
1461
1461
  protoOf(AbstractState).uc = function () {
1462
- return this.e37_1;
1462
+ return this.v37_1;
1463
1463
  };
1464
- protoOf(AbstractState).h37 = function () {
1464
+ protoOf(AbstractState).y37 = function () {
1465
1465
  // Inline function 'kotlin.getValue' call
1466
- var this_0 = this.f37_1;
1466
+ var this_0 = this.w37_1;
1467
1467
  executionTime$factory();
1468
1468
  return this_0.r2();
1469
1469
  };
1470
- protoOf(AbstractState).i37 = function () {
1471
- return this.h37().pb(this.uc().w32_1).q6(this.uc().x32_1) > 0;
1470
+ protoOf(AbstractState).z37 = function () {
1471
+ return this.y37().pb(this.uc().n33_1).q6(this.uc().o33_1) > 0;
1472
1472
  };
1473
1473
  protoOf(AbstractState).u = function () {
1474
1474
  var tmp;
1475
- if (this.i37()) {
1476
- var tmp0_exceededDuration = this.uc().x32_1;
1475
+ if (this.z37()) {
1476
+ var tmp0_exceededDuration = this.uc().o33_1;
1477
1477
  var tmp1_context = this.uc();
1478
- tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.uc().y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37()));
1478
+ tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.uc().p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1479
1479
  } else {
1480
- tmp = this.b37();
1480
+ tmp = this.s37();
1481
1481
  }
1482
1482
  return tmp;
1483
1483
  };
1484
1484
  protoOf(AbstractState).next = function () {
1485
1485
  return this.u();
1486
1486
  };
1487
- protoOf(AbstractState).j37 = function () {
1487
+ protoOf(AbstractState).a38 = function () {
1488
1488
  return currentTimeInstant();
1489
1489
  };
1490
- protoOf(AbstractState).k37 = function () {
1490
+ protoOf(AbstractState).b38 = function () {
1491
1491
  // Inline function 'kotlin.Long.plus' call
1492
- return this.uc().b33_1.ob(toLong(1));
1492
+ return this.uc().s33_1.ob(toLong(1));
1493
1493
  };
1494
- protoOf(AbstractState).l37 = function (_this__u8e3s4) {
1494
+ protoOf(AbstractState).c38 = function (_this__u8e3s4) {
1495
1495
  var tmp$ret$2;
1496
1496
  $l$block: {
1497
1497
  // Inline function 'kotlin.sequences.first' call
1498
- var tmp0_iterator = _this__u8e3s4.d33_1.r();
1498
+ var tmp0_iterator = _this__u8e3s4.u33_1.r();
1499
1499
  while (tmp0_iterator.s()) {
1500
1500
  var element = tmp0_iterator.u();
1501
1501
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.AbstractState.skipThrow.<anonymous>' call
1502
- var tmp0_safe_receiver = element.h32_1;
1502
+ var tmp0_safe_receiver = element.y32_1;
1503
1503
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qw();
1504
1504
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1505
1505
  if (!(tmp === Throw_getInstance().signature.name)) {
@@ -1513,7 +1513,7 @@
1513
1513
  };
1514
1514
  function executionTime$factory() {
1515
1515
  return getPropertyCallableRef('executionTime', 1, KProperty1, function (receiver) {
1516
- return receiver.h37();
1516
+ return receiver.y37();
1517
1517
  }, null);
1518
1518
  }
1519
1519
  function EndState() {
@@ -1522,28 +1522,28 @@
1522
1522
  }
1523
1523
  function StateBacktracking(context) {
1524
1524
  AbstractState.call(this, context);
1525
- this.o37_1 = context;
1525
+ this.f38_1 = context;
1526
1526
  }
1527
1527
  protoOf(StateBacktracking).uc = function () {
1528
- return this.o37_1;
1528
+ return this.f38_1;
1529
1529
  };
1530
- protoOf(StateBacktracking).b37 = function () {
1531
- var choicePoints = this.o37_1.y32_1;
1530
+ protoOf(StateBacktracking).s37 = function () {
1531
+ var choicePoints = this.f38_1.p33_1;
1532
1532
  var tmp;
1533
1533
  // Inline function 'kotlin.let' call
1534
1534
  // Inline function 'kotlin.contracts.contract' call
1535
1535
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1536
- if (choicePoints === null ? true : !choicePoints.f34()) {
1537
- tmp = new StateEnd(Companion_instance_8.no(this.o37_1.s32_1), this.o37_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37()));
1536
+ if (choicePoints === null ? true : !choicePoints.w34()) {
1537
+ tmp = new StateEnd(Companion_instance_8.no(this.f38_1.j33_1), this.f38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1538
1538
  } else {
1539
1539
  var tmp$ret$3;
1540
1540
  $l$block: {
1541
1541
  // Inline function 'kotlin.sequences.first' call
1542
- var tmp0_iterator = ensureNotNull(choicePoints).g34().r();
1542
+ var tmp0_iterator = ensureNotNull(choicePoints).x34().r();
1543
1543
  while (tmp0_iterator.s()) {
1544
1544
  var element = tmp0_iterator.u();
1545
1545
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateBacktracking.computeNext.<anonymous>' call
1546
- if (element.s33().gr()) {
1546
+ if (element.j34().gr()) {
1547
1547
  tmp$ret$3 = element;
1548
1548
  break $l$block;
1549
1549
  }
@@ -1551,9 +1551,9 @@
1551
1551
  throw NoSuchElementException_init_$Create$_0('Sequence contains no element matching the predicate.');
1552
1552
  }
1553
1553
  var choicePointContext = tmp$ret$3;
1554
- var nextContext = choicePointContext.x33(this.o37_1);
1554
+ var nextContext = choicePointContext.o34(this.f38_1);
1555
1555
  var tmp_0;
1556
- if (nextContext.v32_1.gr()) {
1556
+ if (nextContext.m33_1.gr()) {
1557
1557
  tmp_0 = new StatePrimitiveExecution(nextContext);
1558
1558
  } else {
1559
1559
  tmp_0 = new StateRuleExecution(nextContext);
@@ -1562,17 +1562,17 @@
1562
1562
  }
1563
1563
  return tmp;
1564
1564
  };
1565
- protoOf(StateBacktracking).g37 = function (context) {
1566
- return this.p37(context);
1565
+ protoOf(StateBacktracking).x37 = function (context) {
1566
+ return this.g38(context);
1567
1567
  };
1568
- protoOf(StateBacktracking).p37 = function (context) {
1568
+ protoOf(StateBacktracking).g38 = function (context) {
1569
1569
  return new StateBacktracking(context);
1570
1570
  };
1571
1571
  protoOf(StateBacktracking).toString = function () {
1572
- return 'StateBacktracking(context=' + this.o37_1 + ')';
1572
+ return 'StateBacktracking(context=' + this.f38_1 + ')';
1573
1573
  };
1574
1574
  protoOf(StateBacktracking).hashCode = function () {
1575
- return this.o37_1.hashCode();
1575
+ return this.f38_1.hashCode();
1576
1576
  };
1577
1577
  protoOf(StateBacktracking).equals = function (other) {
1578
1578
  if (this === other)
@@ -1580,48 +1580,48 @@
1580
1580
  if (!(other instanceof StateBacktracking))
1581
1581
  return false;
1582
1582
  var tmp0_other_with_cast = other instanceof StateBacktracking ? other : THROW_CCE();
1583
- if (!this.o37_1.equals(tmp0_other_with_cast.o37_1))
1583
+ if (!this.f38_1.equals(tmp0_other_with_cast.f38_1))
1584
1584
  return false;
1585
1585
  return true;
1586
1586
  };
1587
1587
  function StateEnd(solution, context) {
1588
1588
  AbstractEndState.call(this, solution, context);
1589
- this.u37_1 = solution;
1590
- this.v37_1 = context;
1589
+ this.l38_1 = solution;
1590
+ this.m38_1 = context;
1591
1591
  }
1592
- protoOf(StateEnd).g2i = function () {
1593
- return this.u37_1;
1592
+ protoOf(StateEnd).x2i = function () {
1593
+ return this.l38_1;
1594
1594
  };
1595
1595
  protoOf(StateEnd).uc = function () {
1596
- return this.v37_1;
1596
+ return this.m38_1;
1597
1597
  };
1598
- protoOf(StateEnd).i37 = function () {
1598
+ protoOf(StateEnd).z37 = function () {
1599
1599
  return false;
1600
1600
  };
1601
- protoOf(StateEnd).b37 = function () {
1601
+ protoOf(StateEnd).s37 = function () {
1602
1602
  var tmp;
1603
- if (this.v37_1.f34()) {
1604
- var tmp0_$this = this.v37_1;
1605
- var tmp1_step = this.k37();
1606
- var tmp2_startTime = this.j37();
1607
- tmp = new StateBacktracking(tmp0_$this.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1603
+ if (this.m38_1.w34()) {
1604
+ var tmp0_$this = this.m38_1;
1605
+ var tmp1_step = this.b38();
1606
+ var tmp2_startTime = this.a38();
1607
+ tmp = new StateBacktracking(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1608
1608
  } else {
1609
- tmp = protoOf(AbstractEndState).b37.call(this);
1609
+ tmp = protoOf(AbstractEndState).s37.call(this);
1610
1610
  }
1611
1611
  return tmp;
1612
1612
  };
1613
- protoOf(StateEnd).g37 = function (context) {
1614
- return this.w37(this.u37_1, context);
1613
+ protoOf(StateEnd).x37 = function (context) {
1614
+ return this.n38(this.l38_1, context);
1615
1615
  };
1616
- protoOf(StateEnd).w37 = function (solution, context) {
1616
+ protoOf(StateEnd).n38 = function (solution, context) {
1617
1617
  return new StateEnd(solution, context);
1618
1618
  };
1619
1619
  protoOf(StateEnd).toString = function () {
1620
- return 'StateEnd(solution=' + this.u37_1 + ', context=' + this.v37_1 + ')';
1620
+ return 'StateEnd(solution=' + this.l38_1 + ', context=' + this.m38_1 + ')';
1621
1621
  };
1622
1622
  protoOf(StateEnd).hashCode = function () {
1623
- var result = hashCode(this.u37_1);
1624
- result = imul(result, 31) + this.v37_1.hashCode() | 0;
1623
+ var result = hashCode(this.l38_1);
1624
+ result = imul(result, 31) + this.m38_1.hashCode() | 0;
1625
1625
  return result;
1626
1626
  };
1627
1627
  protoOf(StateEnd).equals = function (other) {
@@ -1630,14 +1630,14 @@
1630
1630
  if (!(other instanceof StateEnd))
1631
1631
  return false;
1632
1632
  var tmp0_other_with_cast = other instanceof StateEnd ? other : THROW_CCE();
1633
- if (!equals(this.u37_1, tmp0_other_with_cast.u37_1))
1633
+ if (!equals(this.l38_1, tmp0_other_with_cast.l38_1))
1634
1634
  return false;
1635
- if (!this.v37_1.equals(tmp0_other_with_cast.v37_1))
1635
+ if (!this.m38_1.equals(tmp0_other_with_cast.m38_1))
1636
1636
  return false;
1637
1637
  return true;
1638
1638
  };
1639
1639
  protoOf(StateEnd).asEndState = function () {
1640
- return this.d37();
1640
+ return this.u37();
1641
1641
  };
1642
1642
  function isCatch(_this__u8e3s4, $this) {
1643
1643
  var tmp;
@@ -1653,9 +1653,9 @@
1653
1653
  function getExceptionContent(_this__u8e3s4, $this) {
1654
1654
  var tmp;
1655
1655
  if (_this__u8e3s4 instanceof MessageError) {
1656
- tmp = _this__u8e3s4.s26();
1656
+ tmp = _this__u8e3s4.a27();
1657
1657
  } else {
1658
- tmp = _this__u8e3s4.u24();
1658
+ tmp = _this__u8e3s4.c25();
1659
1659
  }
1660
1660
  return tmp;
1661
1661
  }
@@ -1669,17 +1669,17 @@
1669
1669
  return tmp;
1670
1670
  }
1671
1671
  function _get_finalState__3aigq8($this) {
1672
- return new StateHalt(toPublicException($this.z37_1, $this), $this.a38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
1672
+ return new StateHalt(toPublicException($this.q38_1, $this), $this.r38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
1673
1673
  }
1674
1674
  function _get_handleExceptionInParentContext__yj3v4e($this) {
1675
- return new StateException($this.z37_1, ensureNotNull($this.a38_1.z32_1).y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
1675
+ return new StateException($this.q38_1, ensureNotNull($this.r38_1.q33_1).p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
1676
1676
  }
1677
1677
  function handleStruct($this, unificator, catchGoal, error) {
1678
1678
  var tmp;
1679
1679
  if (isCatch(catchGoal, $this)) {
1680
1680
  var catcher = unificator.mgu(catchGoal.get(1), getExceptionContent(error, $this));
1681
1681
  tmp = handleCatch($this, catchGoal, catcher);
1682
- } else if ($this.a38_1.u35()) {
1682
+ } else if ($this.r38_1.l36()) {
1683
1683
  tmp = _get_finalState__3aigq8($this);
1684
1684
  } else {
1685
1685
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1689,17 +1689,17 @@
1689
1689
  function handleCatch($this, catchGoal, catcher) {
1690
1690
  var tmp;
1691
1691
  if (catcher.w12()) {
1692
- var tmp_0 = $this.a38_1.r32_1.plus(catcher);
1692
+ var tmp_0 = $this.r38_1.i33_1.plus(catcher);
1693
1693
  var newSubstitution = tmp_0.filterEntry(StateException$handleCatch$lambda($this));
1694
1694
  var subGoals = catchGoal.get(2).getSubstituted(newSubstitution, []);
1695
- var newGoals = plus_0(toGoals(subGoals), $this.a38_1.t32_1.er());
1696
- var tmp0_$this = $this.a38_1;
1695
+ var newGoals = plus_0(toGoals(subGoals), $this.r38_1.k33_1.er());
1696
+ var tmp0_$this = $this.r38_1;
1697
1697
  var tmp1_rules = Companion_instance_7.empty();
1698
1698
  var tmp2_primitives = Companion_instance_7.empty();
1699
1699
  var tmp3_substitution = newSubstitution.castToUnifier();
1700
- var tmp4_step = $this.k37();
1701
- tmp = new StateGoalSelection(tmp0_$this.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_substitution, VOID, newGoals, tmp1_rules, tmp2_primitives, VOID, VOID, VOID, VOID, VOID, tmp4_step));
1702
- } else if ($this.a38_1.u35()) {
1700
+ var tmp4_step = $this.b38();
1701
+ tmp = new StateGoalSelection(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_substitution, VOID, newGoals, tmp1_rules, tmp2_primitives, VOID, VOID, VOID, VOID, VOID, tmp4_step));
1702
+ } else if ($this.r38_1.l36()) {
1703
1703
  tmp = _get_finalState__3aigq8($this);
1704
1704
  } else {
1705
1705
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1710,39 +1710,39 @@
1710
1710
  return function (_name_for_destructuring_parameter_0__wldtmu) {
1711
1711
  // Inline function 'kotlin.collections.component1' call
1712
1712
  var it = _name_for_destructuring_parameter_0__wldtmu.q2();
1713
- return this$0.a38_1.w35(it);
1713
+ return this$0.r38_1.n36(it);
1714
1714
  };
1715
1715
  }
1716
1716
  function StateException(exception, context) {
1717
1717
  AbstractState.call(this, context);
1718
- this.z37_1 = exception;
1719
- this.a38_1 = context;
1718
+ this.q38_1 = exception;
1719
+ this.r38_1 = context;
1720
1720
  }
1721
1721
  protoOf(StateException).uc = function () {
1722
- return this.a38_1;
1722
+ return this.r38_1;
1723
1723
  };
1724
- protoOf(StateException).b37 = function () {
1724
+ protoOf(StateException).s37 = function () {
1725
1725
  var tmp;
1726
- if (this.z37_1 instanceof LogicError) {
1727
- var catchGoal = ensureNotNull(this.a38_1.v35());
1728
- tmp = catchGoal.ww() ? handleStruct(this, this.a38_1.i32_1, catchGoal.castToStruct(), this.z37_1) : this.a38_1.u35() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1726
+ if (this.q38_1 instanceof LogicError) {
1727
+ var catchGoal = ensureNotNull(this.r38_1.m36());
1728
+ tmp = catchGoal.ww() ? handleStruct(this, this.r38_1.z32_1, catchGoal.castToStruct(), this.q38_1) : this.r38_1.l36() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1729
1729
  } else {
1730
1730
  tmp = _get_finalState__3aigq8(this);
1731
1731
  }
1732
1732
  return tmp;
1733
1733
  };
1734
- protoOf(StateException).g37 = function (context) {
1735
- return this.b38(this.z37_1, context);
1734
+ protoOf(StateException).x37 = function (context) {
1735
+ return this.s38(this.q38_1, context);
1736
1736
  };
1737
- protoOf(StateException).b38 = function (exception, context) {
1737
+ protoOf(StateException).s38 = function (exception, context) {
1738
1738
  return new StateException(exception, context);
1739
1739
  };
1740
1740
  protoOf(StateException).toString = function () {
1741
- return 'StateException(exception=' + this.z37_1 + ', context=' + this.a38_1 + ')';
1741
+ return 'StateException(exception=' + this.q38_1 + ', context=' + this.r38_1 + ')';
1742
1742
  };
1743
1743
  protoOf(StateException).hashCode = function () {
1744
- var result = hashCode(this.z37_1);
1745
- result = imul(result, 31) + this.a38_1.hashCode() | 0;
1744
+ var result = hashCode(this.q38_1);
1745
+ result = imul(result, 31) + this.r38_1.hashCode() | 0;
1746
1746
  return result;
1747
1747
  };
1748
1748
  protoOf(StateException).equals = function (other) {
@@ -1751,9 +1751,9 @@
1751
1751
  if (!(other instanceof StateException))
1752
1752
  return false;
1753
1753
  var tmp0_other_with_cast = other instanceof StateException ? other : THROW_CCE();
1754
- if (!equals(this.z37_1, tmp0_other_with_cast.z37_1))
1754
+ if (!equals(this.q38_1, tmp0_other_with_cast.q38_1))
1755
1755
  return false;
1756
- if (!this.a38_1.equals(tmp0_other_with_cast.a38_1))
1756
+ if (!this.r38_1.equals(tmp0_other_with_cast.r38_1))
1757
1757
  return false;
1758
1758
  return true;
1759
1759
  };
@@ -1761,63 +1761,63 @@
1761
1761
  return function (_name_for_destructuring_parameter_0__wldtmu) {
1762
1762
  // Inline function 'kotlin.collections.component1' call
1763
1763
  var it = _name_for_destructuring_parameter_0__wldtmu.q2();
1764
- return this$0.e38_1.w35(it);
1764
+ return this$0.v38_1.n36(it);
1765
1765
  };
1766
1766
  }
1767
1767
  function StateGoalSelection(context) {
1768
1768
  AbstractState.call(this, context);
1769
- this.e38_1 = context;
1769
+ this.v38_1 = context;
1770
1770
  }
1771
1771
  protoOf(StateGoalSelection).uc = function () {
1772
- return this.e38_1;
1772
+ return this.v38_1;
1773
1773
  };
1774
- protoOf(StateGoalSelection).b37 = function () {
1774
+ protoOf(StateGoalSelection).s37 = function () {
1775
1775
  var tmp;
1776
- if (this.e38_1.t32_1.hr()) {
1776
+ if (this.v38_1.k33_1.hr()) {
1777
1777
  var tmp_0;
1778
- if (this.e38_1.u35()) {
1779
- tmp_0 = new StateEnd(Companion_instance_8.g1w(this.e38_1.s32_1, this.e38_1.r32_1), this.e38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37()));
1778
+ if (this.v38_1.l36()) {
1779
+ tmp_0 = new StateEnd(Companion_instance_8.o1w(this.v38_1.j33_1, this.v38_1.i33_1), this.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1780
1780
  } else {
1781
1781
  // Inline function 'kotlin.let' call
1782
1782
  // Inline function 'kotlin.contracts.contract' call
1783
1783
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateGoalSelection.computeNext.<anonymous>' call
1784
- var it = ensureNotNull(this.e38_1.z32_1);
1785
- var tmp0_choicePoints = this.e38_1.y32_1;
1786
- var tmp1_flags = this.e38_1.k32_1;
1787
- var tmp2_dynamicKb = this.e38_1.m32_1;
1788
- var tmp3_staticKb = this.e38_1.l32_1;
1789
- var tmp4_substitution = this.e38_1.r32_1.q12(StateGoalSelection$computeNext$lambda(this));
1790
- var tmp5_goals = it.t32_1.er();
1791
- var tmp6_procedure = it.h32_1;
1792
- var tmp7_step = this.k37();
1793
- var tmp8_startTime = this.e38_1.w32_1;
1794
- var tmp9_operators = this.e38_1.n32_1;
1795
- var tmp10_inputChannels = this.e38_1.o32_1;
1796
- var tmp11_outputChannels = this.e38_1.p32_1;
1797
- var tmp12_libraries = this.e38_1.j32_1;
1798
- var tmp13_customData = this.e38_1.q32_1;
1799
- var tmp$ret$1 = it.y33(tmp6_procedure, VOID, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, VOID, tmp5_goals, VOID, VOID, tmp8_startTime, VOID, tmp0_choicePoints, VOID, VOID, tmp7_step);
1784
+ var it = ensureNotNull(this.v38_1.q33_1);
1785
+ var tmp0_choicePoints = this.v38_1.p33_1;
1786
+ var tmp1_flags = this.v38_1.b33_1;
1787
+ var tmp2_dynamicKb = this.v38_1.d33_1;
1788
+ var tmp3_staticKb = this.v38_1.c33_1;
1789
+ var tmp4_substitution = this.v38_1.i33_1.q12(StateGoalSelection$computeNext$lambda(this));
1790
+ var tmp5_goals = it.k33_1.er();
1791
+ var tmp6_procedure = it.y32_1;
1792
+ var tmp7_step = this.b38();
1793
+ var tmp8_startTime = this.v38_1.n33_1;
1794
+ var tmp9_operators = this.v38_1.e33_1;
1795
+ var tmp10_inputChannels = this.v38_1.f33_1;
1796
+ var tmp11_outputChannels = this.v38_1.g33_1;
1797
+ var tmp12_libraries = this.v38_1.a33_1;
1798
+ var tmp13_customData = this.v38_1.h33_1;
1799
+ var tmp$ret$1 = it.p34(tmp6_procedure, VOID, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, VOID, tmp5_goals, VOID, VOID, tmp8_startTime, VOID, tmp0_choicePoints, VOID, VOID, tmp7_step);
1800
1800
  tmp_0 = new StateGoalSelection(tmp$ret$1);
1801
1801
  }
1802
1802
  tmp = tmp_0;
1803
- } else if (equals(this.e38_1.k32_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().z28_1)) {
1804
- tmp = new StatePrimitiveSelection(this.e38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37(), plus_1(this.e38_1.c33_1, toSet(ensureNotNull(this.e38_1.t32_1.fr()).sw()))));
1803
+ } else if (equals(this.v38_1.b33_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().h29_1)) {
1804
+ tmp = new StatePrimitiveSelection(this.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38(), plus_1(this.v38_1.t33_1, toSet(ensureNotNull(this.v38_1.k33_1.fr()).sw()))));
1805
1805
  } else {
1806
- tmp = new StatePrimitiveSelection(this.e38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37()));
1806
+ tmp = new StatePrimitiveSelection(this.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1807
1807
  }
1808
1808
  return tmp;
1809
1809
  };
1810
- protoOf(StateGoalSelection).g37 = function (context) {
1811
- return this.p37(context);
1810
+ protoOf(StateGoalSelection).x37 = function (context) {
1811
+ return this.g38(context);
1812
1812
  };
1813
- protoOf(StateGoalSelection).p37 = function (context) {
1813
+ protoOf(StateGoalSelection).g38 = function (context) {
1814
1814
  return new StateGoalSelection(context);
1815
1815
  };
1816
1816
  protoOf(StateGoalSelection).toString = function () {
1817
- return 'StateGoalSelection(context=' + this.e38_1 + ')';
1817
+ return 'StateGoalSelection(context=' + this.v38_1 + ')';
1818
1818
  };
1819
1819
  protoOf(StateGoalSelection).hashCode = function () {
1820
- return this.e38_1.hashCode();
1820
+ return this.v38_1.hashCode();
1821
1821
  };
1822
1822
  protoOf(StateGoalSelection).equals = function (other) {
1823
1823
  if (this === other)
@@ -1825,30 +1825,30 @@
1825
1825
  if (!(other instanceof StateGoalSelection))
1826
1826
  return false;
1827
1827
  var tmp0_other_with_cast = other instanceof StateGoalSelection ? other : THROW_CCE();
1828
- if (!this.e38_1.equals(tmp0_other_with_cast.e38_1))
1828
+ if (!this.v38_1.equals(tmp0_other_with_cast.v38_1))
1829
1829
  return false;
1830
1830
  return true;
1831
1831
  };
1832
1832
  function StateHalt(exception, context) {
1833
- AbstractEndState.call(this, Companion_instance_8.halt(context.s32_1, exception), context);
1834
- this.j38_1 = exception;
1835
- this.k38_1 = context;
1833
+ AbstractEndState.call(this, Companion_instance_8.halt(context.j33_1, exception), context);
1834
+ this.a39_1 = exception;
1835
+ this.b39_1 = context;
1836
1836
  }
1837
1837
  protoOf(StateHalt).uc = function () {
1838
- return this.k38_1;
1838
+ return this.b39_1;
1839
1839
  };
1840
- protoOf(StateHalt).g37 = function (context) {
1841
- return this.b38(this.j38_1, context);
1840
+ protoOf(StateHalt).x37 = function (context) {
1841
+ return this.s38(this.a39_1, context);
1842
1842
  };
1843
- protoOf(StateHalt).b38 = function (exception, context) {
1843
+ protoOf(StateHalt).s38 = function (exception, context) {
1844
1844
  return new StateHalt(exception, context);
1845
1845
  };
1846
1846
  protoOf(StateHalt).toString = function () {
1847
- return 'StateHalt(exception=' + this.j38_1 + ', context=' + this.k38_1 + ')';
1847
+ return 'StateHalt(exception=' + this.a39_1 + ', context=' + this.b39_1 + ')';
1848
1848
  };
1849
1849
  protoOf(StateHalt).hashCode = function () {
1850
- var result = hashCode(this.j38_1);
1851
- result = imul(result, 31) + this.k38_1.hashCode() | 0;
1850
+ var result = hashCode(this.a39_1);
1851
+ result = imul(result, 31) + this.b39_1.hashCode() | 0;
1852
1852
  return result;
1853
1853
  };
1854
1854
  protoOf(StateHalt).equals = function (other) {
@@ -1857,43 +1857,43 @@
1857
1857
  if (!(other instanceof StateHalt))
1858
1858
  return false;
1859
1859
  var tmp0_other_with_cast = other instanceof StateHalt ? other : THROW_CCE();
1860
- if (!equals(this.j38_1, tmp0_other_with_cast.j38_1))
1860
+ if (!equals(this.a39_1, tmp0_other_with_cast.a39_1))
1861
1861
  return false;
1862
- if (!this.k38_1.equals(tmp0_other_with_cast.k38_1))
1862
+ if (!this.b39_1.equals(tmp0_other_with_cast.b39_1))
1863
1863
  return false;
1864
1864
  return true;
1865
1865
  };
1866
1866
  protoOf(StateHalt).asEndState = function () {
1867
- return this.d37();
1867
+ return this.u37();
1868
1868
  };
1869
1869
  function StateInit(context) {
1870
1870
  AbstractState.call(this, context);
1871
- this.n38_1 = context;
1871
+ this.e39_1 = context;
1872
1872
  }
1873
1873
  protoOf(StateInit).uc = function () {
1874
- return this.n38_1;
1874
+ return this.e39_1;
1875
1875
  };
1876
- protoOf(StateInit).b37 = function () {
1877
- var tmp0_$this = this.n38_1;
1878
- var tmp1_goals = toGoals(this.n38_1.s32_1);
1876
+ protoOf(StateInit).s37 = function () {
1877
+ var tmp0_$this = this.e39_1;
1878
+ var tmp1_goals = toGoals(this.e39_1.j33_1);
1879
1879
  var tmp2_rules = Companion_instance_7.empty();
1880
1880
  var tmp3_primitives = Companion_instance_7.empty();
1881
1881
  var tmp4_substitution = Companion_getInstance_2().empty();
1882
- var tmp5_customData = this.n38_1.q32_1.preservePersistent();
1882
+ var tmp5_customData = this.e39_1.h33_1.preservePersistent();
1883
1883
  var tmp6_relevantVariables = emptySet();
1884
- return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp5_customData, tmp4_substitution, VOID, tmp1_goals, tmp2_rules, tmp3_primitives, VOID, VOID, null, null, 0, new Long(1, 0), tmp6_relevantVariables), Companion_instance_7.empty()));
1884
+ return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp5_customData, tmp4_substitution, VOID, tmp1_goals, tmp2_rules, tmp3_primitives, VOID, VOID, null, null, 0, new Long(1, 0), tmp6_relevantVariables), Companion_instance_7.empty()));
1885
1885
  };
1886
- protoOf(StateInit).g37 = function (context) {
1887
- return this.p37(context);
1886
+ protoOf(StateInit).x37 = function (context) {
1887
+ return this.g38(context);
1888
1888
  };
1889
- protoOf(StateInit).p37 = function (context) {
1889
+ protoOf(StateInit).g38 = function (context) {
1890
1890
  return new StateInit(context);
1891
1891
  };
1892
1892
  protoOf(StateInit).toString = function () {
1893
- return 'StateInit(context=' + this.n38_1 + ')';
1893
+ return 'StateInit(context=' + this.e39_1 + ')';
1894
1894
  };
1895
1895
  protoOf(StateInit).hashCode = function () {
1896
- return this.n38_1.hashCode();
1896
+ return this.e39_1.hashCode();
1897
1897
  };
1898
1898
  protoOf(StateInit).equals = function (other) {
1899
1899
  if (this === other)
@@ -1901,12 +1901,12 @@
1901
1901
  if (!(other instanceof StateInit))
1902
1902
  return false;
1903
1903
  var tmp0_other_with_cast = other instanceof StateInit ? other : THROW_CCE();
1904
- if (!this.n38_1.equals(tmp0_other_with_cast.n38_1))
1904
+ if (!this.e39_1.equals(tmp0_other_with_cast.e39_1))
1905
1905
  return false;
1906
1906
  return true;
1907
1907
  };
1908
1908
  function copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution) {
1909
- var tmp0_safe_receiver = _this__u8e3s4.v32_1.fr();
1909
+ var tmp0_safe_receiver = _this__u8e3s4.m33_1.fr();
1910
1910
  var tmp;
1911
1911
  if (tmp0_safe_receiver == null) {
1912
1912
  tmp = null;
@@ -1914,18 +1914,18 @@
1914
1914
  // Inline function 'kotlin.let' call
1915
1915
  // Inline function 'kotlin.contracts.contract' call
1916
1916
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveExecution.copyFromCurrentPrimitive.<anonymous>' call
1917
- tmp = _this__u8e3s4.y35(tmp0_safe_receiver.sideEffects);
1917
+ tmp = _this__u8e3s4.p36(tmp0_safe_receiver.sideEffects);
1918
1918
  }
1919
1919
  var tmp1_elvis_lhs = tmp;
1920
1920
  var ctx = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
1921
- var tmp4_goals = goals == null ? _this__u8e3s4.t32_1 : goals;
1922
- var tmp_0 = drop(_this__u8e3s4.d33_1, procedureFromAncestor);
1921
+ var tmp4_goals = goals == null ? _this__u8e3s4.k33_1 : goals;
1922
+ var tmp_0 = drop(_this__u8e3s4.u33_1, procedureFromAncestor);
1923
1923
  var tmp5_procedure = first(map(tmp_0, StatePrimitiveExecution$copyFromCurrentPrimitive$lambda));
1924
1924
  var tmp6_primitives = Companion_instance_7.empty();
1925
- var tmp_1 = substitution == null ? _this__u8e3s4.r32_1 : substitution;
1925
+ var tmp_1 = substitution == null ? _this__u8e3s4.i33_1 : substitution;
1926
1926
  var tmp7_substitution = isInterface(tmp_1, Unifier) ? tmp_1 : THROW_CCE();
1927
- var tmp8_step = $this.k37();
1928
- return ctx.y33(tmp5_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp7_substitution, VOID, tmp4_goals, VOID, tmp6_primitives, VOID, VOID, VOID, VOID, VOID, tmp8_step);
1927
+ var tmp8_step = $this.b38();
1928
+ return ctx.p34(tmp5_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp7_substitution, VOID, tmp4_goals, VOID, tmp6_primitives, VOID, VOID, VOID, VOID, VOID, tmp8_step);
1929
1929
  }
1930
1930
  function copyFromCurrentPrimitive$default(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution, $super) {
1931
1931
  goals = goals === VOID ? null : goals;
@@ -1934,21 +1934,21 @@
1934
1934
  return copyFromCurrentPrimitive(_this__u8e3s4, $this, goals, procedureFromAncestor, substitution);
1935
1935
  }
1936
1936
  function StatePrimitiveExecution$copyFromCurrentPrimitive$lambda(it) {
1937
- return it.h32_1;
1937
+ return it.y32_1;
1938
1938
  }
1939
1939
  function StatePrimitiveExecution$computeNext$lambda(this$0) {
1940
1940
  return function (it) {
1941
- return new StateGoalSelection(copyFromCurrentPrimitive(this$0.q38_1, this$0, this$0.q38_1.t32_1.er(), 1, this$0.q38_1.i32_1.mergeWithOccurCheck(this$0.q38_1.r32_1, it.q1u(), false)));
1941
+ return new StateGoalSelection(copyFromCurrentPrimitive(this$0.h39_1, this$0, this$0.h39_1.k33_1.er(), 1, this$0.h39_1.z32_1.mergeWithOccurCheck(this$0.h39_1.i33_1, it.y1u(), false)));
1942
1942
  };
1943
1943
  }
1944
1944
  function StatePrimitiveExecution$computeNext$lambda_0(this$0) {
1945
1945
  return function (it) {
1946
- return new StateBacktracking(copyFromCurrentPrimitive$default(ensureNotNull(this$0.q38_1.z32_1), this$0));
1946
+ return new StateBacktracking(copyFromCurrentPrimitive$default(ensureNotNull(this$0.h39_1.q33_1), this$0));
1947
1947
  };
1948
1948
  }
1949
1949
  function StatePrimitiveExecution$computeNext$lambda_1(this$0) {
1950
1950
  return function (it) {
1951
- return new StateException(it.x1v().updateLastContext(this$0.l37(this$0.q38_1)), copyFromCurrentPrimitive$default(this$0.q38_1, this$0));
1951
+ return new StateException(it.f1w().updateLastContext(this$0.c38(this$0.h39_1)), copyFromCurrentPrimitive$default(this$0.h39_1, this$0));
1952
1952
  };
1953
1953
  }
1954
1954
  function StatePrimitiveExecution$computeNext$lambda_2(it) {
@@ -1956,15 +1956,15 @@
1956
1956
  }
1957
1957
  function StatePrimitiveExecution(context) {
1958
1958
  AbstractState.call(this, context);
1959
- this.q38_1 = context;
1959
+ this.h39_1 = context;
1960
1960
  }
1961
1961
  protoOf(StatePrimitiveExecution).uc = function () {
1962
- return this.q38_1;
1962
+ return this.h39_1;
1963
1963
  };
1964
- protoOf(StatePrimitiveExecution).b37 = function () {
1964
+ protoOf(StatePrimitiveExecution).s37 = function () {
1965
1965
  var tmp;
1966
1966
  try {
1967
- var tmp0_safe_receiver = this.q38_1.v32_1.fr();
1967
+ var tmp0_safe_receiver = this.h39_1.m33_1.fr();
1968
1968
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.solution;
1969
1969
  var tmp_0;
1970
1970
  if (tmp1_safe_receiver == null) {
@@ -1973,15 +1973,15 @@
1973
1973
  var tmp_1 = StatePrimitiveExecution$computeNext$lambda(this);
1974
1974
  var tmp_2 = StatePrimitiveExecution$computeNext$lambda_0(this);
1975
1975
  var tmp_3 = StatePrimitiveExecution$computeNext$lambda_1(this);
1976
- tmp_0 = tmp1_safe_receiver.b1w(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
1976
+ tmp_0 = tmp1_safe_receiver.j1w(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
1977
1977
  }
1978
1978
  var tmp2_elvis_lhs = tmp_0;
1979
- tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive$default(this.q38_1, this)) : tmp2_elvis_lhs;
1979
+ tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive$default(this.h39_1, this)) : tmp2_elvis_lhs;
1980
1980
  } catch ($p) {
1981
1981
  var tmp_4;
1982
1982
  if ($p instanceof ResolutionException) {
1983
1983
  var exception = $p;
1984
- tmp_4 = new StateException(exception.updateLastContext(this.l37(this.q38_1)), this.q38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37()));
1984
+ tmp_4 = new StateException(exception.updateLastContext(this.c38(this.h39_1)), this.h39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
1985
1985
  } else {
1986
1986
  throw $p;
1987
1987
  }
@@ -1989,17 +1989,17 @@
1989
1989
  }
1990
1990
  return tmp;
1991
1991
  };
1992
- protoOf(StatePrimitiveExecution).g37 = function (context) {
1993
- return this.p37(context);
1992
+ protoOf(StatePrimitiveExecution).x37 = function (context) {
1993
+ return this.g38(context);
1994
1994
  };
1995
- protoOf(StatePrimitiveExecution).p37 = function (context) {
1995
+ protoOf(StatePrimitiveExecution).g38 = function (context) {
1996
1996
  return new StatePrimitiveExecution(context);
1997
1997
  };
1998
1998
  protoOf(StatePrimitiveExecution).toString = function () {
1999
- return 'StatePrimitiveExecution(context=' + this.q38_1 + ')';
1999
+ return 'StatePrimitiveExecution(context=' + this.h39_1 + ')';
2000
2000
  };
2001
2001
  protoOf(StatePrimitiveExecution).hashCode = function () {
2002
- return this.q38_1.hashCode();
2002
+ return this.h39_1.hashCode();
2003
2003
  };
2004
2004
  protoOf(StatePrimitiveExecution).equals = function (other) {
2005
2005
  if (this === other)
@@ -2007,39 +2007,39 @@
2007
2007
  if (!(other instanceof StatePrimitiveExecution))
2008
2008
  return false;
2009
2009
  var tmp0_other_with_cast = other instanceof StatePrimitiveExecution ? other : THROW_CCE();
2010
- if (!this.q38_1.equals(tmp0_other_with_cast.q38_1))
2010
+ if (!this.h39_1.equals(tmp0_other_with_cast.h39_1))
2011
2011
  return false;
2012
2012
  return true;
2013
2013
  };
2014
2014
  function exceptionalState($this, exception) {
2015
- return new StateException(exception, $this.t38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
2015
+ return new StateException(exception, $this.k39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2016
2016
  }
2017
2017
  function StatePrimitiveSelection(context) {
2018
2018
  AbstractState.call(this, context);
2019
- this.t38_1 = context;
2019
+ this.k39_1 = context;
2020
2020
  }
2021
2021
  protoOf(StatePrimitiveSelection).uc = function () {
2022
- return this.t38_1;
2022
+ return this.k39_1;
2023
2023
  };
2024
- protoOf(StatePrimitiveSelection).b37 = function () {
2024
+ protoOf(StatePrimitiveSelection).s37 = function () {
2025
2025
  // Inline function 'kotlin.with' call
2026
2026
  // Inline function 'kotlin.contracts.contract' call
2027
2027
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveSelection.computeNext.<anonymous>' call
2028
- var $this$with = this.t38_1;
2029
- var goal = ensureNotNull($this$with.v35());
2028
+ var $this$with = this.k39_1;
2029
+ var goal = ensureNotNull($this$with.m36());
2030
2030
  var tmp;
2031
2031
  if (goal.mx()) {
2032
- tmp = exceptionalState(this, Companion_instance_11.forGoal(this.t38_1, extractSignature(ensureNotNull(this.t38_1.h32_1)), goal.castToVar()));
2032
+ tmp = exceptionalState(this, Companion_instance_11.forGoal(this.k39_1, extractSignature(ensureNotNull(this.k39_1.y32_1)), goal.castToVar()));
2033
2033
  } else if (goal.ww()) {
2034
2034
  var goalStruct = goal.castToStruct();
2035
2035
  var signature = extractSignature(goalStruct);
2036
2036
  var tmp_0;
2037
- if ($this$with.j32_1.hasPrimitive(signature)) {
2037
+ if ($this$with.a33_1.hasPrimitive(signature)) {
2038
2038
  var childContext = createChild($this$with);
2039
2039
  var tmp_1;
2040
2040
  try {
2041
- var request = toRequest(childContext, goalStruct, signature, this.h37());
2042
- var tmp0_elvis_lhs = $this$with.j32_1.r2d().x2(signature);
2041
+ var request = toRequest(childContext, goalStruct, signature, this.y37());
2042
+ var tmp0_elvis_lhs = $this$with.a33_1.i2e().x2(signature);
2043
2043
  var tmp_2;
2044
2044
  if (tmp0_elvis_lhs == null) {
2045
2045
  var message = 'Inconsistent behaviour of Library.contains and Library.get';
@@ -2054,7 +2054,7 @@
2054
2054
  var tmp_3;
2055
2055
  if ($p instanceof ResolutionException) {
2056
2056
  var exception = $p;
2057
- tmp_3 = exceptionalState(this, exception.updateLastContext(this.l37(childContext)));
2057
+ tmp_3 = exceptionalState(this, exception.updateLastContext(this.c38(childContext)));
2058
2058
  } else {
2059
2059
  throw $p;
2060
2060
  }
@@ -2062,28 +2062,28 @@
2062
2062
  }
2063
2063
  tmp_0 = tmp_1;
2064
2064
  } else {
2065
- tmp_0 = new StateRuleSelection(this.t38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.k37()));
2065
+ tmp_0 = new StateRuleSelection(this.k39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b38()));
2066
2066
  }
2067
2067
  tmp = tmp_0;
2068
2068
  } else {
2069
2069
  var tmp_4 = Companion_instance_10;
2070
- var tmp1_safe_receiver = this.t38_1.h32_1;
2070
+ var tmp1_safe_receiver = this.k39_1.y32_1;
2071
2071
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : extractSignature(tmp1_safe_receiver);
2072
- tmp = exceptionalState(this, tmp_4.forGoal(this.t38_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2072
+ tmp = exceptionalState(this, tmp_4.forGoal(this.k39_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2073
2073
  }
2074
2074
  return tmp;
2075
2075
  };
2076
- protoOf(StatePrimitiveSelection).g37 = function (context) {
2077
- return this.p37(context);
2076
+ protoOf(StatePrimitiveSelection).x37 = function (context) {
2077
+ return this.g38(context);
2078
2078
  };
2079
- protoOf(StatePrimitiveSelection).p37 = function (context) {
2079
+ protoOf(StatePrimitiveSelection).g38 = function (context) {
2080
2080
  return new StatePrimitiveSelection(context);
2081
2081
  };
2082
2082
  protoOf(StatePrimitiveSelection).toString = function () {
2083
- return 'StatePrimitiveSelection(context=' + this.t38_1 + ')';
2083
+ return 'StatePrimitiveSelection(context=' + this.k39_1 + ')';
2084
2084
  };
2085
2085
  protoOf(StatePrimitiveSelection).hashCode = function () {
2086
- return this.t38_1.hashCode();
2086
+ return this.k39_1.hashCode();
2087
2087
  };
2088
2088
  protoOf(StatePrimitiveSelection).equals = function (other) {
2089
2089
  if (this === other)
@@ -2091,51 +2091,51 @@
2091
2091
  if (!(other instanceof StatePrimitiveSelection))
2092
2092
  return false;
2093
2093
  var tmp0_other_with_cast = other instanceof StatePrimitiveSelection ? other : THROW_CCE();
2094
- if (!this.t38_1.equals(tmp0_other_with_cast.t38_1))
2094
+ if (!this.k39_1.equals(tmp0_other_with_cast.k39_1))
2095
2095
  return false;
2096
2096
  return true;
2097
2097
  };
2098
2098
  function _get_failureState__yid9tw($this) {
2099
- return new StateBacktracking($this.w38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
2099
+ return new StateBacktracking($this.n39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2100
2100
  }
2101
2101
  function StateRuleExecution(context) {
2102
2102
  AbstractState.call(this, context);
2103
- this.w38_1 = context;
2103
+ this.n39_1 = context;
2104
2104
  }
2105
2105
  protoOf(StateRuleExecution).uc = function () {
2106
- return this.w38_1;
2106
+ return this.n39_1;
2107
2107
  };
2108
- protoOf(StateRuleExecution).b37 = function () {
2108
+ protoOf(StateRuleExecution).s37 = function () {
2109
2109
  // Inline function 'kotlin.with' call
2110
2110
  // Inline function 'kotlin.contracts.contract' call
2111
2111
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleExecution.computeNext.<anonymous>' call
2112
- var $this$with = this.w38_1;
2113
- var substitution = $this$with.i32_1.mgu(ensureNotNull($this$with.v35()), ensureNotNull($this$with.u32_1.fr()).wy());
2112
+ var $this$with = this.n39_1;
2113
+ var substitution = $this$with.z32_1.mgu(ensureNotNull($this$with.m36()), ensureNotNull($this$with.l33_1.fr()).wy());
2114
2114
  var tmp;
2115
2115
  if (substitution.w12()) {
2116
- var newSubstitution = this.w38_1.r32_1.plus(substitution).castToUnifier();
2117
- var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.w38_1.u32_1.fr()), newSubstitution).xy().getSubstituted(newSubstitution, []);
2118
- var tmp0_$this = this.w38_1;
2116
+ var newSubstitution = this.n39_1.i33_1.plus(substitution).castToUnifier();
2117
+ var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.n39_1.l33_1.fr()), newSubstitution).xy().getSubstituted(newSubstitution, []);
2118
+ var tmp0_$this = this.n39_1;
2119
2119
  var tmp1_goals = toGoals(subGoals);
2120
2120
  var tmp2_rules = Companion_instance_7.empty();
2121
- var tmp3_step = this.k37();
2122
- tmp = new StateGoalSelection(tmp0_$this.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2121
+ var tmp3_step = this.b38();
2122
+ tmp = new StateGoalSelection(tmp0_$this.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2123
2123
  } else {
2124
2124
  tmp = _get_failureState__yid9tw(this);
2125
2125
  }
2126
2126
  return tmp;
2127
2127
  };
2128
- protoOf(StateRuleExecution).g37 = function (context) {
2129
- return this.p37(context);
2128
+ protoOf(StateRuleExecution).x37 = function (context) {
2129
+ return this.g38(context);
2130
2130
  };
2131
- protoOf(StateRuleExecution).p37 = function (context) {
2131
+ protoOf(StateRuleExecution).g38 = function (context) {
2132
2132
  return new StateRuleExecution(context);
2133
2133
  };
2134
2134
  protoOf(StateRuleExecution).toString = function () {
2135
- return 'StateRuleExecution(context=' + this.w38_1 + ')';
2135
+ return 'StateRuleExecution(context=' + this.n39_1 + ')';
2136
2136
  };
2137
2137
  protoOf(StateRuleExecution).hashCode = function () {
2138
- return this.w38_1.hashCode();
2138
+ return this.n39_1.hashCode();
2139
2139
  };
2140
2140
  protoOf(StateRuleExecution).equals = function (other) {
2141
2141
  if (this === other)
@@ -2143,23 +2143,23 @@
2143
2143
  if (!(other instanceof StateRuleExecution))
2144
2144
  return false;
2145
2145
  var tmp0_other_with_cast = other instanceof StateRuleExecution ? other : THROW_CCE();
2146
- if (!this.w38_1.equals(tmp0_other_with_cast.w38_1))
2146
+ if (!this.n39_1.equals(tmp0_other_with_cast.n39_1))
2147
2147
  return false;
2148
2148
  return true;
2149
2149
  };
2150
2150
  function None() {
2151
2151
  None_instance = this;
2152
2152
  CutLimit.call(this);
2153
- this.x38_1 = -1;
2154
- this.y38_1 = null;
2153
+ this.o39_1 = -1;
2154
+ this.p39_1 = null;
2155
2155
  }
2156
- protoOf(None).z38 = function () {
2157
- return this.x38_1;
2156
+ protoOf(None).q39 = function () {
2157
+ return this.o39_1;
2158
2158
  };
2159
- protoOf(None).p1u = function () {
2160
- return this.y38_1;
2159
+ protoOf(None).x1u = function () {
2160
+ return this.p39_1;
2161
2161
  };
2162
- protoOf(None).a39 = function () {
2162
+ protoOf(None).r39 = function () {
2163
2163
  return true;
2164
2164
  };
2165
2165
  var None_instance;
@@ -2170,24 +2170,24 @@
2170
2170
  }
2171
2171
  function Actual(depthToCut, procedure) {
2172
2172
  CutLimit.call(this);
2173
- this.b39_1 = depthToCut;
2174
- this.c39_1 = procedure;
2173
+ this.s39_1 = depthToCut;
2174
+ this.t39_1 = procedure;
2175
2175
  }
2176
- protoOf(Actual).z38 = function () {
2177
- return this.b39_1;
2176
+ protoOf(Actual).q39 = function () {
2177
+ return this.s39_1;
2178
2178
  };
2179
- protoOf(Actual).p1u = function () {
2180
- return this.c39_1;
2179
+ protoOf(Actual).x1u = function () {
2180
+ return this.t39_1;
2181
2181
  };
2182
2182
  function CutLimit() {
2183
2183
  }
2184
- protoOf(CutLimit).a39 = function () {
2184
+ protoOf(CutLimit).r39 = function () {
2185
2185
  return false;
2186
2186
  };
2187
2187
  function Companion_0() {
2188
2188
  Companion_instance_16 = this;
2189
- this.d39_1 = Catch_getInstance().signature;
2190
- this.e39_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2189
+ this.u39_1 = Catch_getInstance().signature;
2190
+ this.v39_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2191
2191
  }
2192
2192
  var Companion_instance_16;
2193
2193
  function Companion_getInstance_7() {
@@ -2196,15 +2196,15 @@
2196
2196
  return Companion_instance_16;
2197
2197
  }
2198
2198
  function _get_failureState__yid9tw_0($this) {
2199
- return new StateBacktracking($this.h39_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
2199
+ return new StateBacktracking($this.y39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2200
2200
  }
2201
2201
  function exceptionalState_0($this, exception) {
2202
- return new StateException(exception, $this.h39_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
2202
+ return new StateException(exception, $this.y39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2203
2203
  }
2204
2204
  function missingProcedure($this, ruleSources, missing) {
2205
- var unknown = $this.h39_1.k32_1.get(Unknown_getInstance());
2205
+ var unknown = $this.y39_1.b33_1.get(Unknown_getInstance());
2206
2206
  var tmp;
2207
- if (equals(unknown, Unknown_getInstance().f29_1)) {
2207
+ if (equals(unknown, Unknown_getInstance().n29_1)) {
2208
2208
  tmp = _get_failureState__yid9tw_0($this);
2209
2209
  } else {
2210
2210
  var tmp_0;
@@ -2224,14 +2224,14 @@
2224
2224
  }
2225
2225
  if (tmp$ret$1) {
2226
2226
  var tmp_1;
2227
- if (equals(unknown, Unknown_getInstance().d29_1)) {
2228
- tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.h39_1, missing));
2229
- } else if (equals(unknown, Unknown_getInstance().e29_1)) {
2227
+ if (equals(unknown, Unknown_getInstance().l29_1)) {
2228
+ tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.y39_1, missing));
2229
+ } else if (equals(unknown, Unknown_getInstance().m29_1)) {
2230
2230
  // Inline function 'kotlin.also' call
2231
2231
  var this_0 = _get_failureState__yid9tw_0($this);
2232
2232
  // Inline function 'kotlin.contracts.contract' call
2233
2233
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.missingProcedure.<anonymous>' call
2234
- $this.h39_1.h1v().write(MissingPredicate_init_$Create$($this.h39_1, missing));
2234
+ $this.y39_1.p1v().write(MissingPredicate_init_$Create$($this.y39_1, missing));
2235
2235
  tmp_1 = this_0;
2236
2236
  } else {
2237
2237
  tmp_1 = _get_failureState__yid9tw_0($this);
@@ -2245,7 +2245,7 @@
2245
2245
  return tmp;
2246
2246
  }
2247
2247
  function _get_ignoreState__t4wl8y($this) {
2248
- return new StateGoalSelection($this.h39_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.h39_1.t32_1.er(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.k37()));
2248
+ return new StateGoalSelection($this.y39_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.y39_1.k33_1.er(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.b38()));
2249
2249
  }
2250
2250
  function isCut(_this__u8e3s4, $this) {
2251
2251
  return _this__u8e3s4.lw() ? _this__u8e3s4.castToAtom().r2() === '!' : false;
@@ -2253,17 +2253,17 @@
2253
2253
  function computeCutLimit(_this__u8e3s4, $this, magicCut) {
2254
2254
  var tmp;
2255
2255
  if (magicCut) {
2256
- tmp = firstOrNull(_this__u8e3s4.d33_1);
2256
+ tmp = firstOrNull(_this__u8e3s4.u33_1);
2257
2257
  } else {
2258
2258
  var tmp$ret$1;
2259
2259
  $l$block: {
2260
2260
  // Inline function 'kotlin.sequences.firstOrNull' call
2261
- var tmp0_iterator = _this__u8e3s4.d33_1.r();
2261
+ var tmp0_iterator = _this__u8e3s4.u33_1.r();
2262
2262
  while (tmp0_iterator.s()) {
2263
2263
  var element = tmp0_iterator.u();
2264
2264
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeCutLimit.<anonymous>' call
2265
- var tmp_0 = Companion_getInstance_7().e39_1;
2266
- var tmp0_safe_receiver = element.h32_1;
2265
+ var tmp_0 = Companion_getInstance_7().v39_1;
2266
+ var tmp0_safe_receiver = element.y32_1;
2267
2267
  if (!contains_0(tmp_0, tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver))) {
2268
2268
  tmp$ret$1 = element;
2269
2269
  break $l$block;
@@ -2278,21 +2278,21 @@
2278
2278
  if (cutLimit == null) {
2279
2279
  tmp_1 = None_getInstance();
2280
2280
  } else {
2281
- tmp_1 = new Actual(cutLimit.a33_1, cutLimit.h32_1);
2281
+ tmp_1 = new Actual(cutLimit.r33_1, cutLimit.y32_1);
2282
2282
  }
2283
2283
  return tmp_1;
2284
2284
  }
2285
2285
  function cutCanBeSkipped($this, cutLimit, executionContext) {
2286
- return (cutLimit.a39() ? true : cutLimit.z38() > executionContext.a33_1) ? true : cutLimit.z38() === executionContext.a33_1 ? !equals(cutLimit.p1u(), executionContext.h32_1) : false;
2286
+ return (cutLimit.r39() ? true : cutLimit.q39() > executionContext.r33_1) ? true : cutLimit.q39() === executionContext.r33_1 ? !equals(cutLimit.x1u(), executionContext.y32_1) : false;
2287
2287
  }
2288
2288
  function performCut(_this__u8e3s4, $this, cutLimit) {
2289
2289
  var tmp;
2290
2290
  if (_this__u8e3s4 === null) {
2291
2291
  tmp = null;
2292
- } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.t33()))) {
2292
+ } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull(_this__u8e3s4.k34()))) {
2293
2293
  tmp = _this__u8e3s4;
2294
2294
  } else {
2295
- var tmp_0 = _this__u8e3s4.g34();
2295
+ var tmp_0 = _this__u8e3s4.x34();
2296
2296
  var cutCandidates = filter(tmp_0, StateRuleSelection$performCut$lambda(cutLimit));
2297
2297
  var tmp_1;
2298
2298
  if (any(cutCandidates)) {
@@ -2303,7 +2303,7 @@
2303
2303
  while (tmp0_iterator.s()) {
2304
2304
  var element = tmp0_iterator.u();
2305
2305
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.performCut.<anonymous>' call
2306
- if (ensureNotNull(element.t33()).a33_1 <= cutLimit.z38()) {
2306
+ if (ensureNotNull(element.k34()).r33_1 <= cutLimit.q39()) {
2307
2307
  tmp$ret$1 = element;
2308
2308
  break $l$block;
2309
2309
  }
@@ -2311,7 +2311,7 @@
2311
2311
  tmp$ret$1 = null;
2312
2312
  }
2313
2313
  var tmp0_safe_receiver = tmp$ret$1;
2314
- tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u33();
2314
+ tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l34();
2315
2315
  } else {
2316
2316
  tmp_1 = _this__u8e3s4;
2317
2317
  }
@@ -2321,11 +2321,11 @@
2321
2321
  }
2322
2322
  function _get_isTailRecursive__h5eso7(_this__u8e3s4, $this) {
2323
2323
  var tmp;
2324
- if (_this__u8e3s4.t32_1.er().hr() ? equals(_this__u8e3s4.k32_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().s28_1) : false) {
2324
+ if (_this__u8e3s4.k33_1.er().hr() ? equals(_this__u8e3s4.b33_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().a29_1) : false) {
2325
2325
  // Inline function 'kotlin.let' call
2326
2326
  // Inline function 'kotlin.contracts.contract' call
2327
2327
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>' call
2328
- var tmp0_safe_receiver = ensureNotNull(_this__u8e3s4.v35()).asStruct();
2328
+ var tmp0_safe_receiver = ensureNotNull(_this__u8e3s4.m36()).asStruct();
2329
2329
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver);
2330
2330
  var tmp_0;
2331
2331
  if (tmp1_safe_receiver == null) {
@@ -2335,9 +2335,9 @@
2335
2335
  // Inline function 'kotlin.contracts.contract' call
2336
2336
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.<get-isTailRecursive>.<anonymous>.<anonymous>' call
2337
2337
  var tmp_1;
2338
- var tmp0_safe_receiver_0 = _this__u8e3s4.h32_1;
2338
+ var tmp0_safe_receiver_0 = _this__u8e3s4.y32_1;
2339
2339
  if (tmp1_safe_receiver.equals(tmp0_safe_receiver_0 == null ? null : extractSignature(tmp0_safe_receiver_0))) {
2340
- tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_7().d39_1);
2340
+ tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_7().u39_1);
2341
2341
  } else {
2342
2342
  tmp_1 = false;
2343
2343
  }
@@ -2357,7 +2357,7 @@
2357
2357
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.selectClauses.<anonymous>' call
2358
2358
  var it = ensureRules(map(tmp, StateRuleSelection$selectClauses$lambda));
2359
2359
  var tmp_0;
2360
- if (_this__u8e3s4.z1s()) {
2360
+ if (_this__u8e3s4.v1s()) {
2361
2361
  tmp_0 = buffered(it);
2362
2362
  } else {
2363
2363
  tmp_0 = it;
@@ -2366,7 +2366,7 @@
2366
2366
  }
2367
2367
  function StateRuleSelection$performCut$lambda($cutLimit) {
2368
2368
  return function (it) {
2369
- return equals(ensureNotNull(it.t33()).h32_1, $cutLimit.p1u());
2369
+ return equals(ensureNotNull(it.k34()).y32_1, $cutLimit.x1u());
2370
2370
  };
2371
2371
  }
2372
2372
  function StateRuleSelection$computeNext$lambda(this$0, $currentGoalStruct) {
@@ -2380,23 +2380,23 @@
2380
2380
  function StateRuleSelection(context) {
2381
2381
  Companion_getInstance_7();
2382
2382
  AbstractState.call(this, context);
2383
- this.h39_1 = context;
2383
+ this.y39_1 = context;
2384
2384
  }
2385
2385
  protoOf(StateRuleSelection).uc = function () {
2386
- return this.h39_1;
2386
+ return this.y39_1;
2387
2387
  };
2388
- protoOf(StateRuleSelection).b37 = function () {
2389
- var currentGoal = ensureNotNull(this.h39_1.v35());
2388
+ protoOf(StateRuleSelection).s37 = function () {
2389
+ var currentGoal = ensureNotNull(this.y39_1.m36());
2390
2390
  var tmp;
2391
2391
  if (currentGoal.mx()) {
2392
- tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.h39_1, extractSignature(ensureNotNull(this.h39_1.h32_1)), currentGoal.castToVar()));
2392
+ tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.y39_1, extractSignature(ensureNotNull(this.y39_1.y32_1)), currentGoal.castToVar()));
2393
2393
  } else if (currentGoal.ww()) {
2394
2394
  // Inline function 'kotlin.with' call
2395
2395
  // Inline function 'kotlin.contracts.contract' call
2396
2396
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>' call
2397
- var $this$with = this.h39_1;
2397
+ var $this$with = this.y39_1;
2398
2398
  var currentGoalStruct = currentGoal.castToStruct();
2399
- var ruleSources = sequenceOf([$this$with.j32_1.asTheory($this$with.i32_1), $this$with.l32_1, $this$with.m32_1]);
2399
+ var ruleSources = sequenceOf([$this$with.a33_1.asTheory($this$with.z32_1), $this$with.c33_1, $this$with.d33_1]);
2400
2400
  var tmp_0;
2401
2401
  if (currentGoalStruct.nx()) {
2402
2402
  var tmp_1;
@@ -2413,7 +2413,7 @@
2413
2413
  // Inline function 'kotlin.contracts.contract' call
2414
2414
  // Inline function 'it.unibo.tuprolog.solve.classic.fsm.StateRuleSelection.computeNext.<anonymous>.<anonymous>' call
2415
2415
  var it = _get_ignoreState__t4wl8y(this);
2416
- tmp_0 = it.p37(it.e38_1.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(it.e38_1.y32_1, this, cutLimit)));
2416
+ tmp_0 = it.g38(it.v38_1.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(it.v38_1.p33_1, this, cutLimit)));
2417
2417
  } else {
2418
2418
  var tmp$ret$3;
2419
2419
  $l$block: {
@@ -2432,10 +2432,10 @@
2432
2432
  if (tmp$ret$3) {
2433
2433
  var rules = cursor(flatMap(ruleSources, StateRuleSelection$computeNext$lambda(this, currentGoalStruct)));
2434
2434
  var tmp_2;
2435
- if (_get_isTailRecursive__h5eso7(this.h39_1, this)) {
2436
- tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.h39_1, rules));
2435
+ if (_get_isTailRecursive__h5eso7(this.y39_1, this)) {
2436
+ tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.y39_1, rules));
2437
2437
  } else {
2438
- tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.h39_1, rules));
2438
+ tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.y39_1, rules));
2439
2439
  }
2440
2440
  tmp_0 = tmp_2;
2441
2441
  } else {
@@ -2445,21 +2445,21 @@
2445
2445
  }
2446
2446
  tmp = tmp_0;
2447
2447
  } else {
2448
- tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.h39_1, extractSignature(ensureNotNull(this.h39_1.h32_1)), Expected_CALLABLE_getInstance(), currentGoal));
2448
+ tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.y39_1, extractSignature(ensureNotNull(this.y39_1.y32_1)), Expected_CALLABLE_getInstance(), currentGoal));
2449
2449
  }
2450
2450
  return tmp;
2451
2451
  };
2452
- protoOf(StateRuleSelection).g37 = function (context) {
2453
- return this.p37(context);
2452
+ protoOf(StateRuleSelection).x37 = function (context) {
2453
+ return this.g38(context);
2454
2454
  };
2455
- protoOf(StateRuleSelection).p37 = function (context) {
2455
+ protoOf(StateRuleSelection).g38 = function (context) {
2456
2456
  return new StateRuleSelection(context);
2457
2457
  };
2458
2458
  protoOf(StateRuleSelection).toString = function () {
2459
- return 'StateRuleSelection(context=' + this.h39_1 + ')';
2459
+ return 'StateRuleSelection(context=' + this.y39_1 + ')';
2460
2460
  };
2461
2461
  protoOf(StateRuleSelection).hashCode = function () {
2462
- return this.h39_1.hashCode();
2462
+ return this.y39_1.hashCode();
2463
2463
  };
2464
2464
  protoOf(StateRuleSelection).equals = function (other) {
2465
2465
  if (this === other)
@@ -2467,19 +2467,19 @@
2467
2467
  if (!(other instanceof StateRuleSelection))
2468
2468
  return false;
2469
2469
  var tmp0_other_with_cast = other instanceof StateRuleSelection ? other : THROW_CCE();
2470
- if (!this.h39_1.equals(tmp0_other_with_cast.h39_1))
2470
+ if (!this.y39_1.equals(tmp0_other_with_cast.y39_1))
2471
2471
  return false;
2472
2472
  return true;
2473
2473
  };
2474
2474
  function appendRulesAndChoicePoints(_this__u8e3s4, rules) {
2475
2475
  var tmp;
2476
2476
  if (rules.gr()) {
2477
- tmp = appendRules(_this__u8e3s4.y32_1, rules.er(), _this__u8e3s4);
2477
+ tmp = appendRules(_this__u8e3s4.p33_1, rules.er(), _this__u8e3s4);
2478
2478
  } else {
2479
- tmp = appendRules(_this__u8e3s4.y32_1, Companion_instance_7.empty(), _this__u8e3s4);
2479
+ tmp = appendRules(_this__u8e3s4.p33_1, Companion_instance_7.empty(), _this__u8e3s4);
2480
2480
  }
2481
2481
  var newChoicePointContext = tmp;
2482
- return _this__u8e3s4.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2482
+ return _this__u8e3s4.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2483
2483
  }
2484
2484
  function toGoals(_this__u8e3s4) {
2485
2485
  var tmp = unfoldGoals(_this__u8e3s4);
@@ -2497,14 +2497,14 @@
2497
2497
  }
2498
2498
  function createChild(_this__u8e3s4, inferProcedureFromGoals) {
2499
2499
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2500
- var currentGoal = ensureNotNull(_this__u8e3s4.v35()).castToStruct();
2500
+ var currentGoal = ensureNotNull(_this__u8e3s4.m36()).castToStruct();
2501
2501
  var tmp0_goals = toGoals(currentGoal);
2502
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.h32_1;
2503
- var tmp2_depth = _this__u8e3s4.a33_1 + 1 | 0;
2502
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.y32_1;
2503
+ var tmp2_depth = _this__u8e3s4.r33_1 + 1 | 0;
2504
2504
  // Inline function 'kotlin.Long.plus' call
2505
- var tmp3_step = _this__u8e3s4.b33_1.ob(toLong(1));
2505
+ var tmp3_step = _this__u8e3s4.s33_1.ob(toLong(1));
2506
2506
  var tmp4_relevantVariables = emptySet();
2507
- return _this__u8e3s4.y33(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables);
2507
+ return _this__u8e3s4.p34(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables);
2508
2508
  }
2509
2509
  function toRequest(_this__u8e3s4, goal, signature, startTime) {
2510
2510
  return new Request(signature, goal.rw(), _this__u8e3s4, startTime);
@@ -2512,12 +2512,12 @@
2512
2512
  function appendPrimitivesAndChoicePoints(_this__u8e3s4, primitiveExecutions) {
2513
2513
  var tmp;
2514
2514
  if (primitiveExecutions.gr()) {
2515
- tmp = appendPrimitives(_this__u8e3s4.y32_1, primitiveExecutions.er(), _this__u8e3s4);
2515
+ tmp = appendPrimitives(_this__u8e3s4.p33_1, primitiveExecutions.er(), _this__u8e3s4);
2516
2516
  } else {
2517
- tmp = appendPrimitives(_this__u8e3s4.y32_1, Companion_instance_7.empty(), _this__u8e3s4);
2517
+ tmp = appendPrimitives(_this__u8e3s4.p33_1, Companion_instance_7.empty(), _this__u8e3s4);
2518
2518
  }
2519
2519
  var newChoicePointContext = tmp;
2520
- return _this__u8e3s4.y33(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2520
+ return _this__u8e3s4.p34(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2521
2521
  }
2522
2522
  function replaceWithChildAppendingRulesAndChoicePoints(_this__u8e3s4, rules, inferProcedureFromGoals) {
2523
2523
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
@@ -2534,13 +2534,13 @@
2534
2534
  }
2535
2535
  function replaceWithChild(_this__u8e3s4, inferProcedureFromGoals) {
2536
2536
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2537
- var currentGoal = ensureNotNull(_this__u8e3s4.v35()).castToStruct();
2537
+ var currentGoal = ensureNotNull(_this__u8e3s4.m36()).castToStruct();
2538
2538
  var tmp0_goals = toGoals(currentGoal);
2539
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.h32_1;
2540
- var tmp2_depth = _this__u8e3s4.a33_1 + 1 | 0;
2539
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.y32_1;
2540
+ var tmp2_depth = _this__u8e3s4.r33_1 + 1 | 0;
2541
2541
  // Inline function 'kotlin.Long.plus' call
2542
- var tmp3_step = _this__u8e3s4.b33_1.ob(toLong(1));
2543
- return _this__u8e3s4.y33(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_depth, tmp3_step);
2542
+ var tmp3_step = _this__u8e3s4.s33_1.ob(toLong(1));
2543
+ return _this__u8e3s4.p34(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_depth, tmp3_step);
2544
2544
  }
2545
2545
  function toGoals$lambda(it) {
2546
2546
  return it.mx() ? Companion_getInstance_1().of('call', [it]) : it;
@@ -2561,49 +2561,49 @@
2561
2561
  return it.castToRule();
2562
2562
  }
2563
2563
  function AbstractSolutionIterator(state) {
2564
- this.i39_1 = state;
2565
- this.j39_1 = new Long(0, 0);
2564
+ this.z39_1 = state;
2565
+ this.a3a_1 = new Long(0, 0);
2566
2566
  }
2567
2567
  protoOf(AbstractSolutionIterator).s = function () {
2568
2568
  // Inline function 'kotlin.let' call
2569
2569
  // Inline function 'kotlin.contracts.contract' call
2570
2570
  // Inline function 'it.unibo.tuprolog.solve.classic.impl.AbstractSolutionIterator.hasNext.<anonymous>' call
2571
- var it = this.i39_1;
2572
- return !it.c37() ? true : it.castToEndState().f34();
2571
+ var it = this.z39_1;
2572
+ return !it.t37() ? true : it.castToEndState().w34();
2573
2573
  };
2574
2574
  protoOf(AbstractSolutionIterator).u = function () {
2575
2575
  do {
2576
- var previousState = this.i39_1;
2576
+ var previousState = this.z39_1;
2577
2577
  var tmp = this;
2578
- var tmp_0 = this.i39_1;
2579
- this.j39_1 = this.j39_1.tb();
2580
- tmp.i39_1 = this.k39(tmp_0, this.j39_1);
2581
- this.onStateTransition(previousState, this.i39_1, this.j39_1);
2578
+ var tmp_0 = this.z39_1;
2579
+ this.a3a_1 = this.a3a_1.tb();
2580
+ tmp.z39_1 = this.b3a(tmp_0, this.a3a_1);
2581
+ this.onStateTransition(previousState, this.z39_1, this.a3a_1);
2582
2582
  }
2583
- while (!this.i39_1.c37());
2584
- return this.i39_1.castToEndState().g2i().cleanUp();
2583
+ while (!this.z39_1.t37());
2584
+ return this.z39_1.castToEndState().x2i().cleanUp();
2585
2585
  };
2586
2586
  function SimpleSolutionIterator(state, onStateTransitionCallback) {
2587
2587
  AbstractSolutionIterator.call(this, state);
2588
- this.n39_1 = onStateTransitionCallback;
2588
+ this.e3a_1 = onStateTransitionCallback;
2589
2589
  }
2590
- protoOf(SimpleSolutionIterator).k39 = function (state, step) {
2590
+ protoOf(SimpleSolutionIterator).b3a = function (state, step) {
2591
2591
  return state.next();
2592
2592
  };
2593
- protoOf(SimpleSolutionIterator).o39 = function (source, destination, index) {
2594
- return this.n39_1(source, destination, index);
2593
+ protoOf(SimpleSolutionIterator).f3a = function (source, destination, index) {
2594
+ return this.e3a_1(source, destination, index);
2595
2595
  };
2596
2596
  protoOf(SimpleSolutionIterator).onStateTransition = function (source, destination, index) {
2597
- return this.o39(source, destination, index);
2597
+ return this.f3a(source, destination, index);
2598
2598
  };
2599
2599
  function DefaultBuiltins() {
2600
2600
  DefaultBuiltins_instance = this;
2601
2601
  ExtensionLibrary.call(this, CommonBuiltins_getInstance());
2602
2602
  }
2603
- protoOf(DefaultBuiltins).f2e = function () {
2603
+ protoOf(DefaultBuiltins).w2e = function () {
2604
2604
  return listOf(Throw_getInstance());
2605
2605
  };
2606
- protoOf(DefaultBuiltins).e2e = function () {
2606
+ protoOf(DefaultBuiltins).v2e = function () {
2607
2607
  return listOf_0([Catch_getInstance(), Call_getInstance(), Comma_getInstance(), Cut_getInstance(), Fail_getInstance(), Success_getInstance()]);
2608
2608
  };
2609
2609
  var DefaultBuiltins_instance;
@@ -2632,7 +2632,7 @@
2632
2632
  var tmp_3 = error.get(0);
2633
2633
  tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.kw() > 1 ? error.get(1) : null);
2634
2634
  } else {
2635
- tmp = Companion_instance_13.n26(error, context);
2635
+ tmp = Companion_instance_13.v26(error, context);
2636
2636
  }
2637
2637
  return tmp;
2638
2638
  }
@@ -2640,11 +2640,11 @@
2640
2640
  Throw_instance = this;
2641
2641
  UnaryPredicate.call(this, 'throw');
2642
2642
  }
2643
- protoOf(Throw).p2q = function (_this__u8e3s4, first) {
2644
- return sequenceOf([Companion_getInstance_5().f2f(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.c1(0)), VOID, [])]);
2643
+ protoOf(Throw).g2r = function (_this__u8e3s4, first) {
2644
+ return sequenceOf([Companion_getInstance_5().w2f(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.c1(0)), VOID, [])]);
2645
2645
  };
2646
- protoOf(Throw).b2j = function (_this__u8e3s4, first) {
2647
- return this.p2q(_this__u8e3s4, first);
2646
+ protoOf(Throw).s2j = function (_this__u8e3s4, first) {
2647
+ return this.g2r(_this__u8e3s4, first);
2648
2648
  };
2649
2649
  var Throw_instance;
2650
2650
  function Throw_getInstance() {
@@ -2656,10 +2656,10 @@
2656
2656
  Call_instance = this;
2657
2657
  RuleWrapper_init_$Init$('call', 1, VOID, this);
2658
2658
  }
2659
- protoOf(Call).f2j = function (_this__u8e3s4) {
2660
- return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('G')]);
2659
+ protoOf(Call).w2j = function (_this__u8e3s4) {
2660
+ return listOf(_this__u8e3s4.varOf('G'));
2661
2661
  };
2662
- protoOf(Call).g2j = function (_this__u8e3s4) {
2662
+ protoOf(Call).x2j = function (_this__u8e3s4) {
2663
2663
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2664
2664
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2665
2665
  return _this__u8e3s4.tupleOf([_this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('G')]), _this__u8e3s4.varOf('G')]);
@@ -2674,10 +2674,10 @@
2674
2674
  Catch_instance = this;
2675
2675
  RuleWrapper_init_$Init$('catch', 3, VOID, this);
2676
2676
  }
2677
- protoOf(Catch).f2j = function (_this__u8e3s4) {
2678
- return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('G'), _this__u8e3s4.varOf('E'), _this__u8e3s4.varOf('C')]);
2677
+ protoOf(Catch).w2j = function (_this__u8e3s4) {
2678
+ return listOf_0([_this__u8e3s4.varOf('G'), _this__u8e3s4.varOf('E'), _this__u8e3s4.varOf('C')]);
2679
2679
  };
2680
- protoOf(Catch).g2j = function (_this__u8e3s4) {
2680
+ protoOf(Catch).x2j = function (_this__u8e3s4) {
2681
2681
  return _this__u8e3s4.varOf('G');
2682
2682
  };
2683
2683
  var Catch_instance;
@@ -2690,10 +2690,10 @@
2690
2690
  Comma_instance = this;
2691
2691
  RuleWrapper_init_$Init$(',', 2, VOID, this);
2692
2692
  }
2693
- protoOf(Comma).f2j = function (_this__u8e3s4) {
2694
- return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2693
+ protoOf(Comma).w2j = function (_this__u8e3s4) {
2694
+ return listOf_0([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2695
2695
  };
2696
- protoOf(Comma).g2j = function (_this__u8e3s4) {
2696
+ protoOf(Comma).x2j = function (_this__u8e3s4) {
2697
2697
  return _this__u8e3s4.tupleOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2698
2698
  };
2699
2699
  var Comma_instance;
@@ -2716,7 +2716,7 @@
2716
2716
  Fail_instance = this;
2717
2717
  NegationAsFailure.call(this);
2718
2718
  }
2719
- protoOf(Fail).g2j = function (_this__u8e3s4) {
2719
+ protoOf(Fail).x2j = function (_this__u8e3s4) {
2720
2720
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2721
2721
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2722
2722
  var tmp = _this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('X')]);
@@ -2734,7 +2734,7 @@
2734
2734
  Success_instance = this;
2735
2735
  NegationAsFailure.call(this);
2736
2736
  }
2737
- protoOf(Success).g2j = function (_this__u8e3s4) {
2737
+ protoOf(Success).x2j = function (_this__u8e3s4) {
2738
2738
  return _this__u8e3s4.truthOf(true);
2739
2739
  };
2740
2740
  var Success_instance;
@@ -2744,8 +2744,8 @@
2744
2744
  return Success_instance;
2745
2745
  }
2746
2746
  function Companion_1() {
2747
- this.o3a_1 = '\\+';
2748
- this.p3a_1 = 1;
2747
+ this.f3b_1 = '\\+';
2748
+ this.g3b_1 = 1;
2749
2749
  }
2750
2750
  var Companion_instance_17;
2751
2751
  function Companion_getInstance_8() {
@@ -2754,37 +2754,37 @@
2754
2754
  function NegationAsFailure() {
2755
2755
  RuleWrapper_init_$Init$('\\+', 1, VOID, this);
2756
2756
  }
2757
- protoOf(NegationAsFailure).f2j = function (_this__u8e3s4) {
2758
- return _this__u8e3s4.ktListOf([_this__u8e3s4.varOf('X')]);
2757
+ protoOf(NegationAsFailure).w2j = function (_this__u8e3s4) {
2758
+ return listOf(_this__u8e3s4.varOf('X'));
2759
2759
  };
2760
2760
  //region block: post-declaration
2761
2761
  protoOf(ClassicExecutionContext).createSolver = createSolver;
2762
2762
  protoOf(ClassicExecutionContext).createMutableSolver = createMutableSolver;
2763
2763
  protoOf(ClassicExecutionContext).update = update;
2764
- protoOf(ClassicExecutionContext).e1v = get_standardInput;
2765
- protoOf(ClassicExecutionContext).f1v = get_standardOutput;
2766
- protoOf(ClassicExecutionContext).g1v = get_standardError;
2767
- protoOf(ClassicExecutionContext).h1v = get_warnings;
2768
- protoOf(ClassicExecutionContext).l1u = get_endTime;
2769
- protoOf(ClassicExecutionContext).n1u = get_remainingTime;
2770
- protoOf(ClassicExecutionContext).o1u = get_elapsedTime;
2764
+ protoOf(ClassicExecutionContext).m1v = get_standardInput;
2765
+ protoOf(ClassicExecutionContext).n1v = get_standardOutput;
2766
+ protoOf(ClassicExecutionContext).o1v = get_standardError;
2767
+ protoOf(ClassicExecutionContext).p1v = get_warnings;
2768
+ protoOf(ClassicExecutionContext).t1u = get_endTime;
2769
+ protoOf(ClassicExecutionContext).v1u = get_remainingTime;
2770
+ protoOf(ClassicExecutionContext).w1u = get_elapsedTime;
2771
2771
  protoOf(ClassicSolverFactory).rawSolverOf = rawSolverOf;
2772
2772
  protoOf(ClassicSolverFactory).solverOf = solverOf;
2773
2773
  protoOf(ClassicSolverFactory).mutableSolverOf = mutableSolverOf;
2774
2774
  protoOf(ClassicSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
2775
2775
  protoOf(ClassicSolverFactory).newBuilder = newBuilder;
2776
- protoOf(ClassicSolverFactory).u1x = get_defaultRuntime;
2777
- protoOf(ClassicSolverFactory).w1x = get_defaultUnificator;
2778
- protoOf(ClassicSolverFactory).x1x = get_defaultFlags;
2779
- protoOf(ClassicSolverFactory).a1y = get_defaultStaticKb;
2780
- protoOf(ClassicSolverFactory).b1y = get_defaultDynamicKb;
2781
- protoOf(ClassicSolverFactory).c1y = get_defaultInputChannel;
2782
- protoOf(ClassicSolverFactory).d1y = get_defaultOutputChannel;
2783
- protoOf(ClassicSolverFactory).e1y = get_defaultErrorChannel;
2784
- protoOf(ClassicSolverFactory).f1y = get_defaultWarningsChannel;
2785
- protoOf(ClassicSolverFactory).n1y = solverWithDefaultBuiltins;
2776
+ protoOf(ClassicSolverFactory).c1y = get_defaultRuntime;
2777
+ protoOf(ClassicSolverFactory).e1y = get_defaultUnificator;
2778
+ protoOf(ClassicSolverFactory).f1y = get_defaultFlags;
2779
+ protoOf(ClassicSolverFactory).i1y = get_defaultStaticKb;
2780
+ protoOf(ClassicSolverFactory).j1y = get_defaultDynamicKb;
2781
+ protoOf(ClassicSolverFactory).k1y = get_defaultInputChannel;
2782
+ protoOf(ClassicSolverFactory).l1y = get_defaultOutputChannel;
2783
+ protoOf(ClassicSolverFactory).m1y = get_defaultErrorChannel;
2784
+ protoOf(ClassicSolverFactory).n1y = get_defaultWarningsChannel;
2785
+ protoOf(ClassicSolverFactory).v1y = solverWithDefaultBuiltins;
2786
2786
  protoOf(ClassicSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
2787
- protoOf(ClassicSolverFactory).p1y = mutableSolverWithDefaultBuiltins;
2787
+ protoOf(ClassicSolverFactory).x1y = mutableSolverWithDefaultBuiltins;
2788
2788
  protoOf(ClassicSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
2789
2789
  protoOf(MutableClassicSolver).loadStaticClauses = loadStaticClauses;
2790
2790
  protoOf(MutableClassicSolver).loadStaticClausesIterable = loadStaticClausesIterable;
@@ -2792,13 +2792,13 @@
2792
2792
  protoOf(MutableClassicSolver).loadDynamicClauses = loadDynamicClauses;
2793
2793
  protoOf(MutableClassicSolver).loadDynamicClausesIterable = loadDynamicClausesIterable;
2794
2794
  protoOf(MutableClassicSolver).loadDynamicClausesSequence = loadDynamicClausesSequence;
2795
- protoOf(AbstractState).c37 = get_isEndState;
2795
+ protoOf(AbstractState).t37 = get_isEndState;
2796
2796
  protoOf(AbstractState).asEndState = asEndState;
2797
2797
  protoOf(AbstractState).castToEndState = castToEndState;
2798
2798
  protoOf(AbstractState).clone = clone;
2799
- protoOf(AbstractEndState).f34 = get_hasOpenAlternatives;
2800
- protoOf(AbstractEndState).c37 = get_isEndState_0;
2801
- protoOf(AbstractEndState).d37 = asEndState_0;
2799
+ protoOf(AbstractEndState).w34 = get_hasOpenAlternatives;
2800
+ protoOf(AbstractEndState).t37 = get_isEndState_0;
2801
+ protoOf(AbstractEndState).u37 = asEndState_0;
2802
2802
  //endregion
2803
2803
  //region block: init
2804
2804
  ClassicSolverFactory_instance = new ClassicSolverFactory();