@tuprolog/arg2p 0.16.7 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/2p-core.js +2734 -2734
  2. package/2p-core.js.map +1 -1
  3. package/2p-dsl-core.js +461 -461
  4. package/2p-dsl-core.js.map +1 -1
  5. package/2p-dsl-solve.js +245 -245
  6. package/2p-dsl-solve.js.map +1 -1
  7. package/2p-dsl-theory.js +155 -155
  8. package/2p-dsl-theory.js.map +1 -1
  9. package/2p-dsl-unify.js +15 -15
  10. package/2p-dsl-unify.js.map +1 -1
  11. package/2p-io-lib.js +910 -910
  12. package/2p-io-lib.js.map +1 -1
  13. package/2p-parser-core.js +127 -127
  14. package/2p-parser-core.js.map +1 -1
  15. package/2p-parser-impl.js +1572 -1572
  16. package/2p-parser-impl.js.map +1 -1
  17. package/2p-parser-theory.js +91 -91
  18. package/2p-parser-theory.js.map +1 -1
  19. package/2p-solve-prolog.js +972 -972
  20. package/2p-solve-prolog.js.map +1 -1
  21. package/2p-solve.js +4409 -4409
  22. package/2p-solve.js.map +1 -1
  23. package/2p-theory.js +1693 -1693
  24. package/2p-theory.js.map +1 -1
  25. package/2p-unify.js +363 -363
  26. package/2p-unify.js.map +1 -1
  27. package/2p-utils.js +448 -448
  28. package/2p-utils.js.map +1 -1
  29. package/arg2p-causality-solver.js +267 -267
  30. package/arg2p-causality-solver.js.map +1 -1
  31. package/arg2p-core.js +3177 -2107
  32. package/arg2p-core.js.map +1 -1
  33. package/arg2p.js +218 -184
  34. package/arg2p.js.map +1 -1
  35. package/kotlin-kotlin-stdlib.js +2682 -2647
  36. package/kotlin-kotlin-stdlib.js.map +1 -1
  37. package/kt-math.js +1544 -1544
  38. package/kt-math.js.map +1 -1
  39. package/okio-parent-okio-nodefilesystem.js +51 -51
  40. package/okio-parent-okio-nodefilesystem.js.map +1 -1
  41. package/okio-parent-okio.js +693 -693
  42. package/okio-parent-okio.js.map +1 -1
  43. package/package.json +1 -1
@@ -34,68 +34,68 @@
34
34
  'use strict';
35
35
  //region block: imports
36
36
  var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.p;
37
- var ensureNotNull = kotlin_kotlin.$_$.mc;
38
- var filter = kotlin_kotlin.$_$.a9;
39
- var map = kotlin_kotlin.$_$.m9;
40
- var firstOrNull = kotlin_kotlin.$_$.b9;
37
+ var ensureNotNull = kotlin_kotlin.$_$.qc;
38
+ var filter = kotlin_kotlin.$_$.d9;
39
+ var map = kotlin_kotlin.$_$.q9;
40
+ var firstOrNull = kotlin_kotlin.$_$.e9;
41
41
  var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.v;
42
42
  var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_unify.$_$.a;
43
43
  var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.w;
44
44
  var parseTerm = kotlin_it_unibo_tuprolog_parser_core.$_$.e;
45
45
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.t;
46
46
  var Unit_instance = kotlin_kotlin.$_$.q;
47
- var collectionSizeOrDefault = kotlin_kotlin.$_$.q2;
47
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.s2;
48
48
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s;
49
- var plus = kotlin_kotlin.$_$.s4;
50
- var addAll = kotlin_kotlin.$_$.e2;
51
- var plus_0 = kotlin_kotlin.$_$.r4;
52
- var emptyList = kotlin_kotlin.$_$.e3;
53
- var to = kotlin_kotlin.$_$.uc;
49
+ var plus = kotlin_kotlin.$_$.u4;
50
+ var addAll = kotlin_kotlin.$_$.g2;
51
+ var plus_0 = kotlin_kotlin.$_$.t4;
52
+ var emptyList = kotlin_kotlin.$_$.g3;
53
+ var to = kotlin_kotlin.$_$.yc;
54
54
  var Companion_instance_1 = kotlin_it_unibo_tuprolog_theory.$_$.b;
55
55
  var parseTheoryWithOperators = kotlin_it_unibo_tuprolog_parser_theory.$_$.c;
56
56
  var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.u;
57
57
  var parseStruct = kotlin_it_unibo_tuprolog_parser_core.$_$.d;
58
- var Graph = kotlin_it_unibo_tuprolog_argumentation_core.$_$.l;
59
- var asSequence = kotlin_kotlin.$_$.n2;
60
- var flatMap = kotlin_kotlin.$_$.e9;
61
- var toList = kotlin_kotlin.$_$.ba;
58
+ var Graph = kotlin_it_unibo_tuprolog_argumentation_core.$_$.m;
59
+ var asSequence = kotlin_kotlin.$_$.p2;
60
+ var flatMap = kotlin_kotlin.$_$.h9;
61
+ var toList = kotlin_kotlin.$_$.fa;
62
62
  var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.l;
63
- var Collection = kotlin_kotlin.$_$.x1;
64
- var isInterface = kotlin_kotlin.$_$.m7;
65
- var distinct = kotlin_kotlin.$_$.c3;
66
- var arg2pScope = kotlin_it_unibo_tuprolog_argumentation_core.$_$.e;
67
- var toList_0 = kotlin_kotlin.$_$.e5;
68
- var toString = kotlin_kotlin.$_$.v7;
63
+ var Collection = kotlin_kotlin.$_$.z1;
64
+ var isInterface = kotlin_kotlin.$_$.p7;
65
+ var distinct = kotlin_kotlin.$_$.e3;
66
+ var arg2pScope = kotlin_it_unibo_tuprolog_argumentation_core.$_$.f;
67
+ var toList_0 = kotlin_kotlin.$_$.h5;
68
+ var toString = kotlin_kotlin.$_$.y7;
69
69
  var Default_getInstance = kotlin_kotlin.$_$.l;
70
- var nextUInt = kotlin_kotlin.$_$.b8;
71
- var UInt = kotlin_kotlin.$_$.jc;
70
+ var nextUInt = kotlin_kotlin.$_$.e8;
71
+ var UInt = kotlin_kotlin.$_$.nc;
72
72
  var Signature = kotlin_it_unibo_tuprolog_solve.$_$.w3;
73
- var protoOf = kotlin_kotlin.$_$.s7;
73
+ var protoOf = kotlin_kotlin.$_$.v7;
74
74
  var VOID = kotlin_kotlin.$_$.b;
75
- var sequenceOf = kotlin_kotlin.$_$.t9;
75
+ var sequenceOf = kotlin_kotlin.$_$.x9;
76
76
  var get_help = kotlin_it_unibo_tuprolog_solve.$_$.n3;
77
77
  var Helpable = kotlin_it_unibo_tuprolog_solve.$_$.o3;
78
- var initMetadataForClass = kotlin_kotlin.$_$.f7;
78
+ var initMetadataForClass = kotlin_kotlin.$_$.i7;
79
79
  var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.c1;
80
80
  var Expected_VARIABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.o;
81
81
  var Var = kotlin_it_unibo_tuprolog_core.$_$.d3;
82
- var mineActiveGraph = kotlin_it_unibo_tuprolog_argumentation_core.$_$.k;
83
- var Arg2pSolverFactory_instance = kotlin_it_unibo_tuprolog_argumentation_core.$_$.d;
84
- var FlagsBuilder = kotlin_it_unibo_tuprolog_argumentation_core.$_$.f;
85
- var Companion_instance_3 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.c;
86
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
87
- var Companion_instance_4 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.a;
88
- var Companion_instance_5 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.b;
82
+ var mineActiveGraph = kotlin_it_unibo_tuprolog_argumentation_core.$_$.l;
83
+ var Arg2pSolverFactory_instance = kotlin_it_unibo_tuprolog_argumentation_core.$_$.e;
84
+ var FlagsBuilder = kotlin_it_unibo_tuprolog_argumentation_core.$_$.g;
85
+ var Companion_instance_3 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.d;
86
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
87
+ var Companion_instance_4 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.b;
88
+ var Companion_instance_5 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.c;
89
89
  var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.i;
