@altnovatrail/widgets 0.2.0 → 0.2.1
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.
- package/README.md +1 -1
- package/kinds/line/line.handles.json +195 -0
- package/kinds/line/line.schema.json +321 -0
- package/kinds/line/vectors/cases.json +213 -0
- package/kinds/line/vectors/gaps-12-d1-1.json +140 -0
- package/kinds/line/vectors/gaps-12-d1-2.json +95 -0
- package/kinds/line/vectors/gaps-12-d1-3.json +122 -0
- package/kinds/line/vectors/gaps-12-d1-4.json +121 -0
- package/kinds/line/vectors/gaps-12-d1-5.json +87 -0
- package/kinds/line/vectors/gaps-12-d2-1.json +173 -0
- package/kinds/line/vectors/gaps-12-d2-6.json +87 -0
- package/kinds/line/vectors/gaps-12-d3-2.json +173 -0
- package/kinds/line/vectors/gaps-12-d4-4.json +168 -0
- package/kinds/line/vectors/gaps-12-d5-3.json +99 -0
- package/kinds/line/vectors/gaps-12-d5-4.json +215 -0
- package/kinds/line/vectors/gaps-34-d1-1.json +37 -0
- package/kinds/line/vectors/gaps-34-d1-2.json +130 -0
- package/kinds/line/vectors/gaps-34-d1-4.json +155 -0
- package/kinds/line/vectors/gaps-34-d1-5.json +43 -0
- package/kinds/line/vectors/gaps-34-d3-2.json +38 -0
- package/kinds/line/vectors/gaps-34-d3-5.json +177 -0
- package/kinds/line/vectors/gaps-34-d5-3.json +39 -0
- package/kinds/line/vectors/invalid-line.json +34 -0
- package/kinds/line/vectors/invalid-ring.json +34 -0
- package/kinds/line/vectors/invalid.json +43 -0
- package/kinds/line/vectors/jump-unreachable.json +104 -0
- package/kinds/line/vectors/limit.json +40 -0
- package/kinds/line/vectors/op-not-in-scene.json +47 -0
- package/kinds/line/vectors/ring-cut.json +104 -0
- package/kinds/line/vectors/ring-every.json +107 -0
- package/kinds/line/vectors/ring-jump.json +135 -0
- package/lib/cores/arith.d.ts +62 -0
- package/lib/cores/arith.js +197 -0
- package/lib/cores/kind.d.ts +10 -0
- package/lib/cores/registry.d.ts +43 -0
- package/lib/cores/registry.js +87 -0
- package/lib/cores/search.js +36 -8
- package/lib/kinds/cells/kind.js +11 -64
- package/lib/kinds/cells/operation.d.ts +6 -0
- package/lib/kinds/cells/polyomino.d.ts +14 -0
- package/lib/kinds/cells/polyomino.js +100 -24
- package/lib/kinds/line/cut.d.ts +2 -0
- package/lib/kinds/line/cut.js +63 -0
- package/lib/kinds/line/goals.d.ts +22 -0
- package/lib/kinds/line/goals.js +137 -0
- package/lib/kinds/line/index.d.ts +13 -0
- package/lib/kinds/line/index.js +17 -0
- package/lib/kinds/line/jump.d.ts +10 -0
- package/lib/kinds/line/jump.js +95 -0
- package/lib/kinds/line/kind.d.ts +25 -0
- package/lib/kinds/line/kind.js +125 -0
- package/lib/kinds/line/line.d.ts +63 -0
- package/lib/kinds/line/line.js +157 -0
- package/lib/kinds/line/operation.d.ts +69 -0
- package/lib/kinds/line/operation.js +1 -0
- package/lib/kinds/line/posts.d.ts +11 -0
- package/lib/kinds/line/posts.js +85 -0
- package/lib/kinds/line/registry.d.ts +2 -0
- package/lib/kinds/line/registry.js +11 -0
- package/lib/kinds/line/schema.d.ts +4 -0
- package/lib/kinds/line/schema.js +157 -0
- package/package.json +9 -2
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d5-3: a frog on the first of 9 stones in a row skips one stone with each jump; how many jumps to the last stone? The fewest jumps of two places, 4.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 9,
|
|
6
|
+
"first": 1
|
|
7
|
+
},
|
|
8
|
+
"operations": {
|
|
9
|
+
"jump": {
|
|
10
|
+
"from": 1,
|
|
11
|
+
"step": 2
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"goal": {
|
|
15
|
+
"counters": {
|
|
16
|
+
"is": {
|
|
17
|
+
"at": 9
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"seed": "0",
|
|
23
|
+
"start": {
|
|
24
|
+
"state": {
|
|
25
|
+
"posts": [],
|
|
26
|
+
"at": 1
|
|
27
|
+
},
|
|
28
|
+
"goal": false
|
|
29
|
+
},
|
|
30
|
+
"sequences": [
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"move": {
|
|
34
|
+
"jump": "forward"
|
|
35
|
+
},
|
|
36
|
+
"state": {
|
|
37
|
+
"posts": [],
|
|
38
|
+
"at": 3
|
|
39
|
+
},
|
|
40
|
+
"goal": false
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"move": {
|
|
44
|
+
"jump": "forward"
|
|
45
|
+
},
|
|
46
|
+
"state": {
|
|
47
|
+
"posts": [],
|
|
48
|
+
"at": 5
|
|
49
|
+
},
|
|
50
|
+
"goal": false
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"move": {
|
|
54
|
+
"jump": "forward"
|
|
55
|
+
},
|
|
56
|
+
"state": {
|
|
57
|
+
"posts": [],
|
|
58
|
+
"at": 7
|
|
59
|
+
},
|
|
60
|
+
"goal": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"move": {
|
|
64
|
+
"jump": "forward"
|
|
65
|
+
},
|
|
66
|
+
"state": {
|
|
67
|
+
"posts": [],
|
|
68
|
+
"at": 9
|
|
69
|
+
},
|
|
70
|
+
"goal": true
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
],
|
|
74
|
+
"proof": {
|
|
75
|
+
"key": 4,
|
|
76
|
+
"witness": {
|
|
77
|
+
"path": [
|
|
78
|
+
{
|
|
79
|
+
"jump": "forward"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"jump": "forward"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"jump": "forward"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"jump": "forward"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"ends": [
|
|
93
|
+
{
|
|
94
|
+
"posts": [],
|
|
95
|
+
"at": 9
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d5-4: a straight fence is 20 metres long, with a post every 2 metres and at both ends; how many posts? Its places are 2 metres apart, numbered from 0, and the fewest posts that stand on every place are 11, one more than the 10 gaps. Its 2,048 states are the course's largest scene of posts.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 11,
|
|
6
|
+
"first": 0,
|
|
7
|
+
"spacing": 2
|
|
8
|
+
},
|
|
9
|
+
"operations": {
|
|
10
|
+
"post": {}
|
|
11
|
+
},
|
|
12
|
+
"goal": {
|
|
13
|
+
"every": {}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"seed": "0",
|
|
17
|
+
"start": {
|
|
18
|
+
"state": {
|
|
19
|
+
"posts": []
|
|
20
|
+
},
|
|
21
|
+
"goal": false
|
|
22
|
+
},
|
|
23
|
+
"sequences": [
|
|
24
|
+
[
|
|
25
|
+
{
|
|
26
|
+
"move": {
|
|
27
|
+
"post": {
|
|
28
|
+
"at": 0
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"state": {
|
|
32
|
+
"posts": [0]
|
|
33
|
+
},
|
|
34
|
+
"goal": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"move": {
|
|
38
|
+
"post": {
|
|
39
|
+
"at": 1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"state": {
|
|
43
|
+
"posts": [0, 1]
|
|
44
|
+
},
|
|
45
|
+
"goal": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"move": {
|
|
49
|
+
"post": {
|
|
50
|
+
"at": 2
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"state": {
|
|
54
|
+
"posts": [0, 1, 2]
|
|
55
|
+
},
|
|
56
|
+
"goal": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"move": {
|
|
60
|
+
"post": {
|
|
61
|
+
"at": 3
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"state": {
|
|
65
|
+
"posts": [0, 1, 2, 3]
|
|
66
|
+
},
|
|
67
|
+
"goal": false
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"move": {
|
|
71
|
+
"post": {
|
|
72
|
+
"at": 4
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"state": {
|
|
76
|
+
"posts": [0, 1, 2, 3, 4]
|
|
77
|
+
},
|
|
78
|
+
"goal": false
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"move": {
|
|
82
|
+
"post": {
|
|
83
|
+
"at": 5
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"state": {
|
|
87
|
+
"posts": [0, 1, 2, 3, 4, 5]
|
|
88
|
+
},
|
|
89
|
+
"goal": false
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"move": {
|
|
93
|
+
"post": {
|
|
94
|
+
"at": 6
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"state": {
|
|
98
|
+
"posts": [0, 1, 2, 3, 4, 5, 6]
|
|
99
|
+
},
|
|
100
|
+
"goal": false
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"move": {
|
|
104
|
+
"post": {
|
|
105
|
+
"at": 7
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"state": {
|
|
109
|
+
"posts": [0, 1, 2, 3, 4, 5, 6, 7]
|
|
110
|
+
},
|
|
111
|
+
"goal": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"move": {
|
|
115
|
+
"post": {
|
|
116
|
+
"at": 8
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"state": {
|
|
120
|
+
"posts": [0, 1, 2, 3, 4, 5, 6, 7, 8]
|
|
121
|
+
},
|
|
122
|
+
"goal": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"move": {
|
|
126
|
+
"post": {
|
|
127
|
+
"at": 9
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"state": {
|
|
131
|
+
"posts": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
|
132
|
+
},
|
|
133
|
+
"goal": false
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"move": {
|
|
137
|
+
"post": {
|
|
138
|
+
"at": 10
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"state": {
|
|
142
|
+
"posts": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
|
143
|
+
},
|
|
144
|
+
"goal": true
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
],
|
|
148
|
+
"proof": {
|
|
149
|
+
"key": 11,
|
|
150
|
+
"witness": {
|
|
151
|
+
"path": [
|
|
152
|
+
{
|
|
153
|
+
"post": {
|
|
154
|
+
"at": 0
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"post": {
|
|
159
|
+
"at": 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"post": {
|
|
164
|
+
"at": 2
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"post": {
|
|
169
|
+
"at": 3
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"post": {
|
|
174
|
+
"at": 4
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"post": {
|
|
179
|
+
"at": 5
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"post": {
|
|
184
|
+
"at": 6
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"post": {
|
|
189
|
+
"at": 7
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"post": {
|
|
194
|
+
"at": 8
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"post": {
|
|
199
|
+
"at": 9
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"post": {
|
|
204
|
+
"at": 10
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"ends": [
|
|
210
|
+
{
|
|
211
|
+
"posts": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-34-d1-1, a line only to look at: 21 trees stand 5 metres apart; how many metres from the first to the last? The scene's one state gives the key, its length, 100.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 21,
|
|
6
|
+
"first": 1,
|
|
7
|
+
"spacing": 5,
|
|
8
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
|
|
9
|
+
},
|
|
10
|
+
"operations": {},
|
|
11
|
+
"goal": {
|
|
12
|
+
"counters": {
|
|
13
|
+
"max": "length"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"seed": "0",
|
|
18
|
+
"start": {
|
|
19
|
+
"state": {
|
|
20
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
|
|
21
|
+
},
|
|
22
|
+
"goal": true
|
|
23
|
+
},
|
|
24
|
+
"sequences": [[]],
|
|
25
|
+
"proof": {
|
|
26
|
+
"key": 100,
|
|
27
|
+
"asks": "max",
|
|
28
|
+
"witness": {
|
|
29
|
+
"path": []
|
|
30
|
+
},
|
|
31
|
+
"ends": [
|
|
32
|
+
{
|
|
33
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-34-d1-2: a log 12 metres long is sawn into pieces 2 metres long; how many cuts? The log's places are 2 metres apart, 0 to 6, and the fewest cuts that leave its 6 pieces are 5.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 7,
|
|
6
|
+
"first": 0,
|
|
7
|
+
"spacing": 2
|
|
8
|
+
},
|
|
9
|
+
"operations": {
|
|
10
|
+
"cut": {}
|
|
11
|
+
},
|
|
12
|
+
"goal": {
|
|
13
|
+
"counters": {
|
|
14
|
+
"is": {
|
|
15
|
+
"pieces": 6
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"seed": "0",
|
|
21
|
+
"start": {
|
|
22
|
+
"state": {
|
|
23
|
+
"posts": [],
|
|
24
|
+
"cuts": []
|
|
25
|
+
},
|
|
26
|
+
"goal": false
|
|
27
|
+
},
|
|
28
|
+
"sequences": [
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
|
+
"move": {
|
|
32
|
+
"cut": {
|
|
33
|
+
"at": 1
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"state": {
|
|
37
|
+
"posts": [],
|
|
38
|
+
"cuts": [1]
|
|
39
|
+
},
|
|
40
|
+
"goal": false
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"move": {
|
|
44
|
+
"cut": {
|
|
45
|
+
"at": 2
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"state": {
|
|
49
|
+
"posts": [],
|
|
50
|
+
"cuts": [1, 2]
|
|
51
|
+
},
|
|
52
|
+
"goal": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"move": {
|
|
56
|
+
"cut": {
|
|
57
|
+
"at": 3
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"state": {
|
|
61
|
+
"posts": [],
|
|
62
|
+
"cuts": [1, 2, 3]
|
|
63
|
+
},
|
|
64
|
+
"goal": false
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"move": {
|
|
68
|
+
"cut": {
|
|
69
|
+
"at": 4
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"state": {
|
|
73
|
+
"posts": [],
|
|
74
|
+
"cuts": [1, 2, 3, 4]
|
|
75
|
+
},
|
|
76
|
+
"goal": false
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"move": {
|
|
80
|
+
"cut": {
|
|
81
|
+
"at": 5
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"state": {
|
|
85
|
+
"posts": [],
|
|
86
|
+
"cuts": [1, 2, 3, 4, 5]
|
|
87
|
+
},
|
|
88
|
+
"goal": true
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
],
|
|
92
|
+
"proof": {
|
|
93
|
+
"key": 5,
|
|
94
|
+
"witness": {
|
|
95
|
+
"path": [
|
|
96
|
+
{
|
|
97
|
+
"cut": {
|
|
98
|
+
"at": 1
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"cut": {
|
|
103
|
+
"at": 2
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"cut": {
|
|
108
|
+
"at": 3
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"cut": {
|
|
113
|
+
"at": 4
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"cut": {
|
|
118
|
+
"at": 5
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"ends": [
|
|
124
|
+
{
|
|
125
|
+
"posts": [],
|
|
126
|
+
"cuts": [1, 2, 3, 4, 5]
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-34-d1-4, on an upright line: each flight between two floors has 18 steps; how many steps from floor 1 to floor 9? The floors are 18 steps apart, and the key is the distance of the climber on floor 9 from floor 1, 144: 8 flights, not 9.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 9,
|
|
6
|
+
"first": 1,
|
|
7
|
+
"spacing": 18,
|
|
8
|
+
"vertical": true
|
|
9
|
+
},
|
|
10
|
+
"operations": {
|
|
11
|
+
"jump": {
|
|
12
|
+
"from": 1,
|
|
13
|
+
"step": 1
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"goal": {
|
|
17
|
+
"counters": {
|
|
18
|
+
"is": {
|
|
19
|
+
"at": 9
|
|
20
|
+
},
|
|
21
|
+
"max": "distance"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"seed": "0",
|
|
26
|
+
"start": {
|
|
27
|
+
"state": {
|
|
28
|
+
"posts": [],
|
|
29
|
+
"at": 1
|
|
30
|
+
},
|
|
31
|
+
"goal": false
|
|
32
|
+
},
|
|
33
|
+
"sequences": [
|
|
34
|
+
[
|
|
35
|
+
{
|
|
36
|
+
"move": {
|
|
37
|
+
"jump": "forward"
|
|
38
|
+
},
|
|
39
|
+
"state": {
|
|
40
|
+
"posts": [],
|
|
41
|
+
"at": 2
|
|
42
|
+
},
|
|
43
|
+
"goal": false
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"move": {
|
|
47
|
+
"jump": "forward"
|
|
48
|
+
},
|
|
49
|
+
"state": {
|
|
50
|
+
"posts": [],
|
|
51
|
+
"at": 3
|
|
52
|
+
},
|
|
53
|
+
"goal": false
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"move": {
|
|
57
|
+
"jump": "forward"
|
|
58
|
+
},
|
|
59
|
+
"state": {
|
|
60
|
+
"posts": [],
|
|
61
|
+
"at": 4
|
|
62
|
+
},
|
|
63
|
+
"goal": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"move": {
|
|
67
|
+
"jump": "forward"
|
|
68
|
+
},
|
|
69
|
+
"state": {
|
|
70
|
+
"posts": [],
|
|
71
|
+
"at": 5
|
|
72
|
+
},
|
|
73
|
+
"goal": false
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"move": {
|
|
77
|
+
"jump": "forward"
|
|
78
|
+
},
|
|
79
|
+
"state": {
|
|
80
|
+
"posts": [],
|
|
81
|
+
"at": 6
|
|
82
|
+
},
|
|
83
|
+
"goal": false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"move": {
|
|
87
|
+
"jump": "forward"
|
|
88
|
+
},
|
|
89
|
+
"state": {
|
|
90
|
+
"posts": [],
|
|
91
|
+
"at": 7
|
|
92
|
+
},
|
|
93
|
+
"goal": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"move": {
|
|
97
|
+
"jump": "forward"
|
|
98
|
+
},
|
|
99
|
+
"state": {
|
|
100
|
+
"posts": [],
|
|
101
|
+
"at": 8
|
|
102
|
+
},
|
|
103
|
+
"goal": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"move": {
|
|
107
|
+
"jump": "forward"
|
|
108
|
+
},
|
|
109
|
+
"state": {
|
|
110
|
+
"posts": [],
|
|
111
|
+
"at": 9
|
|
112
|
+
},
|
|
113
|
+
"goal": true
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
],
|
|
117
|
+
"proof": {
|
|
118
|
+
"key": 144,
|
|
119
|
+
"asks": "max",
|
|
120
|
+
"witness": {
|
|
121
|
+
"path": [
|
|
122
|
+
{
|
|
123
|
+
"jump": "forward"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"jump": "forward"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"jump": "forward"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"jump": "forward"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"jump": "forward"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"jump": "forward"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"jump": "forward"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"jump": "forward"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"ends": [
|
|
149
|
+
{
|
|
150
|
+
"posts": [],
|
|
151
|
+
"at": 9
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-34-d1-5: a closed necklace of 24 beads, a gold ring between every two neighbouring beads; how many rings? A ring only to look at, a bead on each of its 24 places, and the key is its gaps, 24.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 24,
|
|
6
|
+
"first": 1,
|
|
7
|
+
"closed": true,
|
|
8
|
+
"posts": [
|
|
9
|
+
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"operations": {},
|
|
13
|
+
"goal": {
|
|
14
|
+
"counters": {
|
|
15
|
+
"max": "gaps"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"seed": "0",
|
|
20
|
+
"start": {
|
|
21
|
+
"state": {
|
|
22
|
+
"posts": [
|
|
23
|
+
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"goal": true
|
|
27
|
+
},
|
|
28
|
+
"sequences": [],
|
|
29
|
+
"proof": {
|
|
30
|
+
"key": 24,
|
|
31
|
+
"asks": "max",
|
|
32
|
+
"witness": {
|
|
33
|
+
"path": []
|
|
34
|
+
},
|
|
35
|
+
"ends": [
|
|
36
|
+
{
|
|
37
|
+
"posts": [
|
|
38
|
+
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-34-d3-2: 15 benches round a round lake, 2 minutes' walk apart; how many minutes once round, from a bench back to it? A ring only to look at, a bench on each of its 15 places 2 apart, and the key is its length the whole way round, 30.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 15,
|
|
6
|
+
"first": 1,
|
|
7
|
+
"spacing": 2,
|
|
8
|
+
"closed": true,
|
|
9
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
10
|
+
},
|
|
11
|
+
"operations": {},
|
|
12
|
+
"goal": {
|
|
13
|
+
"counters": {
|
|
14
|
+
"max": "length"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"seed": "0",
|
|
19
|
+
"start": {
|
|
20
|
+
"state": {
|
|
21
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
22
|
+
},
|
|
23
|
+
"goal": true
|
|
24
|
+
},
|
|
25
|
+
"sequences": [],
|
|
26
|
+
"proof": {
|
|
27
|
+
"key": 30,
|
|
28
|
+
"asks": "max",
|
|
29
|
+
"witness": {
|
|
30
|
+
"path": []
|
|
31
|
+
},
|
|
32
|
+
"ends": [
|
|
33
|
+
{
|
|
34
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|