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,2139 +1,93 @@
1
1
  solution(nQueens8, [1, 5, 8, 6, 3, 7, 2, 4]).
2
- why(
3
- solution(nQueens8, [1, 5, 8, 6, 3, 7, 2, 4]),
4
- proof(
5
- goal(solution(nQueens8, [1, 5, 8, 6, 3, 7, 2, 4])),
6
- by(rule("n-queens.pl", clause(4))),
7
- bindings([binding("Qs", [1, 5, 8, 6, 3, 7, 2, 4])]),
8
- uses([
9
- proof(
10
- goal(queens(8, [1, 5, 8, 6, 3, 7, 2, 4])),
11
- by(rule("n-queens.pl", clause(3))),
12
- bindings([binding("N", 8), binding("Qs", [1, 5, 8, 6, 3, 7, 2, 4])]),
13
- uses([
14
- proof(
15
- goal(n_queens(8, [1, 5, 8, 6, 3, 7, 2, 4])),
16
- by(builtin(n_queens, 2))
17
- )
18
- ])
19
- )
20
- ])
21
- )
22
- ).
23
-
24
2
  solution(nQueens8, [1, 6, 8, 3, 7, 4, 2, 5]).
25
- why(
26
- solution(nQueens8, [1, 6, 8, 3, 7, 4, 2, 5]),
27
- proof(
28
- goal(solution(nQueens8, [1, 6, 8, 3, 7, 4, 2, 5])),
29
- by(rule("n-queens.pl", clause(4))),
30
- bindings([binding("Qs", [1, 6, 8, 3, 7, 4, 2, 5])]),
31
- uses([
32
- proof(
33
- goal(queens(8, [1, 6, 8, 3, 7, 4, 2, 5])),
34
- by(rule("n-queens.pl", clause(3))),
35
- bindings([binding("N", 8), binding("Qs", [1, 6, 8, 3, 7, 4, 2, 5])]),
36
- uses([
37
- proof(
38
- goal(n_queens(8, [1, 6, 8, 3, 7, 4, 2, 5])),
39
- by(builtin(n_queens, 2))
40
- )
41
- ])
42
- )
43
- ])
44
- )
45
- ).
46
-
47
3
  solution(nQueens8, [1, 7, 4, 6, 8, 2, 5, 3]).
48
- why(
49
- solution(nQueens8, [1, 7, 4, 6, 8, 2, 5, 3]),
50
- proof(
51
- goal(solution(nQueens8, [1, 7, 4, 6, 8, 2, 5, 3])),
52
- by(rule("n-queens.pl", clause(4))),
53
- bindings([binding("Qs", [1, 7, 4, 6, 8, 2, 5, 3])]),
54
- uses([
55
- proof(
56
- goal(queens(8, [1, 7, 4, 6, 8, 2, 5, 3])),
57
- by(rule("n-queens.pl", clause(3))),
58
- bindings([binding("N", 8), binding("Qs", [1, 7, 4, 6, 8, 2, 5, 3])]),
59
- uses([
60
- proof(
61
- goal(n_queens(8, [1, 7, 4, 6, 8, 2, 5, 3])),
62
- by(builtin(n_queens, 2))
63
- )
64
- ])
65
- )
66
- ])
67
- )
68
- ).
69
-
70
4
  solution(nQueens8, [1, 7, 5, 8, 2, 4, 6, 3]).
71
- why(
72
- solution(nQueens8, [1, 7, 5, 8, 2, 4, 6, 3]),
73
- proof(
74
- goal(solution(nQueens8, [1, 7, 5, 8, 2, 4, 6, 3])),
75
- by(rule("n-queens.pl", clause(4))),
76
- bindings([binding("Qs", [1, 7, 5, 8, 2, 4, 6, 3])]),
77
- uses([
78
- proof(
79
- goal(queens(8, [1, 7, 5, 8, 2, 4, 6, 3])),
80
- by(rule("n-queens.pl", clause(3))),
81
- bindings([binding("N", 8), binding("Qs", [1, 7, 5, 8, 2, 4, 6, 3])]),
82
- uses([
83
- proof(
84
- goal(n_queens(8, [1, 7, 5, 8, 2, 4, 6, 3])),
85
- by(builtin(n_queens, 2))
86
- )
87
- ])
88
- )
89
- ])
90
- )
91
- ).
92
-
93
5
  solution(nQueens8, [2, 4, 6, 8, 3, 1, 7, 5]).
94
- why(
95
- solution(nQueens8, [2, 4, 6, 8, 3, 1, 7, 5]),
96
- proof(
97
- goal(solution(nQueens8, [2, 4, 6, 8, 3, 1, 7, 5])),
98
- by(rule("n-queens.pl", clause(4))),
99
- bindings([binding("Qs", [2, 4, 6, 8, 3, 1, 7, 5])]),
100
- uses([
101
- proof(
102
- goal(queens(8, [2, 4, 6, 8, 3, 1, 7, 5])),
103
- by(rule("n-queens.pl", clause(3))),
104
- bindings([binding("N", 8), binding("Qs", [2, 4, 6, 8, 3, 1, 7, 5])]),
105
- uses([
106
- proof(
107
- goal(n_queens(8, [2, 4, 6, 8, 3, 1, 7, 5])),
108
- by(builtin(n_queens, 2))
109
- )
110
- ])
111
- )
112
- ])
113
- )
114
- ).
115
-
116
6
  solution(nQueens8, [2, 5, 7, 1, 3, 8, 6, 4]).
117
- why(
118
- solution(nQueens8, [2, 5, 7, 1, 3, 8, 6, 4]),
119
- proof(
120
- goal(solution(nQueens8, [2, 5, 7, 1, 3, 8, 6, 4])),
121
- by(rule("n-queens.pl", clause(4))),
122
- bindings([binding("Qs", [2, 5, 7, 1, 3, 8, 6, 4])]),
123
- uses([
124
- proof(
125
- goal(queens(8, [2, 5, 7, 1, 3, 8, 6, 4])),
126
- by(rule("n-queens.pl", clause(3))),
127
- bindings([binding("N", 8), binding("Qs", [2, 5, 7, 1, 3, 8, 6, 4])]),
128
- uses([
129
- proof(
130
- goal(n_queens(8, [2, 5, 7, 1, 3, 8, 6, 4])),
131
- by(builtin(n_queens, 2))
132
- )
133
- ])
134
- )
135
- ])
136
- )
137
- ).
138
-
139
7
  solution(nQueens8, [2, 5, 7, 4, 1, 8, 6, 3]).
140
- why(
141
- solution(nQueens8, [2, 5, 7, 4, 1, 8, 6, 3]),
142
- proof(
143
- goal(solution(nQueens8, [2, 5, 7, 4, 1, 8, 6, 3])),
144
- by(rule("n-queens.pl", clause(4))),
145
- bindings([binding("Qs", [2, 5, 7, 4, 1, 8, 6, 3])]),
146
- uses([
147
- proof(
148
- goal(queens(8, [2, 5, 7, 4, 1, 8, 6, 3])),
149
- by(rule("n-queens.pl", clause(3))),
150
- bindings([binding("N", 8), binding("Qs", [2, 5, 7, 4, 1, 8, 6, 3])]),
151
- uses([
152
- proof(
153
- goal(n_queens(8, [2, 5, 7, 4, 1, 8, 6, 3])),
154
- by(builtin(n_queens, 2))
155
- )
156
- ])
157
- )
158
- ])
159
- )
160
- ).
161
-
162
8
  solution(nQueens8, [2, 6, 1, 7, 4, 8, 3, 5]).
163
- why(
164
- solution(nQueens8, [2, 6, 1, 7, 4, 8, 3, 5]),
165
- proof(
166
- goal(solution(nQueens8, [2, 6, 1, 7, 4, 8, 3, 5])),
167
- by(rule("n-queens.pl", clause(4))),
168
- bindings([binding("Qs", [2, 6, 1, 7, 4, 8, 3, 5])]),
169
- uses([
170
- proof(
171
- goal(queens(8, [2, 6, 1, 7, 4, 8, 3, 5])),
172
- by(rule("n-queens.pl", clause(3))),
173
- bindings([binding("N", 8), binding("Qs", [2, 6, 1, 7, 4, 8, 3, 5])]),
174
- uses([
175
- proof(
176
- goal(n_queens(8, [2, 6, 1, 7, 4, 8, 3, 5])),
177
- by(builtin(n_queens, 2))
178
- )
179
- ])
180
- )
181
- ])
182
- )
183
- ).
184
-
185
9
  solution(nQueens8, [2, 6, 8, 3, 1, 4, 7, 5]).
186
- why(
187
- solution(nQueens8, [2, 6, 8, 3, 1, 4, 7, 5]),
188
- proof(
189
- goal(solution(nQueens8, [2, 6, 8, 3, 1, 4, 7, 5])),
190
- by(rule("n-queens.pl", clause(4))),
191
- bindings([binding("Qs", [2, 6, 8, 3, 1, 4, 7, 5])]),
192
- uses([
193
- proof(
194
- goal(queens(8, [2, 6, 8, 3, 1, 4, 7, 5])),
195
- by(rule("n-queens.pl", clause(3))),
196
- bindings([binding("N", 8), binding("Qs", [2, 6, 8, 3, 1, 4, 7, 5])]),
197
- uses([
198
- proof(
199
- goal(n_queens(8, [2, 6, 8, 3, 1, 4, 7, 5])),
200
- by(builtin(n_queens, 2))
201
- )
202
- ])
203
- )
204
- ])
205
- )
206
- ).
207
-
208
10
  solution(nQueens8, [2, 7, 3, 6, 8, 5, 1, 4]).
209
- why(
210
- solution(nQueens8, [2, 7, 3, 6, 8, 5, 1, 4]),
211
- proof(
212
- goal(solution(nQueens8, [2, 7, 3, 6, 8, 5, 1, 4])),
213
- by(rule("n-queens.pl", clause(4))),
214
- bindings([binding("Qs", [2, 7, 3, 6, 8, 5, 1, 4])]),
215
- uses([
216
- proof(
217
- goal(queens(8, [2, 7, 3, 6, 8, 5, 1, 4])),
218
- by(rule("n-queens.pl", clause(3))),
219
- bindings([binding("N", 8), binding("Qs", [2, 7, 3, 6, 8, 5, 1, 4])]),
220
- uses([
221
- proof(
222
- goal(n_queens(8, [2, 7, 3, 6, 8, 5, 1, 4])),
223
- by(builtin(n_queens, 2))
224
- )
225
- ])
226
- )
227
- ])
228
- )
229
- ).
230
-
231
11
  solution(nQueens8, [2, 7, 5, 8, 1, 4, 6, 3]).
232
- why(
233
- solution(nQueens8, [2, 7, 5, 8, 1, 4, 6, 3]),
234
- proof(
235
- goal(solution(nQueens8, [2, 7, 5, 8, 1, 4, 6, 3])),
236
- by(rule("n-queens.pl", clause(4))),
237
- bindings([binding("Qs", [2, 7, 5, 8, 1, 4, 6, 3])]),
238
- uses([
239
- proof(
240
- goal(queens(8, [2, 7, 5, 8, 1, 4, 6, 3])),
241
- by(rule("n-queens.pl", clause(3))),
242
- bindings([binding("N", 8), binding("Qs", [2, 7, 5, 8, 1, 4, 6, 3])]),
243
- uses([
244
- proof(
245
- goal(n_queens(8, [2, 7, 5, 8, 1, 4, 6, 3])),
246
- by(builtin(n_queens, 2))
247
- )
248
- ])
249
- )
250
- ])
251
- )
252
- ).
253
-
254
12
  solution(nQueens8, [2, 8, 6, 1, 3, 5, 7, 4]).
255
- why(
256
- solution(nQueens8, [2, 8, 6, 1, 3, 5, 7, 4]),
257
- proof(
258
- goal(solution(nQueens8, [2, 8, 6, 1, 3, 5, 7, 4])),
259
- by(rule("n-queens.pl", clause(4))),
260
- bindings([binding("Qs", [2, 8, 6, 1, 3, 5, 7, 4])]),
261
- uses([
262
- proof(
263
- goal(queens(8, [2, 8, 6, 1, 3, 5, 7, 4])),
264
- by(rule("n-queens.pl", clause(3))),
265
- bindings([binding("N", 8), binding("Qs", [2, 8, 6, 1, 3, 5, 7, 4])]),
266
- uses([
267
- proof(
268
- goal(n_queens(8, [2, 8, 6, 1, 3, 5, 7, 4])),
269
- by(builtin(n_queens, 2))
270
- )
271
- ])
272
- )
273
- ])
274
- )
275
- ).
276
-
277
13
  solution(nQueens8, [3, 1, 7, 5, 8, 2, 4, 6]).
