eyelang 1.3.8 → 1.4.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 (219) hide show
  1. package/README.md +19 -14
  2. package/SPEC.md +4 -4
  3. package/conformance/expected/core/001_fact_query.out +0 -8
  4. package/conformance/expected/core/002_rule_recursion.out +0 -41
  5. package/conformance/expected/core/003_terms_and_readback.out +0 -104
  6. package/conformance/expected/core/004_conjunction_and_parentheses.out +0 -25
  7. package/conformance/expected/core/005_list_deconstruction.out +0 -32
  8. package/conformance/expected/core/006_comma_formula_data.out +0 -15
  9. package/conformance/expected/core/007_anonymous_variables.out +0 -19
  10. package/conformance/expected/core/008_graphic_atoms.out +0 -24
  11. package/conformance/expected/core/009_comments_and_whitespace.out +0 -30
  12. package/conformance/expected/core/010_variable_scope_and_reuse.out +0 -52
  13. package/conformance/expected/core/011_predicate_arity.out +0 -30
  14. package/conformance/expected/core/012_nested_compound_unification.out +0 -30
  15. package/conformance/expected/core/013_multiple_clauses_order.out +0 -44
  16. package/conformance/expected/core/014_failure_filters_answers.out +0 -19
  17. package/conformance/expected/core/015_improper_list_unification.out +0 -45
  18. package/conformance/expected/core/016_zero_arity_compound.out +0 -15
  19. package/conformance/expected/core/017_three_step_recursion.out +0 -99
  20. package/conformance/expected/core/018_quoted_atom_readback.out +0 -45
  21. package/conformance/expected/core/019_parenthesized_three_conjuncts.out +0 -36
  22. package/conformance/expected/core/020_nested_list_terms.out +0 -30
  23. package/conformance/expected/extension/001_default_derived_output.out +0 -56
  24. package/conformance/expected/extension/002_materialize_focus.out +0 -22
  25. package/conformance/expected/extension/003_arithmetic_and_comparison.out +0 -148
  26. package/conformance/expected/extension/004_strings_and_atoms.out +0 -58
  27. package/conformance/expected/extension/005_lists_aggregation_ordering.out +0 -135
  28. package/conformance/expected/extension/006_formula_terms.out +0 -76
  29. package/conformance/expected/extension/007_negation_once_generators.out +0 -40
  30. package/conformance/expected/extension/008_equality_and_inequality.out +0 -58
  31. package/conformance/expected/extension/009_list_relations.out +0 -73
  32. package/conformance/expected/extension/010_append_splits.out +0 -45
  33. package/conformance/expected/extension/011_matching_and_comparison.out +0 -70
  34. package/conformance/expected/extension/012_memoize_declaration.out +0 -41
  35. package/conformance/expected/extension/013_numeric_functions.out +0 -105
  36. package/conformance/expected/extension/014_between_enumeration.out +0 -45
  37. package/conformance/expected/extension/015_smallest_divisor.out +0 -15
  38. package/conformance/expected/extension/016_negation_filter.out +0 -38
  39. package/conformance/expected/extension/017_once_user_predicate.out +0 -21
  40. package/conformance/expected/extension/018_findall_user_goal.out +0 -15
  41. package/conformance/expected/extension/019_sort_deduplicates_atoms.out +0 -15
  42. package/conformance/expected/extension/020_append_bound_prefix_suffix.out +0 -30
  43. package/conformance/expected/extension/021_nth0_index_generation.out +0 -15
  44. package/conformance/expected/extension/022_set_nth0_edges.out +0 -30
  45. package/conformance/expected/extension/023_select_duplicate_occurrences.out +0 -30
  46. package/conformance/expected/extension/024_not_member_filter.out +0 -19
  47. package/conformance/expected/extension/025_is_list_filter.out +0 -19
  48. package/conformance/expected/extension/026_nested_formula_terms.out +0 -114
  49. package/conformance/expected/extension/027_materialize_excludes_source_fact.out +0 -14
  50. package/conformance/expected/extension/028_numeric_and_lexical_comparison.out +0 -42
  51. package/conformance/expected/extension/029_string_matching_filters.out +0 -38
  52. package/conformance/expected/extension/030_string_and_atom_concat.out +0 -30
  53. package/conformance/expected/extension/031_countall_empty_and_nonempty.out +0 -18
  54. package/conformance/expected/extension/032_sumall_numeric_template.out +0 -8
  55. package/conformance/expected/extension/033_aggregate_min_template.out +0 -8
  56. package/conformance/expected/extension/034_aggregate_max_compound_key.out +0 -8
  57. package/examples/output/access-control-policy.pl +0 -156
  58. package/examples/output/ackermann.pl +0 -1240
  59. package/examples/output/age.pl +0 -69
  60. package/examples/output/aliases-and-namespaces.pl +0 -73
  61. package/examples/output/alignment-demo.pl +0 -862
  62. package/examples/output/allen-interval-calculus.pl +0 -9169
  63. package/examples/output/ancestor.pl +0 -134
  64. package/examples/output/animal.pl +0 -64
  65. package/examples/output/annotation.pl +0 -76
  66. package/examples/output/backward.pl +0 -21
  67. package/examples/output/basic-monadic.pl +0 -22770
  68. package/examples/output/bayes-diagnosis.pl +0 -195
  69. package/examples/output/bayes-therapy.pl +0 -34873
  70. package/examples/output/beam-deflection.pl +0 -222
  71. package/examples/output/blocks-world-planning.pl +0 -1339
  72. package/examples/output/bmi.pl +0 -1903
  73. package/examples/output/braking-safety-worlds.pl +0 -2452
  74. package/examples/output/buck-converter-design.pl +0 -663
  75. package/examples/output/cache-performance.pl +0 -306
  76. package/examples/output/canary-release.pl +0 -167
  77. package/examples/output/cat-koko.pl +0 -83
  78. package/examples/output/clinical-trial-screening.pl +0 -380
  79. package/examples/output/collatz-1000.pl +0 -19000
  80. package/examples/output/combinatorics-findall-sort.pl +0 -56
  81. package/examples/output/competitive-enzyme-kinetics.pl +0 -563
  82. package/examples/output/complex-matrix-stability.pl +0 -250
  83. package/examples/output/complex.pl +0 -653
  84. package/examples/output/composition-of-injective-functions-is-injective.pl +0 -256
  85. package/examples/output/context-association.pl +0 -75
  86. package/examples/output/control-system.pl +0 -328
  87. package/examples/output/cryptarithmetic-send-more-money.pl +0 -168
  88. package/examples/output/cyclic-path.pl +0 -504
  89. package/examples/output/d3-group.pl +0 -56
  90. package/examples/output/dairy-energy-balance.pl +0 -1034
  91. package/examples/output/data-negotiation.pl +0 -75
  92. package/examples/output/deep-taxonomy-10.pl +0 -1235
  93. package/examples/output/deep-taxonomy-100.pl +0 -1235
  94. package/examples/output/deep-taxonomy-1000.pl +0 -1235
  95. package/examples/output/deep-taxonomy-10000.pl +0 -2915
  96. package/examples/output/deep-taxonomy-100000.pl +0 -20240
  97. package/examples/output/delfour.pl +0 -2829
  98. package/examples/output/dense-hamiltonian-cycle.pl +0 -207
  99. package/examples/output/deontic-logic.pl +0 -105
  100. package/examples/output/derived-rule.pl +0 -41
  101. package/examples/output/diamond-property.pl +0 -303
  102. package/examples/output/dijkstra-findall-sort.pl +0 -484
  103. package/examples/output/dijkstra-risk-path.pl +0 -4841
  104. package/examples/output/dijkstra.pl +0 -1336
  105. package/examples/output/dining-philosophers.pl +0 -21646
  106. package/examples/output/dog.pl +0 -30
  107. package/examples/output/drone-corridor-planner.pl +0 -2466
  108. package/examples/output/easter-computus.pl +0 -5690
  109. package/examples/output/electrical-rc-filter.pl +0 -102
  110. package/examples/output/epidemic-policy.pl +0 -760
  111. package/examples/output/equivalence-classes-overlap-implies-same-class.pl +0 -1080
  112. package/examples/output/eulerian-path.pl +0 -383
  113. package/examples/output/ev-range-worlds.pl +0 -2294
  114. package/examples/output/exact-cover-sudoku.pl +0 -396
  115. package/examples/output/existential-rule.pl +0 -38
  116. package/examples/output/exoplanet-validation-worlds.pl +0 -1904
  117. package/examples/output/expression-eval.pl +0 -104
  118. package/examples/output/family-cousins.pl +0 -3852
  119. package/examples/output/fastpow.pl +0 -1064
  120. package/examples/output/fft8-numeric.pl +0 -2556
  121. package/examples/output/fibonacci.pl +0 -2060
  122. package/examples/output/field-nitrogen-balance.pl +0 -1452
  123. package/examples/output/floating-point.pl +0 -151
  124. package/examples/output/four-color-map.pl +0 -191
  125. package/examples/output/fundamental-theorem-arithmetic.pl +0 -1610
  126. package/examples/output/gcd-bezout-identity.pl +0 -1842
  127. package/examples/output/gd-step-certified.pl +0 -32354
  128. package/examples/output/gdpr-compliance.pl +0 -193
  129. package/examples/output/goldbach-1000.pl +0 -17490
  130. package/examples/output/good-cobbler.pl +0 -15
  131. package/examples/output/gps.pl +0 -4166
  132. package/examples/output/graph-reachability.pl +0 -148
  133. package/examples/output/gray-code-counter.pl +0 -835
  134. package/examples/output/greatest-lower-bound-uniqueness.pl +0 -148
  135. package/examples/output/group-inverse-uniqueness.pl +0 -82
  136. package/examples/output/hamiltonian-cycle.pl +0 -102
  137. package/examples/output/hamiltonian-path.pl +0 -14157
  138. package/examples/output/hamming-code.pl +0 -2665
  139. package/examples/output/hanoi.pl +0 -184
  140. package/examples/output/heat-loss.pl +0 -223
  141. package/examples/output/heron-theorem.pl +0 -253
  142. package/examples/output/ideal-gas-law.pl +0 -148
  143. package/examples/output/illegitimate-reasoning.pl +0 -530
  144. package/examples/output/kaprekar.pl +0 -208
  145. package/examples/output/law-of-cosines.pl +0 -165
  146. package/examples/output/least-squares-regression.pl +0 -1447
  147. package/examples/output/list-collection.pl +0 -49
  148. package/examples/output/lldm.pl +0 -17298
  149. package/examples/output/manufacturing-quality-control.pl +0 -562
  150. package/examples/output/matrix.pl +0 -206
  151. package/examples/output/microgrid-dispatch.pl +0 -787
  152. package/examples/output/monkey-bananas.pl +0 -575
  153. package/examples/output/n-queens.pl +0 -2046
  154. package/examples/output/network-sla.pl +0 -282
  155. package/examples/output/newton-raphson.pl +0 -756
  156. package/examples/output/nixon-diamond.pl +0 -176
  157. package/examples/output/odrl-dpv-healthcare-risk-ranked.pl +0 -6148
  158. package/examples/output/odrl-dpv-risk-ranked.pl +0 -12961
  159. package/examples/output/orbital-transfer-design.pl +0 -961
  160. package/examples/output/path-discovery.pl +0 -333
  161. package/examples/output/peano-arithmetic.pl +0 -1432
  162. package/examples/output/peasant.pl +0 -190
  163. package/examples/output/pendulum-period.pl +0 -271
  164. package/examples/output/polynomial.pl +0 -7952
  165. package/examples/output/project-portfolio-optimization.pl +0 -93
  166. package/examples/output/proof-contrapositive.pl +0 -75
  167. package/examples/output/quadratic-formula.pl +0 -454
  168. package/examples/output/quine-mccluskey.pl +0 -188
  169. package/examples/output/radioactive-decay.pl +0 -299
  170. package/examples/output/sat-dpll.pl +0 -121
  171. package/examples/output/security-incident-correlation.pl +0 -267
  172. package/examples/output/service-impact.pl +0 -457
  173. package/examples/output/sieve.pl +0 -19
  174. package/examples/output/skolem-functions.pl +0 -264
  175. package/examples/output/socket-age.pl +0 -31
  176. package/examples/output/socket-family.pl +0 -56
  177. package/examples/output/socrates.pl +0 -36
  178. package/examples/output/statistics-summary.pl +0 -741
  179. package/examples/output/sudoku.pl +0 -38
  180. package/examples/output/superdense-coding.pl +0 -476
  181. package/examples/output/traveling-salesman.pl +0 -284
  182. package/examples/output/turing.pl +0 -2144
  183. package/examples/output/vector-similarity.pl +0 -421
  184. package/examples/output/witch.pl +0 -209
  185. package/examples/output/wolf-goat-cabbage.pl +0 -900
  186. package/examples/output/zebra.pl +0 -401
  187. package/examples/proof/age.pl +71 -0
  188. package/examples/proof/aliases-and-namespaces.pl +78 -0
  189. package/examples/proof/ancestor.pl +140 -0
  190. package/examples/proof/animal.pl +68 -0
  191. package/examples/proof/annotation.pl +80 -0
  192. package/examples/proof/backward.pl +22 -0
  193. package/examples/proof/cat-koko.pl +86 -0
  194. package/examples/proof/data-negotiation.pl +76 -0
  195. package/examples/proof/derived-rule.pl +43 -0
  196. package/examples/proof/dog.pl +31 -0
  197. package/examples/proof/electrical-rc-filter.pl +105 -0
  198. package/examples/proof/existential-rule.pl +40 -0
  199. package/examples/proof/floating-point.pl +160 -0
  200. package/examples/proof/good-cobbler.pl +16 -0
  201. package/examples/proof/group-inverse-uniqueness.pl +84 -0
  202. package/examples/proof/list-collection.pl +52 -0
  203. package/examples/proof/proof-contrapositive.pl +78 -0
  204. package/examples/proof/socket-age.pl +32 -0
  205. package/examples/proof/socket-family.pl +59 -0
  206. package/examples/proof/socrates.pl +38 -0
  207. package/examples/socket-age.pl +4 -4
  208. package/examples/socket-family.pl +4 -4
  209. package/package.json +1 -1
  210. package/playground-worker.mjs +4 -4
  211. package/playground.html +15 -15
  212. package/src/cli.js +10 -10
  213. package/src/index.js +3 -2
  214. package/src/parser.js +130 -1
  215. package/src/program.js +33 -27
  216. package/test/run-all.js +0 -0
  217. package/test/run-conformance.js +0 -0
  218. package/test/run-examples.js +38 -8
  219. package/test/run-regression.js +29 -28
