@tuprolog/arg2p-causality-solver 0.16.7 → 0.17.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.
@@ -206,20 +206,20 @@
206
206
  var tmp0_elvis_lhs = this.asEndState();
207
207
  var tmp;
208
208
  if (tmp0_elvis_lhs == null) {
209
- throw ClassCastException_init_$Create$('Cannot cast ' + toString(this) + ' to ' + getKClass(EndState).get_simpleName_r6f8py_k$());
209
+ throw ClassCastException_init_$Create$('Cannot cast ' + toString(this) + ' to ' + getKClass(EndState).c9());
210
210
  } else {
211
211
  tmp = tmp0_elvis_lhs;
212
212
  }
213
213
  return tmp;
214
214
  }
215
215
  function clone(context, $super) {
216
- context = context === VOID ? this.get_context_h02k06_k$() : context;
217
- return $super === VOID ? this.clone_vtwevb_k$(context) : $super.clone_vtwevb_k$.call(this, context);
216
+ context = context === VOID ? this.i8() : context;
217
+ return $super === VOID ? this.w39(context) : $super.w39.call(this, context);
218
218
  }
219
219
  initMetadataForInterface(State, 'State');
220
220
  initMetadataForClass(AbstractState, 'AbstractState', VOID, VOID, [State]);
221
221
  function get_hasOpenAlternatives() {
222
- return this.get_solution_74o532_k$().get_isYes_it760k_k$() && this.get_context_h02k06_k$().get_hasOpenAlternatives_bd9sv_k$();
222
+ return this.j2j().w1v() && this.i8().r36();
223
223
  }
224
224
  function get_isEndState_0() {
225
225
  return true;
@@ -228,7 +228,7 @@
228
228
  return this;
229
229
  }
230
230
  function asEndState_1() {
231
- return this.asEndState_tsnzug_k$();
231
+ return this.v39();
232
232
  }
233
233
  initMetadataForInterface(EndState, 'EndState', VOID, VOID, [State]);
234
234
  initMetadataForClass(AbstractEndState, 'AbstractEndState', VOID, AbstractState, [EndState]);
@@ -260,7 +260,7 @@
260
260
  initMetadataForCompanion(Companion_1);
261
261
  //endregion
262
262
  function AbstractPrologSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
263
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
263
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
264
264
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
265
265
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
266
266
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -270,17 +270,17 @@
270
270
  stdErr = stdErr === VOID ? Companion_instance_3.stdErr() : stdErr;
271
271
  warnings = warnings === VOID ? Companion_instance_3.warning() : warnings;
272
272
  trustKb = trustKb === VOID ? false : trustKb;
273
- AbstractPrologSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.fromStandard_im9cmu_k$(stdIn), Companion_instance_5.fromStandard_rfofsy_k$(stdOut, stdErr, warnings), trustKb);
273
+ AbstractPrologSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.d1y(stdIn), Companion_instance_5.g1y(stdOut, stdErr, warnings), trustKb);
274
274
  return $this;
275
275
  }
276
276
  function updateCurrentContextAfterStateTransition($this, source, destination, index) {
277
277
  // Inline function 'kotlin.require' call
278
278
  // Inline function 'kotlin.require' call
279
- if (!(destination.get_context_h02k06_k$().step_1 === index)) {
279
+ if (!(destination.i8().n35_1 === index)) {
280
280
  var message = 'Failed requirement.';
281
281
  throw IllegalArgumentException_init_$Create$(toString(message));
282
282
  }
283
- $this.set_currentContext_izyel_k$(destination.get_context_h02k06_k$());
283
+ $this.u35(destination.i8());
284
284
  }
285
285
  function AbstractPrologSolver$updateCurrentContextAfterStateTransition$ref(p0) {
286
286
  return constructCallableReference(function (p0_0, p1, p2) {
@@ -290,7 +290,7 @@
290
290
  }, 3, 0, 80, 'updateCurrentContextAfterStateTransition', [p0]);
291
291
  }
292
292
  function AbstractPrologSolver(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb) {
293
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
293
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
294
294
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
295
295
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
296
296
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -300,101 +300,101 @@
300
300
  trustKb = trustKb === VOID ? false : trustKb;
301
301
  AbstractSolver.call(this, unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb);
302
302
  }
303
- protoOf(AbstractPrologSolver).set_currentContext_izyel_k$ = function (_set____db54di) {
304
- this.currentContext_1 = _set____db54di;
303
+ protoOf(AbstractPrologSolver).u35 = function (_set____db54di) {
304
+ this.t35_1 = _set____db54di;
305
305
  };
306
- protoOf(AbstractPrologSolver).set_currentContext_mfj1ib_k$ = function (_set____db54di) {
307
- return this.set_currentContext_izyel_k$(_set____db54di instanceof PrologExecutionContext ? _set____db54di : THROW_CCE());
306
+ protoOf(AbstractPrologSolver).i2c = function (_set____db54di) {
307
+ return this.u35(_set____db54di instanceof PrologExecutionContext ? _set____db54di : THROW_CCE());
308
308
  };
309
- protoOf(AbstractPrologSolver).get_currentContext_mswz5r_k$ = function () {
310
- var tmp = this.currentContext_1;
309
+ protoOf(AbstractPrologSolver).g2c = function () {
310
+ var tmp = this.t35_1;
311
311
  if (!(tmp == null))
312
312
  return tmp;
313
313
  else {
314
314
  throwUninitializedPropertyAccessException('currentContext');
315
315
  }
316
316
  };
317
- protoOf(AbstractPrologSolver).initializeContext_l70zgd_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
317
+ protoOf(AbstractPrologSolver).h2c = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, trustKb) {
318
318
  return new PrologExecutionContext(VOID, unificator, libraries, flags, trustKb ? staticKb.toImmutableTheory() : Companion_instance_0.empty(unificator), trustKb ? dynamicKb.toMutableTheory() : Companion_instance_1.empty(unificator), toOperatorSet(getAllOperators(libraries, [])), inputChannels, outputChannels, VOID, VOID, VOID, VOID, VOID, VOID, 0n);
319
319
  };
320
- protoOf(AbstractPrologSolver).solveImpl_b3jlyn_k$ = function (goal, options) {
321
- var tmp0_unificator = this.get_unificator_xw6v3j_k$();
322
- var tmp1_libraries = this.get_libraries_lyf10w_k$();
323
- var tmp2_flags = this.get_flags_irfhb2_k$();
324
- var tmp3_staticKb = this.get_staticKb_a01l1u_k$().toImmutableTheory();
325
- var tmp4_dynamicKb = this.get_dynamicKb_wvqg8j_k$().toMutableTheory();
326
- var tmp5_operators = this.get_operators_z0nmfu_k$();
327
- var tmp6_inputChannels = this.get_inputChannels_uyf05t_k$();
328
- var tmp7_outputChannels = this.get_outputChannels_ffvoca_k$();
329
- var tmp8_customData = this.get_currentContext_mswz5r_k$().customData_1;
320
+ protoOf(AbstractPrologSolver).o2c = function (goal, options) {
321
+ var tmp0_unificator = this.s1k();
322
+ var tmp1_libraries = this.q1u();
323
+ var tmp2_flags = this.r1u();
324
+ var tmp3_staticKb = this.s1u().toImmutableTheory();
325
+ var tmp4_dynamicKb = this.t1u().toMutableTheory();
326
+ var tmp5_operators = this.z1u();
327
+ var tmp6_inputChannels = this.u1u();
328
+ var tmp7_outputChannels = this.v1u();
329
+ var tmp8_customData = this.g2c().c35_1;
330
330
  var tmp9_startTime = currentTimeInstant();
331
- var tmp10_maxDuration = options.get_timeout_kgpqiw_k$();
332
- this.set_currentContext_izyel_k$(new PrologExecutionContext(VOID, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, VOID, goal, VOID, VOID, VOID, tmp9_startTime, tmp10_maxDuration));
333
- var tmp = new StateInit(this.get_currentContext_mswz5r_k$());
334
- return asSequence(this.solutionIterator_3eur09_k$(tmp, AbstractPrologSolver$updateCurrentContextAfterStateTransition$ref(this)));
331
+ var tmp10_maxDuration = options.k1x();
332
+ this.u35(new PrologExecutionContext(VOID, tmp0_unificator, tmp1_libraries, tmp2_flags, tmp3_staticKb, tmp4_dynamicKb, tmp5_operators, tmp6_inputChannels, tmp7_outputChannels, tmp8_customData, VOID, goal, VOID, VOID, VOID, tmp9_startTime, tmp10_maxDuration));
333
+ var tmp = new StateInit(this.g2c());
334
+ return asSequence(this.v35(tmp, AbstractPrologSolver$updateCurrentContextAfterStateTransition$ref(this)));
335
335
  };
336
336
  protoOf(AbstractPrologSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
337
337
  return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof AbstractPrologSolver) ? $super : THROW_CCE());
338
338
  };
339
339
  function Primitives(alternatives, executionContext, parent, depth) {
340
340
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
341
- this.alternatives_2 = alternatives;
342
- this.executionContext_2 = executionContext;
343
- this.parent_2 = parent;
344
- this.depth_2 = depth;
341
+ this.a36_1 = alternatives;
342
+ this.b36_1 = executionContext;
343
+ this.c36_1 = parent;
344
+ this.d36_1 = depth;
345
345
  }
346
- protoOf(Primitives).get_alternatives_pbh9w1_k$ = function () {
347
- return this.alternatives_2;
346
+ protoOf(Primitives).e36 = function () {
347
+ return this.a36_1;
348
348
  };
349
- protoOf(Primitives).get_executionContext_yb2vgg_k$ = function () {
350
- return this.executionContext_2;
349
+ protoOf(Primitives).f36 = function () {
350
+ return this.b36_1;
351
351
  };
352
- protoOf(Primitives).get_parent_hy4reb_k$ = function () {
353
- return this.parent_2;
352
+ protoOf(Primitives).g36 = function () {
353
+ return this.c36_1;
354
354
  };
355
- protoOf(Primitives).get_depth_iq7qmy_k$ = function () {
356
- return this.depth_2;
355
+ protoOf(Primitives).h36 = function () {
356
+ return this.d36_1;
357
357
  };
358
358
  protoOf(Primitives).toString = function () {
359
359
  return protoOf(ChoicePointContext).toString.call(this);
360
360
  };
361
- protoOf(Primitives).get_typeName_s1eeum_k$ = function () {
361
+ protoOf(Primitives).i36 = function () {
362
362
  return 'Primitives';
363
363
  };
364
- protoOf(Primitives).backtrack_4ek2oe_k$ = function (context) {
365
- var tmp0_$this = ensureNotNull(this.executionContext_2);
366
- var tmp1_primitives = this.alternatives_2;
364
+ protoOf(Primitives).j36 = function (context) {
365
+ var tmp0_$this = ensureNotNull(this.b36_1);
366
+ var tmp1_primitives = this.a36_1;
367
367
  // Inline function 'kotlin.Long.plus' call
368
- var this_0 = context.step_1;
368
+ var this_0 = context.n35_1;
369
369
  var tmp2_step = add(this_0, fromInt(1));
370
- var tmp3_startTime = context.startTime_1;
371
- var tmp4_flags = context.flags_1;
372
- var tmp5_dynamicKb = context.dynamicKb_1;
373
- var tmp6_staticKb = context.staticKb_1;
374
- var tmp7_operators = context.operators_1;
375
- var tmp8_inputChannels = context.inputChannels_1;
376
- var tmp9_outputChannels = context.outputChannels_1;
377
- var tmp10_libraries = context.libraries_1;
378
- var tmp11_customData = context.customData_1.discardEphemeral();
379
- var tempContext = tmp0_$this.copy$default_dhd9rp_k$(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, VOID, tmp1_primitives, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
380
- var nextChoicePointContext = this.copy$default_dv119p_k$(this.alternatives_2.get_next_wor1vg_k$(), tempContext);
381
- return tempContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
382
- };
383
- protoOf(Primitives).copy_t04hxo_k$ = function (alternatives, executionContext, parent, depth) {
370
+ var tmp3_startTime = context.i35_1;
371
+ var tmp4_flags = context.w34_1;
372
+ var tmp5_dynamicKb = context.y34_1;
373
+ var tmp6_staticKb = context.x34_1;
374
+ var tmp7_operators = context.z34_1;
375
+ var tmp8_inputChannels = context.a35_1;
376
+ var tmp9_outputChannels = context.b35_1;
377
+ var tmp10_libraries = context.v34_1;
378
+ var tmp11_customData = context.c35_1.discardEphemeral();
379
+ var tempContext = tmp0_$this.k36(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, VOID, tmp1_primitives, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
380
+ var nextChoicePointContext = this.l36(this.a36_1.ep(), tempContext);
381
+ return tempContext.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
382
+ };
383
+ protoOf(Primitives).m36 = function (alternatives, executionContext, parent, depth) {
384
384
  return new Primitives(alternatives, executionContext, parent, depth);
385
385
  };
386
- protoOf(Primitives).copy$default_dv119p_k$ = function (alternatives, executionContext, parent, depth, $super) {
387
- alternatives = alternatives === VOID ? this.alternatives_2 : alternatives;
388
- executionContext = executionContext === VOID ? this.executionContext_2 : executionContext;
389
- parent = parent === VOID ? this.parent_2 : parent;
390
- depth = depth === VOID ? this.depth_2 : depth;
391
- return $super === VOID ? this.copy_t04hxo_k$(alternatives, executionContext, parent, depth) : $super.copy_t04hxo_k$.call(this, alternatives, executionContext, parent, depth);
386
+ protoOf(Primitives).l36 = function (alternatives, executionContext, parent, depth, $super) {
387
+ alternatives = alternatives === VOID ? this.a36_1 : alternatives;
388
+ executionContext = executionContext === VOID ? this.b36_1 : executionContext;
389
+ parent = parent === VOID ? this.c36_1 : parent;
390
+ depth = depth === VOID ? this.d36_1 : depth;
391
+ return $super === VOID ? this.m36(alternatives, executionContext, parent, depth) : $super.m36.call(this, alternatives, executionContext, parent, depth);
392
392
  };
393
393
  protoOf(Primitives).hashCode = function () {
394
- var result = hashCode(this.alternatives_2);
395
- result = imul(result, 31) + (this.executionContext_2 == null ? 0 : this.executionContext_2.hashCode()) | 0;
396
- result = imul(result, 31) + (this.parent_2 == null ? 0 : hashCode(this.parent_2)) | 0;
397
- result = imul(result, 31) + this.depth_2 | 0;
394
+ var result = hashCode(this.a36_1);
395
+ result = imul(result, 31) + (this.b36_1 == null ? 0 : this.b36_1.hashCode()) | 0;
396
+ result = imul(result, 31) + (this.c36_1 == null ? 0 : hashCode(this.c36_1)) | 0;
397
+ result = imul(result, 31) + this.d36_1 | 0;
398
398
  return result;
399
399
  };
400
400
  protoOf(Primitives).equals = function (other) {
@@ -402,75 +402,75 @@
402
402
  return true;
403
403
  if (!(other instanceof Primitives))
404
404
  return false;
405
- if (!equals(this.alternatives_2, other.alternatives_2))
405
+ if (!equals(this.a36_1, other.a36_1))
406
406
  return false;
407
- if (!equals(this.executionContext_2, other.executionContext_2))
407
+ if (!equals(this.b36_1, other.b36_1))
408
408
  return false;
409
- if (!equals(this.parent_2, other.parent_2))
409
+ if (!equals(this.c36_1, other.c36_1))
410
410
  return false;
411
- if (!(this.depth_2 === other.depth_2))
411
+ if (!(this.d36_1 === other.d36_1))
412
412
  return false;
413
413
  return true;
414
414
  };
415
415
  function Rules(alternatives, executionContext, parent, depth) {
416
416
  ChoicePointContext.call(this, alternatives, executionContext, parent, depth);
417
- this.alternatives_2 = alternatives;
418
- this.executionContext_2 = executionContext;
419
- this.parent_2 = parent;
420
- this.depth_2 = depth;
417
+ this.z36_1 = alternatives;
418
+ this.a37_1 = executionContext;
419
+ this.b37_1 = parent;
420
+ this.c37_1 = depth;
421
421
  }
422
- protoOf(Rules).get_alternatives_pbh9w1_k$ = function () {
423
- return this.alternatives_2;
422
+ protoOf(Rules).e36 = function () {
423
+ return this.z36_1;
424
424
  };
425
- protoOf(Rules).get_executionContext_yb2vgg_k$ = function () {
426
- return this.executionContext_2;
425
+ protoOf(Rules).f36 = function () {
426
+ return this.a37_1;
427
427
  };
428
- protoOf(Rules).get_parent_hy4reb_k$ = function () {
429
- return this.parent_2;
428
+ protoOf(Rules).g36 = function () {
429
+ return this.b37_1;
430
430
  };
431
- protoOf(Rules).get_depth_iq7qmy_k$ = function () {
432
- return this.depth_2;
431
+ protoOf(Rules).h36 = function () {
432
+ return this.c37_1;
433
433
  };
434
434
  protoOf(Rules).toString = function () {
435
435
  return protoOf(ChoicePointContext).toString.call(this);
436
436
  };
437
- protoOf(Rules).get_typeName_s1eeum_k$ = function () {
437
+ protoOf(Rules).i36 = function () {
438
438
  return 'Rules';
439
439
  };
440
- protoOf(Rules).backtrack_4ek2oe_k$ = function (context) {
441
- var tmp0_$this = ensureNotNull(this.executionContext_2);
442
- var tmp1_rules = this.alternatives_2;
440
+ protoOf(Rules).j36 = function (context) {
441
+ var tmp0_$this = ensureNotNull(this.a37_1);
442
+ var tmp1_rules = this.z36_1;
443
443
  // Inline function 'kotlin.Long.plus' call
444
- var this_0 = context.step_1;
444
+ var this_0 = context.n35_1;
445
445
  var tmp2_step = add(this_0, fromInt(1));
446
- var tmp3_startTime = context.startTime_1;
447
- var tmp4_flags = context.flags_1;
448
- var tmp5_dynamicKb = context.dynamicKb_1;
449
- var tmp6_staticKb = context.staticKb_1;
450
- var tmp7_operators = context.operators_1;
451
- var tmp8_inputChannels = context.inputChannels_1;
452
- var tmp9_outputChannels = context.outputChannels_1;
453
- var tmp10_libraries = context.libraries_1;
454
- var tmp11_customData = context.customData_1.discardEphemeral();
455
- var tempContext = tmp0_$this.copy$default_dhd9rp_k$(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, tmp1_rules, VOID, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
456
- var nextChoicePointContext = this.copy$default_tfu8rc_k$(this.alternatives_2.get_next_wor1vg_k$(), tempContext);
457
- return tempContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
458
- };
459
- protoOf(Rules).copy_msakpk_k$ = function (alternatives, executionContext, parent, depth) {
446
+ var tmp3_startTime = context.i35_1;
447
+ var tmp4_flags = context.w34_1;
448
+ var tmp5_dynamicKb = context.y34_1;
449
+ var tmp6_staticKb = context.x34_1;
450
+ var tmp7_operators = context.z34_1;
451
+ var tmp8_inputChannels = context.a35_1;
452
+ var tmp9_outputChannels = context.b35_1;
453
+ var tmp10_libraries = context.v34_1;
454
+ var tmp11_customData = context.c35_1.discardEphemeral();
455
+ var tempContext = tmp0_$this.k36(VOID, VOID, tmp10_libraries, tmp4_flags, tmp6_staticKb, tmp5_dynamicKb, tmp7_operators, tmp8_inputChannels, tmp9_outputChannels, tmp11_customData, VOID, VOID, VOID, tmp1_rules, VOID, tmp3_startTime, VOID, VOID, VOID, VOID, tmp2_step);
456
+ var nextChoicePointContext = this.d37(this.z36_1.ep(), tempContext);
457
+ return tempContext.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, nextChoicePointContext);
458
+ };
459
+ protoOf(Rules).e37 = function (alternatives, executionContext, parent, depth) {
460
460
  return new Rules(alternatives, executionContext, parent, depth);
461
461
  };
462
- protoOf(Rules).copy$default_tfu8rc_k$ = function (alternatives, executionContext, parent, depth, $super) {
463
- alternatives = alternatives === VOID ? this.alternatives_2 : alternatives;
464
- executionContext = executionContext === VOID ? this.executionContext_2 : executionContext;
465
- parent = parent === VOID ? this.parent_2 : parent;
466
- depth = depth === VOID ? this.depth_2 : depth;
467
- return $super === VOID ? this.copy_msakpk_k$(alternatives, executionContext, parent, depth) : $super.copy_msakpk_k$.call(this, alternatives, executionContext, parent, depth);
462
+ protoOf(Rules).d37 = function (alternatives, executionContext, parent, depth, $super) {
463
+ alternatives = alternatives === VOID ? this.z36_1 : alternatives;
464
+ executionContext = executionContext === VOID ? this.a37_1 : executionContext;
465
+ parent = parent === VOID ? this.b37_1 : parent;
466
+ depth = depth === VOID ? this.c37_1 : depth;
467
+ return $super === VOID ? this.e37(alternatives, executionContext, parent, depth) : $super.e37.call(this, alternatives, executionContext, parent, depth);
468
468
  };
469
469
  protoOf(Rules).hashCode = function () {
470
- var result = hashCode(this.alternatives_2);
471
- result = imul(result, 31) + (this.executionContext_2 == null ? 0 : this.executionContext_2.hashCode()) | 0;
472
- result = imul(result, 31) + (this.parent_2 == null ? 0 : hashCode(this.parent_2)) | 0;
473
- result = imul(result, 31) + this.depth_2 | 0;
470
+ var result = hashCode(this.z36_1);
471
+ result = imul(result, 31) + (this.a37_1 == null ? 0 : this.a37_1.hashCode()) | 0;
472
+ result = imul(result, 31) + (this.b37_1 == null ? 0 : hashCode(this.b37_1)) | 0;
473
+ result = imul(result, 31) + this.c37_1 | 0;
474
474
  return result;
475
475
  };
476
476
  protoOf(Rules).equals = function (other) {
@@ -478,112 +478,112 @@
478
478
  return true;
479
479
  if (!(other instanceof Rules))
480
480
  return false;
481
- if (!equals(this.alternatives_2, other.alternatives_2))
481
+ if (!equals(this.z36_1, other.z36_1))
482
482
  return false;
483
- if (!equals(this.executionContext_2, other.executionContext_2))
483
+ if (!equals(this.a37_1, other.a37_1))
484
484
  return false;
485
- if (!equals(this.parent_2, other.parent_2))
485
+ if (!equals(this.b37_1, other.b37_1))
486
486
  return false;
487
- if (!(this.depth_2 === other.depth_2))
487
+ if (!(this.c37_1 === other.c37_1))
488
488
  return false;
489
489
  return true;
490
490
  };
491
491
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation) {
492
- this.this$0__1 = this$0;
492
+ this.n37_1 = this$0;
493
493
  CoroutineImpl.call(this, resultContinuation);
494
494
  }
495
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).invoke_c0xb8o_k$ = function ($this$sequence, $completion) {
496
- var tmp = this.create_txzjro_k$($this$sequence, $completion);
497
- tmp.result_1 = Unit_instance;
498
- tmp.exception_1 = null;
499
- return tmp.doResume_5yljmg_k$();
495
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).q37 = function ($this$sequence, $completion) {
496
+ var tmp = this.r37($this$sequence, $completion);
497
+ tmp.e8_1 = Unit_instance;
498
+ tmp.f8_1 = null;
499
+ return tmp.k8();
500
500
  };
501
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).invoke_qns8j1_k$ = function (p1, $completion) {
502
- return this.invoke_c0xb8o_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
501
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).b9 = function (p1, $completion) {
502
+ return this.q37(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
503
503
  };
504
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).doResume_5yljmg_k$ = function () {
505
- var suspendResult = this.result_1;
504
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).k8 = function () {
505
+ var suspendResult = this.e8_1;
506
506
  $sm: do
507
507
  try {
508
- var tmp = this.state_1;
508
+ var tmp = this.c8_1;
509
509
  switch (tmp) {
510
510
  case 0:
511
- this.exceptionState_1 = 4;
512
- this.curr0__1 = this.this$0__1;
513
- this.state_1 = 1;
511
+ this.d8_1 = 4;
512
+ this.p37_1 = this.n37_1;
513
+ this.c8_1 = 1;
514
514
  continue $sm;
515
515
  case 1:
516
- if (!!(this.curr0__1 == null)) {
517
- this.state_1 = 3;
516
+ if (!!(this.p37_1 == null)) {
517
+ this.c8_1 = 3;
518
518
  continue $sm;
519
519
  }
520
520
 
521
- this.state_1 = 2;
522
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(ensureNotNull(this.curr0__1), this);
521
+ this.c8_1 = 2;
522
+ suspendResult = this.o37_1.nc(ensureNotNull(this.p37_1), this);
523
523
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
524
524
  return suspendResult;
525
525
  }
526
526
 
527
527
  continue $sm;
528
528
  case 2:
529
- this.curr0__1 = this.curr0__1.get_parent_hy4reb_k$();
530
- this.state_1 = 1;
529
+ this.p37_1 = this.p37_1.g36();
530
+ this.c8_1 = 1;
531
531
  continue $sm;
532
532
  case 3:
533
533
  return Unit_instance;
534
534
  case 4:
535
- throw this.exception_1;
535
+ throw this.f8_1;
536
536
  }
537
537
  } catch ($p) {
538
538
  var e = $p;
539
- if (this.exceptionState_1 === 4) {
539
+ if (this.d8_1 === 4) {
540
540
  throw e;
541
541
  } else {
542
- this.state_1 = this.exceptionState_1;
543
- this.exception_1 = e;
542
+ this.c8_1 = this.d8_1;
543
+ this.f8_1 = e;
544
544
  }
545
545
  }
546
546
  while (true);
547
547
  };
548
- protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).create_txzjro_k$ = function ($this$sequence, completion) {
549
- var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.this$0__1, completion);
550
- i.$this$sequence_1 = $this$sequence;
548
+ protoOf(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn).r37 = function ($this$sequence, completion) {
549
+ var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this.n37_1, completion);
550
+ i.o37_1 = $this$sequence;
551
551
  return i;
552
552
  };
553
553
  function ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this$0, resultContinuation) {
554
554
  var i = new ChoicePointContext$_get_pathToRoot_$slambda_q0myjn(this$0, resultContinuation);
555
555
  return constructCallableReference(function ($this$sequence, $completion) {
556
- return i.invoke_c0xb8o_k$($this$sequence, $completion);
556
+ return i.q37($this$sequence, $completion);
557
557
  }, 1);
558
558
  }
559
559
  function ChoicePointContext(alternatives, executionContext, parent, depth) {
560
560
  depth = depth === VOID ? 0 : depth;
561
- this.alternatives_1 = alternatives;
562
- this.executionContext_1 = executionContext;
563
- this.parent_1 = parent;
564
- this.depth_1 = depth;
561
+ this.n36_1 = alternatives;
562
+ this.o36_1 = executionContext;
563
+ this.p36_1 = parent;
564
+ this.q36_1 = depth;
565
565
  }
566
- protoOf(ChoicePointContext).get_alternatives_pbh9w1_k$ = function () {
567
- return this.alternatives_1;
566
+ protoOf(ChoicePointContext).e36 = function () {
567
+ return this.n36_1;
568
568
  };
569
- protoOf(ChoicePointContext).get_executionContext_yb2vgg_k$ = function () {
570
- return this.executionContext_1;
569
+ protoOf(ChoicePointContext).f36 = function () {
570
+ return this.o36_1;
571
571
  };
572
- protoOf(ChoicePointContext).get_parent_hy4reb_k$ = function () {
573
- return this.parent_1;
572
+ protoOf(ChoicePointContext).g36 = function () {
573
+ return this.p36_1;
574
574
  };
575
- protoOf(ChoicePointContext).get_depth_iq7qmy_k$ = function () {
576
- return this.depth_1;
575
+ protoOf(ChoicePointContext).h36 = function () {
576
+ return this.q36_1;
577
577
  };
578
- protoOf(ChoicePointContext).get_hasOpenAlternatives_bd9sv_k$ = function () {
579
- var tmp0 = this.get_pathToRoot_5yk1yt_k$();
578
+ protoOf(ChoicePointContext).r36 = function () {
579
+ var tmp0 = this.s36();
580
580
  var tmp$ret$0;
581
581
  $l$block: {
582
582
  // Inline function 'kotlin.sequences.any' call
583
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
584
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
585
- var element = _iterator__ex2g4s.next_20eer_k$();
586
- if (element.get_alternatives_pbh9w1_k$().get_hasNext_csdx38_k$()) {
583
+ var _iterator__ex2g4s = tmp0.n();
584
+ while (_iterator__ex2g4s.q()) {
585
+ var element = _iterator__ex2g4s.r();
586
+ if (element.e36().gp()) {
587
587
  tmp$ret$0 = true;
588
588
  break $l$block;
589
589
  }
@@ -592,41 +592,41 @@
592
592
  }
593
593
  return tmp$ret$0;
594
594
  };
595
- protoOf(ChoicePointContext).get_pathToRoot_5yk1yt_k$ = function () {
595
+ protoOf(ChoicePointContext).s36 = function () {
596
596
  return sequence(ChoicePointContext$_get_pathToRoot_$slambda_q0myjn_0(this, null));
597
597
  };
598
- protoOf(ChoicePointContext).get_executionContextDepth_zi5g2l_k$ = function () {
599
- var tmp0_safe_receiver = this.get_executionContext_yb2vgg_k$();
600
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.depth_1;
598
+ protoOf(ChoicePointContext).t36 = function () {
599
+ var tmp0_safe_receiver = this.f36();
600
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m35_1;
601
601
  };
602
- protoOf(ChoicePointContext).get_executionContextProcedure_mfm171_k$ = function () {
603
- var tmp0_safe_receiver = this.get_executionContext_yb2vgg_k$();
604
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.procedure_1;
602
+ protoOf(ChoicePointContext).u36 = function () {
603
+ var tmp0_safe_receiver = this.f36();
604
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t34_1;
605
605
  };
606
606
  protoOf(ChoicePointContext).toString = function () {
607
- var tmp = this.get_typeName_s1eeum_k$() + '(' + ('alternatives=' + toString(this.get_alternatives_pbh9w1_k$()) + ', ');
607
+ var tmp = this.i36() + '(' + ('alternatives=' + toString(this.e36()) + ', ');
608
608
  var tmp_0;
609
- if (this.get_executionContext_yb2vgg_k$() === null) {
610
- tmp_0 = 'executionContext=' + toString_0(this.get_executionContext_yb2vgg_k$()) + ', ';
609
+ if (this.f36() === null) {
610
+ tmp_0 = 'executionContext=' + toString_0(this.f36()) + ', ';
611
611
  } else {
612
- 'executionContextDepth=' + this.get_executionContextDepth_zi5g2l_k$() + ', ';
613
- tmp_0 = 'executionContextProcedure=' + toString_0(this.get_executionContextProcedure_mfm171_k$()) + ', ';
612
+ 'executionContextDepth=' + this.t36() + ', ';
613
+ tmp_0 = 'executionContextProcedure=' + toString_0(this.u36()) + ', ';
614
614
  }
615
- return tmp + tmp_0 + ('depth=' + this.get_depth_iq7qmy_k$()) + ')';
615
+ return tmp + tmp_0 + ('depth=' + this.h36()) + ')';
616
616
  };
617
617
  function appendRules(_this__u8e3s4, alternatives, executionContext) {
618
618
  executionContext = executionContext === VOID ? null : executionContext;
619
619
  return new Rules(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
620
620
  }
621
621
  function nextDepth(_this__u8e3s4) {
622
- return _this__u8e3s4 == null ? 0 : _this__u8e3s4.get_depth_iq7qmy_k$() + 1 | 0;
622
+ return _this__u8e3s4 == null ? 0 : _this__u8e3s4.h36() + 1 | 0;
623
623
  }
624
624
  function appendPrimitives(_this__u8e3s4, alternatives, executionContext) {
625
625
  executionContext = executionContext === VOID ? null : executionContext;
626
626
  return new Primitives(alternatives, executionContext, _this__u8e3s4, nextDepth(_this__u8e3s4));
627
627
  }
628
628
  function MutablePrologSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, $this) {
629
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
629
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
630
630
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
631
631
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
632
632
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -642,7 +642,7 @@
642
642
  return MutablePrologSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(MutablePrologSolver)));
643
643
  }
644
644
  function MutablePrologSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
645
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
645
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
646
646
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
647
647
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
648
648
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -661,364 +661,364 @@
661
661
  }
662
662
  function MutablePrologSolver$loadLibrary$lambda($library) {
663
663
  return function ($this$updateContext) {
664
- var newRuntime = $this$updateContext.libraries_1.plusLibrary($library);
665
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.operators_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
664
+ var newRuntime = $this$updateContext.v34_1.plusLibrary($library);
665
+ return $this$updateContext.k36(VOID, VOID, newRuntime, VOID, VOID, VOID, $this$updateContext.z34_1.plusOperatorSet(toOperatorSet(getAllOperators(newRuntime, []))));
666
666
  };
667
667
  }
668
668
  function MutablePrologSolver$unloadLibrary$lambda($library) {
669
669
  return function ($this$updateContext) {
670
- var newRuntime = $this$updateContext.libraries_1.plusLibrary($library);
671
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.staticKb_1, $this$updateContext.dynamicKb_1])));
670
+ var newRuntime = $this$updateContext.v34_1.plusLibrary($library);
671
+ return $this$updateContext.k36(VOID, VOID, newRuntime, VOID, VOID, VOID, toOperatorSet(getAllOperators(newRuntime, [$this$updateContext.x34_1, $this$updateContext.y34_1])));
672
672
  };
673
673
  }
674
674
  function MutablePrologSolver$setRuntime$lambda($libraries) {
675
675
  return function ($this$updateContext) {
676
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.staticKb_1, $this$updateContext.dynamicKb_1])));
676
+ return $this$updateContext.k36(VOID, VOID, $libraries, VOID, VOID, VOID, toOperatorSet(getAllOperators($libraries, [$this$updateContext.x34_1, $this$updateContext.y34_1])));
677
677
  };
678
678
  }
679
679
  function MutablePrologSolver$resetStaticKb$lambda($this$updateContext) {
680
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.unificator_1), VOID, toOperatorSet(getAllOperators($this$updateContext.libraries_1, [$this$updateContext.dynamicKb_1])));
680
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, Companion_instance_0.empty($this$updateContext.u34_1), VOID, toOperatorSet(getAllOperators($this$updateContext.v34_1, [$this$updateContext.y34_1])));
681
681
  }
682
682
  function MutablePrologSolver$resetDynamicKb$lambda($this$updateContext) {
683
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.unificator_1), toOperatorSet(getAllOperators($this$updateContext.libraries_1, [$this$updateContext.staticKb_1])));
683
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, Companion_instance_1.empty($this$updateContext.u34_1), toOperatorSet(getAllOperators($this$updateContext.v34_1, [$this$updateContext.x34_1])));
684
684
  }
685
685
  function MutablePrologSolver$assertA$lambda($clause) {
686
686
  return function ($this$updateContext) {
687
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $this$updateContext.dynamicKb_1.assertA_rph7uu_k$($clause), $this$updateContext.operators_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
687
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $this$updateContext.y34_1.x1r($clause), $this$updateContext.z34_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
688
688
  };
689
689
  }
690
690
  function MutablePrologSolver$assertA$lambda_0($fact) {
691
691
  return function ($this$updateContext) {
692
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $this$updateContext.dynamicKb_1.assertAFact_4uxdq5_k$($fact));
692
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $this$updateContext.y34_1.w1s($fact));
693
693
  };
694
694
  }
695
695
  function MutablePrologSolver$assertZ$lambda($clause) {
696
696
  return function ($this$updateContext) {
697
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $this$updateContext.dynamicKb_1.assertZ_cv7m25_k$($clause), $this$updateContext.operators_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
697
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $this$updateContext.y34_1.b1s($clause), $this$updateContext.z34_1.plusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
698
698
  };
699
699
  }
700
700
  function MutablePrologSolver$assertZ$lambda_0($fact) {
701
701
  return function ($this$updateContext) {
702
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $this$updateContext.dynamicKb_1.assertZFact_k45js4_k$($fact));
702
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $this$updateContext.y34_1.x1s($fact));
703
703
  };
704
704
  }
705
705
  function MutablePrologSolver$retract$lambda($result, $clause) {
706
706
  return function ($this$updateContext) {
707
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $result.get_theory_jxxpta_k$().toMutableTheory(), $this$updateContext.operators_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
707
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $result.p1r().toMutableTheory(), $this$updateContext.z34_1.minusOperatorSet(toOperatorSet(getAllOperators_0(listOf($clause)))));
708
708
  };
709
709
  }
710
710
  function MutablePrologSolver$retract$lambda_0($result) {
711
711
  return function ($this$updateContext) {
712
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $result.get_theory_jxxpta_k$().toMutableTheory());
712
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $result.p1r().toMutableTheory());
713
713
  };
714
714
  }