278
- why(
279
- solution(nQueens8, [3, 1, 7, 5, 8, 2, 4, 6]),
280
- proof(
281
- goal(solution(nQueens8, [3, 1, 7, 5, 8, 2, 4, 6])),
282
- by(rule("n-queens.pl", clause(4))),
283
- bindings([binding("Qs", [3, 1, 7, 5, 8, 2, 4, 6])]),
284
- uses([
285
- proof(
286
- goal(queens(8, [3, 1, 7, 5, 8, 2, 4, 6])),
287
- by(rule("n-queens.pl", clause(3))),
288
- bindings([binding("N", 8), binding("Qs", [3, 1, 7, 5, 8, 2, 4, 6])]),
289
- uses([
290
- proof(
291
- goal(n_queens(8, [3, 1, 7, 5, 8, 2, 4, 6])),
292
- by(builtin(n_queens, 2))
293
- )
294
- ])
295
- )
296
- ])
297
- )
298
- ).
299
-
300
14
  solution(nQueens8, [3, 5, 2, 8, 1, 7, 4, 6]).
301
- why(
302
- solution(nQueens8, [3, 5, 2, 8, 1, 7, 4, 6]),
303
- proof(
304
- goal(solution(nQueens8, [3, 5, 2, 8, 1, 7, 4, 6])),
305
- by(rule("n-queens.pl", clause(4))),
306
- bindings([binding("Qs", [3, 5, 2, 8, 1, 7, 4, 6])]),
307
- uses([
308
- proof(
309
- goal(queens(8, [3, 5, 2, 8, 1, 7, 4, 6])),
310
- by(rule("n-queens.pl", clause(3))),
311
- bindings([binding("N", 8), binding("Qs", [3, 5, 2, 8, 1, 7, 4, 6])]),
312
- uses([
313
- proof(
314
- goal(n_queens(8, [3, 5, 2, 8, 1, 7, 4, 6])),
315
- by(builtin(n_queens, 2))
316
- )
317
- ])
318
- )
319
- ])
320
- )
321
- ).
322
-
323
15
  solution(nQueens8, [3, 5, 2, 8, 6, 4, 7, 1]).
324
- why(
325
- solution(nQueens8, [3, 5, 2, 8, 6, 4, 7, 1]),
326
- proof(
327
- goal(solution(nQueens8, [3, 5, 2, 8, 6, 4, 7, 1])),
328
- by(rule("n-queens.pl", clause(4))),
329
- bindings([binding("Qs", [3, 5, 2, 8, 6, 4, 7, 1])]),
330
- uses([
331
- proof(
332
- goal(queens(8, [3, 5, 2, 8, 6, 4, 7, 1])),
333
- by(rule("n-queens.pl", clause(3))),
334
- bindings([binding("N", 8), binding("Qs", [3, 5, 2, 8, 6, 4, 7, 1])]),
335
- uses([
336
- proof(
337
- goal(n_queens(8, [3, 5, 2, 8, 6, 4, 7, 1])),
338
- by(builtin(n_queens, 2))
339
- )
340
- ])
341
- )
342
- ])
343
- )
344
- ).
345
-
346
16
  solution(nQueens8, [3, 5, 7, 1, 4, 2, 8, 6]).
347
- why(
348
- solution(nQueens8, [3, 5, 7, 1, 4, 2, 8, 6]),
349
- proof(
350
- goal(solution(nQueens8, [3, 5, 7, 1, 4, 2, 8, 6])),
351
- by(rule("n-queens.pl", clause(4))),
352
- bindings([binding("Qs", [3, 5, 7, 1, 4, 2, 8, 6])]),
353
- uses([
354
- proof(
355
- goal(queens(8, [3, 5, 7, 1, 4, 2, 8, 6])),
356
- by(rule("n-queens.pl", clause(3))),
357
- bindings([binding("N", 8), binding("Qs", [3, 5, 7, 1, 4, 2, 8, 6])]),
358
- uses([
359
- proof(
360
- goal(n_queens(8, [3, 5, 7, 1, 4, 2, 8, 6])),
361
- by(builtin(n_queens, 2))
362
- )
363
- ])
364
- )
365
- ])
366
- )
367
- ).
368
-
369
17
  solution(nQueens8, [3, 5, 8, 4, 1, 7, 2, 6]).
370
- why(
371
- solution(nQueens8, [3, 5, 8, 4, 1, 7, 2, 6]),
372
- proof(
373
- goal(solution(nQueens8, [3, 5, 8, 4, 1, 7, 2, 6])),
374
- by(rule("n-queens.pl", clause(4))),
375
- bindings([binding("Qs", [3, 5, 8, 4, 1, 7, 2, 6])]),
376
- uses([
377
- proof(
378
- goal(queens(8, [3, 5, 8, 4, 1, 7, 2, 6])),
379
- by(rule("n-queens.pl", clause(3))),
380
- bindings([binding("N", 8), binding("Qs", [3, 5, 8, 4, 1, 7, 2, 6])]),
381
- uses([
382
- proof(
383
- goal(n_queens(8, [3, 5, 8, 4, 1, 7, 2, 6])),
384
- by(builtin(n_queens, 2))
385
- )
386
- ])
387
- )
388
- ])
389
- )
390
- ).
391
-
392
18
  solution(nQueens8, [3, 6, 2, 5, 8, 1, 7, 4]).
393
- why(
394
- solution(nQueens8, [3, 6, 2, 5, 8, 1, 7, 4]),
395
- proof(
396
- goal(solution(nQueens8, [3, 6, 2, 5, 8, 1, 7, 4])),
397
- by(rule("n-queens.pl", clause(4))),
398
- bindings([binding("Qs", [3, 6, 2, 5, 8, 1, 7, 4])]),
399
- uses([
400
- proof(
401
- goal(queens(8, [3, 6, 2, 5, 8, 1, 7, 4])),
402
- by(rule("n-queens.pl", clause(3))),
403
- bindings([binding("N", 8), binding("Qs", [3, 6, 2, 5, 8, 1, 7, 4])]),
404
- uses([
405
- proof(
406
- goal(n_queens(8, [3, 6, 2, 5, 8, 1, 7, 4])),
407
- by(builtin(n_queens, 2))
408
- )
409
- ])
410
- )
411
- ])
412
- )
413
- ).
414
-
415
19
  solution(nQueens8, [3, 6, 2, 7, 1, 4, 8, 5]).
416
- why(
417
- solution(nQueens8, [3, 6, 2, 7, 1, 4, 8, 5]),
418
- proof(
419
- goal(solution(nQueens8, [3, 6, 2, 7, 1, 4, 8, 5])),
420
- by(rule("n-queens.pl", clause(4))),
421
- bindings([binding("Qs", [3, 6, 2, 7, 1, 4, 8, 5])]),
422
- uses([
423
- proof(
424
- goal(queens(8, [3, 6, 2, 7, 1, 4, 8, 5])),
425
- by(rule("n-queens.pl", clause(3))),
426
- bindings([binding("N", 8), binding("Qs", [3, 6, 2, 7, 1, 4, 8, 5])]),
427
- uses([
428
- proof(
429
- goal(n_queens(8, [3, 6, 2, 7, 1, 4, 8, 5])),
430
- by(builtin(n_queens, 2))
431
- )
432
- ])
433
- )
434
- ])
435
- )
436
- ).
437
-
438
20
  solution(nQueens8, [3, 6, 2, 7, 5, 1, 8, 4]).
439
- why(
440
- solution(nQueens8, [3, 6, 2, 7, 5, 1, 8, 4]),
441
- proof(
442
- goal(solution(nQueens8, [3, 6, 2, 7, 5, 1, 8, 4])),
443
- by(rule("n-queens.pl", clause(4))),
444
- bindings([binding("Qs", [3, 6, 2, 7, 5, 1, 8, 4])]),
445
- uses([
446
- proof(
447
- goal(queens(8, [3, 6, 2, 7, 5, 1, 8, 4])),
448
- by(rule("n-queens.pl", clause(3))),
449
- bindings([binding("N", 8), binding("Qs", [3, 6, 2, 7, 5, 1, 8, 4])]),
450
- uses([
451
- proof(
452
- goal(n_queens(8, [3, 6, 2, 7, 5, 1, 8, 4])),
453
- by(builtin(n_queens, 2))
454
- )
455
- ])
456
- )
457
- ])
458
- )
459
- ).
460
-
461
21
  solution(nQueens8, [3, 6, 4, 1, 8, 5, 7, 2]).
462
- why(
463
- solution(nQueens8, [3, 6, 4, 1, 8, 5, 7, 2]),
464
- proof(
465
- goal(solution(nQueens8, [3, 6, 4, 1, 8, 5, 7, 2])),
466
- by(rule("n-queens.pl", clause(4))),
467
- bindings([binding("Qs", [3, 6, 4, 1, 8, 5, 7, 2])]),
468
- uses([
469
- proof(
470
- goal(queens(8, [3, 6, 4, 1, 8, 5, 7, 2])),
471
- by(rule("n-queens.pl", clause(3))),
472
- bindings([binding("N", 8), binding("Qs", [3, 6, 4, 1, 8, 5, 7, 2])]),
473
- uses([
474
- proof(
475
- goal(n_queens(8, [3, 6, 4, 1, 8, 5, 7, 2])),
476
- by(builtin(n_queens, 2))
477
- )
478
- ])
479
- )
480
- ])
481
- )
482
- ).
483
-
484
22
  solution(nQueens8, [3, 6, 4, 2, 8, 5, 7, 1]).
485
- why(
486
- solution(nQueens8, [3, 6, 4, 2, 8, 5, 7, 1]),
487
- proof(
488
- goal(solution(nQueens8, [3, 6, 4, 2, 8, 5, 7, 1])),
489
- by(rule("n-queens.pl", clause(4))),
490
- bindings([binding("Qs", [3, 6, 4, 2, 8, 5, 7, 1])]),
491
- uses([
492
- proof(
493
- goal(queens(8, [3, 6, 4, 2, 8, 5, 7, 1])),
494
- by(rule("n-queens.pl", clause(3))),
495
- bindings([binding("N", 8), binding("Qs", [3, 6, 4, 2, 8, 5, 7, 1])]),
496
- uses([
497
- proof(
498
- goal(n_queens(8, [3, 6, 4, 2, 8, 5, 7, 1])),
499
- by(builtin(n_queens, 2))
500
- )
501
- ])
502
- )
503
- ])
504
- )
505
- ).
506
-
507
23
  solution(nQueens8, [3, 6, 8, 1, 4, 7, 5, 2]).
508
- why(
509
- solution(nQueens8, [3, 6, 8, 1, 4, 7, 5, 2]),
510
- proof(
511
- goal(solution(nQueens8, [3, 6, 8, 1, 4, 7, 5, 2])),
512
- by(rule("n-queens.pl", clause(4))),
513
- bindings([binding("Qs", [3, 6, 8, 1, 4, 7, 5, 2])]),
514
- uses([
515
- proof(
516
- goal(queens(8, [3, 6, 8, 1, 4, 7, 5, 2])),
517
- by(rule("n-queens.pl", clause(3))),
518
- bindings([binding("N", 8), binding("Qs", [3, 6, 8, 1, 4, 7, 5, 2])]),
519
- uses([
520
- proof(
521
- goal(n_queens(8, [3, 6, 8, 1, 4, 7, 5, 2])),
522
- by(builtin(n_queens, 2))
523
- )
524
- ])
525
- )
526
- ])
527
- )
528
- ).
529
-
530
24
  solution(nQueens8, [3, 6, 8, 1, 5, 7, 2, 4]).
531
- why(
532
- solution(nQueens8, [3, 6, 8, 1, 5, 7, 2, 4]),
533
- proof(
534
- goal(solution(nQueens8, [3, 6, 8, 1, 5, 7, 2, 4])),
535
- by(rule("n-queens.pl", clause(4))),
536
- bindings([binding("Qs", [3, 6, 8, 1, 5, 7, 2, 4])]),
537
- uses([
538
- proof(
539
- goal(queens(8, [3, 6, 8, 1, 5, 7, 2, 4])),
540
- by(rule("n-queens.pl", clause(3))),
541
- bindings([binding("N", 8), binding("Qs", [3, 6, 8, 1, 5, 7, 2, 4])]),
542
- uses([
543
- proof(
544
- goal(n_queens(8, [3, 6, 8, 1, 5, 7, 2, 4])),
545
- by(builtin(n_queens, 2))
546
- )
547
- ])
548
- )
549
- ])
550
- )
551
- ).
552
-
553
25
  solution(nQueens8, [3, 6, 8, 2, 4, 1, 7, 5]).
