1 | TRUE. |
2 | ``` |
3 | $l = [ice cream] , lasagna |
4 | $x = ___ |
5 | ``` |
6 | ``` |
7 | Starting on goal: $l = [$x | [$x is tasty]] |
8 | Goal arity 3: $l = [$x | [$x is tasty]] |
9 | nextSolution |
10 | Resetting variable $l ("[]"(ice, cream)) |
11 | Resetting variable $b (_2) |
12 | Resetting variable $a (_1) |
13 | Resetting variable ___ ($l) |
14 | Resetting variable $y (_4) |
15 | Resetting variable $x (_3) |
16 | Resetting variable ___ ($l) |
17 | Resetting variable $y (_6) |
18 | Resetting variable $x (_5) |
19 | Resetting variable ___ ($l) |
20 | Resetting variable $c (_10) |
21 | Resetting variable $cond (_9) |
22 | Resetting variable $x (_8) |
23 | Resetting variable $list (_7) |
24 | Got clause: ___ = [___ | ___] |
25 | Clause unifies to: $l = [___ | [___ is tasty]] |
26 | gdash: ___ = new collector |
27 | Goal arity 4: ___ = new collector |
28 | Resetting variable $x (_11) |
29 | Got clause: ___ = new collector |
30 | Clause unifies to: ___ = new collector |
31 | Clause is native. |
32 | gdash: [forall_impl ([___ , [___ is tasty] , ___])] or true |
33 | Goal arity 3: [forall_impl ([___ , [___ is tasty] , ___])] or true |
34 | Resetting variable $b (_13) |
35 | Resetting variable $a (_12) |
36 | Resetting variable ___ ("[]"(forall_impl, "()"("[]"(_8, ",", "[]"(_8, is, tasty), ",", ___)))) |
37 | Resetting variable $y (_15) |
38 | Resetting variable $x (_14) |
39 | Resetting variable ___ ("[]"(forall_impl, "()"("[]"(_8, ",", "[]"(_8, is, tasty), ",", ___)))) |
40 | Resetting variable $y (_17) |
41 | Resetting variable $x (_16) |
42 | Resetting variable ___ ("[]"(forall_impl, "()"("[]"(_8, ",", "[]"(_8, is, tasty), ",", ___)))) |
43 | Resetting variable $c (_21) |
44 | Resetting variable $cond (_20) |
45 | Resetting variable $x (_19) |
46 | Resetting variable $list (_18) |
47 | Resetting variable ___ ("[]"(forall_impl, "()"("[]"(_8, ",", "[]"(_8, is, tasty), ",", ___)))) |
48 | Resetting variable $list (_24) |
49 | Resetting variable $c (_23) |
50 | Resetting variable $e (_22) |
51 | Resetting variable ___ ("[]"(forall_impl, "()"("[]"(_8, ",", "[]"(_8, is, tasty), ",", ___)))) |
52 | Resetting variable $b (_26) |
53 | Resetting variable $a (_25) |
54 | Got clause: ___ or ___ |
55 | Clause unifies to: [forall_impl ([___ , [___ is tasty] , ___])] or true |
56 | gdash: forall_impl ([___ , [___ is tasty] , ___]) |
57 | Goal arity 2: forall_impl ([___ , [___ is tasty] , ___]) |
58 | Resetting variable $collector (_28) |
59 | Resetting variable $x (_27) |
60 | Resetting variable $x (_29) |
61 | Resetting variable $x (_30) |
62 | Resetting variable $x (_31) |
63 | Resetting variable $x (_32) |
64 | Resetting variable $c (_35) |
65 | Resetting variable $cond (_34) |
66 | Resetting variable $x (_33) |
67 | Got clause: forall_impl ([___ , ___ , ___]) |
68 | Clause unifies to: forall_impl ([___ , [___ is tasty] , ___]) |
69 | gdash: ___ is tasty |
70 | Goal arity 3: ___ is tasty |
71 | Got clause: [ice cream] is tasty |
72 | Clause unifies to: [ice cream] is tasty |
73 | gdash: saveTo ([[ice cream] , ___]) |
74 | Goal arity 2: saveTo ([[ice cream] , ___]) |
75 | Resetting variable $collector (_37) |
76 | Resetting variable $x (_36) |
77 | Got clause: saveTo ([___ , ___]) |
78 | Clause unifies to: saveTo ([[ice cream] , ___]) |
79 | Clause is native. |
80 | gdash: false |
81 | Goal arity 0: false |
82 | Resetting variable ___ (___) |
83 | Resetting variable ___ ("[]"(ice, cream)) |
84 | Resetting variable $x (_38) |
85 | Resetting variable $x (_39) |
86 | Resetting variable $x (_40) |
87 | Resetting variable $x (_41) |
88 | Resetting variable $c (_44) |
89 | Resetting variable $cond (_43) |
90 | Resetting variable $x (_42) |
91 | Resetting variable $b (_47) |
92 | Resetting variable $a (_46) |
93 | Resetting variable $c (_45) |
94 | Resetting variable $x (_48) |
95 | Resetting variable $x (_49) |
96 | Resetting variable ___ ("[]"(ice, cream)) |
97 | Resetting variable $b (_51) |
98 | Resetting variable $a (_50) |
99 | Resetting variable ___ (_8) |
100 | Resetting variable $y (_53) |
101 | Resetting variable $x (_52) |
102 | Resetting variable ___ (_8) |
103 | Resetting variable $y (_55) |
104 | Resetting variable $x (_54) |
105 | Resetting variable ___ (_8) |
106 | Resetting variable $c (_59) |
107 | Resetting variable $cond (_58) |
108 | Resetting variable $x (_57) |
109 | Resetting variable $list (_56) |
110 | Resetting variable ___ (_8) |
111 | Got clause: lasagna is tasty |
112 | Clause unifies to: lasagna is tasty |
113 | gdash: saveTo ([lasagna , ___]) |
114 | Goal arity 2: saveTo ([lasagna , ___]) |
115 | Resetting variable $collector (_61) |
116 | Resetting variable $x (_60) |
117 | Got clause: saveTo ([___ , ___]) |
118 | Clause unifies to: saveTo ([lasagna , ___]) |
119 | Clause is native. |
120 | gdash: false |
121 | Goal arity 0: false |
122 | Resetting variable ___ (___) |
123 | Resetting variable ___ (lasagna) |
124 | Resetting variable $x (_62) |
125 | Resetting variable $x (_63) |
126 | Resetting variable $x (_64) |
127 | Resetting variable $x (_65) |
128 | Resetting variable $c (_68) |
129 | Resetting variable $cond (_67) |
130 | Resetting variable $x (_66) |
131 | Resetting variable $b (_71) |
132 | Resetting variable $a (_70) |
133 | Resetting variable $c (_69) |
134 | Resetting variable $x (_72) |
135 | Resetting variable $x (_73) |
136 | Resetting variable ___ (lasagna) |
137 | Resetting variable $list (_76) |
138 | Resetting variable $c (_75) |
139 | Resetting variable $e (_74) |
140 | Resetting variable ___ (_8) |
141 | Resetting variable $b (_78) |
142 | Resetting variable $a (_77) |
143 | Resetting variable ___ (_8) |
144 | Resetting variable $b (_80) |
145 | Resetting variable $a (_79) |
146 | Resetting variable ___ (_8) |
147 | Resetting variable ___ (___) |
148 | Resetting variable ___ ("[]"(_8, is, tasty)) |
149 | Resetting variable ___ (_8) |
150 | Resetting variable $b (_83) |
151 | Resetting variable $a (_82) |
152 | Resetting variable $c (_81) |
153 | Resetting variable $x (_84) |
154 | Resetting variable $x (_85) |
155 | Resetting variable ___ (true) |
156 | Resetting variable ___ ("[]"(forall_impl, "()"("[]"(_8, ",", "[]"(_8, is, tasty), ",", ___)))) |
157 | Resetting variable $b (_87) |
158 | Resetting variable $a (_86) |
159 | Got clause: ___ or ___ |
160 | Clause unifies to: [forall_impl ([___ , [___ is tasty] , ___])] or true |
161 | gdash: true |
162 | Goal arity 0: true |
163 | Got clause: true |
164 | Clause unifies to: true |
165 | gdash: $l = retrieve (___) |
166 | Goal arity 4: $l = retrieve (___) |
167 | Resetting variable $x (_88) |
168 | Resetting variable ___ ($l) |
169 | Resetting variable $collector (_91) |
170 | Resetting variable $retrieve (_90) |
171 | Resetting variable $x (_89) |
172 | Got clause: ___ = ___ (___) |
173 | Clause unifies to: $l = retrieve (___) |
174 | Clause is native. |
175 | gdash: - |
176 | SUCCESS! |
177 | solution found in step 77``` |
178 | [done] 9 ms |
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #3000251 |
Snippet name: | Answer for stefanreich (>> solve $l = [$x | [$x is tasty]]) |
Eternal ID of this version: | #3000251/1 |
Text MD5: | f8b36d9e9078a5cd8d4c6a1f0d5c8aac |
Author: | someone |
Category: | |
Type: | New Tinybrain snippet |
Gummipassword: | eleutheria-for-user |
Uploaded from IP: | 69.10.46.185 |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-03-10 01:04:15 |
Source code size: | 6464 bytes / 178 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 538 / 122 |
Referenced in: | [show references] |