eyeling 1.5.23 → 1.5.25

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 (60) hide show
  1. package/examples/age.n3 +2 -3
  2. package/examples/backward.n3 +2 -3
  3. package/examples/basic-monadic.n3 +2 -3
  4. package/examples/cat-koko.n3 +5 -6
  5. package/examples/collect-all-in.n3 +6 -6
  6. package/examples/complex.n3 +2 -3
  7. package/examples/control-system.n3 +2 -2
  8. package/examples/crypto-builtins-tests.n3 +2 -2
  9. package/examples/deep-taxonomy-10.n3 +5 -0
  10. package/examples/deep-taxonomy-100.n3 +5 -0
  11. package/examples/deep-taxonomy-1000.n3 +5 -0
  12. package/examples/deep-taxonomy-10000.n3 +5 -0
  13. package/examples/derived-backward-rule-2.n3 +2 -3
  14. package/examples/derived-backward-rule.n3 +2 -2
  15. package/examples/derived-rule.n3 +2 -2
  16. package/examples/dijkstra.n3 +2 -3
  17. package/examples/dog.n3 +2 -3
  18. package/examples/drone-corridor-planner-v2.n3 +237 -0
  19. package/examples/drone-corridor-planner.n3 +131 -0
  20. package/examples/equals.n3 +3 -4
  21. package/examples/existential-rule.n3 +2 -2
  22. package/examples/expression-eval.n3 +2 -3
  23. package/examples/family-cousins.n3 +2 -2
  24. package/examples/fibonacci.n3 +2 -3
  25. package/examples/for-all-in.n3 +2 -2
  26. package/examples/french-cities.n3 +2 -3
  27. package/examples/fuse.n3 +2 -2
  28. package/examples/good-cobbler.n3 +2 -3
  29. package/examples/gps.n3 +2 -3
  30. package/examples/gray-code-counter.n3 +2 -5
  31. package/examples/hanoi.n3 +2 -3
  32. package/examples/liar.n3 +5 -0
  33. package/examples/light-eaters.n3 +2 -2
  34. package/examples/list-builtins-tests.n3 +2 -6
  35. package/examples/lldm.n3 +3 -4
  36. package/examples/math-builtins-tests.n3 +32 -134
  37. package/examples/monkey.n3 +2 -3
  38. package/examples/odrl-trust.n3 +2 -2
  39. package/examples/output/drone-corridor-planner-v2.n3 +819 -0
  40. package/examples/output/drone-corridor-planner.n3 +153 -0
  41. package/examples/output/pillar.n3 +36 -0
  42. package/examples/peano.n3 +2 -3
  43. package/examples/pi.n3 +2 -3
  44. package/examples/pillar.n3 +23 -0
  45. package/examples/polygon.n3 +2 -3
  46. package/examples/reordering.n3 +2 -3
  47. package/examples/rule-matching.n3 +2 -3
  48. package/examples/self-referential.n3 +3 -4
  49. package/examples/similar.n3 +3 -4
  50. package/examples/skolem.n3 +2 -2
  51. package/examples/snaf.n3 +2 -2
  52. package/examples/socrates.n3 +2 -2
  53. package/examples/spectral-week.n3 +2 -2
  54. package/examples/string-builtins-tests.n3 +19 -51
  55. package/examples/turing.n3 +2 -3
  56. package/examples/uri.n3 +2 -2
  57. package/examples/witch.n3 +2 -2
  58. package/examples/zebra.n3 +2 -2
  59. package/package.json +1 -1
  60. package/test/api.test.js +241 -165
