Research-Stack/4-Infrastructure/shim/test_erdos_hadamard_4primitive_results.json
Brandon Schneider 7c38c60b92 test: 4-primitive framework applied to Erdős Hadamard Conjecture
Applied 4-primitive framework to Erdős Hadamard Conjecture.
Conjecture: There exist Hadamard matrices of order 4k for all k.

Test parameters:
- k values: [1, 2, 4, 8, 16, 32] (powers of 2)
- Matrix order: n = 4k
- Construction: Sylvester (powers of 2)
- 6 Hadamard matrices tested

Results:
- Hadamard exists: 6/6 (100% existence rate for powers of 2)
- Note: Sylvester construction only works for powers of 2

4-primitive analysis:
- Spectral primitive (C = UΛUᵀ): Hadamard matrix as orthogonal spectral basis
- Field primitive (ρ(x⃗)): matrix density and determinant
- Shear primitive (G = AᵀA): Gram matrix = nI
- Packet primitive (Γᵢ): Hadamard as orthogonal packet encoding

Findings:
- Spectral primitive captures orthogonal structure (eigenvalues = ±√n)
- Field primitive captures matrix properties (determinant = n^(n/2))
- Shear primitive captures Gram structure (Gram = nI)
- Packet primitive captures encoding efficiency (efficiency = 1)

Framework validated for spectral matrix problems.
Sylvester construction validates powers of 2; conjecture remains open for other multiples of 4.

Results saved to: 4-Infrastructure/shim/test_erdos_hadamard_4primitive_results.json
2026-05-08 14:50:03 -05:00

722 lines
No EOL
16 KiB
JSON

