sovereign-reduction-algebra / tests /vectors /deterministic.json
SNAPKITTYWEST's picture
October 2026 main drop: mirror from GitHub
018091e verified
Raw History Blame Contribute Delete
2.66 kB
{
"boolean": {
"all_true": {
"in": [
1,
1,
1
],
"all": true,
"any": true,
"xor": true
},
"mixed": {
"in": [
1,
0,
1,
1
],
"all": false,
"any": true,
"xor": true
}
},
"arithmetic": {
"v4": {
"in": [
1,
2,
3,
4
],
"sum": 10,
"product": 24,
"min": 1,
"max": 4,
"scan_sum": [
1,
3,
6,
10
]
}
},
"structural": {
"inner": {
"a": [
1,
2,
3
],
"b": [
4,
5,
6
],
"ip": 32
},
"tree8": {
"in": [
1,
2,
3,
4,
5,
6,
7,
8
],
"sum": 36,
"depth": 3
},
"seg": {
"flags": [
1,
0,
1,
1
],
"vals": [
10,
20,
30,
40
],
"sums": [
10,
70
]
}
},
"subleq": {
"case1": {
"a": [
1,
5,
3
],
"b": [
4,
2,
3
],
"diff": [
3,
-3,
0
],
"pred": [
0,
1,
1
],
"routed": [
0,
-3,
0
],
"aggregate": -3,
"n_selected": 2
}
},
"goldilocks": {
"p": "18446744069414584321",
"add": {
"a": "18446744069414584320",
"b": "2",
"out": "1"
},
"mul": {
"a": "9223372034707292163",
"b": "5",
"out": "9223372034707292173"
},
"reduce": {
"in": [
1,
2,
3,
4,
5,
6,
7,
8
],
"out": "36"
},
"scan": {
"in": [
1,
2,
3,
4
],
"out": [
"1",
"3",
"6",
"10"
]
},
"tree": {
"in": [
1,
2,
3,
4,
5,
6,
7,
8
],
"out": "36",
"depth": 3
},
"poly": {
"coeffs": [
1,
2,
3
],
"x": 5,
"out": "86"
},
"seq_depth": {
"n": 8,
"depth": 7
}
},
"gsafe_tinyapl": {
"modulus": 65537,
"reduce": {
"in": [
1,
2,
3,
4
],
"out": 10
},
"r7": {
"a": [
1,
2,
3
],
"b": [
4,
1,
8
],
"aggregate": 65536
}
}
}