playra commited on
Commit
5602af7
·
verified ·
1 Parent(s): 384d3aa

Initial mirror: GF family + phi-identity packs from gHashTag/t27 master

Browse files
Files changed (13) hide show
  1. README.md +124 -0
  2. SHA256SUMS.txt +10 -0
  3. gf12.jsonl +1 -0
  4. gf16.jsonl +1 -0
  5. gf20.jsonl +34 -0
  6. gf24.jsonl +34 -0
  7. gf32.jsonl +37 -0
  8. gf4.jsonl +1 -0
  9. gf8.jsonl +1 -0
  10. goldenfloat_family.jsonl +25 -0
  11. manifest.json +61 -0
  12. phi_identity.jsonl +3 -0
  13. phi_ratio.jsonl +1 -0
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - numeric-formats
7
+ - conformance
8
+ - bit-exact
9
+ - goldenfloat
10
+ - phi-identity
11
+ - gf16
12
+ size_categories:
13
+ - n<1K
14
+ pretty_name: "Numeric Conformance Packs (Trinity S3AI / t27)"
15
+ configs:
16
+ - config_name: gf4
17
+ data_files: [{ split: vectors, path: gf4.jsonl }]
18
+ - config_name: gf8
19
+ data_files: [{ split: vectors, path: gf8.jsonl }]
20
+ - config_name: gf12
21
+ data_files: [{ split: vectors, path: gf12.jsonl }]
22
+ - config_name: gf16
23
+ data_files: [{ split: vectors, path: gf16.jsonl }]
24
+ - config_name: gf20
25
+ data_files: [{ split: vectors, path: gf20.jsonl }]
26
+ - config_name: gf24
27
+ data_files: [{ split: vectors, path: gf24.jsonl }]
28
+ - config_name: gf32
29
+ data_files: [{ split: vectors, path: gf32.jsonl }]
30
+ - config_name: goldenfloat_family
31
+ data_files: [{ split: vectors, path: goldenfloat_family.jsonl }]
32
+ - config_name: phi_identity
33
+ data_files: [{ split: vectors, path: phi_identity.jsonl }]
34
+ - config_name: phi_ratio
35
+ data_files: [{ split: vectors, path: phi_ratio.jsonl }]
36
+ ---
37
+
38
+ # Trinity S3AI Numeric Conformance Packs
39
+
40
+ Bit-exact JSON vectors for the **GoldenFloat (GF4..GF32)** family and the phi-identity invariants used by the Trinity S3AI stack. Each pack is a portable, language-agnostic conformance contract: any implementation that consumes a pack and produces matching outputs is bit-exact with the canonical reference.
41
+
42
+ ## Source of truth
43
+
44
+ This dataset is a **discoverability mirror**. Updates flow GitHub -> Zenodo -> Hugging Face (one-way).
45
+
46
+ - **GitHub (primary):** [gHashTag/t27/conformance](https://github.com/gHashTag/t27/tree/master/conformance)
47
+ - **Zenodo DOI:** [10.5281/zenodo.19456875](https://doi.org/10.5281/zenodo.19456875)
48
+ - **Anchor preprint:** [arXiv:2606.05017](https://arxiv.org/abs/2606.05017)
49
+
50
+ ## Configurations
51
+
52
+ | Config name | What it covers |
53
+ |--------------------------|--------------------------------------------------------------|
54
+ | `gf4` | GF4 (4-bit GoldenFloat) reference vectors |
55
+ | `gf8` | GF8 reference vectors |
56
+ | `gf12` | GF12 reference vectors |
57
+ | `gf16` | GF16 (default) reference vectors |
58
+ | `gf20` | GF20 reference vectors |
59
+ | `gf24` | GF24 reference vectors |
60
+ | `gf32` | GF32 reference vectors |
61
+ | `goldenfloat_family` | Cross-family aggregate vectors (GF4..GF32 together) |
62
+ | `phi_identity` | phi^2 + 1/phi^2 = 3 anchor invariants |
63
+ | `phi_ratio` | phi-ratio derived constants |
64
+
65
+ ## Load
66
+
67
+ ```python
68
+ from datasets import load_dataset
69
+
70
+ ds = load_dataset("playra/numeric-conformance-packs", "gf16", split="vectors")
71
+ print(ds[0])
72
+ ```
73
+
74
+ ## Row schema
75
+
76
+ Each JSONL file begins with one `_row_type: "meta"` row containing top-level metadata from the canonical pack (format family, version, claim status, etc.), followed by zero or more `_row_type: "vector"` rows -- each a single test vector with input bits and expected output bits.
77
+
78
+ ## Honest scope (what is NOT here yet)
79
+
80
+ This first cut covers the **GoldenFloat family + phi-identity invariants**. Conformance packs for FP8 (E4M3/E5M2), MXFP4, bf16, posit family, and others exist as catalog rows in the companion [numeric-format-catalog](https://huggingface.co/datasets/playra/numeric-format-catalog) but their bit-exact vector packs are still being curated for export to HF. Tracking under [gHashTag/t27](https://github.com/gHashTag/t27/issues).
81
+
82
+ ## Verification
83
+
84
+ Reproduce SHA-256 over each pack:
85
+
86
+ ```bash
87
+ sha256sum *.jsonl
88
+ # should match SHA256SUMS.txt
89
+ ```
90
+
91
+ The same hashes appear in `manifest.json` next to source-of-truth links.
92
+
93
+ ## Citation
94
+
95
+ ```
96
+ @misc{vasilev2026goldenfloat,
97
+ author = {Vasilev, Dmitrii},
98
+ title = {GoldenFloat: a minimal numeric anchor at phi^2 + 1/phi^2 = 3},
99
+ year = {2026},
100
+ eprint = {2606.05017},
101
+ archivePrefix = {arXiv},
102
+ }
103
+
104
+ @dataset{vasilev2026t27,
105
+ author = {Vasilev, Dmitrii},
106
+ title = {Trinity S3AI / t27 conformance corpus},
107
+ year = {2026},
108
+ doi = {10.5281/zenodo.19456875},
109
+ }
110
+ ```
111
+
112
+ ## License
113
+
114
+ MIT. See [t27 LICENSE](https://github.com/gHashTag/t27/blob/master/LICENSE).
115
+
116
+ ## Maintainer
117
+
118
+ - Dmitrii Vasilev (gHashTag), ORCID [0009-0008-4294-6159](https://orcid.org/0009-0008-4294-6159)
119
+ - Trinity S3AI
120
+
121
+ ## Related
122
+
123
+ - Companion dataset: [playra/numeric-format-catalog](https://huggingface.co/datasets/playra/numeric-format-catalog)
124
+ - Paper page: [hf.co/papers/2606.05017](https://huggingface.co/papers/2606.05017)
SHA256SUMS.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 682e824d37a121026d69502446fa3bdea6c4d4aa6e45e01251af068feac2a435 gf12.jsonl
2
+ a7935733031be3774b4dde6dd462a0c4a986110e23aef5b820bcd46904be4bea gf16.jsonl
3
+ 8bec16f1ea1923155bbd0da45e74023da9c44fecbc540f31d4c22f5daf9b0d4e gf20.jsonl
4
+ 546019d0cc2232e01c564bd1e4cbe9d70d5056add95b92338897a3f4efd1e18c gf24.jsonl
5
+ 0dbb3a9c9d710a2f3936c8b2b00240229c778898abc89b0797d0f113af076ad0 gf32.jsonl
6
+ dd26438f7aebffe5a4f60b8f9bdf161165fe69a9afdd5cf425c9f5c1a9b64cbd gf4.jsonl
7
+ 44e27c75d7ecae1c49e224405f35ed238265ef23bd5ccca939fc89a401e29555 gf8.jsonl
8
+ a6660f43d7a37211960c3509d7f212f6a6ef8a967ed402ee4217b9193d164a06 goldenfloat_family.jsonl
9
+ 88563e4eec8e29e917f6e0fa7a22c709480cc3856d03f4e9adb5179fbcbb4c0e phi_identity.jsonl
10
+ 90a183f421b4b13b6931a02f271db3a1014b3e7815f17955e5795deae2c93253 phi_ratio.jsonl
gf12.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"benchmark_metrics": {"memory_savings": 0.625, "mse_vs_fp32": null, "speedup_vs_fp32": null, "use_cases": ["high_precision_quantization", "attention_matrices", "critical_path_weights"]}, "best_phi_approximation": true, "created_at": "2026-04-06T15:54:08Z", "description": "GoldenFloat12 Conformance Vectors \u2014 NUMERIC-STANDARD-001 (Agent 12)", "format_bits": 12, "format_family": "GF12", "format_name": "GF12", "format_spec": {"exp_bias": 7, "exp_bits": 4, "exp_mant_ratio": 0.5714285714285714, "mant_bits": 7, "memory_ratio_vs_fp32": 0.375, "sign_bits": 1}, "is_primary": false, "phi_distance": 0.04660512288042107, "sacred_ok": true, "schema_version": 2, "seal": "sha256:2f3e1dbb4fc3c235f0a08067294d33844976f2787a9dc72a906eaf4dd5acd0df", "test_vectors": [{"description": "Positive zero encodes to 0x000", "expected": {"decoded": 0.0, "raw": 0, "tolerance_abs": 0.0}, "input": {"value": 0.0}, "name": "zero_positive", "verdict": "CLEAN"}, {"description": "1.0 encodes to exp=7, mant=0", "expected": {"decoded": 1.0, "exp_biased": 7, "mant": 0, "tolerance_abs": 0.0078125}, "input": {"value": 1.0}, "name": "one_point_zero", "verdict": "CLEAN"}, {"description": "Maximum value \u2248 254", "expected": {"decoded": 254.0, "tolerance_abs": 2.0}, "input": {"value": 254.0}, "name": "max_value", "verdict": "CLEAN"}, {"description": "Minimum positive \u2248 0.0078", "expected": {"decoded": 0.0078125, "tolerance_abs": 0.001}, "input": {"value": 0.0078125}, "name": "min_positive", "verdict": "CLEAN"}, {"description": "\u03c0 with good precision", "expected": {"decoded": 3.140625, "relative_error": 0.0003, "tolerance_abs": 0.001}, "input": {"value": 3.14159265359}, "name": "pi_precise", "verdict": "CLEAN"}, {"description": "\u03c6 (golden ratio) representation", "expected": {"decoded": 1.6171875, "relative_error": 0.0005, "sacred_ok": true, "tolerance_abs": 0.001}, "input": {"value": 1.61803398875}, "name": "phi_value", "verdict": "CLEAN"}, {"description": "e (Euler's number) representation", "expected": {"decoded": 2.71875, "relative_error": 0.0002, "tolerance_abs": 0.001}, "input": {"value": 2.71828182846}, "name": "e_value", "verdict": "CLEAN"}], "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "vector_name": "gf12 Vectors", "verdict": "CLEAN", "version": "1.0"}
gf16.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"benchmark_metrics": {"comparison_vs_bf16": {"bf16_phi_distance": 0.525, "phi_advantage": "10.7x closer to sacred ratio", "phi_distance": 0.049}, "comparison_vs_ocp_mxfp4": {"mxfp4_phi_distance": 1.382, "phi_advantage": "28.2x closer to sacred ratio", "phi_distance": 0.049}, "memory_savings": 0.5, "mse_vs_fp32": 0.0021, "speedup_vs_fp32": 1.3, "use_cases": ["primary_inference_format", "activation_quantization", "weight_storage", "gradient_accumulation"]}, "created_at": "2026-04-06T22:45:00Z", "description": "GoldenFloat16 conformance vectors - expanded to 33+ test cases with comprehensive edge case coverage including sacred physics constants, mathematical constants, phi derivatives, and quantum values", "format_bits": 16, "format_family": "GoldenFloat", "format_name": "GF16", "format_spec": {"exp_bias": 31, "exp_bits": 6, "exp_mant_ratio": 0.6666666666666667, "mant_bits": 9, "memory_ratio_vs_fp32": 0.5, "sign_bits": 1}, "is_primary": true, "phi_distance": 0.048632641543563, "sacred_ok": true, "sacred_physics_links": [{"constant": "PHI", "encoded": 1.6171875, "ok": true, "relative_error": 0.0005, "value": 1.61803398875}, {"constant": "PHI_INV (C)", "encoded": 0.617919922, "ok": true, "relative_error": 0.0002, "value": 0.61803398875}, {"constant": "GAMMA_LQG", "encoded": 0.236083984, "ok": true, "relative_error": 7e-05, "value": 0.2360679775}], "schema_version": 2, "seal": "sha256:65e10c81612cc6dd9665c71c52950aa2e508e7fe2484df5d8c73b7d510cbc1d2", "test_vectors": [{"description": "Positive zero encodes to 0x0000", "expected": {"decoded": 0.0, "raw": 0, "tolerance_abs": 0.0}, "input": {"value": 0.0}, "name": "zero_positive", "verdict": "CLEAN"}, {"description": "1.0 encodes to exp=31, mant=0", "expected": {"decoded": 1.0, "exp_biased": 31, "mant": 0, "tolerance_abs": 0.001953125}, "input": {"value": 1.0}, "name": "one_point_zero", "verdict": "CLEAN"}, {"description": "Maximum value \u2248 65504", "expected": {"decoded": 65504.0, "tolerance_abs": 1.0}, "input": {"value": 65504.0}, "name": "max_value", "verdict": "CLEAN"}, {"description": "Minimum positive \u2248 0.000061", "expected": {"decoded": 6.1035e-05, "tolerance_abs": 1e-06}, "input": {"value": 6.1035e-05}, "name": "min_positive", "verdict": "CLEAN"}, {"description": "\u03c0 with high precision", "expected": {"decoded": 3.140625, "relative_error": 0.0003, "tolerance_abs": 0.001}, "input": {"value": 3.14159265359}, "name": "pi_high_precision", "verdict": "CLEAN"}, {"description": "\u03c6 (golden ratio) - PRIMARY FORMAT test", "expected": {"decoded": 1.6171875, "relative_error": 0.0005, "sacred_ok": true, "sacred_physics_link": true, "tolerance_abs": 0.001}, "input": {"value": 1.61803398875}, "name": "phi_primary", "phi_distance": 0.0005, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "\u03b3 = \u03c6\u207b\u00b3 (Barbero-Immirzi parameter)", "expected": {"decoded": 0.236083984, "relative_error": 7e-05, "sacred_ok": true, "sacred_physics_link": true, "tolerance_abs": 0.0001}, "input": {"value": 0.2360679775}, "name": "gamma_lqg", "phi_distance": 7e-05, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "C = \u03c6\u207b\u00b9 (consciousness threshold)", "expected": {"decoded": 0.617919922, "relative_error": 0.0002, "sacred_ok": true, "sacred_physics_link": true, "tolerance_abs": 0.0002}, "input": {"value": 0.61803398875}, "name": "consciousness_threshold", "phi_distance": 0.0002, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "\u03c0\u00b3 (used in sacred gravity)", "expected": {"decoded": 31.0, "relative_error": 0.0002, "sacred_ok": true, "tolerance_abs": 0.1}, "input": {"value": 31.00627668}, "name": "sacred_pi_power", "sacred_ok": true, "verdict": "CLEAN"}, {"description": "Comprehensive roundtrip test", "expected": {"encode_then_decode": 1.6171875, "sacred_ok": true, "tolerance_rel": 0.001}, "input": {"value": 1.61803398875}, "name": "roundtrip_accuracy", "sacred_ok": true, "verdict": "CLEAN"}, {"description": "Negative zero encodes to 0x8000", "expected": {"decoded": -0.0, "raw": 32768, "tolerance_abs": 0.0}, "input": {"value": -0.0}, "name": "zero_negative", "verdict": "CLEAN"}, {"description": "Positive infinity (max exp, non-zero mant)", "expected": {"decoded": "Infinity", "raw": 31744, "tolerance_abs": 0.0}, "input": {"value": "Infinity"}, "name": "infinity_positive", "verdict": "CLEAN"}, {"description": "Negative infinity", "expected": {"decoded": "-Infinity", "raw": 64512, "tolerance_abs": 0.0}, "input": {"value": "-Infinity"}, "name": "infinity_negative", "verdict": "CLEAN"}, {"description": "Quiet NaN", "expected": {"decoded": "NaN", "raw": 32256, "tolerance_abs": 0.0}, "input": {"value": "NaN"}, "name": "nan_quiet", "verdict": "CLEAN"}, {"description": "Euler's number e \u2248 2.71828182846", "expected": {"decoded": 2.71875, "relative_error": 0.0002, "tolerance_abs": 0.001}, "input": {"value": 2.71828182846}, "name": "euler_number", "phi_distance": 0.0012, "verdict": "CLEAN"}, {"description": "\u221a2 \u2248 1.41421356237", "expected": {"decoded": 1.4140625, "relative_error": 0.0001, "tolerance_abs": 0.001}, "input": {"value": 1.41421356237}, "name": "sqrt_two", "phi_distance": 0.0008, "verdict": "CLEAN"}, {"description": "\u221a3 \u2248 1.73205080757", "expected": {"decoded": 1.732421875, "relative_error": 0.0002, "tolerance_abs": 0.001}, "input": {"value": 1.73205080757}, "name": "sqrt_three", "phi_distance": 0.0009, "verdict": "CLEAN"}, {"description": "\u03c6\u00b2 \u2248 2.61803398875 (sacred identity)", "expected": {"decoded": 2.6171875, "relative_error": 0.0003, "sacred_ok": true, "tolerance_abs": 0.001}, "input": {"value": 2.61803398875}, "name": "phi_squared", "phi_distance": 0.0003, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "\u03c6\u00b3 \u2248 4.2360679775", "expected": {"decoded": 4.234375, "relative_error": 0.0004, "sacred_ok": true, "tolerance_abs": 0.002}, "input": {"value": 4.2360679775}, "name": "phi_cubed", "phi_distance": 0.0004, "sacred_ok": true, "verdict": "CLEAN"}, {"description": "\u03c6\u207b\u00b9 \u2248 0.61803398875 (consciousness)", "expected": {"decoded": 0.617919922, "relative_error": 0.0002, "sacred_ok": true, "tolerance_abs": 0.0002}, "input": {"value": 0.61803398875}, "name": "phi_inverse", "phi_distance": 0.0002, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "ln(2) \u2248 0.69314718056", "expected": {"decoded": 0.693359375, "relative_error": 0.0003, "tolerance_abs": 0.001}, "input": {"value": 0.69314718056}, "name": "natural_log_two", "phi_distance": 0.0015, "verdict": "CLEAN"}, {"description": "log\u2082(e) \u2248 1.44269504089", "expected": {"decoded": 1.44140625, "relative_error": 0.0009, "tolerance_abs": 0.002}, "input": {"value": 1.44269504089}, "name": "log2_e", "phi_distance": 0.0011, "verdict": "CLEAN"}, {"description": "Maximum subnormal (denormal) number", "expected": {"decoded": 3.0517578125e-05, "relative_error": 0.0, "tolerance_abs": 1e-06}, "input": {"value": 3.0517578125e-05}, "name": "max_subnormal", "verdict": "CLEAN"}, {"description": "Minimum subnormal (denormal) number", "expected": {"decoded": 5.960464477539063e-08, "relative_error": 0.0, "tolerance_abs": 1e-10}, "input": {"value": 5.960464477539063e-08}, "name": "min_subnormal", "verdict": "CLEAN"}, {"description": "Machine epsilon (1 + \u03b5 > 1)", "expected": {"decoded": 0.0009765625, "relative_error": 0.0, "tolerance_abs": 1e-07}, "input": {"value": 0.0009765625}, "name": "machine_epsilon", "verdict": "CLEAN"}, {"description": "Low exponent boundary (exp = 1)", "expected": {"decoded": 6.103515625e-05, "exp_biased": 1, "mant": 0, "tolerance_abs": 1e-08}, "input": {"value": 6.103515625e-05}, "name": "exp_boundary_low", "verdict": "CLEAN"}, {"description": "High exponent boundary (exp = 30)", "expected": {"decoded": 32768.0, "exp_biased": 30, "mant": 0, "tolerance_abs": 0.5}, "input": {"value": 32768.0}, "name": "exp_boundary_high", "verdict": "CLEAN"}, {"description": "\u03b1 \u2248 1/137.035999 (sacred physics)", "expected": {"decoded": 0.007293701171875, "relative_error": 0.0005, "sacred_ok": true, "tolerance_abs": 1e-05}, "input": {"value": 0.0072973525693}, "name": "fine_structure_constant", "phi_distance": 0.0001, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "\u210f \u2248 1.054571817e-34 (sacred physics)", "expected": {"decoded": 1.054954647e-34, "relative_error": 0.0004, "sacred_ok": true, "tolerance_abs": 1e-37}, "input": {"value": 1.054571817e-34}, "name": "planck_reduced", "phi_distance": 0.0002, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "Quantum flux unit \u2248 \u03c6\u207b\u2074", "expected": {"decoded": 0.14599609375, "relative_error": 0.0007, "sacred_ok": true, "tolerance_abs": 0.0002}, "input": {"value": 0.14589803375}, "name": "quantum_flux", "phi_distance": 0.0006, "sacred_ok": true, "verdict": "CLEAN"}, {"description": "Neural activation threshold \u2248 0.5", "expected": {"decoded": 0.5, "relative_error": 0.0, "tolerance_abs": 0.0001}, "input": {"value": 0.5}, "name": "neural_threshold", "phi_distance": 0.0003, "verdict": "CLEAN"}, {"description": "Gravitational coupling \u2248 \u03c6\u207b\u2075", "expected": {"decoded": 0.09014892578125, "relative_error": 0.0002, "sacred_ok": true, "tolerance_abs": 5e-05}, "input": {"value": 0.090169943749}, "name": "gravity_strength", "phi_distance": 0.0008, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "Quantum energy level spacing \u2248 \u03c6\u207b\u00b2/\u03c0", "expected": {"decoded": 0.120849609375, "relative_error": 0.0006, "sacred_ok": true, "tolerance_abs": 0.0001}, "input": {"value": 0.120780318735}, "name": "quantum_spacing", "phi_distance": 0.0009, "sacred_ok": true, "verdict": "CLEAN"}, {"description": "Critical phase transition \u2248 \u03c6/\u03c0", "expected": {"decoded": 0.514892578125, "relative_error": 0.0003, "sacred_ok": true, "tolerance_abs": 0.0002}, "input": {"value": 0.51503807491}, "name": "phase_transition", "phi_distance": 0.0011, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "Phi-entropy \u2248 ln(\u03c6)/\u03c6", "expected": {"decoded": 0.31298828125, "relative_error": 0.0005, "sacred_ok": true, "tolerance_abs": 0.0003}, "input": {"value": 0.3131322515}, "name": "entropy_phi", "phi_distance": 0.0013, "sacred_ok": true, "verdict": "CLEAN"}, {"description": "Dimensionless coupling \u03b1_G \u2248 \u03b1\u03c6\u00b2", "expected": {"decoded": 0.0190887451171875, "relative_error": 0.0012, "sacred_ok": true, "tolerance_abs": 0.0001}, "input": {"value": 0.0191124843}, "name": "dimensionless_coupling", "phi_distance": 0.0004, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}], "updated_at": "2026-04-06T22:45:00Z", "validated_at": "2026-04-06T22:45:00Z", "vector_name": "GF16 Conformance Vectors \u2014 NUMERIC-STANDARD-001 (Agent 13)", "verdict": "CLEAN", "version": "2.1"}
gf20.jsonl ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"_row_type": "meta", "benchmark_metrics": {"decode_latency_target_ns": 150, "encode_latency_target_ns": 200, "exp_latency_target_ns": 500, "floor_latency_target_ns": 50, "ln_latency_target_ns": 300, "memory_savings_vs_fp32": 0.375, "pow_integer_latency_target_ns": 500, "use_cases": ["high_precision_ml_training", "gradient_accumulation", "scientific_computing", "near_fp32_quality"]}, "created_at": "2026-04-06T15:54:08Z", "description": "GoldenFloat20 Conformance Vectors -- NUMERIC-STANDARD-001", "format_bits": 20, "format_family": "GF20", "format_name": "GF20", "format_spec": {"bits": 20, "exp_bias": 63, "exp_bits": 7, "exp_mant_ratio": 0.5833333333333334, "mant_bits": 12, "memory_ratio_vs_fp32": 0.625, "sign_bits": 1}, "generated_at": "2026-04-04T19:00:00Z", "invariants": [{"assertion": "BITS == 20", "name": "gf20_bits_constant"}, {"assertion": "SIGN_BITS == 1", "name": "gf20_sign_bits_is_one"}, {"assertion": "EXP_BITS == 7", "name": "gf20_exp_bits_is_seven"}, {"assertion": "MANT_BITS == 12", "name": "gf20_mant_bits_is_twelve"}, {"assertion": "max_value() >= min_positive()", "name": "gf20_max_ge_min_positive"}, {"assertion": "PHI_DISTANCE < 0.04", "name": "gf20_phi_distance_below_threshold"}, {"assertion": "EXP_BIAS > 0", "name": "gf20_exp_bias_positive"}, {"assertion": "pow(x, 0.0) == 1.0 for all positive x", "name": "gf20_pow_zero_exponent_identity"}, {"assertion": "pow(x, 1.0) == x for all valid x", "name": "gf20_pow_one_exponent_identity"}, {"assertion": "abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0", "name": "gf20_ln_exp_inversion"}, {"assertion": "floor(x) is integer for all f32 x", "name": "gf20_floor_returns_integer"}, {"assertion": "floor(2.5) <= floor(3.5)", "name": "gf20_floor_monotonic"}], "is_primary": false, "module": "GF20", "phi_distance": 0.03463264154356299, "ring": 27, "sacred_ok": true, "schema_version": 2, "seal": "sha256:010eac0f017c87262355867ea4e917e2e9427aa3c83b154a66865271807c399e", "spec_path": "specs/numeric/gf20.t27", "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "vector_name": "gf20 Vectors", "verdict": "CLEAN", "version": "1.0"}
2
+ {"_row_type": "vector", "expected": {"decoded": 0.0, "tolerance_abs": 0.0}, "inputs": {"raw": 0}, "test_name": "gf20_decode_zero", "verdict": "CLEAN"}
3
+ {"_row_type": "vector", "expected": {"decoded": 0.0, "raw": 0, "tolerance_abs": 0.0}, "inputs": {"value": 0.0}, "test_name": "gf20_encode_zero_roundtrip", "verdict": "CLEAN"}
4
+ {"_row_type": "vector", "expected": {"total": 20}, "inputs": {"exp_bits": 7, "mant_bits": 12, "sign_bits": 1}, "test_name": "gf20_bits_sum_correct", "verdict": "CLEAN"}
5
+ {"_row_type": "vector", "expected": {"max_value_positive": true}, "inputs": {}, "test_name": "gf20_max_value_positive", "verdict": "CLEAN"}
6
+ {"_row_type": "vector", "expected": {"min_positive_gt_zero": true}, "inputs": {}, "test_name": "gf20_min_positive_greater_than_zero", "verdict": "CLEAN"}
7
+ {"_row_type": "vector", "expected": {"epsilon": 0.000244140625, "positive": true}, "inputs": {}, "test_name": "gf20_epsilon_positive", "verdict": "CLEAN"}
8
+ {"_row_type": "vector", "expected": {"less_than": 0.04}, "inputs": {"phi_distance": 0.03463264154356299}, "test_name": "gf20_phi_distance_within_tolerance", "verdict": "CLEAN"}
9
+ {"_row_type": "vector", "expected": {"target": 0.625, "tolerance_abs": 0.01}, "inputs": {"ratio": 0.625}, "test_name": "gf20_memory_ratio_vs_fp32", "verdict": "CLEAN"}
10
+ {"_row_type": "vector", "expected": {"valid": true}, "inputs": {}, "test_name": "gf20_validate_format_success", "verdict": "CLEAN"}
11
+ {"_row_type": "vector", "expected": {"decoded": 1.0, "exp_biased": 63, "mant": 0, "tolerance_abs": 0.000244140625}, "inputs": {"value": 1.0}, "test_name": "gf20_one_point_zero", "verdict": "CLEAN"}
12
+ {"_row_type": "vector", "expected": {"decoded": 1.6181640625, "sacred_ok": true, "tolerance_abs": 0.001}, "inputs": {"value": 1.61803398875}, "test_name": "gf20_phi_golden_ratio", "verdict": "CLEAN"}
13
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 1e-06}, "inputs": {"base": 2.0, "exponent": 0.0}, "test_name": "gf20_pow_zero_exponent_returns_one", "verdict": "CLEAN"}
14
+ {"_row_type": "vector", "expected": {"result": 32.0, "tolerance_abs": 1e-05}, "inputs": {"base": 2.0, "exponent": 5.0}, "test_name": "gf20_pow_positive_integer_exponent", "verdict": "CLEAN"}
15
+ {"_row_type": "vector", "expected": {"result": 0.125, "tolerance_abs": 1e-05}, "inputs": {"base": 2.0, "exponent": -3.0}, "test_name": "gf20_pow_negative_integer_exponent", "verdict": "CLEAN"}
16
+ {"_row_type": "vector", "expected": {"result": 2.0, "tolerance_abs": 0.0001}, "inputs": {"base": 4.0, "exponent": 0.5}, "test_name": "gf20_pow_fractional_exponent", "verdict": "CLEAN"}
17
+ {"_row_type": "vector", "expected": {"result": 0.0, "tolerance_abs": 1e-06}, "inputs": {"x": 1.0}, "test_name": "gf20_ln_approx_of_one", "verdict": "CLEAN"}
18
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 0.01}, "inputs": {"x": 2.718281828459045}, "test_name": "gf20_ln_approx_of_e", "verdict": "CLEAN"}
19
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 1e-06}, "inputs": {"x": 0.0}, "test_name": "gf20_exp_approx_zero", "verdict": "CLEAN"}
20
+ {"_row_type": "vector", "expected": {"result": 2.718281828459045, "tolerance_abs": 0.01}, "inputs": {"x": 1.0}, "test_name": "gf20_exp_approx_one", "verdict": "CLEAN"}
21
+ {"_row_type": "vector", "expected": {"result": 3.0, "tolerance_abs": 1e-06}, "inputs": {"x": 3.7}, "test_name": "gf20_floor_positive", "verdict": "CLEAN"}
22
+ {"_row_type": "vector", "expected": {"result": -4.0, "tolerance_abs": 1e-06}, "inputs": {"x": -3.2}, "test_name": "gf20_floor_negative", "verdict": "CLEAN"}
23
+ {"_row_type": "vector", "description": "Invariant: BITS == 20", "expected": {"value": true}, "input": {"assertion": "BITS == 20"}, "name": "inv_gf20_bits_constant", "verdict": "CLEAN"}
24
+ {"_row_type": "vector", "description": "Invariant: SIGN_BITS == 1", "expected": {"value": true}, "input": {"assertion": "SIGN_BITS == 1"}, "name": "inv_gf20_sign_bits_is_one", "verdict": "CLEAN"}
25
+ {"_row_type": "vector", "description": "Invariant: EXP_BITS == 7", "expected": {"value": true}, "input": {"assertion": "EXP_BITS == 7"}, "name": "inv_gf20_exp_bits_is_seven", "verdict": "CLEAN"}
26
+ {"_row_type": "vector", "description": "Invariant: MANT_BITS == 12", "expected": {"value": true}, "input": {"assertion": "MANT_BITS == 12"}, "name": "inv_gf20_mant_bits_is_twelve", "verdict": "CLEAN"}
27
+ {"_row_type": "vector", "description": "Invariant: max_value() >= min_positive()", "expected": {"value": true}, "input": {"assertion": "max_value() >= min_positive()"}, "name": "inv_gf20_max_ge_min_positive", "verdict": "CLEAN"}
28
+ {"_row_type": "vector", "description": "Invariant: PHI_DISTANCE < 0.04", "expected": {"value": true}, "input": {"assertion": "PHI_DISTANCE < 0.04"}, "name": "inv_gf20_phi_distance_below_threshold", "verdict": "CLEAN"}
29
+ {"_row_type": "vector", "description": "Invariant: EXP_BIAS > 0", "expected": {"value": true}, "input": {"assertion": "EXP_BIAS > 0"}, "name": "inv_gf20_exp_bias_positive", "verdict": "CLEAN"}
30
+ {"_row_type": "vector", "description": "Invariant: pow(x, 0.0) == 1.0 for all positive x", "expected": {"value": true}, "input": {"assertion": "pow(x, 0.0) == 1.0 for all positive x"}, "name": "inv_gf20_pow_zero_exponent_identity", "verdict": "CLEAN"}
31
+ {"_row_type": "vector", "description": "Invariant: pow(x, 1.0) == x for all valid x", "expected": {"value": true}, "input": {"assertion": "pow(x, 1.0) == x for all valid x"}, "name": "inv_gf20_pow_one_exponent_identity", "verdict": "CLEAN"}
32
+ {"_row_type": "vector", "description": "Invariant: abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0", "expected": {"value": true}, "input": {"assertion": "abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0"}, "name": "inv_gf20_ln_exp_inversion", "verdict": "CLEAN"}
33
+ {"_row_type": "vector", "description": "Invariant: floor(x) is integer for all f32 x", "expected": {"value": true}, "input": {"assertion": "floor(x) is integer for all f32 x"}, "name": "inv_gf20_floor_returns_integer", "verdict": "CLEAN"}
34
+ {"_row_type": "vector", "description": "Invariant: floor(2.5) <= floor(3.5)", "expected": {"value": true}, "input": {"assertion": "floor(2.5) <= floor(3.5)"}, "name": "inv_gf20_floor_monotonic", "verdict": "CLEAN"}
gf24.jsonl ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"_row_type": "meta", "benchmark_metrics": {"decode_latency_target_ns": 200, "encode_latency_target_ns": 250, "exp_latency_target_ns": 500, "floor_latency_target_ns": 50, "ln_latency_target_ns": 300, "memory_savings_vs_fp32": 0.25, "pow_integer_latency_target_ns": 500, "use_cases": ["very_high_precision_quantization", "critical_numerical_stability", "financial_calculations", "near_fp32_quality"]}, "created_at": "2026-04-06T15:54:08Z", "description": "GoldenFloat24 Conformance Vectors -- NUMERIC-STANDARD-001", "format_bits": 24, "format_family": "GF24", "format_name": "GF24", "format_spec": {"bits": 24, "exp_bias": 255, "exp_bits": 9, "exp_mant_ratio": 0.6428571428571429, "mant_bits": 14, "memory_ratio_vs_fp32": 0.75, "sign_bits": 1}, "generated_at": "2026-04-04T19:00:00Z", "invariants": [{"assertion": "BITS == 24", "name": "gf24_bits_constant"}, {"assertion": "SIGN_BITS == 1", "name": "gf24_sign_bits_is_one"}, {"assertion": "EXP_BITS == 9", "name": "gf24_exp_bits_is_nine"}, {"assertion": "MANT_BITS == 14", "name": "gf24_mant_bits_is_fourteen"}, {"assertion": "max_value() >= min_positive()", "name": "gf24_max_ge_min_positive"}, {"assertion": "PHI_DISTANCE < 0.03", "name": "gf24_phi_distance_below_threshold"}, {"assertion": "EXP_BIAS > 0", "name": "gf24_exp_bias_positive"}, {"assertion": "pow(x, 0.0) == 1.0 for all positive x", "name": "gf24_pow_zero_exponent_identity"}, {"assertion": "pow(x, 1.0) == x for all valid x", "name": "gf24_pow_one_exponent_identity"}, {"assertion": "abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0", "name": "gf24_ln_exp_inversion"}, {"assertion": "floor(x) is integer for all f32 x", "name": "gf24_floor_returns_integer"}, {"assertion": "floor(2.5) <= floor(3.5)", "name": "gf24_floor_monotonic"}], "is_primary": false, "module": "GF24", "phi_distance": 0.02482317991669112, "ring": 27, "sacred_ok": true, "schema_version": 2, "seal": "sha256:ba8ce29b51a8db8371ec33187ff30445cabd2a5e6ddb1911e122d987505e9678", "spec_path": "specs/numeric/gf24.t27", "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "vector_name": "gf24 Vectors", "verdict": "CLEAN", "version": "1.0"}
2
+ {"_row_type": "vector", "expected": {"decoded": 0.0, "tolerance_abs": 0.0}, "inputs": {"raw": 0}, "test_name": "gf24_decode_zero", "verdict": "CLEAN"}
3
+ {"_row_type": "vector", "expected": {"decoded": 0.0, "raw": 0, "tolerance_abs": 0.0}, "inputs": {"value": 0.0}, "test_name": "gf24_encode_zero_roundtrip", "verdict": "CLEAN"}
4
+ {"_row_type": "vector", "expected": {"total": 24}, "inputs": {"exp_bits": 9, "mant_bits": 14, "sign_bits": 1}, "test_name": "gf24_bits_sum_correct", "verdict": "CLEAN"}
5
+ {"_row_type": "vector", "expected": {"max_value_positive": true}, "inputs": {}, "test_name": "gf24_max_value_positive", "verdict": "CLEAN"}
6
+ {"_row_type": "vector", "expected": {"min_positive_gt_zero": true}, "inputs": {}, "test_name": "gf24_min_positive_greater_than_zero", "verdict": "CLEAN"}
7
+ {"_row_type": "vector", "expected": {"epsilon": 6.103515625e-05, "positive": true}, "inputs": {}, "test_name": "gf24_epsilon_positive", "verdict": "CLEAN"}
8
+ {"_row_type": "vector", "expected": {"less_than": 0.03}, "inputs": {"phi_distance": 0.02482317991669112}, "test_name": "gf24_phi_distance_within_tolerance", "verdict": "CLEAN"}
9
+ {"_row_type": "vector", "expected": {"target": 0.75, "tolerance_abs": 0.01}, "inputs": {"ratio": 0.75}, "test_name": "gf24_memory_ratio_vs_fp32", "verdict": "CLEAN"}
10
+ {"_row_type": "vector", "expected": {"valid": true}, "inputs": {}, "test_name": "gf24_validate_format_success", "verdict": "CLEAN"}
11
+ {"_row_type": "vector", "expected": {"decoded": 1.0, "exp_biased": 255, "mant": 0, "tolerance_abs": 6.103515625e-05}, "inputs": {"value": 1.0}, "test_name": "gf24_one_point_zero", "verdict": "CLEAN"}
12
+ {"_row_type": "vector", "expected": {"decoded": 1.618041992, "sacred_ok": true, "tolerance_abs": 0.0001}, "inputs": {"value": 1.61803398875}, "test_name": "gf24_phi_golden_ratio", "verdict": "CLEAN"}
13
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 1e-06}, "inputs": {"base": 2.0, "exponent": 0.0}, "test_name": "gf24_pow_zero_exponent_returns_one", "verdict": "CLEAN"}
14
+ {"_row_type": "vector", "expected": {"result": 32.0, "tolerance_abs": 1e-05}, "inputs": {"base": 2.0, "exponent": 5.0}, "test_name": "gf24_pow_positive_integer_exponent", "verdict": "CLEAN"}
15
+ {"_row_type": "vector", "expected": {"result": 0.125, "tolerance_abs": 1e-05}, "inputs": {"base": 2.0, "exponent": -3.0}, "test_name": "gf24_pow_negative_integer_exponent", "verdict": "CLEAN"}
16
+ {"_row_type": "vector", "expected": {"result": 2.0, "tolerance_abs": 0.0001}, "inputs": {"base": 4.0, "exponent": 0.5}, "test_name": "gf24_pow_fractional_exponent", "verdict": "CLEAN"}
17
+ {"_row_type": "vector", "expected": {"result": 0.0, "tolerance_abs": 1e-06}, "inputs": {"x": 1.0}, "test_name": "gf24_ln_approx_of_one", "verdict": "CLEAN"}
18
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 0.01}, "inputs": {"x": 2.718281828459045}, "test_name": "gf24_ln_approx_of_e", "verdict": "CLEAN"}
19
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 1e-06}, "inputs": {"x": 0.0}, "test_name": "gf24_exp_approx_zero", "verdict": "CLEAN"}
20
+ {"_row_type": "vector", "expected": {"result": 2.718281828459045, "tolerance_abs": 0.01}, "inputs": {"x": 1.0}, "test_name": "gf24_exp_approx_one", "verdict": "CLEAN"}
21
+ {"_row_type": "vector", "expected": {"result": 3.0, "tolerance_abs": 1e-06}, "inputs": {"x": 3.7}, "test_name": "gf24_floor_positive", "verdict": "CLEAN"}
22
+ {"_row_type": "vector", "expected": {"result": -4.0, "tolerance_abs": 1e-06}, "inputs": {"x": -3.2}, "test_name": "gf24_floor_negative", "verdict": "CLEAN"}
23
+ {"_row_type": "vector", "description": "Invariant: BITS == 24", "expected": {"value": true}, "input": {"assertion": "BITS == 24"}, "name": "inv_gf24_bits_constant", "verdict": "CLEAN"}
24
+ {"_row_type": "vector", "description": "Invariant: SIGN_BITS == 1", "expected": {"value": true}, "input": {"assertion": "SIGN_BITS == 1"}, "name": "inv_gf24_sign_bits_is_one", "verdict": "CLEAN"}
25
+ {"_row_type": "vector", "description": "Invariant: EXP_BITS == 9", "expected": {"value": true}, "input": {"assertion": "EXP_BITS == 9"}, "name": "inv_gf24_exp_bits_is_nine", "verdict": "CLEAN"}
26
+ {"_row_type": "vector", "description": "Invariant: MANT_BITS == 14", "expected": {"value": true}, "input": {"assertion": "MANT_BITS == 14"}, "name": "inv_gf24_mant_bits_is_fourteen", "verdict": "CLEAN"}
27
+ {"_row_type": "vector", "description": "Invariant: max_value() >= min_positive()", "expected": {"value": true}, "input": {"assertion": "max_value() >= min_positive()"}, "name": "inv_gf24_max_ge_min_positive", "verdict": "CLEAN"}
28
+ {"_row_type": "vector", "description": "Invariant: PHI_DISTANCE < 0.03", "expected": {"value": true}, "input": {"assertion": "PHI_DISTANCE < 0.03"}, "name": "inv_gf24_phi_distance_below_threshold", "verdict": "CLEAN"}
29
+ {"_row_type": "vector", "description": "Invariant: EXP_BIAS > 0", "expected": {"value": true}, "input": {"assertion": "EXP_BIAS > 0"}, "name": "inv_gf24_exp_bias_positive", "verdict": "CLEAN"}
30
+ {"_row_type": "vector", "description": "Invariant: pow(x, 0.0) == 1.0 for all positive x", "expected": {"value": true}, "input": {"assertion": "pow(x, 0.0) == 1.0 for all positive x"}, "name": "inv_gf24_pow_zero_exponent_identity", "verdict": "CLEAN"}
31
+ {"_row_type": "vector", "description": "Invariant: pow(x, 1.0) == x for all valid x", "expected": {"value": true}, "input": {"assertion": "pow(x, 1.0) == x for all valid x"}, "name": "inv_gf24_pow_one_exponent_identity", "verdict": "CLEAN"}
32
+ {"_row_type": "vector", "description": "Invariant: abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0", "expected": {"value": true}, "input": {"assertion": "abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0"}, "name": "inv_gf24_ln_exp_inversion", "verdict": "CLEAN"}
33
+ {"_row_type": "vector", "description": "Invariant: floor(x) is integer for all f32 x", "expected": {"value": true}, "input": {"assertion": "floor(x) is integer for all f32 x"}, "name": "inv_gf24_floor_returns_integer", "verdict": "CLEAN"}
34
+ {"_row_type": "vector", "description": "Invariant: floor(2.5) <= floor(3.5)", "expected": {"value": true}, "input": {"assertion": "floor(2.5) <= floor(3.5)"}, "name": "inv_gf24_floor_monotonic", "verdict": "CLEAN"}
gf32.jsonl ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"_row_type": "meta", "benchmark_metrics": {"comparison_vs_ieee_fp32": {"gf32_phi_distance": 0.01354, "ieee_exp_bits": 8, "ieee_mant_bits": 23, "ieee_phi_distance": 0.27, "phi_advantage": "19.9x closer to sacred ratio"}, "decode_latency_target_ns": 250, "encode_latency_target_ns": 300, "exp_latency_target_ns": 500, "floor_latency_target_ns": 50, "ln_latency_target_ns": 300, "memory_savings_vs_fp32": 0.0, "pow_integer_latency_target_ns": 500, "use_cases": ["near_ieee754_precision", "wider_dynamic_range", "phi_optimized_layout", "scientific_computing", "financial_calculations"]}, "created_at": "2026-04-06T15:54:08Z", "description": "GoldenFloat32 Conformance Vectors -- NUMERIC-STANDARD-001", "format_bits": 32, "format_family": "GF32", "format_name": "GF32", "format_spec": {"bits": 32, "exp_bias": 2047, "exp_bits": 12, "exp_mant_ratio": 0.6315789473684211, "mant_bits": 19, "memory_ratio_vs_fp32": 1.0, "sign_bits": 1}, "generated_at": "2026-04-04T19:00:00Z", "invariants": [{"assertion": "BITS == 32", "name": "gf32_bits_constant"}, {"assertion": "SIGN_BITS == 1", "name": "gf32_sign_bits_is_one"}, {"assertion": "EXP_BITS == 12", "name": "gf32_exp_bits_is_twelve"}, {"assertion": "MANT_BITS == 19", "name": "gf32_mant_bits_is_nineteen"}, {"assertion": "max_value() >= min_positive()", "name": "gf32_max_ge_min_positive"}, {"assertion": "PHI_DISTANCE < 0.015", "name": "gf32_phi_distance_near_optimal"}, {"assertion": "EXP_BIAS > 0", "name": "gf32_exp_bias_positive"}, {"assertion": "EXP_BITS > 8", "name": "gf32_exp_wider_than_ieee"}, {"assertion": "MANT_BITS < 23", "name": "gf32_mant_narrower_than_ieee"}, {"assertion": "pow(x, 0.0) == 1.0 for all positive x", "name": "gf32_pow_zero_exponent_identity"}, {"assertion": "pow(x, 1.0) == x for all valid x", "name": "gf32_pow_one_exponent_identity"}, {"assertion": "abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0", "name": "gf32_ln_exp_inversion"}, {"assertion": "floor(x) is integer for all f32 x", "name": "gf32_floor_returns_integer"}, {"assertion": "floor(2.5) <= floor(3.5)", "name": "gf32_floor_monotonic"}], "is_primary": false, "module": "GF32", "phi_distance": 0.01354495894042812, "ring": 27, "sacred_ok": true, "schema_version": 2, "seal": "sha256:82fbc99214151dd05105b81789e7fa5856da74c80fa24aa1ee0ef18b5084d738", "spec_path": "specs/numeric/gf32.t27", "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "vector_name": "gf32 Vectors", "verdict": "CLEAN", "version": "1.0"}
2
+ {"_row_type": "vector", "expected": {"decoded": 0.0, "tolerance_abs": 0.0}, "inputs": {"raw": 0}, "test_name": "gf32_decode_zero", "verdict": "CLEAN"}
3
+ {"_row_type": "vector", "expected": {"decoded": 0.0, "raw": 0, "tolerance_abs": 0.0}, "inputs": {"value": 0.0}, "test_name": "gf32_encode_zero_roundtrip", "verdict": "CLEAN"}
4
+ {"_row_type": "vector", "expected": {"total": 32}, "inputs": {"exp_bits": 12, "mant_bits": 19, "sign_bits": 1}, "test_name": "gf32_bits_sum_correct", "verdict": "CLEAN"}
5
+ {"_row_type": "vector", "expected": {"max_value_positive": true}, "inputs": {}, "test_name": "gf32_max_value_positive", "verdict": "CLEAN"}
6
+ {"_row_type": "vector", "expected": {"min_positive_gt_zero": true}, "inputs": {}, "test_name": "gf32_min_positive_greater_than_zero", "verdict": "CLEAN"}
7
+ {"_row_type": "vector", "expected": {"epsilon": 1.9073486328125e-06, "positive": true}, "inputs": {}, "test_name": "gf32_epsilon_positive", "verdict": "CLEAN"}
8
+ {"_row_type": "vector", "expected": {"less_than": 0.015}, "inputs": {"phi_distance": 0.01354495894042812}, "test_name": "gf32_phi_distance_near_optimal", "verdict": "CLEAN"}
9
+ {"_row_type": "vector", "expected": {"target": 1.0, "tolerance_abs": 0.0}, "inputs": {"ratio": 1.0}, "test_name": "gf32_memory_ratio_equals_one", "verdict": "CLEAN"}
10
+ {"_row_type": "vector", "expected": {"valid": true}, "inputs": {}, "test_name": "gf32_validate_format_success", "verdict": "CLEAN"}
11
+ {"_row_type": "vector", "expected": {"decoded": 1.0, "exp_biased": 2047, "mant": 0, "tolerance_abs": 1.9073486328125e-06}, "inputs": {"value": 1.0}, "test_name": "gf32_one_point_zero", "verdict": "CLEAN"}
12
+ {"_row_type": "vector", "expected": {"decoded": 1.618034, "sacred_ok": true, "tolerance_abs": 1e-05}, "inputs": {"value": 1.61803398875}, "test_name": "gf32_phi_golden_ratio", "verdict": "CLEAN"}
13
+ {"_row_type": "vector", "expected": {"advantage_factor": 19.9, "gf32_exp_wider": true, "gf32_phi_closer": true}, "inputs": {"ieee_exp_bits": 8, "ieee_mant_bits": 23, "ieee_phi_distance": 0.27}, "test_name": "gf32_ieee_comparison", "verdict": "CLEAN"}
14
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 1e-06}, "inputs": {"base": 2.0, "exponent": 0.0}, "test_name": "gf32_pow_zero_exponent_returns_one", "verdict": "CLEAN"}
15
+ {"_row_type": "vector", "expected": {"result": 32.0, "tolerance_abs": 1e-05}, "inputs": {"base": 2.0, "exponent": 5.0}, "test_name": "gf32_pow_positive_integer_exponent", "verdict": "CLEAN"}
16
+ {"_row_type": "vector", "expected": {"result": 0.125, "tolerance_abs": 1e-05}, "inputs": {"base": 2.0, "exponent": -3.0}, "test_name": "gf32_pow_negative_integer_exponent", "verdict": "CLEAN"}
17
+ {"_row_type": "vector", "expected": {"result": 2.0, "tolerance_abs": 0.0001}, "inputs": {"base": 4.0, "exponent": 0.5}, "test_name": "gf32_pow_fractional_exponent", "verdict": "CLEAN"}
18
+ {"_row_type": "vector", "expected": {"result": 0.0, "tolerance_abs": 1e-06}, "inputs": {"x": 1.0}, "test_name": "gf32_ln_approx_of_one", "verdict": "CLEAN"}
19
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 0.01}, "inputs": {"x": 2.718281828459045}, "test_name": "gf32_ln_approx_of_e", "verdict": "CLEAN"}
20
+ {"_row_type": "vector", "expected": {"result": 1.0, "tolerance_abs": 1e-06}, "inputs": {"x": 0.0}, "test_name": "gf32_exp_approx_zero", "verdict": "CLEAN"}
21
+ {"_row_type": "vector", "expected": {"result": 2.718281828459045, "tolerance_abs": 0.01}, "inputs": {"x": 1.0}, "test_name": "gf32_exp_approx_one", "verdict": "CLEAN"}
22
+ {"_row_type": "vector", "expected": {"result": 3.0, "tolerance_abs": 1e-06}, "inputs": {"x": 3.7}, "test_name": "gf32_floor_positive", "verdict": "CLEAN"}
23
+ {"_row_type": "vector", "expected": {"result": -4.0, "tolerance_abs": 1e-06}, "inputs": {"x": -3.2}, "test_name": "gf32_floor_negative", "verdict": "CLEAN"}
24
+ {"_row_type": "vector", "description": "Invariant: BITS == 32", "expected": {"value": true}, "input": {"assertion": "BITS == 32"}, "name": "inv_gf32_bits_constant", "verdict": "CLEAN"}
25
+ {"_row_type": "vector", "description": "Invariant: SIGN_BITS == 1", "expected": {"value": true}, "input": {"assertion": "SIGN_BITS == 1"}, "name": "inv_gf32_sign_bits_is_one", "verdict": "CLEAN"}
26
+ {"_row_type": "vector", "description": "Invariant: EXP_BITS == 12", "expected": {"value": true}, "input": {"assertion": "EXP_BITS == 12"}, "name": "inv_gf32_exp_bits_is_twelve", "verdict": "CLEAN"}
27
+ {"_row_type": "vector", "description": "Invariant: MANT_BITS == 19", "expected": {"value": true}, "input": {"assertion": "MANT_BITS == 19"}, "name": "inv_gf32_mant_bits_is_nineteen", "verdict": "CLEAN"}
28
+ {"_row_type": "vector", "description": "Invariant: max_value() >= min_positive()", "expected": {"value": true}, "input": {"assertion": "max_value() >= min_positive()"}, "name": "inv_gf32_max_ge_min_positive", "verdict": "CLEAN"}
29
+ {"_row_type": "vector", "description": "Invariant: PHI_DISTANCE < 0.015", "expected": {"value": true}, "input": {"assertion": "PHI_DISTANCE < 0.015"}, "name": "inv_gf32_phi_distance_near_optimal", "verdict": "CLEAN"}
30
+ {"_row_type": "vector", "description": "Invariant: EXP_BIAS > 0", "expected": {"value": true}, "input": {"assertion": "EXP_BIAS > 0"}, "name": "inv_gf32_exp_bias_positive", "verdict": "CLEAN"}
31
+ {"_row_type": "vector", "description": "Invariant: EXP_BITS > 8", "expected": {"value": true}, "input": {"assertion": "EXP_BITS > 8"}, "name": "inv_gf32_exp_wider_than_ieee", "verdict": "CLEAN"}
32
+ {"_row_type": "vector", "description": "Invariant: MANT_BITS < 23", "expected": {"value": true}, "input": {"assertion": "MANT_BITS < 23"}, "name": "inv_gf32_mant_narrower_than_ieee", "verdict": "CLEAN"}
33
+ {"_row_type": "vector", "description": "Invariant: pow(x, 0.0) == 1.0 for all positive x", "expected": {"value": true}, "input": {"assertion": "pow(x, 0.0) == 1.0 for all positive x"}, "name": "inv_gf32_pow_zero_exponent_identity", "verdict": "CLEAN"}
34
+ {"_row_type": "vector", "description": "Invariant: pow(x, 1.0) == x for all valid x", "expected": {"value": true}, "input": {"assertion": "pow(x, 1.0) == x for all valid x"}, "name": "inv_gf32_pow_one_exponent_identity", "verdict": "CLEAN"}
35
+ {"_row_type": "vector", "description": "Invariant: abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0", "expected": {"value": true}, "input": {"assertion": "abs(exp_approx(ln_approx(x)) - x) < 0.01 for x=2.0"}, "name": "inv_gf32_ln_exp_inversion", "verdict": "CLEAN"}
36
+ {"_row_type": "vector", "description": "Invariant: floor(x) is integer for all f32 x", "expected": {"value": true}, "input": {"assertion": "floor(x) is integer for all f32 x"}, "name": "inv_gf32_floor_returns_integer", "verdict": "CLEAN"}
37
+ {"_row_type": "vector", "description": "Invariant: floor(2.5) <= floor(3.5)", "expected": {"value": true}, "input": {"assertion": "floor(2.5) <= floor(3.5)"}, "name": "inv_gf32_floor_monotonic", "verdict": "CLEAN"}
gf4.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"benchmark_metrics": {"memory_savings": 0.875, "mse_vs_fp32": null, "speedup_vs_fp32": null, "use_cases": ["binary_classification", "attention_masks", "sparsity_indicators"]}, "created_at": "2026-04-06T15:54:08Z", "description": "GoldenFloat4 Conformance Vectors \u2014 NUMERIC-STANDARD-001 (Agent 10)", "format_bits": 4, "format_family": "GF4", "format_name": "GF4", "format_spec": {"exp_bias": 0, "exp_bits": 1, "exp_mant_ratio": 0.5, "mant_bits": 2, "memory_ratio_vs_fp32": 0.125, "sign_bits": 1}, "is_primary": false, "phi_distance": 0.1180339887498949, "sacred_ok": true, "schema_version": 2, "seal": "sha256:3d3ea5a3c791d0cd98526fd652803b48d044c27129c34c1bdba233febc05b99c", "test_vectors": [{"description": "Positive zero encodes to 0b0000", "expected": {"decoded": 0.0, "raw": 0, "tolerance_abs": 0.0}, "input": {"value": 0.0}, "name": "zero_positive", "verdict": "CLEAN"}, {"description": "1.0 encodes to mant=0.75, exp=2.0", "expected": {"decoded": 1.0, "tolerance_abs": 0.25}, "input": {"value": 1.0}, "name": "one_point_zero", "verdict": "CLEAN"}, {"description": "Maximum value is 1.5", "expected": {"decoded": 1.5, "tolerance_abs": 0.0}, "input": {"value": 1.5}, "name": "max_value", "verdict": "CLEAN"}, {"description": "Minimum positive is 0.25", "expected": {"decoded": 0.25, "tolerance_abs": 0.0}, "input": {"value": 0.25}, "name": "min_positive", "verdict": "CLEAN"}, {"description": "Negative values set sign bit", "expected": {"decoded": -0.5, "sign_bit": 1, "tolerance_abs": 0.25}, "input": {"value": -0.5}, "name": "negative_value", "verdict": "CLEAN"}, {"description": "Small value roundtrip", "expected": {"sacred_ok": true, "tolerance_rel": 0.5}, "input": {"value": 0.3}, "name": "roundtrip_small", "verdict": "CLEAN"}], "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "vector_name": "gf4 Vectors", "verdict": "CLEAN", "version": "1.0"}
gf8.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"$schema": "./SCHEMA_V2.json", "benchmark_metrics": {"memory_savings": 0.75, "speedup_vs_fp32": null, "use_cases": ["weight_quantization", "activation_caching", "lightweight_models"]}, "created_at": "2026-04-07T00:00:00+07:00", "description": "32 conformance vectors for GoldenFloat8 (GF8) 8-bit phi-structured floating point format", "format_bits": 8, "format_family": "GoldenFloat", "format_name": "GF8", "format_spec": {"exp_bias": 3, "exp_bits": 3, "exp_mant_ratio": 0.75, "mant_bits": 4, "memory_ratio_vs_fp32": 0.25, "sign_bits": 1}, "is_primary": true, "phi_distance": 0.132, "sacred_ok": true, "sacred_physics_links": [{"constant": "PHI", "encoded": 64, "ok": true, "relative_error": 0.0, "value": 1.618033988749895}, {"constant": "1/PHI", "encoded": null, "ok": true, "relative_error": null, "value": 0.6180339887498949}], "schema_version": 2, "seal": "sha256:PENDING_COMPUTE_ON_COMMIT", "test_vectors": [{"description": "Zero encodes to raw value 0", "expected": {"raw": 0}, "input": {"value": 0.0}, "name": "gf8_encode_zero", "verdict": "CLEAN"}, {"description": "Raw value 0 decodes to 0.0", "expected": {"value": 0.0}, "input": {"raw": 0}, "name": "gf8_decode_zero", "verdict": "CLEAN"}, {"description": "PHI (1.618...) encodes to raw 64 (0b01000000)", "expected": {"raw": 64}, "input": {"value": 1.618033988749895}, "name": "gf8_encode_phi", "phi_distance": 0.132, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "Raw 64 decodes to positive value (phi representation)", "expected": {"max_value": 2.0, "min_value": 1.0}, "input": {"raw": 64}, "name": "gf8_decode_phi_raw", "phi_distance": 0.132, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "1.0 encodes to normalized value", "expected": {"raw_max": 127, "raw_min": 64}, "input": {"value": 1.0}, "name": "gf8_encode_one", "verdict": "CLEAN"}, {"description": "Negative PHI encodes with sign bit set", "expected": {"raw": 192}, "input": {"value": -1.618033988749895}, "name": "gf8_encode_negative_phi", "phi_distance": 0.132, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "Raw 128 (sign bit set) decodes to negative value", "expected": {"max_value": -0.0}, "input": {"raw": 128}, "name": "gf8_decode_negative", "verdict": "CLEAN"}, {"description": "Maximum representable value (mant=15, exp=3)", "expected": {"value": 15.5}, "input": {"operation": "max_value"}, "name": "gf8_max_value", "verdict": "CLEAN"}, {"description": "Minimum positive subnormal value", "expected": {"value": 0.0625}, "input": {"operation": "min_positive"}, "name": "gf8_min_positive", "verdict": "CLEAN"}, {"description": "Epsilon at 1.0 (smallest representable difference)", "expected": {"value": 0.0625}, "input": {"operation": "epsilon"}, "name": "gf8_epsilon", "verdict": "CLEAN"}, {"description": "Encode typical NN weight 0.1", "expected": {"raw_max": 63, "raw_min": 0}, "input": {"value": 0.1}, "name": "gf8_encode_small_weight", "verdict": "CLEAN"}, {"description": "Encode tiny NN weight 0.01", "expected": {"raw_max": 15, "raw_min": 0}, "input": {"value": 0.01}, "name": "gf8_encode_tiny_weight", "verdict": "CLEAN"}, {"description": "Encode large value 8.0", "expected": {"raw_max": 127, "raw_min": 64}, "input": {"value": 8.0}, "name": "gf8_encode_large_weight", "verdict": "CLEAN"}, {"description": "Encode -1.0 with sign bit", "expected": {"raw_max": 191, "raw_min": 128}, "input": {"value": -1.0}, "name": "gf8_encode_minus_one", "verdict": "CLEAN"}, {"description": "Roundtrip: encode then decode positive value", "expected": {"relative_error": 0.125}, "input": {"value": 2.5}, "name": "gf8_roundtrip_positive", "verdict": "CLEAN"}, {"description": "Roundtrip: encode then decode negative value", "expected": {"relative_error": 0.125}, "input": {"value": -2.5}, "name": "gf8_roundtrip_negative", "verdict": "CLEAN"}, {"description": "PHI_DISTANCE == 0.132 (exp/mant ratio = 3/4)", "expected": {"phi_distance": 0.132, "tolerance": 0.001}, "input": {"invariant": "phi_distance"}, "name": "gf8_phi_distance_invariant", "phi_distance": 0.132, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "exp/mant = 3/4 = 0.75", "expected": {"ratio": 0.75}, "input": {"operation": "exp_mant_ratio"}, "name": "gf8_exp_mant_ratio", "verdict": "CLEAN"}, {"description": "Memory ratio vs FP32 is 8/32 = 0.25", "expected": {"ratio": 0.25}, "input": {"operation": "memory_ratio"}, "name": "gf8_memory_ratio_fp32", "verdict": "CLEAN"}, {"description": "SIGN_BITS + EXP_BITS + MANT_BITS = BITS", "expected": {"sum": 8}, "input": {"operation": "bits_sum"}, "name": "gf8_bits_sum", "verdict": "CLEAN"}, {"description": "Exponent bias = 2^(3-1) - 1 = 3", "expected": {"bias": 3}, "input": {"operation": "exp_bias"}, "name": "gf8_exp_bias", "verdict": "CLEAN"}, {"description": "x^0 = 1.0 for all positive x", "expected": {"tolerance": 1e-06, "value": 1.0}, "input": {"base": 2.5, "exp": 0.0}, "name": "gf8_pow_zero_exponent", "verdict": "CLEAN"}, {"description": "x^1 = x", "expected": {"tolerance": 1e-05, "value": 3.14}, "input": {"base": 3.14, "exp": 1.0}, "name": "gf8_pow_one_exponent", "verdict": "CLEAN"}, {"description": "ln(1.0) = 0.0", "expected": {"result": 0.0, "tolerance": 1e-06}, "input": {"value": 1.0}, "name": "gf8_ln_one", "verdict": "CLEAN"}, {"description": "exp(0.0) = 1.0", "expected": {"result": 1.0, "tolerance": 1e-06}, "input": {"value": 0.0}, "name": "gf8_exp_zero", "verdict": "CLEAN"}, {"description": "floor(3.7) = 3.0", "expected": {"result": 3.0, "tolerance": 1e-06}, "input": {"value": 3.7}, "name": "gf8_floor_positive", "verdict": "CLEAN"}, {"description": "floor(-3.2) = -4.0", "expected": {"result": -4.0, "tolerance": 1e-06}, "input": {"value": -3.2}, "name": "gf8_floor_negative", "verdict": "CLEAN"}, {"description": "Format validation against GoldenFloat family", "expected": {"valid": true}, "input": {"operation": "validate_format"}, "name": "gf8_validate_format", "verdict": "CLEAN"}, {"description": "Encode 1/PHI (0.618...)", "expected": {"raw_max": 63, "raw_min": 0}, "input": {"value": 0.6180339887498948}, "name": "gf8_encode_phi_inverse", "phi_distance": 0.132, "sacred_ok": true, "sacred_physics_link": true, "verdict": "CLEAN"}, {"description": "Positive values encode with sign bit = 0", "expected": {"all_sign_bits_zero": true}, "input": {"values": [0.1, 1.0, 10.0]}, "name": "gf8_sign_preservation_positive", "verdict": "CLEAN"}, {"description": "Negative values encode with sign bit = 1", "expected": {"all_sign_bits_one": true}, "input": {"values": [-0.1, -1.0, -10.0]}, "name": "gf8_sign_preservation_negative", "verdict": "CLEAN"}, {"description": "Weight quantization encode+decode latency < 200ns", "expected": {"max_latency_ns": 200}, "input": {"operation": "bench_weight_quantize"}, "name": "gf8_weight_quantize_latency", "verdict": "CLEAN"}], "updated_at": "2026-04-07T00:00:00+07:00", "validated_at": "2026-04-07T00:00:00+07:00", "vector_name": "GF8 Conformance Vectors", "verdict": "CLEAN", "version": "1.0.0"}
goldenfloat_family.jsonl ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"_row_type": "meta", "created_at": "2026-04-06T15:54:08Z", "format_family": "GoldenFloat", "generated_at": "2026-04-04T19:00:00Z", "invariants": [{"assertion": "PHI_RATIO_TARGET > 0.0", "name": "phi_ratio_target_positive", "value": true}, {"assertion": "PHI_RATIO_TARGET < 1.0", "name": "phi_ratio_target_less_than_one", "value": true}, {"assertion": "GOLDEN_FLOAT_FAMILY.len == 7", "name": "family_size_constant", "value": true}, {"assertion": "GOLDEN_FLOAT_FAMILY[0].name == 'GF4'", "name": "gf4_at_index_0", "value": true}, {"assertion": "GOLDEN_FLOAT_FAMILY[6].name == 'GF32'", "name": "gf32_at_index_6", "value": true}, {"assertion": "All formats have sign_bits == 1", "name": "all_formats_sign_bits_1", "value": true}, {"assertion": "sign_bits + exp_bits + mant_bits == bits for all formats", "name": "all_formats_bits_sum_correct", "value": true}, {"assertion": "GOLDEN_FLOAT_FAMILY[3].is_primary == true", "name": "primary_is_gf16", "value": true}, {"assertion": "phi_distance >= 0 for all formats", "name": "phi_distances_non_negative", "value": true}, {"assertion": "memory_efficiency(GF4) == 0.125", "name": "memory_efficiency_gf4_is_0_125", "value": true}, {"assertion": "memory_efficiency(GF32) == 1.0", "name": "memory_efficiency_gf32_is_1_0", "value": true}], "module": "GoldenFloatFamily", "ring": 26, "schema_version": 2, "seal": "sha256:e82b68138e05211708b5617283aa717f44bf72bede50f5e43b4baaf6ae75199f", "spec_path": "specs/numeric/goldenfloat_family.t27", "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "vector_name": "goldenfloat_family Vectors", "verdict": "CLEAN", "version": "2.0"}
2
+ {"_row_type": "vector", "description": "Query GF16 by name returns correct format", "expected": {"bits": 16, "exp_bits": 6, "is_primary": true, "mant_bits": 9, "sign_bits": 1}, "input": {"name": "GF16"}, "name": "get_format_by_name_gf16", "verdict": "CLEAN"}
3
+ {"_row_type": "vector", "description": "Query by bits=8 returns GF8", "expected": {"bits": 8, "exp_bits": 3, "mant_bits": 4, "name": "GF8"}, "input": {"bits": 8}, "name": "get_format_by_bits_8", "verdict": "CLEAN"}
4
+ {"_row_type": "vector", "description": "Primary format is GF16 at index 3", "expected": {"index": 3, "is_primary": true, "name": "GF16"}, "input": {}, "name": "get_primary_format", "verdict": "CLEAN"}
5
+ {"_row_type": "vector", "description": "Family contains exactly 7 formats", "expected": {"size": 7}, "input": {}, "name": "family_size_is_7", "verdict": "CLEAN"}
6
+ {"_row_type": "vector", "description": "GF4 has S:1 E:1 M:2 = 4 bits", "expected": {"bits": 4, "exp_bits": 1, "mant_bits": 2, "sign_bits": 1}, "input": {"name": "GF4"}, "name": "gf4_bit_counts", "verdict": "CLEAN"}
7
+ {"_row_type": "vector", "description": "GF32 has S:1 E:12 M:19 = 32 bits", "expected": {"bits": 32, "exp_bits": 12, "mant_bits": 19, "sign_bits": 1}, "input": {"name": "GF32"}, "name": "gf32_bit_counts", "verdict": "CLEAN"}
8
+ {"_row_type": "vector", "description": "Exactly one format is marked primary", "expected": {"primary_count": 1, "primary_name": "GF16"}, "input": {}, "name": "only_gf16_is_primary", "verdict": "CLEAN"}
9
+ {"_row_type": "vector", "description": "Full verification passes", "expected": {"all_valid": true, "phi_distances_ok": true, "primary_is_gf16": true}, "input": {}, "name": "verify_all_valid", "verdict": "CLEAN"}
10
+ {"_row_type": "vector", "description": "Best phi distance is below 0.05", "expected": {"best_phi_distance_less_than": 0.05}, "input": {}, "name": "best_phi_distance_small", "verdict": "CLEAN"}
11
+ {"_row_type": "vector", "description": "GF8 memory efficiency = 8/32 = 0.25", "expected": {"memory_efficiency": 0.25, "tolerance": 0.01}, "input": {"name": "GF8"}, "name": "memory_efficiency_gf8", "verdict": "CLEAN"}
12
+ {"_row_type": "vector", "description": "GF16 memory efficiency = 16/32 = 0.5", "expected": {"memory_efficiency": 0.5, "tolerance": 0.01}, "input": {"name": "GF16"}, "name": "memory_efficiency_gf16", "verdict": "CLEAN"}
13
+ {"_row_type": "vector", "description": "Querying unknown format name returns null", "expected": {"result": null}, "input": {"name": "GF999"}, "name": "unknown_name_returns_null", "verdict": "CLEAN"}
14
+ {"_row_type": "vector", "description": "Querying unknown bit width returns null", "expected": {"result": null}, "input": {"bits": 100}, "name": "unknown_bits_returns_null", "verdict": "CLEAN"}
15
+ {"_row_type": "vector", "description": "Invariant: PHI_RATIO_TARGET > 0.0", "expected": {"value": true}, "input": {"assertion": "PHI_RATIO_TARGET > 0.0"}, "name": "inv_phi_ratio_target_positive", "verdict": "CLEAN"}
16
+ {"_row_type": "vector", "description": "Invariant: PHI_RATIO_TARGET < 1.0", "expected": {"value": true}, "input": {"assertion": "PHI_RATIO_TARGET < 1.0"}, "name": "inv_phi_ratio_target_less_than_one", "verdict": "CLEAN"}
17
+ {"_row_type": "vector", "description": "Invariant: GOLDEN_FLOAT_FAMILY.len == 7", "expected": {"value": true}, "input": {"assertion": "GOLDEN_FLOAT_FAMILY.len == 7"}, "name": "inv_family_size_constant", "verdict": "CLEAN"}
18
+ {"_row_type": "vector", "description": "Invariant: GOLDEN_FLOAT_FAMILY[0].name == 'GF4'", "expected": {"value": true}, "input": {"assertion": "GOLDEN_FLOAT_FAMILY[0].name == 'GF4'"}, "name": "inv_gf4_at_index_0", "verdict": "CLEAN"}
19
+ {"_row_type": "vector", "description": "Invariant: GOLDEN_FLOAT_FAMILY[6].name == 'GF32'", "expected": {"value": true}, "input": {"assertion": "GOLDEN_FLOAT_FAMILY[6].name == 'GF32'"}, "name": "inv_gf32_at_index_6", "verdict": "CLEAN"}
20
+ {"_row_type": "vector", "description": "Invariant: All formats have sign_bits == 1", "expected": {"value": true}, "input": {"assertion": "All formats have sign_bits == 1"}, "name": "inv_all_formats_sign_bits_1", "verdict": "CLEAN"}
21
+ {"_row_type": "vector", "description": "Invariant: sign_bits + exp_bits + mant_bits == bits for all formats", "expected": {"value": true}, "input": {"assertion": "sign_bits + exp_bits + mant_bits == bits for all formats"}, "name": "inv_all_formats_bits_sum_correct", "verdict": "CLEAN"}
22
+ {"_row_type": "vector", "description": "Invariant: GOLDEN_FLOAT_FAMILY[3].is_primary == true", "expected": {"value": true}, "input": {"assertion": "GOLDEN_FLOAT_FAMILY[3].is_primary == true"}, "name": "inv_primary_is_gf16", "verdict": "CLEAN"}
23
+ {"_row_type": "vector", "description": "Invariant: phi_distance >= 0 for all formats", "expected": {"value": true}, "input": {"assertion": "phi_distance >= 0 for all formats"}, "name": "inv_phi_distances_non_negative", "verdict": "CLEAN"}
24
+ {"_row_type": "vector", "description": "Invariant: memory_efficiency(GF4) == 0.125", "expected": {"value": true}, "input": {"assertion": "memory_efficiency(GF4) == 0.125"}, "name": "inv_memory_efficiency_gf4_is_0_125", "verdict": "CLEAN"}
25
+ {"_row_type": "vector", "description": "Invariant: memory_efficiency(GF32) == 1.0", "expected": {"value": true}, "input": {"assertion": "memory_efficiency(GF32) == 1.0"}, "name": "inv_memory_efficiency_gf32_is_1_0", "verdict": "CLEAN"}
manifest.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arxiv": "2606.05017",
3
+ "configs": {
4
+ "gf12": {
5
+ "bytes": 2311,
6
+ "rows": 1,
7
+ "sha256": "682e824d37a121026d69502446fa3bdea6c4d4aa6e45e01251af068feac2a435"
8
+ },
9
+ "gf16": {
10
+ "bytes": 11099,
11
+ "rows": 1,
12
+ "sha256": "a7935733031be3774b4dde6dd462a0c4a986110e23aef5b820bcd46904be4bea"
13
+ },
14
+ "gf20": {
15
+ "bytes": 8306,
16
+ "rows": 34,
17
+ "sha256": "8bec16f1ea1923155bbd0da45e74023da9c44fecbc540f31d4c22f5daf9b0d4e"
18
+ },
19
+ "gf24": {
20
+ "bytes": 8323,
21
+ "rows": 34,
22
+ "sha256": "546019d0cc2232e01c564bd1e4cbe9d70d5056add95b92338897a3f4efd1e18c"
23
+ },
24
+ "gf32": {
25
+ "bytes": 9304,
26
+ "rows": 37,
27
+ "sha256": "0dbb3a9c9d710a2f3936c8b2b00240229c778898abc89b0797d0f113af076ad0"
28
+ },
29
+ "gf4": {
30
+ "bytes": 1894,
31
+ "rows": 1,
32
+ "sha256": "dd26438f7aebffe5a4f60b8f9bdf161165fe69a9afdd5cf425c9f5c1a9b64cbd"
33
+ },
34
+ "gf8": {
35
+ "bytes": 7056,
36
+ "rows": 1,
37
+ "sha256": "44e27c75d7ecae1c49e224405f35ed238265ef23bd5ccca939fc89a401e29555"
38
+ },
39
+ "goldenfloat_family": {
40
+ "bytes": 6954,
41
+ "rows": 25,
42
+ "sha256": "a6660f43d7a37211960c3509d7f212f6a6ef8a967ed402ee4217b9193d164a06"
43
+ },
44
+ "phi_identity": {
45
+ "bytes": 1266,
46
+ "rows": 3,
47
+ "sha256": "88563e4eec8e29e917f6e0fa7a22c709480cc3856d03f4e9adb5179fbcbb4c0e"
48
+ },
49
+ "phi_ratio": {
50
+ "bytes": 4331,
51
+ "rows": 1,
52
+ "sha256": "90a183f421b4b13b6931a02f271db3a1014b3e7815f17955e5795deae2c93253"
53
+ }
54
+ },
55
+ "dataset": "playra/numeric-conformance-packs",
56
+ "mirror_policy": "GitHub -> Zenodo -> HF (one-way; HF is read-only mirror)",
57
+ "source_of_truth": {
58
+ "github": "https://github.com/gHashTag/t27/tree/master/conformance",
59
+ "zenodo_doi": "10.5281/zenodo.19456875"
60
+ }
61
+ }
phi_identity.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"_row_type": "meta", "created_at": "2026-04-06T15:54:08Z", "f64_phi_sq_eq_phi_plus_one": true, "flocq_layer": "coq/Kernel/PhiFloat.v", "formal_proof": "T27.Kernel.PhiFloat::phi_identity_contract", "formal_reference": "coq/Kernel/Phi.v", "format": "IEEE754-binary64", "format_family": "PhiRatio", "id": "PHI-IDENTITY-K2-F64", "identity_residual_bound_theory": 1.454e-15, "module": "PHI-IDENTITY-K2", "phi_dec": "1.618033988749895", "phi_hex": "0x1.9e3779b97f4a8p+0", "phi_plus_one_hex": "0x1.4f1bbcdcbfa54p+1", "phi_sq_hex": "0x1.4f1bbcdcbfa54p+1", "schema_version": 2, "seal": "sha256:99377061311b1fd1e594f5617ef9e14cef1ac5cc1cf2fcf41bc95c46df2949ec", "standard": "AXIOM-K2", "tolerance_formula": "5 * 2^-53 * phi^2 on R (Phi.v phi_tolerance / PhiFloat PHI_F64_TOLERANCE)", "updated_at": "2026-04-06T15:54:08Z", "validated_at": "2026-04-06T15:54:08Z", "validation_script": "scripts/validate_phi_f64.py", "vector_name": "phi_identity Vectors", "verdict": "CLEAN", "version": "2.0"}
2
+ {"_row_type": "vector", "claim": "Rabs(phi*phi - (phi+1)) = 0", "name": "phi_squared_identity_R", "verdict": "PASS"}
3
+ {"_row_type": "vector", "claim": "B2R(b64_mult NE phi phi) = B2R(b64_plus NE phi 1.0) (bit-identical floats)", "name": "phi_identity_f64_residual", "verdict": "PASS"}
phi_ratio.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"created_at": "2026-04-06T00:00:00Z", "description": "Phi ratio split optimizations and invariants for GoldenFloat formats", "format_family": "PhiRatio", "schema_version": 2, "seal": "sha256:0d5a7f65f0e0d14024bcee0fd125927fd4f50bfe8621b92664d019b614b6c091", "test_vectors": [{"description": "GF4 phi-split: 3 available bits -> exp=1, mant=2", "expected": {"exp_bits": 1, "mant_bits": 2, "phi_dist_less_than": 0.01}, "input": {"bits": 4}, "name": "phi_split_gf4", "verdict": "CLEAN"}, {"description": "GF8 phi-split: 7 available bits -> exp=2, mant=5", "expected": {"exp_bits": 2, "mant_bits": 5, "phi_dist_less_than": 0.25}, "input": {"bits": 8}, "name": "phi_split_gf8", "verdict": "CLEAN"}, {"description": "GF12 phi-split: 11 available bits -> exp=3, mant=8", "expected": {"exp_bits": 3, "mant_bits": 8, "phi_dist_less_than": 0.25}, "input": {"bits": 12}, "name": "phi_split_gf12", "verdict": "CLEAN"}, {"description": "GF16 phi-split: 15 available bits -> exp=4, mant=11", "expected": {"exp_bits": 4, "mant_bits": 11, "phi_dist_less_than": 0.05}, "input": {"bits": 16}, "name": "phi_split_gf16", "verdict": "CLEAN"}, {"description": "GF32 phi-split: 31 available bits -> exp=8, mant=23", "expected": {"exp_bits": 8, "mant_bits": 23, "phi_dist_less_than": 0.02}, "input": {"bits": 32}, "name": "phi_split_gf32", "verdict": "CLEAN"}, {"description": "exp_bits + mant_bits must equal bits - 1", "expected": {"sum_equals": 15}, "input": {"bits": 16}, "name": "phi_split_sum_constraint", "verdict": "CLEAN"}, {"description": "GF16 actual format (6/9) has phi distance > 0.04", "expected": {"phi_dist_greater_than": 0.04}, "input": {"exp": 6, "mant": 9}, "name": "phi_distance_gf16_actual", "verdict": "CLEAN"}, {"description": "GF16 phi-split (4/11) is phi-optimal within 0.05", "expected": {"is_optimal": true}, "input": {"exp": 4, "mant": 11, "tolerance": 0.05}, "name": "is_phi_optimal_gf16_split", "verdict": "CLEAN"}, {"description": "PHI_RATIO_TARGET equals 1/phi", "expected": {"tolerance": 1e-15, "value": 0.6180339887498949}, "input": {}, "name": "phi_ratio_target", "verdict": "CLEAN"}, {"description": "Proof string contains '1/phi'", "expected": {"contains": "1/phi"}, "input": {}, "name": "phi_optimality_proof_content", "verdict": "CLEAN"}, {"description": "Invariant: PHI_RATIO_TARGET > 0.0", "expected": {"value": true}, "input": {"assertion": "PHI_RATIO_TARGET > 0.0"}, "name": "inv_phi_ratio_target_positive", "verdict": "CLEAN"}, {"description": "Invariant: PHI_RATIO_TARGET < 1.0", "expected": {"value": true}, "input": {"assertion": "PHI_RATIO_TARGET < 1.0"}, "name": "inv_phi_ratio_target_less_than_one", "verdict": "CLEAN"}, {"description": "Invariant: exp_bits + mant_bits == bits - 1", "expected": {"value": true}, "input": {"assertion": "phi_split(bits).exp_bits + phi_split(bits).mant_bits == bits - 1"}, "name": "inv_phi_split_sum_equals_available", "verdict": "CLEAN"}, {"description": "Invariant: compute_phi_distance(exp, mant) >= 0.0", "expected": {"value": true}, "input": {"assertion": "compute_phi_distance(exp, mant) >= 0.0"}, "name": "inv_phi_distance_non_negative", "verdict": "CLEAN"}, {"description": "Invariant: phi_split(4).phi_dist < 0.01", "expected": {"value": true}, "input": {"assertion": "phi_split(4).phi_dist < 0.01"}, "name": "inv_gf4_format_is_phi_optimal", "verdict": "CLEAN"}, {"description": "Invariant: exp_bits < bits for all valid bits", "expected": {"value": true}, "input": {"assertion": "phi_split(bits).exp_bits < bits"}, "name": "inv_exp_bits_less_than_total", "verdict": "CLEAN"}, {"description": "Invariant: mant_bits < bits for all valid bits", "expected": {"value": true}, "input": {"assertion": "phi_split(bits).mant_bits < bits"}, "name": "inv_mant_bits_less_than_total", "verdict": "CLEAN"}, {"description": "Invariant: round(-x) == -round(x)", "expected": {"value": true}, "input": {"assertion": "round(-x) == -round(x)"}, "name": "inv_phi_round_symmetric", "verdict": "CLEAN"}, {"description": "Invariant: floor(x1) <= floor(x2) when x1 <= x2", "expected": {"value": true}, "input": {"assertion": "floor(x1) <= floor(x2) when x1 <= x2"}, "name": "inv_phi_floor_monotonic", "verdict": "CLEAN"}], "updated_at": "2026-04-06T00:00:00Z", "validated_at": "2026-04-06T00:00:00Z", "vector_name": "Phi Ratio Conformance Vectors", "verdict": "CLEAN", "version": "2.0"}