@@ -1,58 +1,2 @@
1
1
  combinations(combinations_5_choose_3, [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]]).
2
- why(
3
- combinations(combinations_5_choose_3, [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]]),
4
- proof(
5
- goal(combinations(combinations_5_choose_3, [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])),
6
- by(rule("combinatorics-findall-sort.pl", clause(9))),
7
- bindings([binding("Unique", [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])]),
8
- uses([
9
- proof(
10
- goal(unique_combinations(3, [1, 2, 3, 4, 5], [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])),
11
- by(rule("combinatorics-findall-sort.pl", clause(8))),
12
- bindings([binding("K", 3), binding("Items", [1, 2, 3, 4, 5]), binding("Unique", [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]]), binding("All", [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]])]),
13
- uses([
14
- proof(
15
- goal(findall(C, combination(3, [1, 2, 3, 4, 5], C), [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]])),
16
- by(builtin(findall, 3))
17
- ),
18
- proof(
19
- goal(sort([[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]], [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])),
20
- by(builtin(sort, 2))
21
- )
22
- ])
23
- )
24
- ])
25
- )
26
- ).
27
-
28
2
  count(combinations_5_choose_3, 10).
29
- why(
30
- count(combinations_5_choose_3, 10),
31
- proof(
32
- goal(count(combinations_5_choose_3, 10)),
33
- by(rule("combinatorics-findall-sort.pl", clause(10))),
34
- bindings([binding("Count", 10), binding("Unique", [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])]),
35
- uses([
36
- proof(
37
- goal(unique_combinations(3, [1, 2, 3, 4, 5], [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])),
38
- by(rule("combinatorics-findall-sort.pl", clause(8))),
39
- bindings([binding("K", 3), binding("Items", [1, 2, 3, 4, 5]), binding("Unique", [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]]), binding("All", [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]])]),
40
- uses([
41
- proof(
42
- goal(findall(C, combination(3, [1, 2, 3, 4, 5], C), [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]])),
43
- by(builtin(findall, 3))
44
- ),
45
- proof(
46
- goal(sort([[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 2, 3], [1, 3, 4], [1, 3, 5], [1, 2, 3], [2, 3, 4], [2, 3, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 2, 4], [1, 3, 4], [1, 4, 5], [1, 2, 4], [2, 3, 4], [2, 4, 5], [1, 3, 4], [2, 3, 4], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5], [1, 2, 5], [1, 3, 5], [1, 4, 5], [1, 2, 5], [2, 3, 5], [2, 4, 5], [1, 3, 5], [2, 3, 5], [3, 4, 5], [1, 4, 5], [2, 4, 5], [3, 4, 5]], [[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]])),
47
- by(builtin(sort, 2))
48
- )
49
- ])
50
- ),
51
- proof(
52
- goal(length([[1, 2, 3], [1, 2, 4], [1, 2, 5], [1, 3, 4], [1, 3, 5], [1, 4, 5], [2, 3, 4], [2, 3, 5], [2, 4, 5], [3, 4, 5]], 10)),
53
- by(builtin(length, 2))
54
- )
55
- ])
56
- )
57
- ).
58
-
@@ -1,569 +1,6 @@
1
1
  effectiveKm_uM(assay1, 90.0).
