Datasets:
Document init_state_tensor.parquet and add its config
Browse files
README.md
CHANGED
|
@@ -1,49 +1,68 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
license: mit
|
| 48 |
task_categories:
|
| 49 |
- other
|
|
@@ -54,14 +73,19 @@ tags:
|
|
| 54 |
- exhaustive-enumeration
|
| 55 |
- FPGA
|
| 56 |
size_categories:
|
| 57 |
-
-
|
| 58 |
---
|
| 59 |
|
| 60 |
# Omega Tensor: Exact Halting Fractions for 38,416 Instruction Sets
|
| 61 |
|
| 62 |
Exhaustive enumeration of all 1,679,616 programs of length 8 for every possible instruction set on a two-register, 8-bit, bounded machine with JNZ-to-zero control flow. Each row is one ISA. Each halting count is exact.
|
| 63 |
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
38,416 rows. Each row represents one ordered ISA defined by four opcode assignments (opcodes 1-4) drawn from 14 primitive operations. Opcode 0 is always INC. Opcode 5 is always JNZ.
|
| 67 |
|
|
@@ -79,7 +103,7 @@ Exhaustive enumeration of all 1,679,616 programs of length 8 for every possible
|
|
| 79 |
| entropy_bits | float | Shannon entropy of the output distribution (bits) |
|
| 80 |
| reachable_outputs | int | Number of distinct outputs produced by halting programs |
|
| 81 |
|
| 82 |
-
## Statistics
|
| 83 |
|
| 84 |
- Range: [0.290710, 0.816916]
|
| 85 |
- Mean: 0.612418
|
|
@@ -109,6 +133,35 @@ Known ISA values verified against independent FPGA silicon measurements and CPU
|
|
| 109 |
- ISA-B (NEG MOV SUB AND): 1,235,107 = 1,235,107 = 1,235,107
|
| 110 |
- ISA-G (SHR MOV SUB AND): 1,248,490 = 1,248,490 = 1,248,490
|
| 111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
## Citation
|
| 113 |
|
| 114 |
Based on: [The Finite Halting Fraction Across Machine Models](https://github.com/CharlesCNorton/rime/blob/main/experiments/kolmogorov-omega/RESULTS.md)
|
|
|
|
| 1 |
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: default
|
| 4 |
+
data_files: omega_tensor.parquet
|
| 5 |
+
- config_name: init_state
|
| 6 |
+
data_files: init_state_tensor.parquet
|
| 7 |
dataset_info:
|
| 8 |
+
- config_name: default
|
| 9 |
+
features:
|
| 10 |
+
- name: op1
|
| 11 |
+
dtype: int64
|
| 12 |
+
- name: op2
|
| 13 |
+
dtype: int64
|
| 14 |
+
- name: op3
|
| 15 |
+
dtype: int64
|
| 16 |
+
- name: op4
|
| 17 |
+
dtype: int64
|
| 18 |
+
- name: op1_name
|
| 19 |
+
dtype: string
|
| 20 |
+
- name: op2_name
|
| 21 |
+
dtype: string
|
| 22 |
+
- name: op3_name
|
| 23 |
+
dtype: string
|
| 24 |
+
- name: op4_name
|
| 25 |
+
dtype: string
|
| 26 |
+
- name: halting_count
|
| 27 |
+
dtype: int64
|
| 28 |
+
- name: omega
|
| 29 |
+
dtype: float64
|
| 30 |
+
- name: has_swp
|
| 31 |
+
dtype: bool
|
| 32 |
+
- name: has_mov
|
| 33 |
+
dtype: bool
|
| 34 |
+
- name: has_and
|
| 35 |
+
dtype: bool
|
| 36 |
+
- name: has_shr
|
| 37 |
+
dtype: bool
|
| 38 |
+
- name: involution_count
|
| 39 |
+
dtype: int64
|
| 40 |
+
- name: coupling
|
| 41 |
+
dtype: string
|
| 42 |
+
- name: avg_cycle
|
| 43 |
+
dtype: float64
|
| 44 |
+
- name: max_cycle
|
| 45 |
+
dtype: int64
|
| 46 |
+
- name: entropy_bits
|
| 47 |
+
dtype: float64
|
| 48 |
+
- name: reachable_outputs
|
| 49 |
+
dtype: int64
|
| 50 |
+
splits:
|
| 51 |
+
- name: train
|
| 52 |
+
num_examples: 38416
|
| 53 |
+
- config_name: init_state
|
| 54 |
+
features:
|
| 55 |
+
- name: op1
|
| 56 |
+
dtype: int8
|
| 57 |
+
- name: op2
|
| 58 |
+
dtype: int8
|
| 59 |
+
- name: op3
|
| 60 |
+
dtype: int8
|
| 61 |
+
- name: op4
|
| 62 |
+
dtype: int8
|
| 63 |
+
splits:
|
| 64 |
+
- name: train
|
| 65 |
+
num_examples: 38416
|
| 66 |
license: mit
|
| 67 |
task_categories:
|
| 68 |
- other
|
|
|
|
| 73 |
- exhaustive-enumeration
|
| 74 |
- FPGA
|
| 75 |
size_categories:
|
| 76 |
+
- 1M<n<10M
|
| 77 |
---
|
| 78 |
|
| 79 |
# Omega Tensor: Exact Halting Fractions for 38,416 Instruction Sets
|
| 80 |
|
| 81 |
Exhaustive enumeration of all 1,679,616 programs of length 8 for every possible instruction set on a two-register, 8-bit, bounded machine with JNZ-to-zero control flow. Each row is one ISA. Each halting count is exact.
|
| 82 |
|
| 83 |
+
The repository contains two tables:
|
| 84 |
+
|
| 85 |
+
- `omega_tensor.parquet` (38,416 rows) — canonical single-initial-state table used in the paper, with the halting fraction at A=0, B=0 and cross-observable columns (cycle length, output entropy, reachability, structural flags).
|
| 86 |
+
- `init_state_tensor.parquet` (38,416 rows, 260 columns) — extends the above to every initial A value in 0..255 at B=0. Halting counts only.
|
| 87 |
+
|
| 88 |
+
## Contents — `omega_tensor.parquet`
|
| 89 |
|
| 90 |
38,416 rows. Each row represents one ordered ISA defined by four opcode assignments (opcodes 1-4) drawn from 14 primitive operations. Opcode 0 is always INC. Opcode 5 is always JNZ.
|
| 91 |
|
|
|
|
| 103 |
| entropy_bits | float | Shannon entropy of the output distribution (bits) |
|
| 104 |
| reachable_outputs | int | Number of distinct outputs produced by halting programs |
|
| 105 |
|
| 106 |
+
## Statistics — `omega_tensor.parquet`
|
| 107 |
|
| 108 |
- Range: [0.290710, 0.816916]
|
| 109 |
- Mean: 0.612418
|
|
|
|
| 133 |
- ISA-B (NEG MOV SUB AND): 1,235,107 = 1,235,107 = 1,235,107
|
| 134 |
- ISA-G (SHR MOV SUB AND): 1,248,490 = 1,248,490 = 1,248,490
|
| 135 |
|
| 136 |
+
## Contents — `init_state_tensor.parquet`
|
| 137 |
+
|
| 138 |
+
38,416 rows, one per ISA (same ISA space as `omega_tensor.parquet`). 260 columns: four opcode slots plus 256 halting counts, one per initial A value.
|
| 139 |
+
|
| 140 |
+
| Column | Type | Description |
|
| 141 |
+
|---|---|---|
|
| 142 |
+
| op1-op4 | int8 | Operation IDs for opcodes 1-4 |
|
| 143 |
+
| h_000 through h_255 | int32 | Halting counts at initial state (A=N, B=0) for N=0..255 |
|
| 144 |
+
|
| 145 |
+
Join on (op1, op2, op3, op4) to recover names, cycle length, entropy, and structural columns from `omega_tensor.parquet`. The canonical value `omega` from that table equals `h_000 / 1,679,616`.
|
| 146 |
+
|
| 147 |
+
## Statistics — `init_state_tensor.parquet`
|
| 148 |
+
|
| 149 |
+
- Total cells: 38,416 x 256 = 9,834,496 exact halting counts
|
| 150 |
+
- Total program evaluations: ~16.5 billion
|
| 151 |
+
- Omega(init=0) mean: 0.612418 (matches `omega_tensor.parquet`)
|
| 152 |
+
- Omega(init=128) mean: 0.366431, range [0.236044, 0.681003]
|
| 153 |
+
- Ratio Omega(0)/Omega(128): mean 1.7429, median 1.6430, range [0.8336, 3.1466]
|
| 154 |
+
- 99.92% of ISAs have Omega(0) > Omega(128); 0.08% have the inverse (INC-dominant ISAs)
|
| 155 |
+
- 7.91% of ISAs have a perfectly reflection-symmetric bowl (Omega(a) = Omega(256-a))
|
| 156 |
+
- No ISA has its Omega minimum at init_a = 128 exactly; 3.23% have argmin in [126, 130]
|
| 157 |
+
- Bowl depth Omega(0) - Omega(min) ranges [0.058, 0.513], mean 0.260
|
| 158 |
+
|
| 159 |
+
## Method — `init_state_tensor.parquet`
|
| 160 |
+
|
| 161 |
+
Same interpreter and enumeration protocol as the canonical tensor, extended over all 256 values of the initial accumulator A (B held at 0). 9,834,496 (ISA, init_a) cells, each the exact halting count over the full 1,679,616-program space. Computed with the same Numba-JIT interpreter under an 18-worker multiprocessing pool, 110.3 wall hours, zero errors. Every count is exact.
|
| 162 |
+
|
| 163 |
+
Cross-validation: for every ISA, the `h_000` column equals the canonical `halting_count` from `omega_tensor.parquet`.
|
| 164 |
+
|
| 165 |
## Citation
|
| 166 |
|
| 167 |
Based on: [The Finite Halting Fraction Across Machine Models](https://github.com/CharlesCNorton/rime/blob/main/experiments/kolmogorov-omega/RESULTS.md)
|