eyeling 1.24.7 → 1.24.8

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 (175) hide show
  1. package/HANDBOOK.md +35 -35
  2. package/dist/browser/eyeling.browser.js +14 -1
  3. package/examples/act-alarm-bit-interoperability.n3 +2 -0
  4. package/examples/act-barley-seed-lineage.n3 +2 -0
  5. package/examples/act-docking-abort.n3 +2 -0
  6. package/examples/act-gravity-mediator-witness.n3 +2 -0
  7. package/examples/act-isolation-breach.n3 +2 -0
  8. package/examples/act-photosynthetic-exciton-transfer.n3 +2 -0
  9. package/examples/act-sensor-memory-reset.n3 +2 -0
  10. package/examples/act-tunnel-junction-wake-switch.n3 +2 -0
  11. package/examples/act-yeast-self-reproduction.n3 +2 -0
  12. package/examples/annotation.n3 +5 -0
  13. package/examples/auroracare.n3 +8 -8
  14. package/examples/backward-recursion.n3 +5 -0
  15. package/examples/barley-seed-becoming.n3 +2 -0
  16. package/examples/bmi.n3 +2 -0
  17. package/examples/builtin-coverage.n3 +5 -0
  18. package/examples/calidor.n3 +3 -3
  19. package/examples/collection.n3 +5 -0
  20. package/examples/complex-matrix-stability.n3 +2 -0
  21. package/examples/context-association.n3 +0 -8
  22. package/examples/control-system.n3 +2 -0
  23. package/examples/deep-taxonomy-10.n3 +2 -0
  24. package/examples/deep-taxonomy-100.n3 +2 -0
  25. package/examples/deep-taxonomy-1000.n3 +2 -0
  26. package/examples/deep-taxonomy-10000.n3 +2 -0
  27. package/examples/deep-taxonomy-100000.n3 +2 -0
  28. package/examples/delfour.n3 +3 -3
  29. package/examples/digital-product-passport.n3 +2 -0
  30. package/examples/dijkstra-risk-path.n3 +1 -2
  31. package/examples/easter.n3 +3 -1
  32. package/examples/eco-route-insight.n3 +1 -2
  33. package/examples/flandor.n3 +3 -3
  34. package/examples/french-cities.n3 +2 -0
  35. package/examples/fundamental-theorem-arithmetic.n3 +2 -0
  36. package/examples/genetic-algorithm-knapsack.n3 +1 -1
  37. package/examples/genetic-algorithm.n3 +1 -1
  38. package/examples/genetic-knapsack-selection.n3 +1 -2
  39. package/examples/gps.n3 +2 -0
  40. package/examples/harborsmr.n3 +2 -0
  41. package/examples/input/rdf-message-flow.trig +10 -10
  42. package/examples/input/rdf-messages.trig +6 -6
  43. package/examples/interop-demo.n3 +3 -1
  44. package/examples/matrix-mechanics.n3 +3 -3
  45. package/examples/medior.n3 +3 -3
  46. package/examples/n3-speaks-for-itself.n3 +5 -0
  47. package/examples/odrl-dpv-ehds-risk-ranked.n3 +1 -1
  48. package/examples/odrl-dpv-healthcare-risk-ranked.n3 +1 -1
  49. package/examples/odrl-dpv-risk-ranked.n3 +1 -1
  50. package/examples/odrl-risk-mitigation.n3 +1 -1
  51. package/examples/odrl-risk.n3 +1 -1
  52. package/examples/output/{act-alarm-bit-interoperability.txt → act-alarm-bit-interoperability.md} +19 -17
  53. package/examples/output/act-barley-seed-lineage.md +27 -0
  54. package/examples/output/{act-docking-abort.txt → act-docking-abort.md} +21 -19
  55. package/examples/output/{act-gravity-mediator-witness.txt → act-gravity-mediator-witness.md} +23 -21
  56. package/examples/output/{act-isolation-breach.txt → act-isolation-breach.md} +26 -24
  57. package/examples/output/{act-photosynthetic-exciton-transfer.txt → act-photosynthetic-exciton-transfer.md} +19 -17
  58. package/examples/output/{act-sensor-memory-reset.txt → act-sensor-memory-reset.md} +19 -17
  59. package/examples/output/{act-tunnel-junction-wake-switch.txt → act-tunnel-junction-wake-switch.md} +20 -18
  60. package/examples/output/{act-yeast-self-reproduction.txt → act-yeast-self-reproduction.md} +22 -20
  61. package/examples/output/annotation.md +1 -0
  62. package/examples/output/auroracare.md +150 -0
  63. package/examples/output/backward-recursion.md +6 -0
  64. package/examples/output/barley-seed-becoming.md +27 -0
  65. package/examples/output/{bmi.txt → bmi.md} +19 -17
  66. package/examples/output/builtin-coverage.md +1 -0
  67. package/examples/output/calidor.md +31 -0
  68. package/examples/output/collection.md +1 -0
  69. package/examples/output/{complex-matrix-stability.txt → complex-matrix-stability.md} +13 -11
  70. package/examples/output/context-association.md +7 -0
  71. package/examples/output/{control-system.txt → control-system.md} +19 -17
  72. package/examples/output/{deep-taxonomy-10.txt → deep-taxonomy-10.md} +14 -12
  73. package/examples/output/{deep-taxonomy-100.txt → deep-taxonomy-100.md} +14 -12
  74. package/examples/output/{deep-taxonomy-1000.txt → deep-taxonomy-1000.md} +14 -12
  75. package/examples/output/{deep-taxonomy-10000.txt → deep-taxonomy-10000.md} +14 -12
  76. package/examples/output/{deep-taxonomy-100000.txt → deep-taxonomy-100000.md} +14 -12
  77. package/examples/output/delfour.md +32 -0
  78. package/examples/output/digital-product-passport.md +3 -0
  79. package/examples/output/dijkstra-risk-path.md +11 -0
  80. package/examples/output/{easter.txt → easter.md} +152 -150
  81. package/examples/output/eco-route-insight.md +20 -0
  82. package/examples/output/flandor.md +33 -0
  83. package/examples/output/{french-cities.txt → french-cities.md} +13 -11
  84. package/examples/output/{fundamental-theorem-arithmetic.txt → fundamental-theorem-arithmetic.md} +14 -12
  85. package/examples/output/genetic-algorithm-knapsack.md +3 -0
  86. package/examples/output/genetic-algorithm.md +3 -0
  87. package/examples/output/genetic-knapsack-selection.md +13 -0
  88. package/examples/output/{gps.txt → gps.md} +14 -12
  89. package/examples/output/harborsmr.md +22 -0
  90. package/examples/output/{interop-demo.txt → interop-demo.md} +3 -1
  91. package/examples/output/matrix-mechanics.md +16 -0
  92. package/examples/output/medior.md +34 -0
  93. package/examples/output/n3-speaks-for-itself.md +54 -0
  94. package/examples/output/{odrl-dpv-ehds-risk-ranked.txt → odrl-dpv-ehds-risk-ranked.md} +16 -15
  95. package/examples/output/{odrl-dpv-healthcare-risk-ranked.txt → odrl-dpv-healthcare-risk-ranked.md} +13 -12
  96. package/examples/output/{odrl-dpv-risk-ranked.txt → odrl-dpv-risk-ranked.md} +17 -16
  97. package/examples/output/{odrl-risk-mitigation.txt → odrl-risk-mitigation.md} +17 -16
  98. package/examples/output/{odrl-risk.txt → odrl-risk.md} +6 -5
  99. package/examples/output/parcellocker.md +22 -0
  100. package/examples/output/pn-junction-tunneling.md +25 -0
  101. package/examples/output/queens.md +23 -0
  102. package/examples/output/{rc-discharge-envelope.txt → rc-discharge-envelope.md} +10 -8
  103. package/examples/output/rdf-dataset.md +7 -0
  104. package/examples/output/rdf-message-flow.md +7 -0
  105. package/examples/output/rdf-messages.md +7 -0
  106. package/examples/output/{resto.txt → resto.md} +19 -17
  107. package/examples/output/school-placement-audit.md +11 -0
  108. package/examples/output/smoke-arithmetic.md +7 -0
  109. package/examples/output/sqrt2-cauchy.md +15 -0
  110. package/examples/output/sqrt2-dedekind.md +33 -0
  111. package/examples/output/{sudoku.txt → sudoku.md} +45 -43
  112. package/examples/output/transcendental-numbers-stretched.md +262 -0
  113. package/examples/output/transistor-switch.md +26 -0
  114. package/examples/output/triple-terms.md +7 -0
  115. package/examples/output/{tunnel-junction-wake-switch-becoming.txt → tunnel-junction-wake-switch-becoming.md} +20 -18
  116. package/examples/output/{wind-turbine.txt → wind-turbine.md} +17 -15
  117. package/examples/parcellocker.n3 +2 -0
  118. package/examples/pn-junction-tunneling.n3 +3 -3
  119. package/examples/queens.n3 +1 -0
  120. package/examples/rc-discharge-envelope.n3 +1 -1
  121. package/examples/rdf-dataset.n3 +5 -0
  122. package/examples/rdf-message-flow.n3 +1 -2
  123. package/examples/rdf-messages.n3 +1 -2
  124. package/examples/resto.n3 +2 -0
  125. package/examples/school-placement-audit.n3 +1 -2
  126. package/examples/smoke-arithmetic.n3 +1 -1
  127. package/examples/sqrt2-cauchy.n3 +2 -0
  128. package/examples/sqrt2-dedekind.n3 +2 -0
  129. package/examples/sudoku.n3 +14 -14
  130. package/examples/transcendental-numbers-stretched.n3 +5 -0
  131. package/examples/transistor-switch.n3 +3 -3
  132. package/examples/triple-terms.n3 +5 -0
  133. package/examples/tunnel-junction-wake-switch-becoming.n3 +2 -0
  134. package/examples/wind-turbine.n3 +2 -0
  135. package/eyeling.js +14 -1
  136. package/lib/explain.js +14 -1
  137. package/package.json +1 -1
  138. package/test/examples.test.js +44 -13
  139. package/test/package.test.js +43 -7
  140. package/examples/output/act-barley-seed-lineage.txt +0 -25
  141. package/examples/output/annotation.n3 +0 -0
  142. package/examples/output/auroracare.txt +0 -149
  143. package/examples/output/backward-recursion.n3 +0 -4
  144. package/examples/output/barley-seed-becoming.txt +0 -25
  145. package/examples/output/builtin-coverage.n3 +0 -0
  146. package/examples/output/calidor.txt +0 -29
  147. package/examples/output/collection.n3 +0 -0
  148. package/examples/output/context-association.n3 +0 -9
  149. package/examples/output/delfour.txt +0 -30
  150. package/examples/output/digital-product-passport.txt +0 -1
  151. package/examples/output/dijkstra-risk-path.n3 +0 -3
  152. package/examples/output/eco-route-insight.n3 +0 -3
  153. package/examples/output/flandor.txt +0 -31
  154. package/examples/output/genetic-algorithm-knapsack.txt +0 -1
  155. package/examples/output/genetic-algorithm.txt +0 -1
  156. package/examples/output/genetic-knapsack-selection.n3 +0 -3
  157. package/examples/output/harborsmr.txt +0 -20
  158. package/examples/output/matrix-mechanics.txt +0 -14
  159. package/examples/output/medior.txt +0 -32
  160. package/examples/output/n3-speaks-for-itself.txt +0 -52
  161. package/examples/output/parcellocker.txt +0 -20
  162. package/examples/output/pn-junction-tunneling.txt +0 -23
  163. package/examples/output/queens.txt +0 -21
  164. package/examples/output/rc-discharge-envelope.n3 +0 -9
  165. package/examples/output/rdf-dataset.n3 +0 -5
  166. package/examples/output/rdf-message-flow.n3 +0 -7
  167. package/examples/output/rdf-messages.n3 +0 -7
  168. package/examples/output/school-placement-audit.n3 +0 -3
  169. package/examples/output/smoke-arithmetic.n3 +0 -5
  170. package/examples/output/smoke-arithmetic.txt +0 -5
  171. package/examples/output/sqrt2-cauchy.txt +0 -13
  172. package/examples/output/sqrt2-dedekind.txt +0 -31
  173. package/examples/output/transcendental-numbers-stretched.txt +0 -260
  174. package/examples/output/transistor-switch.txt +0 -24
  175. package/examples/output/triple-terms.n3 +0 -5
