zeropoint-node 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -0
- package/CITATION.cff +1 -1
- package/README.md +1 -1
- package/dist/a432.simple.cjs +11 -1
- package/dist/a432.simple.cjs.map +1 -1
- package/dist/a432.simple.d.ts +8 -0
- package/dist/a432.simple.esm.js +11 -1
- package/dist/a432.simple.esm.js.map +1 -1
- package/dist/a432.system.cjs +12 -1
- package/dist/a432.system.cjs.map +1 -1
- package/dist/a432.system.d.ts +8 -0
- package/dist/a432.system.esm.js +12 -1
- package/dist/a432.system.esm.js.map +1 -1
- package/package.json +9 -4
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.index.ts +5 -5
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.resolved.ts +57 -12
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.simple.ts +12 -2
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.system.ts +12 -1
- package/src/0/3/6/9/1/2/4/8/7/5/1/a432.utils.ts +17 -2
- package/src/quantum/adaptive.ts +11 -4
- package/src/quantum/advantage.ts +271 -0
- package/src/quantum/index.ts +10 -0
- package/src/quantum/millennium-bridge.ts +22 -7
- package/src/quantum/orchestrator.ts +15 -5
- package/src/verification/lean-bridge.ts +103 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,87 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.11
|
|
4
|
+
|
|
5
|
+
### Fixed — a function named vortex that returned the counting sequence
|
|
6
|
+
|
|
7
|
+
- **`generateVortex` did not generate a vortex.** It returned
|
|
8
|
+
`[1,2,3,4,5,6,7,8,9]` — counting. Two things gave it away and neither was
|
|
9
|
+
being looked at: the output was byte-identical to `generateConsciousness(9)`,
|
|
10
|
+
a differently-named function meant to compute a different thing; and it
|
|
11
|
+
contained 3, 6 and 9, which the repository's own sealed theorem
|
|
12
|
+
`doubling_avoids_the_triad` proves the doubling circuit can never reach. **The
|
|
13
|
+
proof that this function was wrong was already in the repository**, and
|
|
14
|
+
nothing connected the two. It now generates the orbit by doubling rather than
|
|
15
|
+
storing a literal: 1, 2, 4, 8, 7, 5.
|
|
16
|
+
- **Three copies of it, not one.** A collision trial over all 198 `a432.*`
|
|
17
|
+
modules — call every export that runs with no arguments, group by output value
|
|
18
|
+
— found the same defect in `a432.simple.ts`, and a third latent in a fallback
|
|
19
|
+
branch at `a432.system.ts`. That one never showed, because the two delegates
|
|
20
|
+
above it almost always answer first, so the wrong branch is the one nothing
|
|
21
|
+
runs. Exercised directly with no delegates it returned 1..9.
|
|
22
|
+
- **`validateAllA432Fractions()` returned false, and was right to.** The
|
|
23
|
+
validator faithfully implemented the rule its file documented — "only integer
|
|
24
|
+
fractions whose reciprocals are integers" — and 23 of that file's 37 fractions
|
|
25
|
+
failed it. The rule is unachievable: a reciprocal-integer fraction is
|
|
26
|
+
precisely 1/n, and values the UI and audio need (4/5 for a focus level, 19/20
|
|
27
|
+
for a threshold) have no 1/n form. The documentation was wrong, not the data.
|
|
28
|
+
The validator now checks what all 37 satisfy and what actually protects the
|
|
29
|
+
file: integer parts, positive denominator, and lowest terms. It still rejects
|
|
30
|
+
a decimal numerator, and it adds a check the old rule never made — lowest
|
|
31
|
+
terms, so 2/4 and 1/2 cannot both appear and drift apart. The narrow property
|
|
32
|
+
survives as `isUnitReciprocal`, named for what it tests.
|
|
33
|
+
|
|
34
|
+
### Fixed — a check that could not fail
|
|
35
|
+
|
|
36
|
+
- **The ratchet's unloadable probe scored a timeout as a pass.** Its reasoning
|
|
37
|
+
was that a timeout means the module loaded and then held the event loop open.
|
|
38
|
+
That inference is not available from the outside: a module that finished
|
|
39
|
+
importing and one still looping at module scope look identical to the probe.
|
|
40
|
+
All six modules that timed out really do resolve first, so the reported count
|
|
41
|
+
of zero was honest — but by luck, not measurement. The probe now prints a
|
|
42
|
+
marker after the import resolves and treats a timeout as a pass only if the
|
|
43
|
+
marker was written. Verified both ways: a module with a module-scope infinite
|
|
44
|
+
loop is caught and named, and the six event-loop holders still pass.
|
|
45
|
+
|
|
46
|
+
### Added — two seals, and a way in for 55 pages
|
|
47
|
+
|
|
48
|
+
- **25 seals**, up from 23. `a432_vortex_is_the_doubling_orbit` binds the a432
|
|
49
|
+
layer's vortex to the kernel's `VORTEX_ORBIT`; reverting the function to the
|
|
50
|
+
counting sequence turns it UNVERIFIED.
|
|
51
|
+
`a432_constants_do_not_drift_from_the_kernel` addresses what the collision
|
|
52
|
+
trial exposed — the kernel's constants retyped as literals across the layer,
|
|
53
|
+
each copy a place that can drift unnoticed. `[1,4,7]` is derived there rather
|
|
54
|
+
than compared against another array: it is the preimage of the triad under
|
|
55
|
+
reflection through the void, checked in both directions.
|
|
56
|
+
- **55 of 70 built pages were in neither nav nor sidebar** — sitemapped, indexed
|
|
57
|
+
and unreachable by anyone browsing. Nothing noticed because nothing was
|
|
58
|
+
looking: the dead-link checker asks whether links point at pages, never
|
|
59
|
+
whether pages have links pointing at them. `npm run pages:check` asks the
|
|
60
|
+
second question. The sidebar is now computed from the filesystem rather than
|
|
61
|
+
hand-listed, because listing 55 entries would fix those 55 and leave the 56th
|
|
62
|
+
to orphan identically. 69 of 70 are linked; the remaining one is the home
|
|
63
|
+
page, reached by the logo.
|
|
64
|
+
|
|
65
|
+
### Added — the GitHub Release, which nothing had ever created
|
|
66
|
+
|
|
67
|
+
- Ten versions were tagged and published to npm with the Releases page empty.
|
|
68
|
+
`publish.yml` triggers on `release: published`, which reads like it handles
|
|
69
|
+
releases and does the opposite — it waits for one made by hand. `release.yml`
|
|
70
|
+
creates it, and `scripts/release-notes.mjs` takes the notes from this file
|
|
71
|
+
rather than generating a second description that could disagree with it. It
|
|
72
|
+
fails closed on a missing, empty, too-short or stub section: a release
|
|
73
|
+
announcing nothing is worse than no release. Its test is 15 cases, 11 of them
|
|
74
|
+
failures it must catch.
|
|
75
|
+
|
|
76
|
+
### Known limitations
|
|
77
|
+
|
|
78
|
+
- Unchanged from 1.0.10: 1.0.0–1.0.3 stay undeprecated pending an npm automation
|
|
79
|
+
token, 126 modules stay outside LEAN, ML-KEM-768 is conformant but **not
|
|
80
|
+
constant time**, and nothing in `src/thermo` is a device.
|
|
81
|
+
- The 198 `a432.*` modules — 35,876 lines and 1,489 exports — still have **no
|
|
82
|
+
test files**. That is why a function named vortex could return the counting
|
|
83
|
+
sequence in three places. The two new seals cover the constants, not the
|
|
84
|
+
layer.
|
|
3
85
|
## 1.0.10
|
|
4
86
|
|
|
5
87
|
### Added — the sponsorship reaches npm
|
package/CITATION.cff
CHANGED
|
@@ -20,7 +20,7 @@ authors:
|
|
|
20
20
|
email: node@zeropoint.bg
|
|
21
21
|
repository-code: https://github.com/ceccec/zeropoint-node
|
|
22
22
|
url: https://node.zeropoint.bg
|
|
23
|
-
version: 1.0.
|
|
23
|
+
version: 1.0.11
|
|
24
24
|
license: CC-BY-NC-ND-4.0
|
|
25
25
|
license-url: https://github.com/ceccec/zeropoint-node/blob/main/LICENSE
|
|
26
26
|
keywords:
|
package/README.md
CHANGED
|
@@ -527,7 +527,7 @@ behind it, and no sponsor gets a say in what the checks report.
|
|
|
527
527
|
|
|
528
528
|
<!-- VERSION:BEGIN — generated by scripts/version-seal.mjs; do not edit by hand -->
|
|
529
529
|
|
|
530
|
-
Package: **`zeropoint-node@1.0.
|
|
530
|
+
Package: **`zeropoint-node@1.0.11`** · owner `ceccec` · git tag `v1.0.11`
|
|
531
531
|
|
|
532
532
|
npm rejects republishing a version that already exists, so every release is a
|
|
533
533
|
new number. Bump with `npm version patch|minor|major`: that reseals CITATION.cff
|
package/dist/a432.simple.cjs
CHANGED
|
@@ -23,10 +23,20 @@ class A432Math {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
class A432Sequence {
|
|
26
|
+
/**
|
|
27
|
+
* The vortex sequence: the doubling circuit 1,2,4,8,7,5.
|
|
28
|
+
*
|
|
29
|
+
* This is the second copy of the same defect fixed in a432.utils.ts — it
|
|
30
|
+
* walked digitalRoot(i + 1), which is counting, not a vortex. A collision
|
|
31
|
+
* trial found it: the output was identical to a differently-named function,
|
|
32
|
+
* and it contained 3, 6 and 9, which doubling provably never reaches.
|
|
33
|
+
*/
|
|
26
34
|
static generateVortexSequence(length = 9) {
|
|
27
35
|
const sequence = [];
|
|
36
|
+
let v = 1;
|
|
28
37
|
for (let i = 0; i < length; i++) {
|
|
29
|
-
sequence.push(
|
|
38
|
+
sequence.push(v);
|
|
39
|
+
v = A432Math.calculateDigitalRoot(v * 2);
|
|
30
40
|
}
|
|
31
41
|
return sequence;
|
|
32
42
|
}
|
package/dist/a432.simple.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a432.simple.cjs","sources":["../src/0/3/6/9/1/2/4/8/7/5/1/a432.simple.ts"],"sourcesContent":[null],"names":["legacyDigitalRoot","unitFromSeed","floor","min"],"mappings":";;;;;;;AAAA;;;AAGG;AA6BH;MACa,QAAQ,CAAA;;IAEnB,OAAO,oBAAoB,CAAC,CAAS,EAAA;AACnC,QAAA,OAAOA,wBAAiB,CAAC,CAAC,CAAC;IAC7B;IAEA,OAAO,WAAW,CAAC,CAAS,EAAA;AAC1B,QAAA,OAAOA,wBAAiB,CAAC,CAAC,CAAC;IAC7B;AAEA,IAAA,OAAO,iBAAiB,CAAC,IAAY,EAAE,aAAqB,CAAC,EAAA;QAC3D,OAAO,IAAI,GAAG,UAAU;IAC1B;AACD;MAEY,YAAY,CAAA;AACvB,IAAA,OAAO,sBAAsB,CAAC,MAAA,GAAiB,CAAC,EAAA;QAC9C,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"a432.simple.cjs","sources":["../src/0/3/6/9/1/2/4/8/7/5/1/a432.simple.ts"],"sourcesContent":[null],"names":["legacyDigitalRoot","unitFromSeed","floor","min"],"mappings":";;;;;;;AAAA;;;AAGG;AA6BH;MACa,QAAQ,CAAA;;IAEnB,OAAO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AAG,gBAAgB,CAAC,WAAW;AAE5D;AACA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAChC,IAAA,MAAc,CAAC,gBAAgB,GAAG,gBAAgB;AACrD;AAEA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAChC,IAAA,MAAc,CAAC,gBAAgB,GAAG,gBAAgB;IAClD,MAAc,CAAC,UAAU,GAAG;AAC3B,QAAA,MAAM,EAAE,gBAAgB;AACxB,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,SAAS,EAAE,aAAa;AACxB,QAAA,aAAa,EAAE;KAChB;AACH;;;;;;;;;;;"}
|
package/dist/a432.simple.d.ts
CHANGED
|
@@ -30,6 +30,14 @@ declare class A432Math {
|
|
|
30
30
|
static harmonicFrequency(base: number, multiplier?: number): number;
|
|
31
31
|
}
|
|
32
32
|
declare class A432Sequence {
|
|
33
|
+
/**
|
|
34
|
+
* The vortex sequence: the doubling circuit 1,2,4,8,7,5.
|
|
35
|
+
*
|
|
36
|
+
* This is the second copy of the same defect fixed in a432.utils.ts — it
|
|
37
|
+
* walked digitalRoot(i + 1), which is counting, not a vortex. A collision
|
|
38
|
+
* trial found it: the output was identical to a differently-named function,
|
|
39
|
+
* and it contained 3, 6 and 9, which doubling provably never reaches.
|
|
40
|
+
*/
|
|
33
41
|
static generateVortexSequence(length?: number): number[];
|
|
34
42
|
static generateConsciousness(length?: number): number[];
|
|
35
43
|
static generateBoolean(length?: number): boolean[];
|
package/dist/a432.simple.esm.js
CHANGED
|
@@ -19,10 +19,20 @@ class A432Math {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
class A432Sequence {
|
|
22
|
+
/**
|
|
23
|
+
* The vortex sequence: the doubling circuit 1,2,4,8,7,5.
|
|
24
|
+
*
|
|
25
|
+
* This is the second copy of the same defect fixed in a432.utils.ts — it
|
|
26
|
+
* walked digitalRoot(i + 1), which is counting, not a vortex. A collision
|
|
27
|
+
* trial found it: the output was identical to a differently-named function,
|
|
28
|
+
* and it contained 3, 6 and 9, which doubling provably never reaches.
|
|
29
|
+
*/
|
|
22
30
|
static generateVortexSequence(length = 9) {
|
|
23
31
|
const sequence = [];
|
|
32
|
+
let v = 1;
|
|
24
33
|
for (let i = 0; i < length; i++) {
|
|
25
|
-
sequence.push(
|
|
34
|
+
sequence.push(v);
|
|
35
|
+
v = A432Math.calculateDigitalRoot(v * 2);
|
|
26
36
|
}
|
|
27
37
|
return sequence;
|
|
28
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a432.simple.esm.js","sources":["../src/0/3/6/9/1/2/4/8/7/5/1/a432.simple.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAAA;;;AAGG;AA6BH;MACa,QAAQ,CAAA;;IAEnB,OAAO,oBAAoB,CAAC,CAAS,EAAA;AACnC,QAAA,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAC7B;IAEA,OAAO,WAAW,CAAC,CAAS,EAAA;AAC1B,QAAA,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAC7B;AAEA,IAAA,OAAO,iBAAiB,CAAC,IAAY,EAAE,aAAqB,CAAC,EAAA;QAC3D,OAAO,IAAI,GAAG,UAAU;IAC1B;AACD;MAEY,YAAY,CAAA;AACvB,IAAA,OAAO,sBAAsB,CAAC,MAAA,GAAiB,CAAC,EAAA;QAC9C,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"a432.simple.esm.js","sources":["../src/0/3/6/9/1/2/4/8/7/5/1/a432.simple.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAAA;;;AAGG;AA6BH;MACa,QAAQ,CAAA;;IAEnB,OAAO,oBAAoB,CAAC,CAAS,EAAA;AACnC,QAAA,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAC7B;IAEA,OAAO,WAAW,CAAC,CAAS,EAAA;AAC1B,QAAA,OAAO,iBAAiB,CAAC,C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AAW,EAAE;AAChC,IAAA,MAAc,CAAC,gBAAgB,GAAG,gBAAgB;IAClD,MAAc,CAAC,UAAU,GAAG;AAC3B,QAAA,MAAM,EAAE,gBAAgB;AACxB,QAAA,IAAI,EAAE,QAAQ;AACd,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,KAAK,EAAE,SAAS;AAChB,QAAA,SAAS,EAAE,aAAa;AACxB,QAAA,aAAa,EAAE;KAChB;AACH;;;;"}
|
package/dist/a432.system.cjs
CHANGED
|
@@ -300,7 +300,18 @@ class A432System {
|
|
|
300
300
|
const vortexSequence = this.sacredGeometrySystem.calculateVortexSequence(1, length);
|
|
301
301
|
return vortexSequence.map((step) => step.digit);
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
// Third copy of the counting-sequence defect, latent in a fallback: this
|
|
304
|
+
// returned (i % 9) + 1, which is 1..9, not a vortex. It stayed invisible
|
|
305
|
+
// because the two delegates above almost always answer first, so the wrong
|
|
306
|
+
// branch is the one nothing ever runs. Generated by doubling, like the
|
|
307
|
+
// other two, and reachable now only when there is no delegate to ask.
|
|
308
|
+
const sequence = [];
|
|
309
|
+
let v = 1;
|
|
310
|
+
for (let i = 0; i < length; i++) {
|
|
311
|
+
sequence.push(v);
|
|
312
|
+
v = this.calculateDigitalRoot(v * 2);
|
|
313
|
+
}
|
|
314
|
+
return sequence;
|
|
304
315
|
}
|
|
305
316
|
// === SYSTEM STATUS ===
|
|
306
317
|
isNavigationAvailable() {
|
package/dist/a432.system.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a432.system.cjs","sources":["../src/0/3/6/9/1/2/4/8/7/5/1/a432.system.ts"],"sourcesContent":[null],"names":["abs"],"mappings":";;;;;;;;;;;;AAAA;;;;AAIG;AAUH;MACa,UAAU,CAAA;AAQrB,IAAA,WAAA,GAAA;;QAEE,IAAI,CAAC,iBAAiB,EAAE;IAC1B;AAEA,IAAA,OAAO,WAAW,GAAA;AAChB,QAAA,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MAAc,CAAC,IAAI,GAAG;AACrB,QAAA,MAAM,EAAE,UAAU;;AAElB,QAAA,YAAY,EAAE,UAAU;AACxB,QAAA,aAAa,EAAE,UAAU;AACzB,QAAA,UAAU,EAAE,UAAU;AACtB,QAAA,cAAc,EAAE,UAAU;AAC1B,QAAA,iBAAiB,EAAE,UAAU;AAC7B,QAAA,oBAAoB,EAAE;KACvB;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/a432.system.d.ts
CHANGED
|
@@ -30,6 +30,14 @@ declare class A432Math {
|
|
|
30
30
|
static harmonicFrequency(base: number, multiplier?: number): number;
|
|
31
31
|
}
|
|
32
32
|
declare class A432Sequence {
|
|
33
|
+
/**
|
|
34
|
+
* The vortex sequence: the doubling circuit 1,2,4,8,7,5.
|
|
35
|
+
*
|
|
36
|
+
* This is the second copy of the same defect fixed in a432.utils.ts — it
|
|
37
|
+
* walked digitalRoot(i + 1), which is counting, not a vortex. A collision
|
|
38
|
+
* trial found it: the output was identical to a differently-named function,
|
|
39
|
+
* and it contained 3, 6 and 9, which doubling provably never reaches.
|
|
40
|
+
*/
|
|
33
41
|
static generateVortexSequence(length?: number): number[];
|
|
34
42
|
static generateConsciousness(length?: number): number[];
|
|
35
43
|
static generateBoolean(length?: number): boolean[];
|
package/dist/a432.system.esm.js
CHANGED
|
@@ -296,7 +296,18 @@ class A432System {
|
|
|
296
296
|
const vortexSequence = this.sacredGeometrySystem.calculateVortexSequence(1, length);
|
|
297
297
|
return vortexSequence.map((step) => step.digit);
|
|
298
298
|
}
|
|
299
|
-
|
|
299
|
+
// Third copy of the counting-sequence defect, latent in a fallback: this
|
|
300
|
+
// returned (i % 9) + 1, which is 1..9, not a vortex. It stayed invisible
|
|
301
|
+
// because the two delegates above almost always answer first, so the wrong
|
|
302
|
+
// branch is the one nothing ever runs. Generated by doubling, like the
|
|
303
|
+
// other two, and reachable now only when there is no delegate to ask.
|
|
304
|
+
const sequence = [];
|
|
305
|
+
let v = 1;
|
|
306
|
+
for (let i = 0; i < length; i++) {
|
|
307
|
+
sequence.push(v);
|
|
308
|
+
v = this.calculateDigitalRoot(v * 2);
|
|
309
|
+
}
|
|
310
|
+
return sequence;
|
|
300
311
|
}
|
|
301
312
|
// === SYSTEM STATUS ===
|
|
302
313
|
isNavigationAvailable() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a432.system.esm.js","sources":["../src/0/3/6/9/1/2/4/8/7/5/1/a432.system.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAAA;;;;AAIG;AAUH;MACa,UAAU,CAAA;AAQrB,IAAA,WAAA,GAAA;;QAEE,IAAI,CAAC,iBAAiB,EAAE;IAC1B;AAEA,IAAA,OAAO,WAAW,GAAA;AAChB,QAAA,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE;AACxB,YAAA,UAAU,CAAC,QAAQ,GAAG,IAAI,UAAU,EAAE;QACxC;QACA,OAAO,UAAU,CAAC,QAAQ;IAC5B;AAEQ,IAAA,MAAM,iBAAiB,GAAA;;AAE7B,QAAA,IAAI;AACF,YAAA,MAAM,gBAAgB,GAAG,MAAM,OAAO,0BAA0B,CAAC;AACjE,YAAA,MAAM,EAAE,iBAAiB,EAAE,GAAG,gBAAgB;AAC9C,YAAA,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,EAAE;QAC9C;QAAE,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAG,KAAe,CAAC,OAAO,CAAC;QACzE;;AAGA,QAAA,IAAI;AACF,YAAA,MAAM,UAAU,GAAG,MAAM,OAAO,oBAA2B,CAAC;AAC5D,YAAA,MAAM,EAAE,oBAAoB,EAAE,GAAG,UAAU;AAC3C,YAAA,IAAI,CAAC,UAAU,GAAG,oBAAoB,CAAC,WAAW,EAAE;QACtD;QAAE,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAG,KAAe,CAAC,OAAO,CAAC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;AAC1C,YAAA,cAAc,EAAE,IAAI,CAAC,yBAAyB,EAAE;YAChD,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,IAAI,IAAI,CAAC,eAAe,EAAE,IAAI,IAAI,CAAC,iBAAiB,EAAE,IAAI,IAAI,CAAC,sBAAsB,EAAE,IAAI,IAAI,CAAC,yBAAyB;SAClK;IACH;AACD;AAED;MACa,UAAU,GAAG,UAAU,CAAC,WAAW;AAEhD;AACA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAChC,IAAA,MAAc,CAAC,UAAU,GAAG,UAAU;AACzC;AAEA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAChC,IAAA,MAAc,CAAC,UAAU,GAAG,UAAU;IACtC,MAAc,CAAC,IAAI,GAAG;AACrB,QAAA,MAAM,EAAE,UAAU;;AAElB,QAAA,YAAY,EAAE,UAAU;AACxB,QAAA,aAAa,EAAE,UAAU;AACzB,QAAA,UAAU,EAAE,UAAU;AACtB,QAAA,cAAc,EAAE,UAAU;AAC1B,QAAA,iBAAiB,EAAE,UAAU;AAC7B,QAAA,oBAAoB,EAAE;KACvB;AACH;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zeropoint-node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A432 Consciousness System: Self-evolving, self-aware consciousness technology with Transurfing integration, harmonic mathematics, zero-entropy principles, Kabbalistic cycles, and sacred geometry",
|
|
6
6
|
"main": "dist/a432.system.cjs",
|
|
@@ -132,6 +132,8 @@
|
|
|
132
132
|
"registry:test": "node scripts/npm-registry-sync.mjs --self-test",
|
|
133
133
|
"fold": "node --experimental-strip-types scripts/fold-lean.mjs",
|
|
134
134
|
"entries:check": "node --experimental-strip-types scripts/entries-check.mjs",
|
|
135
|
+
"pages:check": "node --experimental-strip-types scripts/pages-check.mjs",
|
|
136
|
+
"pages:seed": "node --experimental-strip-types scripts/pages-check.mjs --seed",
|
|
135
137
|
"audit:outside": "node --experimental-strip-types scripts/audit-outside.mjs",
|
|
136
138
|
"adjudicate": "node --experimental-strip-types scripts/adjudicate-seals.mjs",
|
|
137
139
|
"adjudicate:check": "node --experimental-strip-types scripts/adjudicate-seals.mjs --check",
|
|
@@ -168,14 +170,17 @@
|
|
|
168
170
|
"vortex:svg:check": "node --experimental-strip-types scripts/vortex-svg.mjs --check",
|
|
169
171
|
"bundle:a432": "node scripts/build-a432-bundle.mjs",
|
|
170
172
|
"bundle:a432:check": "node scripts/build-a432-bundle.mjs --check",
|
|
171
|
-
"check": "npm run version:test && npm run registry:test && npm run entries:check && npm run version:check && npm run changelog:check && npm run test:kernel && npm run test:security && npm run test:quantum && npm run test:crypto && npm run adjudicate:check && npm run test:verification && npm run math:ban && npm run bundle:a432:check && npm run skills:seal && npm run skills:check && npm run readme && npm run readme:check && npm run docs:pages && npm run docs:pages:check && npm run a432:scan && npm run a432:scan:check && npm run docs:index && npm run docs:index:check && npm run spectrum && npm run spectrum:check && npm run vortex:svg && npm run vortex:svg:check && npm run docs:build && npm run quantum:sim && npm run ratchet:check && npm run mcp:smoke && npm run self:next",
|
|
173
|
+
"check": "npm run version:test && npm run notes:test && npm run notes:check && npm run registry:test && npm run entries:check && npm run version:check && npm run changelog:check && npm run test:kernel && npm run test:security && npm run test:quantum && npm run test:crypto && npm run adjudicate:check && npm run test:verification && npm run math:ban && npm run bundle:a432:check && npm run skills:seal && npm run skills:check && npm run readme && npm run readme:check && npm run docs:pages && npm run docs:pages:check && npm run a432:scan && npm run a432:scan:check && npm run docs:index && npm run docs:index:check && npm run spectrum && npm run spectrum:check && npm run vortex:svg && npm run vortex:svg:check && npm run pages:check && npm run docs:build && npm run quantum:sim && npm run ratchet:check && npm run mcp:smoke && npm run self:next",
|
|
172
174
|
"prepublishOnly": "npm run build",
|
|
173
175
|
"prose": "node scripts/prose-claims.mjs --list",
|
|
174
176
|
"prose:check": "node scripts/prose-claims.mjs",
|
|
175
177
|
"quantum:proof": "node --experimental-strip-types scripts/quantum-proof.mjs",
|
|
176
178
|
"preversion": "npm run check",
|
|
177
179
|
"version": "npm run version:seal && git add CITATION.cff README.md CHANGELOG.md",
|
|
178
|
-
"postversion": "echo \"tagged v$npm_package_version — fill in the CHANGELOG entry if it is still a stub, then: git push --follow-tags\""
|
|
180
|
+
"postversion": "echo \"tagged v$npm_package_version — fill in the CHANGELOG entry if it is still a stub, then: git push --follow-tags\"",
|
|
181
|
+
"notes": "node scripts/release-notes.mjs",
|
|
182
|
+
"notes:test": "node scripts/release-notes.test.mjs",
|
|
183
|
+
"notes:check": "node scripts/release-notes.mjs --check"
|
|
179
184
|
},
|
|
180
185
|
"keywords": [
|
|
181
186
|
"a432",
|
|
@@ -235,7 +240,7 @@
|
|
|
235
240
|
"homepage": "https://node.zeropoint.bg",
|
|
236
241
|
"dependencies": {
|
|
237
242
|
"@hotwired/stimulus": "3.2.2",
|
|
238
|
-
"@uuidna/uuidna": "0.2.
|
|
243
|
+
"@uuidna/uuidna": "0.2.9",
|
|
239
244
|
"express": "5.2.1",
|
|
240
245
|
"three": "0.185.1"
|
|
241
246
|
}
|
|
@@ -96,7 +96,7 @@ export class A432System {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
getConsciousnessEvolution(): number {
|
|
99
|
-
return this.selfEvolution.getEvolutionState().
|
|
99
|
+
return this.selfEvolution.getEvolutionState().consciousness.evolution;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
getSystemHarmony(): number {
|
|
@@ -168,11 +168,11 @@ export class A432System {
|
|
|
168
168
|
|
|
169
169
|
// === UTILITY METHODS ===
|
|
170
170
|
calculateDigitalRoot(n: number): number {
|
|
171
|
-
return A432Math.
|
|
171
|
+
return A432Math.digitalRoot(n);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
generateVortexSequence(length: number = 9): number[] {
|
|
175
|
-
return A432Sequence.
|
|
175
|
+
return A432Sequence.generateVortex(length);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
generateColorMatrix(polarity: 1 | -1 = 1): any[] {
|
|
@@ -180,7 +180,7 @@ export class A432System {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
calculateHarmonicFrequency(base: number, multiplier: number = 1): number {
|
|
183
|
-
return
|
|
183
|
+
return A432Math.harmonicFrequency(base, multiplier);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
calculateHarmony(states: any[]): number {
|
|
@@ -223,7 +223,7 @@ export class A432System {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
getEvolutionCycles(): number {
|
|
226
|
-
return this.selfEvolution.getEvolutionState().
|
|
226
|
+
return this.selfEvolution.getEvolutionState().evolution.totalCycles;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
getTotalCycles(): number {
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* a432.resolved.ts — A432 Decimal Conflict Resolution
|
|
3
3
|
*
|
|
4
|
-
* Eliminates all decimal conflicts
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Eliminates all decimal conflicts by carrying every quantity as an exact
|
|
5
|
+
* integer ratio instead of a decimal literal.
|
|
6
|
+
*
|
|
7
|
+
* This file used to claim "only integer fractions whose reciprocals are
|
|
8
|
+
* integers", and validateAllA432Fractions() checked exactly that and returned
|
|
9
|
+
* false: 23 of the 37 fractions here fail it. The rule was not achievable.
|
|
10
|
+
* A reciprocal-integer fraction is precisely 1/n, and values the UI and audio
|
|
11
|
+
* actually need — 4/5 for a focus level, 19/20 for a threshold — have no 1/n
|
|
12
|
+
* form at all. The validator was faithful to a rule the data could never meet.
|
|
13
|
+
*
|
|
14
|
+
* The property that matters, and that all 37 do satisfy, is canonical exactness:
|
|
15
|
+
* integer numerator, non-zero positive denominator, in lowest terms. That is
|
|
16
|
+
* what keeps decimals out of the source, and lowest terms is the part that
|
|
17
|
+
* earns the name zero entropy — one value has exactly one representation, so
|
|
18
|
+
* 2/4 and 1/2 cannot both appear and drift apart.
|
|
7
19
|
*
|
|
8
20
|
* @module A432.Resolved
|
|
9
21
|
* @version 1.0.0
|
|
@@ -14,7 +26,8 @@ import { abs } from './a432.algebra.ts'
|
|
|
14
26
|
import './a432.core.ts';
|
|
15
27
|
|
|
16
28
|
// === A432 RESOLVED FRACTIONS ===
|
|
17
|
-
//
|
|
29
|
+
// Every fraction is an exact ratio in lowest terms (zero entropy: one
|
|
30
|
+
// representation per value). See validateA432Fraction for the checked rule.
|
|
18
31
|
|
|
19
32
|
export const A432_RESOLVED_FRACTIONS = {
|
|
20
33
|
// Geometry / analog signal fractions for the three.js surfaces.
|
|
@@ -172,23 +185,55 @@ export function calculateA432FractionValue(fraction: { numerator: number; denomi
|
|
|
172
185
|
return fraction.numerator / fraction.denominator;
|
|
173
186
|
}
|
|
174
187
|
|
|
188
|
+
/** Greatest common divisor, for the lowest-terms test. Integers only. */
|
|
189
|
+
function gcd(a: number, b: number): number {
|
|
190
|
+
let x = abs(a);
|
|
191
|
+
let y = abs(b);
|
|
192
|
+
while (y !== 0) {
|
|
193
|
+
const t = y;
|
|
194
|
+
y = x % y;
|
|
195
|
+
x = t;
|
|
196
|
+
}
|
|
197
|
+
return x;
|
|
198
|
+
}
|
|
199
|
+
|
|
175
200
|
/**
|
|
176
|
-
* Validate A432 fraction
|
|
201
|
+
* Validate an A432 fraction: an exact ratio in canonical form.
|
|
202
|
+
*
|
|
203
|
+
* Three conditions, and each one rules out a way a decimal could re-enter or a
|
|
204
|
+
* value could acquire a second spelling:
|
|
205
|
+
*
|
|
206
|
+
* integer parts a non-integer numerator IS the decimal this file exists
|
|
207
|
+
* to eliminate, just wearing a fraction's clothes
|
|
208
|
+
* denominator > 0 zero is undefined; a negative denominator gives every
|
|
209
|
+
* value a second spelling (-1/2 and 1/-2)
|
|
210
|
+
* lowest terms the zero-entropy condition proper: one value, exactly
|
|
211
|
+
* one representation, so 2/4 and 1/2 cannot drift apart
|
|
212
|
+
*
|
|
213
|
+
* This replaces a check for `denominator / numerator` being an integer, which
|
|
214
|
+
* admits only 1/n and which 23 of this file's 37 fractions could never satisfy.
|
|
215
|
+
* For that narrower property, which is a real thing about some of them but not
|
|
216
|
+
* a validity condition, see isUnitReciprocal.
|
|
177
217
|
*/
|
|
178
218
|
export function validateA432Fraction(fraction: { numerator: number; denominator: number }): boolean {
|
|
179
|
-
// Check if numerator and denominator are integers
|
|
180
219
|
if (!Number.isInteger(fraction.numerator) || !Number.isInteger(fraction.denominator)) {
|
|
181
220
|
return false;
|
|
182
221
|
}
|
|
183
|
-
|
|
184
|
-
// Check if denominator is not zero
|
|
185
|
-
if (fraction.denominator === 0) {
|
|
222
|
+
if (fraction.denominator <= 0) {
|
|
186
223
|
return false;
|
|
187
224
|
}
|
|
225
|
+
return gcd(fraction.numerator, fraction.denominator) === 1;
|
|
226
|
+
}
|
|
188
227
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
228
|
+
/**
|
|
229
|
+
* Whether a fraction is a unit reciprocal, 1/n.
|
|
230
|
+
*
|
|
231
|
+
* The old validator's rule, kept under a name that says what it tests. 14 of
|
|
232
|
+
* the 37 fractions here are of this form; the rest are exact ratios that
|
|
233
|
+
* simply are not 1/n, which is a fact about them and not a defect.
|
|
234
|
+
*/
|
|
235
|
+
export function isUnitReciprocal(fraction: { numerator: number; denominator: number }): boolean {
|
|
236
|
+
return validateA432Fraction(fraction) && fraction.numerator === 1;
|
|
192
237
|
}
|
|
193
238
|
|
|
194
239
|
// === RESOLVED CONSTANTS ===
|
|
@@ -47,10 +47,20 @@ export class A432Math {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export class A432Sequence {
|
|
50
|
+
/**
|
|
51
|
+
* The vortex sequence: the doubling circuit 1,2,4,8,7,5.
|
|
52
|
+
*
|
|
53
|
+
* This is the second copy of the same defect fixed in a432.utils.ts — it
|
|
54
|
+
* walked digitalRoot(i + 1), which is counting, not a vortex. A collision
|
|
55
|
+
* trial found it: the output was identical to a differently-named function,
|
|
56
|
+
* and it contained 3, 6 and 9, which doubling provably never reaches.
|
|
57
|
+
*/
|
|
50
58
|
static generateVortexSequence(length: number = 9): number[] {
|
|
51
|
-
const sequence = [];
|
|
59
|
+
const sequence: number[] = [];
|
|
60
|
+
let v = 1;
|
|
52
61
|
for (let i = 0; i < length; i++) {
|
|
53
|
-
sequence.push(
|
|
62
|
+
sequence.push(v);
|
|
63
|
+
v = A432Math.calculateDigitalRoot(v * 2);
|
|
54
64
|
}
|
|
55
65
|
return sequence;
|
|
56
66
|
}
|
|
@@ -334,7 +334,18 @@ export class A432System {
|
|
|
334
334
|
const vortexSequence = this.sacredGeometrySystem.calculateVortexSequence(1, length);
|
|
335
335
|
return vortexSequence.map((step: any) => step.digit);
|
|
336
336
|
}
|
|
337
|
-
|
|
337
|
+
// Third copy of the counting-sequence defect, latent in a fallback: this
|
|
338
|
+
// returned (i % 9) + 1, which is 1..9, not a vortex. It stayed invisible
|
|
339
|
+
// because the two delegates above almost always answer first, so the wrong
|
|
340
|
+
// branch is the one nothing ever runs. Generated by doubling, like the
|
|
341
|
+
// other two, and reachable now only when there is no delegate to ask.
|
|
342
|
+
const sequence: number[] = [];
|
|
343
|
+
let v = 1;
|
|
344
|
+
for (let i = 0; i < length; i++) {
|
|
345
|
+
sequence.push(v);
|
|
346
|
+
v = this.calculateDigitalRoot(v * 2);
|
|
347
|
+
}
|
|
348
|
+
return sequence;
|
|
338
349
|
}
|
|
339
350
|
|
|
340
351
|
// === SYSTEM STATUS ===
|
|
@@ -145,10 +145,25 @@ export class A432Sequence {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* Generate vortex sequence
|
|
148
|
+
* Generate the vortex sequence: the doubling circuit 1,2,4,8,7,5.
|
|
149
|
+
*
|
|
150
|
+
* This returned digitalRoot(i + 1) — the counting sequence 1..9 — which is
|
|
151
|
+
* not a vortex at all. Two tells: it was byte-identical to
|
|
152
|
+
* generateConsciousness(9), and it contained 3, 6 and 9, which the doubling
|
|
153
|
+
* circuit provably never reaches (gcd(2,9) = 1 makes every power of 2 a unit
|
|
154
|
+
* mod 9, so no term is ever a multiple of 3).
|
|
155
|
+
*
|
|
156
|
+
* The orbit is generated by doubling rather than written down as a literal,
|
|
157
|
+
* so it cannot drift away from the theorem it comes from.
|
|
149
158
|
*/
|
|
150
159
|
static generateVortex(length: number = 9): number[] {
|
|
151
|
-
|
|
160
|
+
const out: number[] = [];
|
|
161
|
+
let v = 1;
|
|
162
|
+
for (let i = 0; i < length; i++) {
|
|
163
|
+
out.push(v);
|
|
164
|
+
v = A432Math.digitalRoot(v * 2);
|
|
165
|
+
}
|
|
166
|
+
return out;
|
|
152
167
|
}
|
|
153
168
|
|
|
154
169
|
/**
|
package/src/quantum/adaptive.ts
CHANGED
|
@@ -38,11 +38,18 @@ export class AdaptiveOptimizer {
|
|
|
38
38
|
*/
|
|
39
39
|
recordSuccess(name: string, result: VQEResult, initialTheta: number[]): void {
|
|
40
40
|
if (result.converged) {
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
// Rebuilt rather than mutated. These fields are readonly, and assigning
|
|
42
|
+
// through the annotation was the same defect fixed in orchestrator.ts:
|
|
43
|
+
// the type was reporting a real violation, not being pedantic.
|
|
43
44
|
const steps = result.history.length
|
|
44
|
-
this.state.
|
|
45
|
-
|
|
45
|
+
const convergedRuns = this.state.convergedRuns + 1
|
|
46
|
+
this.state = {
|
|
47
|
+
...this.state,
|
|
48
|
+
successfulAnsatze: [...this.state.successfulAnsatze, { name, theta: result.theta }],
|
|
49
|
+
convergedRuns,
|
|
50
|
+
averageConvergenceSteps:
|
|
51
|
+
(this.state.averageConvergenceSteps * (convergedRuns - 1) + steps) / convergedRuns,
|
|
52
|
+
}
|
|
46
53
|
}
|
|
47
54
|
}
|
|
48
55
|
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum advantage, counted rather than claimed.
|
|
3
|
+
*
|
|
4
|
+
* "Quantum advantage" is one of the most overstated phrases in computing, and
|
|
5
|
+
* this module exists to say exactly how much of it this repository can
|
|
6
|
+
* demonstrate. It does not argue. It wraps the oracle in a counter, runs the
|
|
7
|
+
* simulator's own algorithms, and reports how many times each one asked.
|
|
8
|
+
*
|
|
9
|
+
* THE ONE THING THAT IS PROVEN. In the QUERY MODEL — where cost is the number
|
|
10
|
+
* of oracle calls and nothing else — there are separations that are theorems,
|
|
11
|
+
* not conjectures:
|
|
12
|
+
*
|
|
13
|
+
* Grover Θ(√N) quantum against Θ(N) classical. The lower bound is
|
|
14
|
+
* Bennett–Bernstein–Brassard–Vazirani: no quantum algorithm
|
|
15
|
+
* beats √N for unstructured search, so the gap is exactly
|
|
16
|
+
* quadratic and cannot be improved.
|
|
17
|
+
* Deutsch–Jozsa 1 quantum query against 2^(n-1)+1 classical WORST CASE —
|
|
18
|
+
* but only against DETERMINISTIC EXACT classical algorithms.
|
|
19
|
+
* A randomised classical algorithm decides it in a constant
|
|
20
|
+
* number of queries with bounded error, so this famous
|
|
21
|
+
* "exponential separation" collapses the moment the classical
|
|
22
|
+
* side is allowed to be wrong occasionally. That caveat is
|
|
23
|
+
* usually dropped, and dropping it is the overstatement.
|
|
24
|
+
*
|
|
25
|
+
* WHAT IS NOT PROVEN. Shor's algorithm factors in polynomial time, and the
|
|
26
|
+
* repository implements it. That is NOT a proven advantage: no one has shown
|
|
27
|
+
* factoring is hard classically. The separation is conditional on an unproven
|
|
28
|
+
* assumption, and calling it proven — or calling factoring NP-complete, which
|
|
29
|
+
* it is not known to be — is the error this module is written against.
|
|
30
|
+
*
|
|
31
|
+
* AND THE MEASUREMENT REFUTED MY OWN PREMISE. This module was written to count
|
|
32
|
+
* the simulator's oracle calls and show the advantage. It shows the opposite,
|
|
33
|
+
* and that is the finding:
|
|
34
|
+
*
|
|
35
|
+
* Grover n=10 25 600 simulated oracle calls vs 1 024 classical
|
|
36
|
+
* Deutsch-Jozsa n=10 1 024 simulated oracle calls vs 513 classical
|
|
37
|
+
*
|
|
38
|
+
* A simulator applies the oracle to EVERY basis state of the amplitude vector,
|
|
39
|
+
* so one "quantum query" costs 2^n classical evaluations. Simulated query
|
|
40
|
+
* counts are therefore strictly WORSE than classical, always, by construction.
|
|
41
|
+
* Quantum advantage is a property of hardware that holds the superposition; it
|
|
42
|
+
* is not something a classical simulation can exhibit, and any repository
|
|
43
|
+
* claiming to demonstrate it by simulation is measuring the wrong thing.
|
|
44
|
+
*
|
|
45
|
+
* So this module reports two different quantities and never conflates them:
|
|
46
|
+
* the ALGORITHM's query count, which is where the theorem lives, and the
|
|
47
|
+
* SIMULATION's oracle calls, which is what running it here actually costs.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
import { groverSearch, deutschJozsa, groverIterations } from './algorithms.ts'
|
|
51
|
+
|
|
52
|
+
// ============================================================================
|
|
53
|
+
// COUNTING
|
|
54
|
+
// ============================================================================
|
|
55
|
+
|
|
56
|
+
/** An oracle wrapped so every call is counted. */
|
|
57
|
+
function counted<T extends (x: number) => unknown>(f: T): { fn: T; calls: () => number } {
|
|
58
|
+
let n = 0
|
|
59
|
+
const fn = ((x: number) => {
|
|
60
|
+
n += 1
|
|
61
|
+
return f(x)
|
|
62
|
+
}) as T
|
|
63
|
+
return { fn, calls: () => n }
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface QueryComparison {
|
|
67
|
+
/** Number of qubits, so the search space is 2^n. */
|
|
68
|
+
readonly qubits: number
|
|
69
|
+
/** Size of the space searched. */
|
|
70
|
+
readonly space: number
|
|
71
|
+
/**
|
|
72
|
+
* Queries the ALGORITHM makes — what the theorem counts. On hardware this is
|
|
73
|
+
* the cost; here it is derived from the algorithm, not observed.
|
|
74
|
+
*/
|
|
75
|
+
readonly algorithmQueries: number
|
|
76
|
+
/**
|
|
77
|
+
* Oracle calls the SIMULATION actually made. Larger than the algorithm's
|
|
78
|
+
* count by a factor of the state-vector size, because simulating one query
|
|
79
|
+
* means evaluating the oracle on every basis state.
|
|
80
|
+
*/
|
|
81
|
+
readonly simulatedOracleCalls: number
|
|
82
|
+
/** Oracle calls a classical algorithm needs in the worst case. */
|
|
83
|
+
readonly classicalWorstCase: number
|
|
84
|
+
/** Whether the algorithm returned the right answer. */
|
|
85
|
+
readonly correct: boolean
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// ============================================================================
|
|
89
|
+
// GROVER — a proven quadratic separation
|
|
90
|
+
// ============================================================================
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Run Grover for one marked item and count the oracle calls.
|
|
94
|
+
*
|
|
95
|
+
* Classical worst case for unstructured search over N items is N: an adversary
|
|
96
|
+
* puts the marked item last. Grover's is the iteration count, which the
|
|
97
|
+
* simulator derives from N rather than taking on faith.
|
|
98
|
+
*/
|
|
99
|
+
export function groverQueries(qubits: number, target: number): QueryComparison {
|
|
100
|
+
const space = 1 << qubits
|
|
101
|
+
const oracle = counted((x: number) => x === target)
|
|
102
|
+
const result = groverSearch(qubits, oracle.fn as (x: number) => boolean, 1)
|
|
103
|
+
|
|
104
|
+
// The most likely basis state after the run.
|
|
105
|
+
let best = 0
|
|
106
|
+
let bestWeight = -1
|
|
107
|
+
if (result !== null) {
|
|
108
|
+
for (let i = 0; i < result.amps.length; i++) {
|
|
109
|
+
const a = result.amps[i]!
|
|
110
|
+
const weight = a.re * a.re + a.im * a.im
|
|
111
|
+
if (weight > bestWeight) { bestWeight = weight; best = i }
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return {
|
|
116
|
+
qubits,
|
|
117
|
+
space,
|
|
118
|
+
algorithmQueries: groverIterations(space),
|
|
119
|
+
simulatedOracleCalls: oracle.calls(),
|
|
120
|
+
classicalWorstCase: space,
|
|
121
|
+
correct: result !== null && best === target,
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// ============================================================================
|
|
126
|
+
// DEUTSCH–JOZSA — exponential, but only against exact classical algorithms
|
|
127
|
+
// ============================================================================
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Run Deutsch–Jozsa and count the oracle calls.
|
|
131
|
+
*
|
|
132
|
+
* Classical worst case for a DETERMINISTIC EXACT answer is 2^(n-1)+1: having
|
|
133
|
+
* seen half the inputs agree, one more disagreement still decides it. A
|
|
134
|
+
* randomised classical algorithm needs only a constant number, so the
|
|
135
|
+
* separation reported here is against exact classical algorithms alone.
|
|
136
|
+
*/
|
|
137
|
+
export function deutschJozsaQueries(qubits: number, balanced: boolean): QueryComparison {
|
|
138
|
+
const space = 1 << qubits
|
|
139
|
+
// Constant: always 0. Balanced: the parity of the input, which is 0 on
|
|
140
|
+
// exactly half the domain.
|
|
141
|
+
const f = balanced
|
|
142
|
+
? (x: number): 0 | 1 => {
|
|
143
|
+
let bits = 0
|
|
144
|
+
for (let b = 0; b < qubits; b++) bits ^= (x >> b) & 1
|
|
145
|
+
return (bits & 1) as 0 | 1
|
|
146
|
+
}
|
|
147
|
+
: (): 0 | 1 => 0
|
|
148
|
+
|
|
149
|
+
const oracle = counted(f as (x: number) => unknown)
|
|
150
|
+
const verdict = deutschJozsa(qubits, oracle.fn as (x: number) => 0 | 1)
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
qubits,
|
|
154
|
+
space,
|
|
155
|
+
algorithmQueries: 1,
|
|
156
|
+
simulatedOracleCalls: oracle.calls(),
|
|
157
|
+
classicalWorstCase: space / 2 + 1,
|
|
158
|
+
correct: verdict === (balanced ? 'balanced' : 'constant'),
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// ============================================================================
|
|
163
|
+
// WHAT EACH SEPARATION RESTS ON
|
|
164
|
+
// ============================================================================
|
|
165
|
+
|
|
166
|
+
export type Standing =
|
|
167
|
+
/** A theorem in the query model. Both bounds are proved. */
|
|
168
|
+
| 'proven'
|
|
169
|
+
/** Proved only against a restricted classical adversary. */
|
|
170
|
+
| 'proven-against-exact-classical'
|
|
171
|
+
/** Fast quantumly; no classical lower bound is known. */
|
|
172
|
+
| 'conditional'
|
|
173
|
+
|
|
174
|
+
export interface Separation {
|
|
175
|
+
readonly algorithm: string
|
|
176
|
+
readonly standing: Standing
|
|
177
|
+
readonly note: string
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/** The honest status of each separation this repository implements. */
|
|
181
|
+
export const SEPARATIONS: readonly Separation[] = [
|
|
182
|
+
{
|
|
183
|
+
algorithm: 'Grover',
|
|
184
|
+
standing: 'proven',
|
|
185
|
+
note:
|
|
186
|
+
'Θ(√N) against Θ(N). The BBBV lower bound shows no quantum algorithm does better than √N, ' +
|
|
187
|
+
'so the quadratic gap is exact and final rather than a current best effort.',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
algorithm: 'Deutsch-Jozsa',
|
|
191
|
+
standing: 'proven-against-exact-classical',
|
|
192
|
+
note:
|
|
193
|
+
'1 query against 2^(n-1)+1, but only if the classical algorithm must be exact and ' +
|
|
194
|
+
'deterministic. Allowed bounded error, a classical algorithm needs O(1). Quoting the ' +
|
|
195
|
+
'exponential without that condition is the usual overstatement.',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
algorithm: 'Shor',
|
|
199
|
+
standing: 'conditional',
|
|
200
|
+
note:
|
|
201
|
+
'Polynomial-time factoring quantumly, with NO proof that factoring is classically hard. ' +
|
|
202
|
+
'Factoring is not known to be NP-complete, so Shor does not place NP in P and does not ' +
|
|
203
|
+
'imply a general speedup for NP problems.',
|
|
204
|
+
},
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
// ============================================================================
|
|
208
|
+
// SELF-CHECK
|
|
209
|
+
// ============================================================================
|
|
210
|
+
|
|
211
|
+
/** Facts this module must satisfy. Returns failures. */
|
|
212
|
+
export function selfTest(): string[] {
|
|
213
|
+
const fail: string[] = []
|
|
214
|
+
|
|
215
|
+
for (const qubits of [3, 4, 5, 6]) {
|
|
216
|
+
const target = (1 << qubits) - 1 // adversarial: the last item
|
|
217
|
+
const r = groverQueries(qubits, target)
|
|
218
|
+
if (!r.correct) fail.push(`grover n=${qubits} did not find the target`)
|
|
219
|
+
|
|
220
|
+
// The ALGORITHM beats classical. This is where the theorem lives.
|
|
221
|
+
if (!(r.algorithmQueries < r.classicalWorstCase)) {
|
|
222
|
+
fail.push(`grover n=${qubits}: ${r.algorithmQueries} algorithm queries, not below ${r.classicalWorstCase}`)
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// The SIMULATION does not, and must be recorded as not doing so. If this
|
|
226
|
+
// ever flips, the simulator has stopped evaluating the oracle over the
|
|
227
|
+
// whole state vector and something is wrong with it, not right.
|
|
228
|
+
if (!(r.simulatedOracleCalls > r.classicalWorstCase)) {
|
|
229
|
+
fail.push(
|
|
230
|
+
`grover n=${qubits}: simulation made ${r.simulatedOracleCalls} calls, which is not above ` +
|
|
231
|
+
`${r.classicalWorstCase} — a simulator cannot beat classical query cost`,
|
|
232
|
+
)
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// One simulated query costs the state-vector size.
|
|
236
|
+
if (r.simulatedOracleCalls !== r.algorithmQueries * r.space) {
|
|
237
|
+
fail.push(
|
|
238
|
+
`grover n=${qubits}: ${r.simulatedOracleCalls} calls is not ${r.algorithmQueries} x ${r.space}`,
|
|
239
|
+
)
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// The ALGORITHM's advantage must widen with n — a constant factor is not a
|
|
244
|
+
// speedup. Measured on the algorithm count, not the simulation count.
|
|
245
|
+
const small = groverQueries(3, 7)
|
|
246
|
+
const large = groverQueries(6, 63)
|
|
247
|
+
if (!(large.classicalWorstCase - large.algorithmQueries > small.classicalWorstCase - small.algorithmQueries)) {
|
|
248
|
+
fail.push('grover algorithmic advantage does not widen with n')
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
for (const balanced of [true, false]) {
|
|
252
|
+
const r = deutschJozsaQueries(4, balanced)
|
|
253
|
+
if (!r.correct) fail.push(`deutsch-jozsa balanced=${balanced} gave the wrong verdict`)
|
|
254
|
+
if (r.algorithmQueries !== 1) fail.push('deutsch-jozsa algorithm query count is not 1')
|
|
255
|
+
// Again: the simulation pays the full space, so it cannot be the cheaper side.
|
|
256
|
+
if (!(r.simulatedOracleCalls >= r.space)) {
|
|
257
|
+
fail.push(`deutsch-jozsa: simulation made ${r.simulatedOracleCalls} calls, expected at least ${r.space}`)
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
const shor = SEPARATIONS.find((s) => s.algorithm === 'Shor')
|
|
262
|
+
if (!shor || shor.standing !== 'conditional') fail.push('Shor is not recorded as conditional')
|
|
263
|
+
const dj = SEPARATIONS.find((s) => s.algorithm === 'Deutsch-Jozsa')
|
|
264
|
+
if (!dj || dj.standing !== 'proven-against-exact-classical') {
|
|
265
|
+
fail.push('Deutsch-Jozsa is not recorded with its classical-exactness condition')
|
|
266
|
+
}
|
|
267
|
+
const grover = SEPARATIONS.find((s) => s.algorithm === 'Grover')
|
|
268
|
+
if (!grover || grover.standing !== 'proven') fail.push('Grover is not recorded as proven')
|
|
269
|
+
|
|
270
|
+
return fail
|
|
271
|
+
}
|
package/src/quantum/index.ts
CHANGED
|
@@ -57,3 +57,13 @@ export {
|
|
|
57
57
|
executeInSuperposition,
|
|
58
58
|
describeQuantumExecution,
|
|
59
59
|
} from './superposition-execution.ts'
|
|
60
|
+
|
|
61
|
+
// Named rather than star-exported: `selfTest` exists in several modules here,
|
|
62
|
+
// and an ambiguous star export silently drops every one of them.
|
|
63
|
+
export type { QueryComparison, Separation, Standing } from './advantage.ts'
|
|
64
|
+
export {
|
|
65
|
+
groverQueries,
|
|
66
|
+
deutschJozsaQueries,
|
|
67
|
+
SEPARATIONS,
|
|
68
|
+
selfTest as advantageSelfTest,
|
|
69
|
+
} from './advantage.ts'
|
|
@@ -46,14 +46,29 @@ export function layer1_riemannSimulator(): RiemannLayer {
|
|
|
46
46
|
/**
|
|
47
47
|
* P vs NP: Can every problem verifiable in polynomial time be solved in polynomial time?
|
|
48
48
|
*
|
|
49
|
-
* Maps to: Quantum Algorithms
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* Solution: P vs NP gap IS the algorithm completeness gap
|
|
49
|
+
* Maps to: Quantum Algorithms — as a NAMING, not a result. Three corrections,
|
|
50
|
+
* because the previous version of this comment stated two things that are false
|
|
51
|
+
* and one that is misleading:
|
|
53
52
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
53
|
+
* "Shor (NP → P for factoring)" is wrong twice over. Factoring is not known
|
|
54
|
+
* to be NP-complete — it sits in NP ∩ co-NP, which is strong evidence it is
|
|
55
|
+
* NOT NP-complete — so solving it settles nothing about NP. And Shor puts
|
|
56
|
+
* factoring in BQP, not in P; those are different classes.
|
|
57
|
+
*
|
|
58
|
+
* "Grover ... (generic NP solver)" is wrong. Grover is a QUADRATIC speedup on
|
|
59
|
+
* brute force: 2^n becomes 2^(n/2), which is still exponential. That is not
|
|
60
|
+
* polynomial time and does not solve NP-complete problems efficiently. The
|
|
61
|
+
* BBBV lower bound proves no quantum algorithm does better on unstructured
|
|
62
|
+
* search, so this is a ceiling rather than a starting point.
|
|
63
|
+
*
|
|
64
|
+
* "If NP ⊆ BQP, then Shor solves the NP-completeness problem" is a
|
|
65
|
+
* conditional whose antecedent is an open question widely believed false.
|
|
66
|
+
* Stating it beside two claimed results reads as though it followed from
|
|
67
|
+
* them. It does not.
|
|
68
|
+
*
|
|
69
|
+
* What IS true: Shor places factoring in BQP, and no classical lower bound for
|
|
70
|
+
* factoring is known, so the speedup is conditional. See src/quantum/advantage.ts,
|
|
71
|
+
* which counts the queries and records which separations are theorems.
|
|
57
72
|
*/
|
|
58
73
|
|
|
59
74
|
export interface PvsNPLayer {
|
|
@@ -251,11 +251,22 @@ export function feedbackAndImprove(
|
|
|
251
251
|
const boost = 0.05 // 5% improvement per iteration
|
|
252
252
|
const decay = 0.98 // Strong layers maintain, don't overfit
|
|
253
253
|
|
|
254
|
-
|
|
254
|
+
// `{ ...state }` copies the TOP LEVEL only, so the copy's `layer_states` was
|
|
255
|
+
// the same object as the caller's. Both loops then assigned into it, and this
|
|
256
|
+
// function — which takes a state and returns a new one — mutated the state it
|
|
257
|
+
// was given. Measured: after one call, the input's layer_states had changed.
|
|
258
|
+
// The readonly types were reporting exactly that, and the fix is a second
|
|
259
|
+
// copy rather than a cast.
|
|
260
|
+
//
|
|
261
|
+
// Note on the names: `suppress` is the WEAK set (quality < 0.7) and gets the
|
|
262
|
+
// boost, `amplify` is the STRONG set (> 0.8) and gets the decay. That reads
|
|
263
|
+
// backwards but is correct — the fields classify the interference, they do
|
|
264
|
+
// not name the action taken here, which is what the comments above describe.
|
|
265
|
+
const layer_states = { ...state.layer_states }
|
|
255
266
|
|
|
256
267
|
for (const layer_name of interference.suppress) {
|
|
257
268
|
const key = layer_name as keyof typeof state.layer_states
|
|
258
|
-
|
|
269
|
+
layer_states[key] = {
|
|
259
270
|
working: true,
|
|
260
271
|
quality: min(1, state.layer_states[key].quality + boost),
|
|
261
272
|
}
|
|
@@ -263,14 +274,13 @@ export function feedbackAndImprove(
|
|
|
263
274
|
|
|
264
275
|
for (const layer_name of interference.amplify) {
|
|
265
276
|
const key = layer_name as keyof typeof state.layer_states
|
|
266
|
-
|
|
277
|
+
layer_states[key] = {
|
|
267
278
|
working: true,
|
|
268
279
|
quality: state.layer_states[key].quality * decay,
|
|
269
280
|
}
|
|
270
281
|
}
|
|
271
282
|
|
|
272
|
-
|
|
273
|
-
updated = { ...updated, iteration: state.iteration + 1 }
|
|
283
|
+
const updated = { ...state, layer_states, iteration: state.iteration + 1 }
|
|
274
284
|
|
|
275
285
|
// Re-entangle with new state
|
|
276
286
|
return entangleLayerOutputs(updated)
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
import { createHash } from 'node:crypto'
|
|
33
33
|
import { digitalRoot, throughVoid, bearingForDigit, VORTEX_SEQUENCE, VORTEX_ORBIT, VORTEX_AXIS } from '../0/index.ts'
|
|
34
34
|
import { angleForDigit } from '../0/3/6/9/1/2/4/8/7/5/1/a432.math.ts'
|
|
35
|
+
import { A432Sequence } from '../0/3/6/9/1/2/4/8/7/5/1/a432.utils.ts'
|
|
36
|
+
import { getTrinityAxis } from '../0/3/6/9/1/2/4/8/7/5/1/a432.math.ts'
|
|
37
|
+
import { a432RodinCoil } from '../0/3/6/9/1/2/4/8/7/5/1/a432.coil.ts'
|
|
38
|
+
import { a432Shears } from '../0/3/6/9/1/2/4/8/7/5/1/a432.shear.ts'
|
|
39
|
+
import { a432ElectronShear } from '../0/3/6/9/1/2/4/8/7/5/1/a432.shear.electron.ts'
|
|
35
40
|
import { foldToLean, leanIsFixed } from '../kernel/import-graph.ts'
|
|
36
41
|
import {
|
|
37
42
|
GIBBS_FORMATION,
|
|
@@ -69,6 +74,10 @@ import {
|
|
|
69
74
|
STEANE_CODE,
|
|
70
75
|
symplecticProduct,
|
|
71
76
|
estimateSurfaceCodeThreshold,
|
|
77
|
+
groverQueries,
|
|
78
|
+
deutschJozsaQueries,
|
|
79
|
+
SEPARATIONS,
|
|
80
|
+
advantageSelfTest,
|
|
72
81
|
executeInSuperposition,
|
|
73
82
|
computeInterferencePattern,
|
|
74
83
|
describeQuantumExecution,
|
|
@@ -471,6 +480,63 @@ export const SEALS: Record<string, Seal> = {
|
|
|
471
480
|
return TRIAD.every((t) => reflected.includes(t))
|
|
472
481
|
},
|
|
473
482
|
},
|
|
483
|
+
a432_vortex_is_the_doubling_orbit: {
|
|
484
|
+
basis: "A432Sequence.generateVortex returned digitalRoot(i + 1) — the counting sequence 1..9 — under the name 'vortex'. Two things gave it away: it was byte-identical to generateConsciousness(9), and it contained 3, 6 and 9, which doubling_avoids_the_triad proves the doubling circuit can never reach. Nothing caught it because no test in the repository names it and the a432 surface has no tests at all. This binds the a432 layer's vortex to the kernel's VORTEX_ORBIT so the two cannot drift apart again.",
|
|
485
|
+
decide: () => {
|
|
486
|
+
// One period. Must BE the kernel's orbit — not merely orbit-shaped.
|
|
487
|
+
const period = A432Sequence.generateVortex(VORTEX_ORBIT.length)
|
|
488
|
+
if (period.join() !== VORTEX_ORBIT.join()) return false
|
|
489
|
+
|
|
490
|
+
// The bug's own signature: the triad must be absent. This is the
|
|
491
|
+
// conjunct that the counting sequence fails, so it is what makes the
|
|
492
|
+
// seal falsifiable rather than decorative. VORTEX_AXIS is narrowed to
|
|
493
|
+
// 3 | 6 | 9, so it is widened to compare against arbitrary digits.
|
|
494
|
+
const TRIAD: readonly number[] = VORTEX_AXIS
|
|
495
|
+
if (period.some((d) => TRIAD.includes(d))) return false
|
|
496
|
+
|
|
497
|
+
// Every term a unit mod 9, which is why the triad is unreachable.
|
|
498
|
+
if (period.some((d) => d % 3 === 0)) return false
|
|
499
|
+
|
|
500
|
+
// It is the doubling map, step by step, not a list that happens to match.
|
|
501
|
+
for (let i = 0; i < period.length; i++) {
|
|
502
|
+
if (digitalRoot(period[i]! * 2) !== period[(i + 1) % period.length]!) return false
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// Period 6: asking for more repeats the circuit rather than continuing to
|
|
506
|
+
// count. The old implementation ran 1..9 and then wrapped, so length 12
|
|
507
|
+
// is where the two disagree most visibly.
|
|
508
|
+
const twice = A432Sequence.generateVortex(VORTEX_ORBIT.length * 2)
|
|
509
|
+
if (twice.slice(0, VORTEX_ORBIT.length).join() !== twice.slice(VORTEX_ORBIT.length).join()) return false
|
|
510
|
+
|
|
511
|
+
// And it must no longer be the counting sequence wearing the name.
|
|
512
|
+
return A432Sequence.generateVortex(9).join() !== A432Sequence.generateConsciousness(9).join()
|
|
513
|
+
},
|
|
514
|
+
},
|
|
515
|
+
a432_constants_do_not_drift_from_the_kernel: {
|
|
516
|
+
basis: "An isolated collision trial over all 198 a432 modules found the kernel's constants RETYPED as literals in module after module: [1,2,4,8,7,5] in a432.coil, [3,6,9] in a432.trinity, [1,4,7] in both a432.shear and a432.shear.electron. Each retyped copy is a place that can drift with nothing noticing, which is exactly how generateVortex became the counting sequence. Some modules already bind to the kernel — a432.string.theory returns VORTEX_ORBIT itself and cannot drift — so this seal holds the literal copies to the same standard by recomputing the agreement instead of trusting it.",
|
|
517
|
+
decide: () => {
|
|
518
|
+
// The doubling circuit, retyped as a literal in a432.coil.
|
|
519
|
+
if (a432RodinCoil().join() !== VORTEX_ORBIT.join()) return false
|
|
520
|
+
|
|
521
|
+
// The triad. a432.math derives it by slicing A432_SEQUENCE, so this also
|
|
522
|
+
// pins that sequence's ordering, not just the three digits.
|
|
523
|
+
if (getTrinityAxis().join() !== VORTEX_AXIS.join()) return false
|
|
524
|
+
|
|
525
|
+
// [1,4,7] is not a kernel constant, so it is derived rather than
|
|
526
|
+
// compared to another literal: it is exactly the set that reflection
|
|
527
|
+
// through the void carries ONTO the triad. Computing the preimage is
|
|
528
|
+
// what keeps this from being one hardcoded array checked against another.
|
|
529
|
+
const preimage = VORTEX_AXIS.map((t) => throughVoid(t)).sort((a, b) => a - b)
|
|
530
|
+
if (a432Shears().slice().sort((a, b) => a - b).join() !== preimage.join()) return false
|
|
531
|
+
if (a432ElectronShear().join() !== a432Shears().join()) return false
|
|
532
|
+
|
|
533
|
+
// And the preimage must actually reflect back onto the triad, so the
|
|
534
|
+
// relation is verified in both directions rather than assumed from the
|
|
535
|
+
// fact that throughVoid produced it.
|
|
536
|
+
const TRIAD: readonly number[] = VORTEX_AXIS
|
|
537
|
+
return preimage.every((n) => TRIAD.includes(throughVoid(n)))
|
|
538
|
+
},
|
|
539
|
+
},
|
|
474
540
|
superposition_reports_its_own_state: {
|
|
475
541
|
basis: "the superposition model's prose must follow its measurement, not assert simultaneity regardless. Collapse is decided by one comparison — interference against the threshold — and the description must claim 'all at once' exactly when that comparison says so. While anything is still open the sequence has not computed all at once, and the text must say that.",
|
|
476
542
|
decide: () => {
|
|
@@ -774,6 +840,43 @@ export const SEALS: Record<string, Seal> = {
|
|
|
774
840
|
return leanIsFixed(full, ['r'])
|
|
775
841
|
},
|
|
776
842
|
},
|
|
843
|
+
simulation_shows_no_query_advantage: {
|
|
844
|
+
basis: "the algorithm's query count beats classical and the SIMULATION's does not, and both are checked. Grover asks about sqrt(N) times as an algorithm, against N classically — a proven separation with a matching BBBV lower bound. Simulating one such query costs 2^n oracle evaluations, so the simulation makes MORE calls than classical, always, by construction. A repository that claimed to demonstrate quantum advantage by simulation would be measuring the wrong quantity, so this seal requires the simulation to lose.",
|
|
845
|
+
decide: () => {
|
|
846
|
+
if (advantageSelfTest().length > 0) return false
|
|
847
|
+
|
|
848
|
+
for (const qubits of [4, 6, 8]) {
|
|
849
|
+
const r = groverQueries(qubits, (1 << qubits) - 1)
|
|
850
|
+
if (!r.correct) return false
|
|
851
|
+
// The algorithm wins.
|
|
852
|
+
if (!(r.algorithmQueries < r.classicalWorstCase)) return false
|
|
853
|
+
// The simulation loses, and must — one query costs the state vector.
|
|
854
|
+
if (!(r.simulatedOracleCalls > r.classicalWorstCase)) return false
|
|
855
|
+
if (r.simulatedOracleCalls !== r.algorithmQueries * r.space) return false
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
// The algorithmic gap widens; a constant factor would not be a speedup.
|
|
859
|
+
const a = groverQueries(4, 15)
|
|
860
|
+
const b = groverQueries(8, 255)
|
|
861
|
+
if (!(b.classicalWorstCase - b.algorithmQueries > a.classicalWorstCase - a.algorithmQueries)) return false
|
|
862
|
+
|
|
863
|
+
// Deutsch-Jozsa: one algorithmic query, and the simulation pays the space.
|
|
864
|
+
const dj = deutschJozsaQueries(4, true)
|
|
865
|
+
if (dj.algorithmQueries !== 1 || !dj.correct) return false
|
|
866
|
+
if (!(dj.simulatedOracleCalls >= dj.space)) return false
|
|
867
|
+
|
|
868
|
+
// Shor must be recorded as CONDITIONAL, and Deutsch-Jozsa's exponential
|
|
869
|
+
// must carry its exact-classical condition. Dropping either is the
|
|
870
|
+
// overstatement this seal exists to prevent.
|
|
871
|
+
const shor = SEPARATIONS.find((x) => x.algorithm === 'Shor')
|
|
872
|
+
const dozsa = SEPARATIONS.find((x) => x.algorithm === 'Deutsch-Jozsa')
|
|
873
|
+
const grover = SEPARATIONS.find((x) => x.algorithm === 'Grover')
|
|
874
|
+
if (shor?.standing !== 'conditional') return false
|
|
875
|
+
if (dozsa?.standing !== 'proven-against-exact-classical') return false
|
|
876
|
+
return grover?.standing === 'proven'
|
|
877
|
+
},
|
|
878
|
+
},
|
|
879
|
+
|
|
777
880
|
}
|
|
778
881
|
|
|
779
882
|
// ============================================================================
|