@altnovatrail/widgets 0.2.0 → 0.3.0
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/cores/vector.schema.json +22 -1
- package/kinds/cards/cards.handles.json +109 -0
- package/kinds/cards/cards.schema.json +483 -0
- package/kinds/cards/vectors/any.json +255 -0
- package/kinds/cards/vectors/box.json +325 -0
- package/kinds/cards/vectors/fork-taps.json +305 -0
- package/kinds/cards/vectors/fork.json +254 -0
- package/kinds/cards/vectors/invalid-goal.json +70 -0
- package/kinds/cards/vectors/invalid-ids.json +113 -0
- package/kinds/cards/vectors/invalid-schema.json +88 -0
- package/kinds/cards/vectors/invalid-taps.json +214 -0
- package/kinds/cards/vectors/key.json +264 -0
- package/kinds/cards/vectors/limit.json +274 -0
- package/kinds/cards/vectors/no-goal.json +205 -0
- package/kinds/cards/vectors/none.json +239 -0
- package/kinds/cards/vectors/recog.json +113 -0
- package/kinds/cards/vectors/riddle.json +397 -0
- package/kinds/cards/vectors/solo.json +218 -0
- package/kinds/cells/cells.schema.json +17 -2
- package/kinds/line/line.handles.json +195 -0
- package/kinds/line/line.schema.json +336 -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 +31 -3
- package/lib/cores/registry.d.ts +43 -0
- package/lib/cores/registry.js +87 -0
- package/lib/cores/search.d.ts +22 -6
- package/lib/cores/search.js +70 -14
- package/lib/kinds/cards/goal.d.ts +25 -0
- package/lib/kinds/cards/goal.js +72 -0
- package/lib/kinds/cards/index.d.ts +14 -0
- package/lib/kinds/cards/index.js +17 -0
- package/lib/kinds/cards/kind.d.ts +23 -0
- package/lib/kinds/cards/kind.js +101 -0
- package/lib/kinds/cards/parts.d.ts +36 -0
- package/lib/kinds/cards/parts.js +34 -0
- package/lib/kinds/cards/scene.d.ts +102 -0
- package/lib/kinds/cards/scene.js +356 -0
- package/lib/kinds/cards/schema.d.ts +10 -0
- package/lib/kinds/cards/schema.js +285 -0
- 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/cells/registry.js +1 -1
- package/lib/kinds/cells/schema.js +3 -1
- 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 +159 -0
- package/package.json +16 -4
- package/cores/handles.schema.json +0 -63
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d1-2: Mia cuts a ribbon into 4 pieces; how many cuts does she make? The fewest cuts that leave 4 pieces, 3.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 6,
|
|
6
|
+
"first": 0
|
|
7
|
+
},
|
|
8
|
+
"operations": {
|
|
9
|
+
"cut": {}
|
|
10
|
+
},
|
|
11
|
+
"goal": {
|
|
12
|
+
"counters": {
|
|
13
|
+
"is": {
|
|
14
|
+
"pieces": 4
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"seed": "0",
|
|
20
|
+
"start": {
|
|
21
|
+
"state": {
|
|
22
|
+
"posts": [],
|
|
23
|
+
"cuts": []
|
|
24
|
+
},
|
|
25
|
+
"goal": false
|
|
26
|
+
},
|
|
27
|
+
"sequences": [
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"move": {
|
|
31
|
+
"cut": {
|
|
32
|
+
"at": 1
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"state": {
|
|
36
|
+
"posts": [],
|
|
37
|
+
"cuts": [1]
|
|
38
|
+
},
|
|
39
|
+
"goal": false
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"move": {
|
|
43
|
+
"cut": {
|
|
44
|
+
"at": 2
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"state": {
|
|
48
|
+
"posts": [],
|
|
49
|
+
"cuts": [1, 2]
|
|
50
|
+
},
|
|
51
|
+
"goal": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"move": {
|
|
55
|
+
"cut": {
|
|
56
|
+
"at": 3
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"state": {
|
|
60
|
+
"posts": [],
|
|
61
|
+
"cuts": [1, 2, 3]
|
|
62
|
+
},
|
|
63
|
+
"goal": true
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
],
|
|
67
|
+
"proof": {
|
|
68
|
+
"key": 3,
|
|
69
|
+
"witness": {
|
|
70
|
+
"path": [
|
|
71
|
+
{
|
|
72
|
+
"cut": {
|
|
73
|
+
"at": 1
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"cut": {
|
|
78
|
+
"at": 2
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"cut": {
|
|
83
|
+
"at": 3
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"ends": [
|
|
89
|
+
{
|
|
90
|
+
"posts": [],
|
|
91
|
+
"cuts": [1, 2, 3]
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d1-3: flowers grow in a row with 4 gaps between them; how many flowers are there? On a bed of seven places, the fewest flowers planted to make 4 gaps, 5.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 7,
|
|
6
|
+
"first": 1
|
|
7
|
+
},
|
|
8
|
+
"operations": {
|
|
9
|
+
"post": {}
|
|
10
|
+
},
|
|
11
|
+
"goal": {
|
|
12
|
+
"counters": {
|
|
13
|
+
"is": {
|
|
14
|
+
"gaps": 4
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"seed": "0",
|
|
20
|
+
"start": {
|
|
21
|
+
"state": {
|
|
22
|
+
"posts": []
|
|
23
|
+
},
|
|
24
|
+
"goal": false
|
|
25
|
+
},
|
|
26
|
+
"sequences": [
|
|
27
|
+
[
|
|
28
|
+
{
|
|
29
|
+
"move": {
|
|
30
|
+
"post": {
|
|
31
|
+
"at": 1
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"state": {
|
|
35
|
+
"posts": [1]
|
|
36
|
+
},
|
|
37
|
+
"goal": false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"move": {
|
|
41
|
+
"post": {
|
|
42
|
+
"at": 2
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"state": {
|
|
46
|
+
"posts": [1, 2]
|
|
47
|
+
},
|
|
48
|
+
"goal": false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"move": {
|
|
52
|
+
"post": {
|
|
53
|
+
"at": 3
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"state": {
|
|
57
|
+
"posts": [1, 2, 3]
|
|
58
|
+
},
|
|
59
|
+
"goal": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"move": {
|
|
63
|
+
"post": {
|
|
64
|
+
"at": 4
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"state": {
|
|
68
|
+
"posts": [1, 2, 3, 4]
|
|
69
|
+
},
|
|
70
|
+
"goal": false
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"move": {
|
|
74
|
+
"post": {
|
|
75
|
+
"at": 5
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"state": {
|
|
79
|
+
"posts": [1, 2, 3, 4, 5]
|
|
80
|
+
},
|
|
81
|
+
"goal": true
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
],
|
|
85
|
+
"proof": {
|
|
86
|
+
"key": 5,
|
|
87
|
+
"witness": {
|
|
88
|
+
"path": [
|
|
89
|
+
{
|
|
90
|
+
"post": {
|
|
91
|
+
"at": 1
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"post": {
|
|
96
|
+
"at": 2
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"post": {
|
|
101
|
+
"at": 3
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"post": {
|
|
106
|
+
"at": 4
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"post": {
|
|
111
|
+
"at": 5
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"ends": [
|
|
117
|
+
{
|
|
118
|
+
"posts": [1, 2, 3, 4, 5]
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d1-4: Tom reads his book from page 3 to page 7, both included; how many pages? A post on a page marks it read, and the fewest marks on every page from 3 to 7 are 5, not the 4 that 7 - 3 gives.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 10,
|
|
6
|
+
"first": 1
|
|
7
|
+
},
|
|
8
|
+
"operations": {
|
|
9
|
+
"post": {}
|
|
10
|
+
},
|
|
11
|
+
"goal": {
|
|
12
|
+
"every": {
|
|
13
|
+
"from": 3,
|
|
14
|
+
"to": 7
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"seed": "0",
|
|
19
|
+
"start": {
|
|
20
|
+
"state": {
|
|
21
|
+
"posts": []
|
|
22
|
+
},
|
|
23
|
+
"goal": false
|
|
24
|
+
},
|
|
25
|
+
"sequences": [
|
|
26
|
+
[
|
|
27
|
+
{
|
|
28
|
+
"move": {
|
|
29
|
+
"post": {
|
|
30
|
+
"at": 3
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"state": {
|
|
34
|
+
"posts": [3]
|
|
35
|
+
},
|
|
36
|
+
"goal": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"move": {
|
|
40
|
+
"post": {
|
|
41
|
+
"at": 4
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"state": {
|
|
45
|
+
"posts": [3, 4]
|
|
46
|
+
},
|
|
47
|
+
"goal": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"move": {
|
|
51
|
+
"post": {
|
|
52
|
+
"at": 5
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"state": {
|
|
56
|
+
"posts": [3, 4, 5]
|
|
57
|
+
},
|
|
58
|
+
"goal": false
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"move": {
|
|
62
|
+
"post": {
|
|
63
|
+
"at": 6
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"state": {
|
|
67
|
+
"posts": [3, 4, 5, 6]
|
|
68
|
+
},
|
|
69
|
+
"goal": false
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"move": {
|
|
73
|
+
"post": {
|
|
74
|
+
"at": 7
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"state": {
|
|
78
|
+
"posts": [3, 4, 5, 6, 7]
|
|
79
|
+
},
|
|
80
|
+
"goal": true
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
],
|
|
84
|
+
"proof": {
|
|
85
|
+
"key": 5,
|
|
86
|
+
"witness": {
|
|
87
|
+
"path": [
|
|
88
|
+
{
|
|
89
|
+
"post": {
|
|
90
|
+
"at": 3
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"post": {
|
|
95
|
+
"at": 4
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"post": {
|
|
100
|
+
"at": 5
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"post": {
|
|
105
|
+
"at": 6
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"post": {
|
|
110
|
+
"at": 7
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"ends": [
|
|
116
|
+
{
|
|
117
|
+
"posts": [3, 4, 5, 6, 7]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d1-5, on an upright line: Anna walks up from floor 1 to floor 4; how many times does she go up one floor? The fewest jumps of one floor, 3.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 4,
|
|
6
|
+
"first": 1,
|
|
7
|
+
"vertical": true
|
|
8
|
+
},
|
|
9
|
+
"operations": {
|
|
10
|
+
"jump": {
|
|
11
|
+
"from": 1,
|
|
12
|
+
"step": 1
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"goal": {
|
|
16
|
+
"counters": {
|
|
17
|
+
"is": {
|
|
18
|
+
"at": 4
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"seed": "0",
|
|
24
|
+
"start": {
|
|
25
|
+
"state": {
|
|
26
|
+
"posts": [],
|
|
27
|
+
"at": 1
|
|
28
|
+
},
|
|
29
|
+
"goal": false
|
|
30
|
+
},
|
|
31
|
+
"sequences": [
|
|
32
|
+
[
|
|
33
|
+
{
|
|
34
|
+
"move": {
|
|
35
|
+
"jump": "forward"
|
|
36
|
+
},
|
|
37
|
+
"state": {
|
|
38
|
+
"posts": [],
|
|
39
|
+
"at": 2
|
|
40
|
+
},
|
|
41
|
+
"goal": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"move": {
|
|
45
|
+
"jump": "forward"
|
|
46
|
+
},
|
|
47
|
+
"state": {
|
|
48
|
+
"posts": [],
|
|
49
|
+
"at": 3
|
|
50
|
+
},
|
|
51
|
+
"goal": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"move": {
|
|
55
|
+
"jump": "forward"
|
|
56
|
+
},
|
|
57
|
+
"state": {
|
|
58
|
+
"posts": [],
|
|
59
|
+
"at": 4
|
|
60
|
+
},
|
|
61
|
+
"goal": true
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
],
|
|
65
|
+
"proof": {
|
|
66
|
+
"key": 3,
|
|
67
|
+
"witness": {
|
|
68
|
+
"path": [
|
|
69
|
+
{
|
|
70
|
+
"jump": "forward"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"jump": "forward"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"jump": "forward"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"ends": [
|
|
81
|
+
{
|
|
82
|
+
"posts": [],
|
|
83
|
+
"at": 4
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d2-1 of the lesson counting-gaps-grades-1-2: a fence has 8 posts, each 2 metres from the next; how many metres from the first post to the last? The places are 2 metres apart, and the key is the length of the fence of 8 posts, 14 metres, not the 16 of a gap for every post.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 8,
|
|
6
|
+
"first": 1,
|
|
7
|
+
"spacing": 2
|
|
8
|
+
},
|
|
9
|
+
"operations": {
|
|
10
|
+
"post": {}
|
|
11
|
+
},
|
|
12
|
+
"goal": {
|
|
13
|
+
"counters": {
|
|
14
|
+
"is": {
|
|
15
|
+
"posts": 8
|
|
16
|
+
},
|
|
17
|
+
"max": "length"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"seed": "0",
|
|
22
|
+
"start": {
|
|
23
|
+
"state": {
|
|
24
|
+
"posts": []
|
|
25
|
+
},
|
|
26
|
+
"goal": false
|
|
27
|
+
},
|
|
28
|
+
"sequences": [
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
|
+
"move": {
|
|
32
|
+
"post": {
|
|
33
|
+
"at": 1
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"state": {
|
|
37
|
+
"posts": [1]
|
|
38
|
+
},
|
|
39
|
+
"goal": false
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"move": {
|
|
43
|
+
"post": {
|
|
44
|
+
"at": 2
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"state": {
|
|
48
|
+
"posts": [1, 2]
|
|
49
|
+
},
|
|
50
|
+
"goal": false
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"move": {
|
|
54
|
+
"post": {
|
|
55
|
+
"at": 3
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"state": {
|
|
59
|
+
"posts": [1, 2, 3]
|
|
60
|
+
},
|
|
61
|
+
"goal": false
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"move": {
|
|
65
|
+
"post": {
|
|
66
|
+
"at": 4
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"state": {
|
|
70
|
+
"posts": [1, 2, 3, 4]
|
|
71
|
+
},
|
|
72
|
+
"goal": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"move": {
|
|
76
|
+
"post": {
|
|
77
|
+
"at": 5
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"state": {
|
|
81
|
+
"posts": [1, 2, 3, 4, 5]
|
|
82
|
+
},
|
|
83
|
+
"goal": false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"move": {
|
|
87
|
+
"post": {
|
|
88
|
+
"at": 6
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"state": {
|
|
92
|
+
"posts": [1, 2, 3, 4, 5, 6]
|
|
93
|
+
},
|
|
94
|
+
"goal": false
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"move": {
|
|
98
|
+
"post": {
|
|
99
|
+
"at": 7
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"state": {
|
|
103
|
+
"posts": [1, 2, 3, 4, 5, 6, 7]
|
|
104
|
+
},
|
|
105
|
+
"goal": false
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"move": {
|
|
109
|
+
"post": {
|
|
110
|
+
"at": 8
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"state": {
|
|
114
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8]
|
|
115
|
+
},
|
|
116
|
+
"goal": true
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
],
|
|
120
|
+
"proof": {
|
|
121
|
+
"key": 14,
|
|
122
|
+
"asks": "max",
|
|
123
|
+
"witness": {
|
|
124
|
+
"path": [
|
|
125
|
+
{
|
|
126
|
+
"post": {
|
|
127
|
+
"at": 1
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"post": {
|
|
132
|
+
"at": 2
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"post": {
|
|
137
|
+
"at": 3
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"post": {
|
|
142
|
+
"at": 4
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"post": {
|
|
147
|
+
"at": 5
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"post": {
|
|
152
|
+
"at": 6
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"post": {
|
|
157
|
+
"at": 7
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"post": {
|
|
162
|
+
"at": 8
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"ends": [
|
|
168
|
+
{
|
|
169
|
+
"posts": [1, 2, 3, 4, 5, 6, 7, 8]
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The task gaps-12-d2-6, on an upright line: a frog jumps 3 steps at a time up 9 steps from the floor, step 0; how many jumps to the top step? The fewest jumps, 3.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"line": {
|
|
5
|
+
"places": 10,
|
|
6
|
+
"first": 0,
|
|
7
|
+
"vertical": true
|
|
8
|
+
},
|
|
9
|
+
"operations": {
|
|
10
|
+
"jump": {
|
|
11
|
+
"from": 0,
|
|
12
|
+
"step": 3
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"goal": {
|
|
16
|
+
"counters": {
|
|
17
|
+
"is": {
|
|
18
|
+
"at": 9
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"seed": "0",
|
|
24
|
+
"start": {
|
|
25
|
+
"state": {
|
|
26
|
+
"posts": [],
|
|
27
|
+
"at": 0
|
|
28
|
+
},
|
|
29
|
+
"goal": false
|
|
30
|
+
},
|
|
31
|
+
"sequences": [
|
|
32
|
+
[
|
|
33
|
+
{
|
|
34
|
+
"move": {
|
|
35
|
+
"jump": "forward"
|
|
36
|
+
},
|
|
37
|
+
"state": {
|
|
38
|
+
"posts": [],
|
|
39
|
+
"at": 3
|
|
40
|
+
},
|
|
41
|
+
"goal": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"move": {
|
|
45
|
+
"jump": "forward"
|
|
46
|
+
},
|
|
47
|
+
"state": {
|
|
48
|
+
"posts": [],
|
|
49
|
+
"at": 6
|
|
50
|
+
},
|
|
51
|
+
"goal": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"move": {
|
|
55
|
+
"jump": "forward"
|
|
56
|
+
},
|
|
57
|
+
"state": {
|
|
58
|
+
"posts": [],
|
|
59
|
+
"at": 9
|
|
60
|
+
},
|
|
61
|
+
"goal": true
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
],
|
|
65
|
+
"proof": {
|
|
66
|
+
"key": 3,
|
|
67
|
+
"witness": {
|
|
68
|
+
"path": [
|
|
69
|
+
{
|
|
70
|
+
"jump": "forward"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"jump": "forward"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"jump": "forward"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"ends": [
|
|
81
|
+
{
|
|
82
|
+
"posts": [],
|
|
83
|
+
"at": 9
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|