2
- why(
3
- effectiveKm_uM(assay1, 90.0),
4
- proof(
5
- goal(effectiveKm_uM(assay1, 90.0)),
6
- by(rule("competitive-enzyme-kinetics.pl", clause(19))),
7
- bindings([binding("Assay", assay1), binding("EffectiveKm", 90.0)]),
8
- uses([
9
- proof(
10
- goal(effective_km(assay1, 90.0)),
11
- by(rule("competitive-enzyme-kinetics.pl", clause(14))),
12
- bindings([binding("Assay", assay1), binding("EffectiveKm", 90.0), binding("Km", 30.0), binding("Multiplier", 3.0)]),
13
- uses([
14
- proof(
15
- goal(assay(assay1, km_uM, 30.0)),
16
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
17
- ),
18
- proof(
19
- goal(competitive_multiplier(assay1, 3.0)),
20
- by(rule("competitive-enzyme-kinetics.pl", clause(13))),
21
- bindings([binding("Assay", assay1), binding("Multiplier", 3.0), binding("Inhibitor", 10.0), binding("Ki", 5.0), binding("Ratio", 2.0)]),
22
- uses([
23
- proof(
24
- goal(assay(assay1, inhibitor_uM, 10.0)),
25
- by(fact("competitive-enzyme-kinetics.pl", clause(10)))
26
- ),
27
- proof(
28
- goal(assay(assay1, ki_uM, 5.0)),
29
- by(fact("competitive-enzyme-kinetics.pl", clause(11)))
30
- ),
31
- proof(
32
- goal(div(10.0, 5.0, 2.0)),
33
- by(builtin(div, 3))
34
- ),
35
- proof(
36
- goal(add(1.0, 2.0, 3.0)),
37
- by(builtin(add, 3))
38
- )
39
- ])
40
- ),
41
- proof(
42
- goal(mul(30.0, 3.0, 90.0)),
43
- by(builtin(mul, 3))
44
- )
45
- ])
46
- )
47
- ])
48
- )
49
- ).
50
-
51
2
  uninhibitedRate_uM_s(assay1, 75.0).