@@ -1,31 +0,0 @@
1
- === Answer ===
2
- Name: Flandor
3
- Region: Flanders
4
- Metric: regional_retooling_priority
5
- Active need count: 3/3
6
- Recommended package: Flandor Retooling Pulse
7
- Budget cap: €140M
8
- Package cost: €120M
9
- Payload SHA-256: 718f5b17d07ab6a95503bc04a1000ddb132409f600659c03d21def81914b780b
10
- Envelope HMAC-SHA-256: 955968ca99a191783bc00cba068128ccb9ff40a5e6114fda13a52c74ee27329e
11
-
12
- === Reason Why ===
13
- Export weakness is active because at least one cluster has exportOrdersIndex < 90 (Antwerp chemicals=84, Ghent manufacturing=87).
14
- Skills strain is active because technical vacancy rate is 4.6% (threshold > 3.9%).
15
- Grid stress is active because congestion hours = 19 (threshold > 11).
16
- The recommendation policy is "lowest_cost_package_covering_all_active_needs", so the cheapest package that covers all active needs within budget is selected.
17
- Selected package "Flandor Retooling Pulse" covers export=true, skills=true, grid=true, cost=€120M.
18
- Usage is permitted only for purpose "regional_stabilization" and the envelope expires at 2026-04-08T19:00:00+00:00.
19
-
20
- === Check ===
21
- - PASS: payload hash matches
22
- - PASS: hmac matches
23
- - PASS: threshold reached
24
- - PASS: scope complete
25
- - PASS: minimization respected
26
- - PASS: authorized purpose allowed
27
- - PASS: deletion duty still on time
28
- - PASS: surveillance reuse prohibited
29
- - PASS: package exists within budget
30
- - PASS: package covers all active needs
31
- - PASS: lowest-cost eligible package chosen
@@ -1 +0,0 @@
1
- Knapsack GA best genome 101000000101 (feasible=true): weight=50 value=101 after 4 generations.
@@ -1 +0,0 @@
1
- GA evolved 11111101010 -> 2026 in 8 generations.
@@ -1,3 +0,0 @@
1
- @prefix : <https://eyereasoner.github.io/eyeling/examples/genetic-knapsack-selection#> .
2
-
3
- :geneticKnapsackSelection :selects :FinalLocal .
@@ -1,20 +0,0 @@
1
- HarborSMR — bounded flexible-export insight for port electrolysis
2
-
3
- Answer
4
- PERMIT
5
- The port hydrogen hub may use the SMR insight to run PEM electrolyzer train 2 at 16 MW from 14:00 to 18:00.
6
-
7
- Reason Why
8
- The operator shares only a narrow, expiring insight that a temporary 18 MW flexible-export window is available. The request is for electrolysis dispatch only, the requested 16 MW fits inside the permitted window, safety margins are above threshold, no outage blocks the window, and the policy forbids redistribution for market resale. Raw reactor telemetry stays local.
9
-
10
- Check
11
- C1 OK - reserve margin exceeds the dispatch threshold
12
- C2 OK - cooling margin exceeds the dispatch threshold
13
- C3 OK - no planned outage blocks the window
14
- C4 OK - requested MW fits within the export window
15
- C5 OK - serialized insight omits sensitive telemetry terms
16
- C6 OK - aggregate excludes core temperature, rod position, neutron flux, and operator IDs
17
- C7 OK - policy allows use for electrolysis dispatch before expiry
18
- C8 OK - policy prohibits redistribution for market resale
19
- C9 OK - scope is explicit: device, event, start, and expiry
20
- C10 OK - dispatch plan matches the requested load and power
@@ -1,14 +0,0 @@
1
- === Answer ===
2
- In this toy matrix-mechanics model, the Hamiltonian has two discrete energy levels and does not commute with a second observable.
3
-
4
- === Reason Why ===
5
- H = [[1,0],[0,2]]
6
- X = [[0,1],[1,0]]
7
- HX = [[0,1],[2,0]]
8
- XH = [[0,2],[1,0]]
9
- [H,X] = [[0,-1],[1,0]]
10
-
11
- === Check ===
12
- trace/determinant match energy levels: yes
13
- X^2 = I : yes
14
- [H,X] != 0 : yes
@@ -1,32 +0,0 @@
1
- === Answer ===
2
- Name: Medior
3
- Region: Flanders
4
- Metric: post_discharge_coordination_priority
5
- Active need count: 4/3
6
- Recommended package: Medior Continuity Pulse
7
- Budget cap: €5
8
- Package cost: €4
9
- Payload SHA-256: b5fec8971d6c5e313a1387f08151f1c3203effce05d6455469c9f63305be05ae
10
- Envelope HMAC-SHA-256: 072f4c2774ce362e660649d145c9d784e5e95d63d24d4057b119a419c6ba34dc
11
-
12
- === Reason Why ===
13
- RenalSafetyConcern holds because eGFR = 52 and the threshold is < 60.
14
- PolypharmacyRisk holds because the active medication count is 9 and the threshold is ≥ 8.
15
- ReadmissionHistory holds because admissionsLast180Days = 2 and the threshold is ≥ 1.
16
- RecentDischargeWindow holds because hoursSinceDischarge = 18 and the threshold is ≤ 48.
17
- The recommendation rule selects the least-cost package that covers every active need and remains within budget.
18
- The selected package is "Medior Continuity Pulse" with cost €4, touches=3.
19
- Use is permitted only for purpose "care_coordination" and expires at 2026-04-11T08:00:00+00:00.
20
-
21
- === Check ===
22
- - PASS: payloadHashMatches
23
- - PASS: signatureVerifies
24
- - PASS: thresholdReached
25
- - PASS: scopeComplete
26
- - PASS: minimizationRespected
27
- - PASS: authorizationAllowed
28
- - PASS: dutyTimely
29
- - PASS: insurancePricingProhibited
30
- - PASS: packageWithinBudget
31
- - PASS: packageCoversAllActiveNeeds
32
- - PASS: lowestCostEligiblePackageChosen
@@ -1,52 +0,0 @@
1
- @prefix : <https://example.org/n3-speaks#> .
2
- @prefix foaf: <http://xmlns.com/foaf/0.1/> .
3
- @prefix id: <https://example.org/id/> .
4
-
5
- :report :aliceReaches id:bob .
6
- :report :aliceReaches id:carol .
7
- :report :aliceReaches id:dave .
8
- :report :believes {
9
- id:alice foaf:knows id:bob .
10
- } .
11
- :report :believes {
12
- id:alice foaf:name "Alice" .
13
- } .
14
- :report :believes {
15
- id:bob foaf:knows id:carol .
16
- } .
17
- :report :believes {
18
- id:bob foaf:name "Bob" .
19
- } .
20
- :report :believes {
21
- id:carol foaf:knows id:dave .
22
- } .
23
- :report :believes {
24
- id:carol foaf:name "Carol" .
25
- } .
26
- :report :believes {
27
- id:dave foaf:name "Dave" .
28
- } .
29
- :report :trusts <https://alice.example/profile.n3> .
30
- :report :trusts <https://bob.example/profile.n3> .
31
- :report :trusts <https://carol.example/profile.n3> .
32
- {
33
- id:alice foaf:knows id:bob .
34
- } :believedFromDoc <https://alice.example/profile.n3> .
35
- {
36
- id:alice foaf:name "Alice" .
37
- } :believedFromDoc <https://alice.example/profile.n3> .
38
- {
39
- id:bob foaf:knows id:carol .
40
- } :believedFromDoc <https://bob.example/profile.n3> .
41
- {
42
- id:bob foaf:name "Bob" .
43
- } :believedFromDoc <https://bob.example/profile.n3> .
44
- {
45
- id:carol foaf:knows id:dave .
46
- } :believedFromDoc <https://carol.example/profile.n3> .
47
- {
48
- id:carol foaf:name "Carol" .
49
- } :believedFromDoc <https://carol.example/profile.n3> .
50
- {
51
- id:dave foaf:name "Dave" .
52
- } :believedFromDoc <https://carol.example/profile.n3> .
@@ -1,20 +0,0 @@
1
- ParcelLocker — One-time parcel pickup by a friend
2
-
3
- Answer
4
- PERMIT
5
- Noah may collect Maya's parcel from locker B17.
6
-
7
- Reason Why
8
- Maya created a one-time authorization for Noah only, for this parcel only, at this locker only, and for pickup only. The token is active, the parcel is ready, and the same authorization does not reveal billing details or allow redirection.
9
-
10
- Check
11
- C1 OK - requester matches the named delegate
12
- C2 OK - requested parcel matches the authorized parcel
13
- C3 OK - requested locker matches the authorized locker
14
- C4 OK - requested action is parcel collection
15
- C5 OK - requested purpose is pickup only
16
- C6 OK - authorization is active
17
- C7 OK - authorization is single-use
18
- C8 OK - parcel is ready for pickup
19
- C9 OK - billing details stay hidden
20
- C10 OK - parcel redirection is not allowed
@@ -1,23 +0,0 @@
1
- === Answer ===
2
- In this toy PN-junction tunneling model, heavy doping narrows the depletion region enough for a tunneling window that rises to a peak and then falls, producing a negative-differential region.
3
- case : pn-junction-tunneling
4
- peak bias : 2
5
- peak current proxy : 4
6
- negative differential region : yes
7
-
8
- === Reason Why ===
9
- We model tunneling current as an exact overlap count between filled N-side states and empty P-side states while forward bias shifts the bands. Heavy doping is represented by a much narrower depletion region.
10
- ordinary depletion width (nm) : 8
11
- tunnel depletion width (nm) : 1
12
- filled N-side states : [1, 2, 3, 4]
13
- empty P-side states at 0 bias : [3, 4, 5, 6]
14
- bias -> overlap current proxy : 0->2, 1->3, 2->4, 3->3, 4->2, 5->1, 6->0
15
- peak point : 2 -> 4
16
- high-bias point : 6 -> 0
17
-
18
- === Check ===
19
- heavily doped barrier is narrower : yes
20
- peak occurs before overlap closes : yes
21
- negative differential region present : yes
22
- high-bias overlap closes : yes
23
- peak equals full four-state overlap: yes
@@ -1,21 +0,0 @@
1
- Solving 14-Queens...
2
- Printing at most 1 solution(s).
3
-
4
- Solution 1:
5
- Q . . . . . . . . . . . . .
6
- . . Q . . . . . . . . . . .
7
- . . . . Q . . . . . . . . .
8
- . . . . . . Q . . . . . . .
9
- . . . . . . . . . . . Q . .
10
- . . . . . . . . . Q . . . .
11
- . . . . . . . . . . . . Q .
12
- . . . Q . . . . . . . . . .
13
- . . . . . . . . . . . . . Q
14
- . . . . . . . . Q . . . . .
15
- . Q . . . . . . . . . . . .
16
- . . . . . Q . . . . . . . .
17
- . . . . . . . Q . . . . . .
18
- . . . . . . . . . . Q . . .
19
- As column positions by row: [1, 3, 5, 7, 12, 10, 13, 4, 14, 9, 2, 6, 8, 11]
20
-
21
- Total solutions for 14-Queens: 365596
@@ -1,9 +0,0 @@
1
- === Answer ===
2
- exact decay symbol : exp(-1/4)
3
- certified decay interval : [0.7788007830, 0.7788007831]
4
- first below tolerance step : 13
5
- first below tolerance time : 0.325 s
6
- upper voltage at step 13 : 0.930581 V
7
-
8
- === Explanation ===
9
- The physical decay factor is exp(-1/4), but the example uses a finite double interval as the certificate. Because the interval lies strictly between 0 and 1, the capacitor voltage envelope contracts each sample. The upper envelope is the safety-relevant bound: once it falls below 1.0 V, every compatible exact trajectory is below tolerance.
@@ -1,5 +0,0 @@
1
- VERSION "1.2"
2
-
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/rdf-dataset#> .
4
-
5
- :workOrder :entails <<( :sensor :needs :inspection )>> .
@@ -1,7 +0,0 @@
1
- @prefix : <https://eyereasoner.github.io/eyeling/examples/rdf-message-flow#> .
2
-
3
- :rdfMessageFlowExample :demonstrates :ContinuousFlow .
4
- :rdfMessageFlowExample :demonstrates :BackPressureRelease .
5
- :rdfMessageFlowExample :demonstrates :AtomicMessageContext .
6
- :rdfMessageFlowExample :demonstrates :HeartbeatInFlow .
7
- :rdfMessageFlowExample :demonstrates :ThresholdRouting .
@@ -1,7 +0,0 @@
1
- @prefix : <https://eyereasoner.github.io/eyeling/examples/rdf-messages#> .
2
-
3
- :rdfMessagesExample :demonstrates :ExplicitBoundaries .
4
- :rdfMessagesExample :demonstrates :AtomicMessageContext .
5
- :rdfMessagesExample :demonstrates :EmptyHeartbeat .
6
- :rdfMessagesExample :demonstrates :MessageScopedBlankNodes .
7
- :rdfMessagesExample :demonstrates :ReplayableMessageLog .
@@ -1,3 +0,0 @@
1
- @prefix : <https://eyereasoner.github.io/eyeling/examples/school-placement-audit#> .
2
-
3
- :schoolPlacementAudit :reports :Audit .
@@ -1,5 +0,0 @@
1
- === Answer ===
2
- product = 42
3
-
4
- === Explanation ===
5
- The compiled rule multiplies :x and :y using math:product.
@@ -1,5 +0,0 @@
1
- === Answer ===
2
- product = 42
3
-
4
- === Explanation ===
5
- The compiled rule multiplies :x and :y using math:product.
@@ -1,13 +0,0 @@
1
- Approximation (at limit): sqrt2 ≈ 1.414213562373095
2
- n=0 x=1.0 delta=seed err=1
3
- n=1 x=1.5 delta=0.5 err=0.25
4
- n=2 x=1.4166666666666665 delta=0.08333333333333348 err=0.006944444444444198
5
- n=3 x=1.4142156862745097 delta=0.002450980392156854 err=0.000006007304882427178
6
- n=4 x=1.4142135623746899 delta=0.0000021238998197947723 err=4.510614104447086e-12
7
- n=5 x=1.414213562373095 delta=1.5949463971764999e-12 err=4.440892098500626e-16
8
- n=6 x=1.414213562373095 delta=0 err=4.440892098500626e-16
9
- n=7 x=1.414213562373095 delta=0 err=4.440892098500626e-16
10
- n=8 x=1.414213562373095 delta=0 err=4.440892098500626e-16
11
- n=9 x=1.414213562373095 delta=0 err=4.440892098500626e-16
12
- n=10 x=1.414213562373095 delta=0 err=4.440892098500626e-16
13
- Tail check: for i,j in (4..10), all |x_i - x_j| < 0.0001 (finite check)
@@ -1,31 +0,0 @@
1
- q=-2 q^2=4 => LEFT (q<0 OR q^2<2)
2
- q=-1 q^2=1 => LEFT (q<0 OR q^2<2)
3
- q=-0.5 q^2=0.25 => LEFT (q<0 OR q^2<2)
4
- q=-0.1 q^2=0.010000000000000002 => LEFT (q<0 OR q^2<2)
5
- q=0 q^2=0 => LEFT (q<0 OR q^2<2)
6
- q=0.5 q^2=0.25 => LEFT (q<0 OR q^2<2)
7
- q=1 q^2=1 => LEFT (q<0 OR q^2<2)
8
- q=1.3 q^2=1.6900000000000002 => LEFT (q<0 OR q^2<2)
9
- q=1.4 q^2=1.9599999999999997 => LEFT (q<0 OR q^2<2)
10
- q=1.41 q^2=1.9880999999999998 => LEFT (q<0 OR q^2<2)
11
- q=1.414 q^2=1.9993959999999997 => LEFT (q<0 OR q^2<2)
12
- q=1.4142 q^2=1.9999616399999998 => LEFT (q<0 OR q^2<2)
13
- q=1.4143 q^2=2.0002444899999996 => RIGHT (q>=0 AND q^2>=2)
14
- q=1.42 q^2=2.0164 => RIGHT (q>=0 AND q^2>=2)
15
- q=1.5 q^2=2.25 => RIGHT (q>=0 AND q^2>=2)
16
- q=2 q^2=4 => RIGHT (q>=0 AND q^2>=2)
17
- successor: from -2 to -1 (s^2=1)
18
- successor: from -1 to -0.5 (s^2=0.25)
19
- successor: from -0.5 to -0.25 (s^2=0.0625)
20
- successor: from -0.1 to -0.05 (s^2=0.0025000000000000005)
21
- successor: from 0 to 1 (s^2=1)
22
- successor: from 0.5 to 1.2 (s^2=1.44)
23
- successor: from 1 to 1.3333333333333333 (s^2=1.7777777777777777)
24
- successor: from 1.3 to 1.393939393939394 (s^2=1.9430670339761251)
25
- successor: from 1.4 to 1.411764705882353 (s^2=1.9930795847750868)
26
- successor: from 1.41 to 1.4134897360703813 (s^2=1.9979532339763162)
27
- successor: from 1.414 to 1.4141769185705917 (s^2=1.9998963570178139)
28
- successor: from 1.4142 to 1.4142112354285044 (s^2=1.9999934184122166)
29
- Check: cut is proper on the sample (has LEFT and RIGHT witnesses)
30
- Check: downward-closed on the sample (finite for-all test)
31
- Check: no maximal element witnessed for all LEFT seed members (constructive successors)
@@ -1,260 +0,0 @@
1
- @prefix : <https://example.org/transcendental#> .
2
-
3
- :report :concerns :prod_e_pi .
4
- :report :concerns :sum_e_pi .
5
- :report :headline :quadraticTrick .
6
- :report :irrational :e .
7
- :report :irrational :e_div_2 .
8
- :report :irrational :e_plus_1 .
9
- :report :irrational :e_plus_2 .
10
- :report :irrational :exp_minus_pi_over_2 .
11
- :report :irrational :exp_sqrt2 .
12
- :report :irrational :half_times_e .
13
- :report :irrational :half_times_pi .
14
- :report :irrational :pi .
15
- :report :irrational :pi_div_2 .
16
- :report :irrational :pi_plus_1 .
17
- :report :irrational :pi_plus_sqrt2 .
18
- :report :irrational :pow_2_sqrt2 .
19
- :report :irrational :pow_e_pi .
20
- :report :irrational :pow_i_i .
21
- :report :irrational :pow_minus1_minusI .
22
- :report :irrational :pow2sqrt2_div_2 .
23
- :report :irrational :pow2sqrt2_plus_1 .
24
- :report :irrational :two_times_e .
25
- :report :irrational :two_times_pi .
26
- :report :irrational :two_times_pow2sqrt2 .
27
- :report :notConstructible :e .
28
- :report :notConstructible :e_div_2 .
29
- :report :notConstructible :e_plus_1 .
30
- :report :notConstructible :e_plus_2 .
31
- :report :notConstructible :exp_minus_pi_over_2 .
32
- :report :notConstructible :exp_sqrt2 .
33
- :report :notConstructible :half_times_e .
34
- :report :notConstructible :half_times_pi .
35
- :report :notConstructible :pi .
36
- :report :notConstructible :pi_div_2 .
37
- :report :notConstructible :pi_plus_1 .
38
- :report :notConstructible :pi_plus_sqrt2 .
39
- :report :notConstructible :pow_2_sqrt2 .
40
- :report :notConstructible :pow_e_pi .
41
- :report :notConstructible :pow_i_i .
42
- :report :notConstructible :pow_minus1_minusI .
43
- :report :notConstructible :pow2sqrt2_div_2 .
44
- :report :notConstructible :pow2sqrt2_plus_1 .
45
- :report :notConstructible :two_times_e .
46
- :report :notConstructible :two_times_pi .
47
- :report :notConstructible :two_times_pow2sqrt2 .
48
- :report :proof {
49
- :e :provedBy :Hermite1873 .
50
- } .
51
- :report :proof {
52
- :e :provedBy :TransImpliesIrrational .
53
- } .
54
- :report :proof {
55
- :e :provedBy :TransImpliesNotConstructible .
56
- } .
57
- :report :proof {
58
- :e_div_2 :provedBy :TransDivAlg .
59
- } .
60
- :report :proof {
61
- :e_div_2 :provedBy :TransImpliesIrrational .
62
- } .
63
- :report :proof {
64
- :e_div_2 :provedBy :TransImpliesNotConstructible .
65
- } .
66
- :report :proof {
67
- :e_plus_1 :provedBy :TransImpliesIrrational .
68
- } .
69
- :report :proof {
70
- :e_plus_1 :provedBy :TransImpliesNotConstructible .
71
- } .
72
- :report :proof {
73
- :e_plus_1 :provedBy :TransPlusAlg .
74
- } .
75
- :report :proof {
76
- :e_plus_2 :provedBy :TransImpliesIrrational .
77
- } .
78
- :report :proof {
79
- :e_plus_2 :provedBy :TransImpliesNotConstructible .
80
- } .
81
- :report :proof {
82
- :e_plus_2 :provedBy :TransPlusAlg .
83
- } .
84
- :report :proof {
85
- :exp_minus_pi_over_2 :provedBy :GelfondSchneider .
86
- } .
87
- :report :proof {
88
- :exp_minus_pi_over_2 :provedBy :TransImpliesIrrational .
89
- } .
90
- :report :proof {
91
- :exp_minus_pi_over_2 :provedBy :TransImpliesNotConstructible .
92
- } .
93
- :report :proof {
94
- :exp_sqrt2 :provedBy :LindemannWeierstrass .
95
- } .
96
- :report :proof {
97
- :exp_sqrt2 :provedBy :TransImpliesIrrational .
98
- } .
99
- :report :proof {
100
- :exp_sqrt2 :provedBy :TransImpliesNotConstructible .
101
- } .
102
- :report :proof {
103
- :half_times_e :provedBy :TransImpliesIrrational .
104
- } .
105
- :report :proof {
106
- :half_times_e :provedBy :TransImpliesNotConstructible .
107
- } .
108
- :report :proof {
109
- :half_times_e :provedBy :TransTimesAlg .
110
- } .
111
- :report :proof {
112
- :half_times_pi :provedBy :TransImpliesIrrational .
113
- } .
114
- :report :proof {
115
- :half_times_pi :provedBy :TransImpliesNotConstructible .
116
- } .
117
- :report :proof {
118
- :half_times_pi :provedBy :TransTimesAlg .
119
- } .
120
- :report :proof {
121
- :pi :provedBy :Lindemann1882 .
122
- } .
123
- :report :proof {
124
- :pi :provedBy :TransImpliesIrrational .
125
- } .
126
- :report :proof {
127
- :pi :provedBy :TransImpliesNotConstructible .
128
- } .
129
- :report :proof {
130
- :pi_div_2 :provedBy :TransDivAlg .
131
- } .
132
- :report :proof {
133
- :pi_div_2 :provedBy :TransImpliesIrrational .
134
- } .
135
- :report :proof {
136
- :pi_div_2 :provedBy :TransImpliesNotConstructible .
137
- } .
138
- :report :proof {
139
- :pi_plus_1 :provedBy :TransImpliesIrrational .
140
- } .
141
- :report :proof {
142
- :pi_plus_1 :provedBy :TransImpliesNotConstructible .
143
- } .
144
- :report :proof {
145
- :pi_plus_1 :provedBy :TransPlusAlg .
146
- } .
147
- :report :proof {
148
- :pi_plus_sqrt2 :provedBy :TransImpliesIrrational .
149
- } .
150
- :report :proof {
151
- :pi_plus_sqrt2 :provedBy :TransImpliesNotConstructible .
152
- } .
153
- :report :proof {
154
- :pi_plus_sqrt2 :provedBy :TransPlusAlg .
155
- } .
156
- :report :proof {
157
- :pow_2_sqrt2 :provedBy :GelfondSchneider .
158
- } .
159
- :report :proof {
160
- :pow_2_sqrt2 :provedBy :TransImpliesIrrational .
161
- } .
162
- :report :proof {
163
- :pow_2_sqrt2 :provedBy :TransImpliesNotConstructible .
164
- } .
165
- :report :proof {
166
- :pow_e_pi :provedBy :GelfondSchneider .
167
- } .
168
- :report :proof {
169
- :pow_e_pi :provedBy :TransImpliesIrrational .
170
- } .
171
- :report :proof {
172
- :pow_e_pi :provedBy :TransImpliesNotConstructible .
173
- } .
174
- :report :proof {
175
- :pow_i_i :provedBy :GelfondSchneider .
176
- } .
177
- :report :proof {
178
- :pow_i_i :provedBy :TransImpliesIrrational .
179
- } .
180
- :report :proof {
181
- :pow_i_i :provedBy :TransImpliesNotConstructible .
182
- } .
183
- :report :proof {
184
- :pow_minus1_minusI :provedBy :GelfondSchneider .
185
- } .
186
- :report :proof {
187
- :pow_minus1_minusI :provedBy :TransImpliesIrrational .
188
- } .
189
- :report :proof {
190
- :pow_minus1_minusI :provedBy :TransImpliesNotConstructible .
191
- } .
192
- :report :proof {
193
- :pow2sqrt2_div_2 :provedBy :TransDivAlg .
194
- } .
195
- :report :proof {
196
- :pow2sqrt2_div_2 :provedBy :TransImpliesIrrational .
197
- } .
198
- :report :proof {
199
- :pow2sqrt2_div_2 :provedBy :TransImpliesNotConstructible .
200
- } .
201
- :report :proof {
202
- :pow2sqrt2_plus_1 :provedBy :TransImpliesIrrational .
203
- } .
204
- :report :proof {
205
- :pow2sqrt2_plus_1 :provedBy :TransImpliesNotConstructible .
206
- } .
207
- :report :proof {
208
- :pow2sqrt2_plus_1 :provedBy :TransPlusAlg .
209
- } .
210
- :report :proof {
211
- :two_times_e :provedBy :TransImpliesIrrational .
212
- } .
213
- :report :proof {
214
- :two_times_e :provedBy :TransImpliesNotConstructible .
215
- } .
216
- :report :proof {
217
- :two_times_e :provedBy :TransTimesAlg .
218
- } .
219
- :report :proof {
220
- :two_times_pi :provedBy :TransImpliesIrrational .
221
- } .
222
- :report :proof {
223
- :two_times_pi :provedBy :TransImpliesNotConstructible .
224
- } .
225
- :report :proof {
226
- :two_times_pi :provedBy :TransTimesAlg .
227
- } .
228
- :report :proof {
229
- :two_times_pow2sqrt2 :provedBy :TransImpliesIrrational .
230
- } .
231
- :report :proof {
232
- :two_times_pow2sqrt2 :provedBy :TransImpliesNotConstructible .
233
- } .
234
- :report :proof {
235
- :two_times_pow2sqrt2 :provedBy :TransTimesAlg .
236
- } .
237
- :report :transcendental :e .
238
- :report :transcendental :e_div_2 .
239
- :report :transcendental :e_plus_1 .
240
- :report :transcendental :e_plus_2 .
241
- :report :transcendental :exp_minus_pi_over_2 .
242
- :report :transcendental :exp_sqrt2 .
243
- :report :transcendental :half_times_e .
244
- :report :transcendental :half_times_pi .
245
- :report :transcendental :pi .
246
- :report :transcendental :pi_div_2 .
247
- :report :transcendental :pi_plus_1 .
248
- :report :transcendental :pi_plus_sqrt2 .
249
- :report :transcendental :pow_2_sqrt2 .
250
- :report :transcendental :pow_e_pi .
251
- :report :transcendental :pow_i_i .
252
- :report :transcendental :pow_minus1_minusI .
253
- :report :transcendental :pow2sqrt2_div_2 .
254
- :report :transcendental :pow2sqrt2_plus_1 .
255
- :report :transcendental :two_times_e .
256
- :report :transcendental :two_times_pi .
257
- :report :transcendental :two_times_pow2sqrt2 .
258
- :report :unknown :pow_pi_e .
259
- :report :unknown :prod_e_pi .
260
- :report :unknown :sum_e_pi .
@@ -1,24 +0,0 @@
1
- === Answer ===
2
- In this toy transistor-switch model, a low input leaves the transistor in cutoff (OFF) and a high input drives it into saturation (ON), so the load behaves like an on/off branch rather than a linear amplifier.
3
- case : transistor-switch
4
- low input state : cutoff / OFF
5
- high input state : saturation / ON
6
- on-state load current : 4.80 mA
7
-
8
- === Reason Why ===
9
- We model an NPN low-side switch with exact millivolt and microamp arithmetic. The base current comes from (Vin - Vbe,on)/Rb when the base-emitter junction is forward biased, and the collector current is the smaller of beta * Ib and the load-limited current (Vcc - Vce,sat)/Rl.
10
- supply voltage : 5.00 V
11
- base resistor : 10000 ohms
12
- load resistor : 1000 ohms
13
- transistor beta proxy : 100
14
- low input : Vin=0.00 V -> Ib=0.00 mA, Ic=0.00 mA, Vce=5.00 V, state=cutoff / OFF
15
- high input : Vin=5.00 V -> Ib=0.43 mA, Ic=4.80 mA, Vce=0.20 V, state=saturation / ON
16
- high-input gain limit : 43.00 mA
17
- high-input load limit : 4.80 mA
18
-
19
- === Check ===
20
- low input stays in cutoff : yes
21
- high input reaches saturation : yes
22
- switching states differ : yes
23
- on-state current is load-limited : yes
24
- load voltage matches resistor drop : yes
@@ -1,5 +0,0 @@
1
- VERSION "1.2"
2
-
3
- @prefix : <https://eyereasoner.github.io/eyeling/examples/triple_terms#> .
4
-
5
- :observation :entails <<( :sensor :needs :inspection )>> .