715
715
  function MutablePrologSolver$retractAll$lambda($result) {
716
716
  return function ($this$updateContext) {
717
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $result.get_theory_jxxpta_k$().toMutableTheory(), $this$updateContext.operators_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.get_theory_jxxpta_k$()))));
717
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $result.p1r().toMutableTheory(), $this$updateContext.z34_1.minusOperatorSet(toOperatorSet(getAllOperators_0($result.p1r()))));
718
718
  };
719
719
  }
720
720
  function MutablePrologSolver$retractAll$lambda_0($result) {
721
721
  return function ($this$updateContext) {
722
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, $result.get_theory_jxxpta_k$().toMutableTheory());
722
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, $result.p1r().toMutableTheory());
723
723
  };
724
724
  }
725
725
  function MutablePrologSolver$setFlag$lambda($name, $value) {
726
726
  return function ($this$updateContext) {
727
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, $this$updateContext.flags_1.set($name, $value));
727
+ return $this$updateContext.k36(VOID, VOID, VOID, $this$updateContext.w34_1.set($name, $value));
728
728
  };
729
729
  }
730
730
  function MutablePrologSolver$setFlag$lambda_0($flag) {
731
731
  return function ($this$updateContext) {
732
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, $this$updateContext.flags_1.plusPair($flag));
732
+ return $this$updateContext.k36(VOID, VOID, VOID, $this$updateContext.w34_1.plusPair($flag));
733
733
  };
734
734
  }
735
735
  function MutablePrologSolver$setFlag$lambda_1($flag) {
736
736
  return function ($this$updateContext) {
737
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, $this$updateContext.flags_1.plusNotable($flag));
737
+ return $this$updateContext.k36(VOID, VOID, VOID, $this$updateContext.w34_1.plusNotable($flag));
738
738
  };
739
739
  }
740
740
  function MutablePrologSolver$setStandardInput$lambda($stdIn) {
741
741
  return function ($this$updateContext) {
742
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.inputChannels_1.plus(to('stdin', $stdIn)));
742
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.a35_1.plus(to('stdin', $stdIn)));
743
743
  };
744
744
  }
745
745
  function MutablePrologSolver$setStandardError$lambda($stdErr) {
746
746
  return function ($this$updateContext) {
747
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.outputChannels_1.plus(to('stderr', $stdErr)));
747
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.b35_1.plus(to('stderr', $stdErr)));
748
748
  };
749
749
  }
750
750
  function MutablePrologSolver$setStandardOutput$lambda($stdOut) {
751
751
  return function ($this$updateContext) {
752
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.outputChannels_1.plus(to('stdout', $stdOut)));
752
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$updateContext.b35_1.plus(to('stdout', $stdOut)));
753
753
  };
754
754
  }
755
755
  function MutablePrologSolver$setWarnings$lambda($warnings) {
756
756
  return function ($this$updateContext) {
757
- return $this$updateContext.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.of_1naorf_k$($this$updateContext.outputChannels_1, $warnings));
757
+ return $this$updateContext.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_5.y1y($this$updateContext.b35_1, $warnings));
758
758
  };
759
759
  }