90
- var replace = kotlin_kotlin.$_$.za;
91
- var listOf = kotlin_kotlin.$_$.x3;
90
+ var replace = kotlin_kotlin.$_$.db;
91
+ var listOf = kotlin_kotlin.$_$.z3;
92
92
  var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.i1;
93
- var mapCapacity = kotlin_kotlin.$_$.y3;
94
- var coerceAtLeast = kotlin_kotlin.$_$.g8;
95
- var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
96
- var content = kotlin_it_unibo_tuprolog_argumentation_core.$_$.g;
97
- var ArgLibrary = kotlin_it_unibo_tuprolog_argumentation_core.$_$.h;
98
- var Loadable = kotlin_it_unibo_tuprolog_argumentation_core.$_$.i;
93
+ var mapCapacity = kotlin_kotlin.$_$.a4;
94
+ var coerceAtLeast = kotlin_kotlin.$_$.j8;
95
+ var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.w;
96
+ var content = kotlin_it_unibo_tuprolog_argumentation_core.$_$.h;
97
+ var ArgLibrary = kotlin_it_unibo_tuprolog_argumentation_core.$_$.i;
98
+ var Loadable = kotlin_it_unibo_tuprolog_argumentation_core.$_$.j;
99
99
  //endregion
100
100
  //region block: pre-declaration
101
101
  initMetadataForClass(CausalityCheckCauseButFor, 'CausalityCheckCauseButFor', VOID, VOID, [Helpable]);
@@ -106,11 +106,11 @@
106
106
  initMetadataForClass(CausalitySolver, 'CausalitySolver', CausalitySolver, VOID, [ArgLibrary, Loadable]);
107
107
  //endregion
108
108
  function CausalitySolver$CausalityCheckCauseButFor$solve$lambda$lambda(it) {
109
- return it.get_isYes_it760k_k$();
109
+ return it.e1z();
110
110
  }
111
111
  function CausalitySolver$CausalityCheckCauseButFor$solve$lambda$lambda_0($this_arg2pScope) {
112
112
  return function (it) {
113
- return Companion_instance.of([ensureNotNull(it.get_substitution_i7fi9y_k$().get_wei43m_k$($this_arg2pScope.get_X_1mhr5b_k$()))]);
113
+ return Companion_instance.of([ensureNotNull(it.u1x().l2($this_arg2pScope.p1j()))]);
114
114
  };
115
115
  }
116
116
  function CausalitySolver$CausalityCheckCauseButFor$solve$lambda$lambda_1(this$0, $request, $effect) {
@@ -120,7 +120,7 @@
120
120
  }
121
121
  function CausalitySolver$CausalityCheckCauseButFor$solve$lambda($request, $cause, this$0, $effect) {
122
122
  return function ($this$arg2pScope) {
123
- var tmp = $request.solve($this$arg2pScope.stringInvoke('compl', $cause, [$this$arg2pScope.get_X_1mhr5b_k$()]));
123
+ var tmp = $request.solve($this$arg2pScope.stringInvoke('compl', $cause, [$this$arg2pScope.p1j()]));
124
124
  var tmp_0 = filter(tmp, CausalitySolver$CausalityCheckCauseButFor$solve$lambda$lambda);
125
125
  var tmp_1 = map(tmp_0, CausalitySolver$CausalityCheckCauseButFor$solve$lambda$lambda_0($this$arg2pScope));
126
126
  var tmp0_elvis_lhs = firstOrNull(map(tmp_1, CausalitySolver$CausalityCheckCauseButFor$solve$lambda$lambda_1(this$0, $request, $effect)));
@@ -148,35 +148,35 @@
148
148
  };
149
149
  }
150
150
  function equalTerms($this, a, b) {
151
- return Companion_getInstance_0().get_default_qtagd4_k$().match(parseTerm(Companion_instance_0, a), parseTerm(Companion_instance_0, b));
151
+ return Companion_getInstance_0().s1n().match(parseTerm(Companion_instance_0, a), parseTerm(Companion_instance_0, b));
152
152
  }
