@tuprolog/2p-full 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/2p-bdd.js +147 -147
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +2583 -2583
  4. package/2p-core.js.map +1 -1
  5. package/2p-io-lib.js +844 -844
  6. package/2p-io-lib.js.map +1 -1
  7. package/2p-oop-lib.js +898 -898
  8. package/2p-oop-lib.js.map +1 -1
  9. package/2p-parser-core.js +113 -113
  10. package/2p-parser-core.js.map +1 -1
  11. package/2p-parser-impl.js +1487 -1487
  12. package/2p-parser-impl.js.map +1 -1
  13. package/2p-parser-theory.js +78 -78
  14. package/2p-parser-theory.js.map +1 -1
  15. package/2p-repl.js +98 -98
  16. package/2p-repl.js.map +1 -1
  17. package/2p-solve-plp.js +1 -1
  18. package/2p-solve-plp.js.map +1 -1
  19. package/2p-solve-problog.js +1298 -1298
  20. package/2p-solve-problog.js.map +1 -1
  21. package/2p-solve-prolog.js +913 -913
  22. package/2p-solve-prolog.js.map +1 -1
  23. package/2p-solve.js +4266 -4266
  24. package/2p-solve.js.map +1 -1
  25. package/2p-theory.js +1613 -1613
  26. package/2p-theory.js.map +1 -1
  27. package/2p-unify.js +333 -333
  28. package/2p-unify.js.map +1 -1
  29. package/2p-utils.js +388 -388
  30. package/2p-utils.js.map +1 -1
  31. package/clikt-clikt-mordant.js +88 -88
  32. package/clikt-clikt-mordant.js.map +1 -1
  33. package/clikt-clikt.js +2034 -2034
  34. package/clikt-clikt.js.map +1 -1
  35. package/colormath-root-colormath.js +456 -456
  36. package/colormath-root-colormath.js.map +1 -1
  37. package/kotlin-kotlin-stdlib.js +2405 -2405
  38. package/kotlin-kotlin-stdlib.js.map +1 -1
  39. package/kt-math.js +1454 -1454
  40. package/kt-math.js.map +1 -1
  41. package/mordant-mordant.js +1791 -1791
  42. package/mordant-mordant.js.map +1 -1
  43. package/okio-parent-okio-nodefilesystem.js +39 -39
  44. package/okio-parent-okio-nodefilesystem.js.map +1 -1
  45. package/okio-parent-okio.js +650 -650
  46. package/okio-parent-okio.js.map +1 -1
  47. package/package.json +1 -1