@@ -0,0 +1,819 @@
1
+ @prefix : <https://eyereasoner.github.io/eye/reasoning#> .
2
+ @prefix gps: <https://eyereasoner.github.io/eye/reasoning/gps/gps-schema#> .
3
+
4
+ # ----------------------------------------------------------------------
5
+ # Proof for derived triple:
6
+ # :d1 gps:plan ((:fly_gent_kortrijk :emergency_charge_kortrijk :get_zone_permit_kortrijk :direct_corridor_kortrijk_oostende) 3500 0.019999999999999997 0.9435600454499999 0.86526 :mid :yes (:t :t :t)) .
7
+ # It holds because the following instance of the rule body is provable:
8
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
9
+ # ({
10
+ # :d1 :location :Gent .
11
+ # :d1 :battery :full .
12
+ # :d1 :permit :none .
13
+ # } {
14
+ # :d1 :location :Oostende .
15
+ # :d1 :battery :mid .
16
+ # :d1 :permit :yes .
17
+ # } (:fly_gent_kortrijk :emergency_charge_kortrijk :get_zone_permit_kortrijk :direct_corridor_kortrijk_oostende) 3500 0.019999999999999997 0.9435600454499999 0.86526 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
18
+ # 0.9435600454499999 math:greaterThan 0.94 .
19
+ # 0.019999999999999997 math:lessThan 0.03 .
20
+ # via the schematic forward rule:
21
+ # {
22
+ # :fuel7 :value ?Fuel .
23
+ # ({
24
+ # :d1 :location :Gent .
25
+ # :d1 :battery :full .
26
+ # :d1 :permit :none .
27
+ # } {
28
+ # :d1 :location :Oostende .
29
+ # :d1 :battery ?B .
30
+ # :d1 :permit ?P .
31
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
32
+ # ?Bel math:greaterThan 0.94 .
33
+ # ?Cost math:lessThan 0.03 .
34
+ # } => {
35
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
36
+ # } .
37
+ # with substitution (on rule variables):
38
+ # ?Acts = (:fly_gent_kortrijk :emergency_charge_kortrijk :get_zone_permit_kortrijk :direct_corridor_kortrijk_oostende)
39
+ # ?B = :mid
40
+ # ?Bel = 0.9435600454499999
41
+ # ?Comf = 0.86526
42
+ # ?Cost = 0.019999999999999997
43
+ # ?Dur = 3500
44
+ # ?Fuel = (:t :t :t :t :t :t :t)
45
+ # ?FuelLeft = (:t :t :t)
46
+ # ?P = :yes
47
+ # Therefore the derived triple above is entailed by the rules and facts.
48
+ # ----------------------------------------------------------------------
49
+
50
+ :d1 gps:plan ((:fly_gent_kortrijk :emergency_charge_kortrijk :get_zone_permit_kortrijk :direct_corridor_kortrijk_oostende) 3500 0.019999999999999997 0.9435600454499999 0.86526 :mid :yes (:t :t :t)) .
51
+
52
+ # ----------------------------------------------------------------------
53
+ # Proof for derived triple:
54
+ # :d1 gps:plan ((:fly_gent_kortrijk :get_zone_permit_kortrijk :emergency_charge_kortrijk :direct_corridor_kortrijk_oostende) 3500 0.02 0.9435600454499999 0.86526 :mid :yes (:t :t :t)) .
55
+ # It holds because the following instance of the rule body is provable:
56
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
57
+ # ({
58
+ # :d1 :location :Gent .
59
+ # :d1 :battery :full .
60
+ # :d1 :permit :none .
61
+ # } {
62
+ # :d1 :location :Oostende .
63
+ # :d1 :battery :mid .
64
+ # :d1 :permit :yes .
65
+ # } (:fly_gent_kortrijk :get_zone_permit_kortrijk :emergency_charge_kortrijk :direct_corridor_kortrijk_oostende) 3500 0.02 0.9435600454499999 0.86526 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
66
+ # 0.9435600454499999 math:greaterThan 0.94 .
67
+ # 0.02 math:lessThan 0.03 .
68
+ # via the schematic forward rule:
69
+ # {
70
+ # :fuel7 :value ?Fuel .
71
+ # ({
72
+ # :d1 :location :Gent .
73
+ # :d1 :battery :full .
74
+ # :d1 :permit :none .
75
+ # } {
76
+ # :d1 :location :Oostende .
77
+ # :d1 :battery ?B .
78
+ # :d1 :permit ?P .
79
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
80
+ # ?Bel math:greaterThan 0.94 .
81
+ # ?Cost math:lessThan 0.03 .
82
+ # } => {
83
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
84
+ # } .
85
+ # with substitution (on rule variables):
86
+ # ?Acts = (:fly_gent_kortrijk :get_zone_permit_kortrijk :emergency_charge_kortrijk :direct_corridor_kortrijk_oostende)
87
+ # ?B = :mid
88
+ # ?Bel = 0.9435600454499999
89
+ # ?Comf = 0.86526
90
+ # ?Cost = 0.02
91
+ # ?Dur = 3500
92
+ # ?Fuel = (:t :t :t :t :t :t :t)
93
+ # ?FuelLeft = (:t :t :t)
94
+ # ?P = :yes
95
+ # Therefore the derived triple above is entailed by the rules and facts.
96
+ # ----------------------------------------------------------------------
97
+
98
+ :d1 gps:plan ((:fly_gent_kortrijk :get_zone_permit_kortrijk :emergency_charge_kortrijk :direct_corridor_kortrijk_oostende) 3500 0.02 0.9435600454499999 0.86526 :mid :yes (:t :t :t)) .
99
+
100
+ # ----------------------------------------------------------------------
101
+ # Proof for derived triple:
102
+ # :d1 gps:plan ((:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende) 5300 0.025 0.9536872605975 0.9126691199999999 :mid :yes (:t :t)) .
103
+ # It holds because the following instance of the rule body is provable:
104
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
105
+ # ({
106
+ # :d1 :location :Gent .
107
+ # :d1 :battery :full .
108
+ # :d1 :permit :none .
109
+ # } {
110
+ # :d1 :location :Oostende .
111
+ # :d1 :battery :mid .
112
+ # :d1 :permit :yes .
113
+ # } (:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende) 5300 0.025 0.9536872605975 0.9126691199999999 (:t :t :t :t :t :t :t) (:t :t)) :path true .
114
+ # 0.9536872605975 math:greaterThan 0.94 .
115
+ # 0.025 math:lessThan 0.03 .
116
+ # via the schematic forward rule:
117
+ # {
118
+ # :fuel7 :value ?Fuel .
119
+ # ({
120
+ # :d1 :location :Gent .
121
+ # :d1 :battery :full .
122
+ # :d1 :permit :none .
123
+ # } {
124
+ # :d1 :location :Oostende .
125
+ # :d1 :battery ?B .
126
+ # :d1 :permit ?P .
127
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
128
+ # ?Bel math:greaterThan 0.94 .
129
+ # ?Cost math:lessThan 0.03 .
130
+ # } => {
131
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
132
+ # } .
133
+ # with substitution (on rule variables):
134
+ # ?Acts = (:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende)
135
+ # ?B = :mid
136
+ # ?Bel = 0.9536872605975
137
+ # ?Comf = 0.9126691199999999
138
+ # ?Cost = 0.025
139
+ # ?Dur = 5300
140
+ # ?Fuel = (:t :t :t :t :t :t :t)
141
+ # ?FuelLeft = (:t :t)
142
+ # ?P = :yes
143
+ # Therefore the derived triple above is entailed by the rules and facts.
144
+ # ----------------------------------------------------------------------
145
+
146
+ :d1 gps:plan ((:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende) 5300 0.025 0.9536872605975 0.9126691199999999 :mid :yes (:t :t)) .
147
+
148
+ # ----------------------------------------------------------------------
149
+ # Proof for derived triple:
150
+ # :d1 gps:plan ((:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :cross_corridor_brugge_oostende) 5000 0.023 0.958577964498 0.9506969999999999 :mid :yes (:t :t)) .
151
+ # It holds because the following instance of the rule body is provable:
152
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
153
+ # ({
154
+ # :d1 :location :Gent .
155
+ # :d1 :battery :full .
156
+ # :d1 :permit :none .
157
+ # } {
158
+ # :d1 :location :Oostende .
159
+ # :d1 :battery :mid .
160
+ # :d1 :permit :yes .
161
+ # } (:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :cross_corridor_brugge_oostende) 5000 0.023 0.958577964498 0.9506969999999999 (:t :t :t :t :t :t :t) (:t :t)) :path true .
162
+ # 0.958577964498 math:greaterThan 0.94 .
163
+ # 0.023 math:lessThan 0.03 .
164
+ # via the schematic forward rule:
165
+ # {
166
+ # :fuel7 :value ?Fuel .
167
+ # ({
168
+ # :d1 :location :Gent .
169
+ # :d1 :battery :full .
170
+ # :d1 :permit :none .
171
+ # } {
172
+ # :d1 :location :Oostende .
173
+ # :d1 :battery ?B .
174
+ # :d1 :permit ?P .
175
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
176
+ # ?Bel math:greaterThan 0.94 .
177
+ # ?Cost math:lessThan 0.03 .
178
+ # } => {
179
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
180
+ # } .
181
+ # with substitution (on rule variables):
182
+ # ?Acts = (:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :cross_corridor_brugge_oostende)
183
+ # ?B = :mid
184
+ # ?Bel = 0.958577964498
185
+ # ?Comf = 0.9506969999999999
186
+ # ?Cost = 0.023
187
+ # ?Dur = 5000
188
+ # ?Fuel = (:t :t :t :t :t :t :t)
189
+ # ?FuelLeft = (:t :t)
190
+ # ?P = :yes
191
+ # Therefore the derived triple above is entailed by the rules and facts.
192
+ # ----------------------------------------------------------------------
193
+
194
+ :d1 gps:plan ((:fly_gent_kortrijk :get_zone_permit_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :cross_corridor_brugge_oostende) 5000 0.023 0.958577964498 0.9506969999999999 :mid :yes (:t :t)) .
195
+
196
+ # ----------------------------------------------------------------------
197
+ # Proof for derived triple:
198
+ # :d1 gps:plan ((:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 5150 0.024 0.94034675196 0.9506969999999999 :mid :yes (:t :t)) .
199
+ # It holds because the following instance of the rule body is provable:
200
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
201
+ # ({
202
+ # :d1 :location :Gent .
203
+ # :d1 :battery :full .
204
+ # :d1 :permit :none .
205
+ # } {
206
+ # :d1 :location :Oostende .
207
+ # :d1 :battery :mid .
208
+ # :d1 :permit :yes .
209
+ # } (:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 5150 0.024 0.94034675196 0.9506969999999999 (:t :t :t :t :t :t :t) (:t :t)) :path true .
210
+ # 0.94034675196 math:greaterThan 0.94 .
211
+ # 0.024 math:lessThan 0.03 .
212
+ # via the schematic forward rule:
213
+ # {
214
+ # :fuel7 :value ?Fuel .
215
+ # ({
216
+ # :d1 :location :Gent .
217
+ # :d1 :battery :full .
218
+ # :d1 :permit :none .
219
+ # } {
220
+ # :d1 :location :Oostende .
221
+ # :d1 :battery ?B .
222
+ # :d1 :permit ?P .
223
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
224
+ # ?Bel math:greaterThan 0.94 .
225
+ # ?Cost math:lessThan 0.03 .
226
+ # } => {
227
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
228
+ # } .
229
+ # with substitution (on rule variables):
230
+ # ?Acts = (:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :buy_permit_brugge :cross_corridor_brugge_oostende)
231
+ # ?B = :mid
232
+ # ?Bel = 0.94034675196
233
+ # ?Comf = 0.9506969999999999
234
+ # ?Cost = 0.024
235
+ # ?Dur = 5150
236
+ # ?Fuel = (:t :t :t :t :t :t :t)
237
+ # ?FuelLeft = (:t :t)
238
+ # ?P = :yes
239
+ # Therefore the derived triple above is entailed by the rules and facts.
240
+ # ----------------------------------------------------------------------
241
+
242
+ :d1 gps:plan ((:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 5150 0.024 0.94034675196 0.9506969999999999 :mid :yes (:t :t)) .
243
+
244
+ # ----------------------------------------------------------------------
245
+ # Proof for derived triple:
246
+ # :d1 gps:plan ((:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende) 5000 0.024 0.9546419025 0.9126691199999999 :mid :none (:t :t :t)) .
247
+ # It holds because the following instance of the rule body is provable:
248
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
249
+ # ({
250
+ # :d1 :location :Gent .
251
+ # :d1 :battery :full .
252
+ # :d1 :permit :none .
253
+ # } {
254
+ # :d1 :location :Oostende .
255
+ # :d1 :battery :mid .
256
+ # :d1 :permit :none .
257
+ # } (:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende) 5000 0.024 0.9546419025 0.9126691199999999 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
258
+ # 0.9546419025 math:greaterThan 0.94 .
259
+ # 0.024 math:lessThan 0.03 .
260
+ # via the schematic forward rule:
261
+ # {
262
+ # :fuel7 :value ?Fuel .
263
+ # ({
264
+ # :d1 :location :Gent .
265
+ # :d1 :battery :full .
266
+ # :d1 :permit :none .
267
+ # } {
268
+ # :d1 :location :Oostende .
269
+ # :d1 :battery ?B .
270
+ # :d1 :permit ?P .
271
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
272
+ # ?Bel math:greaterThan 0.94 .
273
+ # ?Cost math:lessThan 0.03 .
274
+ # } => {
275
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
276
+ # } .
277
+ # with substitution (on rule variables):
278
+ # ?Acts = (:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende)
279
+ # ?B = :mid
280
+ # ?Bel = 0.9546419025
281
+ # ?Comf = 0.9126691199999999
282
+ # ?Cost = 0.024
283
+ # ?Dur = 5000
284
+ # ?Fuel = (:t :t :t :t :t :t :t)
285
+ # ?FuelLeft = (:t :t :t)
286
+ # ?P = :none
287
+ # Therefore the derived triple above is entailed by the rules and facts.
288
+ # ----------------------------------------------------------------------
289
+
290
+ :d1 gps:plan ((:fly_gent_kortrijk :fly_kortrijk_brugge :quick_charge_brugge :public_coastline_brugge_oostende) 5000 0.024 0.9546419025 0.9126691199999999 :mid :none (:t :t :t)) .
291
+
292
+ # ----------------------------------------------------------------------
293
+ # Proof for derived triple:
294
+ # :d1 gps:plan ((:fly_gent_kortrijk :fly_kortrijk_brugge :buy_permit_brugge :quick_charge_brugge :cross_corridor_brugge_oostende) 5150 0.024 0.94034675196 0.9506969999999999 :mid :yes (:t :t)) .
295
+ # It holds because the following instance of the rule body is provable:
296
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
297
+ # ({
298
+ # :d1 :location :Gent .
299
+ # :d1 :battery :full .
300
+ # :d1 :permit :none .
301
+ # } {
302
+ # :d1 :location :Oostende .
303
+ # :d1 :battery :mid .
304
+ # :d1 :permit :yes .
305
+ # } (:fly_gent_kortrijk :fly_kortrijk_brugge :buy_permit_brugge :quick_charge_brugge :cross_corridor_brugge_oostende) 5150 0.024 0.94034675196 0.9506969999999999 (:t :t :t :t :t :t :t) (:t :t)) :path true .
306
+ # 0.94034675196 math:greaterThan 0.94 .
307
+ # 0.024 math:lessThan 0.03 .
308
+ # via the schematic forward rule:
309
+ # {
310
+ # :fuel7 :value ?Fuel .
311
+ # ({
312
+ # :d1 :location :Gent .
313
+ # :d1 :battery :full .
314
+ # :d1 :permit :none .
315
+ # } {
316
+ # :d1 :location :Oostende .
317
+ # :d1 :battery ?B .
318
+ # :d1 :permit ?P .
319
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
320
+ # ?Bel math:greaterThan 0.94 .
321
+ # ?Cost math:lessThan 0.03 .
322
+ # } => {
323
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
324
+ # } .
325
+ # with substitution (on rule variables):
326
+ # ?Acts = (:fly_gent_kortrijk :fly_kortrijk_brugge :buy_permit_brugge :quick_charge_brugge :cross_corridor_brugge_oostende)
327
+ # ?B = :mid
328
+ # ?Bel = 0.94034675196
329
+ # ?Comf = 0.9506969999999999
330
+ # ?Cost = 0.024
331
+ # ?Dur = 5150
332
+ # ?Fuel = (:t :t :t :t :t :t :t)
333
+ # ?FuelLeft = (:t :t)
334
+ # ?P = :yes
335
+ # Therefore the derived triple above is entailed by the rules and facts.
336
+ # ----------------------------------------------------------------------
337
+
338
+ :d1 gps:plan ((:fly_gent_kortrijk :fly_kortrijk_brugge :buy_permit_brugge :quick_charge_brugge :cross_corridor_brugge_oostende) 5150 0.024 0.94034675196 0.9506969999999999 :mid :yes (:t :t)) .
339
+
340
+ # ----------------------------------------------------------------------
341
+ # Proof for derived triple:
342
+ # :d1 gps:plan ((:train_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3350 0.02 0.9545445 0.9551999999999999 :mid :yes (:t :t :t :t)) .
343
+ # It holds because the following instance of the rule body is provable:
344
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
345
+ # ({
346
+ # :d1 :location :Gent .
347
+ # :d1 :battery :full .
348
+ # :d1 :permit :none .
349
+ # } {
350
+ # :d1 :location :Oostende .
351
+ # :d1 :battery :mid .
352
+ # :d1 :permit :yes .
353
+ # } (:train_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3350 0.02 0.9545445 0.9551999999999999 (:t :t :t :t :t :t :t) (:t :t :t :t)) :path true .
354
+ # 0.9545445 math:greaterThan 0.94 .
355
+ # 0.02 math:lessThan 0.03 .
356
+ # via the schematic forward rule:
357
+ # {
358
+ # :fuel7 :value ?Fuel .
359
+ # ({
360
+ # :d1 :location :Gent .
361
+ # :d1 :battery :full .
362
+ # :d1 :permit :none .
363
+ # } {
364
+ # :d1 :location :Oostende .
365
+ # :d1 :battery ?B .
366
+ # :d1 :permit ?P .
367
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
368
+ # ?Bel math:greaterThan 0.94 .
369
+ # ?Cost math:lessThan 0.03 .
370
+ # } => {
371
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
372
+ # } .
373
+ # with substitution (on rule variables):
374
+ # ?Acts = (:train_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende)
375
+ # ?B = :mid
376
+ # ?Bel = 0.9545445
377
+ # ?Comf = 0.9551999999999999
378
+ # ?Cost = 0.02
379
+ # ?Dur = 3350
380
+ # ?Fuel = (:t :t :t :t :t :t :t)
381
+ # ?FuelLeft = (:t :t :t :t)
382
+ # ?P = :yes
383
+ # Therefore the derived triple above is entailed by the rules and facts.
384
+ # ----------------------------------------------------------------------
385
+
386
+ :d1 gps:plan ((:train_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3350 0.02 0.9545445 0.9551999999999999 :mid :yes (:t :t :t :t)) .
387
+
388
+ # ----------------------------------------------------------------------
389
+ # Proof for derived triple:
390
+ # :d1 gps:plan ((:train_gent_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 3050 0.018000000000000002 0.9594396 0.995 :mid :yes (:t :t :t :t)) .
391
+ # It holds because the following instance of the rule body is provable:
392
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
393
+ # ({
394
+ # :d1 :location :Gent .
395
+ # :d1 :battery :full .
396
+ # :d1 :permit :none .
397
+ # } {
398
+ # :d1 :location :Oostende .
399
+ # :d1 :battery :mid .
400
+ # :d1 :permit :yes .
401
+ # } (:train_gent_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 3050 0.018000000000000002 0.9594396 0.995 (:t :t :t :t :t :t :t) (:t :t :t :t)) :path true .
402
+ # 0.9594396 math:greaterThan 0.94 .
403
+ # 0.018000000000000002 math:lessThan 0.03 .
404
+ # via the schematic forward rule:
405
+ # {
406
+ # :fuel7 :value ?Fuel .
407
+ # ({
408
+ # :d1 :location :Gent .
409
+ # :d1 :battery :full .
410
+ # :d1 :permit :none .
411
+ # } {
412
+ # :d1 :location :Oostende .
413
+ # :d1 :battery ?B .
414
+ # :d1 :permit ?P .
415
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
416
+ # ?Bel math:greaterThan 0.94 .
417
+ # ?Cost math:lessThan 0.03 .
418
+ # } => {
419
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
420
+ # } .
421
+ # with substitution (on rule variables):
422
+ # ?Acts = (:train_gent_brugge :buy_permit_brugge :cross_corridor_brugge_oostende)
423
+ # ?B = :mid
424
+ # ?Bel = 0.9594396
425
+ # ?Comf = 0.995
426
+ # ?Cost = 0.018000000000000002
427
+ # ?Dur = 3050
428
+ # ?Fuel = (:t :t :t :t :t :t :t)
429
+ # ?FuelLeft = (:t :t :t :t)
430
+ # ?P = :yes
431
+ # Therefore the derived triple above is entailed by the rules and facts.
432
+ # ----------------------------------------------------------------------
433
+
434
+ :d1 gps:plan ((:train_gent_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 3050 0.018000000000000002 0.9594396 0.995 :mid :yes (:t :t :t :t)) .
435
+
436
+ # ----------------------------------------------------------------------
437
+ # Proof for derived triple:
438
+ # :d1 gps:plan ((:train_gent_brugge :public_coastline_brugge_oostende) 2900 0.018000000000000002 0.974025 0.9551999999999999 :mid :none (:t :t :t :t :t)) .
439
+ # It holds because the following instance of the rule body is provable:
440
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
441
+ # ({
442
+ # :d1 :location :Gent .
443
+ # :d1 :battery :full .
444
+ # :d1 :permit :none .
445
+ # } {
446
+ # :d1 :location :Oostende .
447
+ # :d1 :battery :mid .
448
+ # :d1 :permit :none .
449
+ # } (:train_gent_brugge :public_coastline_brugge_oostende) 2900 0.018000000000000002 0.974025 0.9551999999999999 (:t :t :t :t :t :t :t) (:t :t :t :t :t)) :path true .
450
+ # 0.974025 math:greaterThan 0.94 .
451
+ # 0.018000000000000002 math:lessThan 0.03 .
452
+ # via the schematic forward rule:
453
+ # {
454
+ # :fuel7 :value ?Fuel .
455
+ # ({
456
+ # :d1 :location :Gent .
457
+ # :d1 :battery :full .
458
+ # :d1 :permit :none .
459
+ # } {
460
+ # :d1 :location :Oostende .
461
+ # :d1 :battery ?B .
462
+ # :d1 :permit ?P .
463
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
464
+ # ?Bel math:greaterThan 0.94 .
465
+ # ?Cost math:lessThan 0.03 .
466
+ # } => {
467
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
468
+ # } .
469
+ # with substitution (on rule variables):
470
+ # ?Acts = (:train_gent_brugge :public_coastline_brugge_oostende)
471
+ # ?B = :mid
472
+ # ?Bel = 0.974025
473
+ # ?Comf = 0.9551999999999999
474
+ # ?Cost = 0.018000000000000002
475
+ # ?Dur = 2900
476
+ # ?Fuel = (:t :t :t :t :t :t :t)
477
+ # ?FuelLeft = (:t :t :t :t :t)
478
+ # ?P = :none
479
+ # Therefore the derived triple above is entailed by the rules and facts.
480
+ # ----------------------------------------------------------------------
481
+
482
+ :d1 gps:plan ((:train_gent_brugge :public_coastline_brugge_oostende) 2900 0.018000000000000002 0.974025 0.9551999999999999 :mid :none (:t :t :t :t :t)) .
483
+
484
+ # ----------------------------------------------------------------------
485
+ # Proof for derived triple:
486
+ # :d1 gps:plan ((:fly_gent_brugge :topup_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3550 0.017 0.944999055 0.931392 :mid :yes (:t :t :t)) .
487
+ # It holds because the following instance of the rule body is provable:
488
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
489
+ # ({
490
+ # :d1 :location :Gent .
491
+ # :d1 :battery :full .
492
+ # :d1 :permit :none .
493
+ # } {
494
+ # :d1 :location :Oostende .
495
+ # :d1 :battery :mid .
496
+ # :d1 :permit :yes .
497
+ # } (:fly_gent_brugge :topup_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3550 0.017 0.944999055 0.931392 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
498
+ # 0.944999055 math:greaterThan 0.94 .
499
+ # 0.017 math:lessThan 0.03 .
500
+ # via the schematic forward rule:
501
+ # {
502
+ # :fuel7 :value ?Fuel .
503
+ # ({
504
+ # :d1 :location :Gent .
505
+ # :d1 :battery :full .
506
+ # :d1 :permit :none .
507
+ # } {
508
+ # :d1 :location :Oostende .
509
+ # :d1 :battery ?B .
510
+ # :d1 :permit ?P .
511
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
512
+ # ?Bel math:greaterThan 0.94 .
513
+ # ?Cost math:lessThan 0.03 .
514
+ # } => {
515
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
516
+ # } .
517
+ # with substitution (on rule variables):
518
+ # ?Acts = (:fly_gent_brugge :topup_brugge :buy_permit_brugge :public_coastline_brugge_oostende)
519
+ # ?B = :mid
520
+ # ?Bel = 0.944999055
521
+ # ?Comf = 0.931392
522
+ # ?Cost = 0.017
523
+ # ?Dur = 3550
524
+ # ?Fuel = (:t :t :t :t :t :t :t)
525
+ # ?FuelLeft = (:t :t :t)
526
+ # ?P = :yes
527
+ # Therefore the derived triple above is entailed by the rules and facts.
528
+ # ----------------------------------------------------------------------
529
+
530
+ :d1 gps:plan ((:fly_gent_brugge :topup_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3550 0.017 0.944999055 0.931392 :mid :yes (:t :t :t)) .
531
+
532
+ # ----------------------------------------------------------------------
533
+ # Proof for derived triple:
534
+ # :d1 gps:plan ((:fly_gent_brugge :topup_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 3250 0.015000000000000001 0.9498452039999999 0.9702 :mid :yes (:t :t :t)) .
535
+ # It holds because the following instance of the rule body is provable:
536
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
537
+ # ({
538
+ # :d1 :location :Gent .
539
+ # :d1 :battery :full .
540
+ # :d1 :permit :none .
541
+ # } {
542
+ # :d1 :location :Oostende .
543
+ # :d1 :battery :mid .
544
+ # :d1 :permit :yes .
545
+ # } (:fly_gent_brugge :topup_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 3250 0.015000000000000001 0.9498452039999999 0.9702 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
546
+ # 0.9498452039999999 math:greaterThan 0.94 .
547
+ # 0.015000000000000001 math:lessThan 0.03 .
548
+ # via the schematic forward rule:
549
+ # {
550
+ # :fuel7 :value ?Fuel .
551
+ # ({
552
+ # :d1 :location :Gent .
553
+ # :d1 :battery :full .
554
+ # :d1 :permit :none .
555
+ # } {
556
+ # :d1 :location :Oostende .
557
+ # :d1 :battery ?B .
558
+ # :d1 :permit ?P .
559
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
560
+ # ?Bel math:greaterThan 0.94 .
561
+ # ?Cost math:lessThan 0.03 .
562
+ # } => {
563
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
564
+ # } .
565
+ # with substitution (on rule variables):
566
+ # ?Acts = (:fly_gent_brugge :topup_brugge :buy_permit_brugge :cross_corridor_brugge_oostende)
567
+ # ?B = :mid
568
+ # ?Bel = 0.9498452039999999
569
+ # ?Comf = 0.9702
570
+ # ?Cost = 0.015000000000000001
571
+ # ?Dur = 3250
572
+ # ?Fuel = (:t :t :t :t :t :t :t)
573
+ # ?FuelLeft = (:t :t :t)
574
+ # ?P = :yes
575
+ # Therefore the derived triple above is entailed by the rules and facts.
576
+ # ----------------------------------------------------------------------
577
+
578
+ :d1 gps:plan ((:fly_gent_brugge :topup_brugge :buy_permit_brugge :cross_corridor_brugge_oostende) 3250 0.015000000000000001 0.9498452039999999 0.9702 :mid :yes (:t :t :t)) .
579
+
580
+ # ----------------------------------------------------------------------
581
+ # Proof for derived triple:
582
+ # :d1 gps:plan ((:fly_gent_brugge :topup_brugge :public_coastline_brugge_oostende) 3100 0.015000000000000001 0.96428475 0.931392 :mid :none (:t :t :t :t)) .
583
+ # It holds because the following instance of the rule body is provable:
584
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
585
+ # ({
586
+ # :d1 :location :Gent .
587
+ # :d1 :battery :full .
588
+ # :d1 :permit :none .
589
+ # } {
590
+ # :d1 :location :Oostende .
591
+ # :d1 :battery :mid .
592
+ # :d1 :permit :none .
593
+ # } (:fly_gent_brugge :topup_brugge :public_coastline_brugge_oostende) 3100 0.015000000000000001 0.96428475 0.931392 (:t :t :t :t :t :t :t) (:t :t :t :t)) :path true .
594
+ # 0.96428475 math:greaterThan 0.94 .
595
+ # 0.015000000000000001 math:lessThan 0.03 .
596
+ # via the schematic forward rule:
597
+ # {
598
+ # :fuel7 :value ?Fuel .
599
+ # ({
600
+ # :d1 :location :Gent .
601
+ # :d1 :battery :full .
602
+ # :d1 :permit :none .
603
+ # } {
604
+ # :d1 :location :Oostende .
605
+ # :d1 :battery ?B .
606
+ # :d1 :permit ?P .
607
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
608
+ # ?Bel math:greaterThan 0.94 .
609
+ # ?Cost math:lessThan 0.03 .
610
+ # } => {
611
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
612
+ # } .
613
+ # with substitution (on rule variables):
614
+ # ?Acts = (:fly_gent_brugge :topup_brugge :public_coastline_brugge_oostende)
615
+ # ?B = :mid
616
+ # ?Bel = 0.96428475
617
+ # ?Comf = 0.931392
618
+ # ?Cost = 0.015000000000000001
619
+ # ?Dur = 3100
620
+ # ?Fuel = (:t :t :t :t :t :t :t)
621
+ # ?FuelLeft = (:t :t :t :t)
622
+ # ?P = :none
623
+ # Therefore the derived triple above is entailed by the rules and facts.
624
+ # ----------------------------------------------------------------------
625
+
626
+ :d1 gps:plan ((:fly_gent_brugge :topup_brugge :public_coastline_brugge_oostende) 3100 0.015000000000000001 0.96428475 0.931392 :mid :none (:t :t :t :t)) .
627
+
628
+ # ----------------------------------------------------------------------
629
+ # Proof for derived triple:
630
+ # :d1 gps:plan ((:fly_gent_brugge :buy_permit_brugge :topup_brugge :public_coastline_brugge_oostende) 3550 0.017 0.944999055 0.931392 :mid :yes (:t :t :t)) .
631
+ # It holds because the following instance of the rule body is provable:
632
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
633
+ # ({
634
+ # :d1 :location :Gent .
635
+ # :d1 :battery :full .
636
+ # :d1 :permit :none .
637
+ # } {
638
+ # :d1 :location :Oostende .
639
+ # :d1 :battery :mid .
640
+ # :d1 :permit :yes .
641
+ # } (:fly_gent_brugge :buy_permit_brugge :topup_brugge :public_coastline_brugge_oostende) 3550 0.017 0.944999055 0.931392 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
642
+ # 0.944999055 math:greaterThan 0.94 .
643
+ # 0.017 math:lessThan 0.03 .
644
+ # via the schematic forward rule:
645
+ # {
646
+ # :fuel7 :value ?Fuel .
647
+ # ({
648
+ # :d1 :location :Gent .
649
+ # :d1 :battery :full .
650
+ # :d1 :permit :none .
651
+ # } {
652
+ # :d1 :location :Oostende .
653
+ # :d1 :battery ?B .
654
+ # :d1 :permit ?P .
655
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
656
+ # ?Bel math:greaterThan 0.94 .
657
+ # ?Cost math:lessThan 0.03 .
658
+ # } => {
659
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
660
+ # } .
661
+ # with substitution (on rule variables):
662
+ # ?Acts = (:fly_gent_brugge :buy_permit_brugge :topup_brugge :public_coastline_brugge_oostende)
663
+ # ?B = :mid
664
+ # ?Bel = 0.944999055
665
+ # ?Comf = 0.931392
666
+ # ?Cost = 0.017
667
+ # ?Dur = 3550
668
+ # ?Fuel = (:t :t :t :t :t :t :t)
669
+ # ?FuelLeft = (:t :t :t)
670
+ # ?P = :yes
671
+ # Therefore the derived triple above is entailed by the rules and facts.
672
+ # ----------------------------------------------------------------------
673
+
674
+ :d1 gps:plan ((:fly_gent_brugge :buy_permit_brugge :topup_brugge :public_coastline_brugge_oostende) 3550 0.017 0.944999055 0.931392 :mid :yes (:t :t :t)) .
675
+
676
+ # ----------------------------------------------------------------------
677
+ # Proof for derived triple:
678
+ # :d1 gps:plan ((:fly_gent_brugge :buy_permit_brugge :topup_brugge :cross_corridor_brugge_oostende) 3250 0.015000000000000001 0.9498452039999999 0.9702 :mid :yes (:t :t :t)) .
679
+ # It holds because the following instance of the rule body is provable:
680
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
681
+ # ({
682
+ # :d1 :location :Gent .
683
+ # :d1 :battery :full .
684
+ # :d1 :permit :none .
685
+ # } {
686
+ # :d1 :location :Oostende .
687
+ # :d1 :battery :mid .
688
+ # :d1 :permit :yes .
689
+ # } (:fly_gent_brugge :buy_permit_brugge :topup_brugge :cross_corridor_brugge_oostende) 3250 0.015000000000000001 0.9498452039999999 0.9702 (:t :t :t :t :t :t :t) (:t :t :t)) :path true .
690
+ # 0.9498452039999999 math:greaterThan 0.94 .
691
+ # 0.015000000000000001 math:lessThan 0.03 .
692
+ # via the schematic forward rule:
693
+ # {
694
+ # :fuel7 :value ?Fuel .
695
+ # ({
696
+ # :d1 :location :Gent .
697
+ # :d1 :battery :full .
698
+ # :d1 :permit :none .
699
+ # } {
700
+ # :d1 :location :Oostende .
701
+ # :d1 :battery ?B .
702
+ # :d1 :permit ?P .
703
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
704
+ # ?Bel math:greaterThan 0.94 .
705
+ # ?Cost math:lessThan 0.03 .
706
+ # } => {
707
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
708
+ # } .
709
+ # with substitution (on rule variables):
710
+ # ?Acts = (:fly_gent_brugge :buy_permit_brugge :topup_brugge :cross_corridor_brugge_oostende)
711
+ # ?B = :mid
712
+ # ?Bel = 0.9498452039999999
713
+ # ?Comf = 0.9702
714
+ # ?Cost = 0.015000000000000001
715
+ # ?Dur = 3250
716
+ # ?Fuel = (:t :t :t :t :t :t :t)
717
+ # ?FuelLeft = (:t :t :t)
718
+ # ?P = :yes
719
+ # Therefore the derived triple above is entailed by the rules and facts.
720
+ # ----------------------------------------------------------------------
721
+
722
+ :d1 gps:plan ((:fly_gent_brugge :buy_permit_brugge :topup_brugge :cross_corridor_brugge_oostende) 3250 0.015000000000000001 0.9498452039999999 0.9702 :mid :yes (:t :t :t)) .
723
+
724
+ # ----------------------------------------------------------------------
725
+ # Proof for derived triple:
726
+ # :d1 gps:plan ((:fly_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3250 0.014 0.941094 0.9503999999999999 :low :yes (:t :t :t :t)) .
727
+ # It holds because the following instance of the rule body is provable:
728
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
729
+ # ({
730
+ # :d1 :location :Gent .
731
+ # :d1 :battery :full .
732
+ # :d1 :permit :none .
733
+ # } {
734
+ # :d1 :location :Oostende .
735
+ # :d1 :battery :low .
736
+ # :d1 :permit :yes .
737
+ # } (:fly_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3250 0.014 0.941094 0.9503999999999999 (:t :t :t :t :t :t :t) (:t :t :t :t)) :path true .
738
+ # 0.941094 math:greaterThan 0.94 .
739
+ # 0.014 math:lessThan 0.03 .
740
+ # via the schematic forward rule:
741
+ # {
742
+ # :fuel7 :value ?Fuel .
743
+ # ({
744
+ # :d1 :location :Gent .
745
+ # :d1 :battery :full .
746
+ # :d1 :permit :none .
747
+ # } {
748
+ # :d1 :location :Oostende .
749
+ # :d1 :battery ?B .
750
+ # :d1 :permit ?P .
751
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
752
+ # ?Bel math:greaterThan 0.94 .
753
+ # ?Cost math:lessThan 0.03 .
754
+ # } => {
755
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
756
+ # } .
757
+ # with substitution (on rule variables):
758
+ # ?Acts = (:fly_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende)
759
+ # ?B = :low
760
+ # ?Bel = 0.941094
761
+ # ?Comf = 0.9503999999999999
762
+ # ?Cost = 0.014
763
+ # ?Dur = 3250
764
+ # ?Fuel = (:t :t :t :t :t :t :t)
765
+ # ?FuelLeft = (:t :t :t :t)
766
+ # ?P = :yes
767
+ # Therefore the derived triple above is entailed by the rules and facts.
768
+ # ----------------------------------------------------------------------
769
+
770
+ :d1 gps:plan ((:fly_gent_brugge :buy_permit_brugge :public_coastline_brugge_oostende) 3250 0.014 0.941094 0.9503999999999999 :low :yes (:t :t :t :t)) .
771
+
772
+ # ----------------------------------------------------------------------
773
+ # Proof for derived triple:
774
+ # :d1 gps:plan ((:fly_gent_brugge :public_coastline_brugge_oostende) 2800 0.012 0.9602999999999999 0.9503999999999999 :low :none (:t :t :t :t :t)) .
775
+ # It holds because the following instance of the rule body is provable:
776
+ # :fuel7 :value (:t :t :t :t :t :t :t) .
777
+ # ({
778
+ # :d1 :location :Gent .
779
+ # :d1 :battery :full .
780
+ # :d1 :permit :none .
781
+ # } {
782
+ # :d1 :location :Oostende .
783
+ # :d1 :battery :low .
784
+ # :d1 :permit :none .
785
+ # } (:fly_gent_brugge :public_coastline_brugge_oostende) 2800 0.012 0.9602999999999999 0.9503999999999999 (:t :t :t :t :t :t :t) (:t :t :t :t :t)) :path true .
786
+ # 0.9602999999999999 math:greaterThan 0.94 .
787
+ # 0.012 math:lessThan 0.03 .
788
+ # via the schematic forward rule:
789
+ # {
790
+ # :fuel7 :value ?Fuel .
791
+ # ({
792
+ # :d1 :location :Gent .
793
+ # :d1 :battery :full .
794
+ # :d1 :permit :none .
795
+ # } {
796
+ # :d1 :location :Oostende .
797
+ # :d1 :battery ?B .
798
+ # :d1 :permit ?P .
799
+ # } ?Acts ?Dur ?Cost ?Bel ?Comf ?Fuel ?FuelLeft) :path true .
800
+ # ?Bel math:greaterThan 0.94 .
801
+ # ?Cost math:lessThan 0.03 .
802
+ # } => {
803
+ # :d1 gps:plan (?Acts ?Dur ?Cost ?Bel ?Comf ?B ?P ?FuelLeft) .
804
+ # } .
805
+ # with substitution (on rule variables):
806
+ # ?Acts = (:fly_gent_brugge :public_coastline_brugge_oostende)
807
+ # ?B = :low
808
+ # ?Bel = 0.9602999999999999
809
+ # ?Comf = 0.9503999999999999
810
+ # ?Cost = 0.012
811
+ # ?Dur = 2800
812
+ # ?Fuel = (:t :t :t :t :t :t :t)
813
+ # ?FuelLeft = (:t :t :t :t :t)
814
+ # ?P = :none
815
+ # Therefore the derived triple above is entailed by the rules and facts.
816
+ # ----------------------------------------------------------------------
817
+
818
+ :d1 gps:plan ((:fly_gent_brugge :public_coastline_brugge_oostende) 2800 0.012 0.9602999999999999 0.9503999999999999 :low :none (:t :t :t :t :t)) .
819
+