52
- why(
53
- uninhibitedRate_uM_s(assay1, 75.0),
54
- proof(
55
- goal(uninhibitedRate_uM_s(assay1, 75.0)),
56
- by(rule("competitive-enzyme-kinetics.pl", clause(20))),
57
- bindings([binding("Assay", assay1), binding("Rate", 75.0)]),
58
- uses([
59
- proof(
60
- goal(uninhibited_rate(assay1, 75.0)),
61
- by(rule("competitive-enzyme-kinetics.pl", clause(15))),
62
- bindings([binding("Assay", assay1), binding("Rate", 75.0), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("Km", 30.0), binding("Numerator", 6000.0), binding("Denominator", 80.0)]),
63
- uses([
64
- proof(
65
- goal(assay(assay1, vmax_uM_s, 120.0)),
66
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
67
- ),
68
- proof(
69
- goal(assay(assay1, substrate_uM, 50.0)),
70
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
71
- ),
72
- proof(
73
- goal(assay(assay1, km_uM, 30.0)),
74
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
75
- ),
76
- proof(
77
- goal(mul(120.0, 50.0, 6000.0)),
78
- by(builtin(mul, 3))
79
- ),
80
- proof(
81
- goal(add(30.0, 50.0, 80.0)),
82
- by(builtin(add, 3))
83
- ),
84
- proof(
85
- goal(div(6000.0, 80.0, 75.0)),
86
- by(builtin(div, 3))
87
- )
88
- ])
89
- )
90
- ])
91
- )
92
- ).
93
-
94
3
  inhibitedRate_uM_s(assay1, 42.857142857142854).