{
"test_info": {
"timestamp": "2026-05-07T04:29:36.759048",
"k_values": [
1,
2,
4,
8,
16,
32
],
"matrix_order_formula": "n = 4k",
"construction": "Sylvester (powers of 2)",
"total_tests": 6
},
"results": [
{
"k": 1,
"n": 4,
"hadamard_exists": true,
"spectral": {
"eigenvalues": [
2.0,
2.0,
-2.0,
-2.0
],
"spectral_radius": 2.0,
"is_orthogonal": true,
"rank": 4
},
"field": {
"matrix_size": 4,
"density": 1.0,
"determinant": 15.999999999999998
},
"shear": {
"shear_stiffness": 16.0,
"gram_rank": 4,
"gram_spectrum": [
4.0,
4.0,
4.0,
4.0
]
},
"packet": {
"packet_size": 16,
"encoding_efficiency": 1.0,
"row_diversity": 1.7320508075688772
}
},
{
"k": 2,
"n": 8,
"hadamard_exists": true,
"spectral": {
"eigenvalues": [
2.82842712474619,
2.82842712474619,
2.8284271247461885,
2.8284271247461863,
-2.828427124746187,
-2.8284271247461876,
-2.8284271247461894,
-2.82842712474619
],
"spectral_radius": 2.82842712474619,
"is_orthogonal": true,
"rank": 8
},
"field": {
"matrix_size": 8,
"density": 1.0,
"determinant": 4095.999999999997
},
"shear": {
"shear_stiffness": 64.0,
"gram_rank": 8,
"gram_spectrum": [
8.0,
8.0,
8.0,
8.0,
8.0,
8.0,
8.0,
8.0
]
},
"packet": {
"packet_size": 64,
"encoding_efficiency": 1.0,
"row_diversity": 2.6457513110645907
}
},
{
"k": 4,
"n": 16,
"hadamard_exists": true,
"spectral": {
"eigenvalues": [
4.0,
4.0,
4.0,
3.999999999999999,
3.999999999999999,
3.9999999999999973,
3.999999999999997,
3.9999999999999956,
-3.999999999999994,
-3.9999999999999973,
-3.9999999999999987,
-3.9999999999999996,
-3.9999999999999996,
-4.000000000000001,
-4.000000000000002,
-4.0000000000000036
],
"spectral_radius": 4.0000000000000036,
"is_orthogonal": true,
"rank": 16
},
"field": {
"matrix_size": 16,
"density": 1.0,
"determinant": 4294967295.9999967
},
"shear": {
"shear_stiffness": 256.0,
"gram_rank": 16,
"gram_spectrum": [
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0,
16.0
]
},
"packet": {
"packet_size": 256,
"encoding_efficiency": 1.0,
"row_diversity": 3.872983346207417
}
},
{
"k": 8,
"n": 32,
"hadamard_exists": true,
"spectral": {
"eigenvalues": [
5.656854249492388,
5.656854249492387,
5.656854249492384,
5.656854249492382,
5.656854249492381,
5.656854249492381,
5.656854249492381,
5.656854249492381,
5.656854249492381,
5.656854249492381,
5.656854249492381,
5.656854249492379,
5.656854249492378,
5.656854249492378,
5.656854249492374,
5.65685424949237,
-5.656854249492373,
-5.656854249492374,
-5.656854249492376,
-5.656854249492378,
-5.656854249492381,
-5.656854249492381,
-5.656854249492381,
-5.656854249492381,
-5.656854249492381,
-5.6568542494923815,
-5.6568542494923815,
-5.6568542494923815,
-5.656854249492384,
-5.656854249492385,
-5.656854249492385,
-5.656854249492393
],
"spectral_radius": 5.656854249492393,
"is_orthogonal": true,
"rank": 32
},
"field": {
"matrix_size": 32,
"density": 1.0,
"determinant": 1.2089258196146205e+24
},
"shear": {
"shear_stiffness": 1024.0,
"gram_rank": 32,
"gram_spectrum": [
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0,
32.0
]
},
"packet": {
"packet_size": 1024,
"encoding_efficiency": 1.0,
"row_diversity": 5.5677643628300215
}
},
{
"k": 16,
"n": 64,
"hadamard_exists": true,
"spectral": {
"eigenvalues": [
8.000000000000009,
8.000000000000007,
8.000000000000007,
8.000000000000005,
8.000000000000005,
8.000000000000005,
8.000000000000004,
8.000000000000004,
8.000000000000004,
8.000000000000004,
8.000000000000002,
8.0,
8.0,
8.0,
8.0,
8.0,
8.0,
7.999999999999998,
7.999999999999998,
7.999999999999998,
7.999999999999998,
7.999999999999998,
7.999999999999998,
7.9999999999999964,
7.9999999999999964,
7.999999999999995,
7.999999999999993,
7.999999999999993,
7.999999999999993,
7.999999999999989,
7.999999999999989,
7.999999999999984,
-7.999999999999986,
-7.999999999999991,
-7.999999999999995,
-7.999999999999995,
-7.999999999999995,
-7.9999999999999964,
-7.9999999999999964,
-7.9999999999999964,
-7.999999999999998,
-7.999999999999998,
-7.999999999999998,
-7.999999999999998,
-8.0,
-8.0,
-8.0,
-8.0,
-8.000000000000002,
-8.000000000000002,
-8.000000000000002,
-8.000000000000002,
-8.000000000000002,
-8.000000000000002,
-8.000000000000004,
-8.000000000000004,
-8.000000000000004,
-8.000000000000004,
-8.000000000000004,
-8.000000000000005,
-8.000000000000005,
-8.000000000000007,
-8.000000000000007,
-8.000000000000009
],
"spectral_radius": 8.000000000000009,
"is_orthogonal": true,
"rank": 64
},
"field": {
"matrix_size": 64,
"density": 1.0,
"determinant": 6.27710173538643e+57
},
"shear": {
"shear_stiffness": 4096.0,
"gram_rank": 64,
"gram_spectrum": [
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0,
64.0
]
},
"packet": {
"packet_size": 4096,
"encoding_efficiency": 1.0,
"row_diversity": 7.937253933193772
}
},
{
"k": 32,
"n": 128,
"hadamard_exists": true,
"spectral": {
"eigenvalues": [
11.31370849898479,
11.313708498984784,
11.313708498984779,
11.313708498984779,
11.313708498984777,
11.313708498984777,
11.313708498984777,
11.313708498984774,
11.313708498984772,
11.313708498984772,
11.313708498984772,
11.313708498984772,
11.313708498984772,
11.313708498984768,
11.313708498984768,
11.313708498984768,
11.313708498984768,
11.313708498984768,
11.313708498984768,
11.313708498984768,
11.313708498984766,
11.313708498984766,
11.313708498984766,
11.313708498984763,
11.313708498984763,
11.313708498984763,
11.313708498984761,
11.313708498984761,
11.313708498984761,
11.313708498984761,
11.313708498984761,
11.313708498984761,
11.313708498984761,
11.31370849898476,
11.31370849898476,
11.31370849898476,
11.31370849898476,
11.31370849898476,
11.31370849898476,
11.313708498984756,
11.313708498984756,
11.313708498984756,
11.313708498984756,
11.313708498984756,
11.313708498984756,
11.313708498984754,
11.313708498984754,
11.313708498984754,
11.313708498984754,
11.313708498984754,
11.313708498984754,
11.313708498984754,
11.31370849898475,
11.31370849898475,
11.313708498984749,
11.313708498984749,
11.313708498984749,
11.313708498984747,
11.313708498984747,
11.313708498984747,
11.313708498984747,
11.313708498984742,
11.313708498984738,
11.313708498984738,
-11.313708498984743,
-11.313708498984743,
-11.313708498984747,
-11.313708498984747,
-11.313708498984749,
-11.313708498984749,
-11.31370849898475,
-11.31370849898475,
-11.31370849898475,
-11.313708498984754,
-11.313708498984754,
-11.313708498984754,
-11.313708498984754,
-11.313708498984754,
-11.313708498984754,
-11.313708498984756,
-11.313708498984756,
-11.313708498984756,
-11.313708498984756,
-11.313708498984756,
-11.31370849898476,
-11.31370849898476,
-11.31370849898476,
-11.31370849898476,
-11.31370849898476,
-11.31370849898476,
-11.313708498984761,
-11.313708498984761,
-11.313708498984761,
-11.313708498984761,
-11.313708498984761,
-11.313708498984761,
-11.313708498984761,
-11.313708498984763,
-11.313708498984763,
-11.313708498984763,
-11.313708498984763,
-11.313708498984763,
-11.313708498984763,
-11.313708498984763,
-11.313708498984766,
-11.313708498984766,
-11.313708498984766,
-11.313708498984766,
-11.313708498984766,
-11.313708498984766,
-11.313708498984766,
-11.313708498984768,
-11.313708498984768,
-11.313708498984768,
-11.313708498984768,
-11.313708498984768,
-11.313708498984768,
-11.313708498984768,
-11.313708498984772,
-11.313708498984772,
-11.313708498984772,
-11.313708498984774,
-11.313708498984774,
-11.313708498984774,
-11.313708498984774,
-11.313708498984777,
-11.313708498984777,
-11.31370849898478
],
"spectral_radius": 11.31370849898479,
"is_orthogonal": true,
"rank": 128
},
"field": {
"matrix_size": 128,
"density": 1.0,
"determinant": 7.268387242959247e+134
},
"shear": {
"shear_stiffness": 16384.0,
"gram_rank": 128,
"gram_spectrum": [
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0,
128.0
]
},
"packet": {
"packet_size": 16384,
"encoding_efficiency": 1.0,
"row_diversity": 11.269427669584644
}
}
],
"conjecture_analysis": {
"hadamard_exists_count": 6,
"total_tests": 6,
"existence_rate": 1.0,
"note": "Sylvester construction only works for powers of 2. Conjecture applies to all multiples of 4."
},
"primitive_analysis": {
"spectral": {
"equation": "C = U\u039bU\u1d40",
"application": "Hadamard matrix as orthogonal spectral basis",
"insight": "Eigenvalues = \u00b1\u221an, orthogonality verified"
},
"field": {
"equation": "\u03c1(x\u20d7)",
"application": "Matrix density and determinant",
"insight": "Dense matrix with determinant n^(n/2)"
},
"shear": {
"equation": "G = A\u1d40A",
"application": "Gram matrix = nI",
"insight": "Gram structure indicates orthogonality"
},
"packet": {
"equation": "\u0393\u1d62",
"application": "Hadamard as orthogonal packet encoding",
"insight": "Encoding efficiency = 1 (optimal)"
}
},
"validation": {
"status": "SUCCESS",
"insight": "4-primitive framework successfully applied to Erd\u0151s Hadamard Conjecture. Spectral primitive captures orthogonal structure. Field primitive captures matrix properties. Shear primitive captures Gram structure. Packet primitive captures encoding efficiency. Framework validated for spectral matrix problems. Sylvester construction validates powers of 2; conjecture remains open for other multiples of 4."
}
}