554
- why(
555
- solution(nQueens8, [3, 6, 8, 2, 4, 1, 7, 5]),
556
- proof(
557
- goal(solution(nQueens8, [3, 6, 8, 2, 4, 1, 7, 5])),
558
- by(rule("n-queens.pl", clause(4))),
559
- bindings([binding("Qs", [3, 6, 8, 2, 4, 1, 7, 5])]),
560
- uses([
561
- proof(
562
- goal(queens(8, [3, 6, 8, 2, 4, 1, 7, 5])),
563
- by(rule("n-queens.pl", clause(3))),
564
- bindings([binding("N", 8), binding("Qs", [3, 6, 8, 2, 4, 1, 7, 5])]),
565
- uses([
566
- proof(
567
- goal(n_queens(8, [3, 6, 8, 2, 4, 1, 7, 5])),
568
- by(builtin(n_queens, 2))
569
- )
570
- ])
571
- )
572
- ])
573
- )
574
- ).
575
-
576
26
  solution(nQueens8, [3, 7, 2, 8, 5, 1, 4, 6]).
577
- why(
578
- solution(nQueens8, [3, 7, 2, 8, 5, 1, 4, 6]),
579
- proof(
580
- goal(solution(nQueens8, [3, 7, 2, 8, 5, 1, 4, 6])),
581
- by(rule("n-queens.pl", clause(4))),
582
- bindings([binding("Qs", [3, 7, 2, 8, 5, 1, 4, 6])]),
583
- uses([
584
- proof(
585
- goal(queens(8, [3, 7, 2, 8, 5, 1, 4, 6])),
586
- by(rule("n-queens.pl", clause(3))),
587
- bindings([binding("N", 8), binding("Qs", [3, 7, 2, 8, 5, 1, 4, 6])]),
588
- uses([
589
- proof(
590
- goal(n_queens(8, [3, 7, 2, 8, 5, 1, 4, 6])),
591
- by(builtin(n_queens, 2))
592
- )
593
- ])
594
- )
595
- ])
596
- )
597
- ).
598
-
599
27
  solution(nQueens8, [3, 7, 2, 8, 6, 4, 1, 5]).
600
- why(
601
- solution(nQueens8, [3, 7, 2, 8, 6, 4, 1, 5]),
602
- proof(
603
- goal(solution(nQueens8, [3, 7, 2, 8, 6, 4, 1, 5])),
604
- by(rule("n-queens.pl", clause(4))),
605
- bindings([binding("Qs", [3, 7, 2, 8, 6, 4, 1, 5])]),
606
- uses([
607
- proof(
608
- goal(queens(8, [3, 7, 2, 8, 6, 4, 1, 5])),
609
- by(rule("n-queens.pl", clause(3))),
610
- bindings([binding("N", 8), binding("Qs", [3, 7, 2, 8, 6, 4, 1, 5])]),
611
- uses([
612
- proof(
613
- goal(n_queens(8, [3, 7, 2, 8, 6, 4, 1, 5])),
614
- by(builtin(n_queens, 2))
615
- )
616
- ])
617
- )
618
- ])
619
- )
620
- ).
621
-
622
28
  solution(nQueens8, [3, 8, 4, 7, 1, 6, 2, 5]).
623
- why(
624
- solution(nQueens8, [3, 8, 4, 7, 1, 6, 2, 5]),
625
- proof(
626
- goal(solution(nQueens8, [3, 8, 4, 7, 1, 6, 2, 5])),
627
- by(rule("n-queens.pl", clause(4))),
628
- bindings([binding("Qs", [3, 8, 4, 7, 1, 6, 2, 5])]),
629
- uses([
630
- proof(
631
- goal(queens(8, [3, 8, 4, 7, 1, 6, 2, 5])),
632
- by(rule("n-queens.pl", clause(3))),
633
- bindings([binding("N", 8), binding("Qs", [3, 8, 4, 7, 1, 6, 2, 5])]),
634
- uses([
635
- proof(
636
- goal(n_queens(8, [3, 8, 4, 7, 1, 6, 2, 5])),
637
- by(builtin(n_queens, 2))
638
- )
639
- ])
640
- )
641
- ])
642
- )
643
- ).
644
-
645
29
  solution(nQueens8, [4, 1, 5, 8, 2, 7, 3, 6]).
646
- why(
647
- solution(nQueens8, [4, 1, 5, 8, 2, 7, 3, 6]),
648
- proof(
649
- goal(solution(nQueens8, [4, 1, 5, 8, 2, 7, 3, 6])),
650
- by(rule("n-queens.pl", clause(4))),
651
- bindings([binding("Qs", [4, 1, 5, 8, 2, 7, 3, 6])]),
652
- uses([
653
- proof(
654
- goal(queens(8, [4, 1, 5, 8, 2, 7, 3, 6])),
655
- by(rule("n-queens.pl", clause(3))),
656
- bindings([binding("N", 8), binding("Qs", [4, 1, 5, 8, 2, 7, 3, 6])]),
657
- uses([
658
- proof(
659
- goal(n_queens(8, [4, 1, 5, 8, 2, 7, 3, 6])),
660
- by(builtin(n_queens, 2))
661
- )
662
- ])
663
- )
664
- ])
665
- )
666
- ).
667
-
668
30
  solution(nQueens8, [4, 1, 5, 8, 6, 3, 7, 2]).
669
- why(
670
- solution(nQueens8, [4, 1, 5, 8, 6, 3, 7, 2]),
671
- proof(
672
- goal(solution(nQueens8, [4, 1, 5, 8, 6, 3, 7, 2])),
673
- by(rule("n-queens.pl", clause(4))),
674
- bindings([binding("Qs", [4, 1, 5, 8, 6, 3, 7, 2])]),
675
- uses([
676
- proof(
677
- goal(queens(8, [4, 1, 5, 8, 6, 3, 7, 2])),
678
- by(rule("n-queens.pl", clause(3))),
679
- bindings([binding("N", 8), binding("Qs", [4, 1, 5, 8, 6, 3, 7, 2])]),
680
- uses([
681
- proof(
682
- goal(n_queens(8, [4, 1, 5, 8, 6, 3, 7, 2])),
683
- by(builtin(n_queens, 2))
684
- )
685
- ])
686
- )
687
- ])
688
- )
689
- ).
690
-
691
31
  solution(nQueens8, [4, 2, 5, 8, 6, 1, 3, 7]).
692
- why(
693
- solution(nQueens8, [4, 2, 5, 8, 6, 1, 3, 7]),
694
- proof(
695
- goal(solution(nQueens8, [4, 2, 5, 8, 6, 1, 3, 7])),
696
- by(rule("n-queens.pl", clause(4))),
697
- bindings([binding("Qs", [4, 2, 5, 8, 6, 1, 3, 7])]),
698
- uses([
699
- proof(
700
- goal(queens(8, [4, 2, 5, 8, 6, 1, 3, 7])),
701
- by(rule("n-queens.pl", clause(3))),
702
- bindings([binding("N", 8), binding("Qs", [4, 2, 5, 8, 6, 1, 3, 7])]),
703
- uses([
704
- proof(
705
- goal(n_queens(8, [4, 2, 5, 8, 6, 1, 3, 7])),
706
- by(builtin(n_queens, 2))
707
- )
708
- ])
709
- )
710
- ])
711
- )
712
- ).
713
-
714
32
  solution(nQueens8, [4, 2, 7, 3, 6, 8, 1, 5]).
715
- why(
716
- solution(nQueens8, [4, 2, 7, 3, 6, 8, 1, 5]),
717
- proof(
718
- goal(solution(nQueens8, [4, 2, 7, 3, 6, 8, 1, 5])),
719
- by(rule("n-queens.pl", clause(4))),
720
- bindings([binding("Qs", [4, 2, 7, 3, 6, 8, 1, 5])]),
721
- uses([
722
- proof(
723
- goal(queens(8, [4, 2, 7, 3, 6, 8, 1, 5])),
724
- by(rule("n-queens.pl", clause(3))),
725
- bindings([binding("N", 8), binding("Qs", [4, 2, 7, 3, 6, 8, 1, 5])]),
726
- uses([
727
- proof(
728
- goal(n_queens(8, [4, 2, 7, 3, 6, 8, 1, 5])),
729
- by(builtin(n_queens, 2))
730
- )
731
- ])
732
- )
733
- ])
734
- )
735
- ).
736
-
737
33
  solution(nQueens8, [4, 2, 7, 3, 6, 8, 5, 1]).
738
- why(
739
- solution(nQueens8, [4, 2, 7, 3, 6, 8, 5, 1]),
740
- proof(
741
- goal(solution(nQueens8, [4, 2, 7, 3, 6, 8, 5, 1])),
742
- by(rule("n-queens.pl", clause(4))),
743
- bindings([binding("Qs", [4, 2, 7, 3, 6, 8, 5, 1])]),
744
- uses([
745
- proof(
746
- goal(queens(8, [4, 2, 7, 3, 6, 8, 5, 1])),
747
- by(rule("n-queens.pl", clause(3))),
748
- bindings([binding("N", 8), binding("Qs", [4, 2, 7, 3, 6, 8, 5, 1])]),
749
- uses([
750
- proof(
751
- goal(n_queens(8, [4, 2, 7, 3, 6, 8, 5, 1])),
752
- by(builtin(n_queens, 2))
753
- )
754
- ])
755
- )
756
- ])
757
- )
758
- ).
759
-
760
34
  solution(nQueens8, [4, 2, 7, 5, 1, 8, 6, 3]).
761
- why(
762
- solution(nQueens8, [4, 2, 7, 5, 1, 8, 6, 3]),
763
- proof(
764
- goal(solution(nQueens8, [4, 2, 7, 5, 1, 8, 6, 3])),
765
- by(rule("n-queens.pl", clause(4))),
766
- bindings([binding("Qs", [4, 2, 7, 5, 1, 8, 6, 3])]),
767
- uses([
768
- proof(
769
- goal(queens(8, [4, 2, 7, 5, 1, 8, 6, 3])),
770
- by(rule("n-queens.pl", clause(3))),
771
- bindings([binding("N", 8), binding("Qs", [4, 2, 7, 5, 1, 8, 6, 3])]),
772
- uses([
773
- proof(
774
- goal(n_queens(8, [4, 2, 7, 5, 1, 8, 6, 3])),
775
- by(builtin(n_queens, 2))
776
- )
777
- ])
778
- )
779
- ])
780
- )
781
- ).
782
-
783
35
  solution(nQueens8, [4, 2, 8, 5, 7, 1, 3, 6]).
784
- why(
785
- solution(nQueens8, [4, 2, 8, 5, 7, 1, 3, 6]),
786
- proof(
787
- goal(solution(nQueens8, [4, 2, 8, 5, 7, 1, 3, 6])),
788
- by(rule("n-queens.pl", clause(4))),
789
- bindings([binding("Qs", [4, 2, 8, 5, 7, 1, 3, 6])]),
790
- uses([
791
- proof(
792
- goal(queens(8, [4, 2, 8, 5, 7, 1, 3, 6])),
793
- by(rule("n-queens.pl", clause(3))),
794
- bindings([binding("N", 8), binding("Qs", [4, 2, 8, 5, 7, 1, 3, 6])]),
795
- uses([
796
- proof(
797
- goal(n_queens(8, [4, 2, 8, 5, 7, 1, 3, 6])),
798
- by(builtin(n_queens, 2))
799
- )
800
- ])
801
- )
802
- ])
803
- )
804
- ).
805
-
806
36
  solution(nQueens8, [4, 2, 8, 6, 1, 3, 5, 7]).
807
- why(
808
- solution(nQueens8, [4, 2, 8, 6, 1, 3, 5, 7]),
809
- proof(
810
- goal(solution(nQueens8, [4, 2, 8, 6, 1, 3, 5, 7])),
811
- by(rule("n-queens.pl", clause(4))),
812
- bindings([binding("Qs", [4, 2, 8, 6, 1, 3, 5, 7])]),
813
- uses([
814
- proof(
815
- goal(queens(8, [4, 2, 8, 6, 1, 3, 5, 7])),
816
- by(rule("n-queens.pl", clause(3))),
817
- bindings([binding("N", 8), binding("Qs", [4, 2, 8, 6, 1, 3, 5, 7])]),
818
- uses([
819
- proof(
820
- goal(n_queens(8, [4, 2, 8, 6, 1, 3, 5, 7])),
821
- by(builtin(n_queens, 2))
822
- )
823
- ])
824
- )
825
- ])
826
- )
827
- ).
828
-
829
37
  solution(nQueens8, [4, 6, 1, 5, 2, 8, 3, 7]).