95
- why(
96
- inhibitedRate_uM_s(assay1, 42.857142857142854),
97
- proof(
98
- goal(inhibitedRate_uM_s(assay1, 42.857142857142854)),
99
- by(rule("competitive-enzyme-kinetics.pl", clause(21))),
100
- bindings([binding("Assay", assay1), binding("Rate", 42.857142857142854)]),
101
- uses([
102
- proof(
103
- goal(inhibited_rate(assay1, 42.857142857142854)),
104
- by(rule("competitive-enzyme-kinetics.pl", clause(16))),
105
- bindings([binding("Assay", assay1), binding("Rate", 42.857142857142854), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("EffectiveKm", 90.0), binding("Numerator", 6000.0), binding("Denominator", 140.0)]),
106
- uses([
107
- proof(
108
- goal(assay(assay1, vmax_uM_s, 120.0)),
109
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
110
- ),
111
- proof(
112
- goal(assay(assay1, substrate_uM, 50.0)),
113
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
114
- ),
115
- proof(
116
- goal(effective_km(assay1, 90.0)),
117
- by(rule("competitive-enzyme-kinetics.pl", clause(14))),
118
- bindings([binding("Assay", assay1), binding("EffectiveKm", 90.0), binding("Km", 30.0), binding("Multiplier", 3.0)]),
119
- uses([
120
- proof(
121
- goal(assay(assay1, km_uM, 30.0)),
122
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
123
- ),
124
- proof(
125
- goal(competitive_multiplier(assay1, 3.0)),
126
- by(rule("competitive-enzyme-kinetics.pl", clause(13))),
127
- bindings([binding("Assay", assay1), binding("Multiplier", 3.0), binding("Inhibitor", 10.0), binding("Ki", 5.0), binding("Ratio", 2.0)]),
128
- uses([
129
- proof(
130
- goal(assay(assay1, inhibitor_uM, 10.0)),
131
- by(fact("competitive-enzyme-kinetics.pl", clause(10)))
132
- ),
133
- proof(
134
- goal(assay(assay1, ki_uM, 5.0)),
135
- by(fact("competitive-enzyme-kinetics.pl", clause(11)))
136
- ),
137
- proof(
138
- goal(div(10.0, 5.0, 2.0)),
139
- by(builtin(div, 3))
140
- ),
141
- proof(
142
- goal(add(1.0, 2.0, 3.0)),
143
- by(builtin(add, 3))
144
- )
145
- ])
146
- ),
147
- proof(
148
- goal(mul(30.0, 3.0, 90.0)),
149
- by(builtin(mul, 3))
150
- )
151
- ])
152
- ),
153
- proof(
154
- goal(mul(120.0, 50.0, 6000.0)),
155
- by(builtin(mul, 3))
156
- ),
157
- proof(
158
- goal(add(90.0, 50.0, 140.0)),
159
- by(builtin(add, 3))
160
- ),
161
- proof(
162
- goal(div(6000.0, 140.0, 42.857142857142854)),
163
- by(builtin(div, 3))
164
- )
165
- ])
166
- )
167
- ])
168
- )
169
- ).
170
-
171
4
  inhibitionFraction(assay1, 0.4285714285714286).
