eyelet works fine with Trealla #626
Replies: 21 comments 25 replies
-
Beta Was this translation helpful? Give feedback.
-
Still very happy with
|
Beta Was this translation helpful? Give feedback.
-
I wish my eyes v2 worked so well. |
Beta Was this translation helpful? Give feedback.
-
Well a string is not the same as an atom, though at times they may look similar. SWI further conflates the distinction. |
Beta Was this translation helpful? Give feedback.
-
I get the same result with branch main as tags/v1.7.14 using Trealla. That is, neither one works as intended. I thought you said main should work? EDIT: main seems to have double-quotes. |
Beta Was this translation helpful? Give feedback.
-
Ok, I manually edited the double-quotes back to single-quotes and I can see it works. I'll see what I can find. |
Beta Was this translation helpful? Give feedback.
-
Well the problem is here...
but when I test that lookup in isolation it works fine. |
Beta Was this translation helpful? Give feedback.
-
Referred to issue #659 |
Beta Was this translation helpful? Give feedback.
-
The treally results now look much better https://github.com/eyereasoner/eyelog/tree/main/etc/output-tpl |
Beta Was this translation helpful? Give feedback.
-
FYI...
~/eye2/etc (main) $ ./test-swipl
--------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and swipl v9.3.18
--------------------------------------
access-control-policy.pl 159 msec OK
ackermann.pl 563 msec OK
age.pl 160 msec OK
basic-monadic-10000.pl 590 msec FAILED
basic-monadic-1000.pl 220 msec FAILED
basic-monadic-100.pl 167 msec OK
basic-monadic-10.pl 242 msec OK
...
…On Thu, Jan 23, 2025 at 8:44 AM Jos De Roo ***@***.***> wrote:
--------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and tpl v2.63.28
--------------------------------------
access-control-policy.pl 85 msec OKackermann.pl 877 msec OKage.pl 74 msec OKbasic-monadic-1.pl 76 msec OKbasic-monadic-10.pl 74 msec OKbasic-monadic-100.pl 103 msec OKbasic-monadic-1000.pl 203 msec OKbasic-monadic-10000.pl 1257 msec OKcollatz-1.pl 65 msec OKcollatz-10.pl 66 msec OKcollatz-100.pl 69 msec OKcollatz-1000.pl 150 msec OKcollatz-10000.pl 1320 msec OKcombinatorics.pl 70 msec OKcomplex.pl 64 msec OKcontrol-system.pl 63 msec OKcurly.pl 66 msec OKdeep-taxonomy-1.pl 69 msec OKdeep-taxonomy-10.pl 66 msec OKdeep-taxonomy-100.pl 77 msec OKdeep-taxonomy-1000.pl 155 msec OKdeep-taxonomy-10000.pl 985 msec OKderivative.pl 65 msec OKderived-rule.pl 64 msec OKdiamond-property.pl 64 msec OKdog.pl 64 msec OKeaster.pl 65 msec OKenigma1225.pl 86 msec OKequation.pl 69 msec OKeulers-identity.pl 64 msec OKfast-fourier-transform.pl 68 msec OKfibonacci.pl 78 msec OKfour-color.pl 65 msec OKfuse.pl 63 msec OKgoldbach-1.pl 64 msec OKgoldbach-10.pl 69 msec OKgoldbach-100.pl 115 msec OKgoldbach-1000.pl 1388 msec OKgoldbach-10000.pl 960 msec OKgoldbach.pl 4009 msec OKgood-cobbler.pl 63 msec OKgps.pl 64 msec OKgraph.pl 67 msec OKgray-code-counter.pl 65 msec OKhanoi.pl 89 msec OKkaprekar.pl 1641 msec OKlee.pl 70 msec OKmatrix.pl 73 msec OKmeta-interpretation.pl 63 msec OKmulti-agent.pl 63 msec OKn-queens.pl 113 msec OKpadovan.pl 76 msec OKpath-discovery.pl 8925 msec OKpeano.pl 63 msec OKpeasant.pl 320 msec OKpi.pl 492 msec OKpolygon.pl 63 msec OKpolynomial.pl 68 msec OKprime.pl 101 msec OKproof-by-cases.pl 63 msec OKproof-by-contradiction.pl 64 msec OKproof-by-contrapositive.pl 62 msec OKproof-by-induction.pl 72 msec OKqiana.pl 64 msec OKsieve.pl 103 msec OKsocrates.pl 64 msec OKsuperdense-coding.pl 65 msec OKtakeuchi.pl 1348 msec OKturing.pl 64 msec OKuniversal.pl 63 msec OKworkplace-1.pl 64 msec OKworkplace-10.pl 64 msec OKworkplace-100.pl 76 msec OKworkplace-1000.pl 163 msec OKworkplace-10000.pl 1197 msec OKzebra.pl 88 msec OK
31 sec 76 OK 0 FAILED
--------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and swipl v9.3.18
--------------------------------------
access-control-policy.pl 99 msec OKackermann.pl 373 msec OKage.pl 82 msec OKbasic-monadic-1.pl 81 msec OKbasic-monadic-10.pl 80 msec OKbasic-monadic-100.pl 85 msec OKbasic-monadic-1000.pl 108 msec OKbasic-monadic-10000.pl 290 msec OKcollatz-1.pl 79 msec OKcollatz-10.pl 80 msec OKcollatz-100.pl 85 msec OKcollatz-1000.pl 144 msec OKcollatz-10000.pl 855 msec OKcombinatorics.pl 90 msec OKcomplex.pl 82 msec OKcontrol-system.pl 79 msec OKcurly.pl 81 msec OKdeep-taxonomy-1.pl 81 msec OKdeep-taxonomy-10.pl 81 msec OKdeep-taxonomy-100.pl 93 msec OKdeep-taxonomy-1000.pl 147 msec OKdeep-taxonomy-10000.pl 679 msec OKderivative.pl 90 msec OKderived-rule.pl 88 msec OKdiamond-property.pl 85 msec OKdog.pl 90 msec OKeaster.pl 90 msec OKenigma1225.pl 96 msec OKequation.pl 90 msec OKeulers-identity.pl 87 msec OKfast-fourier-transform.pl 88 msec OKfibonacci.pl 93 msec OKfour-color.pl 88 msec OKfuse.pl 87 msec OKgoldbach-1.pl 90 msec OKgoldbach-10.pl 90 msec OKgoldbach-100.pl 111 msec OKgoldbach-1000.pl 406 msec OKgoldbach-10000.pl 525 msec OKgoldbach.pl 970 msec OKgood-cobbler.pl 87 msec OKgps.pl 87 msec OKgraph.pl 87 msec OKgray-code-counter.pl 88 msec OKhanoi.pl 93 msec OKkaprekar.pl 612 msec OKlee.pl 92 msec OKmatrix.pl 93 msec OKmeta-interpretation.pl 88 msec OKmulti-agent.pl 91 msec OKn-queens.pl 101 msec OKpadovan.pl 91 msec OKpath-discovery.pl 4618 msec OKpeano.pl 88 msec OKpeasant.pl 93 msec OKpi.pl 187 msec OKpolygon.pl 87 msec OKpolynomial.pl 89 msec OKprime.pl 97 msec OKproof-by-cases.pl 90 msec OKproof-by-contradiction.pl 86 msec OKproof-by-contrapositive.pl 89 msec OKproof-by-induction.pl 90 msec OKqiana.pl 90 msec OKsieve.pl 99 msec OKsocrates.pl 86 msec OKsuperdense-coding.pl 86 msec OKtakeuchi.pl 445 msec OKturing.pl 89 msec OKuniversal.pl 86 msec OKworkplace-1.pl 88 msec OKworkplace-10.pl 86 msec OKworkplace-100.pl 94 msec OKworkplace-1000.pl 156 msec OKworkplace-10000.pl 715 msec OKzebra.pl 91 msec OK
17 sec 76 OK 0 FAILED
--------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and scryer v0.9.4
--------------------------------------
access-control-policy.pl 110 msec OKackermann.pl 710 msec OKage.pl 134 msec OKbasic-monadic-1.pl 142 msec OKbasic-monadic-10.pl 115 msec OKbasic-monadic-100.pl 138 msec OKbasic-monadic-1000.pl 443 msec OKbasic-monadic-10000.pl 4279 msec OKcollatz-1.pl 114 msec OKcollatz-10.pl 123 msec OKcollatz-100.pl 152 msec OKcollatz-1000.pl 991 msec OKcollatz-10000.pl 46637 msec OKcombinatorics.pl 182 msec OKcomplex.pl 122 msec OKcontrol-system.pl 108 msec OKcurly.pl 113 msec OKdeep-taxonomy-1.pl 114 msec OKdeep-taxonomy-10.pl 110 msec OKdeep-taxonomy-100.pl 126 msec OKdeep-taxonomy-1000.pl 300 msec OKdeep-taxonomy-10000.pl 2851 msec OKderivative.pl 122 msec OKderived-rule.pl 107 msec OKdiamond-property.pl 126 msec OKdog.pl 108 msec OKeaster.pl 118 msec OKenigma1225.pl 220 msec OKequation.pl 120 msec OKeulers-identity.pl 110 msec OKfast-fourier-transform.pl 116 msec OKfibonacci.pl 119 msec OKfour-color.pl 111 msec OKfuse.pl 107 msec OKgoldbach-1.pl 109 msec OKgoldbach-10.pl 127 msec OKgoldbach-100.pl 286 msec OKgoldbach-1000.pl 5782 msec OKgoldbach-10000.pl 7246 msec OKgoldbach.pl 1018 msec OKgood-cobbler.pl 108 msec OKgps.pl 112 msec OKgraph.pl 118 msec OKgray-code-counter.pl 112 msec OKhanoi.pl 137 msec OKkaprekar.pl 21672 msec OKlee.pl 120 msec OKmatrix.pl 129 msec OKmeta-interpretation.pl 111 msec OKmulti-agent.pl 112 msec OKn-queens.pl 155 msec OKpadovan.pl 116 msec OKpath-discovery.pl 56687 msec OKpeano.pl 113 msec OKpeasant.pl 169 msec OKpi.pl 218 msec OKpolygon.pl 106 msec OKpolynomial.pl 129 msec OKprime.pl 127 msec OKproof-by-cases.pl 115 msec OKproof-by-contradiction.pl 107 msec OKproof-by-contrapositive.pl 109 msec OKproof-by-induction.pl 114 msec OKqiana.pl 109 msec OKsieve.pl 123 msec OKsocrates.pl 113 msec OKsuperdense-coding.pl 115 msec OKtakeuchi.pl 942 msec OKturing.pl 110 msec OKuniversal.pl 110 msec OKworkplace-1.pl 107 msec OKworkplace-10.pl 118 msec OKworkplace-100.pl 205 msec OKworkplace-1000.pl 1206 msec OKworkplace-10000.pl 37889 msec OKzebra.pl 133 msec OK
197 sec 76 OK 0 FAILED
—
Reply to this email directly, view it on GitHub
<#626 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSETJVAIJE3G2TAIU5YL2MANN3AVCNFSM6AAAAABRVHCIIOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJSGI2TMMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
it should now be
|
Beta Was this translation helpful? Give feedback.
-
Still get those 2 failures with swipl.
…On Thu, Jan 23, 2025 at 10:17 AM Jos De Roo ***@***.***> wrote:
it should now be
git clone https://github.com/eyereasoner/eyelog
cd eyelog/etc
./test-trealla
./test-swipl
./test-scryer
Cloning into 'eyelog'...
remote: Enumerating objects: 2502, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 2502 (delta 4), reused 8 (delta 3), pack-reused 2491 (from 1)
Receiving objects: 100% (2502/2502), 20.08 MiB | 13.44 MiB/s, done.
Resolving deltas: 100% (1743/1743), done.
-----------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and trealla v2.63.28
-----------------------------------------
access-control-policy.pl 67 msec OKackermann.pl 1159 msec OKage.pl 63 msec OKbasic-monadic-1.pl 63 msec OKbasic-monadic-10.pl 64 msec OKbasic-monadic-100.pl 123 msec OKbasic-monadic-1000.pl 198 msec OKbasic-monadic-10000.pl 1228 msec OKcollatz-1.pl 62 msec OKcollatz-10.pl 69 msec OKcollatz-100.pl 69 msec OKcollatz-1000.pl 168 msec OKcollatz-10000.pl 1437 msec OKcombinatorics.pl 70 msec OKcomplex.pl 70 msec OKcontrol-system.pl 63 msec OKcurly.pl 67 msec OKdeep-taxonomy-1.pl 67 msec OKdeep-taxonomy-10.pl 65 msec OKdeep-taxonomy-100.pl 83 msec OKdeep-taxonomy-1000.pl 151 msec OKdeep-taxonomy-10000.pl 1001 msec OKderivative.pl 69 msec OKderived-rule.pl 64 msec OKdiamond-property.pl 65 msec OKdog.pl 64 msec OKeaster.pl 65 msec OKenigma1225.pl 85 msec OKequation.pl 70 msec OKeulers-identity.pl 62 msec OKfast-fourier-transform.pl 68 msec OKfibonacci.pl 78 msec OKfour-color.pl 66 msec OKfuse.pl 63 msec OKgoldbach-1.pl 64 msec OKgoldbach-10.pl 65 msec OKgoldbach-100.pl 121 msec OKgoldbach-1000.pl 1389 msec OKgoldbach-10000.pl 1973 msec OKgoldbach.pl 4271 msec OKgood-cobbler.pl 67 msec OKgps.pl 71 msec OKgraph.pl 69 msec OKgray-code-counter.pl 69 msec OKhanoi.pl 94 msec OKkaprekar.pl 1796 msec OKlee.pl 78 msec OKmatrix.pl 79 msec OKmeta-interpretation.pl 70 msec OKmulti-agent.pl 69 msec OKn-queens.pl 119 msec OKpadovan.pl 83 msec OKpath-discovery.pl 9814 msec OKpeano.pl 63 msec OKpeasant.pl 318 msec OKpi.pl 488 msec OKpolygon.pl 61 msec OKpolynomial.pl 70 msec OKprime.pl 102 msec OKproof-by-cases.pl 63 msec OKproof-by-contradiction.pl 64 msec OKproof-by-contrapositive.pl 63 msec OKproof-by-induction.pl 71 msec OKqiana.pl 63 msec OKsieve.pl 104 msec OKsocrates.pl 65 msec OKsuperdense-coding.pl 64 msec OKtakeuchi.pl 1376 msec OKturing.pl 62 msec OKuniversal.pl 65 msec OKworkplace-1.pl 65 msec OKworkplace-10.pl 65 msec OKworkplace-100.pl 75 msec OKworkplace-1000.pl 164 msec OKworkplace-10000.pl 1195 msec OKzebra.pl 90 msec OK
33 sec 76 OK 0 FAILED
-----------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and swipl v9.3.18
-----------------------------------------
access-control-policy.pl 82 msec OKackermann.pl 376 msec OKage.pl 80 msec OKbasic-monadic-1.pl 80 msec OKbasic-monadic-10.pl 82 msec OKbasic-monadic-100.pl 83 msec OKbasic-monadic-1000.pl 111 msec OKbasic-monadic-10000.pl 285 msec OKcollatz-1.pl 83 msec OKcollatz-10.pl 82 msec OKcollatz-100.pl 84 msec OKcollatz-1000.pl 141 msec OKcollatz-10000.pl 849 msec OKcombinatorics.pl 88 msec OKcomplex.pl 82 msec OKcontrol-system.pl 80 msec OKcurly.pl 80 msec OKdeep-taxonomy-1.pl 81 msec OKdeep-taxonomy-10.pl 86 msec OKdeep-taxonomy-100.pl 87 msec OKdeep-taxonomy-1000.pl 136 msec OKdeep-taxonomy-10000.pl 684 msec OKderivative.pl 90 msec OKderived-rule.pl 87 msec OKdiamond-property.pl 87 msec OKdog.pl 92 msec OKeaster.pl 100 msec OKenigma1225.pl 104 msec OKequation.pl 110 msec OKeulers-identity.pl 115 msec OKfast-fourier-transform.pl 103 msec OKfibonacci.pl 91 msec OKfour-color.pl 102 msec OKfuse.pl 91 msec OKgoldbach-1.pl 103 msec OKgoldbach-10.pl 108 msec OKgoldbach-100.pl 131 msec OKgoldbach-1000.pl 385 msec OKgoldbach-10000.pl 491 msec OKgoldbach.pl 1012 msec OKgood-cobbler.pl 81 msec OKgps.pl 102 msec OKgraph.pl 82 msec OKgray-code-counter.pl 85 msec OKhanoi.pl 86 msec OKkaprekar.pl 585 msec OKlee.pl 83 msec OKmatrix.pl 86 msec OKmeta-interpretation.pl 81 msec OKmulti-agent.pl 80 msec OKn-queens.pl 93 msec OKpadovan.pl 83 msec OKpath-discovery.pl 4202 msec OKpeano.pl 84 msec OKpeasant.pl 82 msec OKpi.pl 176 msec OKpolygon.pl 83 msec OKpolynomial.pl 83 msec OKprime.pl 91 msec OKproof-by-cases.pl 80 msec OKproof-by-contradiction.pl 80 msec OKproof-by-contrapositive.pl 81 msec OKproof-by-induction.pl 85 msec OKqiana.pl 82 msec OKsieve.pl 91 msec OKsocrates.pl 82 msec OKsuperdense-coding.pl 79 msec OKtakeuchi.pl 400 msec OKturing.pl 81 msec OKuniversal.pl 84 msec OKworkplace-1.pl 81 msec OKworkplace-10.pl 80 msec OKworkplace-100.pl 87 msec OKworkplace-1000.pl 146 msec OKworkplace-10000.pl 716 msec OKzebra.pl 90 msec OK
17 sec 76 OK 0 FAILED
-----------------------------------------
running eyelog examples and test cases
using eyelog v1.7.17 and scryer v0.9.4
-----------------------------------------
access-control-policy.pl 109 msec OKackermann.pl 1320 msec OKage.pl 116 msec OKbasic-monadic-1.pl 119 msec OKbasic-monadic-10.pl 121 msec OKbasic-monadic-100.pl 138 msec OKbasic-monadic-1000.pl 438 msec OKbasic-monadic-10000.pl 3971 msec OKcollatz-1.pl 109 msec OKcollatz-10.pl 114 msec OKcollatz-100.pl 151 msec OKcollatz-1000.pl 976 msec OKcollatz-10000.pl 47845 msec OKcombinatorics.pl 173 msec OKcomplex.pl 117 msec OKcontrol-system.pl 114 msec OKcurly.pl 116 msec OKdeep-taxonomy-1.pl 109 msec OKdeep-taxonomy-10.pl 115 msec OKdeep-taxonomy-100.pl 125 msec OKdeep-taxonomy-1000.pl 296 msec OKdeep-taxonomy-10000.pl 3147 msec OKderivative.pl 116 msec OKderived-rule.pl 107 msec OKdiamond-property.pl 125 msec OKdog.pl 110 msec OKeaster.pl 117 msec OKenigma1225.pl 222 msec OKequation.pl 122 msec OKeulers-identity.pl 111 msec OKfast-fourier-transform.pl 116 msec OKfibonacci.pl 121 msec OKfour-color.pl 113 msec OKfuse.pl 108 msec OKgoldbach-1.pl 113 msec OKgoldbach-10.pl 122 msec OKgoldbach-100.pl 285 msec OKgoldbach-1000.pl 6045 msec OKgoldbach-10000.pl 7486 msec OKgoldbach.pl 989 msec OKgood-cobbler.pl 106 msec OKgps.pl 111 msec OKgraph.pl 115 msec OKgray-code-counter.pl 107 msec OKhanoi.pl 121 msec OKkaprekar.pl 21763 msec OKlee.pl 117 msec OKmatrix.pl 128 msec OKmeta-interpretation.pl 108 msec OKmulti-agent.pl 110 msec OKn-queens.pl 158 msec OKpadovan.pl 119 msec OKpath-discovery.pl 58752 msec OKpeano.pl 118 msec OKpeasant.pl 173 msec OKpi.pl 227 msec OKpolygon.pl 117 msec OKpolynomial.pl 122 msec OKprime.pl 124 msec OKproof-by-cases.pl 114 msec OKproof-by-contradiction.pl 109 msec OKproof-by-contrapositive.pl 114 msec OKproof-by-induction.pl 109 msec OKqiana.pl 113 msec OKsieve.pl 124 msec OKsocrates.pl 109 msec OKsuperdense-coding.pl 114 msec OKtakeuchi.pl 936 msec OKturing.pl 112 msec OKuniversal.pl 111 msec OKworkplace-1.pl 107 msec OKworkplace-10.pl 117 msec OKworkplace-100.pl 202 msec OKworkplace-1000.pl 1274 msec OKworkplace-10000.pl 35790 msec OKzebra.pl 146 msec OK
199 sec 76 OK 0 FAILED
—
Reply to this email directly, view it on GitHub
<#626 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSEQFEARBYEEMIZQELBL2MAYLPAVCNFSM6AAAAABRVHCIIOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJSGMYDINQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Latest trealla test results
|
Beta Was this translation helpful? Give feedback.
-
See also mthom/scryer-prolog#2665 (comment) where trealla is 435 times faster than scryer and 16 times faster than swipl. |
Beta Was this translation helpful? Give feedback.
-
What the gist of that test? Most like string handling is my guess.
…On Thu, 6 Mar 2025, 00:24 Jos De Roo, ***@***.***> wrote:
See also mthom/scryer-prolog#2665 (comment)
<mthom/scryer-prolog#2665 (comment)>
where trealla is 435 times faster than scryer and 16 times faster than
swipl.
—
Reply to this email directly, view it on GitHub
<#626 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNKSEXKBPDWCLXKHGFG7SD2S4CKFAVCNFSM6AAAAABRVHCIIOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBQGIZDOMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, seems to be a lot of database work which Scryer (and WAM-based Prolog) is notoriously slow at. |
Beta Was this translation helpful? Give feedback.
-
The purpose of this test is to test the scalability of simple deontic logic rules and the expected result is https://raw.githubusercontent.com/eyereasoner/eyeprover/refs/heads/main/tmp/workplace-benchmark-answer.pl |
Beta Was this translation helpful? Give feedback.
-
Trealla has an incredible performance here! |
Beta Was this translation helpful? Give feedback.
-
The latest results with https://github.com/eyereasoner/arvol/tree/main?tab=readme-ov-file#testing-plexus are fine
giving
|
Beta Was this translation helpful? Give feedback.
-
After a few renamings and movings https://github.com/eyereasoner/eyelet?tab=readme-ov-file#testing still runs fine
|
Beta Was this translation helpful? Give feedback.
-
Looks like it now runs 30% faster
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So happy to see that https://github.com/eyereasoner/eyelet is working fine with Trealla Prolog!
Thank you so much @infradig !!
Beta Was this translation helpful? Give feedback.
All reactions