830
- why(
831
- solution(nQueens8, [4, 6, 1, 5, 2, 8, 3, 7]),
832
- proof(
833
- goal(solution(nQueens8, [4, 6, 1, 5, 2, 8, 3, 7])),
834
- by(rule("n-queens.pl", clause(4))),
835
- bindings([binding("Qs", [4, 6, 1, 5, 2, 8, 3, 7])]),
836
- uses([
837
- proof(
838
- goal(queens(8, [4, 6, 1, 5, 2, 8, 3, 7])),
839
- by(rule("n-queens.pl", clause(3))),
840
- bindings([binding("N", 8), binding("Qs", [4, 6, 1, 5, 2, 8, 3, 7])]),
841
- uses([
842
- proof(
843
- goal(n_queens(8, [4, 6, 1, 5, 2, 8, 3, 7])),
844
- by(builtin(n_queens, 2))
845
- )
846
- ])
847
- )
848
- ])
849
- )
850
- ).
851
-
852
38
  solution(nQueens8, [4, 6, 8, 2, 7, 1, 3, 5]).
853
- why(
854
- solution(nQueens8, [4, 6, 8, 2, 7, 1, 3, 5]),
855
- proof(
856
- goal(solution(nQueens8, [4, 6, 8, 2, 7, 1, 3, 5])),
857
- by(rule("n-queens.pl", clause(4))),
858
- bindings([binding("Qs", [4, 6, 8, 2, 7, 1, 3, 5])]),
859
- uses([
860
- proof(
861
- goal(queens(8, [4, 6, 8, 2, 7, 1, 3, 5])),
862
- by(rule("n-queens.pl", clause(3))),
863
- bindings([binding("N", 8), binding("Qs", [4, 6, 8, 2, 7, 1, 3, 5])]),
864
- uses([
865
- proof(
866
- goal(n_queens(8, [4, 6, 8, 2, 7, 1, 3, 5])),
867
- by(builtin(n_queens, 2))
868
- )
869
- ])
870
- )
871
- ])
872
- )
873
- ).
874
-
875
39
  solution(nQueens8, [4, 6, 8, 3, 1, 7, 5, 2]).
876
- why(
877
- solution(nQueens8, [4, 6, 8, 3, 1, 7, 5, 2]),
878
- proof(
879
- goal(solution(nQueens8, [4, 6, 8, 3, 1, 7, 5, 2])),
880
- by(rule("n-queens.pl", clause(4))),
881
- bindings([binding("Qs", [4, 6, 8, 3, 1, 7, 5, 2])]),
882
- uses([
883
- proof(
884
- goal(queens(8, [4, 6, 8, 3, 1, 7, 5, 2])),
885
- by(rule("n-queens.pl", clause(3))),
886
- bindings([binding("N", 8), binding("Qs", [4, 6, 8, 3, 1, 7, 5, 2])]),
887
- uses([
888
- proof(
889
- goal(n_queens(8, [4, 6, 8, 3, 1, 7, 5, 2])),
890
- by(builtin(n_queens, 2))
891
- )
892
- ])
893
- )
894
- ])
895
- )
896
- ).
897
-
898
40
  solution(nQueens8, [4, 7, 1, 8, 5, 2, 6, 3]).
899
- why(
900
- solution(nQueens8, [4, 7, 1, 8, 5, 2, 6, 3]),
901
- proof(
902
- goal(solution(nQueens8, [4, 7, 1, 8, 5, 2, 6, 3])),
903
- by(rule("n-queens.pl", clause(4))),
904
- bindings([binding("Qs", [4, 7, 1, 8, 5, 2, 6, 3])]),
905
- uses([
906
- proof(
907
- goal(queens(8, [4, 7, 1, 8, 5, 2, 6, 3])),
908
- by(rule("n-queens.pl", clause(3))),
909
- bindings([binding("N", 8), binding("Qs", [4, 7, 1, 8, 5, 2, 6, 3])]),
910
- uses([
911
- proof(
912
- goal(n_queens(8, [4, 7, 1, 8, 5, 2, 6, 3])),
913
- by(builtin(n_queens, 2))
914
- )
915
- ])
916
- )
917
- ])
918
- )
919
- ).
920
-
921
41
  solution(nQueens8, [4, 7, 3, 8, 2, 5, 1, 6]).
922
- why(
923
- solution(nQueens8, [4, 7, 3, 8, 2, 5, 1, 6]),
924
- proof(
925
- goal(solution(nQueens8, [4, 7, 3, 8, 2, 5, 1, 6])),
926
- by(rule("n-queens.pl", clause(4))),
927
- bindings([binding("Qs", [4, 7, 3, 8, 2, 5, 1, 6])]),
928
- uses([
929
- proof(
930
- goal(queens(8, [4, 7, 3, 8, 2, 5, 1, 6])),
931
- by(rule("n-queens.pl", clause(3))),
932
- bindings([binding("N", 8), binding("Qs", [4, 7, 3, 8, 2, 5, 1, 6])]),
933
- uses([
934
- proof(
935
- goal(n_queens(8, [4, 7, 3, 8, 2, 5, 1, 6])),
936
- by(builtin(n_queens, 2))
937
- )
938
- ])
939
- )
940
- ])
941
- )
942
- ).
943
-
944
42
  solution(nQueens8, [4, 7, 5, 2, 6, 1, 3, 8]).
945
- why(
946
- solution(nQueens8, [4, 7, 5, 2, 6, 1, 3, 8]),
947
- proof(
948
- goal(solution(nQueens8, [4, 7, 5, 2, 6, 1, 3, 8])),
949
- by(rule("n-queens.pl", clause(4))),
950
- bindings([binding("Qs", [4, 7, 5, 2, 6, 1, 3, 8])]),
951
- uses([
952
- proof(
953
- goal(queens(8, [4, 7, 5, 2, 6, 1, 3, 8])),
954
- by(rule("n-queens.pl", clause(3))),
955
- bindings([binding("N", 8), binding("Qs", [4, 7, 5, 2, 6, 1, 3, 8])]),
956
- uses([
957
- proof(
958
- goal(n_queens(8, [4, 7, 5, 2, 6, 1, 3, 8])),
959
- by(builtin(n_queens, 2))
960
- )
961
- ])
962
- )
963
- ])
964
- )
965
- ).
966
-
967
43
  solution(nQueens8, [4, 7, 5, 3, 1, 6, 8, 2]).
968
- why(
969
- solution(nQueens8, [4, 7, 5, 3, 1, 6, 8, 2]),
970
- proof(
971
- goal(solution(nQueens8, [4, 7, 5, 3, 1, 6, 8, 2])),
972
- by(rule("n-queens.pl", clause(4))),
973
- bindings([binding("Qs", [4, 7, 5, 3, 1, 6, 8, 2])]),
974
- uses([
975
- proof(
976
- goal(queens(8, [4, 7, 5, 3, 1, 6, 8, 2])),
977
- by(rule("n-queens.pl", clause(3))),
978
- bindings([binding("N", 8), binding("Qs", [4, 7, 5, 3, 1, 6, 8, 2])]),
979
- uses([
980
- proof(
981
- goal(n_queens(8, [4, 7, 5, 3, 1, 6, 8, 2])),
982
- by(builtin(n_queens, 2))
983
- )
984
- ])
985
- )
986
- ])
987
- )
988
- ).
989
-
990
44
  solution(nQueens8, [4, 8, 1, 3, 6, 2, 7, 5]).
991
- why(
992
- solution(nQueens8, [4, 8, 1, 3, 6, 2, 7, 5]),
993
- proof(
994
- goal(solution(nQueens8, [4, 8, 1, 3, 6, 2, 7, 5])),
995
- by(rule("n-queens.pl", clause(4))),
996
- bindings([binding("Qs", [4, 8, 1, 3, 6, 2, 7, 5])]),
997
- uses([
998
- proof(
999
- goal(queens(8, [4, 8, 1, 3, 6, 2, 7, 5])),
1000
- by(rule("n-queens.pl", clause(3))),
1001
- bindings([binding("N", 8), binding("Qs", [4, 8, 1, 3, 6, 2, 7, 5])]),
1002
- uses([
1003
- proof(
1004
- goal(n_queens(8, [4, 8, 1, 3, 6, 2, 7, 5])),
1005
- by(builtin(n_queens, 2))
1006
- )
1007
- ])
1008
- )
1009
- ])
1010
- )
1011
- ).
1012
-
1013
45
  solution(nQueens8, [4, 8, 1, 5, 7, 2, 6, 3]).
1014
- why(
1015
- solution(nQueens8, [4, 8, 1, 5, 7, 2, 6, 3]),
1016
- proof(
1017
- goal(solution(nQueens8, [4, 8, 1, 5, 7, 2, 6, 3])),
1018
- by(rule("n-queens.pl", clause(4))),
1019
- bindings([binding("Qs", [4, 8, 1, 5, 7, 2, 6, 3])]),
1020
- uses([
1021
- proof(
1022
- goal(queens(8, [4, 8, 1, 5, 7, 2, 6, 3])),
1023
- by(rule("n-queens.pl", clause(3))),
1024
- bindings([binding("N", 8), binding("Qs", [4, 8, 1, 5, 7, 2, 6, 3])]),
1025
- uses([
1026
- proof(
1027
- goal(n_queens(8, [4, 8, 1, 5, 7, 2, 6, 3])),
1028
- by(builtin(n_queens, 2))
1029
- )
1030
- ])
1031
- )
1032
- ])
1033
- )
1034
- ).
1035
-
1036
46
  solution(nQueens8, [4, 8, 5, 3, 1, 7, 2, 6]).
1037
- why(
1038
- solution(nQueens8, [4, 8, 5, 3, 1, 7, 2, 6]),
1039
- proof(
1040
- goal(solution(nQueens8, [4, 8, 5, 3, 1, 7, 2, 6])),
1041
- by(rule("n-queens.pl", clause(4))),
1042
- bindings([binding("Qs", [4, 8, 5, 3, 1, 7, 2, 6])]),
1043
- uses([
1044
- proof(
1045
- goal(queens(8, [4, 8, 5, 3, 1, 7, 2, 6])),
1046
- by(rule("n-queens.pl", clause(3))),
1047
- bindings([binding("N", 8), binding("Qs", [4, 8, 5, 3, 1, 7, 2, 6])]),
1048
- uses([
1049
- proof(
1050
- goal(n_queens(8, [4, 8, 5, 3, 1, 7, 2, 6])),
1051
- by(builtin(n_queens, 2))
1052
- )
1053
- ])
1054
- )
1055
- ])
1056
- )
1057
- ).
1058
-
1059
47
  solution(nQueens8, [5, 1, 4, 6, 8, 2, 7, 3]).
1060
- why(
1061
- solution(nQueens8, [5, 1, 4, 6, 8, 2, 7, 3]),
1062
- proof(
1063
- goal(solution(nQueens8, [5, 1, 4, 6, 8, 2, 7, 3])),
1064
- by(rule("n-queens.pl", clause(4))),
1065
- bindings([binding("Qs", [5, 1, 4, 6, 8, 2, 7, 3])]),
1066
- uses([
1067
- proof(
1068
- goal(queens(8, [5, 1, 4, 6, 8, 2, 7, 3])),
1069
- by(rule("n-queens.pl", clause(3))),
1070
- bindings([binding("N", 8), binding("Qs", [5, 1, 4, 6, 8, 2, 7, 3])]),
1071
- uses([
1072
- proof(
1073
- goal(n_queens(8, [5, 1, 4, 6, 8, 2, 7, 3])),
1074
- by(builtin(n_queens, 2))
1075
- )
1076
- ])
1077
- )
1078
- ])
1079
- )
1080
- ).
1081
-
1082
48
  solution(nQueens8, [5, 1, 8, 4, 2, 7, 3, 6]).