172
- why(
173
- inhibitionFraction(assay1, 0.4285714285714286),
174
- proof(
175
- goal(inhibitionFraction(assay1, 0.4285714285714286)),
176
- by(rule("competitive-enzyme-kinetics.pl", clause(22))),
177
- bindings([binding("Assay", assay1), binding("Fraction", 0.4285714285714286)]),
178
- uses([
179
- proof(
180
- goal(inhibition_fraction(assay1, 0.4285714285714286)),
181
- by(rule("competitive-enzyme-kinetics.pl", clause(17))),
182
- bindings([binding("Assay", assay1), binding("Fraction", 0.4285714285714286), binding("Uninhibited", 75.0), binding("Inhibited", 42.857142857142854), binding("Delta", 32.142857142857146)]),
183
- uses([
184
- proof(
185
- goal(uninhibited_rate(assay1, 75.0)),
186
- by(rule("competitive-enzyme-kinetics.pl", clause(15))),
187
- bindings([binding("Assay", assay1), binding("Rate", 75.0), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("Km", 30.0), binding("Numerator", 6000.0), binding("Denominator", 80.0)]),
188
- uses([
189
- proof(
190
- goal(assay(assay1, vmax_uM_s, 120.0)),
191
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
192
- ),
193
- proof(
194
- goal(assay(assay1, substrate_uM, 50.0)),
195
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
196
- ),
197
- proof(
198
- goal(assay(assay1, km_uM, 30.0)),
199
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
200
- ),
201
- proof(
202
- goal(mul(120.0, 50.0, 6000.0)),
203
- by(builtin(mul, 3))
204
- ),
205
- proof(
206
- goal(add(30.0, 50.0, 80.0)),
207
- by(builtin(add, 3))
208
- ),
209
- proof(
210
- goal(div(6000.0, 80.0, 75.0)),
211
- by(builtin(div, 3))
212
- )
213
- ])
214
- ),
215
- proof(
216
- goal(inhibited_rate(assay1, 42.857142857142854)),
217
- by(rule("competitive-enzyme-kinetics.pl", clause(16))),
218
- bindings([binding("Assay", assay1), binding("Rate", 42.857142857142854), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("EffectiveKm", 90.0), binding("Numerator", 6000.0), binding("Denominator", 140.0)]),
219
- uses([
220
- proof(
221
- goal(assay(assay1, vmax_uM_s, 120.0)),
222
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
223
- ),
224
- proof(
225
- goal(assay(assay1, substrate_uM, 50.0)),
226
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
227
- ),
228
- proof(
229
- goal(effective_km(assay1, 90.0)),
230
- by(rule("competitive-enzyme-kinetics.pl", clause(14))),
231
- bindings([binding("Assay", assay1), binding("EffectiveKm", 90.0), binding("Km", 30.0), binding("Multiplier", 3.0)]),
232
- uses([
233
- proof(
234
- goal(assay(assay1, km_uM, 30.0)),
235
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
236
- ),
237
- proof(
238
- goal(competitive_multiplier(assay1, 3.0)),
239
- by(rule("competitive-enzyme-kinetics.pl", clause(13))),
240
- bindings([binding("Assay", assay1), binding("Multiplier", 3.0), binding("Inhibitor", 10.0), binding("Ki", 5.0), binding("Ratio", 2.0)]),
241
- uses([
242
- proof(
243
- goal(assay(assay1, inhibitor_uM, 10.0)),
244
- by(fact("competitive-enzyme-kinetics.pl", clause(10)))
245
- ),
246
- proof(
247
- goal(assay(assay1, ki_uM, 5.0)),
248
- by(fact("competitive-enzyme-kinetics.pl", clause(11)))
249
- ),
250
- proof(
251
- goal(div(10.0, 5.0, 2.0)),
252
- by(builtin(div, 3))
253
- ),
254
- proof(
255
- goal(add(1.0, 2.0, 3.0)),
256
- by(builtin(add, 3))
257
- )
258
- ])
259
- ),
260
- proof(
261
- goal(mul(30.0, 3.0, 90.0)),
262
- by(builtin(mul, 3))
263
- )
264
- ])
265
- ),
266
- proof(
267
- goal(mul(120.0, 50.0, 6000.0)),
268
- by(builtin(mul, 3))
269
- ),
270
- proof(
271
- goal(add(90.0, 50.0, 140.0)),
272
- by(builtin(add, 3))
273
- ),
274
- proof(
275
- goal(div(6000.0, 140.0, 42.857142857142854)),
276
- by(builtin(div, 3))
277
- )
278
- ])
279
- ),
280
- proof(
281
- goal(sub(75.0, 42.857142857142854, 32.142857142857146)),
282
- by(builtin(sub, 3))
283
- ),
284
- proof(
285
- goal(div(32.142857142857146, 75.0, 0.4285714285714286)),
286
- by(builtin(div, 3))
287
- )
288
- ])
289
- )
290
- ])
291
- )
292
- ).
293
-
294
5
  status(assay1, significant_inhibition).