@@ -219,7 +219,7 @@
219
219
  function get_probabilityOrNull() {
220
220
  var tmp;
221
221
  try {
222
- tmp = this.get_probability_7g5yr8_k$();
222
+ tmp = this.l3n();
223
223
  } catch ($p) {
224
224
  var tmp_0;
225
225
  if ($p instanceof Error) {
@@ -265,163 +265,163 @@
265
265
  //endregion
266
266
  function MutableProblogSolver(solver) {
267
267
  ProblogSolver.call(this, solver);
268
- this.solver_2 = solver;
268
+ this.g3l_1 = solver;
269
269
  }
270
- protoOf(MutableProblogSolver).loadLibrary_q1n5nu_k$ = function (library) {
271
- this.solver_2.loadLibrary(library);
270
+ protoOf(MutableProblogSolver).z3d = function (library) {
271
+ this.g3l_1.loadLibrary(library);
272
272
  };
273
273
  protoOf(MutableProblogSolver).loadLibrary = function (library) {
274
- return this.loadLibrary_q1n5nu_k$(library);
274
+ return this.z3d(library);
275
275
  };
276
- protoOf(MutableProblogSolver).unloadLibrary_v0n1oj_k$ = function (library) {
277
- this.solver_2.unloadLibrary(library);
276
+ protoOf(MutableProblogSolver).a3e = function (library) {
277
+ this.g3l_1.unloadLibrary(library);
278
278
  };
279
279
  protoOf(MutableProblogSolver).unloadLibrary = function (library) {
280
- return this.unloadLibrary_v0n1oj_k$(library);
280
+ return this.a3e(library);
281
281
  };
282
- protoOf(MutableProblogSolver).setLibraries_6nxae9_k$ = function (libraries) {
283
- this.solver_2.setLibraries(libraries);
282
+ protoOf(MutableProblogSolver).b3e = function (libraries) {
283
+ this.g3l_1.setLibraries(libraries);
284
284
  };
285
285
  protoOf(MutableProblogSolver).setLibraries = function (libraries) {
286
- return this.setLibraries_6nxae9_k$(libraries);
286
+ return this.b3e(libraries);
287
287
  };
288
- protoOf(MutableProblogSolver).loadStaticKb_2i4jai_k$ = function (theory) {
289
- this.solver_2.loadStaticKb(Companion_instance_10.ofIterable(this.solver_2.get_unificator_xw6v3j_k$(), theory));
288
+ protoOf(MutableProblogSolver).c3e = function (theory) {
289
+ this.g3l_1.loadStaticKb(Companion_instance_10.ofIterable(this.g3l_1.v1n(), theory));
290
290
  };
291
291
  protoOf(MutableProblogSolver).loadStaticKb = function (theory) {
292
- return this.loadStaticKb_2i4jai_k$(theory);
292
+ return this.c3e(theory);
293
293
  };
294
- protoOf(MutableProblogSolver).appendStaticKb_uqqmam_k$ = function (theory) {
295
- this.solver_2.appendStaticKb(Companion_instance_10.ofIterable(this.solver_2.get_unificator_xw6v3j_k$(), theory));
294
+ protoOf(MutableProblogSolver).d3e = function (theory) {
295
+ this.g3l_1.appendStaticKb(Companion_instance_10.ofIterable(this.g3l_1.v1n(), theory));
296
296
  };
297
297
  protoOf(MutableProblogSolver).appendStaticKb = function (theory) {
298
- return this.appendStaticKb_uqqmam_k$(theory);
298
+ return this.d3e(theory);
299
299
  };
300
- protoOf(MutableProblogSolver).resetStaticKb_rhuuis_k$ = function () {
301
- this.solver_2.resetStaticKb();
300
+ protoOf(MutableProblogSolver).e3e = function () {
301
+ this.g3l_1.resetStaticKb();
302
302
  };
303
303
  protoOf(MutableProblogSolver).resetStaticKb = function () {
304
- return this.resetStaticKb_rhuuis_k$();
304
+ return this.e3e();
305
305
  };
306
- protoOf(MutableProblogSolver).loadDynamicKb_5wazkf_k$ = function (theory) {
307
- this.solver_2.loadDynamicKb(Companion_instance_10.ofIterable(this.solver_2.get_unificator_xw6v3j_k$(), theory));
306
+ protoOf(MutableProblogSolver).f3e = function (theory) {
307
+ this.g3l_1.loadDynamicKb(Companion_instance_10.ofIterable(this.g3l_1.v1n(), theory));
308
308
  };
309
309
  protoOf(MutableProblogSolver).loadDynamicKb = function (theory) {
310
- return this.loadDynamicKb_5wazkf_k$(theory);
310
+ return this.f3e(theory);
311
311
  };
312
- protoOf(MutableProblogSolver).appendDynamicKb_sxywyj_k$ = function (theory) {
313
- this.solver_2.appendDynamicKb(Companion_instance_10.ofIterable(this.solver_2.get_unificator_xw6v3j_k$(), theory));
312
+ protoOf(MutableProblogSolver).g3e = function (theory) {
313
+ this.g3l_1.appendDynamicKb(Companion_instance_10.ofIterable(this.g3l_1.v1n(), theory));
314
314
  };
315
315
  protoOf(MutableProblogSolver).appendDynamicKb = function (theory) {
316
- return this.appendDynamicKb_sxywyj_k$(theory);
316
+ return this.g3e(theory);
317
317
  };
318
- protoOf(MutableProblogSolver).resetDynamicKb_ja5swn_k$ = function () {
319
- this.solver_2.resetDynamicKb();
318
+ protoOf(MutableProblogSolver).h3e = function () {
319
+ this.g3l_1.resetDynamicKb();
320
320
  };
321
321
  protoOf(MutableProblogSolver).resetDynamicKb = function () {
322
- return this.resetDynamicKb_ja5swn_k$();
322
+ return this.h3e();
323
323
  };
324
- protoOf(MutableProblogSolver).assertA_tusqwa_k$ = function (clause) {
325
- this.solver_2.assertA(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [clause]).get_clauses_fdta0r_k$()));
324
+ protoOf(MutableProblogSolver).h1p = function (clause) {
325
+ this.g3l_1.assertA(first(Companion_instance_10.of(this.g3l_1.v1n(), [clause]).f1o()));
326
326
  };
327
327
  protoOf(MutableProblogSolver).assertA = function (clause) {
328
- return this.assertA_tusqwa_k$(clause);
328
+ return this.h1p(clause);
329
329
  };
330
- protoOf(MutableProblogSolver).assertAFact_a3ln65_k$ = function (fact) {
331
- this.solver_2.assertA(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [Companion_instance.of(fact)]).get_clauses_fdta0r_k$()));
330
+ protoOf(MutableProblogSolver).i3e = function (fact) {
331
+ this.g3l_1.assertA(first(Companion_instance_10.of(this.g3l_1.v1n(), [Companion_instance.of(fact)]).f1o()));
332
332
  };
333
333
  protoOf(MutableProblogSolver).assertAFact = function (fact) {
334
- return this.assertAFact_a3ln65_k$(fact);
334
+ return this.i3e(fact);
335
335
  };
336
- protoOf(MutableProblogSolver).assertZ_zg84ar_k$ = function (clause) {
337
- this.solver_2.assertZ(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [clause]).get_clauses_fdta0r_k$()));
336
+ protoOf(MutableProblogSolver).i1o = function (clause) {
337
+ this.g3l_1.assertZ(first(Companion_instance_10.of(this.g3l_1.v1n(), [clause]).f1o()));
338
338
  };
339
339
  protoOf(MutableProblogSolver).assertZ = function (clause) {
340
- return this.assertZ_zg84ar_k$(clause);
340
+ return this.i1o(clause);
341
341
  };
342
- protoOf(MutableProblogSolver).assertZFact_vgt1ys_k$ = function (fact) {
343
- this.solver_2.assertA(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [Companion_instance.of(fact)]).get_clauses_fdta0r_k$()));
342
+ protoOf(MutableProblogSolver).j3e = function (fact) {
343
+ this.g3l_1.assertA(first(Companion_instance_10.of(this.g3l_1.v1n(), [Companion_instance.of(fact)]).f1o()));
344
344
  };
345
345
  protoOf(MutableProblogSolver).assertZFact = function (fact) {
346
- return this.assertZFact_vgt1ys_k$(fact);
346
+ return this.j3e(fact);
347
347
  };
348
- protoOf(MutableProblogSolver).retract_hfhq2o_k$ = function (clause) {
349
- return this.solver_2.retract(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [clause]).get_clauses_fdta0r_k$()));
348
+ protoOf(MutableProblogSolver).b1w = function (clause) {
349
+ return this.g3l_1.retract(first(Companion_instance_10.of(this.g3l_1.v1n(), [clause]).f1o()));
350
350
  };
351
351
  protoOf(MutableProblogSolver).retract = function (clause) {
352
- return this.retract_hfhq2o_k$(clause);
352
+ return this.b1w(clause);
353
353
  };
354
- protoOf(MutableProblogSolver).retractByHead_iva4y4_k$ = function (fact) {
355
- return this.solver_2.retract(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [Companion_instance.of(fact)]).get_clauses_fdta0r_k$()));
354
+ protoOf(MutableProblogSolver).c1w = function (fact) {
355
+ return this.g3l_1.retract(first(Companion_instance_10.of(this.g3l_1.v1n(), [Companion_instance.of(fact)]).f1o()));
356
356
  };
357
357
  protoOf(MutableProblogSolver).retractByHead = function (fact) {
358
- return this.retractByHead_iva4y4_k$(fact);
358
+ return this.c1w(fact);
359
359
  };
360
- protoOf(MutableProblogSolver).retractAll_ggzq75_k$ = function (clause) {
361
- return this.solver_2.retractAll(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [clause]).get_clauses_fdta0r_k$()));
360
+ protoOf(MutableProblogSolver).n1o = function (clause) {
361
+ return this.g3l_1.retractAll(first(Companion_instance_10.of(this.g3l_1.v1n(), [clause]).f1o()));
362
362
  };
363
363
  protoOf(MutableProblogSolver).retractAll = function (clause) {
364
- return this.retractAll_ggzq75_k$(clause);
364
+ return this.n1o(clause);
365
365
  };
366
- protoOf(MutableProblogSolver).retractAllBeHead_dm84sf_k$ = function (fact) {
367
- return this.solver_2.retractAll(first(Companion_instance_10.of(this.solver_2.get_unificator_xw6v3j_k$(), [Companion_instance.of(fact)]).get_clauses_fdta0r_k$()));
366
+ protoOf(MutableProblogSolver).k3e = function (fact) {
367
+ return this.g3l_1.retractAll(first(Companion_instance_10.of(this.g3l_1.v1n(), [Companion_instance.of(fact)]).f1o()));
368
368
  };
369
369
  protoOf(MutableProblogSolver).retractAllBeHead = function (fact) {
370
- return this.retractAllBeHead_dm84sf_k$(fact);
370
+ return this.k3e(fact);
371
371
  };
372
- protoOf(MutableProblogSolver).setFlag_38uvxd_k$ = function (name, value) {
373
- this.solver_2.setFlag(name, value);
372
+ protoOf(MutableProblogSolver).l3e = function (name, value) {
373
+ this.g3l_1.setFlag(name, value);
374
374
  };
375
375
  protoOf(MutableProblogSolver).setFlag = function (name, value) {
376
- return this.setFlag_38uvxd_k$(name, value);
376
+ return this.l3e(name, value);
377
377
  };
378
- protoOf(MutableProblogSolver).setFlagPair_5b01qk_k$ = function (flag) {
379
- this.solver_2.setFlagPair(flag);
378
+ protoOf(MutableProblogSolver).m3e = function (flag) {
379
+ this.g3l_1.setFlagPair(flag);
380
380
  };
381
381
  protoOf(MutableProblogSolver).setFlagPair = function (flag) {
382
- return this.setFlagPair_5b01qk_k$(flag);
382
+ return this.m3e(flag);
383
383
  };
384
- protoOf(MutableProblogSolver).setFlagNotable_13nuxs_k$ = function (flag) {
385
- this.solver_2.setFlagNotable(flag);
384
+ protoOf(MutableProblogSolver).n3e = function (flag) {
385
+ this.g3l_1.setFlagNotable(flag);
386
386
  };
387
387
  protoOf(MutableProblogSolver).setFlagNotable = function (flag) {
388
- return this.setFlagNotable_13nuxs_k$(flag);
388
+ return this.n3e(flag);
389
389
  };
390
- protoOf(MutableProblogSolver).setStandardInput_4u5ra6_k$ = function (stdIn) {
391
- this.solver_2.setStandardInput(stdIn);
390
+ protoOf(MutableProblogSolver).o3e = function (stdIn) {
391
+ this.g3l_1.setStandardInput(stdIn);
392
392
  };
393
393
  protoOf(MutableProblogSolver).setStandardInput = function (stdIn) {
394
- return this.setStandardInput_4u5ra6_k$(stdIn);
394
+ return this.o3e(stdIn);
395
395
  };
396
- protoOf(MutableProblogSolver).setStandardError_7qwifb_k$ = function (stdErr) {
397
- this.solver_2.setStandardError(stdErr);
396
+ protoOf(MutableProblogSolver).p3e = function (stdErr) {
397
+ this.g3l_1.setStandardError(stdErr);
398
398
  };
399
399
  protoOf(MutableProblogSolver).setStandardError = function (stdErr) {
400
- return this.setStandardError_7qwifb_k$(stdErr);
400
+ return this.p3e(stdErr);
401
401
  };
402
- protoOf(MutableProblogSolver).setStandardOutput_apporm_k$ = function (stdOut) {
403
- this.solver_2.setStandardOutput(stdOut);
402
+ protoOf(MutableProblogSolver).q3e = function (stdOut) {
403
+ this.g3l_1.setStandardOutput(stdOut);
404
404
  };
405
405
  protoOf(MutableProblogSolver).setStandardOutput = function (stdOut) {
406
- return this.setStandardOutput_apporm_k$(stdOut);
406
+ return this.q3e(stdOut);
407
407
  };
408
- protoOf(MutableProblogSolver).setWarnings_9w8les_k$ = function (warnings) {
409
- this.solver_2.setWarnings(warnings);
408
+ protoOf(MutableProblogSolver).r3e = function (warnings) {
409
+ this.g3l_1.setWarnings(warnings);
410
410
  };
411
411
  protoOf(MutableProblogSolver).setWarnings = function (warnings) {
412
- return this.setWarnings_9w8les_k$(warnings);
412
+ return this.r3e(warnings);
413
413
  };
414
- protoOf(MutableProblogSolver).copy_equ050_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
415
- return new MutableProblogSolver(this.solver_2.copy_equ050_k$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings));
414
+ protoOf(MutableProblogSolver).a1z = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
415
+ return new MutableProblogSolver(this.g3l_1.a1z(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings));
416
416
  };
417
417
  protoOf(MutableProblogSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
418
418
  return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof MutableProblogSolver) ? $super : THROW_CCE());
419
419
  };
420
- protoOf(MutableProblogSolver).clone_1keycd_k$ = function () {
421
- return new MutableProblogSolver(this.solver_2.clone_1keycd_k$());
420
+ protoOf(MutableProblogSolver).k1v = function () {
421
+ return new MutableProblogSolver(this.g3l_1.k1v());
422
422
  };
423
423
  protoOf(MutableProblogSolver).clone = function () {
424
- return this.clone_1keycd_k$();
424
+ return this.k1v();
425
425
  };
426
426
  function get_ANNOTATION_OPERATOR() {
427
427
  _init_properties_Operators_kt__ggskrn();
@@ -449,11 +449,11 @@
449
449
  var tmp_0 = Companion_getInstance_1();
450
450
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
451
451
  var tmp$ret$0 = ProbSetConfig_getInstance().signature.name;
452
- var tmp_1 = tmp_0.of(tmp$ret$0, [ProbSetConfig_getInstance().toProbConfigTerm_kcau8_k$(options)]);
452
+ var tmp_1 = tmp_0.of(tmp$ret$0, [ProbSetConfig_getInstance().u3l(options)]);
453
453
  var tmp_2 = Companion_getInstance_1();
454
454
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
455
455
  var tmp$ret$1 = Prob_getInstance().signature.name;
456
- var tmp_3 = $this.solver_1.solveWithOptions(tmp.of(tmp_1, tmp_2.of(tmp$ret$1, [anonVar, goal])), options);
456
+ var tmp_3 = $this.h3l_1.solveWithOptions(tmp.of(tmp_1, tmp_2.of(tmp$ret$1, [anonVar, goal])), options);
457
457
  return map(tmp_3, ProblogSolver$solveNonProbabilistically$lambda(goal, anonVar));
458
458
  }
459
459
  function solveProbabilistically($this, goal, options) {
@@ -462,7 +462,7 @@
462
462
  var tmp = Companion_getInstance_1();
463
463
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
464
464
  var tmp$ret$0 = ProbQuery_getInstance().signature.name;
465
- var tmp_0 = $this.solver_1.solveWithOptions(tmp.of(tmp$ret$0, [probabilityVar, goal, ProbSetConfig_getInstance().toProbConfigTerm_kcau8_k$(options), bddVar]), options);
465
+ var tmp_0 = $this.h3l_1.solveWithOptions(tmp.of(tmp$ret$0, [probabilityVar, goal, ProbSetConfig_getInstance().u3l(options), bddVar]), options);
466
466
  return map(tmp_0, ProblogSolver$solveProbabilistically$lambda(probabilityVar, bddVar, goal, options));
467
467
  }
468
468
  function ProblogSolver$solveNonProbabilistically$lambda$lambda($anonVar) {
@@ -475,11 +475,11 @@
475
475
  var tmp;
476
476
  if (isInterface(it, Yes)) {
477
477
  var tmp_0 = Companion_instance_1;
478
- var tmp_1 = it.get_substitution_i7fi9y_k$();
479
- tmp = tmp_0.yes_cwt97u_k$($goal, tmp_1.filter_fevdr4_k$(ProblogSolver$solveNonProbabilistically$lambda$lambda($anonVar)));
478
+ var tmp_1 = it.p1x();
479
+ tmp = tmp_0.t1z($goal, tmp_1.x12(ProblogSolver$solveNonProbabilistically$lambda$lambda($anonVar)));
480
480
  } else {
481
481
  if (isInterface(it, Halt)) {
482
- tmp = Companion_instance_1.halt($goal, it.get_exception_x0n6w6_k$());
482
+ tmp = Companion_instance_1.halt($goal, it.l1z());
483
483
  } else {
484
484
  tmp = Companion_instance_1.no($goal);
485
485
  }
@@ -494,16 +494,16 @@
494
494
  }
495
495
  function ProblogSolver$solveProbabilistically$lambda($probabilityVar, $bddVar, $goal, $options) {
496
496
  return function (it) {
497
- var probabilityTerm = it.get_substitution_i7fi9y_k$().get_wei43m_k$($probabilityVar);
498
- var bddTerm = it.get_substitution_i7fi9y_k$().get_wei43m_k$($bddVar);
497
+ var probabilityTerm = it.p1x().j2($probabilityVar);
498
+ var bddTerm = it.p1x().j2($bddVar);
499
499
  var tmp;
500
500
  if (isInterface(it, Yes)) {
501
501
  var tmp_0 = Companion_instance_1;
502
- var tmp_1 = it.get_substitution_i7fi9y_k$();
503
- tmp = tmp_0.yes_cwt97u_k$($goal, tmp_1.filter_fevdr4_k$(ProblogSolver$solveProbabilistically$lambda$lambda($probabilityVar, $bddVar)));
502
+ var tmp_1 = it.p1x();
503
+ tmp = tmp_0.t1z($goal, tmp_1.x12(ProblogSolver$solveProbabilistically$lambda$lambda($probabilityVar, $bddVar)));
504
504
  } else {
505
505
  if (isInterface(it, Halt)) {
506
- tmp = Companion_instance_1.halt($goal, it.get_exception_x0n6w6_k$());
506
+ tmp = Companion_instance_1.halt($goal, it.l1z());
507
507
  } else {
508
508
  tmp = Companion_instance_1.no($goal);
509
509
  }
@@ -515,7 +515,7 @@
515
515
  } else {
516
516
  var tmp_3;
517
517
  if (!(probabilityTerm == null) ? isInterface(probabilityTerm, Numeric) : false) {
518
- tmp_3 = setProbability(newSolution, probabilityTerm.get_decimalValue_7pja3t_k$().toDouble());
518
+ tmp_3 = setProbability(newSolution, probabilityTerm.o11().toDouble());
519
519
  } else {
520
520
  tmp_3 = setProbability(newSolution, NaN);
521
521
  }
@@ -527,9 +527,9 @@
527
527
  tmp_4 = false;
528
528
  }
529
529
  if (tmp_4) {
530
- var explanation = bddTerm.explanation_1;
530
+ var explanation = bddTerm.w3l_1;
531
531
  if (explanation instanceof BinaryDecisionDiagramExplanation) {
532
- newSolution = setBinaryDecisionDiagram(newSolution, explanation.diagram_1);
532
+ newSolution = setBinaryDecisionDiagram(newSolution, explanation.x3l_1);
533
533
  }
534
534
  }
535
535
  tmp_2 = newSolution;
@@ -538,9 +538,9 @@
538
538
  };
539
539
  }
540
540
  function ProblogSolver(solver) {
541
- this.solver_1 = solver;
541
+ this.h3l_1 = solver;
542
542
  }
543
- protoOf(ProblogSolver).solveWithOptions_5o6xex_k$ = function (goal, options) {
543
+ protoOf(ProblogSolver).x2f = function (goal, options) {
544
544
  var tmp;
545
545
  if (!get_isProbabilistic(options)) {
546
546
  tmp = solveNonProbabilistically(this, goal, options);
@@ -550,103 +550,103 @@
550
550
  return tmp;
551
551
  };
552
552
  protoOf(ProblogSolver).solveWithOptions = function (goal, options) {
553
- return this.solveWithOptions_5o6xex_k$(goal, options);
553
+ return this.x2f(goal, options);
554
554
  };
555
- protoOf(ProblogSolver).solveWithTimeout_duwkjw_k$ = function (goal, timeout) {
556
- return this.solveWithOptions_5o6xex_k$(goal, Companion_getInstance_2().allLazilyWithTimeout(timeout));
555
+ protoOf(ProblogSolver).i3l = function (goal, timeout) {
556
+ return this.x2f(goal, Companion_getInstance_2().allLazilyWithTimeout(timeout));
557
557
  };
558
558
  protoOf(ProblogSolver).solveWithTimeout = function (goal, timeout) {
559
- return this.solveWithTimeout_duwkjw_k$(goal, timeout);
559
+ return this.i3l(goal, timeout);
560
560
  };
561
- protoOf(ProblogSolver).solve_yemo91_k$ = function (goal) {
562
- return this.solveWithOptions_5o6xex_k$(goal, Companion_getInstance_2().DEFAULT);
561
+ protoOf(ProblogSolver).j3l = function (goal) {
562
+ return this.x2f(goal, Companion_getInstance_2().DEFAULT);
563
563
  };
564
564
  protoOf(ProblogSolver).solve = function (goal) {
565
- return this.solve_yemo91_k$(goal);
565
+ return this.j3l(goal);
566
566
  };
567
- protoOf(ProblogSolver).solveListWithTimeout_r7o3t6_k$ = function (goal, timeout) {
568
- return toList(this.solveWithTimeout_duwkjw_k$(goal, timeout));
567
+ protoOf(ProblogSolver).k3l = function (goal, timeout) {
568
+ return toList(this.i3l(goal, timeout));
569
569
  };
570
570
  protoOf(ProblogSolver).solveListWithTimeout = function (goal, timeout) {
571
- return this.solveListWithTimeout_r7o3t6_k$(goal, timeout);
571
+ return this.k3l(goal, timeout);
572
572
  };
573
- protoOf(ProblogSolver).solveList_wz9v95_k$ = function (goal) {
574
- return toList(this.solve_yemo91_k$(goal));
573
+ protoOf(ProblogSolver).l3l = function (goal) {
574
+ return toList(this.j3l(goal));
575
575
  };
576
576
  protoOf(ProblogSolver).solveList = function (goal) {
577
- return this.solveList_wz9v95_k$(goal);
577
+ return this.l3l(goal);
578
578
  };
579
- protoOf(ProblogSolver).solveListWithOptions_6irtg5_k$ = function (goal, options) {
580
- return toList(this.solveWithOptions_5o6xex_k$(goal, options));
579
+ protoOf(ProblogSolver).m3l = function (goal, options) {
580
+ return toList(this.x2f(goal, options));
581
581
  };
582
582
  protoOf(ProblogSolver).solveListWithOptions = function (goal, options) {
583
- return this.solveListWithOptions_6irtg5_k$(goal, options);
583
+ return this.m3l(goal, options);
584
584
  };
585
- protoOf(ProblogSolver).solveOnceWithTimeout_lq9a37_k$ = function (goal, timeout) {
586
- return first_0(this.solveWithOptions_5o6xex_k$(goal, Companion_getInstance_2().someLazilyWithTimeout(1, timeout)));
585
+ protoOf(ProblogSolver).n3l = function (goal, timeout) {
586
+ return first_0(this.x2f(goal, Companion_getInstance_2().someLazilyWithTimeout(1, timeout)));
587
587
  };
588
588
  protoOf(ProblogSolver).solveOnceWithTimeout = function (goal, timeout) {
589
- return this.solveOnceWithTimeout_lq9a37_k$(goal, timeout);
589
+ return this.n3l(goal, timeout);
590
590
  };
591
- protoOf(ProblogSolver).solveOnce_yolml8_k$ = function (goal) {
592
- return first_0(this.solveWithOptions_5o6xex_k$(goal, Companion_getInstance_2().someLazily(1)));
591
+ protoOf(ProblogSolver).o3l = function (goal) {
592
+ return first_0(this.x2f(goal, Companion_getInstance_2().someLazily(1)));
593
593
  };
594
594
  protoOf(ProblogSolver).solveOnce = function (goal) {
595
- return this.solveOnce_yolml8_k$(goal);
595
+ return this.o3l(goal);
596
596
  };
597
- protoOf(ProblogSolver).solveOnceWithOptions_w35mu0_k$ = function (goal, options) {
598
- return first_0(this.solveWithOptions_5o6xex_k$(goal, options.setLimit(1)));
597
+ protoOf(ProblogSolver).p3l = function (goal, options) {
598
+ return first_0(this.x2f(goal, options.setLimit(1)));
599
599
  };
600
600
  protoOf(ProblogSolver).solveOnceWithOptions = function (goal, options) {
601
- return this.solveOnceWithOptions_w35mu0_k$(goal, options);
601
+ return this.p3l(goal, options);
602
602
  };
603
- protoOf(ProblogSolver).copy_equ050_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
604
- return new ProblogSolver(this.solver_1.copy_equ050_k$(unificator, libraries, flags, Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), stdIn, stdOut, stdErr, warnings));
603
+ protoOf(ProblogSolver).a1z = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
604
+ return new ProblogSolver(this.h3l_1.a1z(unificator, libraries, flags, Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), stdIn, stdOut, stdErr, warnings));
605
605
  };
606
606
  protoOf(ProblogSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
607
607
  return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof ProblogSolver) ? $super : THROW_CCE());
608
608
  };
609
- protoOf(ProblogSolver).clone_1keycd_k$ = function () {
610
- return new ProblogSolver(this.solver_1.clone());
609
+ protoOf(ProblogSolver).k1v = function () {
610
+ return new ProblogSolver(this.h3l_1.clone());
611
611
  };
612
612
  protoOf(ProblogSolver).clone = function () {
613
- return this.clone_1keycd_k$();
613
+ return this.k1v();
614
614
  };
615
- protoOf(ProblogSolver).get_libraries_lyf10w_k$ = function () {
616
- return this.solver_1.get_libraries_lyf10w_k$();
615
+ protoOf(ProblogSolver).t1x = function () {
616
+ return this.h3l_1.t1x();
617
617
  };
618
- protoOf(ProblogSolver).get_flags_irfhb2_k$ = function () {
619
- return this.solver_1.get_flags_irfhb2_k$();
618
+ protoOf(ProblogSolver).u1x = function () {
619
+ return this.h3l_1.u1x();
620
620
  };
621
- protoOf(ProblogSolver).get_staticKb_a01l1u_k$ = function () {
622
- return this.solver_1.get_staticKb_a01l1u_k$();
621
+ protoOf(ProblogSolver).v1x = function () {
622
+ return this.h3l_1.v1x();
623
623
  };
624
- protoOf(ProblogSolver).get_dynamicKb_wvqg8j_k$ = function () {
625
- return this.solver_1.get_dynamicKb_wvqg8j_k$();
624
+ protoOf(ProblogSolver).w1x = function () {
625
+ return this.h3l_1.w1x();
626
626
  };
627
- protoOf(ProblogSolver).get_operators_z0nmfu_k$ = function () {
628
- return this.solver_1.get_operators_z0nmfu_k$();
627
+ protoOf(ProblogSolver).c1y = function () {
628
+ return this.h3l_1.c1y();
629
629
  };
630
- protoOf(ProblogSolver).get_inputChannels_uyf05t_k$ = function () {
631
- return this.solver_1.get_inputChannels_uyf05t_k$();
630
+ protoOf(ProblogSolver).x1x = function () {
631
+ return this.h3l_1.x1x();
632
632
  };
633
- protoOf(ProblogSolver).get_outputChannels_ffvoca_k$ = function () {
634
- return this.solver_1.get_outputChannels_ffvoca_k$();
633
+ protoOf(ProblogSolver).y1x = function () {
634
+ return this.h3l_1.y1x();
635
635
  };
636
- protoOf(ProblogSolver).get_standardInput_yibe3g_k$ = function () {
637
- return this.solver_1.get_standardInput_yibe3g_k$();
636
+ protoOf(ProblogSolver).d1y = function () {
637
+ return this.h3l_1.d1y();
638
638
  };
639
- protoOf(ProblogSolver).get_standardOutput_1cxkgp_k$ = function () {
640
- return this.solver_1.get_standardOutput_1cxkgp_k$();
639
+ protoOf(ProblogSolver).e1y = function () {
640
+ return this.h3l_1.e1y();
641
641
  };
642
- protoOf(ProblogSolver).get_standardError_ykfz6m_k$ = function () {
643
- return this.solver_1.get_standardError_ykfz6m_k$();
642
+ protoOf(ProblogSolver).f1y = function () {
643
+ return this.h3l_1.f1y();
644
644
  };
645
- protoOf(ProblogSolver).get_warnings_nkdx40_k$ = function () {
646
- return this.solver_1.get_warnings_nkdx40_k$();
645
+ protoOf(ProblogSolver).g1y = function () {
646
+ return this.h3l_1.g1y();
647
647
  };
648
- protoOf(ProblogSolver).get_unificator_xw6v3j_k$ = function () {
649
- return this.solver_1.get_unificator_xw6v3j_k$();
648
+ protoOf(ProblogSolver).v1n = function () {
649
+ return this.h3l_1.v1n();
650
650
  };
651
651
  function ensureVariablesTracking($this, flags) {
652
652
  var tmp = TrackVariables_getInstance();
@@ -656,8 +656,8 @@
656
656
  var tmp;
657
657
  // Inline function 'kotlin.collections.contains' call
658
658
  // Inline function 'kotlin.collections.containsKey' call
659
- var key = ProblogLib_getInstance().get_alias_iooo4n_k$();
660
- if (!(isInterface(libraries, KtMap) ? libraries : THROW_CCE()).containsKey_aw81wo_k$(key)) {
659
+ var key = ProblogLib_getInstance().w2i();
660
+ if (!(isInterface(libraries, KtMap) ? libraries : THROW_CCE()).h2(key)) {
661
661
  tmp = libraries.plusLibrary(MinimalBuiltins_getInstance());
662
662
  } else {
663
663
  tmp = libraries;
@@ -665,36 +665,36 @@
665
665
  return tmp;
666
666
  }
667
667
  function ProblogSolverFactory$ensureVariablesTracking$lambda($this$TrackVariables) {
668
- return $this$TrackVariables.ON_1;
668
+ return $this$TrackVariables.g2d_1;
669
669
  }
670
670
  function ProblogSolverFactory() {
671
671
  }
672
- protoOf(ProblogSolverFactory).get_defaultBuiltins_lwij14_k$ = function () {
672
+ protoOf(ProblogSolverFactory).b21 = function () {
673
673
  return DefaultBuiltins_getInstance_0();
674
674
  };
675
- protoOf(ProblogSolverFactory).get_defaultFlags_6lgyr5_k$ = function () {
675
+ protoOf(ProblogSolverFactory).d21 = function () {
676
676
  return ensureVariablesTracking(this, get_defaultFlags.call(this));
677
677
  };
678
- protoOf(ProblogSolverFactory).solverOf_7gm3c2_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
679
- return new ProblogSolver(PrologSolverFactory_instance.solverOf_7gm3c2_k$(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), inputs, outputs));
678
+ protoOf(ProblogSolverFactory).m21 = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
679
+ return new ProblogSolver(PrologSolverFactory_instance.m21(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), inputs, outputs));
680
680
  };
681
681
  protoOf(ProblogSolverFactory).rawSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
682
682
  return this.rawSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof ProblogSolverFactory) ? $super : THROW_CCE());
683
683
  };
684
- protoOf(ProblogSolverFactory).solverOf_dn642x_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
685
- return new ProblogSolver(PrologSolverFactory_instance.solverOf_dn642x_k$(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), stdIn, stdOut, stdErr, warnings));
684
+ protoOf(ProblogSolverFactory).s21 = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
685
+ return new ProblogSolver(PrologSolverFactory_instance.s21(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), stdIn, stdOut, stdErr, warnings));
686
686
  };
687
687
  protoOf(ProblogSolverFactory).solverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
688
688
  return this.solverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof ProblogSolverFactory) ? $super : THROW_CCE());
689
689
  };
690
- protoOf(ProblogSolverFactory).mutableSolverOf_wmp0rz_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
691
- return new MutableProblogSolver(PrologSolverFactory_instance.mutableSolverOf_wmp0rz_k$(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), stdIn, stdOut, stdErr, warnings));
690
+ protoOf(ProblogSolverFactory).u21 = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
691
+ return new MutableProblogSolver(PrologSolverFactory_instance.u21(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), stdIn, stdOut, stdErr, warnings));
692
692
  };
693
693
  protoOf(ProblogSolverFactory).mutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
694
694
  return this.mutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof ProblogSolverFactory) ? $super : THROW_CCE());
695
695
  };
696
- protoOf(ProblogSolverFactory).mutableSolverOf_16557c_k$ = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
697
- return new MutableProblogSolver(PrologSolverFactory_instance.mutableSolverOf_16557c_k$(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), inputs, outputs));
696
+ protoOf(ProblogSolverFactory).w21 = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
697
+ return new MutableProblogSolver(PrologSolverFactory_instance.w21(unificator, fixLibraries(this, libraries), ensureVariablesTracking(this, flags), Companion_instance_10.ofIterable(unificator, staticKb), Companion_instance_10.ofIterable(unificator, dynamicKb), inputs, outputs));
698
698
  };
699
699
  protoOf(ProblogSolverFactory).rawMutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
700
700
  return this.rawMutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof ProblogSolverFactory) ? $super : THROW_CCE());
@@ -707,17 +707,17 @@
707
707
  DefaultBuiltins_instance = this;
708
708
  ExtensionLibrary.call(this, DefaultBuiltins_getInstance());
709
709
  }
710
- protoOf(DefaultBuiltins).get_alias_iooo4n_k$ = function () {
711
- return ProblogLib_getInstance().get_alias_iooo4n_k$();
710
+ protoOf(DefaultBuiltins).w2i = function () {
711
+ return ProblogLib_getInstance().w2i();
712
712
  };
713
- protoOf(DefaultBuiltins).get_additionalOperators_ifx7cx_k$ = function () {
714
- return ProblogLib_getInstance().get_additionalOperators_ifx7cx_k$();
713
+ protoOf(DefaultBuiltins).h2j = function () {
714
+ return ProblogLib_getInstance().h2j();
715
715
  };
716
- protoOf(DefaultBuiltins).get_additionalPrimitives_kt57lw_k$ = function () {
717
- return ProblogLib_getInstance().get_additionalPrimitives_kt57lw_k$();
716
+ protoOf(DefaultBuiltins).j2j = function () {
717
+ return ProblogLib_getInstance().j2j();
718
718
  };
719
- protoOf(DefaultBuiltins).get_additionalRules_xfzx7d_k$ = function () {
720
- return ProblogLib_getInstance().get_additionalRules_xfzx7d_k$();
719
+ protoOf(DefaultBuiltins).i2j = function () {
720
+ return ProblogLib_getInstance().i2j();
721
721
  };
722
722
  var DefaultBuiltins_instance;
723
723
  function DefaultBuiltins_getInstance_0() {
@@ -729,10 +729,10 @@
729
729
  MinimalBuiltins_instance = this;
730
730
  ExtensionLibrary.call(this, ProblogLib_getInstance());
731
731
  }
732
- protoOf(MinimalBuiltins).get_additionalPrimitives_kt57lw_k$ = function () {
732
+ protoOf(MinimalBuiltins).j2j = function () {
733
733
  return listOf(EnsureExecutable_getInstance());
734
734
  };
735
- protoOf(MinimalBuiltins).get_additionalRules_xfzx7d_k$ = function () {
735
+ protoOf(MinimalBuiltins).i2j = function () {
736
736
  return listOf(Call_getInstance());
737
737
  };
738
738
  var MinimalBuiltins_instance;
@@ -744,17 +744,17 @@
744
744
  function ProblogLib() {
745
745
  ProblogLib_instance = this;
746
746
  ExtensionLibrary.call(this, Companion_getInstance_3().of('problog.lang'));
747
- this.EXPLANATION_VAR_NAME_1 = 'EXPL';
748
- this.EVIDENCE_PREDICATE_1 = 'evidence';
749
- this.PREDICATE_PREFIX_1 = 'prob';
747
+ this.o3m_1 = 'EXPL';
748
+ this.p3m_1 = 'evidence';
749
+ this.q3m_1 = 'prob';
750
750
  }
751
- protoOf(ProblogLib).get_additionalOperators_ifx7cx_k$ = function () {
751
+ protoOf(ProblogLib).h2j = function () {
752
752
  return get_PROBLOG_SPECIFIC_OPERATORS();
753
753
  };
754
- protoOf(ProblogLib).get_additionalRules_xfzx7d_k$ = function () {
754
+ protoOf(ProblogLib).i2j = function () {
755
755
  return listOf(Prob_getInstance());
756
756
  };
757
- protoOf(ProblogLib).get_additionalPrimitives_kt57lw_k$ = function () {
757
+ protoOf(ProblogLib).j2j = function () {
758
758
  return listOf_0([ProbHelper_getInstance(), ProbSolve_getInstance(), ProbExplAnd_getInstance(), ProbQuery_getInstance(), ProbSolveEvidence_getInstance(), ProbSolveWithEvidence_getInstance(), ProbNegationAsFailure_getInstance(), ProbSetConfig_getInstance()]);
759
759
  };
760
760
  var ProblogLib_instance;
@@ -767,11 +767,11 @@
767
767
  cause = cause === VOID ? null : cause;
768
768
  TuPrologException_init_$Init$(cause, this);
769
769
  captureStack(this, ClauseMappingException);
770
- this.message_1 = message;
770
+ this.x3m_1 = message;
771
771
  delete this.message;
772
772
  }
773
- protoOf(ClauseMappingException).get_message_h23axq_k$ = function () {
774
- return this.message_1;
773
+ protoOf(ClauseMappingException).p1 = function () {
774
+ return this.x3m_1;
775
775
  };
776
776
  function Companion() {
777
777
  }
@@ -794,7 +794,7 @@
794
794
  var item = clauses[inductionVariable];
795
795
  inductionVariable = inductionVariable + 1 | 0;
796
796
  var tmp$ret$2 = item(Companion_instance_2.empty());
797
- destination.add_utx5q5_k$(tmp$ret$2);
797
+ destination.l(tmp$ret$2);
798
798
  }
799
799
  return this.ofIterable(unificator, destination);
800
800
  };
@@ -807,11 +807,11 @@
807
807
  }
808
808
  function Companion_0() {
809
809
  Companion_instance_9 = this;
810
- this.FALSE_1 = new BinaryDecisionDiagramExplanation(bddTerminalOf(false), Companion_getInstance_13().FALSE_COMPUTED_VALUE_1);
811
- this.TRUE_1 = new BinaryDecisionDiagramExplanation(bddTerminalOf(true), Companion_getInstance_13().TRUE_COMPUTED_VALUE_1);
810
+ this.y3m_1 = new BinaryDecisionDiagramExplanation(bddTerminalOf(false), Companion_getInstance_13().b3n_1);
811
+ this.z3m_1 = new BinaryDecisionDiagramExplanation(bddTerminalOf(true), Companion_getInstance_13().c3n_1);
812
812
  }
813
- protoOf(Companion_0).of_80r6fo_k$ = function (term) {
814
- return new BinaryDecisionDiagramExplanation(bddOf(term), new ComputedValue(term.probability_1));
813
+ protoOf(Companion_0).d3n = function (term) {
814
+ return new BinaryDecisionDiagramExplanation(bddOf(term), new ComputedValue(term.g3n_1));
815
815
  };
816
816
  var Companion_instance_9;
817
817
  function Companion_getInstance_11() {
@@ -822,364 +822,364 @@
822
822
  function ProbExplanation() {
823
823
  }
824
824
  function ProbExplanationTerm$freshCopy$lambda(it) {
825
- return it.freshCopy_fcm65_k$();
825
+ return it.bx();
826
826
  }
827
827
  function ProbExplanationTerm$freshCopy$lambda_0($scope) {
828
828
  return function (it) {
829
- return it.freshCopyFromScope_tnhsyi_k$($scope);
829
+ return it.cx($scope);
830
830
  };
831
831
  }
832
832
  function ProbExplanationTerm$apply$lambda($substitution) {
833
833
  return function (it) {
834
- return it.applySubstitution_t7osbf_k$($substitution);
834
+ return it.r17($substitution);
835
835
  };
836
836
  }
837
837
  function ProbExplanationTerm(explanation) {
838
- this.$$delegate_0__1 = Companion_getInstance_4().of('<expl:' + explanation.toString() + '>');
839
- this.explanation_1 = explanation;
838
+ this.v3l_1 = Companion_getInstance_4().of('<expl:' + explanation.toString() + '>');
839
+ this.w3l_1 = explanation;
840
840
  }
841
- protoOf(ProbExplanationTerm).get_isConstant_scia2f_k$ = function () {
841
+ protoOf(ProbExplanationTerm).xx = function () {
842
842
  return false;
843
843
  };
844
- protoOf(ProbExplanationTerm).asConstant_3hn112_k$ = function () {
844
+ protoOf(ProbExplanationTerm).by = function () {
845
845
  return this;
846
846
  };
847
847
  protoOf(ProbExplanationTerm).asConstant = function () {
848
- return this.asConstant_3hn112_k$();
848
+ return this.by();
849
849
  };
850
- protoOf(ProbExplanationTerm).freshCopy_fcm65_k$ = function () {
851
- return new ProbExplanationTerm(this.explanation_1.applyTransformation(ProbExplanationTerm$freshCopy$lambda));
850
+ protoOf(ProbExplanationTerm).bx = function () {
851
+ return new ProbExplanationTerm(this.w3l_1.applyTransformation(ProbExplanationTerm$freshCopy$lambda));
852
852
  };
853
853
  protoOf(ProbExplanationTerm).freshCopy = function () {
854
- return this.freshCopy_fcm65_k$();
854
+ return this.bx();
855
855
  };
856
- protoOf(ProbExplanationTerm).freshCopyFromScope_tnhsyi_k$ = function (scope) {
857
- return new ProbExplanationTerm(this.explanation_1.applyTransformation(ProbExplanationTerm$freshCopy$lambda_0(scope)));
856
+ protoOf(ProbExplanationTerm).cx = function (scope) {
857
+ return new ProbExplanationTerm(this.w3l_1.applyTransformation(ProbExplanationTerm$freshCopy$lambda_0(scope)));
858
858
  };
859
859
  protoOf(ProbExplanationTerm).freshCopyFromScope = function (scope) {
860
- return this.freshCopyFromScope_tnhsyi_k$(scope);
860
+ return this.cx(scope);
861
861
  };
862
- protoOf(ProbExplanationTerm).getSubstituted_8310r6_k$ = function (substitution, substitutions) {
863
- return this.apply_jso7fw_k$(substitution, substitutions.slice());
862
+ protoOf(ProbExplanationTerm).f2u = function (substitution, substitutions) {
863
+ return this.g2u(substitution, substitutions.slice());
864
864
  };
865
865
  protoOf(ProbExplanationTerm).getSubstituted = function (substitution, substitutions) {
866
- return this.getSubstituted_8310r6_k$(substitution, substitutions);
866
+ return this.f2u(substitution, substitutions);
867
867
  };
868
- protoOf(ProbExplanationTerm).apply_jso7fw_k$ = function (substitution, substitutions) {
869
- return this.applySubstitution_t7osbf_k$(Companion_getInstance_5().ofSubstitution(substitution, substitutions.slice()));
868
+ protoOf(ProbExplanationTerm).g2u = function (substitution, substitutions) {
869
+ return this.r17(Companion_getInstance_5().ofSubstitution(substitution, substitutions.slice()));
870
870
  };
871
871
  protoOf(ProbExplanationTerm).apply = function (substitution, substitutions) {
872
- return this.apply_jso7fw_k$(substitution, substitutions);
872
+ return this.g2u(substitution, substitutions);
873
873
  };
874
- protoOf(ProbExplanationTerm).applySubstitution_t7osbf_k$ = function (substitution) {
874
+ protoOf(ProbExplanationTerm).r17 = function (substitution) {
875
875
  var tmp;
876
- if (substitution.isEmpty_y1axqb_k$() || this.get_isGround_twq4nu_k$()) {
876
+ if (substitution.i() || this.cy()) {
877
877
  tmp = this;
878
878
  } else {
879
- tmp = new ProbExplanationTerm(this.explanation_1.applyTransformation(ProbExplanationTerm$apply$lambda(substitution)));
879
+ tmp = new ProbExplanationTerm(this.w3l_1.applyTransformation(ProbExplanationTerm$apply$lambda(substitution)));
880
880
  }
881
881
  return tmp;
882
882
  };
883
883
  protoOf(ProbExplanationTerm).applySubstitution = function (substitution) {
884
- return this.applySubstitution_t7osbf_k$(substitution);
884
+ return this.r17(substitution);
885
885
  };
886
- protoOf(ProbExplanationTerm).get_isGround_twq4nu_k$ = function () {
887
- return !this.explanation_1.get_containsNonGroundTerm_exngzs_k$();
886
+ protoOf(ProbExplanationTerm).cy = function () {
887
+ return !this.w3l_1.n3n();
888
888
  };
889
- protoOf(ProbExplanationTerm).asAtom_nbael9_k$ = function () {
890
- return this.$$delegate_0__1.asAtom_nbael9_k$();
889
+ protoOf(ProbExplanationTerm).dx = function () {
890
+ return this.v3l_1.dx();
891
891
  };
892
892
  protoOf(ProbExplanationTerm).asAtom = function () {
893
- return this.asAtom_nbael9_k$();
893
+ return this.dx();
894
894
  };
895
- protoOf(ProbExplanationTerm).get_arity_iosiic_k$ = function () {
896
- return this.$$delegate_0__1.get_arity_iosiic_k$();
895
+ protoOf(ProbExplanationTerm).sw = function () {
896
+ return this.v3l_1.sw();
897
897
  };
898
- protoOf(ProbExplanationTerm).get_isAtom_evuq3o_k$ = function () {
899
- return this.$$delegate_0__1.get_isAtom_evuq3o_k$();
898
+ protoOf(ProbExplanationTerm).tw = function () {
899
+ return this.v3l_1.tw();
900
900
  };
901
- protoOf(ProbExplanationTerm).get_isEmptyBlock_mhm4pf_k$ = function () {
902
- return this.$$delegate_0__1.get_isEmptyBlock_mhm4pf_k$();
901
+ protoOf(ProbExplanationTerm).uw = function () {
902
+ return this.v3l_1.uw();
903
903
  };
904
- protoOf(ProbExplanationTerm).get_isEmptyList_9w8q3c_k$ = function () {
905
- return this.$$delegate_0__1.get_isEmptyList_9w8q3c_k$();
904
+ protoOf(ProbExplanationTerm).vw = function () {
905
+ return this.v3l_1.vw();
906
906
  };
907
- protoOf(ProbExplanationTerm).get_isTrue_ew6ti9_k$ = function () {
908
- return this.$$delegate_0__1.get_isTrue_ew6ti9_k$();
907
+ protoOf(ProbExplanationTerm).ww = function () {
908
+ return this.v3l_1.ww();
909
909
  };
910
- protoOf(ProbExplanationTerm).get_value_j01efc_k$ = function () {
911
- return this.$$delegate_0__1.get_value_j01efc_k$();
910
+ protoOf(ProbExplanationTerm).f1 = function () {
911
+ return this.v3l_1.f1();
912
912
  };
913
- protoOf(ProbExplanationTerm).get_argsList_cw1bs4_k$ = function () {
914
- return this.$$delegate_0__1.get_argsList_cw1bs4_k$();
913
+ protoOf(ProbExplanationTerm).zw = function () {
914
+ return this.v3l_1.zw();
915
915
  };
916
- protoOf(ProbExplanationTerm).get_variables_75f0zy_k$ = function () {
917
- return this.$$delegate_0__1.get_variables_75f0zy_k$();
916
+ protoOf(ProbExplanationTerm).ax = function () {
917
+ return this.v3l_1.ax();
918
918
  };
919
- protoOf(ProbExplanationTerm).asStruct_l3eul5_k$ = function () {
920
- return this.$$delegate_0__1.asStruct_l3eul5_k$();
919
+ protoOf(ProbExplanationTerm).ox = function () {
920
+ return this.v3l_1.ox();
921
921
  };
922
922
  protoOf(ProbExplanationTerm).asStruct = function () {
923
- return this.asStruct_l3eul5_k$();
923
+ return this.ox();
924
924
  };
925
925
  protoOf(ProbExplanationTerm).append = function (argument) {
926
- return this.$$delegate_0__1.append(argument);
926
+ return this.v3l_1.append(argument);
927
927
  };
928
928
  protoOf(ProbExplanationTerm).addLast = function (argument) {
929
- return this.$$delegate_0__1.addLast(argument);
929
+ return this.v3l_1.addLast(argument);
930
930
  };
931
931
  protoOf(ProbExplanationTerm).addFirst = function (argument) {
932
- return this.$$delegate_0__1.addFirst(argument);
932
+ return this.v3l_1.addFirst(argument);
933
933
  };
934
934
  protoOf(ProbExplanationTerm).insertAt = function (index, argument) {
935
- return this.$$delegate_0__1.insertAt(index, argument);
935
+ return this.v3l_1.insertAt(index, argument);
936
936
  };
937
937
  protoOf(ProbExplanationTerm).setFunctor = function (functor) {
938
- return this.$$delegate_0__1.setFunctor(functor);
938
+ return this.v3l_1.setFunctor(functor);
939
939
  };
940
940
  protoOf(ProbExplanationTerm).getArgAt = function (index) {
941
- return this.$$delegate_0__1.getArgAt(index);
941
+ return this.v3l_1.getArgAt(index);
942
942
  };
943
943
  protoOf(ProbExplanationTerm).setArgs = function (args) {
944
- return this.$$delegate_0__1.setArgs(args);
944
+ return this.v3l_1.setArgs(args);
945
945
  };
946
946
  protoOf(ProbExplanationTerm).setArgsIterable = function (args) {
947
- return this.$$delegate_0__1.setArgsIterable(args);
947
+ return this.v3l_1.setArgsIterable(args);
948
948
  };
949
949
  protoOf(ProbExplanationTerm).setArgsSequence = function (args) {
950
- return this.$$delegate_0__1.setArgsSequence(args);
950
+ return this.v3l_1.setArgsSequence(args);
951
951
  };
952
952
  protoOf(ProbExplanationTerm).get = function (index) {
953
- return this.$$delegate_0__1.get(index);
953
+ return this.v3l_1.get(index);
954
954
  };
955
- protoOf(ProbExplanationTerm).get_isStruct_zeoyoo_k$ = function () {
956
- return this.$$delegate_0__1.get_isStruct_zeoyoo_k$();
955
+ protoOf(ProbExplanationTerm).ex = function () {
956
+ return this.v3l_1.ex();
957
957
  };
958
- protoOf(ProbExplanationTerm).get_isClause_rwzxtu_k$ = function () {
959
- return this.$$delegate_0__1.get_isClause_rwzxtu_k$();
958
+ protoOf(ProbExplanationTerm).fx = function () {
959
+ return this.v3l_1.fx();
960
960
  };
961
- protoOf(ProbExplanationTerm).get_isRule_ew5ljj_k$ = function () {
962
- return this.$$delegate_0__1.get_isRule_ew5ljj_k$();
961
+ protoOf(ProbExplanationTerm).gx = function () {
962
+ return this.v3l_1.gx();
963
963
  };
964
- protoOf(ProbExplanationTerm).get_isTuple_zhv5m3_k$ = function () {
965
- return this.$$delegate_0__1.get_isTuple_zhv5m3_k$();
964
+ protoOf(ProbExplanationTerm).jx = function () {
965
+ return this.v3l_1.jx();
966
966
  };
967
- protoOf(ProbExplanationTerm).get_isList_ew1iwh_k$ = function () {
968
- return this.$$delegate_0__1.get_isList_ew1iwh_k$();
967
+ protoOf(ProbExplanationTerm).kx = function () {
968
+ return this.v3l_1.kx();
969
969
  };
970
- protoOf(ProbExplanationTerm).get_isCons_evvwck_k$ = function () {
971
- return this.$$delegate_0__1.get_isCons_evvwck_k$();
970
+ protoOf(ProbExplanationTerm).lx = function () {
971
+ return this.v3l_1.lx();
972
972
  };
973
- protoOf(ProbExplanationTerm).get_isIndicator_llw8m4_k$ = function () {
974
- return this.$$delegate_0__1.get_isIndicator_llw8m4_k$();
973
+ protoOf(ProbExplanationTerm).nx = function () {
974
+ return this.v3l_1.nx();
975
975
  };
976
- protoOf(ProbExplanationTerm).get_functor_75vgt2_k$ = function () {
977
- return this.$$delegate_0__1.get_functor_75vgt2_k$();
976
+ protoOf(ProbExplanationTerm).yw = function () {
977
+ return this.v3l_1.yw();
978
978
  };
979
- protoOf(ProbExplanationTerm).get_isFunctorWellFormed_fgwhjl_k$ = function () {
980
- return this.$$delegate_0__1.get_isFunctorWellFormed_fgwhjl_k$();
979
+ protoOf(ProbExplanationTerm).px = function () {
980
+ return this.v3l_1.px();
981
981
  };
982
- protoOf(ProbExplanationTerm).get_indicator_39dti2_k$ = function () {
983
- return this.$$delegate_0__1.get_indicator_39dti2_k$();
982
+ protoOf(ProbExplanationTerm).qx = function () {
983
+ return this.v3l_1.qx();
984
984
  };
985
- protoOf(ProbExplanationTerm).get_argsSequence_z7gge1_k$ = function () {
986
- return this.$$delegate_0__1.get_argsSequence_z7gge1_k$();
985
+ protoOf(ProbExplanationTerm).rx = function () {
986
+ return this.v3l_1.rx();
987
987
  };
988
- protoOf(ProbExplanationTerm).castTo_8vzplt_k$ = function () {
989
- return this.$$delegate_0__1.castTo_8vzplt_k$();
988
+ protoOf(ProbExplanationTerm).sx = function () {
989
+ return this.v3l_1.sx();
990
990
  };
991
- protoOf(ProbExplanationTerm).castTo_mm7cm3_k$ = function () {
992
- return this.castTo_8vzplt_k$();
991
+ protoOf(ProbExplanationTerm).pr = function () {
992
+ return this.sx();
993
993
  };
994
- protoOf(ProbExplanationTerm).compareTo_kfa5id_k$ = function (other) {
995
- return this.$$delegate_0__1.compareTo_kfa5id_k$(other);
994
+ protoOf(ProbExplanationTerm).tx = function (other) {
995
+ return this.v3l_1.tx(other);
996
996
  };
997
- protoOf(ProbExplanationTerm).compareTo_hpufkf_k$ = function (other) {
998
- return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
997
+ protoOf(ProbExplanationTerm).d = function (other) {
998
+ return this.tx((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
999
999
  };
1000
1000
  protoOf(ProbExplanationTerm).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
1001
- return this.$$delegate_0__1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1001
+ return this.v3l_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1002
1002
  };
1003
1003
  protoOf(ProbExplanationTerm).equals = function (other) {
1004
- return this.$$delegate_0__1.equals(other);
1004
+ return this.v3l_1.equals(other);
1005
1005
  };
1006
1006
  protoOf(ProbExplanationTerm).structurallyEquals = function (other) {
1007
- return this.$$delegate_0__1.structurallyEquals(other);
1007
+ return this.v3l_1.structurallyEquals(other);
1008
1008
  };
1009
1009
  protoOf(ProbExplanationTerm).accept = function (visitor) {
1010
- return this.$$delegate_0__1.accept(visitor);
1010
+ return this.v3l_1.accept(visitor);
1011
1011
  };
1012
1012
  protoOf(ProbExplanationTerm).castToAtom = function () {
1013
- return this.$$delegate_0__1.castToAtom();
1013
+ return this.v3l_1.castToAtom();
1014
1014
  };
1015
1015
  protoOf(ProbExplanationTerm).castToClause = function () {
1016
- return this.$$delegate_0__1.castToClause();
1016
+ return this.v3l_1.castToClause();
1017
1017
  };
1018
1018
  protoOf(ProbExplanationTerm).castToCons = function () {
1019
- return this.$$delegate_0__1.castToCons();
1019
+ return this.v3l_1.castToCons();
1020
1020
  };
1021
1021
  protoOf(ProbExplanationTerm).castToConstant = function () {
1022
- return this.$$delegate_0__1.castToConstant();
1022
+ return this.v3l_1.castToConstant();
1023
1023
  };
1024
1024
  protoOf(ProbExplanationTerm).castToDirective = function () {
1025
- return this.$$delegate_0__1.castToDirective();
1025
+ return this.v3l_1.castToDirective();
1026
1026
  };
1027
1027
  protoOf(ProbExplanationTerm).castToEmptyList = function () {
1028
- return this.$$delegate_0__1.castToEmptyList();
1028
+ return this.v3l_1.castToEmptyList();
1029
1029
  };
1030
1030
  protoOf(ProbExplanationTerm).castToEmptyBlock = function () {
1031
- return this.$$delegate_0__1.castToEmptyBlock();
1031
+ return this.v3l_1.castToEmptyBlock();
1032
1032
  };
1033
1033
  protoOf(ProbExplanationTerm).castToFact = function () {
1034
- return this.$$delegate_0__1.castToFact();
1034
+ return this.v3l_1.castToFact();
1035
1035
  };
1036
1036
  protoOf(ProbExplanationTerm).castToIndicator = function () {
1037
- return this.$$delegate_0__1.castToIndicator();
1037
+ return this.v3l_1.castToIndicator();
1038
1038
  };
1039
1039
  protoOf(ProbExplanationTerm).castToInteger = function () {
1040
- return this.$$delegate_0__1.castToInteger();
1040
+ return this.v3l_1.castToInteger();
1041
1041
  };
1042
1042
  protoOf(ProbExplanationTerm).castToList = function () {
1043
- return this.$$delegate_0__1.castToList();
1043
+ return this.v3l_1.castToList();
1044
1044
  };
1045
1045
  protoOf(ProbExplanationTerm).castToNumeric = function () {
1046
- return this.$$delegate_0__1.castToNumeric();
1046
+ return this.v3l_1.castToNumeric();
1047
1047
  };
1048
1048
  protoOf(ProbExplanationTerm).castToReal = function () {
1049
- return this.$$delegate_0__1.castToReal();
1049
+ return this.v3l_1.castToReal();
1050
1050
  };
1051
1051
  protoOf(ProbExplanationTerm).castToRule = function () {
1052
- return this.$$delegate_0__1.castToRule();
1052
+ return this.v3l_1.castToRule();
1053
1053
  };
1054
1054
  protoOf(ProbExplanationTerm).castToBlock = function () {
1055
- return this.$$delegate_0__1.castToBlock();
1055
+ return this.v3l_1.castToBlock();
1056
1056
  };
1057
1057
  protoOf(ProbExplanationTerm).castToStruct = function () {
1058
- return this.$$delegate_0__1.castToStruct();
1058
+ return this.v3l_1.castToStruct();
1059
1059
  };
1060
1060
  protoOf(ProbExplanationTerm).castToRecursive = function () {
1061
- return this.$$delegate_0__1.castToRecursive();
1061
+ return this.v3l_1.castToRecursive();
1062
1062
  };
1063
1063
  protoOf(ProbExplanationTerm).castToTerm = function () {
1064
- return this.$$delegate_0__1.castToTerm();
1064
+ return this.v3l_1.castToTerm();
1065
1065
  };
1066
1066
  protoOf(ProbExplanationTerm).castToTruth = function () {
1067
- return this.$$delegate_0__1.castToTruth();
1067
+ return this.v3l_1.castToTruth();
1068
1068
  };
1069
1069
  protoOf(ProbExplanationTerm).castToTuple = function () {
1070
- return this.$$delegate_0__1.castToTuple();
1070
+ return this.v3l_1.castToTuple();
1071
1071
  };
1072
1072
  protoOf(ProbExplanationTerm).castToVar = function () {
1073
- return this.$$delegate_0__1.castToVar();
1073
+ return this.v3l_1.castToVar();
1074
1074
  };
1075
1075
  protoOf(ProbExplanationTerm).asClause = function () {
1076
- return this.$$delegate_0__1.asClause();
1076
+ return this.v3l_1.asClause();
1077
1077
  };
1078
1078
  protoOf(ProbExplanationTerm).asCons = function () {
1079
- return this.$$delegate_0__1.asCons();
1079
+ return this.v3l_1.asCons();
1080
1080
  };
1081
1081
  protoOf(ProbExplanationTerm).asDirective = function () {
1082
- return this.$$delegate_0__1.asDirective();
1082
+ return this.v3l_1.asDirective();
1083
1083
  };
1084
1084
  protoOf(ProbExplanationTerm).asEmptyList = function () {
1085
- return this.$$delegate_0__1.asEmptyList();
1085
+ return this.v3l_1.asEmptyList();
1086
1086
  };
1087
1087
  protoOf(ProbExplanationTerm).asEmptyBlock = function () {
1088
- return this.$$delegate_0__1.asEmptyBlock();
1088
+ return this.v3l_1.asEmptyBlock();
1089
1089
  };
1090
1090
  protoOf(ProbExplanationTerm).asFact = function () {
1091
- return this.$$delegate_0__1.asFact();
1091
+ return this.v3l_1.asFact();
1092
1092
  };
1093
1093
  protoOf(ProbExplanationTerm).asIndicator = function () {
1094
- return this.$$delegate_0__1.asIndicator();
1094
+ return this.v3l_1.asIndicator();
1095
1095
  };
1096
1096
  protoOf(ProbExplanationTerm).asInteger = function () {
1097
- return this.$$delegate_0__1.asInteger();
1097
+ return this.v3l_1.asInteger();
1098
1098
  };
1099
1099
  protoOf(ProbExplanationTerm).asList = function () {
1100
- return this.$$delegate_0__1.asList();
1100
+ return this.v3l_1.asList();
1101
1101
  };
1102
1102
  protoOf(ProbExplanationTerm).asNumeric = function () {
1103
- return this.$$delegate_0__1.asNumeric();
1103
+ return this.v3l_1.asNumeric();
1104
1104
  };
1105
1105
  protoOf(ProbExplanationTerm).asReal = function () {
1106
- return this.$$delegate_0__1.asReal();
1106
+ return this.v3l_1.asReal();
1107
1107
  };
1108
1108
  protoOf(ProbExplanationTerm).asRule = function () {
1109
- return this.$$delegate_0__1.asRule();
1109
+ return this.v3l_1.asRule();
1110
1110
  };
1111
1111
  protoOf(ProbExplanationTerm).asBlock = function () {
1112
- return this.$$delegate_0__1.asBlock();
1112
+ return this.v3l_1.asBlock();
1113
1113
  };
1114
1114
  protoOf(ProbExplanationTerm).asRecursive = function () {
1115
- return this.$$delegate_0__1.asRecursive();
1115
+ return this.v3l_1.asRecursive();
1116
1116
  };
1117
1117
  protoOf(ProbExplanationTerm).asTerm = function () {
1118
- return this.$$delegate_0__1.asTerm();
1118
+ return this.v3l_1.asTerm();
1119
1119
  };
1120
1120
  protoOf(ProbExplanationTerm).asTruth = function () {
1121
- return this.$$delegate_0__1.asTruth();
1121
+ return this.v3l_1.asTruth();
1122
1122
  };
1123
1123
  protoOf(ProbExplanationTerm).asTuple = function () {
1124
- return this.$$delegate_0__1.asTuple();
1124
+ return this.v3l_1.asTuple();
1125
1125
  };
1126
1126
  protoOf(ProbExplanationTerm).asVar = function () {
1127
- return this.$$delegate_0__1.asVar();
1127
+ return this.v3l_1.asVar();
1128
1128
  };
1129
1129
  protoOf(ProbExplanationTerm).hashCode = function () {
1130
- return this.$$delegate_0__1.hashCode();
1130
+ return this.v3l_1.hashCode();
1131
1131
  };
1132
1132
  protoOf(ProbExplanationTerm).toString = function () {
1133
- return this.$$delegate_0__1.toString();
1133
+ return this.v3l_1.toString();
1134
1134
  };
1135
- protoOf(ProbExplanationTerm).get_isVar_it73p0_k$ = function () {
1136
- return this.$$delegate_0__1.get_isVar_it73p0_k$();
1135
+ protoOf(ProbExplanationTerm).ux = function () {
1136
+ return this.v3l_1.ux();
1137
1137
  };
1138
- protoOf(ProbExplanationTerm).get_isTruth_zhwyo8_k$ = function () {
1139
- return this.$$delegate_0__1.get_isTruth_zhwyo8_k$();
1138
+ protoOf(ProbExplanationTerm).vx = function () {
1139
+ return this.v3l_1.vx();
1140
1140
  };
1141
- protoOf(ProbExplanationTerm).get_isRecursive_id8h1d_k$ = function () {
1142
- return this.$$delegate_0__1.get_isRecursive_id8h1d_k$();
1141
+ protoOf(ProbExplanationTerm).wx = function () {
1142
+ return this.v3l_1.wx();
1143
1143
  };
1144
- protoOf(ProbExplanationTerm).get_isNumber_x9n6xo_k$ = function () {
1145
- return this.$$delegate_0__1.get_isNumber_x9n6xo_k$();
1144
+ protoOf(ProbExplanationTerm).yx = function () {
1145
+ return this.v3l_1.yx();
1146
1146
  };
1147
- protoOf(ProbExplanationTerm).get_isInteger_vb3zt7_k$ = function () {
1148
- return this.$$delegate_0__1.get_isInteger_vb3zt7_k$();
1147
+ protoOf(ProbExplanationTerm).zx = function () {
1148
+ return this.v3l_1.zx();
1149
1149
  };
1150
- protoOf(ProbExplanationTerm).get_isReal_ew59f5_k$ = function () {
1151
- return this.$$delegate_0__1.get_isReal_ew59f5_k$();
1150
+ protoOf(ProbExplanationTerm).ay = function () {
1151
+ return this.v3l_1.ay();
1152
1152
  };
1153
1153
  protoOf(ProbExplanationTerm).getTag = function (name) {
1154
- return this.$$delegate_0__1.getTag(name);
1154
+ return this.v3l_1.getTag(name);
1155
1155
  };
1156
1156
  protoOf(ProbExplanationTerm).resetTags = function (tags) {
1157
- return this.$$delegate_0__1.resetTags(tags);
1157
+ return this.v3l_1.resetTags(tags);
1158
1158
  };
1159
1159
  protoOf(ProbExplanationTerm).containsTag = function (name) {
1160
- return this.$$delegate_0__1.containsTag(name);
1160
+ return this.v3l_1.containsTag(name);
1161
1161
  };
1162
- protoOf(ProbExplanationTerm).get_tags_wousf6_k$ = function () {
1163
- return this.$$delegate_0__1.get_tags_wousf6_k$();
1162
+ protoOf(ProbExplanationTerm).du = function () {
1163
+ return this.v3l_1.du();
1164
1164
  };
1165
1165
  function _get_cachedHashCode__d7x0zy($this) {
1166
- var tmp0 = $this.cachedHashCode$delegate_1;
1166
+ var tmp0 = $this.k3n_1;
1167
1167
  var tmp = KProperty1;
1168
1168
  // Inline function 'kotlin.getValue' call
1169
1169
  getPropertyCallableRef('cachedHashCode', 1, tmp, ProbTerm$_get_cachedHashCode_$ref_1qdqtc(), null);
1170
- return tmp0.get_value_j01efc_k$();
1170
+ return tmp0.f1();
1171
1171
  }
1172
1172
  function ProbTerm$isGround$delegate$lambda(this$0) {
1173
1173
  return function () {
1174
1174
  var tmp;
1175
- if (this$0.term_1.get_isGround_twq4nu_k$()) {
1176
- var tmp0 = this$0.extraVariables_1;
1175
+ if (this$0.h3n_1.cy()) {
1176
+ var tmp0 = this$0.i3n_1;
1177
1177
  var tmp$ret$0;
1178
1178
  $l$block_0: {
1179
1179
  // Inline function 'kotlin.collections.any' call
1180
1180
  var tmp_0;
1181
1181
  if (isInterface(tmp0, Collection)) {
1182
- tmp_0 = tmp0.isEmpty_y1axqb_k$();
1182
+ tmp_0 = tmp0.i();
1183
1183
  } else {
1184
1184
  tmp_0 = false;
1185
1185
  }
@@ -1187,10 +1187,10 @@
1187
1187
  tmp$ret$0 = false;
1188
1188
  break $l$block_0;
1189
1189
  }
1190
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1191
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1192
- var element = _iterator__ex2g4s.next_20eer_k$();
1193
- if (element.get_isVar_it73p0_k$()) {
1190
+ var _iterator__ex2g4s = tmp0.n();
1191
+ while (_iterator__ex2g4s.q()) {
1192
+ var element = _iterator__ex2g4s.r();
1193
+ if (element.ux()) {
1194
1194
  tmp$ret$0 = true;
1195
1195
  break $l$block_0;
1196
1196
  }
@@ -1206,15 +1206,15 @@
1206
1206
  }
1207
1207
  function ProbTerm$_get_isGround_$ref_ue0rck() {
1208
1208
  return constructCallableReference(function (p0) {
1209
- return p0.get_isGround_twq4nu_k$();
1209
+ return p0.cy();
1210
1210
  }, 1, 0, 92);
1211
1211
  }
1212
1212
  function ProbTerm$cachedHashCode$delegate$lambda(this$0) {
1213
1213
  return function () {
1214
- var result = getBigIntHashCode(this$0.id_1);
1215
- result = imul(31, result) + getNumberHashCode(this$0.probability_1) | 0;
1216
- result = imul(31, result) + this$0.term_1.hashCode() | 0;
1217
- result = imul(31, result) + hashCode(this$0.extraVariables_1) | 0;
1214
+ var result = getBigIntHashCode(this$0.f3n_1);
1215
+ result = imul(31, result) + getNumberHashCode(this$0.g3n_1) | 0;
1216
+ result = imul(31, result) + this$0.h3n_1.hashCode() | 0;
1217
+ result = imul(31, result) + hashCode(this$0.i3n_1) | 0;
1218
1218
  return result;
1219
1219
  };
1220
1220
  }
@@ -1225,75 +1225,75 @@
1225
1225
  }
1226
1226
  function ProbTerm(id, probability, term, extraVariables) {
1227
1227
  extraVariables = extraVariables === VOID ? emptySet() : extraVariables;
1228
- this.$$delegate_0__1 = Companion_getInstance_1().of('::', [Companion_getInstance_6().ofDouble(probability), term]);
1229
- this.id_1 = id;
1230
- this.probability_1 = probability;
1231
- this.term_1 = term;
1232
- this.extraVariables_1 = extraVariables;
1228
+ this.e3n_1 = Companion_getInstance_1().of('::', [Companion_getInstance_6().ofDouble(probability), term]);
1229
+ this.f3n_1 = id;
1230
+ this.g3n_1 = probability;
1231
+ this.h3n_1 = term;
1232
+ this.i3n_1 = extraVariables;
1233
1233
  var tmp = this;
1234
- tmp.isGround$delegate_1 = lazy(ProbTerm$isGround$delegate$lambda(this));
1234
+ tmp.j3n_1 = lazy(ProbTerm$isGround$delegate$lambda(this));
1235
1235
  var tmp_0 = this;
1236
- tmp_0.cachedHashCode$delegate_1 = lazy(ProbTerm$cachedHashCode$delegate$lambda(this));
1236
+ tmp_0.k3n_1 = lazy(ProbTerm$cachedHashCode$delegate$lambda(this));
1237
1237
  }
1238
- protoOf(ProbTerm).freshCopy_fcm65_k$ = function () {
1239
- var termCopy = this.term_1.freshCopy();
1238
+ protoOf(ProbTerm).bx = function () {
1239
+ var termCopy = this.h3n_1.freshCopy();
1240
1240
  // Inline function 'kotlin.collections.map' call
1241
- var this_0 = this.extraVariables_1;
1241
+ var this_0 = this.i3n_1;
1242
1242
  // Inline function 'kotlin.collections.mapTo' call
1243
1243
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1244
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
1245
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1246
- var item = _iterator__ex2g4s.next_20eer_k$();
1244
+ var _iterator__ex2g4s = this_0.n();
1245
+ while (_iterator__ex2g4s.q()) {
1246
+ var item = _iterator__ex2g4s.r();
1247
1247
  var tmp$ret$2 = item.freshCopy();
1248
- destination.add_utx5q5_k$(tmp$ret$2);
1248
+ destination.l(tmp$ret$2);
1249
1249
  }
1250
- return new ProbTerm(this.id_1, this.probability_1, termCopy, toSet(destination));
1250
+ return new ProbTerm(this.f3n_1, this.g3n_1, termCopy, toSet(destination));
1251
1251
  };
1252
1252
  protoOf(ProbTerm).freshCopy = function () {
1253
- return this.freshCopy_fcm65_k$();
1253
+ return this.bx();
1254
1254
  };
1255
- protoOf(ProbTerm).freshCopyFromScope_tnhsyi_k$ = function (scope) {
1256
- var termCopy = this.term_1.freshCopyFromScope(scope);
1255
+ protoOf(ProbTerm).cx = function (scope) {
1256
+ var termCopy = this.h3n_1.freshCopyFromScope(scope);
1257
1257
  // Inline function 'kotlin.collections.map' call
1258
- var this_0 = this.extraVariables_1;
1258
+ var this_0 = this.i3n_1;
1259
1259
  // Inline function 'kotlin.collections.mapTo' call
1260
1260
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1261
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
1262
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1263
- var item = _iterator__ex2g4s.next_20eer_k$();
1261
+ var _iterator__ex2g4s = this_0.n();
1262
+ while (_iterator__ex2g4s.q()) {
1263
+ var item = _iterator__ex2g4s.r();
1264
1264
  var tmp$ret$2 = item.freshCopyFromScope(scope);
1265
- destination.add_utx5q5_k$(tmp$ret$2);
1265
+ destination.l(tmp$ret$2);
1266
1266
  }
1267
- return new ProbTerm(this.id_1, this.probability_1, termCopy, toSet(destination));
1267
+ return new ProbTerm(this.f3n_1, this.g3n_1, termCopy, toSet(destination));
1268
1268
  };
1269
1269
  protoOf(ProbTerm).freshCopyFromScope = function (scope) {
1270
- return this.freshCopyFromScope_tnhsyi_k$(scope);
1270
+ return this.cx(scope);
1271
1271
  };
1272
- protoOf(ProbTerm).getSubstituted_8310r6_k$ = function (substitution, substitutions) {
1273
- return this.apply_jso7fw_k$(substitution, substitutions.slice());
1272
+ protoOf(ProbTerm).f2u = function (substitution, substitutions) {
1273
+ return this.g2u(substitution, substitutions.slice());
1274
1274
  };
1275
1275
  protoOf(ProbTerm).getSubstituted = function (substitution, substitutions) {
1276
- return this.getSubstituted_8310r6_k$(substitution, substitutions);
1276
+ return this.f2u(substitution, substitutions);
1277
1277
  };
1278
- protoOf(ProbTerm).apply_jso7fw_k$ = function (substitution, substitutions) {
1279
- return this.applySubstitution_t7osbf_k$(Companion_getInstance_5().ofSubstitution(substitution, substitutions.slice()));
1278
+ protoOf(ProbTerm).g2u = function (substitution, substitutions) {
1279
+ return this.r17(Companion_getInstance_5().ofSubstitution(substitution, substitutions.slice()));
1280
1280
  };
1281
1281
  protoOf(ProbTerm).apply = function (substitution, substitutions) {
1282
- return this.apply_jso7fw_k$(substitution, substitutions);
1282
+ return this.g2u(substitution, substitutions);
1283
1283
  };
1284
- protoOf(ProbTerm).applySubstitution_t7osbf_k$ = function (substitution) {
1284
+ protoOf(ProbTerm).r17 = function (substitution) {
1285
1285
  var tmp;
1286
- if (substitution.isEmpty_y1axqb_k$() || this.get_isGround_twq4nu_k$()) {
1286
+ if (substitution.i() || this.cy()) {
1287
1287
  tmp = this;
1288
1288
  } else {
1289
1289
  var tmp_0;
1290
- var tmp0 = this.extraVariables_1;
1290
+ var tmp0 = this.i3n_1;
1291
1291
  var tmp$ret$0;
1292
1292
  $l$block_0: {
1293
1293
  // Inline function 'kotlin.collections.any' call
1294
1294
  var tmp_1;
1295
1295
  if (isInterface(tmp0, Collection)) {
1296
- tmp_1 = tmp0.isEmpty_y1axqb_k$();
1296
+ tmp_1 = tmp0.i();
1297
1297
  } else {
1298
1298
  tmp_1 = false;
1299
1299
  }
@@ -1301,10 +1301,10 @@
1301
1301
  tmp$ret$0 = false;
1302
1302
  break $l$block_0;
1303
1303
  }
1304
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1305
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1306
- var element = _iterator__ex2g4s.next_20eer_k$();
1307
- if (element.get_isVar_it73p0_k$()) {
1304
+ var _iterator__ex2g4s = tmp0.n();
1305
+ while (_iterator__ex2g4s.q()) {
1306
+ var element = _iterator__ex2g4s.r();
1307
+ if (element.ux()) {
1308
1308
  tmp$ret$0 = true;
1309
1309
  break $l$block_0;
1310
1310
  }
@@ -1312,64 +1312,64 @@
1312
1312
  tmp$ret$0 = false;
1313
1313
  }
1314
1314
  if (!tmp$ret$0) {
1315
- tmp_0 = this.extraVariables_1;
1315
+ tmp_0 = this.i3n_1;
1316
1316
  } else {
1317
1317
  // Inline function 'kotlin.collections.mapNotNull' call
1318
- var tmp0_0 = this.extraVariables_1;
1318
+ var tmp0_0 = this.i3n_1;
1319
1319
  // Inline function 'kotlin.collections.mapNotNullTo' call
1320
1320
  var destination = ArrayList_init_$Create$_0();
1321
1321
  // Inline function 'kotlin.collections.forEach' call
1322
- var _iterator__ex2g4s_0 = tmp0_0.iterator_jk1svi_k$();
1323
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1324
- var element_0 = _iterator__ex2g4s_0.next_20eer_k$();
1322
+ var _iterator__ex2g4s_0 = tmp0_0.n();
1323
+ while (_iterator__ex2g4s_0.q()) {
1324
+ var element_0 = _iterator__ex2g4s_0.r();
1325
1325
  var tmp0_safe_receiver = substitution.applyTo(element_0);
1326
1326
  if (tmp0_safe_receiver == null)
1327
1327
  null;
1328
1328
  else {
1329
1329
  // Inline function 'kotlin.let' call
1330
- destination.add_utx5q5_k$(tmp0_safe_receiver);
1330
+ destination.l(tmp0_safe_receiver);
1331
1331
  }
1332
1332
  }
1333
1333
  tmp_0 = toSet(destination);
1334
1334
  }
1335
1335
  var newExtraVars = tmp_0;
1336
- tmp = new ProbTerm(this.id_1, this.probability_1, this.term_1.applySubstitution(substitution), newExtraVars);
1336
+ tmp = new ProbTerm(this.f3n_1, this.g3n_1, this.h3n_1.applySubstitution(substitution), newExtraVars);
1337
1337
  }
1338
1338
  return tmp;
1339
1339
  };
1340
1340
  protoOf(ProbTerm).applySubstitution = function (substitution) {
1341
- return this.applySubstitution_t7osbf_k$(substitution);
1341
+ return this.r17(substitution);
1342
1342
  };
1343
- protoOf(ProbTerm).get_isGround_twq4nu_k$ = function () {
1344
- var tmp0 = this.isGround$delegate_1;
1343
+ protoOf(ProbTerm).cy = function () {
1344
+ var tmp0 = this.j3n_1;
1345
1345
  var tmp = KProperty1;
1346
1346
  // Inline function 'kotlin.getValue' call
1347
1347
  getPropertyCallableRef('isGround', 1, tmp, ProbTerm$_get_isGround_$ref_ue0rck(), null);
1348
- return tmp0.get_value_j01efc_k$();
1348
+ return tmp0.f1();
1349
1349
  };
1350
- protoOf(ProbTerm).compareTo_kfa5id_k$ = function (other) {
1350
+ protoOf(ProbTerm).tx = function (other) {
1351
1351
  if (!(other instanceof ProbTerm)) {
1352
1352
  return compareTo.call(this, other);
1353
1353
  }
1354
- var res = compareTo_0(this.id_1, other.id_1);
1354
+ var res = compareTo_0(this.f3n_1, other.f3n_1);
1355
1355
  if (!(res === 0))
1356
1356
  return res;
1357
- res = this.term_1.compareTo_kfa5id_k$(other.term_1);
1357
+ res = this.h3n_1.tx(other.h3n_1);
1358
1358
  if (!(res === 0))
1359
1359
  return res;
1360
- res = equals(this.extraVariables_1, other.extraVariables_1) ? 0 : -1;
1360
+ res = equals(this.i3n_1, other.i3n_1) ? 0 : -1;
1361
1361
  if (!(res === 0))
1362
1362
  return res;
1363
- res = compareTo_0(this.probability_1, other.probability_1);
1363
+ res = compareTo_0(this.g3n_1, other.g3n_1);
1364
1364
  return res;
1365
1365
  };
1366
- protoOf(ProbTerm).compareTo_hpufkf_k$ = function (other) {
1367
- return this.compareTo_kfa5id_k$((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
1366
+ protoOf(ProbTerm).d = function (other) {
1367
+ return this.tx((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
1368
1368
  };
1369
1369
  protoOf(ProbTerm).equals = function (other) {
1370
1370
  var tmp;
1371
1371
  if (other instanceof ProbTerm) {
1372
- tmp = this.compareTo_kfa5id_k$(other) === 0;
1372
+ tmp = this.tx(other) === 0;
1373
1373
  } else {
1374
1374
  tmp = false;
1375
1375
  }
@@ -1379,214 +1379,214 @@
1379
1379
  return _get_cachedHashCode__d7x0zy(this);
1380
1380
  };
1381
1381
  protoOf(ProbTerm).toString = function () {
1382
- return '' + round(this.probability_1 * 100) / 100.0 + '::' + this.term_1.toString();
1382
+ return '' + round(this.g3n_1 * 100) / 100.0 + '::' + this.h3n_1.toString();
1383
1383
  };
1384
- protoOf(ProbTerm).castTo_8vzplt_k$ = function () {
1385
- return this.$$delegate_0__1.castTo_8vzplt_k$();
1384
+ protoOf(ProbTerm).sx = function () {
1385
+ return this.e3n_1.sx();
1386
1386
  };
1387
- protoOf(ProbTerm).castTo_mm7cm3_k$ = function () {
1388
- return this.castTo_8vzplt_k$();
1387
+ protoOf(ProbTerm).pr = function () {
1388
+ return this.sx();
1389
1389
  };
1390
1390
  protoOf(ProbTerm).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
1391
- return this.$$delegate_0__1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1391
+ return this.e3n_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1392
1392
  };
1393
1393
  protoOf(ProbTerm).structurallyEquals = function (other) {
1394
- return this.$$delegate_0__1.structurallyEquals(other);
1394
+ return this.e3n_1.structurallyEquals(other);
1395
1395
  };
1396
1396
  protoOf(ProbTerm).accept = function (visitor) {
1397
- return this.$$delegate_0__1.accept(visitor);
1397
+ return this.e3n_1.accept(visitor);
1398
1398
  };
1399
1399
  protoOf(ProbTerm).castToAtom = function () {
1400
- return this.$$delegate_0__1.castToAtom();
1400
+ return this.e3n_1.castToAtom();
1401
1401
  };
1402
1402
  protoOf(ProbTerm).castToClause = function () {
1403
- return this.$$delegate_0__1.castToClause();
1403
+ return this.e3n_1.castToClause();
1404
1404
  };
1405
1405
  protoOf(ProbTerm).castToCons = function () {
1406
- return this.$$delegate_0__1.castToCons();
1406
+ return this.e3n_1.castToCons();
1407
1407
  };
1408
1408
  protoOf(ProbTerm).castToConstant = function () {
1409
- return this.$$delegate_0__1.castToConstant();
1409
+ return this.e3n_1.castToConstant();
1410
1410
  };
1411
1411
  protoOf(ProbTerm).castToDirective = function () {
1412
- return this.$$delegate_0__1.castToDirective();
1412
+ return this.e3n_1.castToDirective();
1413
1413
  };
1414
1414
  protoOf(ProbTerm).castToEmptyList = function () {
1415
- return this.$$delegate_0__1.castToEmptyList();
1415
+ return this.e3n_1.castToEmptyList();
1416
1416
  };
1417
1417
  protoOf(ProbTerm).castToEmptyBlock = function () {
1418
- return this.$$delegate_0__1.castToEmptyBlock();
1418
+ return this.e3n_1.castToEmptyBlock();
1419
1419
  };
1420
1420
  protoOf(ProbTerm).castToFact = function () {
1421
- return this.$$delegate_0__1.castToFact();
1421
+ return this.e3n_1.castToFact();
1422
1422
  };
1423
1423
  protoOf(ProbTerm).castToIndicator = function () {
1424
- return this.$$delegate_0__1.castToIndicator();
1424
+ return this.e3n_1.castToIndicator();
1425
1425
  };
1426
1426
  protoOf(ProbTerm).castToInteger = function () {
1427
- return this.$$delegate_0__1.castToInteger();
1427
+ return this.e3n_1.castToInteger();
1428
1428
  };
1429
1429
  protoOf(ProbTerm).castToList = function () {
1430
- return this.$$delegate_0__1.castToList();
1430
+ return this.e3n_1.castToList();
1431
1431
  };
1432
1432
  protoOf(ProbTerm).castToNumeric = function () {
1433
- return this.$$delegate_0__1.castToNumeric();
1433
+ return this.e3n_1.castToNumeric();
1434
1434
  };
1435
1435
  protoOf(ProbTerm).castToReal = function () {
1436
- return this.$$delegate_0__1.castToReal();
1436
+ return this.e3n_1.castToReal();
1437
1437
  };
1438
1438
  protoOf(ProbTerm).castToRule = function () {
1439
- return this.$$delegate_0__1.castToRule();
1439
+ return this.e3n_1.castToRule();
1440
1440
  };
1441
1441
  protoOf(ProbTerm).castToBlock = function () {
1442
- return this.$$delegate_0__1.castToBlock();
1442
+ return this.e3n_1.castToBlock();
1443
1443
  };
1444
1444
  protoOf(ProbTerm).castToStruct = function () {
1445
- return this.$$delegate_0__1.castToStruct();
1445
+ return this.e3n_1.castToStruct();
1446
1446
  };
1447
1447
  protoOf(ProbTerm).castToRecursive = function () {
1448
- return this.$$delegate_0__1.castToRecursive();
1448
+ return this.e3n_1.castToRecursive();
1449
1449
  };
1450
1450
  protoOf(ProbTerm).castToTerm = function () {
1451
- return this.$$delegate_0__1.castToTerm();
1451
+ return this.e3n_1.castToTerm();
1452
1452
  };
1453
1453
  protoOf(ProbTerm).castToTruth = function () {
1454
- return this.$$delegate_0__1.castToTruth();
1454
+ return this.e3n_1.castToTruth();
1455
1455
  };
1456
1456
  protoOf(ProbTerm).castToTuple = function () {
1457
- return this.$$delegate_0__1.castToTuple();
1457
+ return this.e3n_1.castToTuple();
1458
1458
  };
1459
1459
  protoOf(ProbTerm).castToVar = function () {
1460
- return this.$$delegate_0__1.castToVar();
1460
+ return this.e3n_1.castToVar();
1461
1461
  };
1462
1462
  protoOf(ProbTerm).asAtom = function () {
1463
- return this.$$delegate_0__1.asAtom();
1463
+ return this.e3n_1.asAtom();
1464
1464
  };
1465
1465
  protoOf(ProbTerm).asClause = function () {
1466
- return this.$$delegate_0__1.asClause();
1466
+ return this.e3n_1.asClause();
1467
1467
  };
1468
1468
  protoOf(ProbTerm).asCons = function () {
1469
- return this.$$delegate_0__1.asCons();
1469
+ return this.e3n_1.asCons();
1470
1470
  };
1471
1471
  protoOf(ProbTerm).asConstant = function () {
1472
- return this.$$delegate_0__1.asConstant();
1472
+ return this.e3n_1.asConstant();
1473
1473
  };
1474
1474
  protoOf(ProbTerm).asDirective = function () {
1475
- return this.$$delegate_0__1.asDirective();
1475
+ return this.e3n_1.asDirective();
1476
1476
  };
1477
1477
  protoOf(ProbTerm).asEmptyList = function () {
1478
- return this.$$delegate_0__1.asEmptyList();
1478
+ return this.e3n_1.asEmptyList();
1479
1479
  };
1480
1480
  protoOf(ProbTerm).asEmptyBlock = function () {
1481
- return this.$$delegate_0__1.asEmptyBlock();
1481
+ return this.e3n_1.asEmptyBlock();
1482
1482
  };
1483
1483
  protoOf(ProbTerm).asFact = function () {
1484
- return this.$$delegate_0__1.asFact();
1484
+ return this.e3n_1.asFact();
1485
1485
  };
1486
1486
  protoOf(ProbTerm).asIndicator = function () {
1487
- return this.$$delegate_0__1.asIndicator();
1487
+ return this.e3n_1.asIndicator();
1488
1488
  };
1489
1489
  protoOf(ProbTerm).asInteger = function () {
1490
- return this.$$delegate_0__1.asInteger();
1490
+ return this.e3n_1.asInteger();
1491
1491
  };
1492
1492
  protoOf(ProbTerm).asList = function () {
1493
- return this.$$delegate_0__1.asList();
1493
+ return this.e3n_1.asList();
1494
1494
  };
1495
1495
  protoOf(ProbTerm).asNumeric = function () {
1496
- return this.$$delegate_0__1.asNumeric();
1496
+ return this.e3n_1.asNumeric();
1497
1497
  };
1498
1498
  protoOf(ProbTerm).asReal = function () {
1499
- return this.$$delegate_0__1.asReal();
1499
+ return this.e3n_1.asReal();
1500
1500
  };
1501
1501
  protoOf(ProbTerm).asRule = function () {
1502
- return this.$$delegate_0__1.asRule();
1502
+ return this.e3n_1.asRule();
1503
1503
  };
1504
1504
  protoOf(ProbTerm).asBlock = function () {
1505
- return this.$$delegate_0__1.asBlock();
1505
+ return this.e3n_1.asBlock();
1506
1506
  };
1507
1507
  protoOf(ProbTerm).asStruct = function () {
1508
- return this.$$delegate_0__1.asStruct_l3eul5_k$();
1508
+ return this.e3n_1.ox();
1509
1509
  };
1510
1510
  protoOf(ProbTerm).asRecursive = function () {
1511
- return this.$$delegate_0__1.asRecursive();
1511
+ return this.e3n_1.asRecursive();
1512
1512
  };
1513
1513
  protoOf(ProbTerm).asTerm = function () {
1514
- return this.$$delegate_0__1.asTerm();
1514
+ return this.e3n_1.asTerm();
1515
1515
  };
1516
1516
  protoOf(ProbTerm).asTruth = function () {
1517
- return this.$$delegate_0__1.asTruth();
1517
+ return this.e3n_1.asTruth();
1518
1518
  };
1519
1519
  protoOf(ProbTerm).asTuple = function () {
1520
- return this.$$delegate_0__1.asTuple();
1520
+ return this.e3n_1.asTuple();
1521
1521
  };
1522
1522
  protoOf(ProbTerm).asVar = function () {
1523
- return this.$$delegate_0__1.asVar();
1523
+ return this.e3n_1.asVar();
1524
1524
  };
1525
- protoOf(ProbTerm).get_isVar_it73p0_k$ = function () {
1526
- return this.$$delegate_0__1.get_isVar_it73p0_k$();
1525
+ protoOf(ProbTerm).ux = function () {
1526
+ return this.e3n_1.ux();
1527
1527
  };
1528
- protoOf(ProbTerm).get_isStruct_zeoyoo_k$ = function () {
1529
- return this.$$delegate_0__1.get_isStruct_zeoyoo_k$();
1528
+ protoOf(ProbTerm).ex = function () {
1529
+ return this.e3n_1.ex();
1530
1530
  };
1531
- protoOf(ProbTerm).get_isTruth_zhwyo8_k$ = function () {
1532
- return this.$$delegate_0__1.get_isTruth_zhwyo8_k$();
1531
+ protoOf(ProbTerm).vx = function () {
1532
+ return this.e3n_1.vx();
1533
1533
  };
1534
- protoOf(ProbTerm).get_isRecursive_id8h1d_k$ = function () {
1535
- return this.$$delegate_0__1.get_isRecursive_id8h1d_k$();
1534
+ protoOf(ProbTerm).wx = function () {
1535
+ return this.e3n_1.wx();
1536
1536
  };
1537
- protoOf(ProbTerm).get_isAtom_evuq3o_k$ = function () {
1538
- return this.$$delegate_0__1.get_isAtom_evuq3o_k$();
1537
+ protoOf(ProbTerm).tw = function () {
1538
+ return this.e3n_1.tw();
1539
1539
  };
1540
- protoOf(ProbTerm).get_isConstant_scia2f_k$ = function () {
1541
- return this.$$delegate_0__1.get_isConstant_scia2f_k$();
1540
+ protoOf(ProbTerm).xx = function () {
1541
+ return this.e3n_1.xx();
1542
1542
  };
1543
- protoOf(ProbTerm).get_isNumber_x9n6xo_k$ = function () {
1544
- return this.$$delegate_0__1.get_isNumber_x9n6xo_k$();
1543
+ protoOf(ProbTerm).yx = function () {
1544
+ return this.e3n_1.yx();
1545
1545
  };
1546
- protoOf(ProbTerm).get_isInteger_vb3zt7_k$ = function () {
1547
- return this.$$delegate_0__1.get_isInteger_vb3zt7_k$();
1546
+ protoOf(ProbTerm).zx = function () {
1547
+ return this.e3n_1.zx();
1548
1548
  };
1549
- protoOf(ProbTerm).get_isReal_ew59f5_k$ = function () {
1550
- return this.$$delegate_0__1.get_isReal_ew59f5_k$();
1549
+ protoOf(ProbTerm).ay = function () {
1550
+ return this.e3n_1.ay();
1551
1551
  };
1552
- protoOf(ProbTerm).get_isList_ew1iwh_k$ = function () {
1553
- return this.$$delegate_0__1.get_isList_ew1iwh_k$();
1552
+ protoOf(ProbTerm).kx = function () {
1553
+ return this.e3n_1.kx();
1554
1554
  };
1555
- protoOf(ProbTerm).get_isTuple_zhv5m3_k$ = function () {
1556
- return this.$$delegate_0__1.get_isTuple_zhv5m3_k$();
1555
+ protoOf(ProbTerm).jx = function () {
1556
+ return this.e3n_1.jx();
1557
1557
  };
1558
- protoOf(ProbTerm).get_isEmptyBlock_mhm4pf_k$ = function () {
1559
- return this.$$delegate_0__1.get_isEmptyBlock_mhm4pf_k$();
1558
+ protoOf(ProbTerm).uw = function () {
1559
+ return this.e3n_1.uw();
1560
1560
  };
1561
- protoOf(ProbTerm).get_isClause_rwzxtu_k$ = function () {
1562
- return this.$$delegate_0__1.get_isClause_rwzxtu_k$();
1561
+ protoOf(ProbTerm).fx = function () {
1562
+ return this.e3n_1.fx();
1563
1563
  };
1564
- protoOf(ProbTerm).get_isCons_evvwck_k$ = function () {
1565
- return this.$$delegate_0__1.get_isCons_evvwck_k$();
1564
+ protoOf(ProbTerm).lx = function () {
1565
+ return this.e3n_1.lx();
1566
1566
  };
1567
- protoOf(ProbTerm).get_isEmptyList_9w8q3c_k$ = function () {
1568
- return this.$$delegate_0__1.get_isEmptyList_9w8q3c_k$();
1567
+ protoOf(ProbTerm).vw = function () {
1568
+ return this.e3n_1.vw();
1569
1569
  };
1570
- protoOf(ProbTerm).get_isTrue_ew6ti9_k$ = function () {
1571
- return this.$$delegate_0__1.get_isTrue_ew6ti9_k$();
1570
+ protoOf(ProbTerm).ww = function () {
1571
+ return this.e3n_1.ww();
1572
1572
  };
1573
- protoOf(ProbTerm).get_isIndicator_llw8m4_k$ = function () {
1574
- return this.$$delegate_0__1.get_isIndicator_llw8m4_k$();
1573
+ protoOf(ProbTerm).nx = function () {
1574
+ return this.e3n_1.nx();
1575
1575
  };
1576
1576
  protoOf(ProbTerm).getTag = function (name) {
1577
- return this.$$delegate_0__1.getTag(name);
1577
+ return this.e3n_1.getTag(name);
1578
1578
  };
1579
1579
  protoOf(ProbTerm).resetTags = function (tags) {
1580
- return this.$$delegate_0__1.resetTags(tags);
1580
+ return this.e3n_1.resetTags(tags);
1581
1581
  };
1582
1582
  protoOf(ProbTerm).containsTag = function (name) {
1583
- return this.$$delegate_0__1.containsTag(name);
1583
+ return this.e3n_1.containsTag(name);
1584
1584
  };
1585
- protoOf(ProbTerm).get_tags_wousf6_k$ = function () {
1586
- return this.$$delegate_0__1.get_tags_wousf6_k$();
1585
+ protoOf(ProbTerm).du = function () {
1586
+ return this.e3n_1.du();
1587
1587
  };
1588
- protoOf(ProbTerm).get_variables_75f0zy_k$ = function () {
1589
- return this.$$delegate_0__1.get_variables_75f0zy_k$();
1588
+ protoOf(ProbTerm).ax = function () {
1589
+ return this.e3n_1.ax();
1590
1590
  };
1591
1591
  function Companion_1() {
1592
1592
  }
@@ -1609,7 +1609,7 @@
1609
1609
  var item = clauses[inductionVariable];
1610
1610
  inductionVariable = inductionVariable + 1 | 0;
1611
1611
  var tmp$ret$2 = item(Companion_instance_2.empty());
1612
- destination.add_utx5q5_k$(tmp$ret$2);
1612
+ destination.l(tmp$ret$2);
1613
1613
  }
1614
1614
  return this.ofIterable(unificator, destination);
1615
1615
  };
@@ -1631,25 +1631,25 @@
1631
1631
  function collectAllHeads($this, head, accumulator) {
1632
1632
  var tmp;
1633
1633
  if (isInterface(head, Struct)) {
1634
- tmp = head.get_arity_iosiic_k$() === 2;
1634
+ tmp = head.sw() === 2;
1635
1635
  } else {
1636
1636
  tmp = false;
1637
1637
  }
1638
1638
  if (tmp) {
1639
- if (!(head.get_functor_75vgt2_k$() === ';') && !(head.get_functor_75vgt2_k$() === '::')) {
1639
+ if (!(head.yw() === ';') && !(head.yw() === '::')) {
1640
1640
  throw TuPrologException_init_$Create$('Badly formatted disjoint annotation: ' + head.toString());
1641
1641
  }
1642
- if (head.get_functor_75vgt2_k$() === ';') {
1642
+ if (head.yw() === ';') {
1643
1643
  collectAllHeads($this, head.get(1), accumulator);
1644
1644
  }
1645
1645
  }
1646
1646
  var curHeadProb = 1.0;
1647
1647
  var curHead = head;
1648
1648
  if (isInterface(head, Struct)) {
1649
- curHead = head.get_functor_75vgt2_k$() === ';' ? head.get(0) : head;
1649
+ curHead = head.yw() === ';' ? head.get(0) : head;
1650
1650
  var tmp_0;
1651
1651
  if (isInterface(curHead, Struct)) {
1652
- tmp_0 = curHead.get_functor_75vgt2_k$() === '::';
1652
+ tmp_0 = curHead.yw() === '::';
1653
1653
  } else {
1654
1654
  tmp_0 = false;
1655
1655
  }
@@ -1657,7 +1657,7 @@
1657
1657
  var curHeadProbTerm = curHead.get(0);
1658
1658
  var tmp_1;
1659
1659
  if (isInterface(curHeadProbTerm, Numeric)) {
1660
- tmp_1 = curHeadProbTerm.get_decimalValue_7pja3t_k$().toDouble();
1660
+ tmp_1 = curHeadProbTerm.o11().toDouble();
1661
1661
  } else {
1662
1662
  tmp_1 = solveArithmeticExpression(curHeadProbTerm);
1663
1663
  }
@@ -1665,36 +1665,36 @@
1665
1665
  curHead = curHead.get(1);
1666
1666
  }
1667
1667
  }
1668
- accumulator.add_utx5q5_k$(Companion_getInstance_1().of('::', [Companion_getInstance_6().ofDouble(curHeadProb), curHead]));
1668
+ accumulator.l(Companion_getInstance_1().of('::', [Companion_getInstance_6().ofDouble(curHeadProb), curHead]));
1669
1669
  }
1670
1670
  function AnnotatedDisjunctionClauseMapper() {
1671
1671
  }
1672
- protoOf(AnnotatedDisjunctionClauseMapper).isCompatible_jra7od_k$ = function (clause) {
1672
+ protoOf(AnnotatedDisjunctionClauseMapper).o3n = function (clause) {
1673
1673
  var tmp;
1674
1674
  if (isInterface(clause, Rule)) {
1675
- tmp = clause.get_head_won7e1_k$().get_functor_75vgt2_k$() === ';';
1675
+ tmp = clause.ez().yw() === ';';
1676
1676
  } else {
1677
1677
  tmp = false;
1678
1678
  }
1679
1679
  return tmp;
1680
1680
  };
1681
- protoOf(AnnotatedDisjunctionClauseMapper).apply_a16z0z_k$ = function (clause) {
1681
+ protoOf(AnnotatedDisjunctionClauseMapper).p3n = function (clause) {
1682
1682
  if (!isInterface(clause, Rule)) {
1683
1683
  throw new ClauseMappingException('Clause is not an instance of Rule: ' + clause.toString());
1684
1684
  }
1685
- var body = clause.get_body_wojkyz_k$();
1685
+ var body = clause.fz();
1686
1686
  // Inline function 'kotlin.collections.mutableListOf' call
1687
1687
  var disjointHeads = ArrayList_init_$Create$_0();
1688
- collectAllHeads(this, clause.get_head_won7e1_k$(), disjointHeads);
1688
+ collectAllHeads(this, clause.ez(), disjointHeads);
1689
1689
  var probSum = 0.0;
1690
1690
  // Inline function 'kotlin.collections.map' call
1691
1691
  // Inline function 'kotlin.collections.mapTo' call
1692
1692
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(disjointHeads, 10));
1693
- var _iterator__ex2g4s = disjointHeads.iterator_jk1svi_k$();
1694
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1695
- var item = _iterator__ex2g4s.next_20eer_k$();
1693
+ var _iterator__ex2g4s = disjointHeads.n();
1694
+ while (_iterator__ex2g4s.q()) {
1695
+ var item = _iterator__ex2g4s.r();
1696
1696
  var tmp = item.get(0);
1697
- var curProb = (isInterface(tmp, Numeric) ? tmp : THROW_CCE()).get_decimalValue_7pja3t_k$().toDouble();
1697
+ var curProb = (isInterface(tmp, Numeric) ? tmp : THROW_CCE()).o11().toDouble();
1698
1698
  var tmp_0;
1699
1699
  var tmp_1 = item.get(1);
1700
1700
  if (isInterface(tmp_1, Struct)) {
@@ -1705,22 +1705,22 @@
1705
1705
  }
1706
1706
  var curRuleHead = tmp_0;
1707
1707
  probSum = probSum + curProb;
1708
- var tmp$ret$3 = ProbabilisticClauseMapper_instance.mapRuleInternal_y0jl17_k$(Companion_instance_3.of(Companion_getInstance_1().of('::', [Companion_getInstance_6().ofDouble(curProb / (1.0 - (probSum - curProb))), curRuleHead]), [body]));
1709
- destination.add_utx5q5_k$(tmp$ret$3);
1708
+ var tmp$ret$3 = ProbabilisticClauseMapper_instance.q3n(Companion_instance_3.of(Companion_getInstance_1().of('::', [Companion_getInstance_6().ofDouble(curProb / (1.0 - (probSum - curProb))), curRuleHead]), [body]));
1709
+ destination.l(tmp$ret$3);
1710
1710
  }
1711
1711
  var mappedRules = toList_0(destination);
1712
- var explanation = Companion_getInstance_11().TRUE_1;
1712
+ var explanation = Companion_getInstance_11().z3m_1;
1713
1713
  // Inline function 'kotlin.collections.map' call
1714
1714
  // Inline function 'kotlin.collections.mapTo' call
1715
1715
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(mappedRules, 10));
1716
- var _iterator__ex2g4s_0 = mappedRules.iterator_jk1svi_k$();
1717
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1718
- var item_0 = _iterator__ex2g4s_0.next_20eer_k$();
1719
- var thisExplanation = Companion_getInstance_11().of_80r6fo_k$(item_0.second);
1716
+ var _iterator__ex2g4s_0 = mappedRules.n();
1717
+ while (_iterator__ex2g4s_0.q()) {
1718
+ var item_0 = _iterator__ex2g4s_0.r();
1719
+ var thisExplanation = Companion_getInstance_11().d3n(item_0.second);
1720
1720
  var resultExplanation = thisExplanation.and(explanation);
1721
1721
  explanation = explanation.and(thisExplanation.not());
1722
- var tmp$ret$6 = ProbabilisticClauseMapper_instance.mapRuleWithExplanation_lmelqv_k$(item_0.first, resultExplanation);
1723
- destination_0.add_utx5q5_k$(tmp$ret$6);
1722
+ var tmp$ret$6 = ProbabilisticClauseMapper_instance.r3n(item_0.first, resultExplanation);
1723
+ destination_0.l(tmp$ret$6);
1724
1724
  }
1725
1725
  return destination_0;
1726
1726
  };
@@ -1729,28 +1729,28 @@
1729
1729
  return AnnotatedDisjunctionClauseMapper_instance;
1730
1730
  }
1731
1731
  function ComputedValue(probability) {
1732
- this.probability_1 = probability;
1732
+ this.s3n_1 = probability;
1733
1733
  }
1734
1734
  protoOf(ComputedValue).toString = function () {
1735
- return 'ComputedValue(probability=' + this.probability_1 + ')';
1735
+ return 'ComputedValue(probability=' + this.s3n_1 + ')';
1736
1736
  };
1737
1737
  protoOf(ComputedValue).hashCode = function () {
1738
- return this.probability_1 == null ? 0 : getNumberHashCode(this.probability_1);
1738
+ return this.s3n_1 == null ? 0 : getNumberHashCode(this.s3n_1);
1739
1739
  };
1740
1740
  protoOf(ComputedValue).equals = function (other) {
1741
1741
  if (this === other)
1742
1742
  return true;
1743
1743
  if (!(other instanceof ComputedValue))
1744
1744
  return false;
1745
- if (!equals(this.probability_1, other.probability_1))
1745
+ if (!equals(this.s3n_1, other.s3n_1))
1746
1746
  return false;
1747
1747
  return true;
1748
1748
  };
1749
1749
  function Companion_2() {
1750
1750
  Companion_instance_11 = this;
1751
- this.EMPTY_COMPUTED_VALUE_1 = new ComputedValue(null);
1752
- this.FALSE_COMPUTED_VALUE_1 = new ComputedValue(0.0);
1753
- this.TRUE_COMPUTED_VALUE_1 = new ComputedValue(1.0);
1751
+ this.a3n_1 = new ComputedValue(null);
1752
+ this.b3n_1 = new ComputedValue(0.0);
1753
+ this.c3n_1 = new ComputedValue(1.0);
1754
1754
  }
1755
1755
  var Companion_instance_11;
1756
1756
  function Companion_getInstance_13() {
@@ -1766,19 +1766,19 @@
1766
1766
  }
1767
1767
  function computeExpansion($this, value, low, high) {
1768
1768
  var tmp;
1769
- if (!(low.probability_1 == null) && !(high.probability_1 == null)) {
1770
- tmp = value.probability_1 * high.probability_1 + (1.0 - value.probability_1) * low.probability_1;
1769
+ if (!(low.s3n_1 == null) && !(high.s3n_1 == null)) {
1770
+ tmp = value.g3n_1 * high.s3n_1 + (1.0 - value.g3n_1) * low.s3n_1;
1771
1771
  } else {
1772
1772
  tmp = null;
1773
1773
  }
1774
1774
  return new ComputedValue(tmp);
1775
1775
  }
1776
1776
  function _get_cachedNot__l38068($this) {
1777
- var tmp0 = $this.cachedNot$delegate_1;
1777
+ var tmp0 = $this.z3l_1;
1778
1778
  var tmp = KProperty1;
1779
1779
  // Inline function 'kotlin.getValue' call
1780
1780
  getPropertyCallableRef('cachedNot', 1, tmp, BinaryDecisionDiagramExplanation$_get_cachedNot_$ref_q3r5qq(), null);
1781
- return tmp0.get_value_j01efc_k$();
1781
+ return tmp0.f1();
1782
1782
  }
1783
1783
  function BinaryDecisionDiagramExplanation$cachedNot$delegate$lambda$lambda(this$0) {
1784
1784
  return function (node, low, high) {
@@ -1787,9 +1787,9 @@
1787
1787
  }
1788
1788
  function BinaryDecisionDiagramExplanation$cachedNot$delegate$lambda(this$0) {
1789
1789
  return function () {
1790
- var tmp = Companion_getInstance_13().FALSE_COMPUTED_VALUE_1;
1791
- var tmp_0 = Companion_getInstance_13().TRUE_COMPUTED_VALUE_1;
1792
- var result = notThenExpansion(this$0.diagram_1, tmp, tmp_0, BinaryDecisionDiagramExplanation$cachedNot$delegate$lambda$lambda(this$0));
1790
+ var tmp = Companion_getInstance_13().b3n_1;
1791
+ var tmp_0 = Companion_getInstance_13().c3n_1;
1792
+ var result = notThenExpansion(this$0.x3l_1, tmp, tmp_0, BinaryDecisionDiagramExplanation$cachedNot$delegate$lambda$lambda(this$0));
1793
1793
  return new BinaryDecisionDiagramExplanation(result.first, result.second);
1794
1794
  };
1795
1795
  }
@@ -1809,14 +1809,14 @@
1809
1809
  };
1810
1810
  }
1811
1811
  function BinaryDecisionDiagramExplanation$probability$delegate$lambda$lambda(node, low, high) {
1812
- return node.probability_1 * high + (1.0 - node.probability_1) * low;
1812
+ return node.g3n_1 * high + (1.0 - node.g3n_1) * low;
1813
1813
  }
1814
1814
  function BinaryDecisionDiagramExplanation$probability$delegate$lambda(this$0) {
1815
1815
  return function () {
1816
- var tmp0_elvis_lhs = this$0.computedValue_1.probability_1;
1816
+ var tmp0_elvis_lhs = this$0.y3l_1.s3n_1;
1817
1817
  var tmp;
1818
1818
  if (tmp0_elvis_lhs == null) {
1819
- tmp = expansion(this$0.diagram_1, 0.0, 1.0, BinaryDecisionDiagramExplanation$probability$delegate$lambda$lambda);
1819
+ tmp = expansion(this$0.x3l_1, 0.0, 1.0, BinaryDecisionDiagramExplanation$probability$delegate$lambda$lambda);
1820
1820
  } else {
1821
1821
  tmp = tmp0_elvis_lhs;
1822
1822
  }
@@ -1825,20 +1825,20 @@
1825
1825
  }
1826
1826
  function BinaryDecisionDiagramExplanation$_get_probability_$ref_gzzr62() {
1827
1827
  return constructCallableReference(function (p0) {
1828
- return p0.get_probability_7g5yr8_k$();
1828
+ return p0.l3n();
1829
1829
  }, 1, 0, 95);
1830
1830
  }
1831
1831
  function BinaryDecisionDiagramExplanation$containsAnyNotGroundTerm$delegate$lambda$lambda(it) {
1832
- return !it.get_isGround_twq4nu_k$();
1832
+ return !it.cy();
1833
1833
  }
1834
1834
  function BinaryDecisionDiagramExplanation$containsAnyNotGroundTerm$delegate$lambda(this$0) {
1835
1835
  return function () {
1836
- return anyWhere(this$0.diagram_1, BinaryDecisionDiagramExplanation$containsAnyNotGroundTerm$delegate$lambda$lambda);
1836
+ return anyWhere(this$0.x3l_1, BinaryDecisionDiagramExplanation$containsAnyNotGroundTerm$delegate$lambda$lambda);
1837
1837
  };
1838
1838
  }
1839
1839
  function BinaryDecisionDiagramExplanation$_get_containsAnyNotGroundTerm_$ref_82xwv2() {
1840
1840
  return constructCallableReference(function (p0) {
1841
- return p0.get_containsNonGroundTerm_exngzs_k$();
1841
+ return p0.n3n();
1842
1842
  }, 1, 0, 96);
1843
1843
  }
1844
1844
  function BinaryDecisionDiagramExplanation$apply$lambda($transformation) {
@@ -1848,64 +1848,64 @@
1848
1848
  }
1849
1849
  function BinaryDecisionDiagramExplanation(diagram, computedValue) {
1850
1850
  Companion_getInstance_13();
1851
- computedValue = computedValue === VOID ? Companion_getInstance_13().EMPTY_COMPUTED_VALUE_1 : computedValue;
1852
- this.diagram_1 = diagram;
1853
- this.computedValue_1 = computedValue;
1851
+ computedValue = computedValue === VOID ? Companion_getInstance_13().a3n_1 : computedValue;
1852
+ this.x3l_1 = diagram;
1853
+ this.y3l_1 = computedValue;
1854
1854
  var tmp = this;
1855
- tmp.cachedNot$delegate_1 = lazy(BinaryDecisionDiagramExplanation$cachedNot$delegate$lambda(this));
1855
+ tmp.z3l_1 = lazy(BinaryDecisionDiagramExplanation$cachedNot$delegate$lambda(this));
1856
1856
  var tmp_0 = this;
1857
- tmp_0.probability$delegate_1 = lazy(BinaryDecisionDiagramExplanation$probability$delegate$lambda(this));
1857
+ tmp_0.a3m_1 = lazy(BinaryDecisionDiagramExplanation$probability$delegate$lambda(this));
1858
1858
  var tmp_1 = this;
1859
- tmp_1.containsAnyNotGroundTerm$delegate_1 = lazy(BinaryDecisionDiagramExplanation$containsAnyNotGroundTerm$delegate$lambda(this));
1859
+ tmp_1.b3m_1 = lazy(BinaryDecisionDiagramExplanation$containsAnyNotGroundTerm$delegate$lambda(this));
1860
1860
  }
1861
- protoOf(BinaryDecisionDiagramExplanation).not_2cb7_k$ = function () {
1861
+ protoOf(BinaryDecisionDiagramExplanation).t3n = function () {
1862
1862
  return _get_cachedNot__l38068(this);
1863
1863
  };
1864
1864
  protoOf(BinaryDecisionDiagramExplanation).not = function () {
1865
- return this.not_2cb7_k$();
1865
+ return this.t3n();
1866
1866
  };
1867
- protoOf(BinaryDecisionDiagramExplanation).and_kbcar1_k$ = function (that) {
1868
- var tmp = getAsInternal(this, that).diagram_1;
1869
- var tmp_0 = Companion_getInstance_13().FALSE_COMPUTED_VALUE_1;
1870
- var tmp_1 = Companion_getInstance_13().TRUE_COMPUTED_VALUE_1;
1871
- var result = andThenExpansion(this.diagram_1, tmp, tmp_0, tmp_1, BinaryDecisionDiagramExplanation$and$lambda(this));
1867
+ protoOf(BinaryDecisionDiagramExplanation).u3n = function (that) {
1868
+ var tmp = getAsInternal(this, that).x3l_1;
1869
+ var tmp_0 = Companion_getInstance_13().b3n_1;
1870
+ var tmp_1 = Companion_getInstance_13().c3n_1;
1871
+ var result = andThenExpansion(this.x3l_1, tmp, tmp_0, tmp_1, BinaryDecisionDiagramExplanation$and$lambda(this));
1872
1872
  return new BinaryDecisionDiagramExplanation(result.first, result.second);
1873
1873
  };
1874
1874
  protoOf(BinaryDecisionDiagramExplanation).and = function (that) {
1875
- return this.and_kbcar1_k$(that);
1875
+ return this.u3n(that);
1876
1876
  };
1877
- protoOf(BinaryDecisionDiagramExplanation).or_mpoao7_k$ = function (that) {
1878
- var tmp = getAsInternal(this, that).diagram_1;
1879
- var tmp_0 = Companion_getInstance_13().FALSE_COMPUTED_VALUE_1;
1880
- var tmp_1 = Companion_getInstance_13().TRUE_COMPUTED_VALUE_1;
1881
- var result = orThenExpansion(this.diagram_1, tmp, tmp_0, tmp_1, BinaryDecisionDiagramExplanation$or$lambda(this));
1877
+ protoOf(BinaryDecisionDiagramExplanation).v3n = function (that) {
1878
+ var tmp = getAsInternal(this, that).x3l_1;
1879
+ var tmp_0 = Companion_getInstance_13().b3n_1;
1880
+ var tmp_1 = Companion_getInstance_13().c3n_1;
1881
+ var result = orThenExpansion(this.x3l_1, tmp, tmp_0, tmp_1, BinaryDecisionDiagramExplanation$or$lambda(this));
1882
1882
  return new BinaryDecisionDiagramExplanation(result.first, result.second);
1883
1883
  };
1884
1884
  protoOf(BinaryDecisionDiagramExplanation).or = function (that) {
1885
- return this.or_mpoao7_k$(that);
1885
+ return this.v3n(that);
1886
1886
  };
1887
- protoOf(BinaryDecisionDiagramExplanation).get_probability_7g5yr8_k$ = function () {
1888
- var tmp0 = this.probability$delegate_1;
1887
+ protoOf(BinaryDecisionDiagramExplanation).l3n = function () {
1888
+ var tmp0 = this.a3m_1;
1889
1889
  var tmp = KProperty1;
1890
1890
  // Inline function 'kotlin.getValue' call
1891
1891
  getPropertyCallableRef('probability', 1, tmp, BinaryDecisionDiagramExplanation$_get_probability_$ref_gzzr62(), null);
1892
- return tmp0.get_value_j01efc_k$();
1892
+ return tmp0.f1();
1893
1893
  };
1894
- protoOf(BinaryDecisionDiagramExplanation).get_containsNonGroundTerm_exngzs_k$ = function () {
1895
- var tmp0 = this.containsAnyNotGroundTerm$delegate_1;
1894
+ protoOf(BinaryDecisionDiagramExplanation).n3n = function () {
1895
+ var tmp0 = this.b3m_1;
1896
1896
  var tmp = KProperty1;
1897
1897
  // Inline function 'kotlin.getValue' call
1898
1898
  getPropertyCallableRef('containsAnyNotGroundTerm', 1, tmp, BinaryDecisionDiagramExplanation$_get_containsAnyNotGroundTerm_$ref_82xwv2(), null);
1899
- return tmp0.get_value_j01efc_k$();
1899
+ return tmp0.f1();
1900
1900
  };
1901
1901
  protoOf(BinaryDecisionDiagramExplanation).toString = function () {
1902
- return 'bdd:' + hashCode(this.diagram_1);
1902
+ return 'bdd:' + hashCode(this.x3l_1);
1903
1903
  };
1904
- protoOf(BinaryDecisionDiagramExplanation).applyTransformation_8udvxw_k$ = function (transformation) {
1905
- return new BinaryDecisionDiagramExplanation(map_0(this.diagram_1, BinaryDecisionDiagramExplanation$apply$lambda(transformation)));
1904
+ protoOf(BinaryDecisionDiagramExplanation).w3n = function (transformation) {
1905
+ return new BinaryDecisionDiagramExplanation(map_0(this.x3l_1, BinaryDecisionDiagramExplanation$apply$lambda(transformation)));
1906
1906
  };
1907
1907
  protoOf(BinaryDecisionDiagramExplanation).applyTransformation = function (transformation) {
1908
- return this.applyTransformation_8udvxw_k$(transformation);
1908
+ return this.w3n(transformation);
1909
1909
  };
1910
1910
  function get_nonWrappableFunctors() {
1911
1911
  _init_properties_ClauseMappingUtils_kt__go80e();
@@ -1914,27 +1914,27 @@
1914
1914
  var nonWrappableFunctors;
1915
1915
  function ClauseMappingUtils() {
1916
1916
  ClauseMappingUtils_instance = this;
1917
- this.clauseIndex_1 = 1n;
1918
- this.cascadeMappers_1 = listOf_0([DirectiveClauseMapper_instance, AnnotatedDisjunctionClauseMapper_instance, ProbabilisticClauseMapper_instance, EvidenceClauseMapper_instance, PrologClauseMapper_instance, NothingClauseMapper_instance]);
1917
+ this.x3n_1 = 1n;
1918
+ this.y3n_1 = listOf_0([DirectiveClauseMapper_instance, AnnotatedDisjunctionClauseMapper_instance, ProbabilisticClauseMapper_instance, EvidenceClauseMapper_instance, PrologClauseMapper_instance, NothingClauseMapper_instance]);
1919
1919
  }
1920
- protoOf(ClauseMappingUtils).newClauseId_w9leay_k$ = function () {
1921
- var _unary__edvuaz = this.clauseIndex_1;
1922
- this.clauseIndex_1 = add(_unary__edvuaz, get_ONE());
1920
+ protoOf(ClauseMappingUtils).z3n = function () {
1921
+ var _unary__edvuaz = this.x3n_1;
1922
+ this.x3n_1 = add(_unary__edvuaz, get_ONE());
1923
1923
  return _unary__edvuaz;
1924
1924
  };
1925
- protoOf(ClauseMappingUtils).map_neip0b_k$ = function (clause) {
1925
+ protoOf(ClauseMappingUtils).a3o = function (clause) {
1926
1926
  var tmp;
1927
1927
  if (get_isMappedAsProblog(clause)) {
1928
1928
  tmp = listOf(clause);
1929
1929
  } else {
1930
- var tmp0 = this.cascadeMappers_1;
1930
+ var tmp0 = this.y3n_1;
1931
1931
  var tmp$ret$0;
1932
1932
  $l$block: {
1933
1933
  // Inline function 'kotlin.collections.first' call
1934
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1935
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1936
- var element = _iterator__ex2g4s.next_20eer_k$();
1937
- if (element.isCompatible_jra7od_k$(clause)) {
1934
+ var _iterator__ex2g4s = tmp0.n();
1935
+ while (_iterator__ex2g4s.q()) {
1936
+ var element = _iterator__ex2g4s.r();
1937
+ if (element.o3n(clause)) {
1938
1938
  tmp$ret$0 = element;
1939
1939
  break $l$block;
1940
1940
  }
@@ -1942,26 +1942,26 @@
1942
1942
  throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
1943
1943
  }
1944
1944
  // Inline function 'kotlin.collections.map' call
1945
- var this_0 = tmp$ret$0.apply_a16z0z_k$(clause);
1945
+ var this_0 = tmp$ret$0.p3n(clause);
1946
1946
  // Inline function 'kotlin.collections.mapTo' call
1947
1947
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1948
- var _iterator__ex2g4s_0 = this_0.iterator_jk1svi_k$();
1949
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1950
- var item = _iterator__ex2g4s_0.next_20eer_k$();
1948
+ var _iterator__ex2g4s_0 = this_0.n();
1949
+ while (_iterator__ex2g4s_0.q()) {
1950
+ var item = _iterator__ex2g4s_0.r();
1951
1951
  var tmp$ret$4 = setMappedAsProblog(item, true);
1952
- destination.add_utx5q5_k$(tmp$ret$4);
1952
+ destination.l(tmp$ret$4);
1953
1953
  }
1954
1954
  tmp = destination;
1955
1955
  }
1956
1956
  return tmp;
1957
1957
  };
1958
- protoOf(ClauseMappingUtils).map_v8kjbx_k$ = function (indicator) {
1959
- var arityTerm = indicator.get_arityTerm_3wo1ts_k$();
1958
+ protoOf(ClauseMappingUtils).b3o = function (indicator) {
1959
+ var arityTerm = indicator.f11();
1960
1960
  var tmp = Companion_instance_4;
1961
- var tmp_0 = indicator.get_nameTerm_1d3t7k_k$();
1961
+ var tmp_0 = indicator.e11();
1962
1962
  var tmp_1;
1963
1963
  if (isInterface(arityTerm, Numeric)) {
1964
- tmp_1 = Companion_getInstance_6().ofInteger(arityTerm.get_intValue_mlvnn9_k$().toInt() + 1 | 0);
1964
+ tmp_1 = Companion_getInstance_6().ofInteger(arityTerm.g11().toInt() + 1 | 0);
1965
1965
  } else {
1966
1966
  tmp_1 = arityTerm;
1967
1967
  }
@@ -2001,7 +2001,7 @@
2001
2001
  } else {
2002
2002
  var tmp_0;
2003
2003
  if (isInterface(_this__u8e3s4, Struct)) {
2004
- tmp_0 = Companion_getInstance_1().ofList(_this__u8e3s4.get_functor_75vgt2_k$(), plus(_this__u8e3s4.get_argsList_cw1bs4_k$(), explanation));
2004
+ tmp_0 = Companion_getInstance_1().ofList(_this__u8e3s4.yw(), plus(_this__u8e3s4.zw(), explanation));
2005
2005
  } else {
2006
2006
  tmp_0 = Companion_getInstance_1().of(_this__u8e3s4.toString(), [explanation]);
2007
2007
  }
@@ -2024,7 +2024,7 @@
2024
2024
  var tmp;
2025
2025
  if (isInterface(_this__u8e3s4, Struct)) {
2026
2026
  var tmp_0;
2027
- switch (_this__u8e3s4.get_functor_75vgt2_k$()) {
2027
+ switch (_this__u8e3s4.yw()) {
2028
2028
  case ',':
2029
2029
  var leftVar = Companion_getInstance_0().of('EXPL_A_' + depth);
2030
2030
  var rightVar = Companion_getInstance_0().of('EXPL_B_' + depth);
@@ -2055,11 +2055,11 @@
2055
2055
  }
2056
2056
  function get_isWrappableWithExplanation(_this__u8e3s4) {
2057
2057
  _init_properties_ClauseMappingUtils_kt__go80e();
2058
- return !get_nonWrappableFunctors().contains_aljjnj_k$(safeToStruct(_this__u8e3s4).get_functor_75vgt2_k$());
2058
+ return !get_nonWrappableFunctors().y(safeToStruct(_this__u8e3s4).yw());
2059
2059
  }
2060
2060
  function withExplanationNonWrappable(_this__u8e3s4, explanation) {
2061
2061
  _init_properties_ClauseMappingUtils_kt__go80e();
2062
- return Companion_instance_0.of(_this__u8e3s4, Companion_getInstance_1().of('=', [explanation, toTerm(Companion_getInstance_11().TRUE_1)]));
2062
+ return Companion_instance_0.of(_this__u8e3s4, Companion_getInstance_1().of('=', [explanation, toTerm(Companion_getInstance_11().z3m_1)]));
2063
2063
  }
2064
2064
  function wrapInPredicate(_this__u8e3s4, functor, explanation) {
2065
2065
  _init_properties_ClauseMappingUtils_kt__go80e();
@@ -2076,8 +2076,8 @@
2076
2076
  var tmp0 = _this__u8e3s4.toString();
2077
2077
  // Inline function 'kotlin.text.toRegex' call
2078
2078
  // Inline function 'kotlin.text.replace' call
2079
- var termStr = Regex_init_$Create$('\\s').replace_1ix0wf_k$(tmp0, '');
2080
- var tmp0_elvis_lhs = Regex_init_$Create$('([0-9.]+)(/)([0-9.]+).*').find$default_xakyli_k$(termStr);
2079
+ var termStr = Regex_init_$Create$('\\s').ub(tmp0, '');
2080
+ var tmp0_elvis_lhs = Regex_init_$Create$('([0-9.]+)(/)([0-9.]+).*').pb(termStr);
2081
2081
  var tmp;
2082
2082
  if (tmp0_elvis_lhs == null) {
2083
2083
  throw TuPrologException_init_$Create$('Unsupported probability notation in annotated disjunction: ' + termStr);
@@ -2085,11 +2085,11 @@
2085
2085
  tmp = tmp0_elvis_lhs;
2086
2086
  }
2087
2087
  var regexMatch = tmp;
2088
- var _destruct__k2r9zo = regexMatch.get_destructured_a9abdx_k$();
2088
+ var _destruct__k2r9zo = regexMatch.oc();
2089
2089
  // Inline function 'kotlin.text.Destructured.component1' call
2090
- var dividendStr = _destruct__k2r9zo.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(1);
2090
+ var dividendStr = _destruct__k2r9zo.qj_1.nc().x(1);
2091
2091
  // Inline function 'kotlin.text.Destructured.component3' call
2092
- var divisorStr = _destruct__k2r9zo.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(3);
2092
+ var divisorStr = _destruct__k2r9zo.qj_1.nc().x(3);
2093
2093
  var dividend = toDoubleOrNull(dividendStr);
2094
2094
  var divisor = toDoubleOrNull(divisorStr);
2095
2095
  if (dividend == null || divisor == null) {
@@ -2101,44 +2101,44 @@
2101
2101
  _init_properties_ClauseMappingUtils_kt__go80e();
2102
2102
  var tmp = Companion_getInstance_5();
2103
2103
  // Inline function 'kotlin.collections.filter' call
2104
- var tmp0 = plus_0(toSet_0(_this__u8e3s4.get_head_won7e1_k$().get_variables_75f0zy_k$()), toSet_0(_this__u8e3s4.get_body_wojkyz_k$().get_variables_75f0zy_k$()));
2104
+ var tmp0 = plus_0(toSet_0(_this__u8e3s4.ez().ax()), toSet_0(_this__u8e3s4.fz().ax()));
2105
2105
  // Inline function 'kotlin.collections.filterTo' call
2106
2106
  var destination = ArrayList_init_$Create$_0();
2107
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
2108
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2109
- var element = _iterator__ex2g4s.next_20eer_k$();
2110
- if (element.get_isAnonymous_19zn5y_k$()) {
2111
- destination.add_utx5q5_k$(element);
2107
+ var _iterator__ex2g4s = tmp0.n();
2108
+ while (_iterator__ex2g4s.q()) {
2109
+ var element = _iterator__ex2g4s.r();
2110
+ if (element.v15()) {
2111
+ destination.l(element);
2112
2112
  }
2113
2113
  }
2114
2114
  // Inline function 'kotlin.collections.mapIndexed' call
2115
2115
  // Inline function 'kotlin.collections.mapIndexedTo' call
2116
2116
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
2117
2117
  var index = 0;
2118
- var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
2119
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
2120
- var item = _iterator__ex2g4s_0.next_20eer_k$();
2118
+ var _iterator__ex2g4s_0 = destination.n();
2119
+ while (_iterator__ex2g4s_0.q()) {
2120
+ var item = _iterator__ex2g4s_0.r();
2121
2121
  var _unary__edvuaz = index;
2122
2122
  index = _unary__edvuaz + 1 | 0;
2123
2123
  var index_0 = checkIndexOverflow(_unary__edvuaz);
2124
2124
  var tmp$ret$5 = new Pair(item, Companion_getInstance_0().of('ANON_' + index_0));
2125
- destination_0.add_utx5q5_k$(tmp$ret$5);
2125
+ destination_0.l(tmp$ret$5);
2126
2126
  }
2127
2127
  var anonVarSubstitution = tmp.ofIterable(destination_0);
2128
2128
  var tmp_0;
2129
2129
  if (isInterface(_this__u8e3s4, Fact)) {
2130
- tmp_0 = Companion_instance.of(safeToStruct(_this__u8e3s4.get_head_won7e1_k$().applySubstitution(anonVarSubstitution)));
2130
+ tmp_0 = Companion_instance.of(safeToStruct(_this__u8e3s4.ez().applySubstitution(anonVarSubstitution)));
2131
2131
  } else {
2132
- tmp_0 = Companion_instance_3.of(safeToStruct(_this__u8e3s4.get_head_won7e1_k$().applySubstitution(anonVarSubstitution)), [safeToStruct(_this__u8e3s4.get_body_wojkyz_k$().applySubstitution(anonVarSubstitution))]);
2132
+ tmp_0 = Companion_instance_3.of(safeToStruct(_this__u8e3s4.ez().applySubstitution(anonVarSubstitution)), [safeToStruct(_this__u8e3s4.fz().applySubstitution(anonVarSubstitution))]);
2133
2133
  }
2134
2134
  return tmp_0;
2135
2135
  }
2136
2136
  function get_extraVariables(_this__u8e3s4) {
2137
2137
  _init_properties_ClauseMappingUtils_kt__go80e();
2138
2138
  var tmp;
2139
- if (!_this__u8e3s4.get_isGround_twq4nu_k$()) {
2140
- var headVars = toSet_0(_this__u8e3s4.get_head_won7e1_k$().get_variables_75f0zy_k$());
2141
- var bodyVars = toSet_0(_this__u8e3s4.get_body_wojkyz_k$().get_variables_75f0zy_k$());
2139
+ if (!_this__u8e3s4.cy()) {
2140
+ var headVars = toSet_0(_this__u8e3s4.ez().ax());
2141
+ var bodyVars = toSet_0(_this__u8e3s4.fz().ax());
2142
2142
  tmp = subtract(bodyVars, headVars);
2143
2143
  } else {
2144
2144
  tmp = emptySet();
@@ -2154,17 +2154,17 @@
2154
2154
  }
2155
2155
  function DirectiveClauseMapper() {
2156
2156
  }
2157
- protoOf(DirectiveClauseMapper).isCompatible_jra7od_k$ = function (clause) {
2158
- return clause.get_isDirective_hgp7mk_k$();
2157
+ protoOf(DirectiveClauseMapper).o3n = function (clause) {
2158
+ return clause.hx();
2159
2159
  };
2160
- protoOf(DirectiveClauseMapper).apply_a16z0z_k$ = function (clause) {
2161
- var body = clause.get_body_wojkyz_k$();
2160
+ protoOf(DirectiveClauseMapper).p3n = function (clause) {
2161
+ var body = clause.fz();
2162
2162
  if (!isInterface(clause, Directive)) {
2163
2163
  throw new ClauseMappingException('Clause is not an instance of Directive: ' + clause.toString());
2164
2164
  }
2165
2165
  var tmp;
2166
2166
  if (isInterface(body, Struct)) {
2167
- tmp = body.get_functor_75vgt2_k$() === 'static' || body.get_functor_75vgt2_k$() === 'dynamic';
2167
+ tmp = body.yw() === 'static' || body.yw() === 'dynamic';
2168
2168
  } else {
2169
2169
  tmp = false;
2170
2170
  }
@@ -2173,21 +2173,21 @@
2173
2173
  if (!isInterface(indicatorTerm, Indicator)) {
2174
2174
  throw new ClauseMappingException('Malformed directive: ' + clause.toString());
2175
2175
  }
2176
- var name = indicatorTerm.get_nameTerm_1d3t7k_k$();
2177
- var arity = indicatorTerm.get_arityTerm_3wo1ts_k$();
2176
+ var name = indicatorTerm.e11();
2177
+ var arity = indicatorTerm.f11();
2178
2178
  if (!isInterface(arity, Numeric)) {
2179
2179
  throw new ClauseMappingException('Malformed directive: ' + clause.toString());
2180
2180
  }
2181
- return listOf(Companion_instance_5.of(Companion_getInstance_1().of(body.get_functor_75vgt2_k$(), [Companion_instance_4.of(name, Companion_getInstance_6().ofInteger(arity.get_decimalValue_7pja3t_k$().toInt() + 1 | 0))]), []));
2181
+ return listOf(Companion_instance_5.of(Companion_getInstance_1().of(body.yw(), [Companion_instance_4.of(name, Companion_getInstance_6().ofInteger(arity.o11().toInt() + 1 | 0))]), []));
2182
2182
  }
2183
2183
  var tmp_0;
2184
2184
  if (isInterface(body, Struct)) {
2185
- tmp_0 = body.get_functor_75vgt2_k$() === 'initialization' || body.get_functor_75vgt2_k$() === 'solve';
2185
+ tmp_0 = body.yw() === 'initialization' || body.yw() === 'solve';
2186
2186
  } else {
2187
2187
  tmp_0 = false;
2188
2188
  }
2189
2189
  if (tmp_0) {
2190
- return listOf(Companion_instance_5.of(Companion_getInstance_1().of(body.get_functor_75vgt2_k$(), [withBodyExplanation(body.get(0), Companion_getInstance_0().anonymous())]), []));
2190
+ return listOf(Companion_instance_5.of(Companion_getInstance_1().of(body.yw(), [withBodyExplanation(body.get(0), Companion_getInstance_0().anonymous())]), []));
2191
2191
  }
2192
2192
  return listOf(clause);
2193
2193
  };
@@ -2197,42 +2197,42 @@
2197
2197
  }
2198
2198
  function EvidenceClauseMapper() {
2199
2199
  }
2200
- protoOf(EvidenceClauseMapper).isCompatible_jra7od_k$ = function (clause) {
2200
+ protoOf(EvidenceClauseMapper).o3n = function (clause) {
2201
2201
  var tmp;
2202
2202
  if (isInterface(clause, Rule)) {
2203
- tmp = clause.get_head_won7e1_k$().get_functor_75vgt2_k$() === 'evidence';
2203
+ tmp = clause.ez().yw() === 'evidence';
2204
2204
  } else {
2205
2205
  tmp = false;
2206
2206
  }
2207
2207
  return tmp;
2208
2208
  };
2209
- protoOf(EvidenceClauseMapper).apply_a16z0z_k$ = function (clause) {
2209
+ protoOf(EvidenceClauseMapper).p3n = function (clause) {
2210
2210
  if (!isInterface(clause, Rule)) {
2211
2211
  throw new ClauseMappingException('Clause is not an instance of Rule: ' + clause.toString());
2212
2212
  }
2213
- if (clause.get_head_won7e1_k$().get_arity_iosiic_k$() > 2) {
2214
- throw TuPrologException_init_$Create$('Invalid evidence predicate: ' + clause.get_head_won7e1_k$().toString());
2213
+ if (clause.ez().sw() > 2) {
2214
+ throw TuPrologException_init_$Create$('Invalid evidence predicate: ' + clause.ez().toString());
2215
2215
  } else {
2216
2216
  var tmp;
2217
- if (clause.get_head_won7e1_k$().get_arity_iosiic_k$() === 2) {
2218
- var tmp_0 = clause.get_head_won7e1_k$().get(1);
2217
+ if (clause.ez().sw() === 2) {
2218
+ var tmp_0 = clause.ez().get(1);
2219
2219
  tmp = !isInterface(tmp_0, Truth);
2220
2220
  } else {
2221
2221
  tmp = false;
2222
2222
  }
2223
2223
  if (tmp) {
2224
- throw TuPrologException_init_$Create$('Invalid evidence predicate: ' + clause.get_head_won7e1_k$().toString());
2224
+ throw TuPrologException_init_$Create$('Invalid evidence predicate: ' + clause.ez().toString());
2225
2225
  }
2226
2226
  }
2227
- var headTerm = clause.get_head_won7e1_k$();
2228
- if (headTerm.get_arity_iosiic_k$() === 1) {
2229
- headTerm = Companion_getInstance_1().of(headTerm.get_functor_75vgt2_k$(), [headTerm.get(0), Companion_getInstance_7().TRUE_1]);
2227
+ var headTerm = clause.ez();
2228
+ if (headTerm.sw() === 1) {
2229
+ headTerm = Companion_getInstance_1().of(headTerm.yw(), [headTerm.get(0), Companion_getInstance_7().pw_1]);
2230
2230
  }
2231
2231
  var tmp_1;
2232
2232
  if (isInterface(clause, Fact)) {
2233
2233
  tmp_1 = Companion_instance.of(headTerm);
2234
2234
  } else {
2235
- tmp_1 = Companion_instance_3.of(headTerm, [withBodyExplanation(clause.get_body_wojkyz_k$(), Companion_getInstance_0().anonymous())]);
2235
+ tmp_1 = Companion_instance_3.of(headTerm, [withBodyExplanation(clause.fz(), Companion_getInstance_0().anonymous())]);
2236
2236
  }
2237
2237
  return listOf(tmp_1);
2238
2238
  };
@@ -2241,7 +2241,7 @@
2241
2241
  return EvidenceClauseMapper_instance;
2242
2242
  }
2243
2243
  function MappedMutableProblogTheory(clauses, unificator, theory) {
2244
- unificator = unificator === VOID ? Companion_getInstance_8().get_default_qtagd4_k$() : unificator;
2244
+ unificator = unificator === VOID ? Companion_getInstance_8().o1n() : unificator;
2245
2245
  var tmp;
2246
2246
  if (theory === VOID) {
2247
2247
  var tmp_0 = Companion_instance_6;
@@ -2252,10 +2252,10 @@
2252
2252
  // Inline function 'kotlin.collections.flatMap' call
2253
2253
  // Inline function 'kotlin.collections.flatMapTo' call
2254
2254
  var destination = ArrayList_init_$Create$_0();
2255
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2256
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2257
- var element = _iterator__ex2g4s.next_20eer_k$();
2258
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2255
+ var _iterator__ex2g4s = clauses.n();
2256
+ while (_iterator__ex2g4s.q()) {
2257
+ var element = _iterator__ex2g4s.r();
2258
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2259
2259
  addAll(destination, list);
2260
2260
  }
2261
2261
  tmp_1 = destination;
@@ -2266,106 +2266,106 @@
2266
2266
  tmp = theory;
2267
2267
  }
2268
2268
  theory = tmp;
2269
- this.theory_1 = theory;
2269
+ this.c3o_1 = theory;
2270
2270
  }
2271
- protoOf(MappedMutableProblogTheory).get_isMutable_matrzn_k$ = function () {
2271
+ protoOf(MappedMutableProblogTheory).l1v = function () {
2272
2272
  return false;
2273
2273
  };
2274
- protoOf(MappedMutableProblogTheory).toMutableTheory_1yp9n4_k$ = function () {
2275
- return Companion_instance_8.ofIterable(this.get_unificator_xw6v3j_k$(), this);
2274
+ protoOf(MappedMutableProblogTheory).y1v = function () {
2275
+ return Companion_instance_8.ofIterable(this.v1n(), this);
2276
2276
  };
2277
2277
  protoOf(MappedMutableProblogTheory).toMutableTheory = function () {
2278
- return this.toMutableTheory_1yp9n4_k$();
2278
+ return this.y1v();
2279
2279
  };
2280
- protoOf(MappedMutableProblogTheory).toImmutableTheory_k8hbm4_k$ = function () {
2280
+ protoOf(MappedMutableProblogTheory).l1u = function () {
2281
2281
  return this;
2282
2282
  };
2283
2283
  protoOf(MappedMutableProblogTheory).toImmutableTheory = function () {
2284
- return this.toImmutableTheory_k8hbm4_k$();
2284
+ return this.l1u();
2285
2285
  };
2286
- protoOf(MappedMutableProblogTheory).plus_jzqt4d_k$ = function (theory) {
2287
- return new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.plusTheory_613tvy_k$(theory));
2286
+ protoOf(MappedMutableProblogTheory).d3o = function (theory) {
2287
+ return new MappedMutableProblogTheory(null, this.v1n(), this.c3o_1.y1u(theory));
2288
2288
  };
2289
- protoOf(MappedMutableProblogTheory).plusTheory_613tvy_k$ = function (theory) {
2289
+ protoOf(MappedMutableProblogTheory).y1u = function (theory) {
2290
2290
  var tmp;
2291
2291
  if (isInterface(theory, ProblogTheory)) {
2292
- tmp = this.plus_jzqt4d_k$(theory);
2292
+ tmp = this.d3o(theory);
2293
2293
  } else {
2294
- tmp = this.plus_jzqt4d_k$(new MappedMutableProblogTheory(theory, this.get_unificator_xw6v3j_k$()));
2294
+ tmp = this.d3o(new MappedMutableProblogTheory(theory, this.v1n()));
2295
2295
  }
2296
2296
  return tmp;
2297
2297
  };
2298
2298
  protoOf(MappedMutableProblogTheory).plusTheory = function (theory) {
2299
- return this.plusTheory_613tvy_k$(theory);
2299
+ return this.y1u(theory);
2300
2300
  };
2301
- protoOf(MappedMutableProblogTheory).plus_uxlzkp_k$ = function (clause) {
2302
- var mapped = ClauseMappingUtils_getInstance().map_neip0b_k$(clause);
2303
- return new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.plusTheory_613tvy_k$(Companion_instance_7.indexedOfIterable(this.get_unificator_xw6v3j_k$(), mapped)));
2301
+ protoOf(MappedMutableProblogTheory).m1u = function (clause) {
2302
+ var mapped = ClauseMappingUtils_getInstance().a3o(clause);
2303
+ return new MappedMutableProblogTheory(null, this.v1n(), this.c3o_1.y1u(Companion_instance_7.indexedOfIterable(this.v1n(), mapped)));
2304
2304
  };
2305
2305
  protoOf(MappedMutableProblogTheory).plus = function (clause) {
2306
- return this.plus_uxlzkp_k$(clause);
2306
+ return this.m1u(clause);
2307
2307
  };
2308
- protoOf(MappedMutableProblogTheory).assertAIterable_k6qgdt_k$ = function (clauses) {
2308
+ protoOf(MappedMutableProblogTheory).c1v = function (clauses) {
2309
2309
  // Inline function 'kotlin.collections.flatMap' call
2310
2310
  // Inline function 'kotlin.collections.flatMapTo' call
2311
2311
  var destination = ArrayList_init_$Create$_0();
2312
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2313
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2314
- var element = _iterator__ex2g4s.next_20eer_k$();
2315
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2312
+ var _iterator__ex2g4s = clauses.n();
2313
+ while (_iterator__ex2g4s.q()) {
2314
+ var element = _iterator__ex2g4s.r();
2315
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2316
2316
  addAll(destination, list);
2317
2317
  }
2318
2318
  var mapped = destination;
2319
- return new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.assertAIterable_k6qgdt_k$(mapped));
2319
+ return new MappedMutableProblogTheory(null, this.v1n(), this.c3o_1.c1v(mapped));
2320
2320
  };
2321
2321
  protoOf(MappedMutableProblogTheory).assertAIterable = function (clauses) {
2322
- return this.assertAIterable_k6qgdt_k$(clauses);
2322
+ return this.c1v(clauses);
2323
2323
  };
2324
- protoOf(MappedMutableProblogTheory).assertZIterable_th66so_k$ = function (clauses) {
2324
+ protoOf(MappedMutableProblogTheory).f1v = function (clauses) {
2325
2325
  // Inline function 'kotlin.collections.flatMap' call
2326
2326
  // Inline function 'kotlin.collections.flatMapTo' call
2327
2327
  var destination = ArrayList_init_$Create$_0();
2328
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2329
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2330
- var element = _iterator__ex2g4s.next_20eer_k$();
2331
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2328
+ var _iterator__ex2g4s = clauses.n();
2329
+ while (_iterator__ex2g4s.q()) {
2330
+ var element = _iterator__ex2g4s.r();
2331
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2332
2332
  addAll(destination, list);
2333
2333
  }
2334
2334
  var mapped = destination;
2335
- return new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.assertZIterable_th66so_k$(mapped));
2335
+ return new MappedMutableProblogTheory(null, this.v1n(), this.c3o_1.f1v(mapped));
2336
2336
  };
2337
2337
  protoOf(MappedMutableProblogTheory).assertZIterable = function (clauses) {
2338
- return this.assertZIterable_th66so_k$(clauses);
2338
+ return this.f1v(clauses);
2339
2339
  };
2340
- protoOf(MappedMutableProblogTheory).retractIterable_ebg9t7_k$ = function (clauses) {
2340
+ protoOf(MappedMutableProblogTheory).j1v = function (clauses) {
2341
2341
  // Inline function 'kotlin.collections.flatMap' call
2342
2342
  // Inline function 'kotlin.collections.flatMapTo' call
2343
2343
  var destination = ArrayList_init_$Create$_0();
2344
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2345
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2346
- var element = _iterator__ex2g4s.next_20eer_k$();
2347
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2344
+ var _iterator__ex2g4s = clauses.n();
2345
+ while (_iterator__ex2g4s.q()) {
2346
+ var element = _iterator__ex2g4s.r();
2347
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2348
2348
  addAll(destination, list);
2349
2349
  }
2350
2350
  var mapped = destination;
2351
- var result = this.theory_1.retractIterable_ebg9t7_k$(mapped);
2351
+ var result = this.c3o_1.j1v(mapped);
2352
2352
  var tmp;
2353
2353
  if (result instanceof Success) {
2354
- tmp = new Success(new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.theory_1), result.clauses_1);
2354
+ tmp = new Success(new MappedMutableProblogTheory(null, this.v1n(), result.e1w_1), result.f1w_1);
2355
2355
  } else {
2356
- tmp = new Failure(new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.get_theory_jxxpta_k$()));
2356
+ tmp = new Failure(new MappedMutableProblogTheory(null, this.v1n(), result.s1u()));
2357
2357
  }
2358
2358
  return tmp;
2359
2359
  };
2360
2360
  protoOf(MappedMutableProblogTheory).retractIterable = function (clauses) {
2361
- return this.retractIterable_ebg9t7_k$(clauses);
2361
+ return this.j1v(clauses);
2362
2362
  };
2363
- protoOf(MappedMutableProblogTheory).retractAll_ggzq75_k$ = function (clause) {
2364
- var mappedClauses = ClauseMappingUtils_getInstance().map_neip0b_k$(clause);
2363
+ protoOf(MappedMutableProblogTheory).n1o = function (clause) {
2364
+ var mappedClauses = ClauseMappingUtils_getInstance().a3o(clause);
2365
2365
  var result = null;
2366
- var _iterator__ex2g4s = mappedClauses.iterator_jk1svi_k$();
2367
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2368
- var c = _iterator__ex2g4s.next_20eer_k$();
2366
+ var _iterator__ex2g4s = mappedClauses.n();
2367
+ while (_iterator__ex2g4s.q()) {
2368
+ var c = _iterator__ex2g4s.r();
2369
2369
  var tmp;
2370
2370
  if (result == null) {
2371
2371
  tmp = true;
@@ -2373,16 +2373,16 @@
2373
2373
  tmp = !(result instanceof Failure);
2374
2374
  }
2375
2375
  if (tmp) {
2376
- result = this.theory_1.retractAll_ggzq75_k$(c);
2376
+ result = this.c3o_1.n1o(c);
2377
2377
  }
2378
2378
  }
2379
2379
  var tmp0_subject = result;
2380
2380
  var tmp_0;
2381
2381
  if (tmp0_subject instanceof Success) {
2382
- tmp_0 = new Success(new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.theory_1), result.clauses_1);
2382
+ tmp_0 = new Success(new MappedMutableProblogTheory(null, this.v1n(), result.e1w_1), result.f1w_1);
2383
2383
  } else {
2384
2384
  if (tmp0_subject instanceof Failure) {
2385
- tmp_0 = new Failure(new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.theory_1));
2385
+ tmp_0 = new Failure(new MappedMutableProblogTheory(null, this.v1n(), result.g1w_1));
2386
2386
  } else {
2387
2387
  tmp_0 = new Failure(this);
2388
2388
  }
@@ -2390,148 +2390,148 @@
2390
2390
  return tmp_0;
2391
2391
  };
2392
2392
  protoOf(MappedMutableProblogTheory).retractAll = function (clause) {
2393
- return this.retractAll_ggzq75_k$(clause);
2393
+ return this.n1o(clause);
2394
2394
  };
2395
- protoOf(MappedMutableProblogTheory).abolish_852mm9_k$ = function (indicator) {
2396
- return new MappedMutableProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.abolish_852mm9_k$(ClauseMappingUtils_getInstance().map_v8kjbx_k$(indicator)));
2395
+ protoOf(MappedMutableProblogTheory).r1u = function (indicator) {
2396
+ return new MappedMutableProblogTheory(null, this.v1n(), this.c3o_1.r1u(ClauseMappingUtils_getInstance().b3o(indicator)));
2397
2397
  };
2398
2398
  protoOf(MappedMutableProblogTheory).abolish = function (indicator) {
2399
- return this.abolish_852mm9_k$(indicator);
2399
+ return this.r1u(indicator);
2400
2400
  };
2401
- protoOf(MappedMutableProblogTheory).assertAFact_4uxdq5_k$ = function (struct) {
2402
- return this.assertA_rph7uu_k$(Companion_instance.of(struct));
2401
+ protoOf(MappedMutableProblogTheory).z1v = function (struct) {
2402
+ return this.a1v(Companion_instance.of(struct));
2403
2403
  };
2404
2404
  protoOf(MappedMutableProblogTheory).assertAFact = function (struct) {
2405
- return this.assertAFact_4uxdq5_k$(struct);
2405
+ return this.z1v(struct);
2406
2406
  };
2407
- protoOf(MappedMutableProblogTheory).assertZFact_k45js4_k$ = function (struct) {
2408
- return this.assertZ_cv7m25_k$(Companion_instance.of(struct));
2407
+ protoOf(MappedMutableProblogTheory).a1w = function (struct) {
2408
+ return this.e1v(Companion_instance.of(struct));
2409
2409
  };
2410
2410
  protoOf(MappedMutableProblogTheory).assertZFact = function (struct) {
2411
- return this.assertZFact_k45js4_k$(struct);
2411
+ return this.a1w(struct);
2412
2412
  };
2413
- protoOf(MappedMutableProblogTheory).assertA_rph7uu_k$ = function (clause) {
2414
- return this.assertAIterable_k6qgdt_k$(listOf(clause));
2413
+ protoOf(MappedMutableProblogTheory).a1v = function (clause) {
2414
+ return this.c1v(listOf(clause));
2415
2415
  };
2416
2416
  protoOf(MappedMutableProblogTheory).assertA = function (clause) {
2417
- return this.assertA_rph7uu_k$(clause);
2417
+ return this.a1v(clause);
2418
2418
  };
2419
- protoOf(MappedMutableProblogTheory).assertASequence_4ooi9c_k$ = function (clauses) {
2420
- return this.assertAIterable_k6qgdt_k$(asIterable_0(clauses));
2419
+ protoOf(MappedMutableProblogTheory).d1v = function (clauses) {
2420
+ return this.c1v(asIterable_0(clauses));
2421
2421
  };
2422
2422
  protoOf(MappedMutableProblogTheory).assertASequence = function (clauses) {
2423
- return this.assertASequence_4ooi9c_k$(clauses);
2423
+ return this.d1v(clauses);
2424
2424
  };
2425
- protoOf(MappedMutableProblogTheory).assertZ_cv7m25_k$ = function (clause) {
2426
- return this.assertZIterable_th66so_k$(listOf(clause));
2425
+ protoOf(MappedMutableProblogTheory).e1v = function (clause) {
2426
+ return this.f1v(listOf(clause));
2427
2427
  };
2428
2428
  protoOf(MappedMutableProblogTheory).assertZ = function (clause) {
2429
- return this.assertZ_cv7m25_k$(clause);
2429
+ return this.e1v(clause);
2430
2430
  };
2431
- protoOf(MappedMutableProblogTheory).assertZSequence_wqv55_k$ = function (clauses) {
2432
- return this.assertZIterable_th66so_k$(asIterable_0(clauses));
2431
+ protoOf(MappedMutableProblogTheory).g1v = function (clauses) {
2432
+ return this.f1v(asIterable_0(clauses));
2433
2433
  };
2434
2434
  protoOf(MappedMutableProblogTheory).assertZSequence = function (clauses) {
2435
- return this.assertZSequence_wqv55_k$(clauses);
2435
+ return this.g1v(clauses);
2436
2436
  };
2437
- protoOf(MappedMutableProblogTheory).retractByHead_iva4y4_k$ = function (head) {
2438
- return this.retract_hfhq2o_k$(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2437
+ protoOf(MappedMutableProblogTheory).c1w = function (head) {
2438
+ return this.b1w(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2439
2439
  };
2440
2440
  protoOf(MappedMutableProblogTheory).retractByHead = function (head) {
2441
- return this.retractByHead_iva4y4_k$(head);
2441
+ return this.c1w(head);
2442
2442
  };
2443
- protoOf(MappedMutableProblogTheory).retract_hfhq2o_k$ = function (clause) {
2444
- return this.retractIterable_ebg9t7_k$(listOf(clause));
2443
+ protoOf(MappedMutableProblogTheory).b1w = function (clause) {
2444
+ return this.j1v(listOf(clause));
2445
2445
  };
2446
2446
  protoOf(MappedMutableProblogTheory).retract = function (clause) {
2447
- return this.retract_hfhq2o_k$(clause);
2447
+ return this.b1w(clause);
2448
2448
  };
2449
- protoOf(MappedMutableProblogTheory).retractSequence_n30sa2_k$ = function (clauses) {
2450
- return this.retractIterable_ebg9t7_k$(asIterable_0(clauses));
2449
+ protoOf(MappedMutableProblogTheory).i1v = function (clauses) {
2450
+ return this.j1v(asIterable_0(clauses));
2451
2451
  };
2452
2452
  protoOf(MappedMutableProblogTheory).retractSequence = function (clauses) {
2453
- return this.retractSequence_n30sa2_k$(clauses);
2453
+ return this.i1v(clauses);
2454
2454
  };
2455
- protoOf(MappedMutableProblogTheory).retractAllByHead_fm9lxv_k$ = function (head) {
2456
- return this.retractAll_ggzq75_k$(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2455
+ protoOf(MappedMutableProblogTheory).d1w = function (head) {
2456
+ return this.n1o(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2457
2457
  };
2458
2458
  protoOf(MappedMutableProblogTheory).retractAllByHead = function (head) {
2459
- return this.retractAllByHead_fm9lxv_k$(head);
2459
+ return this.d1w(head);
2460
2460
  };
2461
- protoOf(MappedMutableProblogTheory).setUnificator_7dfmd5_k$ = function (unificator) {
2462
- return this.theory_1.setUnificator_7dfmd5_k$(unificator);
2461
+ protoOf(MappedMutableProblogTheory).w1u = function (unificator) {
2462
+ return this.c3o_1.w1u(unificator);
2463
2463
  };
2464
2464
  protoOf(MappedMutableProblogTheory).setUnificator = function (unificator) {
2465
- return this.setUnificator_7dfmd5_k$(unificator);
2465
+ return this.w1u(unificator);
2466
2466
  };
2467
- protoOf(MappedMutableProblogTheory).resetTags_94corn_k$ = function (tags) {
2468
- return this.theory_1.resetTags_94corn_k$(tags);
2467
+ protoOf(MappedMutableProblogTheory).a13 = function (tags) {
2468
+ return this.c3o_1.a13(tags);
2469
2469
  };
2470
2470
  protoOf(MappedMutableProblogTheory).resetTags = function (tags) {
2471
- return this.resetTags_94corn_k$(tags);
2471
+ return this.a13(tags);
2472
2472
  };
2473
- protoOf(MappedMutableProblogTheory).clone_1keycd_k$ = function () {
2474
- return this.theory_1.clone_1keycd_k$();
2473
+ protoOf(MappedMutableProblogTheory).k1v = function () {
2474
+ return this.c3o_1.k1v();
2475
2475
  };
2476
2476
  protoOf(MappedMutableProblogTheory).clone = function () {
2477
- return this.clone_1keycd_k$();
2477
+ return this.k1v();
2478
2478
  };
2479
2479
  protoOf(MappedMutableProblogTheory).contains = function (clause) {
2480
- return this.theory_1.contains(clause);
2480
+ return this.c3o_1.contains(clause);
2481
2481
  };
2482
2482
  protoOf(MappedMutableProblogTheory).containsHead = function (head) {
2483
- return this.theory_1.containsHead(head);
2483
+ return this.c3o_1.containsHead(head);
2484
2484
  };
2485
2485
  protoOf(MappedMutableProblogTheory).containsIndicator = function (indicator) {
2486
- return this.theory_1.containsIndicator(indicator);
2486
+ return this.c3o_1.containsIndicator(indicator);
2487
2487
  };
2488
2488
  protoOf(MappedMutableProblogTheory).get = function (clause) {
2489
- return this.theory_1.get(clause);
2489
+ return this.c3o_1.get(clause);
2490
2490
  };
2491
2491
  protoOf(MappedMutableProblogTheory).getByHead = function (head) {
2492
- return this.theory_1.getByHead(head);
2492
+ return this.c3o_1.getByHead(head);
2493
2493
  };
2494
2494
  protoOf(MappedMutableProblogTheory).getByIndicator = function (indicator) {
2495
- return this.theory_1.getByIndicator(indicator);
2495
+ return this.c3o_1.getByIndicator(indicator);
2496
2496
  };
2497
2497
  protoOf(MappedMutableProblogTheory).toStringAsProlog = function (asPrologText) {
2498
- return this.theory_1.toStringAsProlog(asPrologText);
2498
+ return this.c3o_1.toStringAsProlog(asPrologText);
2499
2499
  };
2500
2500
  protoOf(MappedMutableProblogTheory).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
2501
- return this.theory_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
2501
+ return this.c3o_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
2502
2502
  };
2503
- protoOf(MappedMutableProblogTheory).get_clauses_fdta0r_k$ = function () {
2504
- return this.theory_1.get_clauses_fdta0r_k$();
2503
+ protoOf(MappedMutableProblogTheory).f1o = function () {
2504
+ return this.c3o_1.f1o();
2505
2505
  };
2506
- protoOf(MappedMutableProblogTheory).get_directives_ggm35f_k$ = function () {
2507
- return this.theory_1.get_directives_ggm35f_k$();
2506
+ protoOf(MappedMutableProblogTheory).y1n = function () {
2507
+ return this.c3o_1.y1n();
2508
2508
  };
2509
- protoOf(MappedMutableProblogTheory).get_size_woubt6_k$ = function () {
2510
- return this.theory_1.get_size_woubt6_k$();
2509
+ protoOf(MappedMutableProblogTheory).s = function () {
2510
+ return this.c3o_1.s();
2511
2511
  };
2512
- protoOf(MappedMutableProblogTheory).get_isEmpty_zauvru_k$ = function () {
2513
- return this.theory_1.get_isEmpty_zauvru_k$();
2512
+ protoOf(MappedMutableProblogTheory).a1o = function () {
2513
+ return this.c3o_1.a1o();
2514
2514
  };
2515
- protoOf(MappedMutableProblogTheory).get_isNonEmpty_aglh2l_k$ = function () {
2516
- return this.theory_1.get_isNonEmpty_aglh2l_k$();
2515
+ protoOf(MappedMutableProblogTheory).v1u = function () {
2516
+ return this.c3o_1.v1u();
2517
2517
  };
2518
- protoOf(MappedMutableProblogTheory).iterator_jk1svi_k$ = function () {
2519
- return this.theory_1.iterator_jk1svi_k$();
2518
+ protoOf(MappedMutableProblogTheory).n = function () {
2519
+ return this.c3o_1.n();
2520
2520
  };
2521
2521
  protoOf(MappedMutableProblogTheory).getTag = function (name) {
2522
- return this.theory_1.getTag(name);
2522
+ return this.c3o_1.getTag(name);
2523
2523
  };
2524
2524
  protoOf(MappedMutableProblogTheory).containsTag = function (name) {
2525
- return this.theory_1.containsTag(name);
2525
+ return this.c3o_1.containsTag(name);
2526
2526
  };
2527
- protoOf(MappedMutableProblogTheory).get_tags_wousf6_k$ = function () {
2528
- return this.theory_1.get_tags_wousf6_k$();
2527
+ protoOf(MappedMutableProblogTheory).du = function () {
2528
+ return this.c3o_1.du();
2529
2529
  };
2530
- protoOf(MappedMutableProblogTheory).get_unificator_xw6v3j_k$ = function () {
2531
- return this.theory_1.get_unificator_xw6v3j_k$();
2530
+ protoOf(MappedMutableProblogTheory).v1n = function () {
2531
+ return this.c3o_1.v1n();
2532
2532
  };
2533
2533
  function MappedProblogTheory(clauses, unificator, theory) {
2534
- unificator = unificator === VOID ? Companion_getInstance_8().get_default_qtagd4_k$() : unificator;
2534
+ unificator = unificator === VOID ? Companion_getInstance_8().o1n() : unificator;
2535
2535
  var tmp;
2536
2536
  if (theory === VOID) {
2537
2537
  var tmp_0 = Companion_instance_7;
@@ -2542,10 +2542,10 @@
2542
2542
  // Inline function 'kotlin.collections.flatMap' call
2543
2543
  // Inline function 'kotlin.collections.flatMapTo' call
2544
2544
  var destination = ArrayList_init_$Create$_0();
2545
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2546
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2547
- var element = _iterator__ex2g4s.next_20eer_k$();
2548
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2545
+ var _iterator__ex2g4s = clauses.n();
2546
+ while (_iterator__ex2g4s.q()) {
2547
+ var element = _iterator__ex2g4s.r();
2548
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2549
2549
  addAll(destination, list);
2550
2550
  }
2551
2551
  tmp_1 = destination;
@@ -2556,106 +2556,106 @@
2556
2556
  tmp = theory;
2557
2557
  }
2558
2558
  theory = tmp;
2559
- this.theory_1 = theory;
2559
+ this.e3o_1 = theory;
2560
2560
  }
2561
- protoOf(MappedProblogTheory).get_isMutable_matrzn_k$ = function () {
2561
+ protoOf(MappedProblogTheory).l1v = function () {
2562
2562
  return false;
2563
2563
  };
2564
- protoOf(MappedProblogTheory).toMutableTheory_1yp9n4_k$ = function () {
2565
- return Companion_instance_8.ofIterable(this.get_unificator_xw6v3j_k$(), this);
2564
+ protoOf(MappedProblogTheory).y1v = function () {
2565
+ return Companion_instance_8.ofIterable(this.v1n(), this);
2566
2566
  };
2567
2567
  protoOf(MappedProblogTheory).toMutableTheory = function () {
2568
- return this.toMutableTheory_1yp9n4_k$();
2568
+ return this.y1v();
2569
2569
  };
2570
- protoOf(MappedProblogTheory).toImmutableTheory_k8hbm4_k$ = function () {
2570
+ protoOf(MappedProblogTheory).l1u = function () {
2571
2571
  return this;
2572
2572
  };
2573
2573
  protoOf(MappedProblogTheory).toImmutableTheory = function () {
2574
- return this.toImmutableTheory_k8hbm4_k$();
2574
+ return this.l1u();
2575
2575
  };
2576
- protoOf(MappedProblogTheory).plus_jzqt4d_k$ = function (theory) {
2577
- return new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.plusTheory(theory));
2576
+ protoOf(MappedProblogTheory).d3o = function (theory) {
2577
+ return new MappedProblogTheory(null, this.v1n(), this.e3o_1.plusTheory(theory));
2578
2578
  };
2579
- protoOf(MappedProblogTheory).plusTheory_613tvy_k$ = function (theory) {
2579
+ protoOf(MappedProblogTheory).y1u = function (theory) {
2580
2580
  var tmp;
2581
2581
  if (isInterface(theory, ProblogTheory)) {
2582
- tmp = this.plus_jzqt4d_k$(theory);
2582
+ tmp = this.d3o(theory);
2583
2583
  } else {
2584
- tmp = this.plus_jzqt4d_k$(new MappedProblogTheory(theory, this.get_unificator_xw6v3j_k$()));
2584
+ tmp = this.d3o(new MappedProblogTheory(theory, this.v1n()));
2585
2585
  }
2586
2586
  return tmp;
2587
2587
  };
2588
2588
  protoOf(MappedProblogTheory).plusTheory = function (theory) {
2589
- return this.plusTheory_613tvy_k$(theory);
2589
+ return this.y1u(theory);
2590
2590
  };
2591
- protoOf(MappedProblogTheory).plus_uxlzkp_k$ = function (clause) {
2592
- var mapped = ClauseMappingUtils_getInstance().map_neip0b_k$(clause);
2593
- return new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.plusTheory(Companion_instance_7.indexedOfIterable(this.get_unificator_xw6v3j_k$(), mapped)));
2591
+ protoOf(MappedProblogTheory).m1u = function (clause) {
2592
+ var mapped = ClauseMappingUtils_getInstance().a3o(clause);
2593
+ return new MappedProblogTheory(null, this.v1n(), this.e3o_1.plusTheory(Companion_instance_7.indexedOfIterable(this.v1n(), mapped)));
2594
2594
  };
2595
2595
  protoOf(MappedProblogTheory).plus = function (clause) {
2596
- return this.plus_uxlzkp_k$(clause);
2596
+ return this.m1u(clause);
2597
2597
  };
2598
- protoOf(MappedProblogTheory).assertAIterable_k6qgdt_k$ = function (clauses) {
2598
+ protoOf(MappedProblogTheory).c1v = function (clauses) {
2599
2599
  // Inline function 'kotlin.collections.flatMap' call
2600
2600
  // Inline function 'kotlin.collections.flatMapTo' call
2601
2601
  var destination = ArrayList_init_$Create$_0();
2602
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2603
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2604
- var element = _iterator__ex2g4s.next_20eer_k$();
2605
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2602
+ var _iterator__ex2g4s = clauses.n();
2603
+ while (_iterator__ex2g4s.q()) {
2604
+ var element = _iterator__ex2g4s.r();
2605
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2606
2606
  addAll(destination, list);
2607
2607
  }
2608
2608
  var mapped = destination;
2609
- return new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.assertAIterable(mapped));
2609
+ return new MappedProblogTheory(null, this.v1n(), this.e3o_1.assertAIterable(mapped));
2610
2610
  };
2611
2611
  protoOf(MappedProblogTheory).assertAIterable = function (clauses) {
2612
- return this.assertAIterable_k6qgdt_k$(clauses);
2612
+ return this.c1v(clauses);
2613
2613
  };
2614
- protoOf(MappedProblogTheory).assertZIterable_th66so_k$ = function (clauses) {
2614
+ protoOf(MappedProblogTheory).f1v = function (clauses) {
2615
2615
  // Inline function 'kotlin.collections.flatMap' call
2616
2616
  // Inline function 'kotlin.collections.flatMapTo' call
2617
2617
  var destination = ArrayList_init_$Create$_0();
2618
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2619
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2620
- var element = _iterator__ex2g4s.next_20eer_k$();
2621
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2618
+ var _iterator__ex2g4s = clauses.n();
2619
+ while (_iterator__ex2g4s.q()) {
2620
+ var element = _iterator__ex2g4s.r();
2621
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2622
2622
  addAll(destination, list);
2623
2623
  }
2624
2624
  var mapped = destination;
2625
- return new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.assertZIterable(mapped));
2625
+ return new MappedProblogTheory(null, this.v1n(), this.e3o_1.assertZIterable(mapped));
2626
2626
  };
2627
2627
  protoOf(MappedProblogTheory).assertZIterable = function (clauses) {
2628
- return this.assertZIterable_th66so_k$(clauses);
2628
+ return this.f1v(clauses);
2629
2629
  };
2630
- protoOf(MappedProblogTheory).retractIterable_ebg9t7_k$ = function (clauses) {
2630
+ protoOf(MappedProblogTheory).j1v = function (clauses) {
2631
2631
  // Inline function 'kotlin.collections.flatMap' call
2632
2632
  // Inline function 'kotlin.collections.flatMapTo' call
2633
2633
  var destination = ArrayList_init_$Create$_0();
2634
- var _iterator__ex2g4s = clauses.iterator_jk1svi_k$();
2635
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2636
- var element = _iterator__ex2g4s.next_20eer_k$();
2637
- var list = ClauseMappingUtils_getInstance().map_neip0b_k$(element);
2634
+ var _iterator__ex2g4s = clauses.n();
2635
+ while (_iterator__ex2g4s.q()) {
2636
+ var element = _iterator__ex2g4s.r();
2637
+ var list = ClauseMappingUtils_getInstance().a3o(element);
2638
2638
  addAll(destination, list);
2639
2639
  }
2640
2640
  var mapped = destination;
2641
- var result = this.theory_1.retractIterable(mapped);
2641
+ var result = this.e3o_1.retractIterable(mapped);
2642
2642
  var tmp;
2643
2643
  if (result instanceof Success) {
2644
- tmp = new Success(new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.theory_1), result.clauses_1);
2644
+ tmp = new Success(new MappedProblogTheory(null, this.v1n(), result.e1w_1), result.f1w_1);
2645
2645
  } else {
2646
- tmp = new Failure(new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.get_theory_jxxpta_k$()));
2646
+ tmp = new Failure(new MappedProblogTheory(null, this.v1n(), result.s1u()));
2647
2647
  }
2648
2648
  return tmp;
2649
2649
  };
2650
2650
  protoOf(MappedProblogTheory).retractIterable = function (clauses) {
2651
- return this.retractIterable_ebg9t7_k$(clauses);
2651
+ return this.j1v(clauses);
2652
2652
  };
2653
- protoOf(MappedProblogTheory).retractAll_ggzq75_k$ = function (clause) {
2654
- var mappedClauses = ClauseMappingUtils_getInstance().map_neip0b_k$(clause);
2653
+ protoOf(MappedProblogTheory).n1o = function (clause) {
2654
+ var mappedClauses = ClauseMappingUtils_getInstance().a3o(clause);
2655
2655
  var result = null;
2656
- var _iterator__ex2g4s = mappedClauses.iterator_jk1svi_k$();
2657
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2658
- var c = _iterator__ex2g4s.next_20eer_k$();
2656
+ var _iterator__ex2g4s = mappedClauses.n();
2657
+ while (_iterator__ex2g4s.q()) {
2658
+ var c = _iterator__ex2g4s.r();
2659
2659
  var tmp;
2660
2660
  if (result == null) {
2661
2661
  tmp = true;
@@ -2663,155 +2663,155 @@
2663
2663
  tmp = !(result instanceof Failure);
2664
2664
  }
2665
2665
  if (tmp) {
2666
- result = this.theory_1.retractAll(c);
2666
+ result = this.e3o_1.retractAll(c);
2667
2667
  }
2668
2668
  }
2669
2669
  var tmp_0;
2670
2670
  if (result instanceof Success) {
2671
- tmp_0 = new Success(new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), result.theory_1), result.clauses_1);
2671
+ tmp_0 = new Success(new MappedProblogTheory(null, this.v1n(), result.e1w_1), result.f1w_1);
2672
2672
  } else {
2673
2673
  tmp_0 = new Failure(this);
2674
2674
  }
2675
2675
  return tmp_0;
2676
2676
  };
2677
2677
  protoOf(MappedProblogTheory).retractAll = function (clause) {
2678
- return this.retractAll_ggzq75_k$(clause);
2678
+ return this.n1o(clause);
2679
2679
  };
2680
- protoOf(MappedProblogTheory).abolish_852mm9_k$ = function (indicator) {
2681
- return new MappedProblogTheory(null, this.get_unificator_xw6v3j_k$(), this.theory_1.abolish(ClauseMappingUtils_getInstance().map_v8kjbx_k$(indicator)));
2680
+ protoOf(MappedProblogTheory).r1u = function (indicator) {
2681
+ return new MappedProblogTheory(null, this.v1n(), this.e3o_1.abolish(ClauseMappingUtils_getInstance().b3o(indicator)));
2682
2682
  };
2683
2683
  protoOf(MappedProblogTheory).abolish = function (indicator) {
2684
- return this.abolish_852mm9_k$(indicator);
2684
+ return this.r1u(indicator);
2685
2685
  };
2686
- protoOf(MappedProblogTheory).assertAFact_4uxdq5_k$ = function (struct) {
2687
- return this.assertA_rph7uu_k$(Companion_instance.of(struct));
2686
+ protoOf(MappedProblogTheory).z1v = function (struct) {
2687
+ return this.a1v(Companion_instance.of(struct));
2688
2688
  };
2689
2689
  protoOf(MappedProblogTheory).assertAFact = function (struct) {
2690
- return this.assertAFact_4uxdq5_k$(struct);
2690
+ return this.z1v(struct);
2691
2691
  };
2692
- protoOf(MappedProblogTheory).assertZFact_k45js4_k$ = function (struct) {
2693
- return this.assertZ_cv7m25_k$(Companion_instance.of(struct));
2692
+ protoOf(MappedProblogTheory).a1w = function (struct) {
2693
+ return this.e1v(Companion_instance.of(struct));
2694
2694
  };
2695
2695
  protoOf(MappedProblogTheory).assertZFact = function (struct) {
2696
- return this.assertZFact_k45js4_k$(struct);
2696
+ return this.a1w(struct);
2697
2697
  };
2698
- protoOf(MappedProblogTheory).assertA_rph7uu_k$ = function (clause) {
2699
- return this.assertAIterable_k6qgdt_k$(listOf(clause));
2698
+ protoOf(MappedProblogTheory).a1v = function (clause) {
2699
+ return this.c1v(listOf(clause));
2700
2700
  };
2701
2701
  protoOf(MappedProblogTheory).assertA = function (clause) {
2702
- return this.assertA_rph7uu_k$(clause);
2702
+ return this.a1v(clause);
2703
2703
  };
2704
- protoOf(MappedProblogTheory).assertASequence_4ooi9c_k$ = function (clauses) {
2705
- return this.assertAIterable_k6qgdt_k$(asIterable_0(clauses));
2704
+ protoOf(MappedProblogTheory).d1v = function (clauses) {
2705
+ return this.c1v(asIterable_0(clauses));
2706
2706
  };
2707
2707
  protoOf(MappedProblogTheory).assertASequence = function (clauses) {
2708
- return this.assertASequence_4ooi9c_k$(clauses);
2708
+ return this.d1v(clauses);
2709
2709
  };
2710
- protoOf(MappedProblogTheory).assertZ_cv7m25_k$ = function (clause) {
2711
- return this.assertZIterable_th66so_k$(listOf(clause));
2710
+ protoOf(MappedProblogTheory).e1v = function (clause) {
2711
+ return this.f1v(listOf(clause));
2712
2712
  };
2713
2713
  protoOf(MappedProblogTheory).assertZ = function (clause) {
2714
- return this.assertZ_cv7m25_k$(clause);
2714
+ return this.e1v(clause);
2715
2715
  };
2716
- protoOf(MappedProblogTheory).assertZSequence_wqv55_k$ = function (clauses) {
2717
- return this.assertZIterable_th66so_k$(asIterable_0(clauses));
2716
+ protoOf(MappedProblogTheory).g1v = function (clauses) {
2717
+ return this.f1v(asIterable_0(clauses));
2718
2718
  };
2719
2719
  protoOf(MappedProblogTheory).assertZSequence = function (clauses) {
2720
- return this.assertZSequence_wqv55_k$(clauses);
2720
+ return this.g1v(clauses);
2721
2721
  };
2722
- protoOf(MappedProblogTheory).retractByHead_iva4y4_k$ = function (head) {
2723
- return this.retract_hfhq2o_k$(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2722
+ protoOf(MappedProblogTheory).c1w = function (head) {
2723
+ return this.b1w(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2724
2724
  };
2725
2725
  protoOf(MappedProblogTheory).retractByHead = function (head) {
2726
- return this.retractByHead_iva4y4_k$(head);
2726
+ return this.c1w(head);
2727
2727
  };
2728
- protoOf(MappedProblogTheory).retract_hfhq2o_k$ = function (clause) {
2729
- return this.retractIterable_ebg9t7_k$(listOf(clause));
2728
+ protoOf(MappedProblogTheory).b1w = function (clause) {
2729
+ return this.j1v(listOf(clause));
2730
2730
  };
2731
2731
  protoOf(MappedProblogTheory).retract = function (clause) {
2732
- return this.retract_hfhq2o_k$(clause);
2732
+ return this.b1w(clause);
2733
2733
  };
2734
- protoOf(MappedProblogTheory).retractSequence_n30sa2_k$ = function (clauses) {
2735
- return this.retractIterable_ebg9t7_k$(asIterable_0(clauses));
2734
+ protoOf(MappedProblogTheory).i1v = function (clauses) {
2735
+ return this.j1v(asIterable_0(clauses));
2736
2736
  };
2737
2737
  protoOf(MappedProblogTheory).retractSequence = function (clauses) {
2738
- return this.retractSequence_n30sa2_k$(clauses);
2738
+ return this.i1v(clauses);
2739
2739
  };
2740
- protoOf(MappedProblogTheory).retractAllByHead_fm9lxv_k$ = function (head) {
2741
- return this.retractAll_ggzq75_k$(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2740
+ protoOf(MappedProblogTheory).d1w = function (head) {
2741
+ return this.n1o(Companion_instance_3.of(head, [Companion_getInstance_0().anonymous()]));
2742
2742
  };
2743
2743
  protoOf(MappedProblogTheory).retractAllByHead = function (head) {
2744
- return this.retractAllByHead_fm9lxv_k$(head);
2744
+ return this.d1w(head);
2745
2745
  };
2746
2746
  protoOf(MappedProblogTheory).setUnificator = function (unificator) {
2747
- return this.theory_1.setUnificator(unificator);
2747
+ return this.e3o_1.setUnificator(unificator);
2748
2748
  };
2749
2749
  protoOf(MappedProblogTheory).contains = function (clause) {
2750
- return this.theory_1.contains(clause);
2750
+ return this.e3o_1.contains(clause);
2751
2751
  };
2752
2752
  protoOf(MappedProblogTheory).containsHead = function (head) {
2753
- return this.theory_1.containsHead(head);
2753
+ return this.e3o_1.containsHead(head);
2754
2754
  };
2755
2755
  protoOf(MappedProblogTheory).containsIndicator = function (indicator) {
2756
- return this.theory_1.containsIndicator(indicator);
2756
+ return this.e3o_1.containsIndicator(indicator);
2757
2757
  };
2758
2758
  protoOf(MappedProblogTheory).get = function (clause) {
2759
- return this.theory_1.get(clause);
2759
+ return this.e3o_1.get(clause);
2760
2760
  };
2761
2761
  protoOf(MappedProblogTheory).getByHead = function (head) {
2762
- return this.theory_1.getByHead(head);
2762
+ return this.e3o_1.getByHead(head);
2763
2763
  };
2764
2764
  protoOf(MappedProblogTheory).getByIndicator = function (indicator) {
2765
- return this.theory_1.getByIndicator(indicator);
2765
+ return this.e3o_1.getByIndicator(indicator);
2766
2766
  };
2767
2767
  protoOf(MappedProblogTheory).toStringAsProlog = function (asPrologText) {
2768
- return this.theory_1.toStringAsProlog(asPrologText);
2768
+ return this.e3o_1.toStringAsProlog(asPrologText);
2769
2769
  };
2770
2770
  protoOf(MappedProblogTheory).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
2771
- return this.theory_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
2771
+ return this.e3o_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
2772
2772
  };
2773
2773
  protoOf(MappedProblogTheory).clone = function () {
2774
- return this.theory_1.clone();
2774
+ return this.e3o_1.clone();
2775
2775
  };
2776
- protoOf(MappedProblogTheory).get_clauses_fdta0r_k$ = function () {
2777
- return this.theory_1.get_clauses_fdta0r_k$();
2776
+ protoOf(MappedProblogTheory).f1o = function () {
2777
+ return this.e3o_1.f1o();
2778
2778
  };
2779
- protoOf(MappedProblogTheory).get_directives_ggm35f_k$ = function () {
2780
- return this.theory_1.get_directives_ggm35f_k$();
2779
+ protoOf(MappedProblogTheory).y1n = function () {
2780
+ return this.e3o_1.y1n();
2781
2781
  };
2782
- protoOf(MappedProblogTheory).get_size_woubt6_k$ = function () {
2783
- return this.theory_1.get_size_woubt6_k$();
2782
+ protoOf(MappedProblogTheory).s = function () {
2783
+ return this.e3o_1.s();
2784
2784
  };
2785
- protoOf(MappedProblogTheory).get_isEmpty_zauvru_k$ = function () {
2786
- return this.theory_1.get_isEmpty_zauvru_k$();
2785
+ protoOf(MappedProblogTheory).a1o = function () {
2786
+ return this.e3o_1.a1o();
2787
2787
  };
2788
- protoOf(MappedProblogTheory).get_isNonEmpty_aglh2l_k$ = function () {
2789
- return this.theory_1.get_isNonEmpty_aglh2l_k$();
2788
+ protoOf(MappedProblogTheory).v1u = function () {
2789
+ return this.e3o_1.v1u();
2790
2790
  };
2791
- protoOf(MappedProblogTheory).iterator_jk1svi_k$ = function () {
2792
- return this.theory_1.iterator_jk1svi_k$();
2791
+ protoOf(MappedProblogTheory).n = function () {
2792
+ return this.e3o_1.n();
2793
2793
  };
2794
2794
  protoOf(MappedProblogTheory).getTag = function (name) {
2795
- return this.theory_1.getTag(name);
2795
+ return this.e3o_1.getTag(name);
2796
2796
  };
2797
2797
  protoOf(MappedProblogTheory).resetTags = function (tags) {
2798
- return this.theory_1.resetTags(tags);
2798
+ return this.e3o_1.resetTags(tags);
2799
2799
  };
2800
2800
  protoOf(MappedProblogTheory).containsTag = function (name) {
2801
- return this.theory_1.containsTag(name);
2801
+ return this.e3o_1.containsTag(name);
2802
2802
  };
2803
- protoOf(MappedProblogTheory).get_tags_wousf6_k$ = function () {
2804
- return this.theory_1.get_tags_wousf6_k$();
2803
+ protoOf(MappedProblogTheory).du = function () {
2804
+ return this.e3o_1.du();
2805
2805
  };
2806
- protoOf(MappedProblogTheory).get_unificator_xw6v3j_k$ = function () {
2807
- return this.theory_1.get_unificator_xw6v3j_k$();
2806
+ protoOf(MappedProblogTheory).v1n = function () {
2807
+ return this.e3o_1.v1n();
2808
2808
  };
2809
2809
  function NothingClauseMapper() {
2810
2810
  }
2811
- protoOf(NothingClauseMapper).isCompatible_jra7od_k$ = function (clause) {
2811
+ protoOf(NothingClauseMapper).o3n = function (clause) {
2812
2812
  return true;
2813
2813
  };
2814
- protoOf(NothingClauseMapper).apply_a16z0z_k$ = function (clause) {
2814
+ protoOf(NothingClauseMapper).p3n = function (clause) {
2815
2815
  return listOf(clause);
2816
2816
  };
2817
2817
  var NothingClauseMapper_instance;
@@ -2820,63 +2820,63 @@
2820
2820
  }
2821
2821
  function ProbabilisticClauseMapper() {
2822
2822
  }
2823
- protoOf(ProbabilisticClauseMapper).isCompatible_jra7od_k$ = function (clause) {
2823
+ protoOf(ProbabilisticClauseMapper).o3n = function (clause) {
2824
2824
  var tmp;
2825
2825
  if (isInterface(clause, Rule)) {
2826
- tmp = clause.get_head_won7e1_k$().get_functor_75vgt2_k$() === '::';
2826
+ tmp = clause.ez().yw() === '::';
2827
2827
  } else {
2828
2828
  tmp = false;
2829
2829
  }
2830
2830
  return tmp;
2831
2831
  };
2832
- protoOf(ProbabilisticClauseMapper).apply_a16z0z_k$ = function (clause) {
2832
+ protoOf(ProbabilisticClauseMapper).p3n = function (clause) {
2833
2833
  if (!isInterface(clause, Rule)) {
2834
2834
  throw new ClauseMappingException('Clause is not an instance of Rule: ' + clause.toString());
2835
2835
  }
2836
- var mapped = this.mapRuleInternal_y0jl17_k$(clause);
2837
- return listOf(this.mapRuleWithExplanation_lmelqv_k$(mapped.first, Companion_getInstance_11().of_80r6fo_k$(mapped.second)));
2836
+ var mapped = this.q3n(clause);
2837
+ return listOf(this.r3n(mapped.first, Companion_getInstance_11().d3n(mapped.second)));
2838
2838
  };
2839
- protoOf(ProbabilisticClauseMapper).mapRuleInternal_y0jl17_k$ = function (rule) {
2840
- if (!(rule.get_head_won7e1_k$().get_arity_iosiic_k$() === 2)) {
2841
- throw TuPrologException_init_$Create$('Invalid probabilistic rule: ' + rule.get_head_won7e1_k$().toString());
2839
+ protoOf(ProbabilisticClauseMapper).q3n = function (rule) {
2840
+ if (!(rule.ez().sw() === 2)) {
2841
+ throw TuPrologException_init_$Create$('Invalid probabilistic rule: ' + rule.ez().toString());
2842
2842
  }
2843
- var probTerm = rule.get_head_won7e1_k$().get(0);
2843
+ var probTerm = rule.ez().get(0);
2844
2844
  var tmp;
2845
2845
  if (isInterface(probTerm, Numeric)) {
2846
- tmp = probTerm.get_decimalValue_7pja3t_k$().toDouble();
2846
+ tmp = probTerm.o11().toDouble();
2847
2847
  } else {
2848
2848
  tmp = solveArithmeticExpression(probTerm);
2849
2849
  }
2850
2850
  var probability = tmp;
2851
- var headTerm = safeToStruct(rule.get_head_won7e1_k$().get(1));
2852
- if (headTerm.get_functor_75vgt2_k$() === 'evidence') {
2853
- throw TuPrologException_init_$Create$("Probability notation can't be expressed on evidence: " + rule.get_head_won7e1_k$().toString());
2851
+ var headTerm = safeToStruct(rule.ez().get(1));
2852
+ if (headTerm.yw() === 'evidence') {
2853
+ throw TuPrologException_init_$Create$("Probability notation can't be expressed on evidence: " + rule.ez().toString());
2854
2854
  }
2855
- var bodyTerm = rule.get_body_wojkyz_k$();
2856
- var tmp_0 = rule.get_body_wojkyz_k$();
2855
+ var bodyTerm = rule.fz();
2856
+ var tmp_0 = rule.fz();
2857
2857
  if (isInterface(tmp_0, Truth)) {
2858
- if (!rule.get_body_wojkyz_k$().get_isTrue_ew6ti9_k$() && probability < 1.0) {
2858
+ if (!rule.fz().ww() && probability < 1.0) {
2859
2859
  probability = 1.0 - probability;
2860
2860
  bodyTerm = Companion_getInstance_7().of(true);
2861
2861
  }
2862
2862
  }
2863
2863
  var anonVariablesFix = withoutAnonymousVars(Companion_instance_3.of(headTerm, [bodyTerm]));
2864
- headTerm = anonVariablesFix.get_head_won7e1_k$();
2865
- bodyTerm = anonVariablesFix.get_body_wojkyz_k$();
2864
+ headTerm = anonVariablesFix.ez();
2865
+ bodyTerm = anonVariablesFix.fz();
2866
2866
  var extraVariables = get_extraVariables(Companion_instance_3.of(headTerm, [bodyTerm]));
2867
- var probTerm_0 = new ProbTerm(ClauseMappingUtils_getInstance().newClauseId_w9leay_k$(), probability, headTerm, extraVariables);
2867
+ var probTerm_0 = new ProbTerm(ClauseMappingUtils_getInstance().z3n(), probability, headTerm, extraVariables);
2868
2868
  return new Pair(Companion_instance_3.of(headTerm, [bodyTerm]), probTerm_0);
2869
2869
  };
2870
- protoOf(ProbabilisticClauseMapper).mapRuleWithExplanation_lmelqv_k$ = function (rule, explanation) {
2871
- var tmp = rule.get_body_wojkyz_k$();
2870
+ protoOf(ProbabilisticClauseMapper).r3n = function (rule, explanation) {
2871
+ var tmp = rule.fz();
2872
2872
  if (isInterface(tmp, Truth)) {
2873
- return Companion_instance_3.of(withExplanation(rule.get_head_won7e1_k$(), toTerm(explanation)), [rule.get_body_wojkyz_k$()]);
2873
+ return Companion_instance_3.of(withExplanation(rule.ez(), toTerm(explanation)), [rule.fz()]);
2874
2874
  }
2875
2875
  var explanationVar = Companion_getInstance_0().of('EXPL_Res');
2876
2876
  var explanationBodyVar = Companion_getInstance_0().of('EXPL_Body');
2877
- var newBody = withBodyExplanation(rule.get_body_wojkyz_k$(), explanationBodyVar);
2877
+ var newBody = withBodyExplanation(rule.fz(), explanationBodyVar);
2878
2878
  var tmp_0 = Companion_instance_3;
2879
- var tmp_1 = withExplanation(rule.get_head_won7e1_k$(), explanationVar);
2879
+ var tmp_1 = withExplanation(rule.ez(), explanationVar);
2880
2880
  var tmp_2 = Companion_getInstance_1();
2881
2881
  var tmp_3 = Companion_getInstance_1();
2882
2882
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
@@ -2889,36 +2889,36 @@
2889
2889
  }
2890
2890
  function PrologClauseMapper() {
2891
2891
  }
2892
- protoOf(PrologClauseMapper).isCompatible_jra7od_k$ = function (clause) {
2892
+ protoOf(PrologClauseMapper).o3n = function (clause) {
2893
2893
  return isInterface(clause, Rule);
2894
2894
  };
2895
- protoOf(PrologClauseMapper).apply_a16z0z_k$ = function (clause) {
2895
+ protoOf(PrologClauseMapper).p3n = function (clause) {
2896
2896
  if (!isInterface(clause, Rule)) {
2897
2897
  throw new ClauseMappingException('Clause is not an instance of Rule: ' + clause.toString());
2898
2898
  }
2899
- var tmp = clause.get_body_wojkyz_k$();
2899
+ var tmp = clause.fz();
2900
2900
  if (isInterface(tmp, Truth)) {
2901
- return listOf(Companion_instance_3.of(withExplanation(clause.get_head_won7e1_k$(), toTerm(Companion_getInstance_11().TRUE_1)), [clause.get_body_wojkyz_k$()]));
2901
+ return listOf(Companion_instance_3.of(withExplanation(clause.ez(), toTerm(Companion_getInstance_11().z3m_1)), [clause.fz()]));
2902
2902
  }
2903
2903
  var explanationVar = Companion_getInstance_0().of('EXPL_Res');
2904
- return listOf(Companion_instance_3.of(withExplanation(clause.get_head_won7e1_k$(), explanationVar), [withBodyExplanation(clause.get_body_wojkyz_k$(), explanationVar)]));
2904
+ return listOf(Companion_instance_3.of(withExplanation(clause.ez(), explanationVar), [withBodyExplanation(clause.fz(), explanationVar)]));
2905
2905
  };
2906
2906
  var PrologClauseMapper_instance;
2907
2907
  function PrologClauseMapper_getInstance() {
2908
2908
  return PrologClauseMapper_instance;
2909
2909
  }
2910
2910
  function _get_prob__dc6m52($this, $receiver) {
2911
- return $receiver.explanation_1.get_probability_7g5yr8_k$();
2911
+ return $receiver.w3l_1.l3n();
2912
2912
  }
2913
2913
  function ProbExplAnd() {
2914
2914
  ProbExplAnd_instance = this;
2915
2915
  NonBacktrackable.call(this, 'prob_expl_and');
2916
2916
  }
2917
- protoOf(ProbExplAnd).computeOne_oq9h0q_k$ = function (_this__u8e3s4, first, second, third) {
2918
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 1);
2919
- Companion_getInstance_9().ensuringArgumentIsCallable_xwjiqq_k$(_this__u8e3s4, 1);
2920
- if (ProbSetConfig_getInstance().isPrologMode_3vojg3_k$(_this__u8e3s4.context)) {
2921
- return _this__u8e3s4.replyWith(Companion_getInstance_9().mgu_jyyt35_k$(_this__u8e3s4, first, toTerm(Companion_getInstance_11().TRUE_1)), VOID, []);
2917
+ protoOf(ProbExplAnd).w2z = function (_this__u8e3s4, first, second, third) {
2918
+ Companion_getInstance_9().o2l(_this__u8e3s4, 1);
2919
+ Companion_getInstance_9().u2l(_this__u8e3s4, 1);
2920
+ if (ProbSetConfig_getInstance().g3o(_this__u8e3s4.context)) {
2921
+ return _this__u8e3s4.replyWith(Companion_getInstance_9().i2l(_this__u8e3s4, first, toTerm(Companion_getInstance_11().z3m_1)), VOID, []);
2922
2922
  }
2923
2923
  var tmp;
2924
2924
  var tmp_0;
@@ -2934,12 +2934,12 @@
2934
2934
  tmp_0 = false;
2935
2935
  }
2936
2936
  if (tmp_0) {
2937
- var explanation = _get_prob__dc6m52(this, second) === 0.0 || _get_prob__dc6m52(this, third) === 0.0 ? Companion_getInstance_11().FALSE_1 : _get_prob__dc6m52(this, second) === 1.0 && _get_prob__dc6m52(this, third) === 1.0 ? Companion_getInstance_11().TRUE_1 : _get_prob__dc6m52(this, second) === 1.0 ? third.explanation_1 : _get_prob__dc6m52(this, third) === 1.0 ? second.explanation_1 : second.explanation_1.and(third.explanation_1);
2937
+ var explanation = _get_prob__dc6m52(this, second) === 0.0 || _get_prob__dc6m52(this, third) === 0.0 ? Companion_getInstance_11().y3m_1 : _get_prob__dc6m52(this, second) === 1.0 && _get_prob__dc6m52(this, third) === 1.0 ? Companion_getInstance_11().z3m_1 : _get_prob__dc6m52(this, second) === 1.0 ? third.w3l_1 : _get_prob__dc6m52(this, third) === 1.0 ? second.w3l_1 : second.w3l_1.and(third.w3l_1);
2938
2938
  var tmp_2;
2939
- if (explanation.get_probability_7g5yr8_k$() === 0.0) {
2939
+ if (explanation.l3n() === 0.0) {
2940
2940
  tmp_2 = _this__u8e3s4.replyWithCondition(false, VOID, []);
2941
2941
  } else {
2942
- tmp_2 = _this__u8e3s4.replyWith(Companion_getInstance_9().mgu_jyyt35_k$(_this__u8e3s4, first, new ProbExplanationTerm(explanation)), VOID, []);
2942
+ tmp_2 = _this__u8e3s4.replyWith(Companion_getInstance_9().i2l(_this__u8e3s4, first, new ProbExplanationTerm(explanation)), VOID, []);
2943
2943
  }
2944
2944
  tmp = tmp_2;
2945
2945
  } else {
@@ -2949,8 +2949,8 @@
2949
2949
  }
2950
2950
  return tmp;
2951
2951
  };
2952
- protoOf(ProbExplAnd).computeOne_bappeh_k$ = function (_this__u8e3s4, first, second, third) {
2953
- return this.computeOne_oq9h0q_k$(_this__u8e3s4, first, second, third);
2952
+ protoOf(ProbExplAnd).r2n = function (_this__u8e3s4, first, second, third) {
2953
+ return this.w2z(_this__u8e3s4, first, second, third);
2954
2954
  };
2955
2955
  var ProbExplAnd_instance;
2956
2956
  function ProbExplAnd_getInstance() {
@@ -2959,52 +2959,52 @@
2959
2959
  return ProbExplAnd_instance;
2960
2960
  }
2961
2961
  function ProbHelper$computeAllSubstitutions$slambda($goal, $this_computeAllSubstitutions, $third, $first, $second, $goalSignature, resultContinuation) {
2962
- this.$goal_1 = $goal;
2963
- this.$this_computeAllSubstitutions_1 = $this_computeAllSubstitutions;
2964
- this.$third_1 = $third;
2965
- this.$first_1 = $first;
2966
- this.$second_1 = $second;
2967
- this.$goalSignature_1 = $goalSignature;
2962
+ this.p3o_1 = $goal;
2963
+ this.q3o_1 = $this_computeAllSubstitutions;
2964
+ this.r3o_1 = $third;
2965
+ this.s3o_1 = $first;
2966
+ this.t3o_1 = $second;
2967
+ this.u3o_1 = $goalSignature;
2968
2968
  CoroutineImpl.call(this, resultContinuation);
2969
2969
  }
2970
- protoOf(ProbHelper$computeAllSubstitutions$slambda).invoke_1hnob7_k$ = function ($this$sequence, $completion) {
2971
- var tmp = this.create_v0gj1t_k$($this$sequence, $completion);
2972
- tmp.result_1 = Unit_instance;
2973
- tmp.exception_1 = null;
2974
- return tmp.doResume_5yljmg_k$();
2970
+ protoOf(ProbHelper$computeAllSubstitutions$slambda).x31 = function ($this$sequence, $completion) {
2971
+ var tmp = this.y31($this$sequence, $completion);
2972
+ tmp.r8_1 = Unit_instance;
2973
+ tmp.s8_1 = null;
2974
+ return tmp.x8();
2975
2975
  };
2976
- protoOf(ProbHelper$computeAllSubstitutions$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
2977
- return this.invoke_1hnob7_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2976
+ protoOf(ProbHelper$computeAllSubstitutions$slambda).o9 = function (p1, $completion) {
2977
+ return this.x31(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2978
2978
  };
2979
- protoOf(ProbHelper$computeAllSubstitutions$slambda).doResume_5yljmg_k$ = function () {
2980
- var suspendResult = this.result_1;
2979
+ protoOf(ProbHelper$computeAllSubstitutions$slambda).x8 = function () {
2980
+ var suspendResult = this.r8_1;
2981
2981
  $sm: do
2982
2982
  try {
2983
- var tmp = this.state_1;
2983
+ var tmp = this.p8_1;
2984
2984
  switch (tmp) {
2985
2985
  case 0:
2986
- this.exceptionState_1 = 18;
2987
- var tmp0_subject = this.$goal_1.get_functor_75vgt2_k$();
2986
+ this.q8_1 = 18;
2987
+ var tmp0_subject = this.p3o_1.yw();
2988
2988
  switch (tmp0_subject) {
2989
2989
  case '\\+':
2990
2990
  case 'not':
2991
- this.state_1 = 16;
2991
+ this.p8_1 = 16;
2992
2992
  var tmp_0;
2993
- if (ProbSetConfig_getInstance().isPrologMode_3vojg3_k$(this.$this_computeAllSubstitutions_1.context)) {
2993
+ if (ProbSetConfig_getInstance().g3o(this.q3o_1.context)) {
2994
2994
  var tmp_1 = Companion_getInstance_9();
2995
2995
  var tmp_2 = Companion_getInstance_1();
2996
- var tmp_3 = this.$goal_1.get_functor_75vgt2_k$();
2996
+ var tmp_3 = this.p3o_1.yw();
2997
2997
  var tmp_4 = Companion_getInstance_1();
2998
2998
  var this_0 = Prob_getInstance();
2999
- tmp_0 = tmp_1.mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, tmp_2.of(tmp_3, [tmp_4.of(this_0.signature.name, [Companion_getInstance_0().anonymous(), this.$goal_1.get(0)])])).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1)));
2999
+ tmp_0 = tmp_1.i2l(this.q3o_1, this.r3o_1, tmp_2.of(tmp_3, [tmp_4.of(this_0.signature.name, [Companion_getInstance_0().anonymous(), this.p3o_1.get(0)])])).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1)));
3000
3000
  } else {
3001
3001
  var tmp_5 = Companion_getInstance_9();
3002
3002
  var tmp_6 = Companion_getInstance_1();
3003
3003
  var this_1 = ProbNegationAsFailure_getInstance();
3004
- tmp_0 = tmp_5.mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, tmp_6.of(this_1.signature.name, [this.$first_1, this.$goal_1.get(0)]));
3004
+ tmp_0 = tmp_5.i2l(this.q3o_1, this.r3o_1, tmp_6.of(this_1.signature.name, [this.s3o_1, this.p3o_1.get(0)]));
3005
3005
  }
3006
3006
 
3007
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(tmp_0, this);
3007
+ suspendResult = this.v3o_1.te(tmp_0, this);
3008
3008
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3009
3009
  return suspendResult;
3010
3010
  }
@@ -3015,15 +3015,15 @@
3015
3015
  case ',':
3016
3016
  case ';':
3017
3017
  case '->':
3018
- this.state_1 = 15;
3018
+ this.p8_1 = 15;
3019
3019
  var tmp_7;
3020
- if (ProbSetConfig_getInstance().isPrologMode_3vojg3_k$(this.$this_computeAllSubstitutions_1.context)) {
3021
- tmp_7 = Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, withBodyExplanation(this.$goal_1, Companion_getInstance_0().anonymous())).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1)));
3020
+ if (ProbSetConfig_getInstance().g3o(this.q3o_1.context)) {
3021
+ tmp_7 = Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, withBodyExplanation(this.p3o_1, Companion_getInstance_0().anonymous())).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1)));
3022
3022
  } else {
3023
- tmp_7 = Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, withBodyExplanation(this.$goal_1, this.$first_1));
3023
+ tmp_7 = Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, withBodyExplanation(this.p3o_1, this.s3o_1));
3024
3024
  }
3025
3025
 
3026
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(tmp_7, this);
3026
+ suspendResult = this.v3o_1.te(tmp_7, this);
3027
3027
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3028
3028
  return suspendResult;
3029
3029
  }
@@ -3031,28 +3031,28 @@
3031
3031
  continue $sm;
3032
3032
  default:
3033
3033
  if (tmp0_subject === 'call') {
3034
- var newGoal = this.$goal_1.get(0);
3035
- this.state_1 = 14;
3036
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, Companion_instance_0.of(Companion_getInstance_1().of('ensure_executable', [newGoal]), Companion_getInstance_1().of(this.$goal_1.get_functor_75vgt2_k$(), [withBodyExplanation(newGoal, this.$first_1)]))), this);
3034
+ var newGoal = this.p3o_1.get(0);
3035
+ this.p8_1 = 14;
3036
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, Companion_instance_0.of(Companion_getInstance_1().of('ensure_executable', [newGoal]), Companion_getInstance_1().of(this.p3o_1.yw(), [withBodyExplanation(newGoal, this.s3o_1)]))), this);
3037
3037
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3038
3038
  return suspendResult;
3039
3039
  }
3040
3040
  continue $sm;
3041
3041
  } else {
3042
3042
  if (tmp0_subject === 'catch') {
3043
- this.state_1 = 13;
3044
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, Companion_getInstance_1().of(this.$goal_1.get_functor_75vgt2_k$(), [withBodyExplanation(this.$goal_1.get(0), this.$first_1), this.$goal_1.get(1), withBodyExplanation(this.$goal_1.get(2), this.$first_1)])), this);
3043
+ this.p8_1 = 13;
3044
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, Companion_getInstance_1().of(this.p3o_1.yw(), [withBodyExplanation(this.p3o_1.get(0), this.s3o_1), this.p3o_1.get(1), withBodyExplanation(this.p3o_1.get(2), this.s3o_1)])), this);
3045
3045
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3046
3046
  return suspendResult;
3047
3047
  }
3048
3048
  continue $sm;
3049
3049
  } else {
3050
3050
  if (tmp0_subject === 'findall') {
3051
- var this_2 = this.$goal_1.get_argsList_cw1bs4_k$();
3051
+ var this_2 = this.p3o_1.zw();
3052
3052
  var goalArgs = copyToArray(this_2);
3053
3053
  goalArgs[1] = withBodyExplanation(goalArgs[1], Companion_getInstance_0().anonymous());
3054
- this.state_1 = 12;
3055
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, Companion_getInstance_1().of(this.$goal_1.get_functor_75vgt2_k$(), goalArgs.slice())).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1))), this);
3054
+ this.p8_1 = 12;
3055
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, Companion_getInstance_1().of(this.p3o_1.yw(), goalArgs.slice())).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1))), this);
3056
3056
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3057
3057
  return suspendResult;
3058
3058
  }
@@ -3062,22 +3062,22 @@
3062
3062
  case 'assert':
3063
3063
  case 'asserta':
3064
3064
  case 'assertz':
3065
- var subGoal = this.$goal_1.get(0);
3065
+ var subGoal = this.p3o_1.get(0);
3066
3066
  var tmp_8;
3067
3067
  if (isInterface(subGoal, Clause)) {
3068
- tmp_8 = extractSignature(ensureNotNull(subGoal.get_head_won7e1_k$()));
3068
+ tmp_8 = extractSignature(ensureNotNull(subGoal.ez()));
3069
3069
  } else {
3070
3070
  tmp_8 = extractSignature(safeToStruct(subGoal));
3071
3071
  }
3072
3072
 
3073
3073
  var subGoalSignature = tmp_8;
3074
3074
  var tmp_9;
3075
- if (this.$this_computeAllSubstitutions_1.context.get_libraries_lyf10w_k$().containsSignature(subGoalSignature)) {
3075
+ if (this.q3o_1.context.t1x().containsSignature(subGoalSignature)) {
3076
3076
  tmp_9 = true;
3077
3077
  } else {
3078
3078
  var tmp_10;
3079
3079
  if (isInterface(subGoal, Clause)) {
3080
- tmp_10 = !subGoal.get_isWellFormed_hzilt0_k$();
3080
+ tmp_10 = !subGoal.oz();
3081
3081
  } else {
3082
3082
  tmp_10 = false;
3083
3083
  }
@@ -3085,8 +3085,8 @@
3085
3085
  }
3086
3086
 
3087
3087
  if (tmp_9) {
3088
- this.state_1 = 10;
3089
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, this.$goal_1).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1))), this);
3088
+ this.p8_1 = 10;
3089
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, this.p3o_1).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1))), this);
3090
3090
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3091
3091
  return suspendResult;
3092
3092
  }
@@ -3094,15 +3094,15 @@
3094
3094
  } else {
3095
3095
  var tmp_11;
3096
3096
  if (isInterface(subGoal, Clause)) {
3097
- tmp_11 = ClauseMappingUtils_getInstance().map_neip0b_k$(subGoal);
3097
+ tmp_11 = ClauseMappingUtils_getInstance().a3o(subGoal);
3098
3098
  } else {
3099
3099
  if (isInterface(subGoal, Struct)) {
3100
- var this_3 = ClauseMappingUtils_getInstance().map_neip0b_k$(Companion_instance.of(subGoal));
3100
+ var this_3 = ClauseMappingUtils_getInstance().a3o(Companion_instance.of(subGoal));
3101
3101
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
3102
- var _iterator__ex2g4s = this_3.iterator_jk1svi_k$();
3103
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3104
- var item = _iterator__ex2g4s.next_20eer_k$();
3105
- destination.add_utx5q5_k$(ensureNotNull(item.get_head_won7e1_k$()));
3102
+ var _iterator__ex2g4s = this_3.n();
3103
+ while (_iterator__ex2g4s.q()) {
3104
+ var item = _iterator__ex2g4s.r();
3105
+ destination.l(ensureNotNull(item.ez()));
3106
3106
  }
3107
3107
  tmp_11 = destination;
3108
3108
  } else {
@@ -3110,14 +3110,14 @@
3110
3110
  }
3111
3111
  }
3112
3112
  var newGoals = tmp_11;
3113
- this.state_1 = 9;
3113
+ this.p8_1 = 9;
3114
3114
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(newGoals, 10));
3115
- var _iterator__ex2g4s_0 = newGoals.iterator_jk1svi_k$();
3116
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
3117
- var item_0 = _iterator__ex2g4s_0.next_20eer_k$();
3118
- destination_0.add_utx5q5_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, Companion_getInstance_1().of(this.$goal_1.get_functor_75vgt2_k$(), [item_0])).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1))));
3115
+ var _iterator__ex2g4s_0 = newGoals.n();
3116
+ while (_iterator__ex2g4s_0.q()) {
3117
+ var item_0 = _iterator__ex2g4s_0.r();
3118
+ destination_0.l(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, Companion_getInstance_1().of(this.p3o_1.yw(), [item_0])).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1))));
3119
3119
  }
3120
- suspendResult = this.$this$sequence_1.yieldAll_nwjlo5_k$(destination_0, this);
3120
+ suspendResult = this.v3o_1.ve(destination_0, this);
3121
3121
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3122
3122
  return suspendResult;
3123
3123
  }
@@ -3128,20 +3128,20 @@
3128
3128
  switch (tmp0_subject) {
3129
3129
  case 'retract':
3130
3130
  case 'retractall':
3131
- var goalArg = this.$goal_1.get(0);
3132
- this.state_1 = 8;
3131
+ var goalArg = this.p3o_1.get(0);
3132
+ this.p8_1 = 8;
3133
3133
  var tmp_12 = Companion_getInstance_9();
3134
3134
  var tmp_13 = Companion_getInstance_1();
3135
- var tmp_14 = this.$goal_1.get_functor_75vgt2_k$();
3135
+ var tmp_14 = this.p3o_1.yw();
3136
3136
  var tmp_15;
3137
3137
  var tmp_16;
3138
3138
  var tmp_17;
3139
- if (goalArg.get_isClause_rwzxtu_k$()) {
3139
+ if (goalArg.fx()) {
3140
3140
  tmp_17 = true;
3141
3141
  } else {
3142
3142
  var tmp_18;
3143
3143
  if (isInterface(goalArg, Struct)) {
3144
- tmp_18 = goalArg.get_functor_75vgt2_k$() === ':-';
3144
+ tmp_18 = goalArg.yw() === ':-';
3145
3145
  } else {
3146
3146
  tmp_18 = false;
3147
3147
  }
@@ -3151,16 +3151,16 @@
3151
3151
  if (tmp_17) {
3152
3152
  tmp_16 = true;
3153
3153
  } else {
3154
- tmp_16 = this.$this_computeAllSubstitutions_1.context.get_libraries_lyf10w_k$().containsSignature(extractSignature(safeToStruct(goalArg)));
3154
+ tmp_16 = this.q3o_1.context.t1x().containsSignature(extractSignature(safeToStruct(goalArg)));
3155
3155
  }
3156
3156
 
3157
3157
  if (tmp_16) {
3158
3158
  tmp_15 = goalArg;
3159
3159
  } else {
3160
- tmp_15 = withExplanation(goalArg, this.$first_1);
3160
+ tmp_15 = withExplanation(goalArg, this.s3o_1);
3161
3161
  }
3162
3162
 
3163
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(tmp_12.mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, tmp_13.of(tmp_14, [tmp_15])), this);
3163
+ suspendResult = this.v3o_1.te(tmp_12.i2l(this.q3o_1, this.r3o_1, tmp_13.of(tmp_14, [tmp_15])), this);
3164
3164
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3165
3165
  return suspendResult;
3166
3166
  }
@@ -3168,23 +3168,23 @@
3168
3168
  continue $sm;
3169
3169
  default:
3170
3170
  if (tmp0_subject === 'clause') {
3171
- var subGoal_0 = this.$goal_1.get(0);
3171
+ var subGoal_0 = this.p3o_1.get(0);
3172
3172
  var tmp_19;
3173
3173
  if (!isInterface(subGoal_0, Struct)) {
3174
3174
  tmp_19 = true;
3175
3175
  } else {
3176
- tmp_19 = this.$this_computeAllSubstitutions_1.context.get_libraries_lyf10w_k$().hasProtected(extractSignature(subGoal_0));
3176
+ tmp_19 = this.q3o_1.context.t1x().hasProtected(extractSignature(subGoal_0));
3177
3177
  }
3178
3178
  if (tmp_19) {
3179
- this.state_1 = 6;
3180
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, this.$goal_1).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1))), this);
3179
+ this.p8_1 = 6;
3180
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, this.p3o_1).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1))), this);
3181
3181
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3182
3182
  return suspendResult;
3183
3183
  }
3184
3184
  continue $sm;
3185
3185
  } else {
3186
- this.state_1 = 5;
3187
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, Companion_getInstance_1().of(this.$goal_1.get_functor_75vgt2_k$(), [withExplanation(this.$goal_1.get(0), this.$first_1), this.$goal_1.get(1)])), this);
3186
+ this.p8_1 = 5;
3187
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, Companion_getInstance_1().of(this.p3o_1.yw(), [withExplanation(this.p3o_1.get(0), this.s3o_1), this.p3o_1.get(1)])), this);
3188
3188
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3189
3189
  return suspendResult;
3190
3190
  }
@@ -3193,22 +3193,22 @@
3193
3193
  } else {
3194
3194
  var tmp_20 = this;
3195
3195
  var tmp_21;
3196
- var tmp_22 = this.$second_1;
3196
+ var tmp_22 = this.t3o_1;
3197
3197
  if (isInterface(tmp_22, Truth)) {
3198
3198
  tmp_21 = true;
3199
3199
  } else {
3200
- tmp_21 = this.$this_computeAllSubstitutions_1.context.get_libraries_lyf10w_k$().containsSignature(this.$goalSignature_1);
3200
+ tmp_21 = this.q3o_1.context.t1x().containsSignature(this.u3o_1);
3201
3201
  }
3202
- tmp_20.isPrologOnly0__1 = tmp_21;
3203
- if (this.isPrologOnly0__1 || this.$this_computeAllSubstitutions_1.context.get_staticKb_a01l1u_k$().containsIndicator(this.$goalSignature_1.toIndicator()) || this.$this_computeAllSubstitutions_1.context.get_dynamicKb_wvqg8j_k$().containsIndicator(this.$goalSignature_1.toIndicator())) {
3204
- this.state_1 = 1;
3205
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, this.$goal_1).plus(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, toTerm(Companion_getInstance_11().TRUE_1))), this);
3202
+ tmp_20.w3o_1 = tmp_21;
3203
+ if (this.w3o_1 || this.q3o_1.context.v1x().containsIndicator(this.u3o_1.toIndicator()) || this.q3o_1.context.w1x().containsIndicator(this.u3o_1.toIndicator())) {
3204
+ this.p8_1 = 1;
3205
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, this.p3o_1).plus(Companion_getInstance_9().i2l(this.q3o_1, this.s3o_1, toTerm(Companion_getInstance_11().z3m_1))), this);
3206
3206
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3207
3207
  return suspendResult;
3208
3208
  }
3209
3209
  continue $sm;
3210
3210
  } else {
3211
- this.state_1 = 2;
3211
+ this.p8_1 = 2;
3212
3212
  continue $sm;
3213
3213
  }
3214
3214
  }
@@ -3229,103 +3229,103 @@
3229
3229
 
3230
3230
  break;
3231
3231
  case 1:
3232
- this.state_1 = 2;
3232
+ this.p8_1 = 2;
3233
3233
  continue $sm;
3234
3234
  case 2:
3235
- if (!this.isPrologOnly0__1) {
3236
- this.state_1 = 3;
3237
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$third_1, withExplanation(this.$goal_1, this.$first_1)), this);
3235
+ if (!this.w3o_1) {
3236
+ this.p8_1 = 3;
3237
+ suspendResult = this.v3o_1.te(Companion_getInstance_9().i2l(this.q3o_1, this.r3o_1, withExplanation(this.p3o_1, this.s3o_1)), this);
3238
3238
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3239
3239
  return suspendResult;
3240
3240
  }
3241
3241
  continue $sm;
3242
3242
  } else {
3243
- this.state_1 = 4;
3243
+ this.p8_1 = 4;
3244
3244
  continue $sm;
3245
3245
  }
3246
3246
 
3247
3247
  case 3:
3248
- this.state_1 = 4;
3248
+ this.p8_1 = 4;
3249
3249
  continue $sm;
3250
3250
  case 4:
3251
- this.state_1 = 17;
3251
+ this.p8_1 = 17;
3252
3252
  continue $sm;
3253
3253
  case 5:
3254
- this.state_1 = 7;
3254
+ this.p8_1 = 7;
3255
3255
  continue $sm;
3256
3256
  case 6:
3257
- this.state_1 = 7;
3257
+ this.p8_1 = 7;
3258
3258
  continue $sm;
3259
3259
  case 7:
3260
- this.state_1 = 17;
3260
+ this.p8_1 = 17;
3261
3261
  continue $sm;
3262
3262
  case 8:
3263
- this.state_1 = 17;
3263
+ this.p8_1 = 17;
3264
3264
  continue $sm;
3265
3265
  case 9:
3266
- this.state_1 = 11;
3266
+ this.p8_1 = 11;
3267
3267
  continue $sm;
3268
3268
  case 10:
3269
- this.state_1 = 11;
3269
+ this.p8_1 = 11;
3270
3270
  continue $sm;
3271
3271
  case 11:
3272
- this.state_1 = 17;
3272
+ this.p8_1 = 17;
3273
3273
  continue $sm;
3274
3274
  case 12:
3275
- this.state_1 = 17;
3275
+ this.p8_1 = 17;
3276
3276
  continue $sm;
3277
3277
  case 13:
3278
- this.state_1 = 17;
3278
+ this.p8_1 = 17;
3279
3279
  continue $sm;
3280
3280
  case 14:
3281
- this.state_1 = 17;
3281
+ this.p8_1 = 17;
3282
3282
  continue $sm;
3283
3283
  case 15:
3284
- this.state_1 = 17;
3284
+ this.p8_1 = 17;
3285
3285
  continue $sm;
3286
3286
  case 16:
3287
- this.state_1 = 17;
3287
+ this.p8_1 = 17;
3288
3288
  continue $sm;
3289
3289
  case 17:
3290
3290
  return Unit_instance;
3291
3291
  case 18:
3292
- throw this.exception_1;
3292
+ throw this.s8_1;
3293
3293
  }
3294
3294
  } catch ($p) {
3295
3295
  var e = $p;
3296
- if (this.exceptionState_1 === 18) {
3296
+ if (this.q8_1 === 18) {
3297
3297
  throw e;
3298
3298
  } else {
3299
- this.state_1 = this.exceptionState_1;
3300
- this.exception_1 = e;
3299
+ this.p8_1 = this.q8_1;
3300
+ this.s8_1 = e;
3301
3301
  }
3302
3302
  }
3303
3303
  while (true);
3304
3304
  };
3305
- protoOf(ProbHelper$computeAllSubstitutions$slambda).create_v0gj1t_k$ = function ($this$sequence, completion) {
3306
- var i = new ProbHelper$computeAllSubstitutions$slambda(this.$goal_1, this.$this_computeAllSubstitutions_1, this.$third_1, this.$first_1, this.$second_1, this.$goalSignature_1, completion);
3307
- i.$this$sequence_1 = $this$sequence;
3305
+ protoOf(ProbHelper$computeAllSubstitutions$slambda).y31 = function ($this$sequence, completion) {
3306
+ var i = new ProbHelper$computeAllSubstitutions$slambda(this.p3o_1, this.q3o_1, this.r3o_1, this.s3o_1, this.t3o_1, this.u3o_1, completion);
3307
+ i.v3o_1 = $this$sequence;
3308
3308
  return i;
3309
3309
  };
3310
3310
  function ProbHelper$computeAllSubstitutions$slambda_0($goal, $this_computeAllSubstitutions, $third, $first, $second, $goalSignature, resultContinuation) {
3311
3311
  var i = new ProbHelper$computeAllSubstitutions$slambda($goal, $this_computeAllSubstitutions, $third, $first, $second, $goalSignature, resultContinuation);
3312
3312
  return constructCallableReference(function ($this$sequence, $completion) {
3313
- return i.invoke_1hnob7_k$($this$sequence, $completion);
3313
+ return i.x31($this$sequence, $completion);
3314
3314
  }, 1);
3315
3315
  }
3316
3316
  function ProbHelper() {
3317
3317
  ProbHelper_instance = this;
3318
3318
  WithoutSideEffects.call(this, 'prob_helper');
3319
3319
  }
3320
- protoOf(ProbHelper).computeAllSubstitutions_kk6w37_k$ = function (_this__u8e3s4, first, second, third) {
3321
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 1);
3322
- Companion_getInstance_9().ensuringArgumentIsCallable_xwjiqq_k$(_this__u8e3s4, 1);
3320
+ protoOf(ProbHelper).w2u = function (_this__u8e3s4, first, second, third) {
3321
+ Companion_getInstance_9().o2l(_this__u8e3s4, 1);
3322
+ Companion_getInstance_9().u2l(_this__u8e3s4, 1);
3323
3323
  var goal = safeToStruct(second);
3324
3324
  var goalSignature = extractSignature(goal);
3325
3325
  return sequence(ProbHelper$computeAllSubstitutions$slambda_0(goal, _this__u8e3s4, third, first, second, goalSignature, null));
3326
3326
  };
3327
- protoOf(ProbHelper).computeAllSubstitutions_skk6sq_k$ = function (_this__u8e3s4, first, second, third) {
3328
- return this.computeAllSubstitutions_kk6w37_k$(_this__u8e3s4, first, second, third);
3327
+ protoOf(ProbHelper).n2n = function (_this__u8e3s4, first, second, third) {
3328
+ return this.w2u(_this__u8e3s4, first, second, third);
3329
3329
  };
3330
3330
  var ProbHelper_instance;
3331
3331
  function ProbHelper_getInstance() {
@@ -3337,11 +3337,11 @@
3337
3337
  ProbNegationAsFailure_instance = this;
3338
3338
  NonBacktrackable_0.call(this, 'prob_negation_as_failure');
3339
3339
  }
3340
- protoOf(ProbNegationAsFailure).computeOne_sdv9lb_k$ = function (_this__u8e3s4, first, second) {
3341
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 1);
3342
- Companion_getInstance_9().ensuringArgumentIsCallable_xwjiqq_k$(_this__u8e3s4, 1);
3340
+ protoOf(ProbNegationAsFailure).c2v = function (_this__u8e3s4, first, second) {
3341
+ Companion_getInstance_9().o2l(_this__u8e3s4, 1);
3342
+ Companion_getInstance_9().u2l(_this__u8e3s4, 1);
3343
3343
  var tmp;
3344
- if (!second.get_isGround_twq4nu_k$()) {
3344
+ if (!second.cy()) {
3345
3345
  tmp = _this__u8e3s4.replyException(ResolutionException_init_$Create$('Probabilistic negation does not support non-ground goals: ' + second.toString(), VOID, _this__u8e3s4.context, []), VOID, []);
3346
3346
  } else {
3347
3347
  var explanationTermVar = Companion_getInstance_0().of('Explanation');
@@ -3354,7 +3354,7 @@
3354
3354
  if (solution == null) {
3355
3355
  tmp_2 = _this__u8e3s4.replyFail(VOID, []);
3356
3356
  } else {
3357
- var explanationTerm = solution.get_substitution_i7fi9y_k$().get_wei43m_k$(explanationTermVar);
3357
+ var explanationTerm = solution.p1x().j2(explanationTermVar);
3358
3358
  var tmp_3;
3359
3359
  var tmp_4;
3360
3360
  if (explanationTerm == null) {
@@ -3365,7 +3365,7 @@
3365
3365
  if (tmp_4) {
3366
3366
  tmp_3 = _this__u8e3s4.replyException(ResolutionException_init_$Create$('No valid explanation has been solved for goal: ' + second.toString(), VOID, _this__u8e3s4.context, []), VOID, []);
3367
3367
  } else {
3368
- tmp_3 = _this__u8e3s4.replyWith(Companion_getInstance_5().ofSubstitution(Companion_getInstance_9().mgu_jyyt35_k$(_this__u8e3s4, first, new ProbExplanationTerm(explanationTerm.explanation_1.not())), []), VOID, []);
3368
+ tmp_3 = _this__u8e3s4.replyWith(Companion_getInstance_5().ofSubstitution(Companion_getInstance_9().i2l(_this__u8e3s4, first, new ProbExplanationTerm(explanationTerm.w3l_1.not())), []), VOID, []);
3369
3369
  }
3370
3370
  tmp_2 = tmp_3;
3371
3371
  }
@@ -3373,8 +3373,8 @@
3373
3373
  }
3374
3374
  return tmp;
3375
3375
  };
3376
- protoOf(ProbNegationAsFailure).computeOne_d8jipq_k$ = function (_this__u8e3s4, first, second) {
3377
- return this.computeOne_sdv9lb_k$(_this__u8e3s4, first, second);
3376
+ protoOf(ProbNegationAsFailure).n2k = function (_this__u8e3s4, first, second) {
3377
+ return this.c2v(_this__u8e3s4, first, second);
3378
3378
  };
3379
3379
  var ProbNegationAsFailure_instance;
3380
3380
  function ProbNegationAsFailure_getInstance() {
@@ -3388,45 +3388,45 @@
3388
3388
  };
3389
3389
  }
3390
3390
  function ProbQuery$computeAllSubstitutions$slambda($solutions, $queryWithEvidenceExplanation, $evidenceExplanation, $this_computeAllSubstitutions, $first, $fourth, resultContinuation) {
3391
- this.$solutions_1 = $solutions;
3392
- this.$queryWithEvidenceExplanation_1 = $queryWithEvidenceExplanation;
3393
- this.$evidenceExplanation_1 = $evidenceExplanation;
3394
- this.$this_computeAllSubstitutions_1 = $this_computeAllSubstitutions;
3395
- this.$first_1 = $first;
3396
- this.$fourth_1 = $fourth;
3391
+ this.h3p_1 = $solutions;
3392
+ this.i3p_1 = $queryWithEvidenceExplanation;
3393
+ this.j3p_1 = $evidenceExplanation;
3394
+ this.k3p_1 = $this_computeAllSubstitutions;
3395
+ this.l3p_1 = $first;
3396
+ this.m3p_1 = $fourth;
3397
3397
  CoroutineImpl.call(this, resultContinuation);
3398
3398
  }
3399
- protoOf(ProbQuery$computeAllSubstitutions$slambda).invoke_1hnob7_k$ = function ($this$sequence, $completion) {
3400
- var tmp = this.create_v0gj1t_k$($this$sequence, $completion);
3401
- tmp.result_1 = Unit_instance;
3402
- tmp.exception_1 = null;
3403
- return tmp.doResume_5yljmg_k$();
3399
+ protoOf(ProbQuery$computeAllSubstitutions$slambda).x31 = function ($this$sequence, $completion) {
3400
+ var tmp = this.y31($this$sequence, $completion);
3401
+ tmp.r8_1 = Unit_instance;
3402
+ tmp.s8_1 = null;
3403
+ return tmp.x8();
3404
3404
  };
3405
- protoOf(ProbQuery$computeAllSubstitutions$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
3406
- return this.invoke_1hnob7_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
3405
+ protoOf(ProbQuery$computeAllSubstitutions$slambda).o9 = function (p1, $completion) {
3406
+ return this.x31(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
3407
3407
  };
3408
- protoOf(ProbQuery$computeAllSubstitutions$slambda).doResume_5yljmg_k$ = function () {
3409
- var suspendResult = this.result_1;
3408
+ protoOf(ProbQuery$computeAllSubstitutions$slambda).x8 = function () {
3409
+ var suspendResult = this.r8_1;
3410
3410
  $sm: do
3411
3411
  try {
3412
- var tmp = this.state_1;
3412
+ var tmp = this.p8_1;
3413
3413
  switch (tmp) {
3414
3414
  case 0:
3415
- this.exceptionState_1 = 8;
3416
- this._iterator_0_yqohr0__1 = this.$solutions_1.iterator_jk1svi_k$();
3417
- this.state_1 = 1;
3415
+ this.q8_1 = 8;
3416
+ this.o3p_1 = this.h3p_1.n();
3417
+ this.p8_1 = 1;
3418
3418
  continue $sm;
3419
3419
  case 1:
3420
- if (!this._iterator_0_yqohr0__1.hasNext_bitz1p_k$()) {
3421
- this.state_1 = 7;
3420
+ if (!this.o3p_1.q()) {
3421
+ this.p8_1 = 7;
3422
3422
  continue $sm;
3423
3423
  }
3424
3424
 
3425
- var solution = this._iterator_0_yqohr0__1.next_20eer_k$();
3426
- if (solution.get_isHalt_evysus_k$())
3427
- throw ensureNotNull(solution.get_exception_x0n6w6_k$());
3428
- var queryWithEvidenceExplanationTerm = solution.get_substitution_i7fi9y_k$().get_wei43m_k$(this.$queryWithEvidenceExplanation_1);
3429
- var evidenceExplanationTerm = solution.get_substitution_i7fi9y_k$().get_wei43m_k$(this.$evidenceExplanation_1);
3425
+ var solution = this.o3p_1.r();
3426
+ if (solution.n1z())
3427
+ throw ensureNotNull(solution.l1z());
3428
+ var queryWithEvidenceExplanationTerm = solution.p1x().j2(this.i3p_1);
3429
+ var evidenceExplanationTerm = solution.p1x().j2(this.j3p_1);
3430
3430
  var tmp_0;
3431
3431
  var tmp_1;
3432
3432
  var tmp_2;
@@ -3449,28 +3449,28 @@
3449
3449
  }
3450
3450
 
3451
3451
  if (tmp_0) {
3452
- this.state_1 = 5;
3453
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_5().failed(), this);
3452
+ this.p8_1 = 5;
3453
+ suspendResult = this.n3p_1.te(Companion_getInstance_5().failed(), this);
3454
3454
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3455
3455
  return suspendResult;
3456
3456
  }
3457
3457
  continue $sm;
3458
3458
  } else {
3459
- var queryWithEvidenceProbability = queryWithEvidenceExplanationTerm.explanation_1.get_probabilityOrNull_pcn56y_k$();
3460
- var evidenceProbability = evidenceExplanationTerm.explanation_1.get_probabilityOrNull_pcn56y_k$();
3459
+ var queryWithEvidenceProbability = queryWithEvidenceExplanationTerm.w3l_1.m3n();
3460
+ var evidenceProbability = evidenceExplanationTerm.w3l_1.m3n();
3461
3461
  if (queryWithEvidenceProbability == null || evidenceProbability == null) {
3462
- this.state_1 = 3;
3463
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_5().failed(), this);
3462
+ this.p8_1 = 3;
3463
+ suspendResult = this.n3p_1.te(Companion_getInstance_5().failed(), this);
3464
3464
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3465
3465
  return suspendResult;
3466
3466
  }
3467
3467
  continue $sm;
3468
3468
  } else {
3469
- var tmp_3 = solution.get_substitution_i7fi9y_k$();
3470
- var solutionSubstitution = tmp_3.filter(ProbQuery$computeAllSubstitutions$slambda$lambda(this.$evidenceExplanation_1, this.$queryWithEvidenceExplanation_1));
3469
+ var tmp_3 = solution.p1x();
3470
+ var solutionSubstitution = tmp_3.filter(ProbQuery$computeAllSubstitutions$slambda$lambda(this.j3p_1, this.i3p_1));
3471
3471
  var probabilityTerm = Companion_getInstance_6().ofDouble(queryWithEvidenceProbability / evidenceProbability);
3472
- this.state_1 = 2;
3473
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_5().ofSubstitution(solutionSubstitution, [Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, probabilityTerm), Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$fourth_1, queryWithEvidenceExplanationTerm)]), this);
3472
+ this.p8_1 = 2;
3473
+ suspendResult = this.n3p_1.te(Companion_getInstance_5().ofSubstitution(solutionSubstitution, [Companion_getInstance_9().i2l(this.k3p_1, this.l3p_1, probabilityTerm), Companion_getInstance_9().i2l(this.k3p_1, this.m3p_1, queryWithEvidenceExplanationTerm)]), this);
3474
3474
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3475
3475
  return suspendResult;
3476
3476
  }
@@ -3479,56 +3479,56 @@
3479
3479
  }
3480
3480
 
3481
3481
  case 2:
3482
- this.state_1 = 4;
3482
+ this.p8_1 = 4;
3483
3483
  continue $sm;
3484
3484
  case 3:
3485
- this.state_1 = 4;
3485
+ this.p8_1 = 4;
3486
3486
  continue $sm;
3487
3487
  case 4:
3488
- this.state_1 = 6;
3488
+ this.p8_1 = 6;
3489
3489
  continue $sm;
3490
3490
  case 5:
3491
- this.state_1 = 6;
3491
+ this.p8_1 = 6;
3492
3492
  continue $sm;
3493
3493
  case 6:
3494
- this.state_1 = 1;
3494
+ this.p8_1 = 1;
3495
3495
  continue $sm;
3496
3496
  case 7:
3497
3497
  return Unit_instance;
3498
3498
  case 8:
3499
- throw this.exception_1;
3499
+ throw this.s8_1;
3500
3500
  }
3501
3501
  } catch ($p) {
3502
3502
  var e = $p;
3503
- if (this.exceptionState_1 === 8) {
3503
+ if (this.q8_1 === 8) {
3504
3504
  throw e;
3505
3505
  } else {
3506
- this.state_1 = this.exceptionState_1;
3507
- this.exception_1 = e;
3506
+ this.p8_1 = this.q8_1;
3507
+ this.s8_1 = e;
3508
3508
  }
3509
3509
  }
3510
3510
  while (true);
3511
3511
  };
3512
- protoOf(ProbQuery$computeAllSubstitutions$slambda).create_v0gj1t_k$ = function ($this$sequence, completion) {
3513
- var i = new ProbQuery$computeAllSubstitutions$slambda(this.$solutions_1, this.$queryWithEvidenceExplanation_1, this.$evidenceExplanation_1, this.$this_computeAllSubstitutions_1, this.$first_1, this.$fourth_1, completion);
3514
- i.$this$sequence_1 = $this$sequence;
3512
+ protoOf(ProbQuery$computeAllSubstitutions$slambda).y31 = function ($this$sequence, completion) {
3513
+ var i = new ProbQuery$computeAllSubstitutions$slambda(this.h3p_1, this.i3p_1, this.j3p_1, this.k3p_1, this.l3p_1, this.m3p_1, completion);
3514
+ i.n3p_1 = $this$sequence;
3515
3515
  return i;
3516
3516
  };
3517
3517
  function ProbQuery$computeAllSubstitutions$slambda_0($solutions, $queryWithEvidenceExplanation, $evidenceExplanation, $this_computeAllSubstitutions, $first, $fourth, resultContinuation) {
3518
3518
  var i = new ProbQuery$computeAllSubstitutions$slambda($solutions, $queryWithEvidenceExplanation, $evidenceExplanation, $this_computeAllSubstitutions, $first, $fourth, resultContinuation);
3519
3519
  return constructCallableReference(function ($this$sequence, $completion) {
3520
- return i.invoke_1hnob7_k$($this$sequence, $completion);
3520
+ return i.x31($this$sequence, $completion);
3521
3521
  }, 1);
3522
3522
  }
3523
3523
  function ProbQuery() {
3524
3524
  ProbQuery_instance = this;
3525
3525
  WithoutSideEffects_0.call(this, 'prob_query');
3526
3526
  }
3527
- protoOf(ProbQuery).computeAllSubstitutions_8i2i54_k$ = function (_this__u8e3s4, first, second, third, fourth) {
3528
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 1);
3529
- Companion_getInstance_9().ensuringArgumentIsCallable_xwjiqq_k$(_this__u8e3s4, 1);
3530
- Companion_getInstance_9().ensuringArgumentIsStruct_lk4yyp_k$(_this__u8e3s4, 1);
3531
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 2);
3527
+ protoOf(ProbQuery).q3p = function (_this__u8e3s4, first, second, third, fourth) {
3528
+ Companion_getInstance_9().o2l(_this__u8e3s4, 1);
3529
+ Companion_getInstance_9().u2l(_this__u8e3s4, 1);
3530
+ Companion_getInstance_9().s2l(_this__u8e3s4, 1);
3531
+ Companion_getInstance_9().o2l(_this__u8e3s4, 2);
3532
3532
  var queryWithEvidenceExplanation = Companion_getInstance_0().of('QueryWithEvidenceExplanation');
3533
3533
  var evidenceExplanation = Companion_getInstance_0().of('EvidenceExplanation');
3534
3534
  var tmp = _this__u8e3s4.subSolver();
@@ -3540,11 +3540,11 @@
3540
3540
  var tmp_3 = Companion_getInstance_1();
3541
3541
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3542
3542
  var tmp$ret$1 = ProbSolveWithEvidence_getInstance().signature.name;
3543
- var solutions = tmp.solveWithOptions(tmp_0.of(tmp_2, tmp_3.of(tmp$ret$1, [queryWithEvidenceExplanation, evidenceExplanation, second])), ProbSetConfig_getInstance().toSolveOptions_fb0e37_k$(third));
3543
+ var solutions = tmp.solveWithOptions(tmp_0.of(tmp_2, tmp_3.of(tmp$ret$1, [queryWithEvidenceExplanation, evidenceExplanation, second])), ProbSetConfig_getInstance().r3p(third));
3544
3544
  return sequence(ProbQuery$computeAllSubstitutions$slambda_0(solutions, queryWithEvidenceExplanation, evidenceExplanation, _this__u8e3s4, first, fourth, null));
3545
3545
  };
3546
- protoOf(ProbQuery).computeAllSubstitutions_cnpafj_k$ = function (_this__u8e3s4, first, second, third, fourth) {
3547
- return this.computeAllSubstitutions_8i2i54_k$(_this__u8e3s4, first, second, third, fourth);
3546
+ protoOf(ProbQuery).m2m = function (_this__u8e3s4, first, second, third, fourth) {
3547
+ return this.q3p(_this__u8e3s4, first, second, third, fourth);
3548
3548
  };
3549
3549
  var ProbQuery_instance;
3550
3550
  function ProbQuery_getInstance() {
@@ -3557,40 +3557,40 @@
3557
3557
  NonBacktrackable_1.call(this, 'prob_set_config');
3558
3558
  var tmp = this;
3559
3559
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3560
- tmp.CONFIG_FLAG_1 = this.signature.name + '_flag';
3560
+ tmp.r3l_1 = this.signature.name + '_flag';
3561
3561
  var tmp_0 = this;
3562
3562
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3563
- tmp_0.CONFIG_TERM_NAME_1 = this.signature.name + '_term';
3563
+ tmp_0.s3l_1 = this.signature.name + '_term';
3564
3564
  var tmp_1 = this;
3565
3565
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3566
- tmp_1.CONFIG_TERM_TAG_1 = 'it.unibo.tuprolog.solve.probability' + this.signature.name + '_tag';
3566
+ tmp_1.t3l_1 = 'it.unibo.tuprolog.solve.probability' + this.signature.name + '_tag';
3567
3567
  }
3568
- protoOf(ProbSetConfig).computeOne_6dkmes_k$ = function (_this__u8e3s4, first) {
3569
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 0);
3570
- Companion_getInstance_9().ensuringArgumentIsAtom_5kuj97_k$(_this__u8e3s4, 0);
3568
+ protoOf(ProbSetConfig).l2u = function (_this__u8e3s4, first) {
3569
+ Companion_getInstance_9().o2l(_this__u8e3s4, 0);
3570
+ Companion_getInstance_9().x2l(_this__u8e3s4, 0);
3571
3571
  // Inline function 'kotlin.arrayOf' call
3572
3572
  // Inline function 'kotlin.js.unsafeCast' call
3573
3573
  // Inline function 'kotlin.js.asDynamic' call
3574
- var tmp$ret$0 = [SetFlags_init_$Create$([new Pair(this.CONFIG_FLAG_1, first)])];
3574
+ var tmp$ret$0 = [SetFlags_init_$Create$([new Pair(this.r3l_1, first)])];
3575
3575
  return _this__u8e3s4.replySuccess(VOID, VOID, tmp$ret$0.slice());
3576
3576
  };
3577
- protoOf(ProbSetConfig).computeOne_2tedul_k$ = function (_this__u8e3s4, first) {
3578
- return this.computeOne_6dkmes_k$(_this__u8e3s4, first);
3577
+ protoOf(ProbSetConfig).a2o = function (_this__u8e3s4, first) {
3578
+ return this.l2u(_this__u8e3s4, first);
3579
3579
  };
3580
- protoOf(ProbSetConfig).toSolveOptions_fb0e37_k$ = function (_this__u8e3s4) {
3581
- var tmp0_elvis_lhs = _this__u8e3s4.getTag(this.CONFIG_TERM_TAG_1);
3580
+ protoOf(ProbSetConfig).r3p = function (_this__u8e3s4) {
3581
+ var tmp0_elvis_lhs = _this__u8e3s4.getTag(this.t3l_1);
3582
3582
  return tmp0_elvis_lhs == null ? Companion_getInstance_2().DEFAULT : tmp0_elvis_lhs;
3583
3583
  };
3584
- protoOf(ProbSetConfig).toProbConfigTerm_kcau8_k$ = function (_this__u8e3s4) {
3585
- return setTag(Companion_getInstance_4().of(this.CONFIG_TERM_NAME_1), this.CONFIG_TERM_TAG_1, _this__u8e3s4);
3584
+ protoOf(ProbSetConfig).u3l = function (_this__u8e3s4) {
3585
+ return setTag(Companion_getInstance_4().of(this.s3l_1), this.t3l_1, _this__u8e3s4);
3586
3586
  };
3587
- protoOf(ProbSetConfig).getSolverOptions_b2hzqc_k$ = function (_this__u8e3s4) {
3588
- var tmp0_safe_receiver = _this__u8e3s4.get_flags_irfhb2_k$().get_6bo4tg_k$(this.CONFIG_FLAG_1);
3589
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.toSolveOptions_fb0e37_k$(tmp0_safe_receiver);
3587
+ protoOf(ProbSetConfig).s3p = function (_this__u8e3s4) {
3588
+ var tmp0_safe_receiver = _this__u8e3s4.u1x().zb(this.r3l_1);
3589
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.r3p(tmp0_safe_receiver);
3590
3590
  return tmp1_elvis_lhs == null ? Companion_getInstance_2().DEFAULT : tmp1_elvis_lhs;
3591
3591
  };
3592
- protoOf(ProbSetConfig).isPrologMode_3vojg3_k$ = function (_this__u8e3s4) {
3593
- return !get_isProbabilistic(this.getSolverOptions_b2hzqc_k$(_this__u8e3s4));
3592
+ protoOf(ProbSetConfig).g3o = function (_this__u8e3s4) {
3593
+ return !get_isProbabilistic(this.s3p(_this__u8e3s4));
3594
3594
  };
3595
3595
  var ProbSetConfig_instance;
3596
3596
  function ProbSetConfig_getInstance() {
@@ -3599,9 +3599,9 @@
3599
3599
  return ProbSetConfig_instance;
3600
3600
  }
3601
3601
  function ProbSolve$computeAllSubstitutions$lambda(it) {
3602
- if (it.get_isHalt_evysus_k$())
3603
- throw ensureNotNull(it.get_exception_x0n6w6_k$());
3604
- return it.get_substitution_i7fi9y_k$();
3602
+ if (it.n1z())
3603
+ throw ensureNotNull(it.l1z());
3604
+ return it.p1x();
3605
3605
  }
3606
3606
  function ProbSolve$computeAllSubstitutions$lambda_0(it) {
3607
3607
  return !(it == null) ? isInterface(it, Halt) : false;
@@ -3612,126 +3612,126 @@
3612
3612
  };
3613
3613
  }
3614
3614
  function ProbSolve$computeAllSubstitutions$slambda($solutionGroups, $explanationVar, $this_computeAllSubstitutions, $first, resultContinuation) {
3615
- this.$solutionGroups_1 = $solutionGroups;
3616
- this.$explanationVar_1 = $explanationVar;
3617
- this.$this_computeAllSubstitutions_1 = $this_computeAllSubstitutions;
3618
- this.$first_1 = $first;
3615
+ this.b3q_1 = $solutionGroups;
3616
+ this.c3q_1 = $explanationVar;
3617
+ this.d3q_1 = $this_computeAllSubstitutions;
3618
+ this.e3q_1 = $first;
3619
3619
  CoroutineImpl.call(this, resultContinuation);
3620
3620
  }
3621
- protoOf(ProbSolve$computeAllSubstitutions$slambda).invoke_1hnob7_k$ = function ($this$sequence, $completion) {
3622
- var tmp = this.create_v0gj1t_k$($this$sequence, $completion);
3623
- tmp.result_1 = Unit_instance;
3624
- tmp.exception_1 = null;
3625
- return tmp.doResume_5yljmg_k$();
3621
+ protoOf(ProbSolve$computeAllSubstitutions$slambda).x31 = function ($this$sequence, $completion) {
3622
+ var tmp = this.y31($this$sequence, $completion);
3623
+ tmp.r8_1 = Unit_instance;
3624
+ tmp.s8_1 = null;
3625
+ return tmp.x8();
3626
3626
  };
3627
- protoOf(ProbSolve$computeAllSubstitutions$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
3628
- return this.invoke_1hnob7_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
3627
+ protoOf(ProbSolve$computeAllSubstitutions$slambda).o9 = function (p1, $completion) {
3628
+ return this.x31(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
3629
3629
  };
3630
- protoOf(ProbSolve$computeAllSubstitutions$slambda).doResume_5yljmg_k$ = function () {
3631
- var suspendResult = this.result_1;
3630
+ protoOf(ProbSolve$computeAllSubstitutions$slambda).x8 = function () {
3631
+ var suspendResult = this.r8_1;
3632
3632
  $sm: do
3633
3633
  try {
3634
- var tmp = this.state_1;
3634
+ var tmp = this.p8_1;
3635
3635
  switch (tmp) {
3636
3636
  case 0:
3637
- this.exceptionState_1 = 4;
3637
+ this.q8_1 = 4;
3638
3638
  var tmp_0 = this;
3639
- tmp_0._iterator_0_yqohr0__1 = this.$solutionGroups_1.get_entries_p20ztl_k$().iterator_jk1svi_k$();
3640
- this.state_1 = 1;
3639
+ tmp_0.g3q_1 = this.b3q_1.d1().n();
3640
+ this.p8_1 = 1;
3641
3641
  continue $sm;
3642
3642
  case 1:
3643
- if (!this._iterator_0_yqohr0__1.hasNext_bitz1p_k$()) {
3644
- this.state_1 = 3;
3643
+ if (!this.g3q_1.q()) {
3644
+ this.p8_1 = 3;
3645
3645
  continue $sm;
3646
3646
  }
3647
3647
 
3648
- var solutionGroup = this._iterator_0_yqohr0__1.next_20eer_k$();
3649
- var this_0 = solutionGroup.get_value_j01efc_k$();
3648
+ var solutionGroup = this.g3q_1.r();
3649
+ var this_0 = solutionGroup.f1();
3650
3650
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
3651
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
3652
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3653
- var item = _iterator__ex2g4s.next_20eer_k$();
3654
- destination.add_utx5q5_k$(item.get_substitution_i7fi9y_k$().get_wei43m_k$(this.$explanationVar_1));
3651
+ var _iterator__ex2g4s = this_0.n();
3652
+ while (_iterator__ex2g4s.q()) {
3653
+ var item = _iterator__ex2g4s.r();
3654
+ destination.l(item.p1x().j2(this.c3q_1));
3655
3655
  }
3656
3656
 
3657
3657
  var destination_0 = ArrayList_init_$Create$_0();
3658
- var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
3659
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
3660
- var element = _iterator__ex2g4s_0.next_20eer_k$();
3658
+ var _iterator__ex2g4s_0 = destination.n();
3659
+ while (_iterator__ex2g4s_0.q()) {
3660
+ var element = _iterator__ex2g4s_0.r();
3661
3661
  if (element instanceof ProbExplanationTerm) {
3662
- destination_0.add_utx5q5_k$(element);
3662
+ destination_0.l(element);
3663
3663
  }
3664
3664
  }
3665
3665
 
3666
3666
  var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_0, 10));
3667
- var _iterator__ex2g4s_1 = destination_0.iterator_jk1svi_k$();
3668
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
3669
- var item_0 = _iterator__ex2g4s_1.next_20eer_k$();
3670
- destination_1.add_utx5q5_k$(item_0.explanation_1);
3667
+ var _iterator__ex2g4s_1 = destination_0.n();
3668
+ while (_iterator__ex2g4s_1.q()) {
3669
+ var item_0 = _iterator__ex2g4s_1.r();
3670
+ destination_1.l(item_0.w3l_1);
3671
3671
  }
3672
3672
 
3673
- var iterator = destination_1.iterator_jk1svi_k$();
3674
- if (!iterator.hasNext_bitz1p_k$())
3673
+ var iterator = destination_1.n();
3674
+ if (!iterator.q())
3675
3675
  throw UnsupportedOperationException_init_$Create$("Empty collection can't be reduced.");
3676
- var accumulator = iterator.next_20eer_k$();
3677
- while (iterator.hasNext_bitz1p_k$()) {
3676
+ var accumulator = iterator.r();
3677
+ while (iterator.q()) {
3678
3678
  var tmp0 = accumulator;
3679
- var expl = iterator.next_20eer_k$();
3680
- accumulator = expl.get_probability_7g5yr8_k$() === 1.0 ? tmp0 : tmp0.get_probability_7g5yr8_k$() === 1.0 ? expl : tmp0.or(expl);
3679
+ var expl = iterator.r();
3680
+ accumulator = expl.l3n() === 1.0 ? tmp0 : tmp0.l3n() === 1.0 ? expl : tmp0.or(expl);
3681
3681
  }
3682
3682
 
3683
3683
  var explanation = accumulator;
3684
- var substitution = Companion_getInstance_5().ofSubstitution(solutionGroup.get_key_18j28a_k$(), [Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, new ProbExplanationTerm(explanation))]);
3685
- this.state_1 = 2;
3686
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(substitution, this);
3684
+ var substitution = Companion_getInstance_5().ofSubstitution(solutionGroup.e1(), [Companion_getInstance_9().i2l(this.d3q_1, this.e3q_1, new ProbExplanationTerm(explanation))]);
3685
+ this.p8_1 = 2;
3686
+ suspendResult = this.f3q_1.te(substitution, this);
3687
3687
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3688
3688
  return suspendResult;
3689
3689
  }
3690
3690
 
3691
3691
  continue $sm;
3692
3692
  case 2:
3693
- this.state_1 = 1;
3693
+ this.p8_1 = 1;
3694
3694
  continue $sm;
3695
3695
  case 3:
3696
3696
  return Unit_instance;
3697
3697
  case 4:
3698
- throw this.exception_1;
3698
+ throw this.s8_1;
3699
3699
  }
3700
3700
  } catch ($p) {
3701
3701
  var e = $p;
3702
- if (this.exceptionState_1 === 4) {
3702
+ if (this.q8_1 === 4) {
3703
3703
  throw e;
3704
3704
  } else {
3705
- this.state_1 = this.exceptionState_1;
3706
- this.exception_1 = e;
3705
+ this.p8_1 = this.q8_1;
3706
+ this.s8_1 = e;
3707
3707
  }
3708
3708
  }
3709
3709
  while (true);
3710
3710
  };
3711
- protoOf(ProbSolve$computeAllSubstitutions$slambda).create_v0gj1t_k$ = function ($this$sequence, completion) {
3712
- var i = new ProbSolve$computeAllSubstitutions$slambda(this.$solutionGroups_1, this.$explanationVar_1, this.$this_computeAllSubstitutions_1, this.$first_1, completion);
3713
- i.$this$sequence_1 = $this$sequence;
3711
+ protoOf(ProbSolve$computeAllSubstitutions$slambda).y31 = function ($this$sequence, completion) {
3712
+ var i = new ProbSolve$computeAllSubstitutions$slambda(this.b3q_1, this.c3q_1, this.d3q_1, this.e3q_1, completion);
3713
+ i.f3q_1 = $this$sequence;
3714
3714
  return i;
3715
3715
  };
3716
3716
  function ProbSolve$computeAllSubstitutions$slambda_0($solutionGroups, $explanationVar, $this_computeAllSubstitutions, $first, resultContinuation) {
3717
3717
  var i = new ProbSolve$computeAllSubstitutions$slambda($solutionGroups, $explanationVar, $this_computeAllSubstitutions, $first, resultContinuation);
3718
3718
  return constructCallableReference(function ($this$sequence, $completion) {
3719
- return i.invoke_1hnob7_k$($this$sequence, $completion);
3719
+ return i.x31($this$sequence, $completion);
3720
3720
  }, 1);
3721
3721
  }
3722
3722
  function ProbSolve() {
3723
3723
  ProbSolve_instance = this;
3724
3724
  WithoutSideEffects_1.call(this, 'prob_solve');
3725
3725
  }
3726
- protoOf(ProbSolve).computeAllSubstitutions_ou0z3m_k$ = function (_this__u8e3s4, first, second) {
3727
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 1);
3728
- Companion_getInstance_9().ensuringArgumentIsCallable_xwjiqq_k$(_this__u8e3s4, 1);
3729
- if (ProbSetConfig_getInstance().isPrologMode_3vojg3_k$(_this__u8e3s4.context)) {
3726
+ protoOf(ProbSolve).c2x = function (_this__u8e3s4, first, second) {
3727
+ Companion_getInstance_9().o2l(_this__u8e3s4, 1);
3728
+ Companion_getInstance_9().u2l(_this__u8e3s4, 1);
3729
+ if (ProbSetConfig_getInstance().g3o(_this__u8e3s4.context)) {
3730
3730
  var tmp = _this__u8e3s4.subSolver();
3731
3731
  var tmp_0 = Companion_getInstance_1();
3732
3732
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3733
3733
  var tmp$ret$0 = Prob_getInstance().signature.name;
3734
- var tmp_1 = tmp.solveWithOptions(tmp_0.of(tmp$ret$0, [first, second]), ProbSetConfig_getInstance().getSolverOptions_b2hzqc_k$(_this__u8e3s4.context));
3734
+ var tmp_1 = tmp.solveWithOptions(tmp_0.of(tmp$ret$0, [first, second]), ProbSetConfig_getInstance().s3p(_this__u8e3s4.context));
3735
3735
  return map(tmp_1, ProbSolve$computeAllSubstitutions$lambda);
3736
3736
  }
3737
3737
  var explanationVar = Companion_getInstance_0().of('EXPL');
@@ -3739,21 +3739,21 @@
3739
3739
  var tmp_3 = Companion_getInstance_1();
3740
3740
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3741
3741
  var tmp$ret$1 = Prob_getInstance().signature.name;
3742
- var solutions = toList(tmp_2.solveWithOptions(tmp_3.of(tmp$ret$1, [explanationVar, second]), ProbSetConfig_getInstance().getSolverOptions_b2hzqc_k$(_this__u8e3s4.context)));
3742
+ var solutions = toList(tmp_2.solveWithOptions(tmp_3.of(tmp$ret$1, [explanationVar, second]), ProbSetConfig_getInstance().s3p(_this__u8e3s4.context)));
3743
3743
  // Inline function 'kotlin.sequences.filterIsInstance' call
3744
3744
  var this_0 = asSequence(solutions);
3745
3745
  var tmp_4 = filter(this_0, ProbSolve$computeAllSubstitutions$lambda_0);
3746
3746
  var tmp$ret$2 = isInterface(tmp_4, Sequence) ? tmp_4 : THROW_CCE();
3747
3747
  var error = firstOrNull(tmp$ret$2);
3748
3748
  if (!(error == null))
3749
- throw error.get_exception_x0n6w6_k$();
3749
+ throw error.l1z();
3750
3750
  var tmp_5;
3751
3751
  var tmp$ret$3;
3752
3752
  $l$block_0: {
3753
3753
  // Inline function 'kotlin.collections.any' call
3754
3754
  var tmp_6;
3755
3755
  if (isInterface(solutions, Collection)) {
3756
- tmp_6 = solutions.isEmpty_y1axqb_k$();
3756
+ tmp_6 = solutions.i();
3757
3757
  } else {
3758
3758
  tmp_6 = false;
3759
3759
  }
@@ -3761,9 +3761,9 @@
3761
3761
  tmp$ret$3 = false;
3762
3762
  break $l$block_0;
3763
3763
  }
3764
- var _iterator__ex2g4s = solutions.iterator_jk1svi_k$();
3765
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3766
- var element = _iterator__ex2g4s.next_20eer_k$();
3764
+ var _iterator__ex2g4s = solutions.n();
3765
+ while (_iterator__ex2g4s.q()) {
3766
+ var element = _iterator__ex2g4s.r();
3767
3767
  if (isInterface(element, Yes)) {
3768
3768
  tmp$ret$3 = true;
3769
3769
  break $l$block_0;
@@ -3772,46 +3772,46 @@
3772
3772
  tmp$ret$3 = false;
3773
3773
  }
3774
3774
  if (!tmp$ret$3) {
3775
- tmp_5 = sequenceOf(Companion_getInstance_5().ofSubstitution(Companion_getInstance_9().mgu_jyyt35_k$(_this__u8e3s4, first, new ProbExplanationTerm(Companion_getInstance_11().FALSE_1)), []));
3775
+ tmp_5 = sequenceOf(Companion_getInstance_5().ofSubstitution(Companion_getInstance_9().i2l(_this__u8e3s4, first, new ProbExplanationTerm(Companion_getInstance_11().y3m_1)), []));
3776
3776
  } else {
3777
3777
  // Inline function 'kotlin.collections.filterIsInstance' call
3778
3778
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
3779
3779
  var destination = ArrayList_init_$Create$_0();
3780
- var _iterator__ex2g4s_0 = solutions.iterator_jk1svi_k$();
3781
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
3782
- var element_0 = _iterator__ex2g4s_0.next_20eer_k$();
3780
+ var _iterator__ex2g4s_0 = solutions.n();
3781
+ while (_iterator__ex2g4s_0.q()) {
3782
+ var element_0 = _iterator__ex2g4s_0.r();
3783
3783
  if (!(element_0 == null) ? isInterface(element_0, Yes) : false) {
3784
- destination.add_utx5q5_k$(element_0);
3784
+ destination.l(element_0);
3785
3785
  }
3786
3786
  }
3787
3787
  // Inline function 'kotlin.collections.groupBy' call
3788
3788
  // Inline function 'kotlin.collections.groupByTo' call
3789
3789
  var destination_0 = LinkedHashMap_init_$Create$();
3790
- var _iterator__ex2g4s_1 = destination.iterator_jk1svi_k$();
3791
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
3792
- var element_1 = _iterator__ex2g4s_1.next_20eer_k$();
3793
- var tmp_7 = element_1.get_substitution_i7fi9y_k$();
3794
- var key = tmp_7.filter_fevdr4_k$(ProbSolve$computeAllSubstitutions$lambda_1(explanationVar));
3790
+ var _iterator__ex2g4s_1 = destination.n();
3791
+ while (_iterator__ex2g4s_1.q()) {
3792
+ var element_1 = _iterator__ex2g4s_1.r();
3793
+ var tmp_7 = element_1.p1x();
3794
+ var key = tmp_7.x12(ProbSolve$computeAllSubstitutions$lambda_1(explanationVar));
3795
3795
  // Inline function 'kotlin.collections.getOrPut' call
3796
- var value = destination_0.get_wei43m_k$(key);
3796
+ var value = destination_0.j2(key);
3797
3797
  var tmp_8;
3798
3798
  if (value == null) {
3799
3799
  var answer = ArrayList_init_$Create$_0();
3800
- destination_0.put_4fpzoq_k$(key, answer);
3800
+ destination_0.s4(key, answer);
3801
3801
  tmp_8 = answer;
3802
3802
  } else {
3803
3803
  tmp_8 = value;
3804
3804
  }
3805
3805
  var list = tmp_8;
3806
- list.add_utx5q5_k$(element_1);
3806
+ list.l(element_1);
3807
3807
  }
3808
3808
  var solutionGroups = destination_0;
3809
3809
  tmp_5 = sequence(ProbSolve$computeAllSubstitutions$slambda_0(solutionGroups, explanationVar, _this__u8e3s4, first, null));
3810
3810
  }
3811
3811
  return tmp_5;
3812
3812
  };
3813
- protoOf(ProbSolve).computeAllSubstitutions_kci3jv_k$ = function (_this__u8e3s4, first, second) {
3814
- return this.computeAllSubstitutions_ou0z3m_k$(_this__u8e3s4, first, second);
3813
+ protoOf(ProbSolve).u2k = function (_this__u8e3s4, first, second) {
3814
+ return this.c2x(_this__u8e3s4, first, second);
3815
3815
  };
3816
3816
  var ProbSolve_instance;
3817
3817
  function ProbSolve_getInstance() {
@@ -3824,28 +3824,28 @@
3824
3824
  }
3825
3825
  function ProbSolveEvidence$computeOne$lambda_0($explanationVar) {
3826
3826
  return function (s) {
3827
- return s.get_substitution_i7fi9y_k$().get_wei43m_k$($explanationVar);
3827
+ return s.p1x().j2($explanationVar);
3828
3828
  };
3829
3829
  }
3830
3830
  function ProbSolveEvidence$computeOne$lambda_1(it) {
3831
3831
  return it instanceof ProbExplanationTerm;
3832
3832
  }
3833
3833
  function ProbSolveEvidence$computeOne$lambda_2(t) {
3834
- return t.explanation_1;
3834
+ return t.w3l_1;
3835
3835
  }
3836
3836
  function ProbSolveEvidence() {
3837
3837
  ProbSolveEvidence_instance = this;
3838
3838
  NonBacktrackable_1.call(this, 'prob_solve_evidence');
3839
3839
  }
3840
- protoOf(ProbSolveEvidence).computeOne_6dkmes_k$ = function (_this__u8e3s4, first) {
3840
+ protoOf(ProbSolveEvidence).l2u = function (_this__u8e3s4, first) {
3841
3841
  var evidenceIndicator = Companion_instance_4.ofString('evidence', 2);
3842
- if (!_this__u8e3s4.context.get_staticKb_a01l1u_k$().containsIndicator(evidenceIndicator) && !_this__u8e3s4.context.get_dynamicKb_wvqg8j_k$().containsIndicator(evidenceIndicator)) {
3843
- return _this__u8e3s4.replyWith(Companion_getInstance_9().mgu_jyyt35_k$(_this__u8e3s4, first, new ProbExplanationTerm(Companion_getInstance_11().TRUE_1)), VOID, []);
3842
+ if (!_this__u8e3s4.context.v1x().containsIndicator(evidenceIndicator) && !_this__u8e3s4.context.w1x().containsIndicator(evidenceIndicator)) {
3843
+ return _this__u8e3s4.replyWith(Companion_getInstance_9().i2l(_this__u8e3s4, first, new ProbExplanationTerm(Companion_getInstance_11().z3m_1)), VOID, []);
3844
3844
  }
3845
3845
  var evidenceTermVar = Companion_getInstance_0().of('TermVar');
3846
3846
  var evidenceTruthVar = Companion_getInstance_0().of('TruthVar');
3847
3847
  var subQuery = Companion_getInstance_1().of('evidence', [evidenceTermVar, evidenceTruthVar]);
3848
- var subOptions = ProbSetConfig_getInstance().getSolverOptions_b2hzqc_k$(_this__u8e3s4.context).setLimit(-1).setLazy(false);
3848
+ var subOptions = ProbSetConfig_getInstance().s3p(_this__u8e3s4.context).setLimit(-1).setLazy(false);
3849
3849
  // Inline function 'kotlin.sequences.filterIsInstance' call
3850
3850
  var this_0 = _this__u8e3s4.subSolver().solveWithOptions(subQuery, subOptions);
3851
3851
  var tmp = filter(this_0, ProbSolveEvidence$computeOne$lambda);
@@ -3854,20 +3854,20 @@
3854
3854
  var this_1 = toList(tmp$ret$0);
3855
3855
  // Inline function 'kotlin.collections.mapTo' call
3856
3856
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
3857
- var _iterator__ex2g4s = this_1.iterator_jk1svi_k$();
3858
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3859
- var item = _iterator__ex2g4s.next_20eer_k$();
3860
- var truth = item.get_substitution_i7fi9y_k$().get_wei43m_k$(evidenceTruthVar);
3861
- var term = item.get_substitution_i7fi9y_k$().get_wei43m_k$(evidenceTermVar);
3857
+ var _iterator__ex2g4s = this_1.n();
3858
+ while (_iterator__ex2g4s.q()) {
3859
+ var item = _iterator__ex2g4s.r();
3860
+ var truth = item.p1x().j2(evidenceTruthVar);
3861
+ var term = item.p1x().j2(evidenceTermVar);
3862
3862
  var tmp_0;
3863
3863
  var tmp_1;
3864
- if (term == null || term.get_isVar_it73p0_k$() || truth == null) {
3864
+ if (term == null || term.ux() || truth == null) {
3865
3865
  tmp_1 = true;
3866
3866
  } else {
3867
3867
  tmp_1 = !isInterface(truth, Truth);
3868
3868
  }
3869
3869
  if (tmp_1) {
3870
- tmp_0 = Companion_getInstance_11().FALSE_1;
3870
+ tmp_0 = Companion_getInstance_11().y3m_1;
3871
3871
  } else {
3872
3872
  var explanationVar = Companion_getInstance_0().of('EXPL');
3873
3873
  var tmp_2 = Companion_getInstance_1();
@@ -3879,52 +3879,52 @@
3879
3879
  var tmp_4 = filter(this_2, ProbSolveEvidence$computeOne$lambda_1);
3880
3880
  var tmp_5 = isInterface(tmp_4, Sequence) ? tmp_4 : THROW_CCE();
3881
3881
  // Inline function 'kotlin.sequences.reduce' call
3882
- var iterator = map(tmp_5, ProbSolveEvidence$computeOne$lambda_2).iterator_jk1svi_k$();
3883
- if (!iterator.hasNext_bitz1p_k$())
3882
+ var iterator = map(tmp_5, ProbSolveEvidence$computeOne$lambda_2).n();
3883
+ if (!iterator.q())
3884
3884
  throw UnsupportedOperationException_init_$Create$("Empty sequence can't be reduced.");
3885
- var accumulator = iterator.next_20eer_k$();
3886
- while (iterator.hasNext_bitz1p_k$()) {
3885
+ var accumulator = iterator.r();
3886
+ while (iterator.q()) {
3887
3887
  var tmp0 = accumulator;
3888
- var t = iterator.next_20eer_k$();
3889
- accumulator = t.get_probability_7g5yr8_k$() === 1.0 ? tmp0 : tmp0.get_probability_7g5yr8_k$() === 1.0 ? t : t.or(tmp0);
3888
+ var t = iterator.r();
3889
+ accumulator = t.l3n() === 1.0 ? tmp0 : tmp0.l3n() === 1.0 ? t : t.or(tmp0);
3890
3890
  }
3891
3891
  var totalExplanation = accumulator;
3892
- tmp_0 = truth.get_isTrue_ew6ti9_k$() ? totalExplanation : totalExplanation.not();
3892
+ tmp_0 = truth.ww() ? totalExplanation : totalExplanation.not();
3893
3893
  }
3894
3894
  var tmp$ret$3 = tmp_0;
3895
- destination.add_utx5q5_k$(tmp$ret$3);
3895
+ destination.l(tmp$ret$3);
3896
3896
  }
3897
3897
  // Inline function 'kotlin.collections.filter' call
3898
3898
  // Inline function 'kotlin.collections.filterTo' call
3899
3899
  var destination_0 = ArrayList_init_$Create$_0();
3900
- var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
3901
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
3902
- var element = _iterator__ex2g4s_0.next_20eer_k$();
3903
- if (!equals(element, Companion_getInstance_11().FALSE_1)) {
3904
- destination_0.add_utx5q5_k$(element);
3900
+ var _iterator__ex2g4s_0 = destination.n();
3901
+ while (_iterator__ex2g4s_0.q()) {
3902
+ var element = _iterator__ex2g4s_0.r();
3903
+ if (!equals(element, Companion_getInstance_11().y3m_1)) {
3904
+ destination_0.l(element);
3905
3905
  }
3906
3906
  }
3907
3907
  var result = destination_0;
3908
3908
  var tmp_6;
3909
- if (result.isEmpty_y1axqb_k$()) {
3910
- tmp_6 = Companion_getInstance_11().TRUE_1;
3909
+ if (result.i()) {
3910
+ tmp_6 = Companion_getInstance_11().z3m_1;
3911
3911
  } else {
3912
3912
  // Inline function 'kotlin.collections.reduce' call
3913
- var iterator_0 = result.iterator_jk1svi_k$();
3914
- if (!iterator_0.hasNext_bitz1p_k$())
3913
+ var iterator_0 = result.n();
3914
+ if (!iterator_0.q())
3915
3915
  throw UnsupportedOperationException_init_$Create$("Empty collection can't be reduced.");
3916
- var accumulator_0 = iterator_0.next_20eer_k$();
3917
- while (iterator_0.hasNext_bitz1p_k$()) {
3916
+ var accumulator_0 = iterator_0.r();
3917
+ while (iterator_0.q()) {
3918
3918
  var tmp0_0 = accumulator_0;
3919
- accumulator_0 = iterator_0.next_20eer_k$().and(tmp0_0);
3919
+ accumulator_0 = iterator_0.r().and(tmp0_0);
3920
3920
  }
3921
3921
  tmp_6 = accumulator_0;
3922
3922
  }
3923
3923
  var resultExplanation = tmp_6;
3924
- return _this__u8e3s4.replyWith(Companion_getInstance_9().mgu_jyyt35_k$(_this__u8e3s4, first, new ProbExplanationTerm(resultExplanation)), VOID, []);
3924
+ return _this__u8e3s4.replyWith(Companion_getInstance_9().i2l(_this__u8e3s4, first, new ProbExplanationTerm(resultExplanation)), VOID, []);
3925
3925
  };
3926
- protoOf(ProbSolveEvidence).computeOne_2tedul_k$ = function (_this__u8e3s4, first) {
3927
- return this.computeOne_6dkmes_k$(_this__u8e3s4, first);
3926
+ protoOf(ProbSolveEvidence).a2o = function (_this__u8e3s4, first) {
3927
+ return this.l2u(_this__u8e3s4, first);
3928
3928
  };
3929
3929
  var ProbSolveEvidence_instance;
3930
3930
  function ProbSolveEvidence_getInstance() {
@@ -3938,51 +3938,51 @@
3938
3938
  };
3939
3939
  }
3940
3940
  function ProbSolveWithEvidence$computeAllSubstitutions$slambda($solutions, $goalExplanationVar, $evidenceExplanationTerm, $this_computeAllSubstitutions, $first, $second, resultContinuation) {
3941
- this.$solutions_1 = $solutions;
3942
- this.$goalExplanationVar_1 = $goalExplanationVar;
3943
- this.$evidenceExplanationTerm_1 = $evidenceExplanationTerm;
3944
- this.$this_computeAllSubstitutions_1 = $this_computeAllSubstitutions;
3945
- this.$first_1 = $first;
3946
- this.$second_1 = $second;
3941
+ this.r3q_1 = $solutions;
3942
+ this.s3q_1 = $goalExplanationVar;
3943
+ this.t3q_1 = $evidenceExplanationTerm;
3944
+ this.u3q_1 = $this_computeAllSubstitutions;
3945
+ this.v3q_1 = $first;
3946
+ this.w3q_1 = $second;
3947
3947
  CoroutineImpl.call(this, resultContinuation);
3948
3948
  }
3949
- protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).invoke_1hnob7_k$ = function ($this$sequence, $completion) {
3950
- var tmp = this.create_v0gj1t_k$($this$sequence, $completion);
3951
- tmp.result_1 = Unit_instance;
3952
- tmp.exception_1 = null;
3953
- return tmp.doResume_5yljmg_k$();
3949
+ protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).x31 = function ($this$sequence, $completion) {
3950
+ var tmp = this.y31($this$sequence, $completion);
3951
+ tmp.r8_1 = Unit_instance;
3952
+ tmp.s8_1 = null;
3953
+ return tmp.x8();
3954
3954
  };
3955
- protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
3956
- return this.invoke_1hnob7_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
3955
+ protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).o9 = function (p1, $completion) {
3956
+ return this.x31(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
3957
3957
  };
3958
- protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).doResume_5yljmg_k$ = function () {
3959
- var suspendResult = this.result_1;
3958
+ protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).x8 = function () {
3959
+ var suspendResult = this.r8_1;
3960
3960
  $sm: do
3961
3961
  try {
3962
- var tmp = this.state_1;
3962
+ var tmp = this.p8_1;
3963
3963
  switch (tmp) {
3964
3964
  case 0:
3965
- this.exceptionState_1 = 6;
3966
- this._iterator_0_yqohr0__1 = this.$solutions_1.iterator_jk1svi_k$();
3967
- this.state_1 = 1;
3965
+ this.q8_1 = 6;
3966
+ this.y3q_1 = this.r3q_1.n();
3967
+ this.p8_1 = 1;
3968
3968
  continue $sm;
3969
3969
  case 1:
3970
- if (!this._iterator_0_yqohr0__1.hasNext_bitz1p_k$()) {
3971
- this.state_1 = 5;
3970
+ if (!this.y3q_1.q()) {
3971
+ this.p8_1 = 5;
3972
3972
  continue $sm;
3973
3973
  }
3974
3974
 
3975
- var solution = this._iterator_0_yqohr0__1.next_20eer_k$();
3976
- if (solution.get_isHalt_evysus_k$())
3977
- throw ensureNotNull(solution.get_exception_x0n6w6_k$());
3978
- var goalExplanationTerm = solution.get_substitution_i7fi9y_k$().get_wei43m_k$(this.$goalExplanationVar_1);
3975
+ var solution = this.y3q_1.r();
3976
+ if (solution.n1z())
3977
+ throw ensureNotNull(solution.l1z());
3978
+ var goalExplanationTerm = solution.p1x().j2(this.s3q_1);
3979
3979
  var tmp_0;
3980
3980
  var tmp_1;
3981
3981
  var tmp_2;
3982
- if (this.$evidenceExplanationTerm_1 == null) {
3982
+ if (this.t3q_1 == null) {
3983
3983
  tmp_2 = true;
3984
3984
  } else {
3985
- var tmp_3 = this.$evidenceExplanationTerm_1;
3985
+ var tmp_3 = this.t3q_1;
3986
3986
  tmp_2 = !(tmp_3 instanceof ProbExplanationTerm);
3987
3987
  }
3988
3988
 
@@ -3999,20 +3999,20 @@
3999
3999
  }
4000
4000
 
4001
4001
  if (tmp_0) {
4002
- this.state_1 = 3;
4003
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(Companion_getInstance_5().failed(), this);
4002
+ this.p8_1 = 3;
4003
+ suspendResult = this.x3q_1.te(Companion_getInstance_5().failed(), this);
4004
4004
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4005
4005
  return suspendResult;
4006
4006
  }
4007
4007
  continue $sm;
4008
4008
  } else {
4009
- var explanationWithEvidenceTerm = new ProbExplanationTerm(goalExplanationTerm.explanation_1.and(this.$evidenceExplanationTerm_1.explanation_1));
4010
- this.state_1 = 2;
4009
+ var explanationWithEvidenceTerm = new ProbExplanationTerm(goalExplanationTerm.w3l_1.and(this.t3q_1.w3l_1));
4010
+ this.p8_1 = 2;
4011
4011
  var tmp_4 = Companion_getInstance_5();
4012
- var tmp_5 = Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$first_1, explanationWithEvidenceTerm);
4013
- var tmp_6 = Companion_getInstance_9().mgu_jyyt35_k$(this.$this_computeAllSubstitutions_1, this.$second_1, this.$evidenceExplanationTerm_1);
4014
- var tmp_7 = solution.get_substitution_i7fi9y_k$();
4015
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(tmp_4.ofSubstitution(tmp_5, [tmp_6, tmp_7.filter(ProbSolveWithEvidence$computeAllSubstitutions$slambda$lambda(this.$goalExplanationVar_1))]), this);
4012
+ var tmp_5 = Companion_getInstance_9().i2l(this.u3q_1, this.v3q_1, explanationWithEvidenceTerm);
4013
+ var tmp_6 = Companion_getInstance_9().i2l(this.u3q_1, this.w3q_1, this.t3q_1);
4014
+ var tmp_7 = solution.p1x();
4015
+ suspendResult = this.x3q_1.te(tmp_4.ofSubstitution(tmp_5, [tmp_6, tmp_7.filter(ProbSolveWithEvidence$computeAllSubstitutions$slambda$lambda(this.s3q_1))]), this);
4016
4016
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4017
4017
  return suspendResult;
4018
4018
  }
@@ -4020,59 +4020,59 @@
4020
4020
  }
4021
4021
 
4022
4022
  case 2:
4023
- this.state_1 = 4;
4023
+ this.p8_1 = 4;
4024
4024
  continue $sm;
4025
4025
  case 3:
4026
- this.state_1 = 4;
4026
+ this.p8_1 = 4;
4027
4027
  continue $sm;
4028
4028
  case 4:
4029
- this.state_1 = 1;
4029
+ this.p8_1 = 1;
4030
4030
  continue $sm;
4031
4031
  case 5:
4032
4032
  return Unit_instance;
4033
4033
  case 6:
4034
- throw this.exception_1;
4034
+ throw this.s8_1;
4035
4035
  }
4036
4036
  } catch ($p) {
4037
4037
  var e = $p;
4038
- if (this.exceptionState_1 === 6) {
4038
+ if (this.q8_1 === 6) {
4039
4039
  throw e;
4040
4040
  } else {
4041
- this.state_1 = this.exceptionState_1;
4042
- this.exception_1 = e;
4041
+ this.p8_1 = this.q8_1;
4042
+ this.s8_1 = e;
4043
4043
  }
4044
4044
  }
4045
4045
  while (true);
4046
4046
  };
4047
- protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).create_v0gj1t_k$ = function ($this$sequence, completion) {
4048
- var i = new ProbSolveWithEvidence$computeAllSubstitutions$slambda(this.$solutions_1, this.$goalExplanationVar_1, this.$evidenceExplanationTerm_1, this.$this_computeAllSubstitutions_1, this.$first_1, this.$second_1, completion);
4049
- i.$this$sequence_1 = $this$sequence;
4047
+ protoOf(ProbSolveWithEvidence$computeAllSubstitutions$slambda).y31 = function ($this$sequence, completion) {
4048
+ var i = new ProbSolveWithEvidence$computeAllSubstitutions$slambda(this.r3q_1, this.s3q_1, this.t3q_1, this.u3q_1, this.v3q_1, this.w3q_1, completion);
4049
+ i.x3q_1 = $this$sequence;
4050
4050
  return i;
4051
4051
  };
4052
4052
  function ProbSolveWithEvidence$computeAllSubstitutions$slambda_0($solutions, $goalExplanationVar, $evidenceExplanationTerm, $this_computeAllSubstitutions, $first, $second, resultContinuation) {
4053
4053
  var i = new ProbSolveWithEvidence$computeAllSubstitutions$slambda($solutions, $goalExplanationVar, $evidenceExplanationTerm, $this_computeAllSubstitutions, $first, $second, resultContinuation);
4054
4054
  return constructCallableReference(function ($this$sequence, $completion) {
4055
- return i.invoke_1hnob7_k$($this$sequence, $completion);
4055
+ return i.x31($this$sequence, $completion);
4056
4056
  }, 1);
4057
4057
  }
4058
4058
  function ProbSolveWithEvidence() {
4059
4059
  ProbSolveWithEvidence_instance = this;
4060
4060
  WithoutSideEffects.call(this, 'prob_solve_with_evidence');
4061
4061
  }
4062
- protoOf(ProbSolveWithEvidence).computeAllSubstitutions_kk6w37_k$ = function (_this__u8e3s4, first, second, third) {
4063
- Companion_getInstance_9().ensuringArgumentIsInstantiated_dpjvac_k$(_this__u8e3s4, 2);
4064
- Companion_getInstance_9().ensuringArgumentIsCallable_xwjiqq_k$(_this__u8e3s4, 2);
4062
+ protoOf(ProbSolveWithEvidence).w2u = function (_this__u8e3s4, first, second, third) {
4063
+ Companion_getInstance_9().o2l(_this__u8e3s4, 2);
4064
+ Companion_getInstance_9().u2l(_this__u8e3s4, 2);
4065
4065
  var evidenceExplanationVar = Companion_getInstance_0().of('EvidenceExplanation');
4066
4066
  var tmp;
4067
- if (ProbSetConfig_getInstance().isPrologMode_3vojg3_k$(_this__u8e3s4.context)) {
4068
- tmp = toTerm(Companion_getInstance_11().TRUE_1);
4067
+ if (ProbSetConfig_getInstance().g3o(_this__u8e3s4.context)) {
4068
+ tmp = toTerm(Companion_getInstance_11().z3m_1);
4069
4069
  } else {
4070
4070
  var tmp_0 = Companion_getInstance_1();
4071
4071
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
4072
4072
  var tmp$ret$0 = ProbSolveEvidence_getInstance().signature.name;
4073
4073
  var subQuery = tmp_0.of(tmp$ret$0, [evidenceExplanationVar]);
4074
- var solution = _this__u8e3s4.subSolver().solveOnceWithOptions(subQuery, ProbSetConfig_getInstance().getSolverOptions_b2hzqc_k$(_this__u8e3s4.context));
4075
- tmp = solution.get_substitution_i7fi9y_k$().get_wei43m_k$(evidenceExplanationVar);
4074
+ var solution = _this__u8e3s4.subSolver().solveOnceWithOptions(subQuery, ProbSetConfig_getInstance().s3p(_this__u8e3s4.context));
4075
+ tmp = solution.p1x().j2(evidenceExplanationVar);
4076
4076
  }
4077
4077
  var evidenceExplanationTerm = tmp;
4078
4078
  var goalExplanationVar = Companion_getInstance_0().of('GoalExplanation');
@@ -4080,11 +4080,11 @@
4080
4080
  var tmp_2 = Companion_getInstance_1();
4081
4081
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
4082
4082
  var tmp$ret$1 = ProbSolve_getInstance().signature.name;
4083
- var solutions = tmp_1.solveWithOptions(tmp_2.of(tmp$ret$1, [goalExplanationVar, third]), ProbSetConfig_getInstance().getSolverOptions_b2hzqc_k$(_this__u8e3s4.context));
4083
+ var solutions = tmp_1.solveWithOptions(tmp_2.of(tmp$ret$1, [goalExplanationVar, third]), ProbSetConfig_getInstance().s3p(_this__u8e3s4.context));
4084
4084
  return sequence(ProbSolveWithEvidence$computeAllSubstitutions$slambda_0(solutions, goalExplanationVar, evidenceExplanationTerm, _this__u8e3s4, first, second, null));
4085
4085
  };
4086
- protoOf(ProbSolveWithEvidence).computeAllSubstitutions_skk6sq_k$ = function (_this__u8e3s4, first, second, third) {
4087
- return this.computeAllSubstitutions_kk6w37_k$(_this__u8e3s4, first, second, third);
4086
+ protoOf(ProbSolveWithEvidence).n2n = function (_this__u8e3s4, first, second, third) {
4087
+ return this.w2u(_this__u8e3s4, first, second, third);
4088
4088
  };
4089
4089
  var ProbSolveWithEvidence_instance;
4090
4090
  function ProbSolveWithEvidence_getInstance() {
@@ -4096,10 +4096,10 @@
4096
4096
  Prob_instance = this;
4097
4097
  RuleWrapper_init_$Init$('prob', 2, VOID, this);
4098
4098
  }
4099
- protoOf(Prob).get_head_btpmqe_k$ = function (_this__u8e3s4) {
4099
+ protoOf(Prob).g2o = function (_this__u8e3s4) {
4100
4100
  return listOf_0([_this__u8e3s4.varOf('EXPL'), _this__u8e3s4.varOf('GOAL')]);
4101
4101
  };
4102
- protoOf(Prob).get_body_3ji99k_k$ = function (_this__u8e3s4) {
4102
+ protoOf(Prob).h2o = function (_this__u8e3s4) {
4103
4103
  var expl = _this__u8e3s4.varOf('EXPL');
4104
4104
  var goal = _this__u8e3s4.varOf('GOAL');
4105
4105
  var newGoal = _this__u8e3s4.varOf('NEW_GOAL');
@@ -4128,22 +4128,22 @@
4128
4128
  protoOf(ProblogSolverFactory).mutableSolverOf = mutableSolverOf;
4129
4129
  protoOf(ProblogSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
4130
4130
  protoOf(ProblogSolverFactory).newBuilder = newBuilder;
4131
- protoOf(ProblogSolverFactory).get_defaultRuntime_l4gjfk_k$ = get_defaultRuntime;
4132
- protoOf(ProblogSolverFactory).get_defaultUnificator_ub4hy6_k$ = get_defaultUnificator;
4133
- protoOf(ProblogSolverFactory).get_defaultStaticKb_njv4d9_k$ = get_defaultStaticKb;
4134
- protoOf(ProblogSolverFactory).get_defaultDynamicKb_ctuo3i_k$ = get_defaultDynamicKb;
4135
- protoOf(ProblogSolverFactory).get_defaultInputChannel_2ryi7j_k$ = get_defaultInputChannel;
4136
- protoOf(ProblogSolverFactory).get_defaultOutputChannel_bnwwa_k$ = get_defaultOutputChannel;
4137
- protoOf(ProblogSolverFactory).get_defaultErrorChannel_ezdmst_k$ = get_defaultErrorChannel;
4138
- protoOf(ProblogSolverFactory).get_defaultWarningsChannel_rdf4c_k$ = get_defaultWarningsChannel;
4139
- protoOf(ProblogSolverFactory).solverWithDefaultBuiltins_tcha89_k$ = solverWithDefaultBuiltins;
4131
+ protoOf(ProblogSolverFactory).a21 = get_defaultRuntime;
4132
+ protoOf(ProblogSolverFactory).c21 = get_defaultUnificator;
4133
+ protoOf(ProblogSolverFactory).g21 = get_defaultStaticKb;
4134
+ protoOf(ProblogSolverFactory).h21 = get_defaultDynamicKb;
4135
+ protoOf(ProblogSolverFactory).i21 = get_defaultInputChannel;
4136
+ protoOf(ProblogSolverFactory).j21 = get_defaultOutputChannel;
4137
+ protoOf(ProblogSolverFactory).k21 = get_defaultErrorChannel;
4138
+ protoOf(ProblogSolverFactory).l21 = get_defaultWarningsChannel;
4139
+ protoOf(ProblogSolverFactory).t21 = solverWithDefaultBuiltins;
4140
4140
  protoOf(ProblogSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
4141
- protoOf(ProblogSolverFactory).mutableSolverWithDefaultBuiltins_bc3d81_k$ = mutableSolverWithDefaultBuiltins;
4141
+ protoOf(ProblogSolverFactory).v21 = mutableSolverWithDefaultBuiltins;
4142
4142
  protoOf(ProblogSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
4143
4143
  defineProp(protoOf(ClauseMappingException), 'message', function () {
4144
- return this.get_message_h23axq_k$();
4144
+ return this.p1();
4145
4145
  });
4146
- protoOf(BinaryDecisionDiagramExplanation).get_probabilityOrNull_pcn56y_k$ = get_probabilityOrNull;
4146
+ protoOf(BinaryDecisionDiagramExplanation).m3n = get_probabilityOrNull;
4147
4147
  //endregion
4148
4148
  //region block: init
4149
4149
  ProblogSolverFactory_instance = new ProblogSolverFactory();