1083
- why(
1084
- solution(nQueens8, [5, 1, 8, 4, 2, 7, 3, 6]),
1085
- proof(
1086
- goal(solution(nQueens8, [5, 1, 8, 4, 2, 7, 3, 6])),
1087
- by(rule("n-queens.pl", clause(4))),
1088
- bindings([binding("Qs", [5, 1, 8, 4, 2, 7, 3, 6])]),
1089
- uses([
1090
- proof(
1091
- goal(queens(8, [5, 1, 8, 4, 2, 7, 3, 6])),
1092
- by(rule("n-queens.pl", clause(3))),
1093
- bindings([binding("N", 8), binding("Qs", [5, 1, 8, 4, 2, 7, 3, 6])]),
1094
- uses([
1095
- proof(
1096
- goal(n_queens(8, [5, 1, 8, 4, 2, 7, 3, 6])),
1097
- by(builtin(n_queens, 2))
1098
- )
1099
- ])
1100
- )
1101
- ])
1102
- )
1103
- ).
1104
-
1105
49
  solution(nQueens8, [5, 1, 8, 6, 3, 7, 2, 4]).
1106
- why(
1107
- solution(nQueens8, [5, 1, 8, 6, 3, 7, 2, 4]),
1108
- proof(
1109
- goal(solution(nQueens8, [5, 1, 8, 6, 3, 7, 2, 4])),
1110
- by(rule("n-queens.pl", clause(4))),
1111
- bindings([binding("Qs", [5, 1, 8, 6, 3, 7, 2, 4])]),
1112
- uses([
1113
- proof(
1114
- goal(queens(8, [5, 1, 8, 6, 3, 7, 2, 4])),
1115
- by(rule("n-queens.pl", clause(3))),
1116
- bindings([binding("N", 8), binding("Qs", [5, 1, 8, 6, 3, 7, 2, 4])]),
1117
- uses([
1118
- proof(
1119
- goal(n_queens(8, [5, 1, 8, 6, 3, 7, 2, 4])),
1120
- by(builtin(n_queens, 2))
1121
- )
1122
- ])
1123
- )
1124
- ])
1125
- )
1126
- ).
1127
-
1128
50
  solution(nQueens8, [5, 2, 4, 6, 8, 3, 1, 7]).
1129
- why(
1130
- solution(nQueens8, [5, 2, 4, 6, 8, 3, 1, 7]),
1131
- proof(
1132
- goal(solution(nQueens8, [5, 2, 4, 6, 8, 3, 1, 7])),
1133
- by(rule("n-queens.pl", clause(4))),
1134
- bindings([binding("Qs", [5, 2, 4, 6, 8, 3, 1, 7])]),
1135
- uses([
1136
- proof(
1137
- goal(queens(8, [5, 2, 4, 6, 8, 3, 1, 7])),
1138
- by(rule("n-queens.pl", clause(3))),
1139
- bindings([binding("N", 8), binding("Qs", [5, 2, 4, 6, 8, 3, 1, 7])]),
1140
- uses([
1141
- proof(
1142
- goal(n_queens(8, [5, 2, 4, 6, 8, 3, 1, 7])),
1143
- by(builtin(n_queens, 2))
1144
- )
1145
- ])
1146
- )
1147
- ])
1148
- )
1149
- ).
1150
-
1151
51
  solution(nQueens8, [5, 2, 4, 7, 3, 8, 6, 1]).
1152
- why(
1153
- solution(nQueens8, [5, 2, 4, 7, 3, 8, 6, 1]),
1154
- proof(
1155
- goal(solution(nQueens8, [5, 2, 4, 7, 3, 8, 6, 1])),
1156
- by(rule("n-queens.pl", clause(4))),
1157
- bindings([binding("Qs", [5, 2, 4, 7, 3, 8, 6, 1])]),
1158
- uses([
1159
- proof(
1160
- goal(queens(8, [5, 2, 4, 7, 3, 8, 6, 1])),
1161
- by(rule("n-queens.pl", clause(3))),
1162
- bindings([binding("N", 8), binding("Qs", [5, 2, 4, 7, 3, 8, 6, 1])]),
1163
- uses([
1164
- proof(
1165
- goal(n_queens(8, [5, 2, 4, 7, 3, 8, 6, 1])),
1166
- by(builtin(n_queens, 2))
1167
- )
1168
- ])
1169
- )
1170
- ])
1171
- )
1172
- ).
1173
-
1174
52
  solution(nQueens8, [5, 2, 6, 1, 7, 4, 8, 3]).
1175
- why(
1176
- solution(nQueens8, [5, 2, 6, 1, 7, 4, 8, 3]),
1177
- proof(
1178
- goal(solution(nQueens8, [5, 2, 6, 1, 7, 4, 8, 3])),
1179
- by(rule("n-queens.pl", clause(4))),
1180
- bindings([binding("Qs", [5, 2, 6, 1, 7, 4, 8, 3])]),
1181
- uses([
1182
- proof(
1183
- goal(queens(8, [5, 2, 6, 1, 7, 4, 8, 3])),
1184
- by(rule("n-queens.pl", clause(3))),
1185
- bindings([binding("N", 8), binding("Qs", [5, 2, 6, 1, 7, 4, 8, 3])]),
1186
- uses([
1187
- proof(
1188
- goal(n_queens(8, [5, 2, 6, 1, 7, 4, 8, 3])),
1189
- by(builtin(n_queens, 2))
1190
- )
1191
- ])
1192
- )
1193
- ])
1194
- )
1195
- ).
1196
-
1197
53
  solution(nQueens8, [5, 2, 8, 1, 4, 7, 3, 6]).
1198
- why(
1199
- solution(nQueens8, [5, 2, 8, 1, 4, 7, 3, 6]),
1200
- proof(
1201
- goal(solution(nQueens8, [5, 2, 8, 1, 4, 7, 3, 6])),
1202
- by(rule("n-queens.pl", clause(4))),
1203
- bindings([binding("Qs", [5, 2, 8, 1, 4, 7, 3, 6])]),
1204
- uses([
1205
- proof(
1206
- goal(queens(8, [5, 2, 8, 1, 4, 7, 3, 6])),
1207
- by(rule("n-queens.pl", clause(3))),
1208
- bindings([binding("N", 8), binding("Qs", [5, 2, 8, 1, 4, 7, 3, 6])]),
1209
- uses([
1210
- proof(
1211
- goal(n_queens(8, [5, 2, 8, 1, 4, 7, 3, 6])),
1212
- by(builtin(n_queens, 2))
1213
- )
1214
- ])
1215
- )
1216
- ])
1217
- )
1218
- ).
1219
-
1220
54
  solution(nQueens8, [5, 3, 1, 6, 8, 2, 4, 7]).
1221
- why(
1222
- solution(nQueens8, [5, 3, 1, 6, 8, 2, 4, 7]),
1223
- proof(
1224
- goal(solution(nQueens8, [5, 3, 1, 6, 8, 2, 4, 7])),
1225
- by(rule("n-queens.pl", clause(4))),
1226
- bindings([binding("Qs", [5, 3, 1, 6, 8, 2, 4, 7])]),
1227
- uses([
1228
- proof(
1229
- goal(queens(8, [5, 3, 1, 6, 8, 2, 4, 7])),
1230
- by(rule("n-queens.pl", clause(3))),
1231
- bindings([binding("N", 8), binding("Qs", [5, 3, 1, 6, 8, 2, 4, 7])]),
1232
- uses([
1233
- proof(
1234
- goal(n_queens(8, [5, 3, 1, 6, 8, 2, 4, 7])),
1235
- by(builtin(n_queens, 2))
1236
- )
1237
- ])
1238
- )
1239
- ])
1240
- )
1241
- ).
1242
-
1243
55
  solution(nQueens8, [5, 3, 1, 7, 2, 8, 6, 4]).
1244
- why(
1245
- solution(nQueens8, [5, 3, 1, 7, 2, 8, 6, 4]),
1246
- proof(
1247
- goal(solution(nQueens8, [5, 3, 1, 7, 2, 8, 6, 4])),
1248
- by(rule("n-queens.pl", clause(4))),
1249
- bindings([binding("Qs", [5, 3, 1, 7, 2, 8, 6, 4])]),
1250
- uses([
1251
- proof(
1252
- goal(queens(8, [5, 3, 1, 7, 2, 8, 6, 4])),
1253
- by(rule("n-queens.pl", clause(3))),
1254
- bindings([binding("N", 8), binding("Qs", [5, 3, 1, 7, 2, 8, 6, 4])]),
1255
- uses([
1256
- proof(
1257
- goal(n_queens(8, [5, 3, 1, 7, 2, 8, 6, 4])),
1258
- by(builtin(n_queens, 2))
1259
- )
1260
- ])
1261
- )
1262
- ])
1263
- )
1264
- ).
1265
-
1266
56
  solution(nQueens8, [5, 3, 8, 4, 7, 1, 6, 2]).
1267
- why(
1268
- solution(nQueens8, [5, 3, 8, 4, 7, 1, 6, 2]),
1269
- proof(
1270
- goal(solution(nQueens8, [5, 3, 8, 4, 7, 1, 6, 2])),
1271
- by(rule("n-queens.pl", clause(4))),
1272
- bindings([binding("Qs", [5, 3, 8, 4, 7, 1, 6, 2])]),
1273
- uses([
1274
- proof(
1275
- goal(queens(8, [5, 3, 8, 4, 7, 1, 6, 2])),
1276
- by(rule("n-queens.pl", clause(3))),
1277
- bindings([binding("N", 8), binding("Qs", [5, 3, 8, 4, 7, 1, 6, 2])]),
1278
- uses([
1279
- proof(
1280
- goal(n_queens(8, [5, 3, 8, 4, 7, 1, 6, 2])),
1281
- by(builtin(n_queens, 2))
1282
- )
1283
- ])
1284
- )
1285
- ])
1286
- )
1287
- ).
1288
-
1289
57
  solution(nQueens8, [5, 7, 1, 3, 8, 6, 4, 2]).
1290
- why(
1291
- solution(nQueens8, [5, 7, 1, 3, 8, 6, 4, 2]),
1292
- proof(
1293
- goal(solution(nQueens8, [5, 7, 1, 3, 8, 6, 4, 2])),
1294
- by(rule("n-queens.pl", clause(4))),
1295
- bindings([binding("Qs", [5, 7, 1, 3, 8, 6, 4, 2])]),
1296
- uses([
1297
- proof(
1298
- goal(queens(8, [5, 7, 1, 3, 8, 6, 4, 2])),
1299
- by(rule("n-queens.pl", clause(3))),
1300
- bindings([binding("N", 8), binding("Qs", [5, 7, 1, 3, 8, 6, 4, 2])]),
1301
- uses([
1302
- proof(
1303
- goal(n_queens(8, [5, 7, 1, 3, 8, 6, 4, 2])),
1304
- by(builtin(n_queens, 2))
1305
- )
1306
- ])
1307
- )
1308
- ])
1309
- )
1310
- ).
1311
-
1312
58
  solution(nQueens8, [5, 7, 1, 4, 2, 8, 6, 3]).
1313
- why(
1314
- solution(nQueens8, [5, 7, 1, 4, 2, 8, 6, 3]),
1315
- proof(
1316
- goal(solution(nQueens8, [5, 7, 1, 4, 2, 8, 6, 3])),
1317
- by(rule("n-queens.pl", clause(4))),
1318
- bindings([binding("Qs", [5, 7, 1, 4, 2, 8, 6, 3])]),
1319
- uses([
1320
- proof(
1321
- goal(queens(8, [5, 7, 1, 4, 2, 8, 6, 3])),
1322
- by(rule("n-queens.pl", clause(3))),
1323
- bindings([binding("N", 8), binding("Qs", [5, 7, 1, 4, 2, 8, 6, 3])]),
1324
- uses([
1325
- proof(
1326
- goal(n_queens(8, [5, 7, 1, 4, 2, 8, 6, 3])),
1327
- by(builtin(n_queens, 2))
1328
- )
1329
- ])
1330
- )
1331
- ])
1332
- )
1333
- ).
1334
-
1335
59
  solution(nQueens8, [5, 7, 2, 4, 8, 1, 3, 6]).
1336
- why(
1337
- solution(nQueens8, [5, 7, 2, 4, 8, 1, 3, 6]),
1338
- proof(
1339
- goal(solution(nQueens8, [5, 7, 2, 4, 8, 1, 3, 6])),
1340
- by(rule("n-queens.pl", clause(4))),
1341
- bindings([binding("Qs", [5, 7, 2, 4, 8, 1, 3, 6])]),
1342
- uses([
1343
- proof(
1344
- goal(queens(8, [5, 7, 2, 4, 8, 1, 3, 6])),
1345
- by(rule("n-queens.pl", clause(3))),
1346
- bindings([binding("N", 8), binding("Qs", [5, 7, 2, 4, 8, 1, 3, 6])]),
1347
- uses([
1348
- proof(
1349
- goal(n_queens(8, [5, 7, 2, 4, 8, 1, 3, 6])),
1350
- by(builtin(n_queens, 2))
1351
- )
1352
- ])
1353
- )
1354
- ])
1355
- )
1356
- ).
1357
-
1358
60
  solution(nQueens8, [5, 7, 2, 6, 3, 1, 4, 8]).