295
- why(
296
- status(assay1, significant_inhibition),
297
- proof(
298
- goal(status(assay1, significant_inhibition)),
299
- by(rule("competitive-enzyme-kinetics.pl", clause(23))),
300
- bindings([binding("Assay", assay1)]),
301
- uses([
302
- proof(
303
- goal(significant_inhibition(assay1)),
304
- by(rule("competitive-enzyme-kinetics.pl", clause(18))),
305
- bindings([binding("Assay", assay1), binding("Fraction", 0.4285714285714286), binding("Limit", 0.25)]),
306
- uses([
307
- proof(
308
- goal(inhibition_fraction(assay1, 0.4285714285714286)),
309
- by(rule("competitive-enzyme-kinetics.pl", clause(17))),
310
- bindings([binding("Assay", assay1), binding("Fraction", 0.4285714285714286), binding("Uninhibited", 75.0), binding("Inhibited", 42.857142857142854), binding("Delta", 32.142857142857146)]),
311
- uses([
312
- proof(
313
- goal(uninhibited_rate(assay1, 75.0)),
314
- by(rule("competitive-enzyme-kinetics.pl", clause(15))),
315
- bindings([binding("Assay", assay1), binding("Rate", 75.0), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("Km", 30.0), binding("Numerator", 6000.0), binding("Denominator", 80.0)]),
316
- uses([
317
- proof(
318
- goal(assay(assay1, vmax_uM_s, 120.0)),
319
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
320
- ),
321
- proof(
322
- goal(assay(assay1, substrate_uM, 50.0)),
323
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
324
- ),
325
- proof(
326
- goal(assay(assay1, km_uM, 30.0)),
327
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
328
- ),
329
- proof(
330
- goal(mul(120.0, 50.0, 6000.0)),
331
- by(builtin(mul, 3))
332
- ),
333
- proof(
334
- goal(add(30.0, 50.0, 80.0)),
335
- by(builtin(add, 3))
336
- ),
337
- proof(
338
- goal(div(6000.0, 80.0, 75.0)),
339
- by(builtin(div, 3))
340
- )
341
- ])
342
- ),
343
- proof(
344
- goal(inhibited_rate(assay1, 42.857142857142854)),
345
- by(rule("competitive-enzyme-kinetics.pl", clause(16))),
346
- bindings([binding("Assay", assay1), binding("Rate", 42.857142857142854), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("EffectiveKm", 90.0), binding("Numerator", 6000.0), binding("Denominator", 140.0)]),
347
- uses([
348
- proof(
349
- goal(assay(assay1, vmax_uM_s, 120.0)),
350
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
351
- ),
352
- proof(
353
- goal(assay(assay1, substrate_uM, 50.0)),
354
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
355
- ),
356
- proof(
357
- goal(effective_km(assay1, 90.0)),
358
- by(rule("competitive-enzyme-kinetics.pl", clause(14))),
359
- bindings([binding("Assay", assay1), binding("EffectiveKm", 90.0), binding("Km", 30.0), binding("Multiplier", 3.0)]),
360
- uses([
361
- proof(
362
- goal(assay(assay1, km_uM, 30.0)),
363
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
364
- ),
365
- proof(
366
- goal(competitive_multiplier(assay1, 3.0)),
367
- by(rule("competitive-enzyme-kinetics.pl", clause(13))),
368
- bindings([binding("Assay", assay1), binding("Multiplier", 3.0), binding("Inhibitor", 10.0), binding("Ki", 5.0), binding("Ratio", 2.0)]),
369
- uses([
370
- proof(
371
- goal(assay(assay1, inhibitor_uM, 10.0)),
372
- by(fact("competitive-enzyme-kinetics.pl", clause(10)))
373
- ),
374
- proof(
375
- goal(assay(assay1, ki_uM, 5.0)),
376
- by(fact("competitive-enzyme-kinetics.pl", clause(11)))
377
- ),
378
- proof(
379
- goal(div(10.0, 5.0, 2.0)),
380
- by(builtin(div, 3))
381
- ),
382
- proof(
383
- goal(add(1.0, 2.0, 3.0)),
384
- by(builtin(add, 3))
385
- )
386
- ])
387
- ),
388
- proof(
389
- goal(mul(30.0, 3.0, 90.0)),
390
- by(builtin(mul, 3))
391
- )
392
- ])
393
- ),
394
- proof(
395
- goal(mul(120.0, 50.0, 6000.0)),
396
- by(builtin(mul, 3))
397
- ),
398
- proof(
399
- goal(add(90.0, 50.0, 140.0)),
400
- by(builtin(add, 3))
401
- ),
402
- proof(
403
- goal(div(6000.0, 140.0, 42.857142857142854)),
404
- by(builtin(div, 3))
405
- )
406
- ])
407
- ),
408
- proof(
409
- goal(sub(75.0, 42.857142857142854, 32.142857142857146)),
410
- by(builtin(sub, 3))
411
- ),
412
- proof(
413
- goal(div(32.142857142857146, 75.0, 0.4285714285714286)),
414
- by(builtin(div, 3))
415
- )
416
- ])
417
- ),
418
- proof(
419
- goal(threshold(assay1, significant_inhibition_fraction, 0.25)),
420
- by(fact("competitive-enzyme-kinetics.pl", clause(12)))
421
- ),
422
- proof(
423
- goal(gt(0.4285714285714286, 0.25)),
424
- by(builtin(gt, 2))
425
- )
426
- ])
427
- )
428
- ])
429
- )
430
- ).
431
-
432
6
  reason(assay1, "competitive inhibitor raises effective Km and lowers reaction rate").