153
153
  function attackers($this, x, graph) {
154
154
  // Inline function 'kotlin.collections.filter' call
155
- var tmp0 = graph.attacks_1;
155
+ var tmp0 = graph.e4s_1;
156
156
  // Inline function 'kotlin.collections.filterTo' call
157
157
  var destination = ArrayList_init_$Create$();
158
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
159
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
160
- var element = _iterator__ex2g4s.next_20eer_k$();
161
- if (element.target_1.identifier_1 === x.identifier_1) {
162
- destination.add_utx5q5_k$(element);
158
+ var _iterator__ex2g4s = tmp0.n();
159
+ while (_iterator__ex2g4s.q()) {
160
+ var element = _iterator__ex2g4s.r();
161
+ if (element.y4r_1.n4r_1 === x.n4r_1) {
162
+ destination.l(element);
163
163
  }
164
164
  }
165
165
  // Inline function 'kotlin.collections.map' call
166
166
  // Inline function 'kotlin.collections.mapTo' call
167
167
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
168
- var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
169
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
170
- var item = _iterator__ex2g4s_0.next_20eer_k$();
168
+ var _iterator__ex2g4s_0 = destination.n();
169
+ while (_iterator__ex2g4s_0.q()) {
170
+ var item = _iterator__ex2g4s_0.r();
171
171
  // Inline function 'kotlin.collections.find' call
172
- var tmp0_0 = graph.labellings_1;
172
+ var tmp0_0 = graph.g4s_1;
173
173
  var tmp$ret$7;
174
174
  $l$block: {
175
175
  // Inline function 'kotlin.collections.firstOrNull' call
176
- var _iterator__ex2g4s_1 = tmp0_0.iterator_jk1svi_k$();
177
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
178
- var element_0 = _iterator__ex2g4s_1.next_20eer_k$();
179
- if (item.attacker_1.identifier_1 === element_0.argument_1.identifier_1) {
176
+ var _iterator__ex2g4s_1 = tmp0_0.n();
177
+ while (_iterator__ex2g4s_1.q()) {
178
+ var element_0 = _iterator__ex2g4s_1.r();
179
+ if (item.x4r_1.n4r_1 === element_0.b4s_1.n4r_1) {
180
180
  tmp$ret$7 = element_0;
181
181
  break $l$block;
182
182
  }
@@ -185,24 +185,24 @@
185
185
  }
186
186
  var tmp$ret$6 = tmp$ret$7;
187
187
  var tmp$ret$5 = ensureNotNull(tmp$ret$6);
188
- destination_0.add_utx5q5_k$(tmp$ret$5);
188
+ destination_0.l(tmp$ret$5);
189
189
  }
190
190
  return destination_0;
191
191
  }
192
192
  function supporters($this, x, graph, chain) {
193
193
  var tmp;
194
- if (chain.contains_aljjnj_k$(x.identifier_1)) {
194
+ if (chain.s(x.n4r_1)) {
195
195
  tmp = emptyList();
196
196
  } else {
197
197
  // Inline function 'kotlin.collections.filter' call
198
- var tmp0 = graph.labellings_1;
198
+ var tmp0 = graph.g4s_1;
199
199
  // Inline function 'kotlin.collections.filterTo' call
200
200
  var destination = ArrayList_init_$Create$();
201
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
202
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
203
- var element = _iterator__ex2g4s.next_20eer_k$();
204
- if (x.identifier_1 === element.argument_1.identifier_1 && element.label_1 === 'in') {
205
- destination.add_utx5q5_k$(element);
201
+ var _iterator__ex2g4s = tmp0.n();
202
+ while (_iterator__ex2g4s.q()) {
203
+ var element = _iterator__ex2g4s.r();
204
+ if (x.n4r_1 === element.b4s_1.n4r_1 && element.c4s_1 === 'in') {
205
+ destination.l(element);
206
206
  }
207
207
  }
208
208
  var tmp_0 = destination;
@@ -210,27 +210,27 @@
210
210
  var tmp0_0 = attackers($this, x, graph);
211
211
  // Inline function 'kotlin.collections.flatMapTo' call
212
212
  var destination_0 = ArrayList_init_$Create$();
213
- var _iterator__ex2g4s_0 = tmp0_0.iterator_jk1svi_k$();
214
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
215
- var element_0 = _iterator__ex2g4s_0.next_20eer_k$();
213
+ var _iterator__ex2g4s_0 = tmp0_0.n();
214
+ while (_iterator__ex2g4s_0.q()) {
215
+ var element_0 = _iterator__ex2g4s_0.r();
216
216
  // Inline function 'kotlin.collections.filter' call
217
- var tmp0_1 = attackers($this, element_0.argument_1, graph);
217
+ var tmp0_1 = attackers($this, element_0.b4s_1, graph);
218
218
  // Inline function 'kotlin.collections.filterTo' call
219
219
  var destination_1 = ArrayList_init_$Create$();
220
- var _iterator__ex2g4s_1 = tmp0_1.iterator_jk1svi_k$();
221
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
222
- var element_1 = _iterator__ex2g4s_1.next_20eer_k$();
223
- if (!(element_1.argument_1.identifier_1 === x.identifier_1)) {
224
- destination_1.add_utx5q5_k$(element_1);
220
+ var _iterator__ex2g4s_1 = tmp0_1.n();
221
+ while (_iterator__ex2g4s_1.q()) {
222
+ var element_1 = _iterator__ex2g4s_1.r();
223
+ if (!(element_1.b4s_1.n4r_1 === x.n4r_1)) {
224
+ destination_1.l(element_1);
225
225
  }
226
226
  }
227
227
  // Inline function 'kotlin.collections.flatMap' call
228
228
  // Inline function 'kotlin.collections.flatMapTo' call
229
229
  var destination_2 = ArrayList_init_$Create$();
230
- var _iterator__ex2g4s_2 = destination_1.iterator_jk1svi_k$();
231
- while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
232
- var element_2 = _iterator__ex2g4s_2.next_20eer_k$();
233
- var list = supporters($this, element_2.argument_1, graph, plus(chain, x.identifier_1));
230
+ var _iterator__ex2g4s_2 = destination_1.n();
231
+ while (_iterator__ex2g4s_2.q()) {
232
+ var element_2 = _iterator__ex2g4s_2.r();
233
+ var list = supporters($this, element_2.b4s_1, graph, plus(chain, x.n4r_1));
234
234
  addAll(destination_2, list);
235
235
  }
236
236
  var list_0 = destination_2;
@@ -242,37 +242,37 @@
242
242
  }
243
243
  function solveFresh($this, effect, kb) {
244
244
  var theory = kb.toStringAsProlog(true);
245
- var tmp0_safe_receiver = $this.graphCache_1.get_wei43m_k$(to(theory, effect));
245
+ var tmp0_safe_receiver = $this.p4v_1.l2(to(theory, effect));
246
246
  if (tmp0_safe_receiver == null)
247
247
  null;
248
248
  else {
249
249
  // Inline function 'kotlin.let' call
250
250
  return tmp0_safe_receiver;
251
251
  }
252
- if ($this.graphCache_1.get_size_woubt6_k$() >= 256) {
253
- $this.graphCache_1.clear_j9egeb_k$();
252
+ if ($this.p4v_1.t() >= 256) {
253
+ $this.p4v_1.n3();
254
254
  }
255
- $this.solver_1.resetStaticKb();
256
- $this.solver_1.loadStaticKb(parseTheoryWithOperators(Companion_instance_1, theory, $this.operators_1));
257
- var tmp = $this.solver_1.solve(parseStruct(Companion_getInstance_1(), 'answerQuery(' + effect + ')'));
255
+ $this.n4v_1.resetStaticKb();
256
+ $this.n4v_1.loadStaticKb(parseTheoryWithOperators(Companion_instance_1, theory, $this.o4v_1));
257
+ var tmp = $this.n4v_1.solve(parseStruct(Companion_getInstance_1(), 'answerQuery(' + effect + ')'));
258
258
  var tmp1_elvis_lhs = firstOrNull(map(tmp, CausalitySolver$solveFresh$lambda($this)));
259
259
  // Inline function 'kotlin.also' call
260
260
  var this_0 = tmp1_elvis_lhs == null ? new Graph(emptyList(), emptyList(), emptyList()) : tmp1_elvis_lhs;
261
- var tmp0 = $this.graphCache_1;
261
+ var tmp0 = $this.p4v_1;
262
262
  // Inline function 'kotlin.collections.set' call
263
263
  var key = to(theory, effect);
264
- tmp0.put_4fpzoq_k$(key, this_0);
264
+ tmp0.t4(key, this_0);
265
265
  return this_0;
266
266
  }
267
267
  function getSupports($this, graph, effect) {
268
- var tmp = asSequence(graph.labellings_1);
268
+ var tmp = asSequence(graph.g4s_1);
269
269
  var tmp_0 = filter(tmp, CausalitySolver$getSupports$lambda($this, effect));
270
270
  var tmp_1 = flatMap(tmp_0, CausalitySolver$getSupports$lambda_0($this, graph));
271
271
  return map(tmp_1, CausalitySolver$getSupports$lambda_1);
272
272
  }
273
273
  function checkBaseTheory($this, request, effect) {
274
274
  // Inline function 'kotlin.let' call
275
- var it = solveFresh($this, effect, request.context.get_staticKb_a01l1u_k$());
275
+ var it = solveFresh($this, effect, request.context.a1y());
276
276
  var tmp = getSupports($this, it, effect);
277
277
  return toList(map(tmp, CausalitySolver$checkBaseTheory$lambda));
278
278
  }
@@ -281,38 +281,38 @@
281
281
  var this_0 = intervention.toList();
282
282
  // Inline function 'kotlin.collections.mapTo' call
283
283
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
284
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
285
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
286
- var item = _iterator__ex2g4s.next_20eer_k$();
284
+ var _iterator__ex2g4s = this_0.n();
285
+ while (_iterator__ex2g4s.q()) {
286
+ var item = _iterator__ex2g4s.r();
287
287
  var tmp$ret$2 = Companion_getInstance_2().of(parseStruct(Companion_getInstance_1(), ':->(fk' + (item.hashCode() & 2147483647) + ', ' + item.toString() + ')'), []);
288
- destination.add_utx5q5_k$(tmp$ret$2);
288
+ destination.l(tmp$ret$2);
289
289
  }
290
290
  // Inline function 'kotlin.let' call
291
291
  // Inline function 'kotlin.let' call
292
- var naf = solveFresh($this, effect, request.context.get_staticKb_a01l1u_k$().plusTheory(Companion_instance_1.ofIterableWithDefaultUnificator(destination)));
292
+ var naf = solveFresh($this, effect, request.context.a1y().plusTheory(Companion_instance_1.ofIterableWithDefaultUnificator(destination)));
293
293
  // Inline function 'kotlin.collections.filter' call
294
- var tmp0 = naf.labellings_1;
294
+ var tmp0 = naf.g4s_1;
295
295
  // Inline function 'kotlin.collections.filterTo' call
296
296
  var destination_0 = ArrayList_init_$Create$();
297
- var _iterator__ex2g4s_0 = tmp0.iterator_jk1svi_k$();
298
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
299
- var element = _iterator__ex2g4s_0.next_20eer_k$();
300
- if (element.label_1 === 'out' || element.label_1 === 'und') {
301
- destination_0.add_utx5q5_k$(element);
297
+ var _iterator__ex2g4s_0 = tmp0.n();
298
+ while (_iterator__ex2g4s_0.q()) {
299
+ var element = _iterator__ex2g4s_0.r();
300
+ if (element.c4s_1 === 'out' || element.c4s_1 === 'und') {
301
+ destination_0.l(element);
302
302
  }
303
303
  }
304
304
  // Inline function 'kotlin.collections.filter' call
305
305
  // Inline function 'kotlin.collections.filterTo' call
306
306
  var destination_1 = ArrayList_init_$Create$();
307
- var _iterator__ex2g4s_1 = destination_0.iterator_jk1svi_k$();
308
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
309
- var element_0 = _iterator__ex2g4s_1.next_20eer_k$();
307
+ var _iterator__ex2g4s_1 = destination_0.n();
308
+ while (_iterator__ex2g4s_1.q()) {
309
+ var element_0 = _iterator__ex2g4s_1.r();
310
310
  var tmp$ret$13;
311
311
  $l$block_0: {
312
312
  // Inline function 'kotlin.collections.any' call
313
313
  var tmp;
314
314
  if (isInterface(support, Collection)) {
315
- tmp = support.isEmpty_y1axqb_k$();
315
+ tmp = support.i();
316
316
  } else {
317
317
  tmp = false;
318
318
  }
@@ -320,10 +320,10 @@
320
320
  tmp$ret$13 = false;
321
321
  break $l$block_0;
322
322
  }
323
- var _iterator__ex2g4s_2 = support.iterator_jk1svi_k$();
324
- while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
325
- var element_1 = _iterator__ex2g4s_2.next_20eer_k$();
326
- if (Companion_getInstance_0().get_default_qtagd4_k$().match(element_0.argument_1.termRepresentation_f75xll_k$(), element_1)) {
323
+ var _iterator__ex2g4s_2 = support.n();
324
+ while (_iterator__ex2g4s_2.q()) {
325
+ var element_1 = _iterator__ex2g4s_2.r();
326
+ if (Companion_getInstance_0().s1n().match(element_0.b4s_1.p4r(), element_1)) {
327
327
  tmp$ret$13 = true;
328
328
  break $l$block_0;
329
329
  }
@@ -331,24 +331,24 @@
331
331
  tmp$ret$13 = false;
332
332
  }
333
333
  if (tmp$ret$13) {
334
- destination_1.add_utx5q5_k$(element_0);
334
+ destination_1.l(element_0);
335
335
  }
336
336
  }
337
337
  // Inline function 'kotlin.collections.flatMap' call
338
338
  // Inline function 'kotlin.collections.flatMapTo' call
339
339
  var destination_2 = ArrayList_init_$Create$();
340
- var _iterator__ex2g4s_3 = destination_1.iterator_jk1svi_k$();
341
- while (_iterator__ex2g4s_3.hasNext_bitz1p_k$()) {
342
- var element_2 = _iterator__ex2g4s_3.next_20eer_k$();
340
+ var _iterator__ex2g4s_3 = destination_1.n();
341
+ while (_iterator__ex2g4s_3.q()) {
342
+ var element_2 = _iterator__ex2g4s_3.r();
343
343
  // Inline function 'kotlin.collections.filter' call
344
- var tmp0_0 = attackers($this, element_2.argument_1, naf);
344
+ var tmp0_0 = attackers($this, element_2.b4s_1, naf);
345
345
  // Inline function 'kotlin.collections.filterTo' call
346
346
  var destination_3 = ArrayList_init_$Create$();
347
- var _iterator__ex2g4s_4 = tmp0_0.iterator_jk1svi_k$();
348
- while (_iterator__ex2g4s_4.hasNext_bitz1p_k$()) {
349
- var element_3 = _iterator__ex2g4s_4.next_20eer_k$();
350
- if (element_3.label_1 === 'in') {
351
- destination_3.add_utx5q5_k$(element_3);
347
+ var _iterator__ex2g4s_4 = tmp0_0.n();
348
+ while (_iterator__ex2g4s_4.q()) {
349
+ var element_3 = _iterator__ex2g4s_4.r();
350
+ if (element_3.c4s_1 === 'in') {
351
+ destination_3.l(element_3);
352
352
  }
353
353
  }
354
354
  var list = destination_3;
@@ -357,11 +357,11 @@
357
357
  // Inline function 'kotlin.collections.map' call
358
358
  // Inline function 'kotlin.collections.mapTo' call
359
359
  var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_2, 10));
360
- var _iterator__ex2g4s_5 = destination_2.iterator_jk1svi_k$();
361
- while (_iterator__ex2g4s_5.hasNext_bitz1p_k$()) {
362
- var item_0 = _iterator__ex2g4s_5.next_20eer_k$();
363
- var tmp$ret$23 = item_0.argument_1;
364
- destination_4.add_utx5q5_k$(tmp$ret$23);
360
+ var _iterator__ex2g4s_5 = destination_2.n();
361
+ while (_iterator__ex2g4s_5.q()) {
362
+ var item_0 = _iterator__ex2g4s_5.r();
363
+ var tmp$ret$23 = item_0.b4s_1;
364
+ destination_4.l(tmp$ret$23);
365
365
  }
366
366
  return distinct(destination_4);
367
367
  }
@@ -371,23 +371,23 @@
371
371
  function getInterventions($this, request, cause, effect) {
372
372
  var tmp = Companion_instance_0;
373
373
  // Inline function 'kotlin.collections.map' call
374
- var this_0 = solveFresh($this, effect, request.context.get_staticKb_a01l1u_k$()).arguments_1;
374
+ var this_0 = solveFresh($this, effect, request.context.a1y()).d4s_1;
375
375
  // Inline function 'kotlin.collections.mapTo' call
376
376
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
377
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
378
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
379
- var item = _iterator__ex2g4s.next_20eer_k$();
380
- var tmp$ret$2 = item.topRule_1;
381
- destination.add_utx5q5_k$(tmp$ret$2);
377
+ var _iterator__ex2g4s = this_0.n();
378
+ while (_iterator__ex2g4s.q()) {
379
+ var item = _iterator__ex2g4s.r();
380
+ var tmp$ret$2 = item.g4r_1;
381
+ destination.l(tmp$ret$2);
382
382
  }
383
383
  // Inline function 'kotlin.collections.filter' call
384
384
  // Inline function 'kotlin.collections.filterTo' call
385
385
  var destination_0 = ArrayList_init_$Create$();
386
- var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
387
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
388
- var element = _iterator__ex2g4s_0.next_20eer_k$();
386
+ var _iterator__ex2g4s_0 = destination.n();
387
+ while (_iterator__ex2g4s_0.q()) {
388
+ var element = _iterator__ex2g4s_0.r();
389
389
  if (!(element === 'none')) {
390
- destination_0.add_utx5q5_k$(element);
390
+ destination_0.l(element);
391
391
  }
392
392
  }
393
393
  var rules = parseTerm(tmp, toString(toList_0(destination_0)));
@@ -395,14 +395,14 @@
395
395
  }
396
396
  function checkCausalityICAIL24($this, request, intervention, effect) {
397
397
  var supports = checkBaseTheory($this, request, effect);
398
- if (supports.isEmpty_y1axqb_k$())
398
+ if (supports.i())
399
399
  return false;
400
400
  var attackers = checkIntervention($this, request, intervention, supports, effect);
401
401
  var tmp;
402
402
  // Inline function 'kotlin.collections.isNotEmpty' call
403
- if (!attackers.isEmpty_y1axqb_k$()) {
403
+ if (!attackers.i()) {
404
404
  var tmp_0;
405
- if (intervention.get_estimatedLength_1oo9qx_k$() <= 1) {
405
+ if (intervention.wz() <= 1) {
406
406
  tmp_0 = true;
407
407
  } else {
408
408
  var tmp0 = getSubsets($this, request, intervention);
@@ -411,7 +411,7 @@
411
411
  // Inline function 'kotlin.collections.none' call
412
412
  var tmp_1;
413
413
  if (isInterface(tmp0, Collection)) {
414
- tmp_1 = tmp0.isEmpty_y1axqb_k$();
414
+ tmp_1 = tmp0.i();
415
415
  } else {
416
416
  tmp_1 = false;
417
417
  }
@@ -419,11 +419,11 @@
419
419
  tmp$ret$1 = true;
420
420
  break $l$block_0;
421
421
  }
422
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
423
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
424
- var element = _iterator__ex2g4s.next_20eer_k$();
422
+ var _iterator__ex2g4s = tmp0.n();
423
+ while (_iterator__ex2g4s.q()) {
424
+ var element = _iterator__ex2g4s.r();
425
425
  // Inline function 'kotlin.collections.isNotEmpty' call
426
- if (!checkIntervention($this, request, element, supports, effect).isEmpty_y1axqb_k$()) {
426
+ if (!checkIntervention($this, request, element, supports, effect).i()) {
427
427
  tmp$ret$1 = false;
428
428
  break $l$block_0;
429
429
  }
@@ -440,24 +440,24 @@
440
440
  }
441
441
  function checkCausalityICAIL25($this, request, intervention, effect) {
442
442
  var supports = checkBaseTheory($this, request, effect);
443
- if (supports.isEmpty_y1axqb_k$())
443
+ if (supports.i())
444
444
  return false;
445
445
  // Inline function 'kotlin.collections.map' call
446
446
  var this_0 = checkIntervention($this, request, intervention, supports, effect);
447
447
  // Inline function 'kotlin.collections.mapTo' call
448
448
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
449
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
450
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
451
- var item = _iterator__ex2g4s.next_20eer_k$();
452
- var tmp$ret$2 = item.termRepresentation_f75xll_k$();
453
- destination.add_utx5q5_k$(tmp$ret$2);
449
+ var _iterator__ex2g4s = this_0.n();
450
+ while (_iterator__ex2g4s.q()) {
451
+ var item = _iterator__ex2g4s.r();
452
+ var tmp$ret$2 = item.p4r();
453
+ destination.l(tmp$ret$2);
454
454
  }
455
455
  var attackers = destination;
456
456
  var tmp;
457
457
  // Inline function 'kotlin.collections.isNotEmpty' call
458
- if (!attackers.isEmpty_y1axqb_k$()) {
458
+ if (!attackers.i()) {
459
459
  var tmp_0;
460
- if (intervention.get_estimatedLength_1oo9qx_k$() <= 1) {
460
+ if (intervention.wz() <= 1) {
461
461
  tmp_0 = true;
462
462
  } else {
463
463
  var tmp0 = getSubsets($this, request, intervention);
@@ -466,7 +466,7 @@
466
466
  // Inline function 'kotlin.collections.none' call
467
467
  var tmp_1;
468
468
  if (isInterface(tmp0, Collection)) {
469
- tmp_1 = tmp0.isEmpty_y1axqb_k$();
469
+ tmp_1 = tmp0.i();
470
470
  } else {
471
471
  tmp_1 = false;
472
472
  }
@@ -474,18 +474,18 @@
474
474
  tmp$ret$4 = true;
475
475
  break $l$block_4;
476
476
  }
477
- var _iterator__ex2g4s_0 = tmp0.iterator_jk1svi_k$();
478
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
479
- var element = _iterator__ex2g4s_0.next_20eer_k$();
477
+ var _iterator__ex2g4s_0 = tmp0.n();
478
+ while (_iterator__ex2g4s_0.q()) {
479
+ var element = _iterator__ex2g4s_0.r();
480
480
  // Inline function 'kotlin.collections.map' call
481
481
  var this_1 = checkIntervention($this, request, element, supports, effect);
482
482
  // Inline function 'kotlin.collections.mapTo' call
483
483
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
484
- var _iterator__ex2g4s_1 = this_1.iterator_jk1svi_k$();
485
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
486
- var item_0 = _iterator__ex2g4s_1.next_20eer_k$();
487
- var tmp$ret$8 = item_0.termRepresentation_f75xll_k$();
488
- destination_0.add_utx5q5_k$(tmp$ret$8);
484
+ var _iterator__ex2g4s_1 = this_1.n();
485
+ while (_iterator__ex2g4s_1.q()) {
486
+ var item_0 = _iterator__ex2g4s_1.r();
487
+ var tmp$ret$8 = item_0.p4r();
488
+ destination_0.l(tmp$ret$8);
489
489
  }
490
490
  var n = destination_0;
491
491
  var tmp$ret$9;
@@ -493,7 +493,7 @@
493
493
  // Inline function 'kotlin.collections.all' call
494
494
  var tmp_2;
495
495
  if (isInterface(attackers, Collection)) {
496
- tmp_2 = attackers.isEmpty_y1axqb_k$();
496
+ tmp_2 = attackers.i();
497
497
  } else {
498
498
  tmp_2 = false;
499
499
  }
@@ -501,15 +501,15 @@
501
501
  tmp$ret$9 = true;
502
502
  break $l$block_3;
503
503
  }
504
- var _iterator__ex2g4s_2 = attackers.iterator_jk1svi_k$();
505
- while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
506
- var element_0 = _iterator__ex2g4s_2.next_20eer_k$();
504
+ var _iterator__ex2g4s_2 = attackers.n();
505
+ while (_iterator__ex2g4s_2.q()) {
506
+ var element_0 = _iterator__ex2g4s_2.r();
507
507
  var tmp$ret$11;
508
508
  $l$block_2: {
509
509
  // Inline function 'kotlin.collections.any' call
510
510
  var tmp_3;
511
511
  if (isInterface(n, Collection)) {
512
- tmp_3 = n.isEmpty_y1axqb_k$();
512
+ tmp_3 = n.i();
513
513
  } else {
514
514
  tmp_3 = false;
515
515
  }
@@ -517,10 +517,10 @@
517
517
  tmp$ret$11 = false;
518
518
  break $l$block_2;
519
519
  }
520
- var _iterator__ex2g4s_3 = n.iterator_jk1svi_k$();
521
- while (_iterator__ex2g4s_3.hasNext_bitz1p_k$()) {
522
- var element_1 = _iterator__ex2g4s_3.next_20eer_k$();
523
- if (Companion_getInstance_0().get_default_qtagd4_k$().match(element_0, element_1)) {
520
+ var _iterator__ex2g4s_3 = n.n();
521
+ while (_iterator__ex2g4s_3.q()) {
522
+ var element_1 = _iterator__ex2g4s_3.r();
523
+ if (Companion_getInstance_0().s1n().match(element_0, element_1)) {
524
524
  tmp$ret$11 = true;
525
525
  break $l$block_2;
526
526
  }
@@ -552,13 +552,13 @@
552
552
  function checkButFor($this, request, intervention, effect) {
553
553
  var tmp;
554
554
  // Inline function 'kotlin.let' call
555
- var tmp0 = solveFresh($this, effect, request.context.get_staticKb_a01l1u_k$()).labellings_1;
555
+ var tmp0 = solveFresh($this, effect, request.context.a1y()).g4s_1;
556
556
  var tmp$ret$2;
557
557
  $l$block_0: {
558
558
  // Inline function 'kotlin.collections.any' call
559
559
  var tmp_0;
560
560
  if (isInterface(tmp0, Collection)) {
561
- tmp_0 = tmp0.isEmpty_y1axqb_k$();
561
+ tmp_0 = tmp0.i();
562
562
  } else {
563
563
  tmp_0 = false;
564
564
  }
@@ -566,10 +566,10 @@
566
566
  tmp$ret$2 = false;
567
567
  break $l$block_0;
568
568
  }
569
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
570
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
571
- var element = _iterator__ex2g4s.next_20eer_k$();
572
- if (element.label_1 === 'in' && equalTerms($this, element.argument_1.conclusion_1, effect)) {
569
+ var _iterator__ex2g4s = tmp0.n();
570
+ while (_iterator__ex2g4s.q()) {
571
+ var element = _iterator__ex2g4s.r();
572
+ if (element.c4s_1 === 'in' && equalTerms($this, element.b4s_1.h4r_1, effect)) {
573
573
  tmp$ret$2 = true;
574
574
  break $l$block_0;
575
575
  }
@@ -581,21 +581,21 @@
581
581
  var this_0 = intervention.toList();
582
582
  // Inline function 'kotlin.collections.mapTo' call
583
583
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
584
- var _iterator__ex2g4s_0 = this_0.iterator_jk1svi_k$();
585
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
586
- var item = _iterator__ex2g4s_0.next_20eer_k$();
584
+ var _iterator__ex2g4s_0 = this_0.n();
585
+ while (_iterator__ex2g4s_0.q()) {
586
+ var item = _iterator__ex2g4s_0.r();
587
587
  var tmp$ret$6 = Companion_getInstance_2().of(parseStruct(Companion_getInstance_1(), ':->(fk' + new UInt(nextUInt(Default_getInstance())) + ', ' + item.toString() + ')'), []);
588
- destination.add_utx5q5_k$(tmp$ret$6);
588
+ destination.l(tmp$ret$6);
589
589
  }
590
590
  // Inline function 'kotlin.let' call
591
591
  // Inline function 'kotlin.let' call
592
- var tmp0_0 = solveFresh($this, effect, request.context.get_staticKb_a01l1u_k$().plusTheory(Companion_instance_1.ofIterableWithDefaultUnificator(destination))).labellings_1;
592
+ var tmp0_0 = solveFresh($this, effect, request.context.a1y().plusTheory(Companion_instance_1.ofIterableWithDefaultUnificator(destination))).g4s_1;
593
593
  var tmp$ret$11;
594
594
  $l$block_2: {
595
595
  // Inline function 'kotlin.collections.none' call
596
596
  var tmp_1;
597
597
  if (isInterface(tmp0_0, Collection)) {
598
- tmp_1 = tmp0_0.isEmpty_y1axqb_k$();
598
+ tmp_1 = tmp0_0.i();
599
599
  } else {
600
600
  tmp_1 = false;
601
601
  }
@@ -603,10 +603,10 @@
603
603
  tmp$ret$11 = true;
604
604
  break $l$block_2;
605
605
  }
606
- var _iterator__ex2g4s_1 = tmp0_0.iterator_jk1svi_k$();
607
- while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
608
- var element_0 = _iterator__ex2g4s_1.next_20eer_k$();
609
- if (element_0.label_1 === 'in' && equalTerms($this, element_0.argument_1.conclusion_1, effect)) {
606
+ var _iterator__ex2g4s_1 = tmp0_0.n();
607
+ while (_iterator__ex2g4s_1.q()) {
608
+ var element_0 = _iterator__ex2g4s_1.r();
609
+ if (element_0.c4s_1 === 'in' && equalTerms($this, element_0.b4s_1.h4r_1, effect)) {
610
610
  tmp$ret$11 = false;
611
611
  break $l$block_2;
612
612
  }
@@ -620,141 +620,141 @@
620
620
  return tmp;
621
621
  }
622
622
  function CausalityCheckCauseButFor($outer) {
623
- this.$this_1 = $outer;
624
- this.signature_1 = new Signature('but_for', 2);
623
+ this.t4v_1 = $outer;
624
+ this.s4v_1 = new Signature('but_for', 2);
625
625
  }
626
- protoOf(CausalityCheckCauseButFor).get_signature_q9pg5r_k$ = function () {
627
- return this.signature_1;
626
+ protoOf(CausalityCheckCauseButFor).k1x = function () {
627
+ return this.s4v_1;
628
628
  };
629
- protoOf(CausalityCheckCauseButFor).solve_ktvn8p_k$ = function (request) {
630
- var cause = request.arguments.get_c1px32_k$(0);
631
- var effect = this.$this_1.clean_unw6tt_k$(request.arguments.get_c1px32_k$(1).toString());
632
- return sequenceOf(request.replyWithCondition(arg2pScope(CausalitySolver$CausalityCheckCauseButFor$solve$lambda(request, cause, this.$this_1, effect)), VOID, []));
629
+ protoOf(CausalityCheckCauseButFor).l2m = function (request) {
630
+ var cause = request.arguments.u(0);
631
+ var effect = this.t4v_1.u4v(request.arguments.u(1).toString());
632
+ return sequenceOf(request.replyWithCondition(arg2pScope(CausalitySolver$CausalityCheckCauseButFor$solve$lambda(request, cause, this.t4v_1, effect)), VOID, []));
633
633
  };
634
634
  protoOf(CausalityCheckCauseButFor).solve = function (request) {
635
- return this.solve_ktvn8p_k$(request);
635
+ return this.l2m(request);
636
636
  };
637
637
  function CausalityCheckInterventionICAIL24($outer) {
638
- this.$this_1 = $outer;
639
- this.signature_1 = new Signature('ness_original_intervention', 2);
638
+ this.w4v_1 = $outer;
639
+ this.v4v_1 = new Signature('ness_original_intervention', 2);
640
640
  }
641
- protoOf(CausalityCheckInterventionICAIL24).get_signature_q9pg5r_k$ = function () {
642
- return this.signature_1;
641
+ protoOf(CausalityCheckInterventionICAIL24).k1x = function () {
642
+ return this.v4v_1;
643
643
  };
644
- protoOf(CausalityCheckInterventionICAIL24).solve_ktvn8p_k$ = function (request) {
645
- var intervention = request.arguments.get_c1px32_k$(0).castToList();
646
- var effect = this.$this_1.clean_unw6tt_k$(request.arguments.get_c1px32_k$(1).toString());
647
- return sequenceOf(request.replyWithCondition(checkCausalityICAIL24(this.$this_1, request, intervention, effect), VOID, []));
644
+ protoOf(CausalityCheckInterventionICAIL24).l2m = function (request) {
645
+ var intervention = request.arguments.u(0).castToList();
646
+ var effect = this.w4v_1.u4v(request.arguments.u(1).toString());
647
+ return sequenceOf(request.replyWithCondition(checkCausalityICAIL24(this.w4v_1, request, intervention, effect), VOID, []));
648
648
  };
649
649
  protoOf(CausalityCheckInterventionICAIL24).solve = function (request) {
650
- return this.solve_ktvn8p_k$(request);
650
+ return this.l2m(request);
651
651
  };
652
652
  function CausalityCheckCauseICAIL24($outer) {
653
- this.$this_1 = $outer;
654
- this.signature_1 = new Signature('ness_original', 3);
653
+ this.y4v_1 = $outer;
654
+ this.x4v_1 = new Signature('ness_original', 3);
655
655
  }
656
- protoOf(CausalityCheckCauseICAIL24).get_signature_q9pg5r_k$ = function () {
657
- return this.signature_1;
656
+ protoOf(CausalityCheckCauseICAIL24).k1x = function () {
657
+ return this.x4v_1;
658
658
  };
659
- protoOf(CausalityCheckCauseICAIL24).solve_ktvn8p_k$ = function (request) {
660
- var intervention = request.arguments.get_c1px32_k$(0);
661
- var cause = request.arguments.get_c1px32_k$(1);
662
- var effect = this.$this_1.clean_unw6tt_k$(request.arguments.get_c1px32_k$(2).toString());
659
+ protoOf(CausalityCheckCauseICAIL24).l2m = function (request) {
660
+ var intervention = request.arguments.u(0);
661
+ var cause = request.arguments.u(1);
662
+ var effect = this.y4v_1.u4v(request.arguments.u(2).toString());
663
663
  if (!isInterface(intervention, Var)) {
664
664
  throw Companion_instance_2.forGoal(request.context, request.signature, Expected_VARIABLE_getInstance(), intervention);
665
665
  }
666
- var tmp = getInterventions(this.$this_1, request, cause, effect);
667
- var tmp_0 = filter(tmp, CausalitySolver$CausalityCheckCauseICAIL24$solve$lambda(this.$this_1, request, effect));
666
+ var tmp = getInterventions(this.y4v_1, request, cause, effect);
667
+ var tmp_0 = filter(tmp, CausalitySolver$CausalityCheckCauseICAIL24$solve$lambda(this.y4v_1, request, effect));
668
668
  var tmp0_elvis_lhs = firstOrNull(map(tmp_0, CausalitySolver$CausalityCheckCauseICAIL24$solve$lambda_0(intervention)));
669
669
  return sequenceOf(request.replyWith(tmp0_elvis_lhs == null ? Companion_getInstance().failed() : tmp0_elvis_lhs, VOID, []));
670
670
  };
671
671
  protoOf(CausalityCheckCauseICAIL24).solve = function (request) {
672
- return this.solve_ktvn8p_k$(request);
672
+ return this.l2m(request);
673
673
  };
674
674
  function CausalityCheckInterventionICAIL25($outer) {
675
- this.$this_1 = $outer;
676
- this.signature_1 = new Signature('ness_intervention', 2);
675
+ this.a4w_1 = $outer;
676
+ this.z4v_1 = new Signature('ness_intervention', 2);
677
677
  }
678
- protoOf(CausalityCheckInterventionICAIL25).get_signature_q9pg5r_k$ = function () {
679
- return this.signature_1;
678
+ protoOf(CausalityCheckInterventionICAIL25).k1x = function () {
679
+ return this.z4v_1;
680
680
  };
681
- protoOf(CausalityCheckInterventionICAIL25).solve_ktvn8p_k$ = function (request) {
682
- var intervention = request.arguments.get_c1px32_k$(0).castToList();
683
- var effect = this.$this_1.clean_unw6tt_k$(request.arguments.get_c1px32_k$(1).toString());
684
- return sequenceOf(request.replyWithCondition(checkCausalityICAIL25(this.$this_1, request, intervention, effect), VOID, []));
681
+ protoOf(CausalityCheckInterventionICAIL25).l2m = function (request) {
682
+ var intervention = request.arguments.u(0).castToList();
683
+ var effect = this.a4w_1.u4v(request.arguments.u(1).toString());
684
+ return sequenceOf(request.replyWithCondition(checkCausalityICAIL25(this.a4w_1, request, intervention, effect), VOID, []));
685
685
  };
686
686
  protoOf(CausalityCheckInterventionICAIL25).solve = function (request) {
687
- return this.solve_ktvn8p_k$(request);
687
+ return this.l2m(request);
688
688
  };
689
689
  function CausalityCheckCauseICAIL25($outer) {
690
- this.$this_1 = $outer;
691
- this.signature_1 = new Signature('ness', 3);
690
+ this.c4w_1 = $outer;
691
+ this.b4w_1 = new Signature('ness', 3);
692
692
  }
693
- protoOf(CausalityCheckCauseICAIL25).get_signature_q9pg5r_k$ = function () {
694
- return this.signature_1;
693
+ protoOf(CausalityCheckCauseICAIL25).k1x = function () {
694
+ return this.b4w_1;
695
695
  };
696
- protoOf(CausalityCheckCauseICAIL25).solve_ktvn8p_k$ = function (request) {
697
- var intervention = request.arguments.get_c1px32_k$(0);
698
- var cause = request.arguments.get_c1px32_k$(1);
699
- var effect = this.$this_1.clean_unw6tt_k$(request.arguments.get_c1px32_k$(2).toString());
696
+ protoOf(CausalityCheckCauseICAIL25).l2m = function (request) {
697
+ var intervention = request.arguments.u(0);
698
+ var cause = request.arguments.u(1);
699
+ var effect = this.c4w_1.u4v(request.arguments.u(2).toString());
700
700
  if (!isInterface(intervention, Var)) {
701
701
  throw Companion_instance_2.forGoal(request.context, request.signature, Expected_VARIABLE_getInstance(), intervention);
702
702
  }
703
- var tmp = getInterventions(this.$this_1, request, cause, effect);
704
- var tmp_0 = filter(tmp, CausalitySolver$CausalityCheckCauseICAIL25$solve$lambda(this.$this_1, request, effect));
703
+ var tmp = getInterventions(this.c4w_1, request, cause, effect);
704
+ var tmp_0 = filter(tmp, CausalitySolver$CausalityCheckCauseICAIL25$solve$lambda(this.c4w_1, request, effect));
705
705
  var tmp0_elvis_lhs = firstOrNull(map(tmp_0, CausalitySolver$CausalityCheckCauseICAIL25$solve$lambda_0(intervention)));
706
706
  return sequenceOf(request.replyWith(tmp0_elvis_lhs == null ? Companion_getInstance().failed() : tmp0_elvis_lhs, VOID, []));
707
707
  };
708
708
  protoOf(CausalityCheckCauseICAIL25).solve = function (request) {
709
- return this.solve_ktvn8p_k$(request);
709
+ return this.l2m(request);
710
710
  };
711
711
  function CausalitySolver$solveFresh$lambda(this$0) {
712
712
  return function (it) {
713
- return mineActiveGraph(this$0.solver_1);
713
+ return mineActiveGraph(this$0.n4v_1);
714
714
  };
715
715
  }
716
716
  function CausalitySolver$getSupports$lambda(this$0, $effect) {
717
717
  return function (it) {
718
- return equalTerms(this$0, it.argument_1.conclusion_1, $effect);
718
+ return equalTerms(this$0, it.b4s_1.h4r_1, $effect);
719
719
  };
720
720
  }
721
721
  function CausalitySolver$getSupports$lambda_0(this$0, $graph) {
722
722
  return function (it) {
723
- return supporters(this$0, it.argument_1, $graph, emptyList());
723
+ return supporters(this$0, it.b4s_1, $graph, emptyList());
724
724
  };
725
725
  }
726
726
  function CausalitySolver$getSupports$lambda_1(it) {
727
- return it.argument_1;
727
+ return it.b4s_1;
728
728
  }
729
729
  function CausalitySolver$checkBaseTheory$lambda(a) {
730
- return a.termRepresentation_f75xll_k$();
730
+ return a.p4r();
731
731
  }
732
732
  function CausalitySolver$getSubsets$lambda$lambda(it) {
733
- return it.get_isYes_it760k_k$();
733
+ return it.e1z();
734
734
  }
735
735
  function CausalitySolver$getSubsets$lambda$lambda_0($this_arg2pScope) {
736
736
  return function (it) {
737
- return ensureNotNull(it.get_substitution_i7fi9y_k$().get_wei43m_k$($this_arg2pScope.get_X_1mhr5b_k$())).castToList();
737
+ return ensureNotNull(it.u1x().l2($this_arg2pScope.p1j())).castToList();
738
738
  };
739
739
  }
740
740
  function CausalitySolver$getSubsets$lambda($request, $intervention) {
741
741
  return function ($this$arg2pScope) {
742
- var tmp = $request.solve($this$arg2pScope.stringInvoke('proper_subsets', $intervention, [$this$arg2pScope.get_X_1mhr5b_k$()]));
742
+ var tmp = $request.solve($this$arg2pScope.stringInvoke('proper_subsets', $intervention, [$this$arg2pScope.p1j()]));
743
743
  var tmp_0 = filter(tmp, CausalitySolver$getSubsets$lambda$lambda);
744
744
  return toList(map(tmp_0, CausalitySolver$getSubsets$lambda$lambda_0($this$arg2pScope)));
745
745
  };
746
746
  }
747
747
  function CausalitySolver$getInterventions$lambda$lambda(it) {
748
- return it.get_isYes_it760k_k$();
748
+ return it.e1z();
749
749
  }
750
750
  function CausalitySolver$getInterventions$lambda$lambda_0($this_arg2pScope) {
751
751
  return function (it) {
752
- return ensureNotNull(it.get_substitution_i7fi9y_k$().get_wei43m_k$($this_arg2pScope.get_X_1mhr5b_k$())).castToList();
752
+ return ensureNotNull(it.u1x().l2($this_arg2pScope.p1j())).castToList();
753
753
  };
754
754
  }
755
755
  function CausalitySolver$getInterventions$lambda($request, $rules, $cause) {
756
756
  return function ($this$arg2pScope) {
757
- var tmp = $request.solve($this$arg2pScope.stringInvoke('generate_interventions', $rules, [$cause, $this$arg2pScope.get_X_1mhr5b_k$()]));
757
+ var tmp = $request.solve($this$arg2pScope.stringInvoke('generate_interventions', $rules, [$cause, $this$arg2pScope.p1j()]));
758
758
  var tmp_0 = filter(tmp, CausalitySolver$getInterventions$lambda$lambda);
759
759
  return map(tmp_0, CausalitySolver$getInterventions$lambda$lambda_0($this$arg2pScope));
760
760
  };
@@ -763,21 +763,21 @@
763
763
  var tmp = this;
764
764
  var tmp_0 = Arg2pSolverFactory_instance;
765
765
  var tmp0_graphExtensions = emptyList();
766
- tmp.solver_1 = tmp_0.default$default_dllkmc_k$(VOID, (new FlagsBuilder(VOID, VOID, VOID, VOID, VOID, 'grounded', VOID, VOID, VOID, VOID, tmp0_graphExtensions)).create_md4cuc_k$());
767
- this.operators_1 = Companion_instance_3.default$default_tu0rs4_k$().operators_rhxmbz_k$();
766
+ tmp.n4v_1 = tmp_0.p4d(VOID, (new FlagsBuilder(VOID, VOID, VOID, VOID, VOID, 'grounded', VOID, VOID, VOID, VOID, tmp0_graphExtensions)).b4e());
767
+ this.o4v_1 = Companion_instance_3.l4d().i4d();
768
768
  var tmp_1 = this;
769
769
  // Inline function 'kotlin.collections.mutableMapOf' call
770
- tmp_1.graphCache_1 = LinkedHashMap_init_$Create$();
771
- this.alias_1 = 'prolog.argumentation.causality.solver';
772
- this.theoryOperators_1 = Companion_instance_4.operators_rhxmbz_k$().plusOperatorSet(Companion_instance_5.operators_rhxmbz_k$()).plusOperatorSet(Companion_getInstance_3().DEFAULT);
770
+ tmp_1.p4v_1 = LinkedHashMap_init_$Create$();
771
+ this.q4v_1 = 'prolog.argumentation.causality.solver';
772
+ this.r4v_1 = Companion_instance_4.i4d().plusOperatorSet(Companion_instance_5.i4d()).plusOperatorSet(Companion_getInstance_3().DEFAULT);
773
773
  }
774
- protoOf(CausalitySolver).clean_unw6tt_k$ = function (string) {
774
+ protoOf(CausalitySolver).u4v = function (string) {
775
775
  return replace(replace(string, ' ', ''), "'", '');
776
776
  };
777
- protoOf(CausalitySolver).get_alias_iooo4n_k$ = function () {
778
- return this.alias_1;
777
+ protoOf(CausalitySolver).w2i = function () {
778
+ return this.q4v_1;
779
779
  };
780
- protoOf(CausalitySolver).get_baseContent_3c5zi9_k$ = function () {
780
+ protoOf(CausalitySolver).d4e = function () {
781
781
  // Inline function 'kotlin.let' call
782
782
  var primitives = listOf([new CausalityCheckInterventionICAIL24(this), new CausalityCheckCauseICAIL24(this), new CausalityCheckInterventionICAIL25(this), new CausalityCheckCauseICAIL25(this), new CausalityCheckCauseButFor(this)]);
783
783
  var tmp = Companion_getInstance_4();
@@ -785,27 +785,27 @@
785
785
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(primitives, 10)), 16);
786
786
  // Inline function 'kotlin.collections.associateByTo' call
787
787
  var destination = LinkedHashMap_init_$Create$_0(capacity);
788
- var _iterator__ex2g4s = primitives.iterator_jk1svi_k$();
789
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
790
- var element = _iterator__ex2g4s.next_20eer_k$();
791
- var tmp$ret$4 = element.get_signature_q9pg5r_k$();
792
- destination.put_4fpzoq_k$(tmp$ret$4, element);
788
+ var _iterator__ex2g4s = primitives.n();
789
+ while (_iterator__ex2g4s.q()) {
790
+ var element = _iterator__ex2g4s.r();
791
+ var tmp$ret$4 = element.k1x();
792
+ destination.t4(tmp$ret$4, element);
793
793
  }
794
- return tmp.of(this.alias_1, destination, parseTheoryWithOperators(Companion_instance_1, 'subsets([], []).\nsubsets([H|T], [H|NT]) :- subsets(T, NT).\nsubsets([_|T], NT) :- subsets(T, NT).\n\nproper_subsets(L, S) :-\n subsets(L, S),\n S \\= [],\n S \\= L.\n\ngenerate_interventions(_, S, [CS]) :-\n compl(S, CS).\ngenerate_interventions(_, S, [undercut(S)]) :-\n S \\= -_.\ngenerate_interventions(R, S, SUP) :-\n parser:::convertAllRules(_),\n compl(S, CS),\n unused_premises(R, UP), !,\n subsets(UP, SUP),\n member(CS, SUP),\n SUP \\= [].\n\ncompl(-X, X) :- !.\ncompl(X, -X).\n\nunused_premises(R, UP) :-\n findall(P, (parser::rule(Id, P, _), \\+ member(Id, R), ground(Id)), RR),\n utils::appendLists(RR, UP).\n', this.theoryOperators_1));
794
+ return tmp.of(this.q4v_1, destination, parseTheoryWithOperators(Companion_instance_1, 'subsets([], []).\nsubsets([H|T], [H|NT]) :- subsets(T, NT).\nsubsets([_|T], NT) :- subsets(T, NT).\n\nproper_subsets(L, S) :-\n subsets(L, S),\n S \\= [],\n S \\= L.\n\ngenerate_interventions(_, S, [CS]) :-\n compl(S, CS).\ngenerate_interventions(_, S, [undercut(S)]) :-\n S \\= -_.\ngenerate_interventions(R, S, SUP) :-\n parser:::convertAllRules(_),\n compl(S, CS),\n unused_premises(R, UP), !,\n subsets(UP, SUP),\n member(CS, SUP),\n SUP \\= [].\n\ncompl(-X, X) :- !.\ncompl(X, -X).\n\nunused_premises(R, UP) :-\n findall(P, (parser::rule(Id, P, _), \\+ member(Id, R), ground(Id)), RR),\n utils::appendLists(RR, UP).\n', this.r4v_1));
795
795
  };
796
- protoOf(CausalitySolver).identifier_qrkms7_k$ = function () {
796
+ protoOf(CausalitySolver).e4e = function () {
797
797
  return 'causality';
798
798
  };
799
- protoOf(CausalitySolver).get_theoryOperators_6jbeo1_k$ = function () {
800
- return this.theoryOperators_1;
799
+ protoOf(CausalitySolver).n4d = function () {
800
+ return this.r4v_1;
801
801
  };
802
802
  //region block: post-declaration
803
- protoOf(CausalityCheckCauseButFor).get_help_won7nu_k$ = get_help;
804
- protoOf(CausalityCheckInterventionICAIL24).get_help_won7nu_k$ = get_help;
805
- protoOf(CausalityCheckCauseICAIL24).get_help_won7nu_k$ = get_help;
806
- protoOf(CausalityCheckInterventionICAIL25).get_help_won7nu_k$ = get_help;
807
- protoOf(CausalityCheckCauseICAIL25).get_help_won7nu_k$ = get_help;
808
- protoOf(CausalitySolver).content_fqilq1_k$ = content;
803
+ protoOf(CausalityCheckCauseButFor).n1x = get_help;
804
+ protoOf(CausalityCheckInterventionICAIL24).n1x = get_help;
805
+ protoOf(CausalityCheckCauseICAIL24).n1x = get_help;
806
+ protoOf(CausalityCheckInterventionICAIL25).n1x = get_help;
807
+ protoOf(CausalityCheckCauseICAIL25).n1x = get_help;
808
+ protoOf(CausalitySolver).m4d = content;
809
809
  //endregion
810
810
  //region block: exports
811
811
  _.$_$ = _.$_$ || {};