1359
- why(
1360
- solution(nQueens8, [5, 7, 2, 6, 3, 1, 4, 8]),
1361
- proof(
1362
- goal(solution(nQueens8, [5, 7, 2, 6, 3, 1, 4, 8])),
1363
- by(rule("n-queens.pl", clause(4))),
1364
- bindings([binding("Qs", [5, 7, 2, 6, 3, 1, 4, 8])]),
1365
- uses([
1366
- proof(
1367
- goal(queens(8, [5, 7, 2, 6, 3, 1, 4, 8])),
1368
- by(rule("n-queens.pl", clause(3))),
1369
- bindings([binding("N", 8), binding("Qs", [5, 7, 2, 6, 3, 1, 4, 8])]),
1370
- uses([
1371
- proof(
1372
- goal(n_queens(8, [5, 7, 2, 6, 3, 1, 4, 8])),
1373
- by(builtin(n_queens, 2))
1374
- )
1375
- ])
1376
- )
1377
- ])
1378
- )
1379
- ).
1380
-
1381
61
  solution(nQueens8, [5, 7, 2, 6, 3, 1, 8, 4]).
1382
- why(
1383
- solution(nQueens8, [5, 7, 2, 6, 3, 1, 8, 4]),
1384
- proof(
1385
- goal(solution(nQueens8, [5, 7, 2, 6, 3, 1, 8, 4])),
1386
- by(rule("n-queens.pl", clause(4))),
1387
- bindings([binding("Qs", [5, 7, 2, 6, 3, 1, 8, 4])]),
1388
- uses([
1389
- proof(
1390
- goal(queens(8, [5, 7, 2, 6, 3, 1, 8, 4])),
1391
- by(rule("n-queens.pl", clause(3))),
1392
- bindings([binding("N", 8), binding("Qs", [5, 7, 2, 6, 3, 1, 8, 4])]),
1393
- uses([
1394
- proof(
1395
- goal(n_queens(8, [5, 7, 2, 6, 3, 1, 8, 4])),
1396
- by(builtin(n_queens, 2))
1397
- )
1398
- ])
1399
- )
1400
- ])
1401
- )
1402
- ).
1403
-
1404
62
  solution(nQueens8, [5, 7, 4, 1, 3, 8, 6, 2]).
1405
- why(
1406
- solution(nQueens8, [5, 7, 4, 1, 3, 8, 6, 2]),
1407
- proof(
1408
- goal(solution(nQueens8, [5, 7, 4, 1, 3, 8, 6, 2])),
1409
- by(rule("n-queens.pl", clause(4))),
1410
- bindings([binding("Qs", [5, 7, 4, 1, 3, 8, 6, 2])]),
1411
- uses([
1412
- proof(
1413
- goal(queens(8, [5, 7, 4, 1, 3, 8, 6, 2])),
1414
- by(rule("n-queens.pl", clause(3))),
1415
- bindings([binding("N", 8), binding("Qs", [5, 7, 4, 1, 3, 8, 6, 2])]),
1416
- uses([
1417
- proof(
1418
- goal(n_queens(8, [5, 7, 4, 1, 3, 8, 6, 2])),
1419
- by(builtin(n_queens, 2))
1420
- )
1421
- ])
1422
- )
1423
- ])
1424
- )
1425
- ).
1426
-
1427
63
  solution(nQueens8, [5, 8, 4, 1, 3, 6, 2, 7]).
1428
- why(
1429
- solution(nQueens8, [5, 8, 4, 1, 3, 6, 2, 7]),
1430
- proof(
1431
- goal(solution(nQueens8, [5, 8, 4, 1, 3, 6, 2, 7])),
1432
- by(rule("n-queens.pl", clause(4))),
1433
- bindings([binding("Qs", [5, 8, 4, 1, 3, 6, 2, 7])]),
1434
- uses([
1435
- proof(
1436
- goal(queens(8, [5, 8, 4, 1, 3, 6, 2, 7])),
1437
- by(rule("n-queens.pl", clause(3))),
1438
- bindings([binding("N", 8), binding("Qs", [5, 8, 4, 1, 3, 6, 2, 7])]),
1439
- uses([
1440
- proof(
1441
- goal(n_queens(8, [5, 8, 4, 1, 3, 6, 2, 7])),
1442
- by(builtin(n_queens, 2))
1443
- )
1444
- ])
1445
- )
1446
- ])
1447
- )
1448
- ).
1449
-
1450
64
  solution(nQueens8, [5, 8, 4, 1, 7, 2, 6, 3]).
1451
- why(
1452
- solution(nQueens8, [5, 8, 4, 1, 7, 2, 6, 3]),
1453
- proof(
1454
- goal(solution(nQueens8, [5, 8, 4, 1, 7, 2, 6, 3])),
1455
- by(rule("n-queens.pl", clause(4))),
1456
- bindings([binding("Qs", [5, 8, 4, 1, 7, 2, 6, 3])]),
1457
- uses([
1458
- proof(
1459
- goal(queens(8, [5, 8, 4, 1, 7, 2, 6, 3])),
1460
- by(rule("n-queens.pl", clause(3))),
1461
- bindings([binding("N", 8), binding("Qs", [5, 8, 4, 1, 7, 2, 6, 3])]),
1462
- uses([
1463
- proof(
1464
- goal(n_queens(8, [5, 8, 4, 1, 7, 2, 6, 3])),
1465
- by(builtin(n_queens, 2))
1466
- )
1467
- ])
1468
- )
1469
- ])
1470
- )
1471
- ).
1472
-
1473
65
  solution(nQueens8, [6, 1, 5, 2, 8, 3, 7, 4]).
1474
- why(
1475
- solution(nQueens8, [6, 1, 5, 2, 8, 3, 7, 4]),
1476
- proof(
1477
- goal(solution(nQueens8, [6, 1, 5, 2, 8, 3, 7, 4])),
1478
- by(rule("n-queens.pl", clause(4))),
1479
- bindings([binding("Qs", [6, 1, 5, 2, 8, 3, 7, 4])]),
1480
- uses([
1481
- proof(
1482
- goal(queens(8, [6, 1, 5, 2, 8, 3, 7, 4])),
1483
- by(rule("n-queens.pl", clause(3))),
1484
- bindings([binding("N", 8), binding("Qs", [6, 1, 5, 2, 8, 3, 7, 4])]),
1485
- uses([
1486
- proof(
1487
- goal(n_queens(8, [6, 1, 5, 2, 8, 3, 7, 4])),
1488
- by(builtin(n_queens, 2))
1489
- )
1490
- ])
1491
- )
1492
- ])
1493
- )
1494
- ).
1495
-
1496
66
  solution(nQueens8, [6, 2, 7, 1, 3, 5, 8, 4]).
1497
- why(
1498
- solution(nQueens8, [6, 2, 7, 1, 3, 5, 8, 4]),
1499
- proof(
1500
- goal(solution(nQueens8, [6, 2, 7, 1, 3, 5, 8, 4])),
1501
- by(rule("n-queens.pl", clause(4))),
1502
- bindings([binding("Qs", [6, 2, 7, 1, 3, 5, 8, 4])]),
1503
- uses([
1504
- proof(
1505
- goal(queens(8, [6, 2, 7, 1, 3, 5, 8, 4])),
1506
- by(rule("n-queens.pl", clause(3))),
1507
- bindings([binding("N", 8), binding("Qs", [6, 2, 7, 1, 3, 5, 8, 4])]),
1508
- uses([
1509
- proof(
1510
- goal(n_queens(8, [6, 2, 7, 1, 3, 5, 8, 4])),
1511
- by(builtin(n_queens, 2))
1512
- )
1513
- ])
1514
- )
1515
- ])
1516
- )
1517
- ).
1518
-
1519
67
  solution(nQueens8, [6, 2, 7, 1, 4, 8, 5, 3]).
1520
- why(
1521
- solution(nQueens8, [6, 2, 7, 1, 4, 8, 5, 3]),
1522
- proof(
1523
- goal(solution(nQueens8, [6, 2, 7, 1, 4, 8, 5, 3])),
1524
- by(rule("n-queens.pl", clause(4))),
1525
- bindings([binding("Qs", [6, 2, 7, 1, 4, 8, 5, 3])]),
1526
- uses([
1527
- proof(
1528
- goal(queens(8, [6, 2, 7, 1, 4, 8, 5, 3])),
1529
- by(rule("n-queens.pl", clause(3))),
1530
- bindings([binding("N", 8), binding("Qs", [6, 2, 7, 1, 4, 8, 5, 3])]),
1531
- uses([
1532
- proof(
1533
- goal(n_queens(8, [6, 2, 7, 1, 4, 8, 5, 3])),
1534
- by(builtin(n_queens, 2))
1535
- )
1536
- ])
1537
- )
1538
- ])
1539
- )
1540
- ).
1541
-
1542
68
  solution(nQueens8, [6, 3, 1, 7, 5, 8, 2, 4]).
1543
- why(
1544
- solution(nQueens8, [6, 3, 1, 7, 5, 8, 2, 4]),
1545
- proof(
1546
- goal(solution(nQueens8, [6, 3, 1, 7, 5, 8, 2, 4])),
1547
- by(rule("n-queens.pl", clause(4))),
1548
- bindings([binding("Qs", [6, 3, 1, 7, 5, 8, 2, 4])]),
1549
- uses([
1550
- proof(
1551
- goal(queens(8, [6, 3, 1, 7, 5, 8, 2, 4])),
1552
- by(rule("n-queens.pl", clause(3))),
1553
- bindings([binding("N", 8), binding("Qs", [6, 3, 1, 7, 5, 8, 2, 4])]),
1554
- uses([
1555
- proof(
1556
- goal(n_queens(8, [6, 3, 1, 7, 5, 8, 2, 4])),
1557
- by(builtin(n_queens, 2))
1558
- )
1559
- ])
1560
- )
1561
- ])
1562
- )
1563
- ).
1564
-
1565
69
  solution(nQueens8, [6, 3, 1, 8, 4, 2, 7, 5]).
1566
- why(
1567
- solution(nQueens8, [6, 3, 1, 8, 4, 2, 7, 5]),
1568
- proof(
1569
- goal(solution(nQueens8, [6, 3, 1, 8, 4, 2, 7, 5])),
1570
- by(rule("n-queens.pl", clause(4))),
1571
- bindings([binding("Qs", [6, 3, 1, 8, 4, 2, 7, 5])]),
1572
- uses([
1573
- proof(
1574
- goal(queens(8, [6, 3, 1, 8, 4, 2, 7, 5])),
1575
- by(rule("n-queens.pl", clause(3))),
1576
- bindings([binding("N", 8), binding("Qs", [6, 3, 1, 8, 4, 2, 7, 5])]),
1577
- uses([
1578
- proof(
1579
- goal(n_queens(8, [6, 3, 1, 8, 4, 2, 7, 5])),
1580
- by(builtin(n_queens, 2))
1581
- )
1582
- ])
1583
- )
1584
- ])
1585
- )
1586
- ).
1587
-
1588
70
  solution(nQueens8, [6, 3, 1, 8, 5, 2, 4, 7]).
1589
- why(
1590
- solution(nQueens8, [6, 3, 1, 8, 5, 2, 4, 7]),
1591
- proof(
1592
- goal(solution(nQueens8, [6, 3, 1, 8, 5, 2, 4, 7])),
1593
- by(rule("n-queens.pl", clause(4))),
1594
- bindings([binding("Qs", [6, 3, 1, 8, 5, 2, 4, 7])]),
1595
- uses([
1596
- proof(
1597
- goal(queens(8, [6, 3, 1, 8, 5, 2, 4, 7])),
1598
- by(rule("n-queens.pl", clause(3))),
1599
- bindings([binding("N", 8), binding("Qs", [6, 3, 1, 8, 5, 2, 4, 7])]),
1600
- uses([
1601
- proof(
1602
- goal(n_queens(8, [6, 3, 1, 8, 5, 2, 4, 7])),
1603
- by(builtin(n_queens, 2))
1604
- )
1605
- ])
1606
- )
1607
- ])
1608
- )
1609
- ).
1610
-
1611
71
  solution(nQueens8, [6, 3, 5, 7, 1, 4, 2, 8]).