760
- protoOf(MutablePrologSolver).loadLibrary_q1n5nu_k$ = function (library) {
761
- this.updateContext_rloucg_k$(MutablePrologSolver$loadLibrary$lambda(library));
760
+ protoOf(MutablePrologSolver).t37 = function (library) {
761
+ this.f2c(MutablePrologSolver$loadLibrary$lambda(library));
762
762
  };
763
763
  protoOf(MutablePrologSolver).loadLibrary = function (library) {
764
- return this.loadLibrary_q1n5nu_k$(library);
764
+ return this.t37(library);
765
765
  };
766
- protoOf(MutablePrologSolver).unloadLibrary_v0n1oj_k$ = function (library) {
767
- this.updateContext_rloucg_k$(MutablePrologSolver$unloadLibrary$lambda(library));
766
+ protoOf(MutablePrologSolver).u37 = function (library) {
767
+ this.f2c(MutablePrologSolver$unloadLibrary$lambda(library));
768
768
  };
769
769
  protoOf(MutablePrologSolver).unloadLibrary = function (library) {
770
- return this.unloadLibrary_v0n1oj_k$(library);
770
+ return this.u37(library);
771
771
  };
772
- protoOf(MutablePrologSolver).setLibraries_6nxae9_k$ = function (libraries) {
773
- this.updateContext_rloucg_k$(MutablePrologSolver$setRuntime$lambda(libraries));
772
+ protoOf(MutablePrologSolver).v37 = function (libraries) {
773
+ this.f2c(MutablePrologSolver$setRuntime$lambda(libraries));
774
774
  };
775
775
  protoOf(MutablePrologSolver).setLibraries = function (libraries) {
776
- return this.setLibraries_6nxae9_k$(libraries);
776
+ return this.v37(libraries);
777
777
  };
778
- protoOf(MutablePrologSolver).loadStaticKb_2i4jai_k$ = function (theory) {
779
- this.initializeKb$default_3mydqu_k$(theory, VOID, false);
778
+ protoOf(MutablePrologSolver).w37 = function (theory) {
779
+ this.j2c(theory, VOID, false);
780
780
  };
781
781
  protoOf(MutablePrologSolver).loadStaticKb = function (theory) {
782
- return this.loadStaticKb_2i4jai_k$(theory);
782
+ return this.w37(theory);
783
783
  };
784
- protoOf(MutablePrologSolver).appendStaticKb_uqqmam_k$ = function (theory) {
785
- this.initializeKb$default_3mydqu_k$(theory);
784
+ protoOf(MutablePrologSolver).x37 = function (theory) {
785
+ this.j2c(theory);
786
786
  };
787
787
  protoOf(MutablePrologSolver).appendStaticKb = function (theory) {
788
- return this.appendStaticKb_uqqmam_k$(theory);
788
+ return this.x37(theory);
789
789
  };
790
- protoOf(MutablePrologSolver).resetStaticKb_rhuuis_k$ = function () {
791
- this.updateContext_rloucg_k$(MutablePrologSolver$resetStaticKb$lambda);
790
+ protoOf(MutablePrologSolver).y37 = function () {
791
+ this.f2c(MutablePrologSolver$resetStaticKb$lambda);
792
792
  };
793
793
  protoOf(MutablePrologSolver).resetStaticKb = function () {
794
- return this.resetStaticKb_rhuuis_k$();
794
+ return this.y37();
795
795
  };
796
- protoOf(MutablePrologSolver).loadDynamicKb_5wazkf_k$ = function (theory) {
797
- this.initializeKb$default_3mydqu_k$(VOID, theory, VOID, false);
796
+ protoOf(MutablePrologSolver).z37 = function (theory) {
797
+ this.j2c(VOID, theory, VOID, false);
798
798
  };
799
799
  protoOf(MutablePrologSolver).loadDynamicKb = function (theory) {
800
- return this.loadDynamicKb_5wazkf_k$(theory);
800
+ return this.z37(theory);
801
801
  };
802
- protoOf(MutablePrologSolver).appendDynamicKb_sxywyj_k$ = function (theory) {
803
- this.initializeKb$default_3mydqu_k$(VOID, theory);
802
+ protoOf(MutablePrologSolver).a38 = function (theory) {
803
+ this.j2c(VOID, theory);
804
804
  };
805
805
  protoOf(MutablePrologSolver).appendDynamicKb = function (theory) {
806
- return this.appendDynamicKb_sxywyj_k$(theory);
806
+ return this.a38(theory);
807
807
  };
808
- protoOf(MutablePrologSolver).resetDynamicKb_ja5swn_k$ = function () {
809
- this.updateContext_rloucg_k$(MutablePrologSolver$resetDynamicKb$lambda);
808
+ protoOf(MutablePrologSolver).b38 = function () {
809
+ this.f2c(MutablePrologSolver$resetDynamicKb$lambda);
810
810
  };
811
811
  protoOf(MutablePrologSolver).resetDynamicKb = function () {
812
- return this.resetDynamicKb_ja5swn_k$();
812
+ return this.b38();
813
813
  };
814
- protoOf(MutablePrologSolver).assertA_tusqwa_k$ = function (clause) {
815
- this.updateContext_rloucg_k$(MutablePrologSolver$assertA$lambda(clause));
814
+ protoOf(MutablePrologSolver).e1m = function (clause) {
815
+ this.f2c(MutablePrologSolver$assertA$lambda(clause));
816
816
  };
817
817
  protoOf(MutablePrologSolver).assertA = function (clause) {
818
- return this.assertA_tusqwa_k$(clause);
818
+ return this.e1m(clause);
819
819
  };
820
- protoOf(MutablePrologSolver).assertAFact_a3ln65_k$ = function (fact) {
821
- this.updateContext_rloucg_k$(MutablePrologSolver$assertA$lambda_0(fact));
820
+ protoOf(MutablePrologSolver).c38 = function (fact) {
821
+ this.f2c(MutablePrologSolver$assertA$lambda_0(fact));
822
822
  };
823
823
  protoOf(MutablePrologSolver).assertAFact = function (fact) {
824
- return this.assertAFact_a3ln65_k$(fact);
824
+ return this.c38(fact);
825
825
  };
826
- protoOf(MutablePrologSolver).assertZ_zg84ar_k$ = function (clause) {
827
- this.updateContext_rloucg_k$(MutablePrologSolver$assertZ$lambda(clause));
826
+ protoOf(MutablePrologSolver).f1l = function (clause) {
827
+ this.f2c(MutablePrologSolver$assertZ$lambda(clause));
828
828
  };
829
829
  protoOf(MutablePrologSolver).assertZ = function (clause) {
830
- return this.assertZ_zg84ar_k$(clause);
830
+ return this.f1l(clause);
831
831
  };
832
- protoOf(MutablePrologSolver).assertZFact_vgt1ys_k$ = function (fact) {
833
- this.updateContext_rloucg_k$(MutablePrologSolver$assertZ$lambda_0(fact));
832
+ protoOf(MutablePrologSolver).d38 = function (fact) {
833
+ this.f2c(MutablePrologSolver$assertZ$lambda_0(fact));
834
834
  };
835
835
  protoOf(MutablePrologSolver).assertZFact = function (fact) {
836
- return this.assertZFact_vgt1ys_k$(fact);
836
+ return this.d38(fact);
837
837
  };
838
- protoOf(MutablePrologSolver).retract_hfhq2o_k$ = function (clause) {
839
- var result = this.get_dynamicKb_wvqg8j_k$().retract(clause);
840
- this.updateContext_rloucg_k$(MutablePrologSolver$retract$lambda(result, clause));
838
+ protoOf(MutablePrologSolver).y1s = function (clause) {
839
+ var result = this.t1u().retract(clause);
840
+ this.f2c(MutablePrologSolver$retract$lambda(result, clause));
841
841
  return result;
842
842
  };
843
843
  protoOf(MutablePrologSolver).retract = function (clause) {
844
- return this.retract_hfhq2o_k$(clause);
844
+ return this.y1s(clause);
845
845
  };
846
- protoOf(MutablePrologSolver).retractByHead_iva4y4_k$ = function (fact) {
847
- var result = this.get_dynamicKb_wvqg8j_k$().retractByHead(fact);
848
- this.updateContext_rloucg_k$(MutablePrologSolver$retract$lambda_0(result));
846
+ protoOf(MutablePrologSolver).z1s = function (fact) {
847
+ var result = this.t1u().retractByHead(fact);
848
+ this.f2c(MutablePrologSolver$retract$lambda_0(result));
849
849
  return result;
850
850
  };
851
851
  protoOf(MutablePrologSolver).retractByHead = function (fact) {
852
- return this.retractByHead_iva4y4_k$(fact);
852
+ return this.z1s(fact);
853
853
  };
854
- protoOf(MutablePrologSolver).retractAll_ggzq75_k$ = function (clause) {
855
- var result = this.get_dynamicKb_wvqg8j_k$().retractAll(clause);
856
- this.updateContext_rloucg_k$(MutablePrologSolver$retractAll$lambda(result));
854
+ protoOf(MutablePrologSolver).k1l = function (clause) {
855
+ var result = this.t1u().retractAll(clause);
856
+ this.f2c(MutablePrologSolver$retractAll$lambda(result));
857
857
  return result;
858
858
  };
859
859
  protoOf(MutablePrologSolver).retractAll = function (clause) {
860
- return this.retractAll_ggzq75_k$(clause);
860
+ return this.k1l(clause);
861
861
  };
862
- protoOf(MutablePrologSolver).retractAllBeHead_dm84sf_k$ = function (fact) {
863
- var result = this.get_dynamicKb_wvqg8j_k$().retractAllByHead(fact);
864
- this.updateContext_rloucg_k$(MutablePrologSolver$retractAll$lambda_0(result));
862
+ protoOf(MutablePrologSolver).e38 = function (fact) {
863
+ var result = this.t1u().retractAllByHead(fact);
864
+ this.f2c(MutablePrologSolver$retractAll$lambda_0(result));
865
865
  return result;
866
866
  };
867
867
  protoOf(MutablePrologSolver).retractAllBeHead = function (fact) {
868
- return this.retractAllBeHead_dm84sf_k$(fact);
868
+ return this.e38(fact);
869
869
  };
870
- protoOf(MutablePrologSolver).setFlag_38uvxd_k$ = function (name, value) {
871
- this.updateContext_rloucg_k$(MutablePrologSolver$setFlag$lambda(name, value));
870
+ protoOf(MutablePrologSolver).f38 = function (name, value) {
871
+ this.f2c(MutablePrologSolver$setFlag$lambda(name, value));
872
872
  };
873
873
  protoOf(MutablePrologSolver).setFlag = function (name, value) {
874
- return this.setFlag_38uvxd_k$(name, value);
874
+ return this.f38(name, value);
875
875
  };
876
- protoOf(MutablePrologSolver).setFlagPair_5b01qk_k$ = function (flag) {
877
- this.updateContext_rloucg_k$(MutablePrologSolver$setFlag$lambda_0(flag));
876
+ protoOf(MutablePrologSolver).g38 = function (flag) {
877
+ this.f2c(MutablePrologSolver$setFlag$lambda_0(flag));
878
878
  };
879
879
  protoOf(MutablePrologSolver).setFlagPair = function (flag) {
880
- return this.setFlagPair_5b01qk_k$(flag);
880
+ return this.g38(flag);
881
881
  };
882
- protoOf(MutablePrologSolver).setFlagNotable_13nuxs_k$ = function (flag) {
883
- this.updateContext_rloucg_k$(MutablePrologSolver$setFlag$lambda_1(flag));
882
+ protoOf(MutablePrologSolver).h38 = function (flag) {
883
+ this.f2c(MutablePrologSolver$setFlag$lambda_1(flag));
884
884
  };
885
885
  protoOf(MutablePrologSolver).setFlagNotable = function (flag) {
886
- return this.setFlagNotable_13nuxs_k$(flag);
886
+ return this.h38(flag);
887
887
  };
888
- protoOf(MutablePrologSolver).setStandardInput_4u5ra6_k$ = function (stdIn) {
889
- this.updateContext_rloucg_k$(MutablePrologSolver$setStandardInput$lambda(stdIn));
888
+ protoOf(MutablePrologSolver).i38 = function (stdIn) {
889
+ this.f2c(MutablePrologSolver$setStandardInput$lambda(stdIn));
890
890
  };
891
891
  protoOf(MutablePrologSolver).setStandardInput = function (stdIn) {
892
- return this.setStandardInput_4u5ra6_k$(stdIn);
892
+ return this.i38(stdIn);
893
893
  };
894
- protoOf(MutablePrologSolver).setStandardError_7qwifb_k$ = function (stdErr) {
895
- this.updateContext_rloucg_k$(MutablePrologSolver$setStandardError$lambda(stdErr));
894
+ protoOf(MutablePrologSolver).j38 = function (stdErr) {
895
+ this.f2c(MutablePrologSolver$setStandardError$lambda(stdErr));
896
896
  };
897
897
  protoOf(MutablePrologSolver).setStandardError = function (stdErr) {
898
- return this.setStandardError_7qwifb_k$(stdErr);
898
+ return this.j38(stdErr);
899
899
  };
900
- protoOf(MutablePrologSolver).setStandardOutput_apporm_k$ = function (stdOut) {
901
- this.updateContext_rloucg_k$(MutablePrologSolver$setStandardOutput$lambda(stdOut));
900
+ protoOf(MutablePrologSolver).k38 = function (stdOut) {
901
+ this.f2c(MutablePrologSolver$setStandardOutput$lambda(stdOut));
902
902
  };
903
903
  protoOf(MutablePrologSolver).setStandardOutput = function (stdOut) {
904
- return this.setStandardOutput_apporm_k$(stdOut);
904
+ return this.k38(stdOut);
905
905
  };
906
- protoOf(MutablePrologSolver).setWarnings_9w8les_k$ = function (warnings) {
907
- this.updateContext_rloucg_k$(MutablePrologSolver$setWarnings$lambda(warnings));
906
+ protoOf(MutablePrologSolver).l38 = function (warnings) {
907
+ this.f2c(MutablePrologSolver$setWarnings$lambda(warnings));
908
908
  };
909
909
  protoOf(MutablePrologSolver).setWarnings = function (warnings) {
910
- return this.setWarnings_9w8les_k$(warnings);
910
+ return this.l38(warnings);
911
911
  };
912
- protoOf(MutablePrologSolver).copy_equ050_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
912
+ protoOf(MutablePrologSolver).o1x = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
913
913
  return MutablePrologSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
914
914
  };
915
915
  protoOf(MutablePrologSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
916
916
  return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof MutablePrologSolver) ? $super : THROW_CCE());
917
917
  };
918
- protoOf(MutablePrologSolver).clone_1keycd_k$ = function () {
918
+ protoOf(MutablePrologSolver).h1s = function () {
919
919
  return this.copy();
920
920
  };
921
921
  protoOf(MutablePrologSolver).clone = function () {
922
- return this.clone_1keycd_k$();
922
+ return this.h1s();
923
923
  };
924
924
  function MutablePrologSolver() {
925
925
  }
926
926
  function _get_locallyInterestingVariables__39cqti($this) {
927
- var tmp = asSequence_0($this.relevantVariables_1);
928
- var tmp0_safe_receiver = $this.goals_1.get_current_jwi6j4_k$();
929
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_variables_75f0zy_k$();
927
+ var tmp = asSequence_0($this.o35_1);
928
+ var tmp0_safe_receiver = $this.f35_1.fp();
929
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wt();
930
930
  return plus(tmp, tmp1_elvis_lhs == null ? emptySequence() : tmp1_elvis_lhs);
931
931
  }
932
932
  function _get_interestingVariables__k6uw5o($this) {
933
- var tmp0 = $this.interestingVariables$delegate_1;
933
+ var tmp0 = $this.r35_1;
934
934
  var tmp = KProperty1;
935
935
  // Inline function 'kotlin.getValue' call
936
936
  /* dead property reference removed */
937
- return tmp0.get_value_j01efc_k$();
937
+ return tmp0.g2();
938
938
  }
939
939
  function PrologExecutionContext$pathToRoot$slambda(this$0, resultContinuation) {
940
- this.this$0__1 = this$0;
940
+ this.v38_1 = this$0;
941
941
  CoroutineImpl.call(this, resultContinuation);
942
942
  }
943
- protoOf(PrologExecutionContext$pathToRoot$slambda).invoke_97j7w6_k$ = function ($this$sequence, $completion) {
944
- var tmp = this.create_n1gxfe_k$($this$sequence, $completion);
945
- tmp.result_1 = Unit_instance;
946
- tmp.exception_1 = null;
947
- return tmp.doResume_5yljmg_k$();
943
+ protoOf(PrologExecutionContext$pathToRoot$slambda).y38 = function ($this$sequence, $completion) {
944
+ var tmp = this.z38($this$sequence, $completion);
945
+ tmp.e8_1 = Unit_instance;
946
+ tmp.f8_1 = null;
947
+ return tmp.k8();
948
948
  };
949
- protoOf(PrologExecutionContext$pathToRoot$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
950
- return this.invoke_97j7w6_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
949
+ protoOf(PrologExecutionContext$pathToRoot$slambda).b9 = function (p1, $completion) {
950
+ return this.y38(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
951
951
  };
952
- protoOf(PrologExecutionContext$pathToRoot$slambda).doResume_5yljmg_k$ = function () {
953
- var suspendResult = this.result_1;
952
+ protoOf(PrologExecutionContext$pathToRoot$slambda).k8 = function () {
953
+ var suspendResult = this.e8_1;
954
954
  $sm: do
955
955
  try {
956
- var tmp = this.state_1;
956
+ var tmp = this.c8_1;
957
957
  switch (tmp) {
958
958
  case 0:
959
- this.exceptionState_1 = 4;
960
- this.current0__1 = this.this$0__1;
961
- this.state_1 = 1;
959
+ this.d8_1 = 4;
960
+ this.x38_1 = this.v38_1;
961
+ this.c8_1 = 1;
962
962
  continue $sm;
963
963
  case 1:
964
- if (!!(this.current0__1 == null)) {
965
- this.state_1 = 3;
964
+ if (!!(this.x38_1 == null)) {
965
+ this.c8_1 = 3;
966
966
  continue $sm;
967
967
  }
968
968
 
969
- this.state_1 = 2;
970
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(this.current0__1, this);
969
+ this.c8_1 = 2;
970
+ suspendResult = this.w38_1.nc(this.x38_1, this);
971
971
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
972
972
  return suspendResult;
973
973
  }
974
974
 
975
975
  continue $sm;
976
976
  case 2:
977
- this.current0__1 = this.current0__1.parent_1;
978
- this.state_1 = 1;
977
+ this.x38_1 = this.x38_1.l35_1;
978
+ this.c8_1 = 1;
979
979
  continue $sm;
980
980
  case 3:
981
981
  return Unit_instance;
982
982
  case 4:
983
- throw this.exception_1;
983
+ throw this.f8_1;
984
984
  }
985
985
  } catch ($p) {
986
986
  var e = $p;
987
- if (this.exceptionState_1 === 4) {
987
+ if (this.d8_1 === 4) {
988
988
  throw e;
989
989
  } else {
990
- this.state_1 = this.exceptionState_1;
991
- this.exception_1 = e;
990
+ this.c8_1 = this.d8_1;
991
+ this.f8_1 = e;
992
992
  }
993
993
  }
994
994
  while (true);
995
995
  };
996
- protoOf(PrologExecutionContext$pathToRoot$slambda).create_n1gxfe_k$ = function ($this$sequence, completion) {
997
- var i = new PrologExecutionContext$pathToRoot$slambda(this.this$0__1, completion);
998
- i.$this$sequence_1 = $this$sequence;
996
+ protoOf(PrologExecutionContext$pathToRoot$slambda).z38 = function ($this$sequence, completion) {
997
+ var i = new PrologExecutionContext$pathToRoot$slambda(this.v38_1, completion);
998
+ i.w38_1 = $this$sequence;
999
999
  return i;
1000
1000
  };
1001
1001
  function PrologExecutionContext$pathToRoot$slambda_0(this$0, resultContinuation) {
1002
1002
  var i = new PrologExecutionContext$pathToRoot$slambda(this$0, resultContinuation);
1003
1003
  return constructCallableReference(function ($this$sequence, $completion) {
1004
- return i.invoke_97j7w6_k$($this$sequence, $completion);
1004
+ return i.y38($this$sequence, $completion);
1005
1005
  }, 1);
1006
1006
  }
1007
1007
  function PrologExecutionContext$currentGoal$delegate$lambda(this$0) {
1008
1008
  return function () {
1009
1009
  var tmp;
1010
- if (this$0.goals_1.get_isOver_ew3p5z_k$()) {
1010
+ if (this$0.f35_1.hp()) {
1011
1011
  tmp = null;
1012
1012
  } else {
1013
- var tmp0_safe_receiver = this$0.goals_1.get_current_jwi6j4_k$();
1014
- tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.substitution_1);
1013
+ var tmp0_safe_receiver = this$0.f35_1.fp();
1014
+ tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.applySubstitution(this$0.d35_1);
1015
1015
  }
1016
1016
  return tmp;
1017
1017
  };
1018
1018
  }
1019
1019
  function PrologExecutionContext$_get_currentGoal_$ref_g1xdum() {
1020
1020
  return constructCallableReference(function (p0) {
1021
- return p0.get_currentGoal_ntxmf7_k$();
1021
+ return p0.a39();
1022
1022
  }, 1, 0, 81);
1023
1023
  }
1024
1024
  function PrologExecutionContext$interestingVariables$delegate$lambda$lambda(it) {
@@ -1026,8 +1026,8 @@
1026
1026
  }
1027
1027
  function PrologExecutionContext$interestingVariables$delegate$lambda(this$0) {
1028
1028
  return function () {
1029
- var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.query_1.get_variables_75f0zy_k$());
1030
- return cached(distinct(plus(tmp, flatMap(this$0.pathToRoot_1, PrologExecutionContext$interestingVariables$delegate$lambda$lambda))));
1029
+ var tmp = plus(_get_locallyInterestingVariables__39cqti(this$0), this$0.e35_1.wt());
1030
+ return cached(distinct(plus(tmp, flatMap(this$0.p35_1, PrologExecutionContext$interestingVariables$delegate$lambda$lambda))));
1031
1031
  };
1032
1032
  }
1033
1033
  function PrologExecutionContext$_get_interestingVariables_$ref_ycsjv3() {
@@ -1036,28 +1036,28 @@
1036
1036
  }, 1, 0, 82);
1037
1037
  }
1038
1038
  function PrologExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
1039
- return it.get_isActivationRecord_gyar4q_k$();
1039
+ return it.b39();
1040
1040
  }
1041
1041
  function PrologExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0) {
1042
1042
  return function (it) {
1043
- var tmp0_elvis_lhs = it.procedure_1;
1044
- return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.query_1]) : tmp0_elvis_lhs;
1043
+ var tmp0_elvis_lhs = it.t34_1;
1044
+ return tmp0_elvis_lhs == null ? Companion_getInstance_1().of('?-', [this$0.e35_1]) : tmp0_elvis_lhs;
1045
1045
  };
1046
1046
  }
1047
1047
  function PrologExecutionContext$logicStackTrace$delegate$lambda(this$0) {
1048
1048
  return function () {
1049
- var tmp = filter(this$0.pathToRoot_1, PrologExecutionContext$logicStackTrace$delegate$lambda$lambda);
1049
+ var tmp = filter(this$0.p35_1, PrologExecutionContext$logicStackTrace$delegate$lambda$lambda);
1050
1050
  return toList(map(tmp, PrologExecutionContext$logicStackTrace$delegate$lambda$lambda_0(this$0)));
1051
1051
  };
1052
1052
  }
1053
1053
  function PrologExecutionContext$_get_logicStackTrace_$ref_jddlfz() {
1054
1054
  return constructCallableReference(function (p0) {
1055
- return p0.get_logicStackTrace_2ngtyq_k$();
1055
+ return p0.n1u();
1056
1056
  }, 1, 0, 83);
1057
1057
  }
1058
1058
  function PrologExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
1059
1059
  procedure = procedure === VOID ? null : procedure;
1060
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
1060
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
1061
1061
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1062
1062
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1063
1063
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1067,7 +1067,7 @@
1067
1067
  outputChannels = outputChannels === VOID ? Companion_instance_5.fromStandard() : outputChannels;
1068
1068
  customData = customData === VOID ? Companion_instance_6.empty() : customData;
1069
1069
  substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
1070
- query = query === VOID ? Companion_getInstance_3().TRUE_1 : query;
1070
+ query = query === VOID ? Companion_getInstance_3().lt_1 : query;
1071
1071
  goals = goals === VOID ? Companion_instance_7.empty() : goals;
1072
1072
  rules = rules === VOID ? Companion_instance_7.empty() : rules;
1073
1073
  primitives = primitives === VOID ? Companion_instance_7.empty() : primitives;
@@ -1077,215 +1077,215 @@
1077
1077
  depth = depth === VOID ? 0 : depth;
1078
1078
  step = step === VOID ? 0n : step;
1079
1079
  relevantVariables = relevantVariables === VOID ? emptySet() : relevantVariables;
1080
- this.procedure_1 = procedure;
1081
- this.unificator_1 = unificator;
1082
- this.libraries_1 = libraries;
1083
- this.flags_1 = flags;
1084
- this.staticKb_1 = staticKb;
1085
- this.dynamicKb_1 = dynamicKb;
1086
- this.operators_1 = operators;
1087
- this.inputChannels_1 = inputChannels;
1088
- this.outputChannels_1 = outputChannels;
1089
- this.customData_1 = customData;
1090
- this.substitution_1 = substitution;
1091
- this.query_1 = query;
1092
- this.goals_1 = goals;
1093
- this.rules_1 = rules;
1094
- this.primitives_1 = primitives;
1095
- this.startTime_1 = startTime;
1096
- this.maxDuration_1 = maxDuration;
1097
- this.choicePoints_1 = choicePoints;
1098
- this.parent_1 = parent;
1099
- this.depth_1 = depth;
1100
- this.step_1 = step;
1101
- this.relevantVariables_1 = relevantVariables;
1080
+ this.t34_1 = procedure;
1081
+ this.u34_1 = unificator;
1082
+ this.v34_1 = libraries;
1083
+ this.w34_1 = flags;
1084
+ this.x34_1 = staticKb;
1085
+ this.y34_1 = dynamicKb;
1086
+ this.z34_1 = operators;
1087
+ this.a35_1 = inputChannels;
1088
+ this.b35_1 = outputChannels;
1089
+ this.c35_1 = customData;
1090
+ this.d35_1 = substitution;
1091
+ this.e35_1 = query;
1092
+ this.f35_1 = goals;
1093
+ this.g35_1 = rules;
1094
+ this.h35_1 = primitives;
1095
+ this.i35_1 = startTime;
1096
+ this.j35_1 = maxDuration;
1097
+ this.k35_1 = choicePoints;
1098
+ this.l35_1 = parent;
1099
+ this.m35_1 = depth;
1100
+ this.n35_1 = step;
1101
+ this.o35_1 = relevantVariables;
1102
1102
  // Inline function 'kotlin.require' call
1103
1103
  // Inline function 'kotlin.require' call
1104
- if (!(this.depth_1 === 0 && this.parent_1 == null || (this.depth_1 > 0 && !(this.parent_1 == null)))) {
1104
+ if (!(this.m35_1 === 0 && this.l35_1 == null || (this.m35_1 > 0 && !(this.l35_1 == null)))) {
1105
1105
  var message = 'Failed requirement.';
1106
1106
  throw IllegalArgumentException_init_$Create$(toString(message));
1107
1107
  }
1108
1108
  // Inline function 'kotlin.require' call
1109
1109
  // Inline function 'kotlin.require' call
1110
- if (!(this.startTime_1 >= 0n)) {
1110
+ if (!(this.i35_1 >= 0n)) {
1111
1111
  var message_0 = 'Failed requirement.';
1112
1112
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1113
1113
  }
1114
1114
  // Inline function 'kotlin.require' call
1115
1115
  // Inline function 'kotlin.require' call
1116
- if (!(this.maxDuration_1 >= 0n)) {
1116
+ if (!(this.j35_1 >= 0n)) {
1117
1117
  var message_1 = 'Failed requirement.';
1118
1118
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1119
1119
  }
1120
1120
  var tmp = this;
1121
- tmp.pathToRoot_1 = sequence(PrologExecutionContext$pathToRoot$slambda_0(this, null));
1121
+ tmp.p35_1 = sequence(PrologExecutionContext$pathToRoot$slambda_0(this, null));
1122
1122
  var tmp_0 = this;
1123
- tmp_0.currentGoal$delegate_1 = lazy(PrologExecutionContext$currentGoal$delegate$lambda(this));
1123
+ tmp_0.q35_1 = lazy(PrologExecutionContext$currentGoal$delegate$lambda(this));
1124
1124
  var tmp_1 = this;
1125
- tmp_1.interestingVariables$delegate_1 = lazy(PrologExecutionContext$interestingVariables$delegate$lambda(this));
1125
+ tmp_1.r35_1 = lazy(PrologExecutionContext$interestingVariables$delegate$lambda(this));
1126
1126
  var tmp_2 = this;
1127
- tmp_2.logicStackTrace$delegate_1 = lazy(PrologExecutionContext$logicStackTrace$delegate$lambda(this));
1127
+ tmp_2.s35_1 = lazy(PrologExecutionContext$logicStackTrace$delegate$lambda(this));
1128
1128
  }
1129
- protoOf(PrologExecutionContext).get_procedure_9lj7py_k$ = function () {
1130
- return this.procedure_1;
1129
+ protoOf(PrologExecutionContext).l1u = function () {
1130
+ return this.t34_1;
1131
1131
  };
1132
- protoOf(PrologExecutionContext).get_unificator_xw6v3j_k$ = function () {
1133
- return this.unificator_1;
1132
+ protoOf(PrologExecutionContext).s1k = function () {
1133
+ return this.u34_1;
1134
1134
  };
1135
- protoOf(PrologExecutionContext).get_libraries_lyf10w_k$ = function () {
1136
- return this.libraries_1;
1135
+ protoOf(PrologExecutionContext).q1u = function () {
1136
+ return this.v34_1;
1137
1137
  };
1138
- protoOf(PrologExecutionContext).get_flags_irfhb2_k$ = function () {
1139
- return this.flags_1;
1138
+ protoOf(PrologExecutionContext).r1u = function () {
1139
+ return this.w34_1;
1140
1140
  };
1141
- protoOf(PrologExecutionContext).get_staticKb_a01l1u_k$ = function () {
1142
- return this.staticKb_1;
1141
+ protoOf(PrologExecutionContext).s1u = function () {
1142
+ return this.x34_1;
1143
1143
  };
1144
- protoOf(PrologExecutionContext).get_dynamicKb_wvqg8j_k$ = function () {
1145
- return this.dynamicKb_1;
1144
+ protoOf(PrologExecutionContext).t1u = function () {
1145
+ return this.y34_1;
1146
1146
  };
1147
- protoOf(PrologExecutionContext).get_operators_z0nmfu_k$ = function () {
1148
- return this.operators_1;
1147
+ protoOf(PrologExecutionContext).z1u = function () {
1148
+ return this.z34_1;
1149
1149
  };
1150
- protoOf(PrologExecutionContext).get_inputChannels_uyf05t_k$ = function () {
1151
- return this.inputChannels_1;
1150
+ protoOf(PrologExecutionContext).u1u = function () {
1151
+ return this.a35_1;
1152
1152
  };
1153
- protoOf(PrologExecutionContext).get_outputChannels_ffvoca_k$ = function () {
1154
- return this.outputChannels_1;
1153
+ protoOf(PrologExecutionContext).v1u = function () {
1154
+ return this.b35_1;
1155
1155
  };
1156
- protoOf(PrologExecutionContext).get_customData_oovbd0_k$ = function () {
1157
- return this.customData_1;
1156
+ protoOf(PrologExecutionContext).o1u = function () {
1157
+ return this.c35_1;
1158
1158
  };
1159
- protoOf(PrologExecutionContext).get_substitution_i7fi9y_k$ = function () {
1160
- return this.substitution_1;
1159
+ protoOf(PrologExecutionContext).m1u = function () {
1160
+ return this.d35_1;
1161
1161
  };
1162
- protoOf(PrologExecutionContext).get_startTime_qp7d5m_k$ = function () {
1163
- return this.startTime_1;
1162
+ protoOf(PrologExecutionContext).g1u = function () {
1163
+ return this.i35_1;
1164
1164
  };
1165
- protoOf(PrologExecutionContext).get_maxDuration_ek6oxb_k$ = function () {
1166
- return this.maxDuration_1;
1165
+ protoOf(PrologExecutionContext).i1u = function () {
1166
+ return this.j35_1;
1167
1167
  };
1168
- protoOf(PrologExecutionContext).get_isRoot_ew5h6d_k$ = function () {
1169
- return this.depth_1 === 0;
1168
+ protoOf(PrologExecutionContext).c39 = function () {
1169
+ return this.m35_1 === 0;
1170
1170
  };
1171
- protoOf(PrologExecutionContext).get_hasOpenAlternatives_bd9sv_k$ = function () {
1172
- var tmp0_safe_receiver = this.choicePoints_1;
1173
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_hasOpenAlternatives_bd9sv_k$();
1171
+ protoOf(PrologExecutionContext).r36 = function () {
1172
+ var tmp0_safe_receiver = this.k35_1;
1173
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r36();
1174
1174
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
1175
1175
  };
1176
- protoOf(PrologExecutionContext).get_isActivationRecord_gyar4q_k$ = function () {
1177
- return this.parent_1 == null || (this.depth_1 - this.parent_1.depth_1 | 0) >= 1;
1176
+ protoOf(PrologExecutionContext).b39 = function () {
1177
+ return this.l35_1 == null || (this.m35_1 - this.l35_1.m35_1 | 0) >= 1;
1178
1178
  };
1179
- protoOf(PrologExecutionContext).get_currentGoal_ntxmf7_k$ = function () {
1180
- var tmp0 = this.currentGoal$delegate_1;
1179
+ protoOf(PrologExecutionContext).a39 = function () {
1180
+ var tmp0 = this.q35_1;
1181
1181
  var tmp = KProperty1;
1182
1182
  // Inline function 'kotlin.getValue' call
1183
1183
  /* dead property reference removed */
1184
- return tmp0.get_value_j01efc_k$();
1184
+ return tmp0.g2();
1185
1185
  };
1186
- protoOf(PrologExecutionContext).isVariableInteresting_vs25g_k$ = function (variable) {
1186
+ protoOf(PrologExecutionContext).d39 = function (variable) {
1187
1187
  return contains(_get_interestingVariables__k6uw5o(this), variable);
1188
1188
  };
1189
- protoOf(PrologExecutionContext).get_logicStackTrace_2ngtyq_k$ = function () {
1190
- var tmp0 = this.logicStackTrace$delegate_1;
1189
+ protoOf(PrologExecutionContext).n1u = function () {
1190
+ var tmp0 = this.s35_1;
1191
1191
  var tmp = KProperty1;
1192
1192
  // Inline function 'kotlin.getValue' call
1193
1193
  /* dead property reference removed */
1194
- return tmp0.get_value_j01efc_k$();
1194
+ return tmp0.g2();
1195
1195
  };
1196
- protoOf(PrologExecutionContext).createSolver_k5yu55_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
1196
+ protoOf(PrologExecutionContext).p1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
1197
1197
  return PrologSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
1198
1198
  };
1199
1199
  protoOf(PrologExecutionContext).createSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
1200
1200
  return this.createSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof PrologExecutionContext) ? $super : THROW_CCE());
1201
1201
  };
1202
- protoOf(PrologExecutionContext).createMutableSolver_qlofgr_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
1202
+ protoOf(PrologExecutionContext).w1u = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
1203
1203
  return MutablePrologSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, true);
1204
1204
  };
1205
1205
  protoOf(PrologExecutionContext).createMutableSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
1206
1206
  return this.createMutableSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof PrologExecutionContext) ? $super : THROW_CCE());
1207
1207
  };
1208
- protoOf(PrologExecutionContext).update_7gpjus_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
1209
- return this.copy$default_dhd9rp_k$(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
1208
+ protoOf(PrologExecutionContext).y1u = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
1209
+ return this.k36(VOID, unificator, libraries, flags, staticKb, dynamicKb.toMutableTheory(), operators, inputChannels, outputChannels, customData);
1210
1210
  };
1211
1211
  protoOf(PrologExecutionContext).update = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, $super) {
1212
1212
  return this.update(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, ($super == null ? true : $super instanceof PrologExecutionContext) ? $super : THROW_CCE());
1213
1213
  };
1214
- protoOf(PrologExecutionContext).apply_xpzu4e_k$ = function (sideEffect) {
1214
+ protoOf(PrologExecutionContext).e39 = function (sideEffect) {
1215
1215
  var tmp = apply.call(this, sideEffect);
1216
1216
  return tmp instanceof PrologExecutionContext ? tmp : THROW_CCE();
1217
1217
  };
1218
1218
  protoOf(PrologExecutionContext).apply = function (sideEffect) {
1219
- return this.apply_xpzu4e_k$(sideEffect);
1219
+ return this.e39(sideEffect);
1220
1220
  };
1221
- protoOf(PrologExecutionContext).applyIterable_lkplre_k$ = function (sideEffects) {
1221
+ protoOf(PrologExecutionContext).f39 = function (sideEffects) {
1222
1222
  var tmp = applyIterable.call(this, sideEffects);
1223
1223
  return tmp instanceof PrologExecutionContext ? tmp : THROW_CCE();
1224
1224
  };
1225
1225
  protoOf(PrologExecutionContext).applyIterable = function (sideEffects) {
1226
- return this.applyIterable_lkplre_k$(sideEffects);
1226
+ return this.f39(sideEffects);
1227
1227
  };
1228
- protoOf(PrologExecutionContext).applySequence_5ojcmh_k$ = function (sideEffects) {
1228
+ protoOf(PrologExecutionContext).g39 = function (sideEffects) {
1229
1229
  var tmp = applySequence.call(this, sideEffects);
1230
1230
  return tmp instanceof PrologExecutionContext ? tmp : THROW_CCE();
1231
1231
  };
1232
1232
  protoOf(PrologExecutionContext).applySequence = function (sideEffects) {
1233
- return this.applySequence_5ojcmh_k$(sideEffects);
1233
+ return this.g39(sideEffects);
1234
1234
  };
1235
1235
  protoOf(PrologExecutionContext).toString = function () {
1236
- return 'PrologExecutionContext(' + ('step=' + this.step_1.toString() + ', ') + ('depth=' + this.depth_1 + ', ') + ('substitution=' + toString(this.substitution_1) + ', ') + ('logicStackTrace=' + toString(this.get_logicStackTrace_2ngtyq_k$()) + ', ') + ('goals=' + toString(this.goals_1) + ', ') + ('rules=' + toString(this.rules_1) + ', ') + ('primitives=' + toString(this.primitives_1) + ', ') + ('startTime=' + this.startTime_1.toString() + ', ') + ('endTime=' + this.get_endTime_pbcuqp_k$().toString() + ', ') + ('maxDuration=' + this.maxDuration_1.toString() + ', ') + ('unificator=' + toString(this.unificator_1) + ', ') + ('choicePoints=' + toString_0(this.choicePoints_1)) + ')';
1236
+ return 'PrologExecutionContext(' + ('step=' + this.n35_1.toString() + ', ') + ('depth=' + this.m35_1 + ', ') + ('substitution=' + toString(this.d35_1) + ', ') + ('logicStackTrace=' + toString(this.n1u()) + ', ') + ('goals=' + toString(this.f35_1) + ', ') + ('rules=' + toString(this.g35_1) + ', ') + ('primitives=' + toString(this.h35_1) + ', ') + ('startTime=' + this.i35_1.toString() + ', ') + ('endTime=' + this.h1u().toString() + ', ') + ('maxDuration=' + this.j35_1.toString() + ', ') + ('unificator=' + toString(this.u34_1) + ', ') + ('choicePoints=' + toString_0(this.k35_1)) + ')';
1237
1237
  };
1238
- protoOf(PrologExecutionContext).copy_pacch5_k$ = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
1238
+ protoOf(PrologExecutionContext).h39 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) {
1239
1239
  return new PrologExecutionContext(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
1240
1240
  };
1241
- protoOf(PrologExecutionContext).copy$default_dhd9rp_k$ = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
1242
- procedure = procedure === VOID ? this.procedure_1 : procedure;
1243
- unificator = unificator === VOID ? this.unificator_1 : unificator;
1244
- libraries = libraries === VOID ? this.libraries_1 : libraries;
1245
- flags = flags === VOID ? this.flags_1 : flags;
1246
- staticKb = staticKb === VOID ? this.staticKb_1 : staticKb;
1247
- dynamicKb = dynamicKb === VOID ? this.dynamicKb_1 : dynamicKb;
1248
- operators = operators === VOID ? this.operators_1 : operators;
1249
- inputChannels = inputChannels === VOID ? this.inputChannels_1 : inputChannels;
1250
- outputChannels = outputChannels === VOID ? this.outputChannels_1 : outputChannels;
1251
- customData = customData === VOID ? this.customData_1 : customData;
1252
- substitution = substitution === VOID ? this.substitution_1 : substitution;
1253
- query = query === VOID ? this.query_1 : query;
1254
- goals = goals === VOID ? this.goals_1 : goals;
1255
- rules = rules === VOID ? this.rules_1 : rules;
1256
- primitives = primitives === VOID ? this.primitives_1 : primitives;
1257
- startTime = startTime === VOID ? this.startTime_1 : startTime;
1258
- maxDuration = maxDuration === VOID ? this.maxDuration_1 : maxDuration;
1259
- choicePoints = choicePoints === VOID ? this.choicePoints_1 : choicePoints;
1260
- parent = parent === VOID ? this.parent_1 : parent;
1261
- depth = depth === VOID ? this.depth_1 : depth;
1262
- step = step === VOID ? this.step_1 : step;
1263
- relevantVariables = relevantVariables === VOID ? this.relevantVariables_1 : relevantVariables;
1264
- return $super === VOID ? this.copy_pacch5_k$(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.copy_pacch5_k$.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
1241
+ protoOf(PrologExecutionContext).k36 = function (procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables, $super) {
1242
+ procedure = procedure === VOID ? this.t34_1 : procedure;
1243
+ unificator = unificator === VOID ? this.u34_1 : unificator;
1244
+ libraries = libraries === VOID ? this.v34_1 : libraries;
1245
+ flags = flags === VOID ? this.w34_1 : flags;
1246
+ staticKb = staticKb === VOID ? this.x34_1 : staticKb;
1247
+ dynamicKb = dynamicKb === VOID ? this.y34_1 : dynamicKb;
1248
+ operators = operators === VOID ? this.z34_1 : operators;
1249
+ inputChannels = inputChannels === VOID ? this.a35_1 : inputChannels;
1250
+ outputChannels = outputChannels === VOID ? this.b35_1 : outputChannels;
1251
+ customData = customData === VOID ? this.c35_1 : customData;
1252
+ substitution = substitution === VOID ? this.d35_1 : substitution;
1253
+ query = query === VOID ? this.e35_1 : query;
1254
+ goals = goals === VOID ? this.f35_1 : goals;
1255
+ rules = rules === VOID ? this.g35_1 : rules;
1256
+ primitives = primitives === VOID ? this.h35_1 : primitives;
1257
+ startTime = startTime === VOID ? this.i35_1 : startTime;
1258
+ maxDuration = maxDuration === VOID ? this.j35_1 : maxDuration;
1259
+ choicePoints = choicePoints === VOID ? this.k35_1 : choicePoints;
1260
+ parent = parent === VOID ? this.l35_1 : parent;
1261
+ depth = depth === VOID ? this.m35_1 : depth;
1262
+ step = step === VOID ? this.n35_1 : step;
1263
+ relevantVariables = relevantVariables === VOID ? this.o35_1 : relevantVariables;
1264
+ return $super === VOID ? this.h39(procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables) : $super.h39.call(this, procedure, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, query, goals, rules, primitives, startTime, maxDuration, choicePoints, parent, depth, step, relevantVariables);
1265
1265
  };
1266
1266
  protoOf(PrologExecutionContext).hashCode = function () {
1267
- var result = this.procedure_1 == null ? 0 : this.procedure_1.hashCode();
1268
- result = imul(result, 31) + hashCode(this.unificator_1) | 0;
1269
- result = imul(result, 31) + hashCode(this.libraries_1) | 0;
1270
- result = imul(result, 31) + this.flags_1.hashCode() | 0;
1271
- result = imul(result, 31) + hashCode(this.staticKb_1) | 0;
1272
- result = imul(result, 31) + hashCode(this.dynamicKb_1) | 0;
1273
- result = imul(result, 31) + this.operators_1.hashCode() | 0;
1274
- result = imul(result, 31) + hashCode(this.inputChannels_1) | 0;
1275
- result = imul(result, 31) + hashCode(this.outputChannels_1) | 0;
1276
- result = imul(result, 31) + this.customData_1.hashCode() | 0;
1277
- result = imul(result, 31) + hashCode(this.substitution_1) | 0;
1278
- result = imul(result, 31) + this.query_1.hashCode() | 0;
1279
- result = imul(result, 31) + hashCode(this.goals_1) | 0;
1280
- result = imul(result, 31) + hashCode(this.rules_1) | 0;
1281
- result = imul(result, 31) + hashCode(this.primitives_1) | 0;
1282
- result = imul(result, 31) + getBigIntHashCode(this.startTime_1) | 0;
1283
- result = imul(result, 31) + getBigIntHashCode(this.maxDuration_1) | 0;
1284
- result = imul(result, 31) + (this.choicePoints_1 == null ? 0 : hashCode(this.choicePoints_1)) | 0;
1285
- result = imul(result, 31) + (this.parent_1 == null ? 0 : this.parent_1.hashCode()) | 0;
1286
- result = imul(result, 31) + this.depth_1 | 0;
1287
- result = imul(result, 31) + getBigIntHashCode(this.step_1) | 0;
1288
- result = imul(result, 31) + hashCode(this.relevantVariables_1) | 0;
1267
+ var result = this.t34_1 == null ? 0 : this.t34_1.hashCode();
1268
+ result = imul(result, 31) + hashCode(this.u34_1) | 0;
1269
+ result = imul(result, 31) + hashCode(this.v34_1) | 0;
1270
+ result = imul(result, 31) + this.w34_1.hashCode() | 0;
1271
+ result = imul(result, 31) + hashCode(this.x34_1) | 0;
1272
+ result = imul(result, 31) + hashCode(this.y34_1) | 0;
1273
+ result = imul(result, 31) + this.z34_1.hashCode() | 0;
1274
+ result = imul(result, 31) + hashCode(this.a35_1) | 0;
1275
+ result = imul(result, 31) + hashCode(this.b35_1) | 0;
1276
+ result = imul(result, 31) + this.c35_1.hashCode() | 0;
1277
+ result = imul(result, 31) + hashCode(this.d35_1) | 0;
1278
+ result = imul(result, 31) + this.e35_1.hashCode() | 0;
1279
+ result = imul(result, 31) + hashCode(this.f35_1) | 0;
1280
+ result = imul(result, 31) + hashCode(this.g35_1) | 0;
1281
+ result = imul(result, 31) + hashCode(this.h35_1) | 0;
1282
+ result = imul(result, 31) + getBigIntHashCode(this.i35_1) | 0;
1283
+ result = imul(result, 31) + getBigIntHashCode(this.j35_1) | 0;
1284
+ result = imul(result, 31) + (this.k35_1 == null ? 0 : hashCode(this.k35_1)) | 0;
1285
+ result = imul(result, 31) + (this.l35_1 == null ? 0 : this.l35_1.hashCode()) | 0;
1286
+ result = imul(result, 31) + this.m35_1 | 0;
1287
+ result = imul(result, 31) + getBigIntHashCode(this.n35_1) | 0;
1288
+ result = imul(result, 31) + hashCode(this.o35_1) | 0;
1289
1289
  return result;
1290
1290
  };
1291
1291
  protoOf(PrologExecutionContext).equals = function (other) {
@@ -1293,54 +1293,54 @@
1293
1293
  return true;
1294
1294
  if (!(other instanceof PrologExecutionContext))
1295
1295
  return false;
1296
- if (!equals(this.procedure_1, other.procedure_1))
1296
+ if (!equals(this.t34_1, other.t34_1))
1297
1297
  return false;
1298
- if (!equals(this.unificator_1, other.unificator_1))
1298
+ if (!equals(this.u34_1, other.u34_1))
1299
1299
  return false;
1300
- if (!equals(this.libraries_1, other.libraries_1))
1300
+ if (!equals(this.v34_1, other.v34_1))
1301
1301
  return false;
1302
- if (!this.flags_1.equals(other.flags_1))
1302
+ if (!this.w34_1.equals(other.w34_1))
1303
1303
  return false;
1304
- if (!equals(this.staticKb_1, other.staticKb_1))
1304
+ if (!equals(this.x34_1, other.x34_1))
1305
1305
  return false;
1306
- if (!equals(this.dynamicKb_1, other.dynamicKb_1))
1306
+ if (!equals(this.y34_1, other.y34_1))
1307
1307
  return false;
1308
- if (!this.operators_1.equals(other.operators_1))
1308
+ if (!this.z34_1.equals(other.z34_1))
1309
1309
  return false;
1310
- if (!equals(this.inputChannels_1, other.inputChannels_1))
1310
+ if (!equals(this.a35_1, other.a35_1))
1311
1311
  return false;
1312
- if (!equals(this.outputChannels_1, other.outputChannels_1))
1312
+ if (!equals(this.b35_1, other.b35_1))
1313
1313
  return false;
1314
- if (!this.customData_1.equals(other.customData_1))
1314
+ if (!this.c35_1.equals(other.c35_1))
1315
1315
  return false;
1316
- if (!equals(this.substitution_1, other.substitution_1))
1316
+ if (!equals(this.d35_1, other.d35_1))
1317
1317
  return false;
1318
- if (!this.query_1.equals(other.query_1))
1318
+ if (!this.e35_1.equals(other.e35_1))
1319
1319
  return false;
1320
- if (!equals(this.goals_1, other.goals_1))
1320
+ if (!equals(this.f35_1, other.f35_1))
1321
1321
  return false;
1322
- if (!equals(this.rules_1, other.rules_1))
1322
+ if (!equals(this.g35_1, other.g35_1))
1323
1323
  return false;
1324
- if (!equals(this.primitives_1, other.primitives_1))
1324
+ if (!equals(this.h35_1, other.h35_1))
1325
1325
  return false;
1326
- if (!(this.startTime_1 === other.startTime_1))
1326
+ if (!(this.i35_1 === other.i35_1))
1327
1327
  return false;
1328
- if (!(this.maxDuration_1 === other.maxDuration_1))
1328
+ if (!(this.j35_1 === other.j35_1))
1329
1329
  return false;
1330
- if (!equals(this.choicePoints_1, other.choicePoints_1))
1330
+ if (!equals(this.k35_1, other.k35_1))
1331
1331
  return false;
1332
- if (!equals(this.parent_1, other.parent_1))
1332
+ if (!equals(this.l35_1, other.l35_1))
1333
1333
  return false;
1334
- if (!(this.depth_1 === other.depth_1))
1334
+ if (!(this.m35_1 === other.m35_1))
1335
1335
  return false;
1336
- if (!(this.step_1 === other.step_1))
1336
+ if (!(this.n35_1 === other.n35_1))
1337
1337
  return false;
1338
- if (!equals(this.relevantVariables_1, other.relevantVariables_1))
1338
+ if (!equals(this.o35_1, other.o35_1))
1339
1339
  return false;
1340
1340
  return true;
1341
1341
  };
1342
1342
  function PrologSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, $this) {
1343
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
1343
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
1344
1344
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1345
1345
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1346
1346
  initialStaticKb = initialStaticKb === VOID ? Companion_instance_0.empty(unificator) : initialStaticKb;
@@ -1356,7 +1356,7 @@
1356
1356
  return PrologSolver_init_$Init$(unificator, libraries, flags, initialStaticKb, initialDynamicKb, inputChannels, outputChannels, trustKb, objectCreate(protoOf(PrologSolver)));
1357
1357
  }
1358
1358
  function PrologSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, $this) {
1359
- unificator = unificator === VOID ? Companion_getInstance().get_default_qtagd4_k$() : unificator;
1359
+ unificator = unificator === VOID ? Companion_getInstance().l1k() : unificator;
1360
1360
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
1361
1361
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
1362
1362
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -1373,47 +1373,47 @@
1373
1373
  function PrologSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb) {
1374
1374
  return PrologSolver_init_$Init$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, trustKb, objectCreate(protoOf(PrologSolver)));
1375
1375
  }
1376
- protoOf(PrologSolver).solutionIterator_3eur09_k$ = function (initialState, onStateTransition) {
1377
- return Companion_instance_15.of_ufxriv_k$(initialState, onStateTransition);
1376
+ protoOf(PrologSolver).v35 = function (initialState, onStateTransition) {
1377
+ return Companion_instance_15.i39(initialState, onStateTransition);
1378
1378
  };
1379
- protoOf(PrologSolver).copy_equ050_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1379
+ protoOf(PrologSolver).o1x = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1380
1380
  return PrologSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1381
1381
  };
1382
1382
  protoOf(PrologSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1383
1383
  return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof PrologSolver) ? $super : THROW_CCE());
1384
1384
  };
1385
- protoOf(PrologSolver).clone_1keycd_k$ = function () {
1385
+ protoOf(PrologSolver).h1s = function () {
1386
1386
  return this.copy();
1387
1387
  };
1388
1388
  protoOf(PrologSolver).clone = function () {
1389
- return this.clone_1keycd_k$();
1389
+ return this.h1s();
1390
1390
  };
1391
1391
  function PrologSolver() {
1392
1392
  }
1393
1393
  function PrologSolverFactory() {
1394
1394
  }
1395
- protoOf(PrologSolverFactory).get_defaultBuiltins_lwij14_k$ = function () {
1395
+ protoOf(PrologSolverFactory).q1x = function () {
1396
1396
  return DefaultBuiltins_getInstance();
1397
1397
  };
1398
- protoOf(PrologSolverFactory).solverOf_7gm3c2_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1398
+ protoOf(PrologSolverFactory).b1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1399
1399
  return PrologSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1400
1400
  };
1401
1401
  protoOf(PrologSolverFactory).rawSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
1402
1402
  return this.rawSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof PrologSolverFactory) ? $super : THROW_CCE());
1403
1403
  };
1404
- protoOf(PrologSolverFactory).solverOf_dn642x_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1404
+ protoOf(PrologSolverFactory).h1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1405
1405
  return PrologSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1406
1406
  };
1407
1407
  protoOf(PrologSolverFactory).solverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1408
1408
  return this.solverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof PrologSolverFactory) ? $super : THROW_CCE());
1409
1409
  };
1410
- protoOf(PrologSolverFactory).mutableSolverOf_wmp0rz_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1410
+ protoOf(PrologSolverFactory).j1y = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
1411
1411
  return MutablePrologSolver_init_$Create$_0(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
1412
1412
  };
1413
1413
  protoOf(PrologSolverFactory).mutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
1414
1414
  return this.mutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof PrologSolverFactory) ? $super : THROW_CCE());
1415
1415
  };
1416
- protoOf(PrologSolverFactory).mutableSolverOf_16557c_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1416
+ protoOf(PrologSolverFactory).l1y = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
1417
1417
  return MutablePrologSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
1418
1418
  };
1419
1419
  protoOf(PrologSolverFactory).rawMutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
@@ -1428,7 +1428,7 @@
1428
1428
  }
1429
1429
  function Companion() {
1430
1430
  }
1431
- protoOf(Companion).of_ufxriv_k$ = function (initialState, onStateTransition) {
1431
+ protoOf(Companion).i39 = function (initialState, onStateTransition) {
1432
1432
  return new SimpleSolutionIterator(initialState, onStateTransition);
1433
1433
  };
1434
1434
  protoOf(Companion).of = function (initialState, onStateTransition, $super) {
@@ -1439,7 +1439,7 @@
1439
1439
  tmp = onStateTransition;
1440
1440
  }
1441
1441
  onStateTransition = tmp;
1442
- return $super === VOID ? this.of_ufxriv_k$(initialState, onStateTransition) : $super.of_ufxriv_k$.call(this, initialState, onStateTransition);
1442
+ return $super === VOID ? this.i39(initialState, onStateTransition) : $super.i39.call(this, initialState, onStateTransition);
1443
1443
  };
1444
1444
  var Companion_instance_15;
1445
1445
  function Companion_getInstance_5() {
@@ -1447,81 +1447,81 @@
1447
1447
  }
1448
1448
  function AbstractEndState(solution, context) {
1449
1449
  AbstractState.call(this, context);
1450
- this.solution_1 = solution;
1451
- this.context_2 = context;
1450
+ this.l39_1 = solution;
1451
+ this.m39_1 = context;
1452
1452
  }
1453
- protoOf(AbstractEndState).get_solution_74o532_k$ = function () {
1454
- return this.solution_1;
1453
+ protoOf(AbstractEndState).j2j = function () {
1454
+ return this.l39_1;
1455
1455
  };
1456
- protoOf(AbstractEndState).get_context_h02k06_k$ = function () {
1457
- return this.context_2;
1456
+ protoOf(AbstractEndState).i8 = function () {
1457
+ return this.m39_1;
1458
1458
  };
1459
- protoOf(AbstractEndState).computeNext_3jypca_k$ = function () {
1459
+ protoOf(AbstractEndState).n39 = function () {
1460
1460
  throw NoSuchElementException_init_$Create$();
1461
1461
  };
1462
1462
  protoOf(AbstractEndState).asEndState = function () {
1463
- return this.asEndState_tsnzug_k$();
1463
+ return this.v39();
1464
1464
  };
1465
1465
  function AbstractState$executionTime$delegate$lambda(this$0) {
1466
1466
  return function () {
1467
- return this$0.currentTime_9xyk86_k$();
1467
+ return this$0.s39();
1468
1468
  };
1469
1469
  }
1470
1470
  function AbstractState$_get_executionTime_$ref_gwd5wm() {
1471
1471
  return constructCallableReference(function (p0) {
1472
- return p0.get_executionTime_e182qk_k$();
1472
+ return p0.q39();
1473
1473
  }, 1, 0, 84);
1474
1474
  }
1475
1475
  function AbstractState(context) {
1476
- this.context_1 = context;
1476
+ this.o39_1 = context;
1477
1477
  var tmp = this;
1478
- tmp.executionTime$delegate_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1478
+ tmp.p39_1 = lazy(AbstractState$executionTime$delegate$lambda(this));
1479
1479
  }
1480
- protoOf(AbstractState).get_context_h02k06_k$ = function () {
1481
- return this.context_1;
1480
+ protoOf(AbstractState).i8 = function () {
1481
+ return this.o39_1;
1482
1482
  };
1483
- protoOf(AbstractState).get_executionTime_e182qk_k$ = function () {
1484
- var tmp0 = this.executionTime$delegate_1;
1483
+ protoOf(AbstractState).q39 = function () {
1484
+ var tmp0 = this.p39_1;
1485
1485
  var tmp = KProperty1;
1486
1486
  // Inline function 'kotlin.getValue' call
1487
1487
  /* dead property reference removed */
1488
- return tmp0.get_value_j01efc_k$();
1488
+ return tmp0.g2();
1489
1489
  };
1490
- protoOf(AbstractState).get_isTimeout_msxjgy_k$ = function () {
1491
- return subtract(this.get_executionTime_e182qk_k$(), this.get_context_h02k06_k$().startTime_1) > this.get_context_h02k06_k$().maxDuration_1;
1490
+ protoOf(AbstractState).r39 = function () {
1491
+ return subtract(this.q39(), this.i8().i35_1) > this.i8().j35_1;
1492
1492
  };
1493
- protoOf(AbstractState).next_20eer_k$ = function () {
1493
+ protoOf(AbstractState).r = function () {
1494
1494
  var tmp;
1495
- if (this.get_isTimeout_msxjgy_k$()) {
1496
- var tmp0_exceededDuration = this.get_context_h02k06_k$().maxDuration_1;
1497
- var tmp1_context = this.get_context_h02k06_k$();
1498
- tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.get_context_h02k06_k$().copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$()));
1495
+ if (this.r39()) {
1496
+ var tmp0_exceededDuration = this.i8().j35_1;
1497
+ var tmp1_context = this.i8();
1498
+ tmp = new StateHalt(TimeOutException_init_$Create$(VOID, VOID, tmp1_context, tmp0_exceededDuration), this.i8().k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39()));
1499
1499
  } else {
1500
- tmp = this.computeNext_3jypca_k$();
1500
+ tmp = this.n39();
1501
1501
  }
1502
1502
  return tmp;
1503
1503
  };
1504
1504
  protoOf(AbstractState).next = function () {
1505
- return this.next_20eer_k$();
1505
+ return this.r();
1506
1506
  };
1507
- protoOf(AbstractState).currentTime_9xyk86_k$ = function () {
1507
+ protoOf(AbstractState).s39 = function () {
1508
1508
  return currentTimeInstant();
1509
1509
  };
1510
- protoOf(AbstractState).nextStep_nk1ffj_k$ = function () {
1510
+ protoOf(AbstractState).t39 = function () {
1511
1511
  // Inline function 'kotlin.Long.plus' call
1512
- var this_0 = this.get_context_h02k06_k$().step_1;
1512
+ var this_0 = this.i8().n35_1;
1513
1513
  return add(this_0, fromInt(1));
1514
1514
  };
1515
- protoOf(AbstractState).skipThrow_kuf4pt_k$ = function (_this__u8e3s4) {
1516
- var tmp0 = _this__u8e3s4.pathToRoot_1;
1515
+ protoOf(AbstractState).x39 = function (_this__u8e3s4) {
1516
+ var tmp0 = _this__u8e3s4.p35_1;
1517
1517
  var tmp$ret$0;
1518
1518
  $l$block: {
1519
1519
  // Inline function 'kotlin.sequences.first' call
1520
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1521
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1522
- var element = _iterator__ex2g4s.next_20eer_k$();
1523
- var tmp0_safe_receiver = element.procedure_1;
1524
- var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_functor_75vgt2_k$();
1520
+ var _iterator__ex2g4s = tmp0.n();
1521
+ while (_iterator__ex2g4s.q()) {
1522
+ var element = _iterator__ex2g4s.r();
1523
+ var tmp0_safe_receiver = element.t34_1;
1524
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ut();
1525
1525
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1526
1526
  if (!(tmp === Throw_getInstance().signature.name)) {
1527
1527
  tmp$ret$0 = element;
@@ -1538,26 +1538,26 @@
1538
1538
  }
1539
1539
  function StateBacktracking(context) {
1540
1540
  AbstractState.call(this, context);
1541
- this.context_2 = context;
1541
+ this.a3a_1 = context;
1542
1542
  }
1543
- protoOf(StateBacktracking).get_context_h02k06_k$ = function () {
1544
- return this.context_2;
1543
+ protoOf(StateBacktracking).i8 = function () {
1544
+ return this.a3a_1;
1545
1545
  };
1546
- protoOf(StateBacktracking).computeNext_3jypca_k$ = function () {
1547
- var choicePoints = this.context_2.choicePoints_1;
1546
+ protoOf(StateBacktracking).n39 = function () {
1547
+ var choicePoints = this.a3a_1.k35_1;
1548
1548
  var tmp;
1549
1549
  // Inline function 'kotlin.let' call
1550
- if (choicePoints === null || !choicePoints.get_hasOpenAlternatives_bd9sv_k$()) {
1551
- tmp = new StateEnd(Companion_instance_8.no(this.context_2.query_1), this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$()));
1550
+ if (choicePoints === null || !choicePoints.r36()) {
1551
+ tmp = new StateEnd(Companion_instance_8.no(this.a3a_1.e35_1), this.a3a_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39()));
1552
1552
  } else {
1553
- var tmp0 = ensureNotNull(choicePoints).get_pathToRoot_5yk1yt_k$();
1553
+ var tmp0 = ensureNotNull(choicePoints).s36();
1554
1554
  var tmp$ret$2;
1555
1555
  $l$block: {
1556
1556
  // Inline function 'kotlin.sequences.first' call
1557
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1558
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1559
- var element = _iterator__ex2g4s.next_20eer_k$();
1560
- if (element.get_alternatives_pbh9w1_k$().get_hasNext_csdx38_k$()) {
1557
+ var _iterator__ex2g4s = tmp0.n();
1558
+ while (_iterator__ex2g4s.q()) {
1559
+ var element = _iterator__ex2g4s.r();
1560
+ if (element.e36().gp()) {
1561
1561
  tmp$ret$2 = element;
1562
1562
  break $l$block;
1563
1563
  }
@@ -1565,9 +1565,9 @@
1565
1565
  throw NoSuchElementException_init_$Create$_0('Sequence contains no element matching the predicate.');
1566
1566
  }
1567
1567
  var choicePointContext = tmp$ret$2;
1568
- var nextContext = choicePointContext.backtrack_4ek2oe_k$(this.context_2);
1568
+ var nextContext = choicePointContext.j36(this.a3a_1);
1569
1569
  var tmp_0;
1570
- if (nextContext.primitives_1.get_hasNext_csdx38_k$()) {
1570
+ if (nextContext.h35_1.gp()) {
1571
1571
  tmp_0 = new StatePrimitiveExecution(nextContext);
1572
1572
  } else {
1573
1573
  tmp_0 = new StateRuleExecution(nextContext);
@@ -1576,71 +1576,71 @@
1576
1576
  }
1577
1577
  return tmp;
1578
1578
  };
1579
- protoOf(StateBacktracking).clone_vtwevb_k$ = function (context) {
1580
- return this.copy_12opsx_k$(context);
1579
+ protoOf(StateBacktracking).w39 = function (context) {
1580
+ return this.b3a(context);
1581
1581
  };
1582
1582
  protoOf(StateBacktracking).clone = function (context, $super) {
1583
1583
  return this.clone(context, ($super == null ? true : $super instanceof StateBacktracking) ? $super : THROW_CCE());
1584
1584
  };
1585
- protoOf(StateBacktracking).copy_12opsx_k$ = function (context) {
1585
+ protoOf(StateBacktracking).b3a = function (context) {
1586
1586
  return new StateBacktracking(context);
1587
1587
  };
1588
1588
  protoOf(StateBacktracking).toString = function () {
1589
- return 'StateBacktracking(context=' + this.context_2.toString() + ')';
1589
+ return 'StateBacktracking(context=' + this.a3a_1.toString() + ')';
1590
1590
  };
1591
1591
  protoOf(StateBacktracking).hashCode = function () {
1592
- return this.context_2.hashCode();
1592
+ return this.a3a_1.hashCode();
1593
1593
  };
1594
1594
  protoOf(StateBacktracking).equals = function (other) {
1595
1595
  if (this === other)
1596
1596
  return true;
1597
1597
  if (!(other instanceof StateBacktracking))
1598
1598
  return false;
1599
- if (!this.context_2.equals(other.context_2))
1599
+ if (!this.a3a_1.equals(other.a3a_1))
1600
1600
  return false;
1601
1601
  return true;
1602
1602
  };
1603
1603
  function StateEnd(solution, context) {
1604
1604
  AbstractEndState.call(this, solution, context);
1605
- this.solution_2 = solution;
1606
- this.context_3 = context;
1605
+ this.g3a_1 = solution;
1606
+ this.h3a_1 = context;
1607
1607
  }
1608
- protoOf(StateEnd).get_solution_74o532_k$ = function () {
1609
- return this.solution_2;
1608
+ protoOf(StateEnd).j2j = function () {
1609
+ return this.g3a_1;
1610
1610
  };
1611
- protoOf(StateEnd).get_context_h02k06_k$ = function () {
1612
- return this.context_3;
1611
+ protoOf(StateEnd).i8 = function () {
1612
+ return this.h3a_1;
1613
1613
  };
1614
- protoOf(StateEnd).get_isTimeout_msxjgy_k$ = function () {
1614
+ protoOf(StateEnd).r39 = function () {
1615
1615
  return false;
1616
1616
  };
1617
- protoOf(StateEnd).computeNext_3jypca_k$ = function () {
1617
+ protoOf(StateEnd).n39 = function () {
1618
1618
  var tmp;
1619
- if (this.context_3.get_hasOpenAlternatives_bd9sv_k$()) {
1620
- var tmp0_$this = this.context_3;
1621
- var tmp1_step = this.nextStep_nk1ffj_k$();
1622
- var tmp2_startTime = this.currentTime_9xyk86_k$();
1623
- tmp = new StateBacktracking(tmp0_$this.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1619
+ if (this.h3a_1.r36()) {
1620
+ var tmp0_$this = this.h3a_1;
1621
+ var tmp1_step = this.t39();
1622
+ var tmp2_startTime = this.s39();
1623
+ tmp = new StateBacktracking(tmp0_$this.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_startTime, VOID, VOID, VOID, VOID, tmp1_step));
1624
1624
  } else {
1625
- tmp = protoOf(AbstractEndState).computeNext_3jypca_k$.call(this);
1625
+ tmp = protoOf(AbstractEndState).n39.call(this);
1626
1626
  }
1627
1627
  return tmp;
1628
1628
  };
1629
- protoOf(StateEnd).clone_vtwevb_k$ = function (context) {
1630
- return this.copy_yabw68_k$(this.solution_2, context);
1629
+ protoOf(StateEnd).w39 = function (context) {
1630
+ return this.i3a(this.g3a_1, context);
1631
1631
  };
1632
1632
  protoOf(StateEnd).clone = function (context, $super) {
1633
1633
  return this.clone(context, ($super == null ? true : $super instanceof StateEnd) ? $super : THROW_CCE());
1634
1634
  };
1635
- protoOf(StateEnd).copy_yabw68_k$ = function (solution, context) {
1635
+ protoOf(StateEnd).i3a = function (solution, context) {
1636
1636
  return new StateEnd(solution, context);
1637
1637
  };
1638
1638
  protoOf(StateEnd).toString = function () {
1639
- return 'StateEnd(solution=' + toString(this.solution_2) + ', context=' + this.context_3.toString() + ')';
1639
+ return 'StateEnd(solution=' + toString(this.g3a_1) + ', context=' + this.h3a_1.toString() + ')';
1640
1640
  };
1641
1641
  protoOf(StateEnd).hashCode = function () {
1642
- var result = hashCode(this.solution_2);
1643
- result = imul(result, 31) + this.context_3.hashCode() | 0;
1642
+ var result = hashCode(this.g3a_1);
1643
+ result = imul(result, 31) + this.h3a_1.hashCode() | 0;
1644
1644
  return result;
1645
1645
  };
1646
1646
  protoOf(StateEnd).equals = function (other) {
@@ -1648,19 +1648,19 @@
1648
1648
  return true;
1649
1649
  if (!(other instanceof StateEnd))
1650
1650
  return false;
1651
- if (!equals(this.solution_2, other.solution_2))
1651
+ if (!equals(this.g3a_1, other.g3a_1))
1652
1652
  return false;
1653
- if (!this.context_3.equals(other.context_3))
1653
+ if (!this.h3a_1.equals(other.h3a_1))
1654
1654
  return false;
1655
1655
  return true;
1656
1656
  };
1657
1657
  protoOf(StateEnd).asEndState = function () {
1658
- return this.asEndState_tsnzug_k$();
1658
+ return this.v39();
1659
1659
  };
1660
1660
  function isCatch($this, $receiver) {
1661
1661
  var tmp;
1662
- if ($receiver.get_arity_iosiic_k$() === 3) {
1663
- var tmp_0 = $receiver.get_functor_75vgt2_k$();
1662
+ if ($receiver.ot() === 3) {
1663
+ var tmp_0 = $receiver.ut();
1664
1664
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1665
1665
  tmp = tmp_0 === Catch_getInstance().signature.name;
1666
1666
  } else {
@@ -1671,9 +1671,9 @@
1671
1671
  function getExceptionContent($this, $receiver) {
1672
1672
  var tmp;
1673
1673
  if ($receiver instanceof MessageError) {
1674
- tmp = $receiver.get_content_h02jrk_k$();
1674
+ tmp = $receiver.l26();
1675
1675
  } else {
1676
- tmp = $receiver.get_errorStruct_5b2a98_k$();
1676
+ tmp = $receiver.n24();
1677
1677
  }
1678
1678
  return tmp;
1679
1679
  }
@@ -1687,17 +1687,17 @@
1687
1687
  return tmp;
1688
1688
  }
1689
1689
  function _get_finalState__3aigq8($this) {
1690
- return new StateHalt(toPublicException($this, $this.exception_1), $this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
1690
+ return new StateHalt(toPublicException($this, $this.l3a_1), $this.m3a_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
1691
1691
  }
1692
1692
  function _get_handleExceptionInParentContext__yj3v4e($this) {
1693
- return new StateException($this.exception_1, ensureNotNull($this.context_2.parent_1).copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
1693
+ return new StateException($this.l3a_1, ensureNotNull($this.m3a_1.l35_1).k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
1694
1694
  }
1695
1695
  function handleStruct($this, unificator, catchGoal, error) {
1696
1696
  var tmp;
1697
1697
  if (isCatch($this, catchGoal)) {
1698
1698
  var catcher = unificator.mgu(catchGoal.get(1), getExceptionContent($this, error));
1699
1699
  tmp = handleCatch($this, catchGoal, catcher);
1700
- } else if ($this.context_2.get_isRoot_ew5h6d_k$()) {
1700
+ } else if ($this.m3a_1.c39()) {
1701
1701
  tmp = _get_finalState__3aigq8($this);
1702
1702
  } else {
1703
1703
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1706,18 +1706,18 @@
1706
1706
  }
1707
1707
  function handleCatch($this, catchGoal, catcher) {
1708
1708
  var tmp;
1709
- if (catcher.get_isSuccess_vybsc0_k$()) {
1710
- var tmp_0 = $this.context_2.substitution_1.plus(catcher);
1709
+ if (catcher.yz()) {
1710
+ var tmp_0 = $this.m3a_1.d35_1.plus(catcher);
1711
1711
  var newSubstitution = tmp_0.filterEntry(StateException$handleCatch$lambda($this));
1712
1712
  var subGoals = catchGoal.get(2).getSubstituted(newSubstitution, []);
1713
- var newGoals = plus_0(toGoals(subGoals), $this.context_2.goals_1.get_next_wor1vg_k$());
1714
- var tmp0_$this = $this.context_2;
1713
+ var newGoals = plus_0(toGoals(subGoals), $this.m3a_1.f35_1.ep());
1714
+ var tmp0_$this = $this.m3a_1;
1715
1715
  var tmp1_rules = Companion_instance_7.empty();
1716
1716
  var tmp2_primitives = Companion_instance_7.empty();
1717
1717
  var tmp3_substitution = newSubstitution.castToUnifier();
1718
- var tmp4_step = $this.nextStep_nk1ffj_k$();
1719
- tmp = new StateGoalSelection(tmp0_$this.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_substitution, VOID, newGoals, tmp1_rules, tmp2_primitives, VOID, VOID, VOID, VOID, VOID, tmp4_step));
1720
- } else if ($this.context_2.get_isRoot_ew5h6d_k$()) {
1718
+ var tmp4_step = $this.t39();
1719
+ tmp = new StateGoalSelection(tmp0_$this.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_substitution, VOID, newGoals, tmp1_rules, tmp2_primitives, VOID, VOID, VOID, VOID, VOID, tmp4_step));
1720
+ } else if ($this.m3a_1.c39()) {
1721
1721
  tmp = _get_finalState__3aigq8($this);
1722
1722
  } else {
1723
1723
  tmp = _get_handleExceptionInParentContext__yj3v4e($this);
@@ -1727,43 +1727,43 @@
1727
1727
  function StateException$handleCatch$lambda(this$0) {
1728
1728
  return function (_destruct__k2r9zo) {
1729
1729
  // Inline function 'kotlin.collections.component1' call
1730
- var it = _destruct__k2r9zo.get_key_18j28a_k$();
1731
- return this$0.context_2.isVariableInteresting_vs25g_k$(it);
1730
+ var it = _destruct__k2r9zo.f2();
1731
+ return this$0.m3a_1.d39(it);
1732
1732
  };
1733
1733
  }
1734
1734
  function StateException(exception, context) {
1735
1735
  AbstractState.call(this, context);
1736
- this.exception_1 = exception;
1737
- this.context_2 = context;
1736
+ this.l3a_1 = exception;
1737
+ this.m3a_1 = context;
1738
1738
  }
1739
- protoOf(StateException).get_context_h02k06_k$ = function () {
1740
- return this.context_2;
1739
+ protoOf(StateException).i8 = function () {
1740
+ return this.m3a_1;
1741
1741
  };
1742
- protoOf(StateException).computeNext_3jypca_k$ = function () {
1742
+ protoOf(StateException).n39 = function () {
1743
1743
  var tmp;
1744
- if (this.exception_1 instanceof LogicError) {
1745
- var catchGoal = ensureNotNull(this.context_2.get_currentGoal_ntxmf7_k$());
1746
- tmp = catchGoal.get_isStruct_zeoyoo_k$() ? handleStruct(this, this.context_2.unificator_1, catchGoal.castToStruct(), this.exception_1) : this.context_2.get_isRoot_ew5h6d_k$() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1744
+ if (this.l3a_1 instanceof LogicError) {
1745
+ var catchGoal = ensureNotNull(this.m3a_1.a39());
1746
+ tmp = catchGoal.au() ? handleStruct(this, this.m3a_1.u34_1, catchGoal.castToStruct(), this.l3a_1) : this.m3a_1.c39() ? _get_finalState__3aigq8(this) : _get_handleExceptionInParentContext__yj3v4e(this);
1747
1747
  } else {
1748
1748
  tmp = _get_finalState__3aigq8(this);
1749
1749
  }
1750
1750
  return tmp;
1751
1751
  };
1752
- protoOf(StateException).clone_vtwevb_k$ = function (context) {
1753
- return this.copy_lzz2j2_k$(this.exception_1, context);
1752
+ protoOf(StateException).w39 = function (context) {
1753
+ return this.n3a(this.l3a_1, context);
1754
1754
  };
1755
1755
  protoOf(StateException).clone = function (context, $super) {
1756
1756
  return this.clone(context, ($super == null ? true : $super instanceof StateException) ? $super : THROW_CCE());
1757
1757
  };
1758
- protoOf(StateException).copy_lzz2j2_k$ = function (exception, context) {
1758
+ protoOf(StateException).n3a = function (exception, context) {
1759
1759
  return new StateException(exception, context);
1760
1760
  };
1761
1761
  protoOf(StateException).toString = function () {
1762
- return 'StateException(exception=' + this.exception_1.toString() + ', context=' + this.context_2.toString() + ')';
1762
+ return 'StateException(exception=' + this.l3a_1.toString() + ', context=' + this.m3a_1.toString() + ')';
1763
1763
  };
1764
1764
  protoOf(StateException).hashCode = function () {
1765
- var result = hashCode(this.exception_1);
1766
- result = imul(result, 31) + this.context_2.hashCode() | 0;
1765
+ var result = hashCode(this.l3a_1);
1766
+ result = imul(result, 31) + this.m3a_1.hashCode() | 0;
1767
1767
  return result;
1768
1768
  };
1769
1769
  protoOf(StateException).equals = function (other) {
@@ -1771,107 +1771,107 @@
1771
1771
  return true;
1772
1772
  if (!(other instanceof StateException))
1773
1773
  return false;
1774
- if (!equals(this.exception_1, other.exception_1))
1774
+ if (!equals(this.l3a_1, other.l3a_1))
1775
1775
  return false;
1776
- if (!this.context_2.equals(other.context_2))
1776
+ if (!this.m3a_1.equals(other.m3a_1))
1777
1777
  return false;
1778
1778
  return true;
1779
1779
  };
1780
1780
  function StateGoalSelection$computeNext$lambda(this$0) {
1781
1781
  return function (_destruct__k2r9zo) {
1782
1782
  // Inline function 'kotlin.collections.component1' call
1783
- var it = _destruct__k2r9zo.get_key_18j28a_k$();
1784
- return this$0.context_2.isVariableInteresting_vs25g_k$(it);
1783
+ var it = _destruct__k2r9zo.f2();
1784
+ return this$0.q3a_1.d39(it);
1785
1785
  };
1786
1786
  }
1787
1787
  function StateGoalSelection(context) {
1788
1788
  AbstractState.call(this, context);
1789
- this.context_2 = context;
1789
+ this.q3a_1 = context;
1790
1790
  }
1791
- protoOf(StateGoalSelection).get_context_h02k06_k$ = function () {
1792
- return this.context_2;
1791
+ protoOf(StateGoalSelection).i8 = function () {
1792
+ return this.q3a_1;
1793
1793
  };
1794
- protoOf(StateGoalSelection).computeNext_3jypca_k$ = function () {
1794
+ protoOf(StateGoalSelection).n39 = function () {
1795
1795
  var tmp;
1796
- if (this.context_2.goals_1.get_isOver_ew3p5z_k$()) {
1796
+ if (this.q3a_1.f35_1.hp()) {
1797
1797
  var tmp_0;
1798
- if (this.context_2.get_isRoot_ew5h6d_k$()) {
1799
- tmp_0 = new StateEnd(Companion_instance_8.yes_cwt97u_k$(this.context_2.query_1, this.context_2.substitution_1), this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$()));
1798
+ if (this.q3a_1.c39()) {
1799
+ tmp_0 = new StateEnd(Companion_instance_8.p1w(this.q3a_1.e35_1, this.q3a_1.d35_1), this.q3a_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39()));
1800
1800
  } else {
1801
1801
  // Inline function 'kotlin.let' call
1802
- var it = ensureNotNull(this.context_2.parent_1);
1803
- var tmp0_choicePoints = this.context_2.choicePoints_1;
1804
- var tmp1_flags = this.context_2.flags_1;
1805
- var tmp2_dynamicKb = this.context_2.dynamicKb_1;
1806
- var tmp3_staticKb = this.context_2.staticKb_1;
1807
- var tmp4_substitution = this.context_2.substitution_1.filterEntry_gml6i7_k$(StateGoalSelection$computeNext$lambda(this));
1808
- var tmp5_goals = it.goals_1.get_next_wor1vg_k$();
1809
- var tmp6_procedure = it.procedure_1;
1810
- var tmp7_step = this.nextStep_nk1ffj_k$();
1811
- var tmp8_startTime = this.context_2.startTime_1;
1812
- var tmp9_operators = this.context_2.operators_1;
1813
- var tmp10_inputChannels = this.context_2.inputChannels_1;
1814
- var tmp11_outputChannels = this.context_2.outputChannels_1;
1815
- var tmp12_libraries = this.context_2.libraries_1;
1816
- var tmp13_customData = this.context_2.customData_1;
1817
- var tmp$ret$0 = it.copy$default_dhd9rp_k$(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);
1802
+ var it = ensureNotNull(this.q3a_1.l35_1);
1803
+ var tmp0_choicePoints = this.q3a_1.k35_1;
1804
+ var tmp1_flags = this.q3a_1.w34_1;
1805
+ var tmp2_dynamicKb = this.q3a_1.y34_1;
1806
+ var tmp3_staticKb = this.q3a_1.x34_1;
1807
+ var tmp4_substitution = this.q3a_1.d35_1.sz(StateGoalSelection$computeNext$lambda(this));
1808
+ var tmp5_goals = it.f35_1.ep();
1809
+ var tmp6_procedure = it.t34_1;
1810
+ var tmp7_step = this.t39();
1811
+ var tmp8_startTime = this.q3a_1.i35_1;
1812
+ var tmp9_operators = this.q3a_1.z34_1;
1813
+ var tmp10_inputChannels = this.q3a_1.a35_1;
1814
+ var tmp11_outputChannels = this.q3a_1.b35_1;
1815
+ var tmp12_libraries = this.q3a_1.v34_1;
1816
+ var tmp13_customData = this.q3a_1.c35_1;
1817
+ var tmp$ret$0 = it.k36(tmp6_procedure, VOID, tmp12_libraries, tmp1_flags, tmp3_staticKb, tmp2_dynamicKb, tmp9_operators, tmp10_inputChannels, tmp11_outputChannels, tmp13_customData, tmp4_substitution, VOID, tmp5_goals, VOID, VOID, tmp8_startTime, VOID, tmp0_choicePoints, VOID, VOID, tmp7_step);
1818
1818
  tmp_0 = new StateGoalSelection(tmp$ret$0);
1819
1819
  }
1820
1820
  tmp = tmp_0;
1821
- } else if (equals(this.context_2.flags_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().ON_1)) {
1822
- tmp = new StatePrimitiveSelection(this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$(), plus_1(this.context_2.relevantVariables_1, toSet(ensureNotNull(this.context_2.goals_1.get_current_jwi6j4_k$()).get_variables_75f0zy_k$()))));
1821
+ } else if (equals(this.q3a_1.w34_1.get(TrackVariables_getInstance()), TrackVariables_getInstance().w29_1)) {
1822
+ tmp = new StatePrimitiveSelection(this.q3a_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39(), plus_1(this.q3a_1.o35_1, toSet(ensureNotNull(this.q3a_1.f35_1.fp()).wt()))));
1823
1823
  } else {
1824
- tmp = new StatePrimitiveSelection(this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$()));
1824
+ tmp = new StatePrimitiveSelection(this.q3a_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39()));
1825
1825
  }
1826
1826
  return tmp;
1827
1827
  };
1828
- protoOf(StateGoalSelection).clone_vtwevb_k$ = function (context) {
1829
- return this.copy_12opsx_k$(context);
1828
+ protoOf(StateGoalSelection).w39 = function (context) {
1829
+ return this.b3a(context);
1830
1830
  };
1831
1831
  protoOf(StateGoalSelection).clone = function (context, $super) {
1832
1832
  return this.clone(context, ($super == null ? true : $super instanceof StateGoalSelection) ? $super : THROW_CCE());
1833
1833
  };
1834
- protoOf(StateGoalSelection).copy_12opsx_k$ = function (context) {
1834
+ protoOf(StateGoalSelection).b3a = function (context) {
1835
1835
  return new StateGoalSelection(context);
1836
1836
  };
1837
1837
  protoOf(StateGoalSelection).toString = function () {
1838
- return 'StateGoalSelection(context=' + this.context_2.toString() + ')';
1838
+ return 'StateGoalSelection(context=' + this.q3a_1.toString() + ')';
1839
1839
  };
1840
1840
  protoOf(StateGoalSelection).hashCode = function () {
1841
- return this.context_2.hashCode();
1841
+ return this.q3a_1.hashCode();
1842
1842
  };
1843
1843
  protoOf(StateGoalSelection).equals = function (other) {
1844
1844
  if (this === other)
1845
1845
  return true;
1846
1846
  if (!(other instanceof StateGoalSelection))
1847
1847
  return false;
1848
- if (!this.context_2.equals(other.context_2))
1848
+ if (!this.q3a_1.equals(other.q3a_1))
1849
1849
  return false;
1850
1850
  return true;
1851
1851
  };
1852
1852
  function StateHalt(exception, context) {
1853
- AbstractEndState.call(this, Companion_instance_8.halt(context.query_1, exception), context);
1854
- this.exception_1 = exception;
1855
- this.context_3 = context;
1853
+ AbstractEndState.call(this, Companion_instance_8.halt(context.e35_1, exception), context);
1854
+ this.v3a_1 = exception;
1855
+ this.w3a_1 = context;
1856
1856
  }
1857
- protoOf(StateHalt).get_context_h02k06_k$ = function () {
1858
- return this.context_3;
1857
+ protoOf(StateHalt).i8 = function () {
1858
+ return this.w3a_1;
1859
1859
  };
1860
- protoOf(StateHalt).clone_vtwevb_k$ = function (context) {
1861
- return this.copy_lzz2j2_k$(this.exception_1, context);
1860
+ protoOf(StateHalt).w39 = function (context) {
1861
+ return this.n3a(this.v3a_1, context);
1862
1862
  };
1863
1863
  protoOf(StateHalt).clone = function (context, $super) {
1864
1864
  return this.clone(context, ($super == null ? true : $super instanceof StateHalt) ? $super : THROW_CCE());
1865
1865
  };
1866
- protoOf(StateHalt).copy_lzz2j2_k$ = function (exception, context) {
1866
+ protoOf(StateHalt).n3a = function (exception, context) {
1867
1867
  return new StateHalt(exception, context);
1868
1868
  };
1869
1869
  protoOf(StateHalt).toString = function () {
1870
- return 'StateHalt(exception=' + this.exception_1.toString() + ', context=' + this.context_3.toString() + ')';
1870
+ return 'StateHalt(exception=' + this.v3a_1.toString() + ', context=' + this.w3a_1.toString() + ')';
1871
1871
  };
1872
1872
  protoOf(StateHalt).hashCode = function () {
1873
- var result = hashCode(this.exception_1);
1874
- result = imul(result, 31) + this.context_3.hashCode() | 0;
1873
+ var result = hashCode(this.v3a_1);
1874
+ result = imul(result, 31) + this.w3a_1.hashCode() | 0;
1875
1875
  return result;
1876
1876
  };
1877
1877
  protoOf(StateHalt).equals = function (other) {
@@ -1879,53 +1879,53 @@
1879
1879
  return true;
1880
1880
  if (!(other instanceof StateHalt))
1881
1881
  return false;
1882
- if (!equals(this.exception_1, other.exception_1))
1882
+ if (!equals(this.v3a_1, other.v3a_1))
1883
1883
  return false;
1884
- if (!this.context_3.equals(other.context_3))
1884
+ if (!this.w3a_1.equals(other.w3a_1))
1885
1885
  return false;
1886
1886
  return true;
1887
1887
  };
1888
1888
  protoOf(StateHalt).asEndState = function () {
1889
- return this.asEndState_tsnzug_k$();
1889
+ return this.v39();
1890
1890
  };
1891
1891
  function StateInit(context) {
1892
1892
  AbstractState.call(this, context);
1893
- this.context_2 = context;
1893
+ this.z3a_1 = context;
1894
1894
  }
1895
- protoOf(StateInit).get_context_h02k06_k$ = function () {
1896
- return this.context_2;
1895
+ protoOf(StateInit).i8 = function () {
1896
+ return this.z3a_1;
1897
1897
  };
1898
- protoOf(StateInit).computeNext_3jypca_k$ = function () {
1899
- var tmp0_$this = this.context_2;
1900
- var tmp1_goals = toGoals(this.context_2.query_1);
1898
+ protoOf(StateInit).n39 = function () {
1899
+ var tmp0_$this = this.z3a_1;
1900
+ var tmp1_goals = toGoals(this.z3a_1.e35_1);
1901
1901
  var tmp2_rules = Companion_instance_7.empty();
1902
1902
  var tmp3_primitives = Companion_instance_7.empty();
1903
1903
  var tmp4_substitution = Companion_getInstance_2().empty();
1904
- var tmp5_customData = this.context_2.customData_1.preservePersistent();
1904
+ var tmp5_customData = this.z3a_1.c35_1.preservePersistent();
1905
1905
  var tmp6_relevantVariables = emptySet();
1906
- return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp5_customData, tmp4_substitution, VOID, tmp1_goals, tmp2_rules, tmp3_primitives, VOID, VOID, null, null, 0, 1n, tmp6_relevantVariables), Companion_instance_7.empty()));
1906
+ return new StateGoalSelection(appendRulesAndChoicePoints(tmp0_$this.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp5_customData, tmp4_substitution, VOID, tmp1_goals, tmp2_rules, tmp3_primitives, VOID, VOID, null, null, 0, 1n, tmp6_relevantVariables), Companion_instance_7.empty()));
1907
1907
  };
1908
- protoOf(StateInit).clone_vtwevb_k$ = function (context) {
1909
- return this.copy_12opsx_k$(context);
1908
+ protoOf(StateInit).w39 = function (context) {
1909
+ return this.b3a(context);
1910
1910
  };
1911
1911
  protoOf(StateInit).clone = function (context, $super) {
1912
1912
  return this.clone(context, ($super == null ? true : $super instanceof StateInit) ? $super : THROW_CCE());
1913
1913
  };
1914
- protoOf(StateInit).copy_12opsx_k$ = function (context) {
1914
+ protoOf(StateInit).b3a = function (context) {
1915
1915
  return new StateInit(context);
1916
1916
  };
1917
1917
  protoOf(StateInit).toString = function () {
1918
- return 'StateInit(context=' + this.context_2.toString() + ')';
1918
+ return 'StateInit(context=' + this.z3a_1.toString() + ')';
1919
1919
  };
1920
1920
  protoOf(StateInit).hashCode = function () {
1921
- return this.context_2.hashCode();
1921
+ return this.z3a_1.hashCode();
1922
1922
  };
1923
1923
  protoOf(StateInit).equals = function (other) {
1924
1924
  if (this === other)
1925
1925
  return true;
1926
1926
  if (!(other instanceof StateInit))
1927
1927
  return false;
1928
- if (!this.context_2.equals(other.context_2))
1928
+ if (!this.z3a_1.equals(other.z3a_1))
1929
1929
  return false;
1930
1930
  return true;
1931
1931
  };
@@ -1933,41 +1933,41 @@
1933
1933
  goals = goals === VOID ? null : goals;
1934
1934
  procedureFromAncestor = procedureFromAncestor === VOID ? 0 : procedureFromAncestor;
1935
1935
  substitution = substitution === VOID ? null : substitution;
1936
- var tmp0_safe_receiver = $receiver.primitives_1.get_current_jwi6j4_k$();
1936
+ var tmp0_safe_receiver = $receiver.h35_1.fp();
1937
1937
  var tmp;
1938
1938
  if (tmp0_safe_receiver == null) {
1939
1939
  tmp = null;
1940
1940
  } else {
1941
1941
  // Inline function 'kotlin.let' call
1942
- tmp = $receiver.applyIterable_lkplre_k$(tmp0_safe_receiver.sideEffects);
1942
+ tmp = $receiver.f39(tmp0_safe_receiver.sideEffects);
1943
1943
  }
1944
1944
  var tmp1_elvis_lhs = tmp;
1945
1945
  var ctx = tmp1_elvis_lhs == null ? $receiver : tmp1_elvis_lhs;
1946
- var tmp4_goals = goals == null ? $receiver.goals_1 : goals;
1947
- var tmp_0 = drop($receiver.pathToRoot_1, procedureFromAncestor);
1946
+ var tmp4_goals = goals == null ? $receiver.f35_1 : goals;
1947
+ var tmp_0 = drop($receiver.p35_1, procedureFromAncestor);
1948
1948
  var tmp5_procedure = first(map(tmp_0, StatePrimitiveExecution$copyFromCurrentPrimitive$lambda));
1949
1949
  var tmp6_primitives = Companion_instance_7.empty();
1950
- var tmp_1 = substitution == null ? $receiver.substitution_1 : substitution;
1950
+ var tmp_1 = substitution == null ? $receiver.d35_1 : substitution;
1951
1951
  var tmp7_substitution = isInterface(tmp_1, Unifier) ? tmp_1 : THROW_CCE();
1952
- var tmp8_step = $this.nextStep_nk1ffj_k$();
1953
- return ctx.copy$default_dhd9rp_k$(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);
1952
+ var tmp8_step = $this.t39();
1953
+ return ctx.k36(tmp5_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp7_substitution, VOID, tmp4_goals, VOID, tmp6_primitives, VOID, VOID, VOID, VOID, VOID, tmp8_step);
1954
1954
  }
1955
1955
  function StatePrimitiveExecution$copyFromCurrentPrimitive$lambda(it) {
1956
- return it.procedure_1;
1956
+ return it.t34_1;
1957
1957
  }
1958
1958
  function StatePrimitiveExecution$computeNext$lambda(this$0) {
1959
1959
  return function (it) {
1960
- return new StateGoalSelection(copyFromCurrentPrimitive(this$0, this$0.context_2, this$0.context_2.goals_1.get_next_wor1vg_k$(), 1, this$0.context_2.unificator_1.mergeWithOccurCheck(this$0.context_2.substitution_1, it.get_substitution_i7fi9y_k$(), false)));
1960
+ return new StateGoalSelection(copyFromCurrentPrimitive(this$0, this$0.c3b_1, this$0.c3b_1.f35_1.ep(), 1, this$0.c3b_1.u34_1.mergeWithOccurCheck(this$0.c3b_1.d35_1, it.m1u(), false)));
1961
1961
  };
1962
1962
  }
1963
1963
  function StatePrimitiveExecution$computeNext$lambda_0(this$0) {
1964
1964
  return function (it) {
1965
- return new StateBacktracking(copyFromCurrentPrimitive(this$0, ensureNotNull(this$0.context_2.parent_1)));
1965
+ return new StateBacktracking(copyFromCurrentPrimitive(this$0, ensureNotNull(this$0.c3b_1.l35_1)));
1966
1966
  };
1967
1967
  }
1968
1968
  function StatePrimitiveExecution$computeNext$lambda_1(this$0) {
1969
1969
  return function (it) {
1970
- return new StateException(it.get_exception_x0n6w6_k$().updateLastContext(this$0.skipThrow_kuf4pt_k$(this$0.context_2)), copyFromCurrentPrimitive(this$0, this$0.context_2));
1970
+ return new StateException(it.h1w().updateLastContext(this$0.x39(this$0.c3b_1)), copyFromCurrentPrimitive(this$0, this$0.c3b_1));
1971
1971
  };
1972
1972
  }
1973
1973
  function StatePrimitiveExecution$computeNext$lambda_2(it) {
@@ -1975,15 +1975,15 @@
1975
1975
  }
1976
1976
  function StatePrimitiveExecution(context) {
1977
1977
  AbstractState.call(this, context);
1978
- this.context_2 = context;
1978
+ this.c3b_1 = context;
1979
1979
  }
1980
- protoOf(StatePrimitiveExecution).get_context_h02k06_k$ = function () {
1981
- return this.context_2;
1980
+ protoOf(StatePrimitiveExecution).i8 = function () {
1981
+ return this.c3b_1;
1982
1982
  };
1983
- protoOf(StatePrimitiveExecution).computeNext_3jypca_k$ = function () {
1983
+ protoOf(StatePrimitiveExecution).n39 = function () {
1984
1984
  var tmp;
1985
1985
  try {
1986
- var tmp0_safe_receiver = this.context_2.primitives_1.get_current_jwi6j4_k$();
1986
+ var tmp0_safe_receiver = this.c3b_1.h35_1.fp();
1987
1987
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.solution;
1988
1988
  var tmp_0;
1989
1989
  if (tmp1_safe_receiver == null) {
@@ -1992,15 +1992,15 @@
1992
1992
  var tmp_1 = StatePrimitiveExecution$computeNext$lambda(this);
1993
1993
  var tmp_2 = StatePrimitiveExecution$computeNext$lambda_0(this);
1994
1994
  var tmp_3 = StatePrimitiveExecution$computeNext$lambda_1(this);
1995
- tmp_0 = tmp1_safe_receiver.whenIs_yyl652_k$(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
1995
+ tmp_0 = tmp1_safe_receiver.k1w(tmp_1, tmp_2, tmp_3, StatePrimitiveExecution$computeNext$lambda_2);
1996
1996
  }
1997
1997
  var tmp2_elvis_lhs = tmp_0;
1998
- tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive(this, this.context_2)) : tmp2_elvis_lhs;
1998
+ tmp = tmp2_elvis_lhs == null ? new StateBacktracking(copyFromCurrentPrimitive(this, this.c3b_1)) : tmp2_elvis_lhs;
1999
1999
  } catch ($p) {
2000
2000
  var tmp_4;
2001
2001
  if ($p instanceof ResolutionException) {
2002
2002
  var exception = $p;
2003
- tmp_4 = new StateException(exception.updateLastContext(this.skipThrow_kuf4pt_k$(this.context_2)), this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$()));
2003
+ tmp_4 = new StateException(exception.updateLastContext(this.x39(this.c3b_1)), this.c3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39()));
2004
2004
  } else {
2005
2005
  throw $p;
2006
2006
  }
@@ -2008,57 +2008,57 @@
2008
2008
  }
2009
2009
  return tmp;
2010
2010
  };
2011
- protoOf(StatePrimitiveExecution).clone_vtwevb_k$ = function (context) {
2012
- return this.copy_12opsx_k$(context);
2011
+ protoOf(StatePrimitiveExecution).w39 = function (context) {
2012
+ return this.b3a(context);
2013
2013
  };
2014
2014
  protoOf(StatePrimitiveExecution).clone = function (context, $super) {
2015
2015
  return this.clone(context, ($super == null ? true : $super instanceof StatePrimitiveExecution) ? $super : THROW_CCE());
2016
2016
  };
2017
- protoOf(StatePrimitiveExecution).copy_12opsx_k$ = function (context) {
2017
+ protoOf(StatePrimitiveExecution).b3a = function (context) {
2018
2018
  return new StatePrimitiveExecution(context);
2019
2019
  };
2020
2020
  protoOf(StatePrimitiveExecution).toString = function () {
2021
- return 'StatePrimitiveExecution(context=' + this.context_2.toString() + ')';
2021
+ return 'StatePrimitiveExecution(context=' + this.c3b_1.toString() + ')';
2022
2022
  };
2023
2023
  protoOf(StatePrimitiveExecution).hashCode = function () {
2024
- return this.context_2.hashCode();
2024
+ return this.c3b_1.hashCode();
2025
2025
  };
2026
2026
  protoOf(StatePrimitiveExecution).equals = function (other) {
2027
2027
  if (this === other)
2028
2028
  return true;
2029
2029
  if (!(other instanceof StatePrimitiveExecution))
2030
2030
  return false;
2031
- if (!this.context_2.equals(other.context_2))
2031
+ if (!this.c3b_1.equals(other.c3b_1))
2032
2032
  return false;
2033
2033
  return true;
2034
2034
  };
2035
2035
  function exceptionalState($this, exception) {
2036
- return new StateException(exception, $this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
2036
+ return new StateException(exception, $this.f3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
2037
2037
  }
2038
2038
  function StatePrimitiveSelection(context) {
2039
2039
  AbstractState.call(this, context);
2040
- this.context_2 = context;
2040
+ this.f3b_1 = context;
2041
2041
  }
2042
- protoOf(StatePrimitiveSelection).get_context_h02k06_k$ = function () {
2043
- return this.context_2;
2042
+ protoOf(StatePrimitiveSelection).i8 = function () {
2043
+ return this.f3b_1;
2044
2044
  };
2045
- protoOf(StatePrimitiveSelection).computeNext_3jypca_k$ = function () {
2045
+ protoOf(StatePrimitiveSelection).n39 = function () {
2046
2046
  // Inline function 'kotlin.with' call
2047
- var $this$with = this.context_2;
2048
- var goal = ensureNotNull($this$with.get_currentGoal_ntxmf7_k$());
2047
+ var $this$with = this.f3b_1;
2048
+ var goal = ensureNotNull($this$with.a39());
2049
2049
  var tmp;
2050
- if (goal.get_isVar_it73p0_k$()) {
2051
- tmp = exceptionalState(this, Companion_instance_11.forGoal(this.context_2, extractSignature(ensureNotNull(this.context_2.procedure_1)), goal.castToVar()));
2052
- } else if (goal.get_isStruct_zeoyoo_k$()) {
2050
+ if (goal.qu()) {
2051
+ tmp = exceptionalState(this, Companion_instance_11.forGoal(this.f3b_1, extractSignature(ensureNotNull(this.f3b_1.t34_1)), goal.castToVar()));
2052
+ } else if (goal.au()) {
2053
2053
  var goalStruct = goal.castToStruct();
2054
2054
  var signature = extractSignature(goalStruct);
2055
2055
  var tmp_0;
2056
- if ($this$with.libraries_1.hasPrimitive(signature)) {
2056
+ if ($this$with.v34_1.hasPrimitive(signature)) {
2057
2057
  var childContext = createChild($this$with);
2058
2058
  var tmp_1;
2059
2059
  try {
2060
- var request = toRequest(childContext, goalStruct, signature, this.get_executionTime_e182qk_k$());
2061
- var tmp0_elvis_lhs = $this$with.libraries_1.get_primitives_xl08ol_k$().get_wei43m_k$(signature);
2060
+ var request = toRequest(childContext, goalStruct, signature, this.q39());
2061
+ var tmp0_elvis_lhs = $this$with.v34_1.c2f().j2(signature);
2062
2062
  var tmp_2;
2063
2063
  if (tmp0_elvis_lhs == null) {
2064
2064
  // Inline function 'kotlin.error' call
@@ -2074,7 +2074,7 @@
2074
2074
  var tmp_3;
2075
2075
  if ($p instanceof ResolutionException) {
2076
2076
  var exception = $p;
2077
- tmp_3 = exceptionalState(this, exception.updateLastContext(this.skipThrow_kuf4pt_k$(childContext)));
2077
+ tmp_3 = exceptionalState(this, exception.updateLastContext(this.x39(childContext)));
2078
2078
  } else {
2079
2079
  throw $p;
2080
2080
  }
@@ -2082,106 +2082,106 @@
2082
2082
  }
2083
2083
  tmp_0 = tmp_1;
2084
2084
  } else {
2085
- tmp_0 = new StateRuleSelection(this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nextStep_nk1ffj_k$()));
2085
+ tmp_0 = new StateRuleSelection(this.f3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t39()));
2086
2086
  }
2087
2087
  tmp = tmp_0;
2088
2088
  } else {
2089
2089
  var tmp_4 = Companion_instance_10;
2090
- var tmp1_safe_receiver = this.context_2.procedure_1;
2090
+ var tmp1_safe_receiver = this.f3b_1.t34_1;
2091
2091
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : extractSignature(tmp1_safe_receiver);
2092
- tmp = exceptionalState(this, tmp_4.forGoal(this.context_2, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2092
+ tmp = exceptionalState(this, tmp_4.forGoal(this.f3b_1, tmp2_elvis_lhs == null ? new Signature('?-', 1) : tmp2_elvis_lhs, Expected_CALLABLE_getInstance(), goal));
2093
2093
  }
2094
2094
  return tmp;
2095
2095
  };
2096
- protoOf(StatePrimitiveSelection).clone_vtwevb_k$ = function (context) {
2097
- return this.copy_12opsx_k$(context);
2096
+ protoOf(StatePrimitiveSelection).w39 = function (context) {
2097
+ return this.b3a(context);
2098
2098
  };
2099
2099
  protoOf(StatePrimitiveSelection).clone = function (context, $super) {
2100
2100
  return this.clone(context, ($super == null ? true : $super instanceof StatePrimitiveSelection) ? $super : THROW_CCE());
2101
2101
  };
2102
- protoOf(StatePrimitiveSelection).copy_12opsx_k$ = function (context) {
2102
+ protoOf(StatePrimitiveSelection).b3a = function (context) {
2103
2103
  return new StatePrimitiveSelection(context);
2104
2104
  };
2105
2105
  protoOf(StatePrimitiveSelection).toString = function () {
2106
- return 'StatePrimitiveSelection(context=' + this.context_2.toString() + ')';
2106
+ return 'StatePrimitiveSelection(context=' + this.f3b_1.toString() + ')';
2107
2107
  };
2108
2108
  protoOf(StatePrimitiveSelection).hashCode = function () {
2109
- return this.context_2.hashCode();
2109
+ return this.f3b_1.hashCode();
2110
2110
  };
2111
2111
  protoOf(StatePrimitiveSelection).equals = function (other) {
2112
2112
  if (this === other)
2113
2113
  return true;
2114
2114
  if (!(other instanceof StatePrimitiveSelection))
2115
2115
  return false;
2116
- if (!this.context_2.equals(other.context_2))
2116
+ if (!this.f3b_1.equals(other.f3b_1))
2117
2117
  return false;
2118
2118
  return true;
2119
2119
  };
2120
2120
  function _get_failureState__yid9tw($this) {
2121
- return new StateBacktracking($this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
2121
+ return new StateBacktracking($this.i3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, Companion_instance_7.empty(), VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
2122
2122
  }
2123
2123
  function StateRuleExecution(context) {
2124
2124
  AbstractState.call(this, context);
2125
- this.context_2 = context;
2125
+ this.i3b_1 = context;
2126
2126
  }
2127
- protoOf(StateRuleExecution).get_context_h02k06_k$ = function () {
2128
- return this.context_2;
2127
+ protoOf(StateRuleExecution).i8 = function () {
2128
+ return this.i3b_1;
2129
2129
  };
2130
- protoOf(StateRuleExecution).computeNext_3jypca_k$ = function () {
2130
+ protoOf(StateRuleExecution).n39 = function () {
2131
2131
  // Inline function 'kotlin.with' call
2132
- var $this$with = this.context_2;
2133
- var substitution = $this$with.unificator_1.mgu(ensureNotNull($this$with.get_currentGoal_ntxmf7_k$()), ensureNotNull($this$with.rules_1.get_current_jwi6j4_k$()).get_head_won7e1_k$());
2132
+ var $this$with = this.i3b_1;
2133
+ var substitution = $this$with.u34_1.mgu(ensureNotNull($this$with.a39()), ensureNotNull($this$with.g35_1.fp()).aw());
2134
2134
  var tmp;
2135
- if (substitution.get_isSuccess_vybsc0_k$()) {
2136
- var newSubstitution = this.context_2.substitution_1.plus(substitution).castToUnifier();
2137
- var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.context_2.rules_1.get_current_jwi6j4_k$()), newSubstitution).get_body_wojkyz_k$().getSubstituted(newSubstitution, []);
2138
- var tmp0_$this = this.context_2;
2135
+ if (substitution.yz()) {
2136
+ var newSubstitution = this.i3b_1.d35_1.plus(substitution).castToUnifier();
2137
+ var subGoals = prepareForExecutionWithUnifier(ensureNotNull(this.i3b_1.g35_1.fp()), newSubstitution).bw().getSubstituted(newSubstitution, []);
2138
+ var tmp0_$this = this.i3b_1;
2139
2139
  var tmp1_goals = toGoals(subGoals);
2140
2140
  var tmp2_rules = Companion_instance_7.empty();
2141
- var tmp3_step = this.nextStep_nk1ffj_k$();
2142
- tmp = new StateGoalSelection(tmp0_$this.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2141
+ var tmp3_step = this.t39();
2142
+ tmp = new StateGoalSelection(tmp0_$this.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newSubstitution, VOID, tmp1_goals, tmp2_rules, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_step));
2143
2143
  } else {
2144
2144
  tmp = _get_failureState__yid9tw(this);
2145
2145
  }
2146
2146
  return tmp;
2147
2147
  };
2148
- protoOf(StateRuleExecution).clone_vtwevb_k$ = function (context) {
2149
- return this.copy_12opsx_k$(context);
2148
+ protoOf(StateRuleExecution).w39 = function (context) {
2149
+ return this.b3a(context);
2150
2150
  };
2151
2151
  protoOf(StateRuleExecution).clone = function (context, $super) {
2152
2152
  return this.clone(context, ($super == null ? true : $super instanceof StateRuleExecution) ? $super : THROW_CCE());
2153
2153
  };
2154
- protoOf(StateRuleExecution).copy_12opsx_k$ = function (context) {
2154
+ protoOf(StateRuleExecution).b3a = function (context) {
2155
2155
  return new StateRuleExecution(context);
2156
2156
  };
2157
2157
  protoOf(StateRuleExecution).toString = function () {
2158
- return 'StateRuleExecution(context=' + this.context_2.toString() + ')';
2158
+ return 'StateRuleExecution(context=' + this.i3b_1.toString() + ')';
2159
2159
  };
2160
2160
  protoOf(StateRuleExecution).hashCode = function () {
2161
- return this.context_2.hashCode();
2161
+ return this.i3b_1.hashCode();
2162
2162
  };
2163
2163
  protoOf(StateRuleExecution).equals = function (other) {
2164
2164
  if (this === other)
2165
2165
  return true;
2166
2166
  if (!(other instanceof StateRuleExecution))
2167
2167
  return false;
2168
- if (!this.context_2.equals(other.context_2))
2168
+ if (!this.i3b_1.equals(other.i3b_1))
2169
2169
  return false;
2170
2170
  return true;
2171
2171
  };
2172
2172
  function None() {
2173
2173
  None_instance = this;
2174
2174
  CutLimit.call(this);
2175
- this.depthToCut_1 = -1;
2176
- this.procedure_1 = null;
2175
+ this.j3b_1 = -1;
2176
+ this.k3b_1 = null;
2177
2177
  }
2178
- protoOf(None).get_depthToCut_gm7f77_k$ = function () {
2179
- return this.depthToCut_1;
2178
+ protoOf(None).l3b = function () {
2179
+ return this.j3b_1;
2180
2180
  };
2181
- protoOf(None).get_procedure_9lj7py_k$ = function () {
2182
- return this.procedure_1;
2181
+ protoOf(None).l1u = function () {
2182
+ return this.k3b_1;
2183
2183
  };
2184
- protoOf(None).get_isNone_ew2x6z_k$ = function () {
2184
+ protoOf(None).m3b = function () {
2185
2185
  return true;
2186
2186
  };
2187
2187
  var None_instance;
@@ -2192,24 +2192,24 @@
2192
2192
  }
2193
2193
  function Actual(depthToCut, procedure) {
2194
2194
  CutLimit.call(this);
2195
- this.depthToCut_1 = depthToCut;
2196
- this.procedure_1 = procedure;
2195
+ this.n3b_1 = depthToCut;
2196
+ this.o3b_1 = procedure;
2197
2197
  }
2198
- protoOf(Actual).get_depthToCut_gm7f77_k$ = function () {
2199
- return this.depthToCut_1;
2198
+ protoOf(Actual).l3b = function () {
2199
+ return this.n3b_1;
2200
2200
  };
2201
- protoOf(Actual).get_procedure_9lj7py_k$ = function () {
2202
- return this.procedure_1;
2201
+ protoOf(Actual).l1u = function () {
2202
+ return this.o3b_1;
2203
2203
  };
2204
2204
  function CutLimit() {
2205
2205
  }
2206
- protoOf(CutLimit).get_isNone_ew2x6z_k$ = function () {
2206
+ protoOf(CutLimit).m3b = function () {
2207
2207
  return false;
2208
2208
  };
2209
2209
  function Companion_0() {
2210
2210
  Companion_instance_16 = this;
2211
- this.catchSignature_1 = Catch_getInstance().signature;
2212
- this.transparentToCut_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2211
+ this.p3b_1 = Catch_getInstance().signature;
2212
+ this.q3b_1 = setOf([new Signature(',', 2), new Signature(';', 2), new Signature('->', 2)]);
2213
2213
  }
2214
2214
  var Companion_instance_16;
2215
2215
  function Companion_getInstance_6() {
@@ -2218,24 +2218,24 @@
2218
2218
  return Companion_instance_16;
2219
2219
  }
2220
2220
  function _get_failureState__yid9tw_0($this) {
2221
- return new StateBacktracking($this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
2221
+ return new StateBacktracking($this.t3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
2222
2222
  }
2223
2223
  function exceptionalState_0($this, exception) {
2224
- return new StateException(exception, $this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
2224
+ return new StateException(exception, $this.t3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
2225
2225
  }
2226
2226
  function missingProcedure($this, ruleSources, missing) {
2227
- var unknown = $this.context_2.flags_1.get(Unknown_getInstance());
2227
+ var unknown = $this.t3b_1.w34_1.get(Unknown_getInstance());
2228
2228
  var tmp;
2229
- if (equals(unknown, Unknown_getInstance().FAIL_1)) {
2229
+ if (equals(unknown, Unknown_getInstance().i2a_1)) {
2230
2230
  tmp = _get_failureState__yid9tw_0($this);
2231
2231
  } else {
2232
2232
  var tmp_0;
2233
2233
  var tmp$ret$0;
2234
2234
  $l$block: {
2235
2235
  // Inline function 'kotlin.sequences.none' call
2236
- var _iterator__ex2g4s = ruleSources.iterator_jk1svi_k$();
2237
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2238
- var element = _iterator__ex2g4s.next_20eer_k$();
2236
+ var _iterator__ex2g4s = ruleSources.n();
2237
+ while (_iterator__ex2g4s.q()) {
2238
+ var element = _iterator__ex2g4s.r();
2239
2239
  if (element.containsIndicator(missing.toIndicator())) {
2240
2240
  tmp$ret$0 = false;
2241
2241
  break $l$block;
@@ -2245,12 +2245,12 @@
2245
2245
  }
2246
2246
  if (tmp$ret$0) {
2247
2247
  var tmp_1;
2248
- if (equals(unknown, Unknown_getInstance().ERROR_1)) {
2249
- tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.context_2, missing));
2250
- } else if (equals(unknown, Unknown_getInstance().WARNING_1)) {
2248
+ if (equals(unknown, Unknown_getInstance().g2a_1)) {
2249
+ tmp_1 = exceptionalState_0($this, Companion_instance_12.forProcedure($this.t3b_1, missing));
2250
+ } else if (equals(unknown, Unknown_getInstance().h2a_1)) {
2251
2251
  // Inline function 'kotlin.also' call
2252
2252
  var this_0 = _get_failureState__yid9tw_0($this);
2253
- $this.context_2.get_warnings_nkdx40_k$().write(MissingPredicate_init_$Create$($this.context_2, missing));
2253
+ $this.t3b_1.d1v().write(MissingPredicate_init_$Create$($this.t3b_1, missing));
2254
2254
  tmp_1 = this_0;
2255
2255
  } else {
2256
2256
  tmp_1 = _get_failureState__yid9tw_0($this);
@@ -2264,26 +2264,26 @@
2264
2264
  return tmp;
2265
2265
  }
2266
2266
  function _get_ignoreState__t4wl8y($this) {
2267
- return new StateGoalSelection($this.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.context_2.goals_1.get_next_wor1vg_k$(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.nextStep_nk1ffj_k$()));
2267
+ return new StateGoalSelection($this.t3b_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t3b_1.f35_1.ep(), VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this.t39()));
2268
2268
  }
2269
2269
  function isCut($this, $receiver) {
2270
- return $receiver.get_isAtom_evuq3o_k$() && $receiver.castToAtom().get_value_j01efc_k$() === '!';
2270
+ return $receiver.pt() && $receiver.castToAtom().g2() === '!';
2271
2271
  }
2272
2272
  function computeCutLimit($this, $receiver, magicCut) {
2273
2273
  magicCut = magicCut === VOID ? false : magicCut;
2274
2274
  var tmp;
2275
2275
  if (magicCut) {
2276
- tmp = firstOrNull($receiver.pathToRoot_1);
2276
+ tmp = firstOrNull($receiver.p35_1);
2277
2277
  } else {
2278
- var tmp0 = $receiver.pathToRoot_1;
2278
+ var tmp0 = $receiver.p35_1;
2279
2279
  var tmp$ret$0;
2280
2280
  $l$block: {
2281
2281
  // Inline function 'kotlin.sequences.firstOrNull' call
2282
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
2283
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2284
- var element = _iterator__ex2g4s.next_20eer_k$();
2285
- var tmp_0 = Companion_getInstance_6().transparentToCut_1;
2286
- var tmp0_safe_receiver = element.procedure_1;
2282
+ var _iterator__ex2g4s = tmp0.n();
2283
+ while (_iterator__ex2g4s.q()) {
2284
+ var element = _iterator__ex2g4s.r();
2285
+ var tmp_0 = Companion_getInstance_6().q3b_1;
2286
+ var tmp0_safe_receiver = element.t34_1;
2287
2287
  if (!contains_0(tmp_0, tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver))) {
2288
2288
  tmp$ret$0 = element;
2289
2289
  break $l$block;
@@ -2298,31 +2298,31 @@
2298
2298
  if (cutLimit == null) {
2299
2299
  tmp_1 = None_getInstance();
2300
2300
  } else {
2301
- tmp_1 = new Actual(cutLimit.depth_1, cutLimit.procedure_1);
2301
+ tmp_1 = new Actual(cutLimit.m35_1, cutLimit.t34_1);
2302
2302
  }
2303
2303
  return tmp_1;
2304
2304
  }
2305
2305
  function cutCanBeSkipped($this, cutLimit, executionContext) {
2306
- return cutLimit.get_isNone_ew2x6z_k$() || cutLimit.get_depthToCut_gm7f77_k$() > executionContext.depth_1 || (cutLimit.get_depthToCut_gm7f77_k$() === executionContext.depth_1 && !equals(cutLimit.get_procedure_9lj7py_k$(), executionContext.procedure_1));
2306
+ return cutLimit.m3b() || cutLimit.l3b() > executionContext.m35_1 || (cutLimit.l3b() === executionContext.m35_1 && !equals(cutLimit.l1u(), executionContext.t34_1));
2307
2307
  }
2308
2308
  function performCut($this, $receiver, cutLimit) {
2309
2309
  var tmp;
2310
2310
  if ($receiver === null) {
2311
2311
  tmp = null;
2312
- } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull($receiver.get_executionContext_yb2vgg_k$()))) {
2312
+ } else if (cutCanBeSkipped($this, cutLimit, ensureNotNull($receiver.f36()))) {
2313
2313
  tmp = $receiver;
2314
2314
  } else {
2315
- var tmp_0 = $receiver.get_pathToRoot_5yk1yt_k$();
2315
+ var tmp_0 = $receiver.s36();
2316
2316
  var cutCandidates = filter(tmp_0, StateRuleSelection$performCut$lambda(cutLimit));
2317
2317
  var tmp_1;
2318
2318
  if (any(cutCandidates)) {
2319
2319
  var tmp$ret$0;
2320
2320
  $l$block: {
2321
2321
  // Inline function 'kotlin.sequences.firstOrNull' call
2322
- var _iterator__ex2g4s = cutCandidates.iterator_jk1svi_k$();
2323
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2324
- var element = _iterator__ex2g4s.next_20eer_k$();
2325
- if (ensureNotNull(element.get_executionContext_yb2vgg_k$()).depth_1 <= cutLimit.get_depthToCut_gm7f77_k$()) {
2322
+ var _iterator__ex2g4s = cutCandidates.n();
2323
+ while (_iterator__ex2g4s.q()) {
2324
+ var element = _iterator__ex2g4s.r();
2325
+ if (ensureNotNull(element.f36()).m35_1 <= cutLimit.l3b()) {
2326
2326
  tmp$ret$0 = element;
2327
2327
  break $l$block;
2328
2328
  }
@@ -2330,7 +2330,7 @@
2330
2330
  tmp$ret$0 = null;
2331
2331
  }
2332
2332
  var tmp0_safe_receiver = tmp$ret$0;
2333
- tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_parent_hy4reb_k$();
2333
+ tmp_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g36();
2334
2334
  } else {
2335
2335
  tmp_1 = $receiver;
2336
2336
  }
@@ -2340,9 +2340,9 @@
2340
2340
  }
2341
2341
  function _get_isTailRecursive__h5eso7($this, $receiver) {
2342
2342
  var tmp;
2343
- if ($receiver.goals_1.get_next_wor1vg_k$().get_isOver_ew3p5z_k$() && equals($receiver.flags_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().ON_1)) {
2343
+ if ($receiver.f35_1.ep().hp() && equals($receiver.w34_1.get(LastCallOptimization_getInstance()), LastCallOptimization_getInstance().g29_1)) {
2344
2344
  // Inline function 'kotlin.let' call
2345
- var tmp0_safe_receiver = ensureNotNull($receiver.get_currentGoal_ntxmf7_k$()).asStruct();
2345
+ var tmp0_safe_receiver = ensureNotNull($receiver.a39()).asStruct();
2346
2346
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : extractSignature(tmp0_safe_receiver);
2347
2347
  var tmp_0;
2348
2348
  if (tmp1_safe_receiver == null) {
@@ -2350,9 +2350,9 @@
2350
2350
  } else {
2351
2351
  // Inline function 'kotlin.let' call
2352
2352
  var tmp_1;
2353
- var tmp0_safe_receiver_0 = $receiver.procedure_1;
2353
+ var tmp0_safe_receiver_0 = $receiver.t34_1;
2354
2354
  if (tmp1_safe_receiver.equals(tmp0_safe_receiver_0 == null ? null : extractSignature(tmp0_safe_receiver_0))) {
2355
- tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_6().catchSignature_1);
2355
+ tmp_1 = !tmp1_safe_receiver.equals(Companion_getInstance_6().p3b_1);
2356
2356
  } else {
2357
2357
  tmp_1 = false;
2358
2358
  }
@@ -2370,7 +2370,7 @@
2370
2370
  // Inline function 'kotlin.let' call
2371
2371
  var it = ensureRules(map(tmp, StateRuleSelection$selectClauses$lambda));
2372
2372
  var tmp_0;
2373
- if ($receiver.get_isMutable_matrzn_k$()) {
2373
+ if ($receiver.i1s()) {
2374
2374
  tmp_0 = buffered(it);
2375
2375
  } else {
2376
2376
  tmp_0 = it;
@@ -2379,7 +2379,7 @@
2379
2379
  }
2380
2380
  function StateRuleSelection$performCut$lambda($cutLimit) {
2381
2381
  return function (it) {
2382
- return equals(ensureNotNull(it.get_executionContext_yb2vgg_k$()).procedure_1, $cutLimit.get_procedure_9lj7py_k$());
2382
+ return equals(ensureNotNull(it.f36()).t34_1, $cutLimit.l1u());
2383
2383
  };
2384
2384
  }
2385
2385
  function StateRuleSelection$computeNext$lambda(this$0, $currentGoalStruct) {
@@ -2388,30 +2388,30 @@
2388
2388
  };
2389
2389
  }
2390
2390
  function StateRuleSelection$selectClauses$lambda(it) {
2391
- return it.freshCopy_fcm65_k$();
2391
+ return it.xt();
2392
2392
  }
2393
2393
  function StateRuleSelection(context) {
2394
2394
  Companion_getInstance_6();
2395
2395
  AbstractState.call(this, context);
2396
- this.context_2 = context;
2396
+ this.t3b_1 = context;
2397
2397
  }
2398
- protoOf(StateRuleSelection).get_context_h02k06_k$ = function () {
2399
- return this.context_2;
2398
+ protoOf(StateRuleSelection).i8 = function () {
2399
+ return this.t3b_1;
2400
2400
  };
2401
- protoOf(StateRuleSelection).computeNext_3jypca_k$ = function () {
2402
- var currentGoal = ensureNotNull(this.context_2.get_currentGoal_ntxmf7_k$());
2401
+ protoOf(StateRuleSelection).n39 = function () {
2402
+ var currentGoal = ensureNotNull(this.t3b_1.a39());
2403
2403
  var tmp;
2404
- if (currentGoal.get_isVar_it73p0_k$()) {
2405
- tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.context_2, extractSignature(ensureNotNull(this.context_2.procedure_1)), currentGoal.castToVar()));
2406
- } else if (currentGoal.get_isStruct_zeoyoo_k$()) {
2404
+ if (currentGoal.qu()) {
2405
+ tmp = exceptionalState_0(this, Companion_instance_11.forGoal(this.t3b_1, extractSignature(ensureNotNull(this.t3b_1.t34_1)), currentGoal.castToVar()));
2406
+ } else if (currentGoal.au()) {
2407
2407
  // Inline function 'kotlin.with' call
2408
- var $this$with = this.context_2;
2408
+ var $this$with = this.t3b_1;
2409
2409
  var currentGoalStruct = currentGoal.castToStruct();
2410
- var ruleSources = sequenceOf([$this$with.libraries_1.asTheory($this$with.unificator_1), $this$with.staticKb_1, $this$with.dynamicKb_1]);
2410
+ var ruleSources = sequenceOf([$this$with.v34_1.asTheory($this$with.u34_1), $this$with.x34_1, $this$with.y34_1]);
2411
2411
  var tmp_0;
2412
- if (currentGoalStruct.get_isTruth_zhwyo8_k$()) {
2412
+ if (currentGoalStruct.ru()) {
2413
2413
  var tmp_1;
2414
- if (currentGoalStruct.get_isTrue_ew6ti9_k$()) {
2414
+ if (currentGoalStruct.st()) {
2415
2415
  tmp_1 = _get_ignoreState__t4wl8y(this);
2416
2416
  } else {
2417
2417
  tmp_1 = _get_failureState__yid9tw_0(this);
@@ -2422,14 +2422,14 @@
2422
2422
  var cutLimit = computeCutLimit(this, $this$with, currentGoalStruct instanceof MagicCut);
2423
2423
  // Inline function 'kotlin.let' call
2424
2424
  var it = _get_ignoreState__t4wl8y(this);
2425
- tmp_0 = it.copy_12opsx_k$(it.context_2.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(this, it.context_2.choicePoints_1, cutLimit)));
2425
+ tmp_0 = it.b3a(it.q3a_1.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, performCut(this, it.q3a_1.k35_1, cutLimit)));
2426
2426
  } else {
2427
2427
  var tmp$ret$4;
2428
2428
  $l$block: {
2429
2429
  // Inline function 'kotlin.sequences.any' call
2430
- var _iterator__ex2g4s = ruleSources.iterator_jk1svi_k$();
2431
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2432
- var element = _iterator__ex2g4s.next_20eer_k$();
2430
+ var _iterator__ex2g4s = ruleSources.n();
2431
+ while (_iterator__ex2g4s.q()) {
2432
+ var element = _iterator__ex2g4s.r();
2433
2433
  if (element.containsHead(currentGoalStruct)) {
2434
2434
  tmp$ret$4 = true;
2435
2435
  break $l$block;
@@ -2440,10 +2440,10 @@
2440
2440
  if (tmp$ret$4) {
2441
2441
  var rules = cursor(flatMap(ruleSources, StateRuleSelection$computeNext$lambda(this, currentGoalStruct)));
2442
2442
  var tmp_2;
2443
- if (_get_isTailRecursive__h5eso7(this, this.context_2)) {
2444
- tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.context_2, rules));
2443
+ if (_get_isTailRecursive__h5eso7(this, this.t3b_1)) {
2444
+ tmp_2 = new StateRuleExecution(replaceWithChildAppendingRulesAndChoicePoints(this.t3b_1, rules));
2445
2445
  } else {
2446
- tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.context_2, rules));
2446
+ tmp_2 = new StateRuleExecution(createChildAppendingRulesAndChoicePoints(this.t3b_1, rules));
2447
2447
  }
2448
2448
  tmp_0 = tmp_2;
2449
2449
  } else {
@@ -2453,43 +2453,43 @@
2453
2453
  }
2454
2454
  tmp = tmp_0;
2455
2455
  } else {
2456
- tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.context_2, extractSignature(ensureNotNull(this.context_2.procedure_1)), Expected_CALLABLE_getInstance(), currentGoal));
2456
+ tmp = exceptionalState_0(this, Companion_instance_10.forGoal(this.t3b_1, extractSignature(ensureNotNull(this.t3b_1.t34_1)), Expected_CALLABLE_getInstance(), currentGoal));
2457
2457
  }
2458
2458
  return tmp;
2459
2459
  };
2460
- protoOf(StateRuleSelection).clone_vtwevb_k$ = function (context) {
2461
- return this.copy_12opsx_k$(context);
2460
+ protoOf(StateRuleSelection).w39 = function (context) {
2461
+ return this.b3a(context);
2462
2462
  };
2463
2463
  protoOf(StateRuleSelection).clone = function (context, $super) {
2464
2464
  return this.clone(context, ($super == null ? true : $super instanceof StateRuleSelection) ? $super : THROW_CCE());
2465
2465
  };
2466
- protoOf(StateRuleSelection).copy_12opsx_k$ = function (context) {
2466
+ protoOf(StateRuleSelection).b3a = function (context) {
2467
2467
  return new StateRuleSelection(context);
2468
2468
  };
2469
2469
  protoOf(StateRuleSelection).toString = function () {
2470
- return 'StateRuleSelection(context=' + this.context_2.toString() + ')';
2470
+ return 'StateRuleSelection(context=' + this.t3b_1.toString() + ')';
2471
2471
  };
2472
2472
  protoOf(StateRuleSelection).hashCode = function () {
2473
- return this.context_2.hashCode();
2473
+ return this.t3b_1.hashCode();
2474
2474
  };
2475
2475
  protoOf(StateRuleSelection).equals = function (other) {
2476
2476
  if (this === other)
2477
2477
  return true;
2478
2478
  if (!(other instanceof StateRuleSelection))
2479
2479
  return false;
2480
- if (!this.context_2.equals(other.context_2))
2480
+ if (!this.t3b_1.equals(other.t3b_1))
2481
2481
  return false;
2482
2482
  return true;
2483
2483
  };
2484
2484
  function appendRulesAndChoicePoints(_this__u8e3s4, rules) {
2485
2485
  var tmp;
2486
- if (rules.get_hasNext_csdx38_k$()) {
2487
- tmp = appendRules(_this__u8e3s4.choicePoints_1, rules.get_next_wor1vg_k$(), _this__u8e3s4);
2486
+ if (rules.gp()) {
2487
+ tmp = appendRules(_this__u8e3s4.k35_1, rules.ep(), _this__u8e3s4);
2488
2488
  } else {
2489
- tmp = appendRules(_this__u8e3s4.choicePoints_1, Companion_instance_7.empty(), _this__u8e3s4);
2489
+ tmp = appendRules(_this__u8e3s4.k35_1, Companion_instance_7.empty(), _this__u8e3s4);
2490
2490
  }
2491
2491
  var newChoicePointContext = tmp;
2492
- return _this__u8e3s4.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2492
+ return _this__u8e3s4.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, rules, VOID, VOID, VOID, newChoicePointContext);
2493
2493
  }
2494
2494
  function toGoals(_this__u8e3s4) {
2495
2495
  var tmp = unfoldGoals(_this__u8e3s4);
@@ -2497,8 +2497,8 @@
2497
2497
  }
2498
2498
  function unfoldGoals(_this__u8e3s4) {
2499
2499
  var tmp;
2500
- if (_this__u8e3s4.get_isTuple_zhv5m3_k$()) {
2501
- var tmp_0 = _this__u8e3s4.castToTuple().toSequence_lzjcyk_k$();
2500
+ if (_this__u8e3s4.fu()) {
2501
+ var tmp_0 = _this__u8e3s4.castToTuple().ks();
2502
2502
  tmp = flatMap(tmp_0, unfoldGoals$lambda);
2503
2503
  } else {
2504
2504
  tmp = sequenceOf_0(_this__u8e3s4);
@@ -2507,28 +2507,28 @@
2507
2507
  }
2508
2508
  function createChild(_this__u8e3s4, inferProcedureFromGoals) {
2509
2509
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2510
- var currentGoal = ensureNotNull(_this__u8e3s4.get_currentGoal_ntxmf7_k$()).castToStruct();
2510
+ var currentGoal = ensureNotNull(_this__u8e3s4.a39()).castToStruct();
2511
2511
  var tmp0_goals = toGoals(currentGoal);
2512
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.procedure_1;
2513
- var tmp2_depth = _this__u8e3s4.depth_1 + 1 | 0;
2512
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.t34_1;
2513
+ var tmp2_depth = _this__u8e3s4.m35_1 + 1 | 0;
2514
2514
  // Inline function 'kotlin.Long.plus' call
2515
- var this_0 = _this__u8e3s4.step_1;
2515
+ var this_0 = _this__u8e3s4.n35_1;
2516
2516
  var tmp3_step = add(this_0, fromInt(1));
2517
2517
  var tmp4_relevantVariables = emptySet();
2518
- return _this__u8e3s4.copy$default_dhd9rp_k$(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4, tmp2_depth, tmp3_step, tmp4_relevantVariables);
2518
+ return _this__u8e3s4.k36(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);
2519
2519
  }
2520
2520
  function toRequest(_this__u8e3s4, goal, signature, startTime) {
2521
- return new Request(signature, goal.get_argsList_cw1bs4_k$(), _this__u8e3s4, startTime);
2521
+ return new Request(signature, goal.vt(), _this__u8e3s4, startTime);
2522
2522
  }
2523
2523
  function appendPrimitivesAndChoicePoints(_this__u8e3s4, primitiveExecutions) {
2524
2524
  var tmp;
2525
- if (primitiveExecutions.get_hasNext_csdx38_k$()) {
2526
- tmp = appendPrimitives(_this__u8e3s4.choicePoints_1, primitiveExecutions.get_next_wor1vg_k$(), _this__u8e3s4);
2525
+ if (primitiveExecutions.gp()) {
2526
+ tmp = appendPrimitives(_this__u8e3s4.k35_1, primitiveExecutions.ep(), _this__u8e3s4);
2527
2527
  } else {
2528
- tmp = appendPrimitives(_this__u8e3s4.choicePoints_1, Companion_instance_7.empty(), _this__u8e3s4);
2528
+ tmp = appendPrimitives(_this__u8e3s4.k35_1, Companion_instance_7.empty(), _this__u8e3s4);
2529
2529
  }
2530
2530
  var newChoicePointContext = tmp;
2531
- return _this__u8e3s4.copy$default_dhd9rp_k$(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2531
+ return _this__u8e3s4.k36(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, primitiveExecutions, VOID, VOID, newChoicePointContext);
2532
2532
  }
2533
2533
  function replaceWithChildAppendingRulesAndChoicePoints(_this__u8e3s4, rules, inferProcedureFromGoals) {
2534
2534
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
@@ -2545,17 +2545,17 @@
2545
2545
  }
2546
2546
  function replaceWithChild(_this__u8e3s4, inferProcedureFromGoals) {
2547
2547
  inferProcedureFromGoals = inferProcedureFromGoals === VOID ? true : inferProcedureFromGoals;
2548
- var currentGoal = ensureNotNull(_this__u8e3s4.get_currentGoal_ntxmf7_k$()).castToStruct();
2548
+ var currentGoal = ensureNotNull(_this__u8e3s4.a39()).castToStruct();
2549
2549
  var tmp0_goals = toGoals(currentGoal);
2550
- var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.procedure_1;
2551
- var tmp2_depth = _this__u8e3s4.depth_1 + 1 | 0;
2550
+ var tmp1_procedure = inferProcedureFromGoals ? currentGoal : _this__u8e3s4.t34_1;
2551
+ var tmp2_depth = _this__u8e3s4.m35_1 + 1 | 0;
2552
2552
  // Inline function 'kotlin.Long.plus' call
2553
- var this_0 = _this__u8e3s4.step_1;
2553
+ var this_0 = _this__u8e3s4.n35_1;
2554
2554
  var tmp3_step = add(this_0, fromInt(1));
2555
- return _this__u8e3s4.copy$default_dhd9rp_k$(tmp1_procedure, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_goals, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_depth, tmp3_step);
2555
+ return _this__u8e3s4.k36(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);
2556
2556
  }
2557
2557
  function toGoals$lambda(it) {
2558
- return it.get_isVar_it73p0_k$() ? Companion_getInstance_1().of('call', [it]) : it;
2558
+ return it.qu() ? Companion_getInstance_1().of('call', [it]) : it;
2559
2559
  }
2560
2560
  function unfoldGoals$lambda(it) {
2561
2561
  return unfoldGoals(it);
@@ -2563,54 +2563,54 @@
2563
2563
  function ensureRules$lambda(it) {
2564
2564
  // Inline function 'kotlin.require' call
2565
2565
  // Inline function 'kotlin.require' call
2566
- if (!it.get_isRule_ew5ljj_k$()) {
2566
+ if (!it.cu()) {
2567
2567
  var message = 'Failed requirement.';
2568
2568
  throw IllegalArgumentException_init_$Create$(toString(message));
2569
2569
  }
2570
2570
  return it.castToRule();
2571
2571
  }
2572
2572
  function AbstractSolutionIterator(state) {
2573
- this.state_1 = state;
2574
- this.step_1 = 0n;
2573
+ this.u3b_1 = state;
2574
+ this.v3b_1 = 0n;
2575
2575
  }
2576
- protoOf(AbstractSolutionIterator).hasNext_bitz1p_k$ = function () {
2576
+ protoOf(AbstractSolutionIterator).q = function () {
2577
2577
  // Inline function 'kotlin.let' call
2578
- var it = this.state_1;
2579
- return !it.get_isEndState_4xsqt3_k$() || it.castToEndState().get_hasOpenAlternatives_bd9sv_k$();
2578
+ var it = this.u3b_1;
2579
+ return !it.u39() || it.castToEndState().r36();
2580
2580
  };
2581
- protoOf(AbstractSolutionIterator).next_20eer_k$ = function () {
2581
+ protoOf(AbstractSolutionIterator).r = function () {
2582
2582
  do {
2583
- var previousState = this.state_1;
2583
+ var previousState = this.u3b_1;
2584
2584
  var tmp = this;
2585
- var tmp_0 = this.state_1;
2586
- this.step_1 = add(this.step_1, get_ONE());
2587
- tmp.state_1 = this.computeNextState_8cwr8s_k$(tmp_0, this.step_1);
2588
- this.onStateTransition(previousState, this.state_1, this.step_1);
2585
+ var tmp_0 = this.u3b_1;
2586
+ this.v3b_1 = add(this.v3b_1, get_ONE());
2587
+ tmp.u3b_1 = this.w3b(tmp_0, this.v3b_1);
2588
+ this.onStateTransition(previousState, this.u3b_1, this.v3b_1);
2589
2589
  }
2590
- while (!this.state_1.get_isEndState_4xsqt3_k$());
2591
- return this.state_1.castToEndState().get_solution_74o532_k$();
2590
+ while (!this.u3b_1.u39());
2591
+ return this.u3b_1.castToEndState().j2j();
2592
2592
  };
2593
2593
  function SimpleSolutionIterator(state, onStateTransitionCallback) {
2594
2594
  AbstractSolutionIterator.call(this, state);
2595
- this.onStateTransitionCallback_1 = onStateTransitionCallback;
2595
+ this.z3b_1 = onStateTransitionCallback;
2596
2596
  }
2597
- protoOf(SimpleSolutionIterator).computeNextState_8cwr8s_k$ = function (state, step) {
2597
+ protoOf(SimpleSolutionIterator).w3b = function (state, step) {
2598
2598
  return state.next();
2599
2599
  };
2600
- protoOf(SimpleSolutionIterator).onStateTransition_3p71d1_k$ = function (source, destination, index) {
2601
- return this.onStateTransitionCallback_1(source, destination, index);
2600
+ protoOf(SimpleSolutionIterator).a3c = function (source, destination, index) {
2601
+ return this.z3b_1(source, destination, index);
2602
2602
  };
2603
2603
  protoOf(SimpleSolutionIterator).onStateTransition = function (source, destination, index) {
2604
- return this.onStateTransition_3p71d1_k$(source, destination, index);
2604
+ return this.a3c(source, destination, index);
2605
2605
  };
2606
2606
  function DefaultBuiltins() {
2607
2607
  DefaultBuiltins_instance = this;
2608
2608
  ExtensionLibrary.call(this, CommonBuiltins_getInstance());
2609
2609
  }
2610
- protoOf(DefaultBuiltins).get_additionalPrimitives_kt57lw_k$ = function () {
2610
+ protoOf(DefaultBuiltins).u2f = function () {
2611
2611
  return listOf(Throw_getInstance());
2612
2612
  };
2613
- protoOf(DefaultBuiltins).get_additionalRules_xfzx7d_k$ = function () {
2613
+ protoOf(DefaultBuiltins).t2f = function () {
2614
2614
  return listOf_0([Catch_getInstance(), Call_getInstance(), Comma_getInstance(), Cut_getInstance(), Fail_getInstance(), Success_getInstance()]);
2615
2615
  };
2616
2616
  var DefaultBuiltins_instance;
@@ -2624,12 +2624,12 @@
2624
2624
  var tmp_0;
2625
2625
  var tmp_1;
2626
2626
  if (isInterface(error, Struct)) {
2627
- tmp_1 = error.get_functor_75vgt2_k$() === 'error';
2627
+ tmp_1 = error.ut() === 'error';
2628
2628
  } else {
2629
2629
  tmp_1 = false;
2630
2630
  }
2631
2631
  if (tmp_1) {
2632
- var containsArg = error.get_arity_iosiic_k$();
2632
+ var containsArg = error.ot();
2633
2633
  tmp_0 = 1 <= containsArg ? containsArg <= 2 : false;
2634
2634
  } else {
2635
2635
  tmp_0 = false;
@@ -2637,25 +2637,25 @@
2637
2637
  if (tmp_0) {
2638
2638
  var tmp_2 = Companion_instance_14;
2639
2639
  var tmp_3 = error.get(0);
2640
- tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.get_arity_iosiic_k$() > 1 ? error.get(1) : null);
2640
+ tmp = tmp_2.of(VOID, VOID, context, isInterface(tmp_3, Struct) ? tmp_3 : THROW_CCE(), error.ot() > 1 ? error.get(1) : null);
2641
2641
  } else {
2642
- tmp = Companion_instance_13.of$default_vl9w5n_k$(error, context);
2642
+ tmp = Companion_instance_13.g26(error, context);
2643
2643
  }
2644
2644
  return tmp;
2645
2645
  }
2646
2646
  function Throw() {
2647
2647
  Throw_instance = this;
2648
2648
  UnaryPredicate.call(this, 'throw');
2649
- this.help_1 = '`throw(+Ball)`\n\nRaises `Ball` as an exception: resolution unwinds to the innermost enclosing `catch/3` whose catcher unifies with `Ball`, or halts the query if none does. A ball shaped like `error(Type, Context)` (or `error(Type)`) is raised as the standard error of that `Type`, any other term as a user-defined exception carrying it. `Ball` must be instantiated, otherwise an instantiation error is raised instead.\n\n**Examples**\n\n```prolog\n?- catch(throw(my_error), E, true).\nE = my_error.\n\n?- throw(error(type_error(integer, a), my_context)).\nthrows error(type_error(integer, a), _).\n\n?- throw(_).\nthrows error(instantiation_error, _).\n```';
2649
+ this.i3c_1 = '`throw(+Ball)`\n\nRaises `Ball` as an exception: resolution unwinds to the innermost enclosing `catch/3` whose catcher unifies with `Ball`, or halts the query if none does. A ball shaped like `error(Type, Context)` (or `error(Type)`) is raised as the standard error of that `Type`, any other term as a user-defined exception carrying it. `Ball` must be instantiated, otherwise an instantiation error is raised instead.\n\n**Examples**\n\n```prolog\n?- catch(throw(my_error), E, true).\nE = my_error.\n\n?- throw(error(type_error(integer, a), my_context)).\nthrows error(type_error(integer, a), _).\n\n?- throw(_).\nthrows error(instantiation_error, _).\n```';
2650
2650
  }
2651
- protoOf(Throw).get_help_won7nu_k$ = function () {
2652
- return this.help_1;
2651
+ protoOf(Throw).f1u = function () {
2652
+ return this.i3c_1;
2653
2653
  };
2654
- protoOf(Throw).computeAll_ulc70n_k$ = function (_this__u8e3s4, first) {
2655
- return sequenceOf_0(Companion_getInstance_4().ensuringAllArgumentsAreInstantiated_60kzw2_k$(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.get_c1px32_k$(0)), VOID, []));
2654
+ protoOf(Throw).q2t = function (_this__u8e3s4, first) {
2655
+ return sequenceOf_0(Companion_getInstance_4().w2g(_this__u8e3s4).replyException(handleError(this, _this__u8e3s4.context, _this__u8e3s4.arguments.u(0)), VOID, []));
2656
2656
  };
2657
- protoOf(Throw).computeAll_1ge9ky_k$ = function (_this__u8e3s4, first) {
2658
- return this.computeAll_ulc70n_k$(_this__u8e3s4, first);
2657
+ protoOf(Throw).a2k = function (_this__u8e3s4, first) {
2658
+ return this.q2t(_this__u8e3s4, first);
2659
2659
  };
2660
2660
  var Throw_instance;
2661
2661
  function Throw_getInstance() {
@@ -2666,15 +2666,15 @@
2666
2666
  function Call() {
2667
2667
  Call_instance = this;
2668
2668
  RuleWrapper_init_$Init$('call', 1, VOID, this);
2669
- this.help_1 = '`call(+Goal)`\n\nCalls `Goal`, which allows executing terms built or bound at runtime. `Goal` must be callable: a variable raises an instantiation error, a number or other non-callable term a type error (`callable`). `call/1` is opaque to cut: a `!` inside `Goal` only prunes the choice points created by `Goal` itself.\n\n**Examples**\n\n```prolog\n?- G = member(X, [a, b]), call(G).\nX = a ; X = b.\n\n?- findall(X, (member(X, [1, 2, 3]), call(!)), L).\nL = [1, 2, 3].\n\n?- call(1).\nthrows error(type_error(callable, 1), _).\n```';
2669
+ this.m3c_1 = '`call(+Goal)`\n\nCalls `Goal`, which allows executing terms built or bound at runtime. `Goal` must be callable: a variable raises an instantiation error, a number or other non-callable term a type error (`callable`). `call/1` is opaque to cut: a `!` inside `Goal` only prunes the choice points created by `Goal` itself.\n\n**Examples**\n\n```prolog\n?- G = member(X, [a, b]), call(G).\nX = a ; X = b.\n\n?- findall(X, (member(X, [1, 2, 3]), call(!)), L).\nL = [1, 2, 3].\n\n?- call(1).\nthrows error(type_error(callable, 1), _).\n```';
2670
2670
  }
2671
- protoOf(Call).get_help_won7nu_k$ = function () {
2672
- return this.help_1;
2671
+ protoOf(Call).f1u = function () {
2672
+ return this.m3c_1;
2673
2673
  };
2674
- protoOf(Call).get_head_btpmqe_k$ = function (_this__u8e3s4) {
2674
+ protoOf(Call).e2k = function (_this__u8e3s4) {
2675
2675
  return listOf(_this__u8e3s4.varOf('G'));
2676
2676
  };
2677
- protoOf(Call).get_body_3ji99k_k$ = function (_this__u8e3s4) {
2677
+ protoOf(Call).f2k = function (_this__u8e3s4) {
2678
2678
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2679
2679
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2680
2680
  return _this__u8e3s4.tupleOf([_this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('G')]), _this__u8e3s4.varOf('G')]);
@@ -2688,15 +2688,15 @@
2688
2688
  function Catch() {
2689
2689
  Catch_instance = this;
2690
2690
  RuleWrapper_init_$Init$('catch', 3, VOID, this);
2691
- this.help_1 = '`catch(+Goal, ?Catcher, +Recovery)`\n\nCalls `Goal`, behaving exactly like `call/1` (including backtracking into `Goal`) as long as no exception is raised. If proving `Goal` raises an exception, via `throw/1` or a built-in error, whose ball unifies with `Catcher`, the bindings and choice points created by `Goal` are discarded and `Recovery` is called instead; otherwise the exception propagates to the outer `catch/3` calls.\n\n**Examples**\n\n```prolog\n?- catch(X is 1 / 0, error(E, _), true).\nE = evaluation_error(zero_divisor).\n\n?- catch(throw(oops), oops, X = recovered).\nX = recovered.\n\n?- catch(member(X, [1, 2]), _, true).\nX = 1 ; X = 2.\n\n?- catch(catch(throw(oops), other, true), E, true).\nE = oops.\n```';
2691
+ this.q3c_1 = '`catch(+Goal, ?Catcher, +Recovery)`\n\nCalls `Goal`, behaving exactly like `call/1` (including backtracking into `Goal`) as long as no exception is raised. If proving `Goal` raises an exception, via `throw/1` or a built-in error, whose ball unifies with `Catcher`, the bindings and choice points created by `Goal` are discarded and `Recovery` is called instead; otherwise the exception propagates to the outer `catch/3` calls.\n\n**Examples**\n\n```prolog\n?- catch(X is 1 / 0, error(E, _), true).\nE = evaluation_error(zero_divisor).\n\n?- catch(throw(oops), oops, X = recovered).\nX = recovered.\n\n?- catch(member(X, [1, 2]), _, true).\nX = 1 ; X = 2.\n\n?- catch(catch(throw(oops), other, true), E, true).\nE = oops.\n```';
2692
2692
  }
2693
- protoOf(Catch).get_help_won7nu_k$ = function () {
2694
- return this.help_1;
2693
+ protoOf(Catch).f1u = function () {
2694
+ return this.q3c_1;
2695
2695
  };
2696
- protoOf(Catch).get_head_btpmqe_k$ = function (_this__u8e3s4) {
2696
+ protoOf(Catch).e2k = function (_this__u8e3s4) {
2697
2697
  return listOf_0([_this__u8e3s4.varOf('G'), _this__u8e3s4.varOf('E'), _this__u8e3s4.varOf('C')]);
2698
2698
  };
2699
- protoOf(Catch).get_body_3ji99k_k$ = function (_this__u8e3s4) {
2699
+ protoOf(Catch).f2k = function (_this__u8e3s4) {
2700
2700
  return _this__u8e3s4.varOf('G');
2701
2701
  };
2702
2702
  var Catch_instance;
@@ -2708,15 +2708,15 @@
2708
2708
  function Comma() {
2709
2709
  Comma_instance = this;
2710
2710
  RuleWrapper_init_$Init$(',', 2, VOID, this);
2711
- this.help_1 = '`(+First, +Second)`\n\nConjunction: proves `First` and then `Second`, backtracking into `First` for further solutions whenever `Second` fails. Conjunction is transparent to cut: a `!` occurring in either conjunct cuts the clause in which the conjunction appears.\n\n**Examples**\n\n```prolog\n?- X = 1, Y is X + 1.\nX = 1, Y = 2.\n\n?- member(X, [1, 2, 3]), X > 1.\nX = 2 ; X = 3.\n\n?- X = 1, X = 2.\nno.\n```';
2711
+ this.u3c_1 = '`(+First, +Second)`\n\nConjunction: proves `First` and then `Second`, backtracking into `First` for further solutions whenever `Second` fails. Conjunction is transparent to cut: a `!` occurring in either conjunct cuts the clause in which the conjunction appears.\n\n**Examples**\n\n```prolog\n?- X = 1, Y is X + 1.\nX = 1, Y = 2.\n\n?- member(X, [1, 2, 3]), X > 1.\nX = 2 ; X = 3.\n\n?- X = 1, X = 2.\nno.\n```';
2712
2712
  }
2713
- protoOf(Comma).get_help_won7nu_k$ = function () {
2714
- return this.help_1;
2713
+ protoOf(Comma).f1u = function () {
2714
+ return this.u3c_1;
2715
2715
  };
2716
- protoOf(Comma).get_head_btpmqe_k$ = function (_this__u8e3s4) {
2716
+ protoOf(Comma).e2k = function (_this__u8e3s4) {
2717
2717
  return listOf_0([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2718
2718
  };
2719
- protoOf(Comma).get_body_3ji99k_k$ = function (_this__u8e3s4) {
2719
+ protoOf(Comma).f2k = function (_this__u8e3s4) {
2720
2720
  return _this__u8e3s4.tupleOf([_this__u8e3s4.varOf('A'), _this__u8e3s4.varOf('B')]);
2721
2721
  };
2722
2722
  var Comma_instance;
@@ -2728,10 +2728,10 @@
2728
2728
  function Cut() {
2729
2729
  Cut_instance = this;
2730
2730
  RuleWrapper_init_$Init$('!', 0, VOID, this);
2731
- this.help_1 = '`!`\n\nCut: always succeeds, committing to the choices made since the current clause was selected. The remaining alternative clauses of the predicate being proved, and the remaining alternatives of the goals at the left of `!` in the clause body, are discarded. Within `call/1`, `\\+/1`, `findall/3` and similar meta-calls, cut is local to the called goal.\n\n**Examples**\n\n```prolog\n?- assertz((first(X) :- member(X, [a, b, c]), !)), findall(X, first(X), L).\nL = [a].\n\n?- findall(X, (member(X, [a, b, c]), !), L).\nL = [a].\n\n?- findall(X, (member(X, [a, b, c]), call(!)), L).\nL = [a, b, c].\n```';
2731
+ this.y3c_1 = '`!`\n\nCut: always succeeds, committing to the choices made since the current clause was selected. The remaining alternative clauses of the predicate being proved, and the remaining alternatives of the goals at the left of `!` in the clause body, are discarded. Within `call/1`, `\\+/1`, `findall/3` and similar meta-calls, cut is local to the called goal.\n\n**Examples**\n\n```prolog\n?- assertz((first(X) :- member(X, [a, b, c]), !)), findall(X, first(X), L).\nL = [a].\n\n?- findall(X, (member(X, [a, b, c]), !), L).\nL = [a].\n\n?- findall(X, (member(X, [a, b, c]), call(!)), L).\nL = [a, b, c].\n```';
2732
2732
  }
2733
- protoOf(Cut).get_help_won7nu_k$ = function () {
2734
- return this.help_1;
2733
+ protoOf(Cut).f1u = function () {
2734
+ return this.y3c_1;
2735
2735
  };
2736
2736
  var Cut_instance;
2737
2737
  function Cut_getInstance() {
@@ -2743,7 +2743,7 @@
2743
2743
  Fail_instance = this;
2744
2744
  NegationAsFailure.call(this);
2745
2745
  }
2746
- protoOf(Fail).get_body_3ji99k_k$ = function (_this__u8e3s4) {
2746
+ protoOf(Fail).f2k = function (_this__u8e3s4) {
2747
2747
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
2748
2748
  var tmp$ret$0 = EnsureExecutable_getInstance().signature.name;
2749
2749
  var tmp = _this__u8e3s4.structOf(tmp$ret$0, [_this__u8e3s4.varOf('X')]);
@@ -2761,7 +2761,7 @@
2761
2761
  Success_instance = this;
2762
2762
  NegationAsFailure.call(this);
2763
2763
  }
2764
- protoOf(Success).get_body_3ji99k_k$ = function (_this__u8e3s4) {
2764
+ protoOf(Success).f2k = function (_this__u8e3s4) {
2765
2765
  return _this__u8e3s4.truthOf(true);
2766
2766
  };
2767
2767
  var Success_instance;
@@ -2771,8 +2771,8 @@
2771
2771
  return Success_instance;
2772
2772
  }
2773
2773
  function Companion_1() {
2774
- this.FUNCTOR_1 = '\\+';
2775
- this.ARITY_1 = 1;
2774
+ this.l3d_1 = '\\+';
2775
+ this.m3d_1 = 1;
2776
2776
  }
2777
2777
  var Companion_instance_17;
2778
2778
  function Companion_getInstance_7() {
@@ -2780,12 +2780,12 @@
2780
2780
  }
2781
2781
  function NegationAsFailure() {
2782
2782
  RuleWrapper_init_$Init$('\\+', 1, VOID, this);
2783
- this.help_1 = '`\\+ +Goal`\n\nNegation as failure: succeeds if `Goal` has no solution, and fails as soon as `Goal` has one. It never binds the variables of `Goal`, and is equivalent to `not/1`. `Goal` must be callable, otherwise an instantiation or type error is raised.\n\n**Examples**\n\n```prolog\n?- \\+ member(d, [a, b, c]).\nyes.\n\n?- \\+ X = 1.\nno.\n\n?- \\+ (X = 1, X = 2), var(X).\nyes.\n\n?- \\+ 3.\nthrows error(type_error(callable, 3), _).\n```';
2783
+ this.g3d_1 = '`\\+ +Goal`\n\nNegation as failure: succeeds if `Goal` has no solution, and fails as soon as `Goal` has one. It never binds the variables of `Goal`, and is equivalent to `not/1`. `Goal` must be callable, otherwise an instantiation or type error is raised.\n\n**Examples**\n\n```prolog\n?- \\+ member(d, [a, b, c]).\nyes.\n\n?- \\+ X = 1.\nno.\n\n?- \\+ (X = 1, X = 2), var(X).\nyes.\n\n?- \\+ 3.\nthrows error(type_error(callable, 3), _).\n```';
2784
2784
  }
2785
- protoOf(NegationAsFailure).get_help_won7nu_k$ = function () {
2786
- return this.help_1;
2785
+ protoOf(NegationAsFailure).f1u = function () {
2786
+ return this.g3d_1;
2787
2787
  };
2788
- protoOf(NegationAsFailure).get_head_btpmqe_k$ = function (_this__u8e3s4) {
2788
+ protoOf(NegationAsFailure).e2k = function (_this__u8e3s4) {
2789
2789
  return listOf(_this__u8e3s4.varOf('X'));
2790
2790
  };
2791
2791
  //region block: post-declaration
@@ -2798,38 +2798,38 @@
2798
2798
  protoOf(PrologExecutionContext).createSolver = createSolver;
2799
2799
  protoOf(PrologExecutionContext).createMutableSolver = createMutableSolver;
2800
2800
  protoOf(PrologExecutionContext).update = update;
2801
- protoOf(PrologExecutionContext).get_standardInput_yibe3g_k$ = get_standardInput;
2802
- protoOf(PrologExecutionContext).get_standardOutput_1cxkgp_k$ = get_standardOutput;
2803
- protoOf(PrologExecutionContext).get_standardError_ykfz6m_k$ = get_standardError;
2804
- protoOf(PrologExecutionContext).get_warnings_nkdx40_k$ = get_warnings;
2805
- protoOf(PrologExecutionContext).get_endTime_pbcuqp_k$ = get_endTime;
2806
- protoOf(PrologExecutionContext).get_remainingTime_6e6md6_k$ = get_remainingTime;
2807
- protoOf(PrologExecutionContext).get_elapsedTime_5vfaps_k$ = get_elapsedTime;
2801
+ protoOf(PrologExecutionContext).a1v = get_standardInput;
2802
+ protoOf(PrologExecutionContext).b1v = get_standardOutput;
2803
+ protoOf(PrologExecutionContext).c1v = get_standardError;
2804
+ protoOf(PrologExecutionContext).d1v = get_warnings;
2805
+ protoOf(PrologExecutionContext).h1u = get_endTime;
2806
+ protoOf(PrologExecutionContext).j1u = get_remainingTime;
2807
+ protoOf(PrologExecutionContext).k1u = get_elapsedTime;
2808
2808
  protoOf(PrologSolverFactory).rawSolverOf = rawSolverOf;
2809
2809
  protoOf(PrologSolverFactory).solverOf = solverOf;
2810
2810
  protoOf(PrologSolverFactory).mutableSolverOf = mutableSolverOf;
2811
2811
  protoOf(PrologSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
2812
2812
  protoOf(PrologSolverFactory).newBuilder = newBuilder;
2813
- protoOf(PrologSolverFactory).get_defaultRuntime_l4gjfk_k$ = get_defaultRuntime;
2814
- protoOf(PrologSolverFactory).get_defaultUnificator_ub4hy6_k$ = get_defaultUnificator;
2815
- protoOf(PrologSolverFactory).get_defaultFlags_6lgyr5_k$ = get_defaultFlags;
2816
- protoOf(PrologSolverFactory).get_defaultStaticKb_njv4d9_k$ = get_defaultStaticKb;
2817
- protoOf(PrologSolverFactory).get_defaultDynamicKb_ctuo3i_k$ = get_defaultDynamicKb;
2818
- protoOf(PrologSolverFactory).get_defaultInputChannel_2ryi7j_k$ = get_defaultInputChannel;
2819
- protoOf(PrologSolverFactory).get_defaultOutputChannel_bnwwa_k$ = get_defaultOutputChannel;
2820
- protoOf(PrologSolverFactory).get_defaultErrorChannel_ezdmst_k$ = get_defaultErrorChannel;
2821
- protoOf(PrologSolverFactory).get_defaultWarningsChannel_rdf4c_k$ = get_defaultWarningsChannel;
2822
- protoOf(PrologSolverFactory).solverWithDefaultBuiltins_tcha89_k$ = solverWithDefaultBuiltins;
2813
+ protoOf(PrologSolverFactory).p1x = get_defaultRuntime;
2814
+ protoOf(PrologSolverFactory).r1x = get_defaultUnificator;
2815
+ protoOf(PrologSolverFactory).s1x = get_defaultFlags;
2816
+ protoOf(PrologSolverFactory).v1x = get_defaultStaticKb;
2817
+ protoOf(PrologSolverFactory).w1x = get_defaultDynamicKb;
2818
+ protoOf(PrologSolverFactory).x1x = get_defaultInputChannel;
2819
+ protoOf(PrologSolverFactory).y1x = get_defaultOutputChannel;
2820
+ protoOf(PrologSolverFactory).z1x = get_defaultErrorChannel;
2821
+ protoOf(PrologSolverFactory).a1y = get_defaultWarningsChannel;
2822
+ protoOf(PrologSolverFactory).i1y = solverWithDefaultBuiltins;
2823
2823
  protoOf(PrologSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
2824
- protoOf(PrologSolverFactory).mutableSolverWithDefaultBuiltins_bc3d81_k$ = mutableSolverWithDefaultBuiltins;
2824
+ protoOf(PrologSolverFactory).k1y = mutableSolverWithDefaultBuiltins;
2825
2825
  protoOf(PrologSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
2826
- protoOf(AbstractState).get_isEndState_4xsqt3_k$ = get_isEndState;
2826
+ protoOf(AbstractState).u39 = get_isEndState;
2827
2827
  protoOf(AbstractState).asEndState = asEndState;
2828
2828
  protoOf(AbstractState).castToEndState = castToEndState;
2829
2829
  protoOf(AbstractState).clone = clone;
2830
- protoOf(AbstractEndState).get_isEndState_4xsqt3_k$ = get_isEndState_0;
2831
- protoOf(AbstractEndState).asEndState_tsnzug_k$ = asEndState_0;
2832
- protoOf(AbstractEndState).get_hasOpenAlternatives_bd9sv_k$ = get_hasOpenAlternatives;
2830
+ protoOf(AbstractEndState).u39 = get_isEndState_0;
2831
+ protoOf(AbstractEndState).v39 = asEndState_0;
2832
+ protoOf(AbstractEndState).r36 = get_hasOpenAlternatives;
2833
2833
  //endregion
2834
2834
  //region block: init
2835
2835
  PrologSolverFactory_instance = new PrologSolverFactory();