433
- why(
434
- reason(assay1, "competitive inhibitor raises effective Km and lowers reaction rate"),
435
- proof(
436
- goal(reason(assay1, "competitive inhibitor raises effective Km and lowers reaction rate")),
437
- by(rule("competitive-enzyme-kinetics.pl", clause(24))),
438
- bindings([binding("Assay", assay1)]),
439
- uses([
440
- proof(
441
- goal(significant_inhibition(assay1)),
442
- by(rule("competitive-enzyme-kinetics.pl", clause(18))),
443
- bindings([binding("Assay", assay1), binding("Fraction", 0.4285714285714286), binding("Limit", 0.25)]),
444
- uses([
445
- proof(
446
- goal(inhibition_fraction(assay1, 0.4285714285714286)),
447
- by(rule("competitive-enzyme-kinetics.pl", clause(17))),
448
- bindings([binding("Assay", assay1), binding("Fraction", 0.4285714285714286), binding("Uninhibited", 75.0), binding("Inhibited", 42.857142857142854), binding("Delta", 32.142857142857146)]),
449
- uses([
450
- proof(
451
- goal(uninhibited_rate(assay1, 75.0)),
452
- by(rule("competitive-enzyme-kinetics.pl", clause(15))),
453
- bindings([binding("Assay", assay1), binding("Rate", 75.0), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("Km", 30.0), binding("Numerator", 6000.0), binding("Denominator", 80.0)]),
454
- uses([
455
- proof(
456
- goal(assay(assay1, vmax_uM_s, 120.0)),
457
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
458
- ),
459
- proof(
460
- goal(assay(assay1, substrate_uM, 50.0)),
461
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
462
- ),
463
- proof(
464
- goal(assay(assay1, km_uM, 30.0)),
465
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
466
- ),
467
- proof(
468
- goal(mul(120.0, 50.0, 6000.0)),
469
- by(builtin(mul, 3))
470
- ),
471
- proof(
472
- goal(add(30.0, 50.0, 80.0)),
473
- by(builtin(add, 3))
474
- ),
475
- proof(
476
- goal(div(6000.0, 80.0, 75.0)),
477
- by(builtin(div, 3))
478
- )
479
- ])
480
- ),
481
- proof(
482
- goal(inhibited_rate(assay1, 42.857142857142854)),
483
- by(rule("competitive-enzyme-kinetics.pl", clause(16))),
484
- bindings([binding("Assay", assay1), binding("Rate", 42.857142857142854), binding("Vmax", 120.0), binding("Substrate", 50.0), binding("EffectiveKm", 90.0), binding("Numerator", 6000.0), binding("Denominator", 140.0)]),
485
- uses([
486
- proof(
487
- goal(assay(assay1, vmax_uM_s, 120.0)),
488
- by(fact("competitive-enzyme-kinetics.pl", clause(7)))
489
- ),
490
- proof(
491
- goal(assay(assay1, substrate_uM, 50.0)),
492
- by(fact("competitive-enzyme-kinetics.pl", clause(8)))
493
- ),
494
- proof(
495
- goal(effective_km(assay1, 90.0)),
496
- by(rule("competitive-enzyme-kinetics.pl", clause(14))),
497
- bindings([binding("Assay", assay1), binding("EffectiveKm", 90.0), binding("Km", 30.0), binding("Multiplier", 3.0)]),
498
- uses([
499
- proof(
500
- goal(assay(assay1, km_uM, 30.0)),
501
- by(fact("competitive-enzyme-kinetics.pl", clause(9)))
502
- ),
503
- proof(
504
- goal(competitive_multiplier(assay1, 3.0)),
505
- by(rule("competitive-enzyme-kinetics.pl", clause(13))),
506
- bindings([binding("Assay", assay1), binding("Multiplier", 3.0), binding("Inhibitor", 10.0), binding("Ki", 5.0), binding("Ratio", 2.0)]),
507
- uses([
508
- proof(
509
- goal(assay(assay1, inhibitor_uM, 10.0)),
510
- by(fact("competitive-enzyme-kinetics.pl", clause(10)))
511
- ),
512
- proof(
513
- goal(assay(assay1, ki_uM, 5.0)),
514
- by(fact("competitive-enzyme-kinetics.pl", clause(11)))
515
- ),
516
- proof(
517
- goal(div(10.0, 5.0, 2.0)),
518
- by(builtin(div, 3))
519
- ),
520
- proof(
521
- goal(add(1.0, 2.0, 3.0)),
522
- by(builtin(add, 3))
523
- )
524
- ])
525
- ),
526
- proof(
527
- goal(mul(30.0, 3.0, 90.0)),
528
- by(builtin(mul, 3))
529
- )
530
- ])
531
- ),
532
- proof(
533
- goal(mul(120.0, 50.0, 6000.0)),
534
- by(builtin(mul, 3))
535
- ),
536
- proof(
537
- goal(add(90.0, 50.0, 140.0)),
538
- by(builtin(add, 3))
539
- ),
540
- proof(
541
- goal(div(6000.0, 140.0, 42.857142857142854)),
542
- by(builtin(div, 3))
543
- )
544
- ])
545
- ),
546
- proof(
547
- goal(sub(75.0, 42.857142857142854, 32.142857142857146)),
548
- by(builtin(sub, 3))
549
- ),
550
- proof(
551
- goal(div(32.142857142857146, 75.0, 0.4285714285714286)),
552
- by(builtin(div, 3))
553
- )
554
- ])
555
- ),
556
- proof(
557
- goal(threshold(assay1, significant_inhibition_fraction, 0.25)),
558
- by(fact("competitive-enzyme-kinetics.pl", clause(12)))
559
- ),
560
- proof(
561
- goal(gt(0.4285714285714286, 0.25)),
562
- by(builtin(gt, 2))
563
- )
564
- ])
565
- )
566
- ])
567
- )
568
- ).
569
-