1612
- why(
1613
- solution(nQueens8, [6, 3, 5, 7, 1, 4, 2, 8]),
1614
- proof(
1615
- goal(solution(nQueens8, [6, 3, 5, 7, 1, 4, 2, 8])),
1616
- by(rule("n-queens.pl", clause(4))),
1617
- bindings([binding("Qs", [6, 3, 5, 7, 1, 4, 2, 8])]),
1618
- uses([
1619
- proof(
1620
- goal(queens(8, [6, 3, 5, 7, 1, 4, 2, 8])),
1621
- by(rule("n-queens.pl", clause(3))),
1622
- bindings([binding("N", 8), binding("Qs", [6, 3, 5, 7, 1, 4, 2, 8])]),
1623
- uses([
1624
- proof(
1625
- goal(n_queens(8, [6, 3, 5, 7, 1, 4, 2, 8])),
1626
- by(builtin(n_queens, 2))
1627
- )
1628
- ])
1629
- )
1630
- ])
1631
- )
1632
- ).
1633
-
1634
72
  solution(nQueens8, [6, 3, 5, 8, 1, 4, 2, 7]).
1635
- why(
1636
- solution(nQueens8, [6, 3, 5, 8, 1, 4, 2, 7]),
1637
- proof(
1638
- goal(solution(nQueens8, [6, 3, 5, 8, 1, 4, 2, 7])),
1639
- by(rule("n-queens.pl", clause(4))),
1640
- bindings([binding("Qs", [6, 3, 5, 8, 1, 4, 2, 7])]),
1641
- uses([
1642
- proof(
1643
- goal(queens(8, [6, 3, 5, 8, 1, 4, 2, 7])),
1644
- by(rule("n-queens.pl", clause(3))),
1645
- bindings([binding("N", 8), binding("Qs", [6, 3, 5, 8, 1, 4, 2, 7])]),
1646
- uses([
1647
- proof(
1648
- goal(n_queens(8, [6, 3, 5, 8, 1, 4, 2, 7])),
1649
- by(builtin(n_queens, 2))
1650
- )
1651
- ])
1652
- )
1653
- ])
1654
- )
1655
- ).
1656
-
1657
73
  solution(nQueens8, [6, 3, 7, 2, 4, 8, 1, 5]).
1658
- why(
1659
- solution(nQueens8, [6, 3, 7, 2, 4, 8, 1, 5]),
1660
- proof(
1661
- goal(solution(nQueens8, [6, 3, 7, 2, 4, 8, 1, 5])),
1662
- by(rule("n-queens.pl", clause(4))),
1663
- bindings([binding("Qs", [6, 3, 7, 2, 4, 8, 1, 5])]),
1664
- uses([
1665
- proof(
1666
- goal(queens(8, [6, 3, 7, 2, 4, 8, 1, 5])),
1667
- by(rule("n-queens.pl", clause(3))),
1668
- bindings([binding("N", 8), binding("Qs", [6, 3, 7, 2, 4, 8, 1, 5])]),
1669
- uses([
1670
- proof(
1671
- goal(n_queens(8, [6, 3, 7, 2, 4, 8, 1, 5])),
1672
- by(builtin(n_queens, 2))
1673
- )
1674
- ])
1675
- )
1676
- ])
1677
- )
1678
- ).
1679
-
1680
74
  solution(nQueens8, [6, 3, 7, 2, 8, 5, 1, 4]).
1681
- why(
1682
- solution(nQueens8, [6, 3, 7, 2, 8, 5, 1, 4]),
1683
- proof(
1684
- goal(solution(nQueens8, [6, 3, 7, 2, 8, 5, 1, 4])),
1685
- by(rule("n-queens.pl", clause(4))),
1686
- bindings([binding("Qs", [6, 3, 7, 2, 8, 5, 1, 4])]),
1687
- uses([
1688
- proof(
1689
- goal(queens(8, [6, 3, 7, 2, 8, 5, 1, 4])),
1690
- by(rule("n-queens.pl", clause(3))),
1691
- bindings([binding("N", 8), binding("Qs", [6, 3, 7, 2, 8, 5, 1, 4])]),
1692
- uses([
1693
- proof(
1694
- goal(n_queens(8, [6, 3, 7, 2, 8, 5, 1, 4])),
1695
- by(builtin(n_queens, 2))
1696
- )
1697
- ])
1698
- )
1699
- ])
1700
- )
1701
- ).
1702
-
1703
75
  solution(nQueens8, [6, 3, 7, 4, 1, 8, 2, 5]).
1704
- why(
1705
- solution(nQueens8, [6, 3, 7, 4, 1, 8, 2, 5]),
1706
- proof(
1707
- goal(solution(nQueens8, [6, 3, 7, 4, 1, 8, 2, 5])),
1708
- by(rule("n-queens.pl", clause(4))),
1709
- bindings([binding("Qs", [6, 3, 7, 4, 1, 8, 2, 5])]),
1710
- uses([
1711
- proof(
1712
- goal(queens(8, [6, 3, 7, 4, 1, 8, 2, 5])),
1713
- by(rule("n-queens.pl", clause(3))),
1714
- bindings([binding("N", 8), binding("Qs", [6, 3, 7, 4, 1, 8, 2, 5])]),
1715
- uses([
1716
- proof(
1717
- goal(n_queens(8, [6, 3, 7, 4, 1, 8, 2, 5])),
1718
- by(builtin(n_queens, 2))
1719
- )
1720
- ])
1721
- )
1722
- ])
1723
- )
1724
- ).
1725
-
1726
76
  solution(nQueens8, [6, 4, 1, 5, 8, 2, 7, 3]).
1727
- why(
1728
- solution(nQueens8, [6, 4, 1, 5, 8, 2, 7, 3]),
1729
- proof(
1730
- goal(solution(nQueens8, [6, 4, 1, 5, 8, 2, 7, 3])),
1731
- by(rule("n-queens.pl", clause(4))),
1732
- bindings([binding("Qs", [6, 4, 1, 5, 8, 2, 7, 3])]),
1733
- uses([
1734
- proof(
1735
- goal(queens(8, [6, 4, 1, 5, 8, 2, 7, 3])),
1736
- by(rule("n-queens.pl", clause(3))),
1737
- bindings([binding("N", 8), binding("Qs", [6, 4, 1, 5, 8, 2, 7, 3])]),
1738
- uses([
1739
- proof(
1740
- goal(n_queens(8, [6, 4, 1, 5, 8, 2, 7, 3])),
1741
- by(builtin(n_queens, 2))
1742
- )
1743
- ])
1744
- )
1745
- ])
1746
- )
1747
- ).
1748
-
1749
77
  solution(nQueens8, [6, 4, 2, 8, 5, 7, 1, 3]).
1750
- why(
1751
- solution(nQueens8, [6, 4, 2, 8, 5, 7, 1, 3]),
1752
- proof(
1753
- goal(solution(nQueens8, [6, 4, 2, 8, 5, 7, 1, 3])),
1754
- by(rule("n-queens.pl", clause(4))),
1755
- bindings([binding("Qs", [6, 4, 2, 8, 5, 7, 1, 3])]),
1756
- uses([
1757
- proof(
1758
- goal(queens(8, [6, 4, 2, 8, 5, 7, 1, 3])),
1759
- by(rule("n-queens.pl", clause(3))),
1760
- bindings([binding("N", 8), binding("Qs", [6, 4, 2, 8, 5, 7, 1, 3])]),
1761
- uses([
1762
- proof(
1763
- goal(n_queens(8, [6, 4, 2, 8, 5, 7, 1, 3])),
1764
- by(builtin(n_queens, 2))
1765
- )
1766
- ])
1767
- )
1768
- ])
1769
- )
1770
- ).
1771
-
1772
78
  solution(nQueens8, [6, 4, 7, 1, 3, 5, 2, 8]).
1773
- why(
1774
- solution(nQueens8, [6, 4, 7, 1, 3, 5, 2, 8]),
1775
- proof(
1776
- goal(solution(nQueens8, [6, 4, 7, 1, 3, 5, 2, 8])),
1777
- by(rule("n-queens.pl", clause(4))),
1778
- bindings([binding("Qs", [6, 4, 7, 1, 3, 5, 2, 8])]),
1779
- uses([
1780
- proof(
1781
- goal(queens(8, [6, 4, 7, 1, 3, 5, 2, 8])),
1782
- by(rule("n-queens.pl", clause(3))),
1783
- bindings([binding("N", 8), binding("Qs", [6, 4, 7, 1, 3, 5, 2, 8])]),
1784
- uses([
1785
- proof(
1786
- goal(n_queens(8, [6, 4, 7, 1, 3, 5, 2, 8])),
1787
- by(builtin(n_queens, 2))
1788
- )
1789
- ])
1790
- )
1791
- ])
1792
- )
1793
- ).
1794
-
1795
79
  solution(nQueens8, [6, 4, 7, 1, 8, 2, 5, 3]).
1796
- why(
1797
- solution(nQueens8, [6, 4, 7, 1, 8, 2, 5, 3]),
1798
- proof(
1799
- goal(solution(nQueens8, [6, 4, 7, 1, 8, 2, 5, 3])),
1800
- by(rule("n-queens.pl", clause(4))),
1801
- bindings([binding("Qs", [6, 4, 7, 1, 8, 2, 5, 3])]),
1802
- uses([
1803
- proof(
1804
- goal(queens(8, [6, 4, 7, 1, 8, 2, 5, 3])),
1805
- by(rule("n-queens.pl", clause(3))),
1806
- bindings([binding("N", 8), binding("Qs", [6, 4, 7, 1, 8, 2, 5, 3])]),
1807
- uses([
1808
- proof(
1809
- goal(n_queens(8, [6, 4, 7, 1, 8, 2, 5, 3])),
1810
- by(builtin(n_queens, 2))
1811
- )
1812
- ])
1813
- )
1814
- ])
1815
- )
1816
- ).
1817
-
1818
80
  solution(nQueens8, [6, 8, 2, 4, 1, 7, 5, 3]).
1819
- why(
1820
- solution(nQueens8, [6, 8, 2, 4, 1, 7, 5, 3]),
1821
- proof(
1822
- goal(solution(nQueens8, [6, 8, 2, 4, 1, 7, 5, 3])),
1823
- by(rule("n-queens.pl", clause(4))),
1824
- bindings([binding("Qs", [6, 8, 2, 4, 1, 7, 5, 3])]),
1825
- uses([
1826
- proof(
1827
- goal(queens(8, [6, 8, 2, 4, 1, 7, 5, 3])),
1828
- by(rule("n-queens.pl", clause(3))),
1829
- bindings([binding("N", 8), binding("Qs", [6, 8, 2, 4, 1, 7, 5, 3])]),
1830
- uses([
1831
- proof(
1832
- goal(n_queens(8, [6, 8, 2, 4, 1, 7, 5, 3])),
1833
- by(builtin(n_queens, 2))
1834
- )
1835
- ])
1836
- )
1837
- ])
1838
- )
1839
- ).
1840
-
1841
81
  solution(nQueens8, [7, 1, 3, 8, 6, 4, 2, 5]).
1842
- why(
1843
- solution(nQueens8, [7, 1, 3, 8, 6, 4, 2, 5]),
1844
- proof(
1845
- goal(solution(nQueens8, [7, 1, 3, 8, 6, 4, 2, 5])),
1846
- by(rule("n-queens.pl", clause(4))),
1847
- bindings([binding("Qs", [7, 1, 3, 8, 6, 4, 2, 5])]),
1848
- uses([
1849
- proof(
1850
- goal(queens(8, [7, 1, 3, 8, 6, 4, 2, 5])),
1851
- by(rule("n-queens.pl", clause(3))),
1852
- bindings([binding("N", 8), binding("Qs", [7, 1, 3, 8, 6, 4, 2, 5])]),
1853
- uses([
1854
- proof(
1855
- goal(n_queens(8, [7, 1, 3, 8, 6, 4, 2, 5])),
1856
- by(builtin(n_queens, 2))
1857
- )
1858
- ])
1859
- )
1860
- ])
1861
- )
1862
- ).
1863
-
1864
82
  solution(nQueens8, [7, 2, 4, 1, 8, 5, 3, 6]).
1865
- why(
1866
- solution(nQueens8, [7, 2, 4, 1, 8, 5, 3, 6]),
1867
- proof(
1868
- goal(solution(nQueens8, [7, 2, 4, 1, 8, 5, 3, 6])),
1869
- by(rule("n-queens.pl", clause(4))),
1870
- bindings([binding("Qs", [7, 2, 4, 1, 8, 5, 3, 6])]),
1871
- uses([
1872
- proof(
1873
- goal(queens(8, [7, 2, 4, 1, 8, 5, 3, 6])),
1874
- by(rule("n-queens.pl", clause(3))),
1875
- bindings([binding("N", 8), binding("Qs", [7, 2, 4, 1, 8, 5, 3, 6])]),
1876
- uses([
1877
- proof(
1878
- goal(n_queens(8, [7, 2, 4, 1, 8, 5, 3, 6])),
1879
- by(builtin(n_queens, 2))
1880
- )
1881
- ])
1882
- )
1883
- ])
1884
- )
1885
- ).
1886
-
1887
83
  solution(nQueens8, [7, 2, 6, 3, 1, 4, 8, 5]).
1888
- why(
1889
- solution(nQueens8, [7, 2, 6, 3, 1, 4, 8, 5]),
1890
- proof(
1891
- goal(solution(nQueens8, [7, 2, 6, 3, 1, 4, 8, 5])),
1892
- by(rule("n-queens.pl", clause(4))),
1893
- bindings([binding("Qs", [7, 2, 6, 3, 1, 4, 8, 5])]),
1894
- uses([
1895
- proof(
1896
- goal(queens(8, [7, 2, 6, 3, 1, 4, 8, 5])),
1897
- by(rule("n-queens.pl", clause(3))),
1898
- bindings([binding("N", 8), binding("Qs", [7, 2, 6, 3, 1, 4, 8, 5])]),
1899
- uses([
1900
- proof(
1901
- goal(n_queens(8, [7, 2, 6, 3, 1, 4, 8, 5])),
1902
- by(builtin(n_queens, 2))
1903
- )
1904
- ])
1905
- )
1906
- ])
1907
- )
1908
- ).
1909
-
1910
84
  solution(nQueens8, [7, 3, 1, 6, 8, 5, 2, 4]).
1911
- why(
1912
- solution(nQueens8, [7, 3, 1, 6, 8, 5, 2, 4]),
1913
- proof(
1914
- goal(solution(nQueens8, [7, 3, 1, 6, 8, 5, 2, 4])),
1915
- by(rule("n-queens.pl", clause(4))),
1916
- bindings([binding("Qs", [7, 3, 1, 6, 8, 5, 2, 4])]),
1917
- uses([
1918
- proof(
1919
- goal(queens(8, [7, 3, 1, 6, 8, 5, 2, 4])),
1920
- by(rule("n-queens.pl", clause(3))),
1921
- bindings([binding("N", 8), binding("Qs", [7, 3, 1, 6, 8, 5, 2, 4])]),
1922
- uses([
1923
- proof(
1924
- goal(n_queens(8, [7, 3, 1, 6, 8, 5, 2, 4])),
1925
- by(builtin(n_queens, 2))
1926
- )
1927
- ])
1928
- )
1929
- ])
1930
- )
1931
- ).
1932
-
1933
85
  solution(nQueens8, [7, 3, 8, 2, 5, 1, 6, 4]).
1934
- why(
1935
- solution(nQueens8, [7, 3, 8, 2, 5, 1, 6, 4]),
1936
- proof(
1937
- goal(solution(nQueens8, [7, 3, 8, 2, 5, 1, 6, 4])),
1938
- by(rule("n-queens.pl", clause(4))),
1939
- bindings([binding("Qs", [7, 3, 8, 2, 5, 1, 6, 4])]),
1940
- uses([
1941
- proof(
1942
- goal(queens(8, [7, 3, 8, 2, 5, 1, 6, 4])),
1943
- by(rule("n-queens.pl", clause(3))),
1944
- bindings([binding("N", 8), binding("Qs", [7, 3, 8, 2, 5, 1, 6, 4])]),
1945
- uses([
1946
- proof(
1947
- goal(n_queens(8, [7, 3, 8, 2, 5, 1, 6, 4])),
1948
- by(builtin(n_queens, 2))
1949
- )
1950
- ])
1951
- )
1952
- ])
1953
- )
1954
- ).
1955
-
1956
86
  solution(nQueens8, [7, 4, 2, 5, 8, 1, 3, 6]).
1957
- why(
1958
- solution(nQueens8, [7, 4, 2, 5, 8, 1, 3, 6]),
1959
- proof(
1960
- goal(solution(nQueens8, [7, 4, 2, 5, 8, 1, 3, 6])),
1961
- by(rule("n-queens.pl", clause(4))),
1962
- bindings([binding("Qs", [7, 4, 2, 5, 8, 1, 3, 6])]),
1963
- uses([
1964
- proof(
1965
- goal(queens(8, [7, 4, 2, 5, 8, 1, 3, 6])),
1966
- by(rule("n-queens.pl", clause(3))),
1967
- bindings([binding("N", 8), binding("Qs", [7, 4, 2, 5, 8, 1, 3, 6])]),
1968
- uses([
1969
- proof(
1970
- goal(n_queens(8, [7, 4, 2, 5, 8, 1, 3, 6])),
1971
- by(builtin(n_queens, 2))
1972
- )
1973
- ])
1974
- )
1975
- ])
1976
- )
1977
- ).
1978
-
1979
87
  solution(nQueens8, [7, 4, 2, 8, 6, 1, 3, 5]).
1980
- why(
1981
- solution(nQueens8, [7, 4, 2, 8, 6, 1, 3, 5]),
1982
- proof(
1983
- goal(solution(nQueens8, [7, 4, 2, 8, 6, 1, 3, 5])),
1984
- by(rule("n-queens.pl", clause(4))),
1985
- bindings([binding("Qs", [7, 4, 2, 8, 6, 1, 3, 5])]),
1986
- uses([
1987
- proof(
1988
- goal(queens(8, [7, 4, 2, 8, 6, 1, 3, 5])),
1989
- by(rule("n-queens.pl", clause(3))),
1990
- bindings([binding("N", 8), binding("Qs", [7, 4, 2, 8, 6, 1, 3, 5])]),
1991
- uses([
1992
- proof(
1993
- goal(n_queens(8, [7, 4, 2, 8, 6, 1, 3, 5])),
1994
- by(builtin(n_queens, 2))
1995
- )
1996
- ])
1997
- )
1998
- ])
1999
- )
2000
- ).
2001
-
2002
88
  solution(nQueens8, [7, 5, 3, 1, 6, 8, 2, 4]).
2003
- why(
2004
- solution(nQueens8, [7, 5, 3, 1, 6, 8, 2, 4]),
2005
- proof(
2006
- goal(solution(nQueens8, [7, 5, 3, 1, 6, 8, 2, 4])),
2007
- by(rule("n-queens.pl", clause(4))),
2008
- bindings([binding("Qs", [7, 5, 3, 1, 6, 8, 2, 4])]),
2009
- uses([
2010
- proof(
2011
- goal(queens(8, [7, 5, 3, 1, 6, 8, 2, 4])),
2012
- by(rule("n-queens.pl", clause(3))),
2013
- bindings([binding("N", 8), binding("Qs", [7, 5, 3, 1, 6, 8, 2, 4])]),
2014
- uses([
2015
- proof(
2016
- goal(n_queens(8, [7, 5, 3, 1, 6, 8, 2, 4])),
2017
- by(builtin(n_queens, 2))
2018
- )
2019
- ])
2020
- )
2021
- ])
2022
- )
2023
- ).
2024
-
2025
89
  solution(nQueens8, [8, 2, 4, 1, 7, 5, 3, 6]).
2026
- why(
2027
- solution(nQueens8, [8, 2, 4, 1, 7, 5, 3, 6]),
2028
- proof(
2029
- goal(solution(nQueens8, [8, 2, 4, 1, 7, 5, 3, 6])),
2030
- by(rule("n-queens.pl", clause(4))),
2031
- bindings([binding("Qs", [8, 2, 4, 1, 7, 5, 3, 6])]),
2032
- uses([
2033
- proof(
2034
- goal(queens(8, [8, 2, 4, 1, 7, 5, 3, 6])),
2035
- by(rule("n-queens.pl", clause(3))),
2036
- bindings([binding("N", 8), binding("Qs", [8, 2, 4, 1, 7, 5, 3, 6])]),
2037
- uses([
2038
- proof(
2039
- goal(n_queens(8, [8, 2, 4, 1, 7, 5, 3, 6])),
2040
- by(builtin(n_queens, 2))
2041
- )
2042
- ])
2043
- )
2044
- ])
2045
- )
2046
- ).
2047
-
2048
90
  solution(nQueens8, [8, 2, 5, 3, 1, 7, 4, 6]).
2049
- why(
2050
- solution(nQueens8, [8, 2, 5, 3, 1, 7, 4, 6]),
2051
- proof(
2052
- goal(solution(nQueens8, [8, 2, 5, 3, 1, 7, 4, 6])),
2053
- by(rule("n-queens.pl", clause(4))),
2054
- bindings([binding("Qs", [8, 2, 5, 3, 1, 7, 4, 6])]),
2055
- uses([
2056
- proof(
2057
- goal(queens(8, [8, 2, 5, 3, 1, 7, 4, 6])),
2058
- by(rule("n-queens.pl", clause(3))),
2059
- bindings([binding("N", 8), binding("Qs", [8, 2, 5, 3, 1, 7, 4, 6])]),
2060
- uses([
2061
- proof(
2062
- goal(n_queens(8, [8, 2, 5, 3, 1, 7, 4, 6])),
2063
- by(builtin(n_queens, 2))
2064
- )
2065
- ])
2066
- )
2067
- ])
2068
- )
2069
- ).
2070
-
2071
91
  solution(nQueens8, [8, 3, 1, 6, 2, 5, 7, 4]).
2072
- why(
2073
- solution(nQueens8, [8, 3, 1, 6, 2, 5, 7, 4]),
2074
- proof(
2075
- goal(solution(nQueens8, [8, 3, 1, 6, 2, 5, 7, 4])),
2076
- by(rule("n-queens.pl", clause(4))),
2077
- bindings([binding("Qs", [8, 3, 1, 6, 2, 5, 7, 4])]),
2078
- uses([
2079
- proof(
2080
- goal(queens(8, [8, 3, 1, 6, 2, 5, 7, 4])),
2081
- by(rule("n-queens.pl", clause(3))),
2082
- bindings([binding("N", 8), binding("Qs", [8, 3, 1, 6, 2, 5, 7, 4])]),
2083
- uses([
2084
- proof(
2085
- goal(n_queens(8, [8, 3, 1, 6, 2, 5, 7, 4])),
2086
- by(builtin(n_queens, 2))
2087
- )
2088
- ])
2089
- )
2090
- ])
2091
- )
2092
- ).
2093
-
2094
92
  solution(nQueens8, [8, 4, 1, 3, 6, 2, 7, 5]).
2095
- why(
2096
- solution(nQueens8, [8, 4, 1, 3, 6, 2, 7, 5]),
2097
- proof(
2098
- goal(solution(nQueens8, [8, 4, 1, 3, 6, 2, 7, 5])),
2099
- by(rule("n-queens.pl", clause(4))),
2100
- bindings([binding("Qs", [8, 4, 1, 3, 6, 2, 7, 5])]),
2101
- uses([
2102
- proof(
2103
- goal(queens(8, [8, 4, 1, 3, 6, 2, 7, 5])),
2104
- by(rule("n-queens.pl", clause(3))),
2105
- bindings([binding("N", 8), binding("Qs", [8, 4, 1, 3, 6, 2, 7, 5])]),
2106
- uses([
2107
- proof(
2108
- goal(n_queens(8, [8, 4, 1, 3, 6, 2, 7, 5])),
2109
- by(builtin(n_queens, 2))
2110
- )
2111
- ])
2112
- )
2113
- ])
2114
- )
2115
- ).
2116
-
2117
93
  solved(nQueens8, true).
2118
- why(
2119
- solved(nQueens8, true),
2120
- proof(
2121
- goal(solved(nQueens8, true)),
2122
- by(rule("n-queens.pl", clause(5))),
2123
- bindings([binding("_Qs", [1, 5, 8, 6, 3, 7, 2, 4])]),
2124
- uses([
2125
- proof(
2126
- goal(queens(8, [1, 5, 8, 6, 3, 7, 2, 4])),
2127
- by(rule("n-queens.pl", clause(3))),
2128
- bindings([binding("N", 8), binding("Qs", [1, 5, 8, 6, 3, 7, 2, 4])]),
2129
- uses([
2130
- proof(
2131
- goal(n_queens(8, [1, 5, 8, 6, 3, 7, 2, 4])),
2132
- by(builtin(n_queens, 2))
2133
- )
2134
- ])
2135
- )
2136
- ])
2137
- )
2138
- ).
2139
-