universal-physics-tensor 0.7.2 → 0.14.0
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/README.md +147 -109
- package/bin/upt.mjs +508 -0
- package/dist/bridges/be23-planckian-confrontation.d.ts +162 -0
- package/dist/bridges/be23-planckian-confrontation.d.ts.map +1 -0
- package/dist/bridges/be23-planckian-confrontation.js +196 -0
- package/dist/bridges/be23-planckian-confrontation.js.map +1 -0
- package/dist/bridges/be36-gw170817-confrontation.d.ts +111 -0
- package/dist/bridges/be36-gw170817-confrontation.d.ts.map +1 -0
- package/dist/bridges/be36-gw170817-confrontation.js +100 -0
- package/dist/bridges/be36-gw170817-confrontation.js.map +1 -0
- package/dist/bridges/bridge-equations.d.ts +129 -0
- package/dist/bridges/bridge-equations.d.ts.map +1 -0
- package/dist/bridges/bridge-equations.js +130 -0
- package/dist/bridges/bridge-equations.js.map +1 -0
- package/dist/bridges/catalog-adapter.d.ts +1 -1
- package/dist/bridges/catalog-adapter.js +1 -1
- package/dist/bridges/confrontation-coverage.d.ts +67 -0
- package/dist/bridges/confrontation-coverage.d.ts.map +1 -0
- package/dist/bridges/confrontation-coverage.js +83 -0
- package/dist/bridges/confrontation-coverage.js.map +1 -0
- package/dist/bridges/equations/_be-helpers.d.ts +2 -1
- package/dist/bridges/equations/_be-helpers.d.ts.map +1 -1
- package/dist/bridges/equations/be-12-coherence-length.d.ts +1 -1
- package/dist/bridges/equations/be-13-einstein-trace.d.ts +2 -2
- package/dist/bridges/equations/be-13-einstein-trace.js +1 -1
- package/dist/bridges/equations/be-14-ryu-takayanagi.d.ts +2 -2
- package/dist/bridges/equations/be-15-emergence.d.ts +19 -5
- package/dist/bridges/equations/be-15-emergence.d.ts.map +1 -1
- package/dist/bridges/equations/be-15-emergence.js +18 -4
- package/dist/bridges/equations/be-15-emergence.js.map +1 -1
- package/dist/bridges/equations/be-16-landauer.d.ts +1 -1
- package/dist/bridges/equations/be-17-einstein-cartan.d.ts +1 -1
- package/dist/bridges/equations/be-18-higgs-mass.d.ts +1 -1
- package/dist/bridges/equations/be-19-quantum-bounce.d.ts +1 -1
- package/dist/bridges/equations/be-20-vacuum-energy.d.ts +4 -4
- package/dist/bridges/equations/be-20-vacuum-energy.d.ts.map +1 -1
- package/dist/bridges/equations/be-20-vacuum-energy.js +4 -2
- package/dist/bridges/equations/be-20-vacuum-energy.js.map +1 -1
- package/dist/bridges/equations/be-22-topological-entanglement.d.ts +1 -1
- package/dist/bridges/equations/be-23-syk-planckian.d.ts +1 -1
- package/dist/bridges/equations/be-24-foerster-fret.d.ts +1 -1
- package/dist/bridges/equations/be-25-iit-phi.d.ts +1 -1
- package/dist/bridges/equations/be-25-orch-or.d.ts +13 -1
- package/dist/bridges/equations/be-25-orch-or.d.ts.map +1 -1
- package/dist/bridges/equations/be-25-orch-or.js +12 -0
- package/dist/bridges/equations/be-25-orch-or.js.map +1 -1
- package/dist/bridges/equations/be-26-dna-tunneling.d.ts +2 -2
- package/dist/bridges/equations/be-26-dna-tunneling.js +1 -1
- package/dist/bridges/equations/be-27-effective-temperature.d.ts +1 -1
- package/dist/bridges/equations/be-28-onsager-entropy-production.d.ts +1 -1
- package/dist/bridges/equations/be-29-jarzynski.d.ts +1 -1
- package/dist/bridges/equations/be-30-flm-first-law.d.ts +2 -2
- package/dist/bridges/equations/be-31-causal-set-bd.d.ts +1 -1
- package/dist/bridges/equations/be-32-quantum-reference-frame.d.ts +1 -1
- package/dist/bridges/equations/be-33-hertz-millis.d.ts +1 -1
- package/dist/bridges/equations/be-34-kibble-zurek.d.ts +1 -1
- package/dist/bridges/equations/be-35-conformal-bootstrap.d.ts +1 -1
- package/dist/bridges/equations/be-36-gw-speed-bound.d.ts +12 -5
- package/dist/bridges/equations/be-36-gw-speed-bound.d.ts.map +1 -1
- package/dist/bridges/equations/be-36-gw-speed-bound.js +11 -4
- package/dist/bridges/equations/be-36-gw-speed-bound.js.map +1 -1
- package/dist/bridges/equations/be-38-mond.d.ts +1 -1
- package/dist/bridges/equations/be-39-asymptotic-safety.d.ts +2 -2
- package/dist/bridges/equations/be-40-composite-higgs.d.ts +1 -1
- package/dist/bridges/equations/be-41-swampland.d.ts +1 -1
- package/dist/bridges/equations/be-43-er-epr.d.ts +1 -1
- package/dist/bridges/equations/be-44-soft-hair.d.ts +1 -1
- package/dist/bridges/equations/be-45-tcc.d.ts +1 -1
- package/dist/bridges/equations/be-46-multiverse-measure.d.ts +1 -1
- package/dist/bridges/equations/be-47-bbn-dark-sector.d.ts +1 -1
- package/dist/bridges/equations/be-48-grw-localization.d.ts +1 -1
- package/dist/bridges/equations/be-49-quantum-darwinism.d.ts +1 -1
- package/dist/bridges/equations/be-50-wheeler-feynman.d.ts +1 -1
- package/dist/bridges/index.d.ts +10 -7
- package/dist/bridges/index.d.ts.map +1 -1
- package/dist/bridges/index.js +47 -34
- package/dist/bridges/index.js.map +1 -1
- package/dist/bridges/membership.d.ts +44 -0
- package/dist/bridges/membership.d.ts.map +1 -0
- package/dist/bridges/membership.js +59 -0
- package/dist/bridges/membership.js.map +1 -0
- package/dist/bridges/rejected.d.ts +40 -0
- package/dist/bridges/rejected.d.ts.map +1 -0
- package/dist/bridges/rejected.js +81 -0
- package/dist/bridges/rejected.js.map +1 -0
- package/dist/composition/bridge-analysis.d.ts +189 -0
- package/dist/composition/bridge-analysis.d.ts.map +1 -0
- package/dist/composition/bridge-analysis.js +445 -0
- package/dist/composition/bridge-analysis.js.map +1 -0
- package/dist/composition/bridge-prediction.d.ts +95 -0
- package/dist/composition/bridge-prediction.d.ts.map +1 -0
- package/dist/composition/bridge-prediction.js +0 -0
- package/dist/composition/bridge-prediction.js.map +1 -0
- package/dist/composition/catalog-graph.d.ts +20 -0
- package/dist/composition/catalog-graph.d.ts.map +1 -0
- package/dist/composition/catalog-graph.js +39 -0
- package/dist/composition/catalog-graph.js.map +1 -0
- package/dist/composition/compose-surface.d.ts +12 -0
- package/dist/composition/compose-surface.d.ts.map +1 -0
- package/dist/composition/compose-surface.js +10 -0
- package/dist/composition/compose-surface.js.map +1 -0
- package/dist/composition/compose-symbolic.d.ts +75 -0
- package/dist/composition/compose-symbolic.d.ts.map +1 -0
- package/dist/composition/compose-symbolic.js +157 -0
- package/dist/composition/compose-symbolic.js.map +1 -0
- package/dist/composition/compose.d.ts +110 -0
- package/dist/composition/compose.d.ts.map +1 -0
- package/dist/composition/compose.js +231 -0
- package/dist/composition/compose.js.map +1 -0
- package/dist/composition/consistency.d.ts +24 -0
- package/dist/composition/consistency.d.ts.map +1 -0
- package/dist/composition/consistency.js +26 -0
- package/dist/composition/consistency.js.map +1 -0
- package/dist/composition/discovery.d.ts +104 -0
- package/dist/composition/discovery.d.ts.map +1 -0
- package/dist/composition/discovery.js +165 -0
- package/dist/composition/discovery.js.map +1 -0
- package/dist/composition/edge.d.ts +139 -0
- package/dist/composition/edge.d.ts.map +1 -0
- package/dist/composition/edge.js +72 -0
- package/dist/composition/edge.js.map +1 -0
- package/dist/composition/edges/calibration.d.ts +107 -0
- package/dist/composition/edges/calibration.d.ts.map +1 -0
- package/dist/composition/edges/calibration.js +373 -0
- package/dist/composition/edges/calibration.js.map +1 -0
- package/dist/composition/edges/catalog-full.d.ts +299 -0
- package/dist/composition/edges/catalog-full.d.ts.map +1 -0
- package/dist/composition/edges/catalog-full.js +989 -0
- package/dist/composition/edges/catalog-full.js.map +1 -0
- package/dist/composition/edges/catalog-tranche.d.ts +112 -0
- package/dist/composition/edges/catalog-tranche.d.ts.map +1 -0
- package/dist/composition/edges/catalog-tranche.js +241 -0
- package/dist/composition/edges/catalog-tranche.js.map +1 -0
- package/dist/composition/enumerate.d.ts +67 -0
- package/dist/composition/enumerate.d.ts.map +1 -0
- package/dist/composition/enumerate.js +78 -0
- package/dist/composition/enumerate.js.map +1 -0
- package/dist/composition/explain.d.ts +102 -0
- package/dist/composition/explain.d.ts.map +1 -0
- package/dist/composition/explain.js +244 -0
- package/dist/composition/explain.js.map +1 -0
- package/dist/composition/expr-eval.d.ts +33 -0
- package/dist/composition/expr-eval.d.ts.map +1 -0
- package/dist/composition/expr-eval.js +95 -0
- package/dist/composition/expr-eval.js.map +1 -0
- package/dist/composition/expr-simplify.d.ts +60 -0
- package/dist/composition/expr-simplify.d.ts.map +1 -0
- package/dist/composition/expr-simplify.js +330 -0
- package/dist/composition/expr-simplify.js.map +1 -0
- package/dist/composition/expr-subst.d.ts +29 -0
- package/dist/composition/expr-subst.d.ts.map +1 -0
- package/dist/composition/expr-subst.js +60 -0
- package/dist/composition/expr-subst.js.map +1 -0
- package/dist/composition/identifiability.d.ts +103 -0
- package/dist/composition/identifiability.d.ts.map +1 -0
- package/dist/composition/identifiability.js +148 -0
- package/dist/composition/identifiability.js.map +1 -0
- package/dist/composition/index.d.ts +37 -0
- package/dist/composition/index.d.ts.map +1 -0
- package/dist/composition/index.js +27 -0
- package/dist/composition/index.js.map +1 -0
- package/dist/composition/quantities.d.ts +297 -0
- package/dist/composition/quantities.d.ts.map +1 -0
- package/dist/composition/quantities.js +1017 -0
- package/dist/composition/quantities.js.map +1 -0
- package/dist/composition/quantity.d.ts +59 -0
- package/dist/composition/quantity.d.ts.map +1 -0
- package/dist/composition/quantity.js +36 -0
- package/dist/composition/quantity.js.map +1 -0
- package/dist/composition/retrodiction.d.ts +94 -0
- package/dist/composition/retrodiction.d.ts.map +1 -0
- package/dist/composition/retrodiction.js +171 -0
- package/dist/composition/retrodiction.js.map +1 -0
- package/dist/composition/symbolic-constants.d.ts +33 -0
- package/dist/composition/symbolic-constants.d.ts.map +1 -0
- package/dist/composition/symbolic-constants.js +50 -0
- package/dist/composition/symbolic-constants.js.map +1 -0
- package/dist/composition/uncertainty.d.ts +45 -0
- package/dist/composition/uncertainty.d.ts.map +1 -0
- package/dist/composition/uncertainty.js +59 -0
- package/dist/composition/uncertainty.js.map +1 -0
- package/dist/core/axes-registry.d.ts +1 -1
- package/dist/core/axes-registry.js +1 -1
- package/dist/core/cell.d.ts +0 -8
- package/dist/core/cell.d.ts.map +1 -1
- package/dist/core/cell.js +1 -1
- package/dist/core/cell.js.map +1 -1
- package/dist/core/constants.d.ts +15 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +15 -1
- package/dist/core/constants.js.map +1 -1
- package/dist/core/flux-rules.d.ts +10 -13
- package/dist/core/flux-rules.d.ts.map +1 -1
- package/dist/core/flux-rules.js +19 -10
- package/dist/core/flux-rules.js.map +1 -1
- package/dist/core/labeled-tensor.d.ts +80 -1
- package/dist/core/labeled-tensor.d.ts.map +1 -1
- package/dist/core/labeled-tensor.js +263 -17
- package/dist/core/labeled-tensor.js.map +1 -1
- package/dist/core/universal-index.d.ts +1 -1
- package/dist/core/universal-index.js +1 -1
- package/dist/dimensional/buckingham.d.ts +103 -0
- package/dist/dimensional/buckingham.d.ts.map +1 -0
- package/dist/dimensional/buckingham.js +284 -0
- package/dist/dimensional/buckingham.js.map +1 -0
- package/dist/dimensional/dimension-spec.d.ts +24 -0
- package/dist/dimensional/dimension-spec.d.ts.map +1 -0
- package/dist/dimensional/dimension-spec.js +110 -0
- package/dist/dimensional/dimension-spec.js.map +1 -0
- package/dist/dimensional/field-equation-helpers.d.ts +1 -1
- package/dist/dimensional/field-equation-helpers.js +1 -1
- package/dist/dimensional/friedmann-equation.d.ts +1 -1
- package/dist/dimensional/friedmann-equation.js +1 -1
- package/dist/dimensional/gauge-field.d.ts +1 -1
- package/dist/dimensional/gauge-field.js +1 -1
- package/dist/dimensional/klein-gordon-equation.d.ts +8 -5
- package/dist/dimensional/klein-gordon-equation.d.ts.map +1 -1
- package/dist/dimensional/klein-gordon-equation.js +8 -5
- package/dist/dimensional/klein-gordon-equation.js.map +1 -1
- package/dist/dimensional/tensor-trace.d.ts +1 -1
- package/dist/dimensional/tensor-trace.js +1 -1
- package/dist/dimensional/validator.d.ts +13 -3
- package/dist/dimensional/validator.d.ts.map +1 -1
- package/dist/dimensional/validator.js +129 -42
- package/dist/dimensional/validator.js.map +1 -1
- package/dist/index.d.ts +32 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +63 -2
- package/dist/index.js.map +1 -1
- package/dist/numerical/be37-covariant-eikonal.d.ts.map +1 -1
- package/dist/numerical/be37-covariant-eikonal.js +15 -18
- package/dist/numerical/be37-covariant-eikonal.js.map +1 -1
- package/dist/numerical/curvature-lowering-helpers.d.ts +7 -13
- package/dist/numerical/curvature-lowering-helpers.d.ts.map +1 -1
- package/dist/numerical/curvature-lowering-helpers.js +1 -1
- package/dist/numerical/curvature-lowering-helpers.js.map +1 -1
- package/dist/numerical/derivative-lowering.d.ts +2 -1
- package/dist/numerical/derivative-lowering.d.ts.map +1 -1
- package/dist/numerical/formula-dimension.d.ts +40 -0
- package/dist/numerical/formula-dimension.d.ts.map +1 -0
- package/dist/numerical/formula-dimension.js +199 -0
- package/dist/numerical/formula-dimension.js.map +1 -0
- package/dist/numerical/formula-mathts.d.ts +27 -0
- package/dist/numerical/formula-mathts.d.ts.map +1 -0
- package/dist/numerical/formula-mathts.js +98 -0
- package/dist/numerical/formula-mathts.js.map +1 -0
- package/dist/numerical/formula-registry.d.ts +30 -0
- package/dist/numerical/formula-registry.d.ts.map +1 -0
- package/dist/numerical/formula-registry.js +88 -0
- package/dist/numerical/formula-registry.js.map +1 -0
- package/dist/numerical/formula.d.ts +75 -0
- package/dist/numerical/formula.d.ts.map +1 -0
- package/dist/numerical/formula.js +275 -0
- package/dist/numerical/formula.js.map +1 -0
- package/dist/numerical/geometrized.d.ts +51 -0
- package/dist/numerical/geometrized.d.ts.map +1 -0
- package/dist/numerical/geometrized.js +66 -0
- package/dist/numerical/geometrized.js.map +1 -0
- package/dist/numerical/gl4-integrator.d.ts +8 -6
- package/dist/numerical/gl4-integrator.d.ts.map +1 -1
- package/dist/numerical/gl4-integrator.js +6 -6
- package/dist/numerical/gl4-integrator.js.map +1 -1
- package/dist/numerical/klein-gordon.d.ts +145 -0
- package/dist/numerical/klein-gordon.d.ts.map +1 -0
- package/dist/numerical/klein-gordon.js +145 -0
- package/dist/numerical/klein-gordon.js.map +1 -0
- package/dist/numerical/kretschmann.d.ts +43 -12
- package/dist/numerical/kretschmann.d.ts.map +1 -1
- package/dist/numerical/kretschmann.js +116 -29
- package/dist/numerical/kretschmann.js.map +1 -1
- package/dist/numerical/lowering.d.ts +18 -0
- package/dist/numerical/lowering.d.ts.map +1 -1
- package/dist/numerical/lowering.js +54 -42
- package/dist/numerical/lowering.js.map +1 -1
- package/dist/numerical/null-ic.d.ts +1 -1
- package/dist/numerical/null-ic.d.ts.map +1 -1
- package/dist/numerical/null-ic.js +3 -2
- package/dist/numerical/null-ic.js.map +1 -1
- package/dist/numerical/painleve-gullstrand-metric.d.ts +18 -6
- package/dist/numerical/painleve-gullstrand-metric.d.ts.map +1 -1
- package/dist/numerical/painleve-gullstrand-metric.js +31 -16
- package/dist/numerical/painleve-gullstrand-metric.js.map +1 -1
- package/dist/numerical/perihelion-finder.d.ts +4 -3
- package/dist/numerical/perihelion-finder.d.ts.map +1 -1
- package/dist/numerical/perihelion-finder.js +5 -4
- package/dist/numerical/perihelion-finder.js.map +1 -1
- package/dist/numerical/types.d.ts +6 -3
- package/dist/numerical/types.d.ts.map +1 -1
- package/dist/numerical/weyl-lowering.d.ts +4 -4
- package/dist/numerical/weyl-lowering.d.ts.map +1 -1
- package/dist/numerical/weyl-lowering.js +14 -1
- package/dist/numerical/weyl-lowering.js.map +1 -1
- package/package.json +21 -4
package/README.md
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
**Computational framework for exploring unified physics through tensor formalism**
|
|
4
4
|
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://github.com/danielsimonjr/universal-physics-tensor/actions/workflows/ci.yml)
|
|
6
7
|
[](https://nodejs.org/)
|
|
7
|
-
[](https://www.typescriptlang.org/)
|
|
8
9
|
|
|
9
10
|
## Vision
|
|
10
11
|
|
|
@@ -52,8 +53,32 @@ npm run build
|
|
|
52
53
|
|
|
53
54
|
# Run the smoke test
|
|
54
55
|
node test-example.js
|
|
56
|
+
|
|
57
|
+
# Bridge-inference CLI (no TypeScript needed) — `upt` subcommands:
|
|
58
|
+
npm run upt -- explain hawking-temperature mass=1.989e30 # explain a built-in quantity
|
|
59
|
+
npm run upt -- priority # triage speculative bridges
|
|
60
|
+
npm run upt -- audit # derive the bridges by dimensions
|
|
61
|
+
npm run upt -- predict # empty regime cells as link hypotheses
|
|
62
|
+
npm run upt -- discover # vet link candidates (merge/unlock/consistency)
|
|
63
|
+
npm run upt -- connectors # which isolated bridges can connect to the core
|
|
64
|
+
npm run upt -- coverage # audit each bridge's empirical grounding
|
|
65
|
+
npm run upt -- symbolic --simplify # compose + fold bridges' SYMBOLIC forms (MathTS simplify)
|
|
66
|
+
# ...and YOUR OWN equations:
|
|
67
|
+
npm run upt -- eval "hbar*c^3/(8*pi*G*M*k_B)" hbar=1.054571817e-34 c=299792458 G=6.6743e-11 M=1.989e30 k_B=1.380649e-23
|
|
68
|
+
npm run upt -- derive period:time length:length gravity:acceleration --formula "2*pi*sqrt(length/gravity)"
|
|
69
|
+
# → period ∝ length^0.5·gravity^-0.5 ; formula dimension: [time] ✓ matches target ;
|
|
70
|
+
# formula MATCHES, recovered prefactor ≈ 6.2832 (2π)
|
|
71
|
+
npm run upt -- help
|
|
72
|
+
# Once published, the same commands run via `npx universal-physics-tensor <cmd>`.
|
|
73
|
+
# (`npm run explain` and `npm run bridge-priority` remain as aliases.)
|
|
55
74
|
```
|
|
56
75
|
|
|
76
|
+
`eval`/`derive --formula` use the MathTS expression engine
|
|
77
|
+
(`@danielsimonjr/mathts-functions`) when the optional peers are installed,
|
|
78
|
+
and a built-in, dependency-free parser otherwise — transparently, via a
|
|
79
|
+
`FormulaParser` registry (add `--debug` to see which is active). UPT keeps
|
|
80
|
+
**zero hard dependencies**; the MathTS packages are optional.
|
|
81
|
+
|
|
57
82
|
## Installation
|
|
58
83
|
|
|
59
84
|
```bash
|
|
@@ -98,7 +123,12 @@ const quantumLaws = tensor.queryLaws({ scale: 'quantum' });
|
|
|
98
123
|
console.log(quantumLaws.map(l => l.name));
|
|
99
124
|
```
|
|
100
125
|
|
|
101
|
-
> **Note:**
|
|
126
|
+
> **Note:** Each catalogued bridge ships a computable `evaluate*()` function, and
|
|
127
|
+
> the `BridgeEquations` facade (v0.14) gathers them under readable method names —
|
|
128
|
+
> e.g. `BridgeEquations.decoherenceRate({ gamma0_per_s, lambda, lambda0 })` (BE-11)
|
|
129
|
+
> or `BridgeEquations.hawkingTemperature({ M_kg })` (BE-42). The formal spec
|
|
130
|
+
> (Parts I–III) defines the underlying physics and AST encodings; the facade is
|
|
131
|
+
> the convenience layer over those evaluators.
|
|
102
132
|
|
|
103
133
|
## Core Concepts
|
|
104
134
|
|
|
@@ -131,19 +161,55 @@ Bridge equations connect different physical regimes:
|
|
|
131
161
|
- Universal Emergence Equation
|
|
132
162
|
- Complexity-Entropy Production Relation
|
|
133
163
|
|
|
134
|
-
See [Part I](docs/specification/Part-I.md) and [Part II](docs/specification/Part-II.md) of the formal specification for the complete bridge equation catalog (Bridge Equations 11–
|
|
164
|
+
See [Part I](docs/specification/Part-I.md) and [Part II](docs/specification/Part-II.md) of the formal specification for the complete bridge equation catalog (Bridge Equations 11–54). Part III covers algorithmic implementation. The catalog is also published as a reviewable JSON artifact at [`data/bridge-catalog.json`](data/bridge-catalog.json).
|
|
165
|
+
|
|
166
|
+
### Composing Bridges (v0.8.0)
|
|
167
|
+
|
|
168
|
+
Bridges are edges in a typed quantity graph, and compatible edges
|
|
169
|
+
**compose** — with an exact dimensional check at the junction, validity
|
|
170
|
+
domains carried through, and confidence demoted to the weakest link:
|
|
171
|
+
|
|
172
|
+
```typescript
|
|
173
|
+
import { composeEdges, be42Edge, be16Edge, M_SUN_KG } from 'universal-physics-tensor';
|
|
174
|
+
|
|
175
|
+
// Hawking temperature (M → T_H) ∘ Landauer bound (T → E_min)
|
|
176
|
+
const erasureCost = composeEdges(be42Edge, be16Edge);
|
|
177
|
+
erasureCost.evaluate({ mass: M_SUN_KG }); // ≈ 5.9e-31 J — E_min(M) = ℏc³ln2/(8πGM)
|
|
178
|
+
erasureCost.confidence; // 'highly-speculative' (min of the operands)
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
That derived relation — the minimum erasure cost at a black-hole
|
|
182
|
+
horizon — is the framework's first **derived** (rather than encoded)
|
|
183
|
+
literature-anchored result, pre-registered before implementation and
|
|
184
|
+
pinned to relErr ≤ 10⁻¹² (see [Part IX](docs/specification/Part-IX-Composition.md)
|
|
185
|
+
and `docs/planning/v0.8.0-Design.md`). A computable **membership
|
|
186
|
+
criterion** (a bridge's endpoint quantities must differ in regime) now
|
|
187
|
+
adjudicates the catalog — 36 bridges · 5 not-a-bridge · 3 contested —
|
|
188
|
+
with rejections recorded in a reviewable negative catalog
|
|
189
|
+
(`src/bridges/rejected.ts`).
|
|
190
|
+
|
|
191
|
+
Since v0.12, composition is also **symbolic** (`composeSymbolic`): bridges may
|
|
192
|
+
carry an optional `symbolic` `ExprNode` form, and composing two of them
|
|
193
|
+
substitutes one AST into the other's junction, dimensionally validated and
|
|
194
|
+
numerically evaluable — not just a chained numeric closure. The composed form
|
|
195
|
+
can be folded by MathTS `simplify` (optional peer), so CT-1 reduces to
|
|
196
|
+
`ℏc³ln2/(8πGM)` with `k_B` cancelled. See `upt symbolic --simplify`.
|
|
135
197
|
|
|
136
198
|
## Documentation
|
|
137
199
|
|
|
138
|
-
### Formal Specification
|
|
139
|
-
Complete theoretical foundation of the Universal Physics Tensor Framework
|
|
200
|
+
### Formal Specification
|
|
201
|
+
Complete theoretical foundation of the Universal Physics Tensor Framework —
|
|
202
|
+
see the **[specification index](docs/specification/README.md)** for the full
|
|
203
|
+
reader's map and the **[spec revision history](docs/specification/CHANGELOG.md)**
|
|
204
|
+
for how the documents evolved.
|
|
140
205
|
|
|
141
206
|
- **[Part I: Foundation & Mathematical Framework](docs/specification/Part-I.md)** - Tensor structure, Π = L + B + E decomposition, Bridge Equations 11-20
|
|
142
|
-
- **[Part II: Extended Bridge Equation Catalog](docs/specification/Part-II.md)** - Bridge Equations 21-
|
|
207
|
+
- **[Part II: Extended Bridge Equation Catalog](docs/specification/Part-II.md)** - Bridge Equations 21-54 across condensed matter, quantum biology, emergent spacetime
|
|
143
208
|
- **[Part III: Computational Implementation](docs/specification/Part-III.md)** - Algorithms, information-theoretic bounds, ML integration
|
|
144
209
|
- **[Part IV: Validation & Implications](docs/specification/Part-IV.md)** - Experimental pathways, philosophical implications, applications
|
|
145
210
|
- **[Part V: Advanced Mathematics & Protocols](docs/specification/Part-V.md)** - Category theory extensions, validation protocols, algorithmic analysis
|
|
146
211
|
- **[Part VI: Deployment & Governance](docs/specification/Part-VI.md)** - Implementation strategies, applications, governance frameworks
|
|
212
|
+
- **Supplements** - [Part VII: Tensor Algebra](docs/specification/Part-VII-Tensor-Algebra.md) · [Part VIII: Metric Layer](docs/specification/Part-VIII-Metric-Layer.md) · [Part IX: Composition](docs/specification/Part-IX-Composition.md) · [Part X: Curvature & Field Equations](docs/specification/Part-X-Curvature-and-Field-Equations.md)
|
|
147
213
|
|
|
148
214
|
### Planning & Development
|
|
149
215
|
- **[Development Plan](docs/planning/Development-Plan.md)** - Phased implementation roadmap
|
|
@@ -170,118 +236,90 @@ delivered a measured **5-6× RK4 geodesic-integrator speedup** (see [CHANGELOG](
|
|
|
170
236
|
|
|
171
237
|
## Development Status
|
|
172
238
|
|
|
173
|
-
**Current
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
239
|
+
**Current version:** v0.7.3 on npm
|
|
240
|
+
([`universal-physics-tensor`](https://www.npmjs.com/package/universal-physics-tensor));
|
|
241
|
+
the branch carries unreleased **v0.8.0 → v0.14** milestones (composition graph +
|
|
242
|
+
GW170817 / BE-23 data confrontations + catalog adjudication, Part-IX Phase C/D,
|
|
243
|
+
the full catalog→graph migration, the bridge-inference + symbolic-composition
|
|
244
|
+
tooling, the G-9 geometrized-units adapters, and the v0.14 work — distributional/
|
|
245
|
+
variational grammar primitives, the `BridgeEquations` facade, G-9 increment 2's
|
|
246
|
+
public adapters, and the `LabeledTensor` axis-order fix + `mergeAxes`/`splitAxis`)
|
|
247
|
+
awaiting a single **rollup tag** — see the [CHANGELOG](CHANGELOG.md) `[Unreleased]`
|
|
248
|
+
block.
|
|
178
249
|
|
|
179
250
|
| Metric | Value |
|
|
180
251
|
|---|---|
|
|
181
|
-
| Bridge catalog | **
|
|
182
|
-
| Test suite | **
|
|
183
|
-
| `tsc --noEmit` | clean |
|
|
184
|
-
|
|
|
185
|
-
|
|
186
|
-
36
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
- **
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
- **
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
`
|
|
219
|
-
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
| Metric (v0.1.0) | Value |
|
|
238
|
-
|---|---|
|
|
239
|
-
| AST encodings | **40 / 40** |
|
|
240
|
-
| `dimensional_signature === null` count | 0 |
|
|
241
|
-
| `status === 'invalid'` count | 0 |
|
|
242
|
-
| Test suite | **1161 / 1161** passing across 68 files |
|
|
243
|
-
| Status distribution | 6 established · 31 speculative · 3 highly-speculative · 0 invalid |
|
|
244
|
-
|
|
245
|
-
**Encoding patterns established during the rollout:** typed-stubs for
|
|
246
|
-
transcendentals and operator-valued interiors (log/exp/tensor
|
|
247
|
-
contractions absorbed into single dimensioned symbols);
|
|
248
|
-
squared-form to avoid fractional exponents (S², L²=Γt, Q_soft²);
|
|
249
|
-
ensemble-average stubs (Jarzynski ⟨exp(-βW)⟩); observational-bound
|
|
250
|
-
dimensionless ratios (GW170817 |c_GW-c|/c); integral primitive for
|
|
251
|
-
boundary integrals (BE-26 WKB, BE-44 soft-hair L²-norm); and **bridge
|
|
252
|
-
reformulation** — replacing broken or contested formulations with
|
|
253
|
-
canonical literature forms while preserving the bridge label
|
|
254
|
-
(precedent: BE-25 Penrose-Hameroff → IIT Φ_max; Wave Z applied this
|
|
255
|
-
to BE-16 → Landauer, BE-37 → Shapiro delay, BE-28 → Onsager σ).
|
|
256
|
-
|
|
257
|
-
**Cross-LLM validation:** the three highest-stakes Wave-Z reformulations
|
|
258
|
-
(BE-16 Landauer, BE-37 Shapiro, BE-28 Onsager — all promoted from
|
|
259
|
-
`status='invalid'`) were independently cross-validated by both OpenAI
|
|
260
|
-
o3 and Gemini Pro.
|
|
261
|
-
|
|
262
|
-
### Planned (post-closure)
|
|
263
|
-
|
|
264
|
-
- **v0.1.0 release** — trigger condition met; cut is a discretionary
|
|
265
|
-
release decision documented in `v0.1.0-Release-Procedure.md`.
|
|
266
|
-
- **Grammar extensions for genuinely-deferred primitives:** Dirac-δ
|
|
267
|
-
correlators (would enable a fuller BE-15 Hohenberg-Halperin Model A
|
|
268
|
-
Langevin encoding), variational-δ operator (would enable a faithful
|
|
269
|
-
MEPP encoding for BE-28 that captures the maximization claim).
|
|
270
|
-
Neither is currently planned — both are scope expansions beyond the
|
|
271
|
-
scalar-AST design.
|
|
272
|
-
- **Wider rank-6 tensor with numerical operations** — the
|
|
273
|
-
catalog-encoding work has been the priority; tensor operators are the
|
|
274
|
-
next conceptual layer.
|
|
252
|
+
| Bridge catalog | **44** (IDs 11-54) — 8 established · 33 speculative · 3 highly-speculative · 0 invalid; membership-adjudicated **36 bridges · 5 not-a-bridge · 3 contested**; **41-edge composition graph** (full migration, 131 centralized quantity nodes) with a bridge-inference suite — **identifiability classifier**, **retrodiction harness**, **Buckingham-π enumerator**, unified by an **`explainQuantity`** entry point, plus (v0.12) the candidate-vetting **discovery loop**, regime-prediction map, empirical-coverage audit, and **symbolic composition** (the Observable contract + MathTS simplification) |
|
|
253
|
+
| Test suite | **2620** passing (5 skipped, 1 todo; incl. property-based algebra tests) — gated by CI |
|
|
254
|
+
| `tsc --noEmit` | clean (src + strict `tsc -p tsconfig.tests.json`) |
|
|
255
|
+
| GR validation anchors | BE-52 Mercury perihelion relErr 1.8×10⁻⁷ · BE-37 Shapiro delay relErr ~2×10⁻⁸ |
|
|
256
|
+
| First derived relation | E_min(M) = ℏc³ln2/(8πGM) from BE-42 ∘ BE-16, relErr ≤ 10⁻¹² (pre-registered CT-1) |
|
|
257
|
+
| First data confrontation | GW170817 → BE-36: recomputed bounds +6.5×10⁻¹⁶ / −3.1×10⁻¹⁵ vs published +7×10⁻¹⁶ / −3×10⁻¹⁵ |
|
|
258
|
+
| Core capability | Dimensional AST validator (23 node kinds; valence-homogeneity + symbolic-exponent grammar, v0.13; distributional/variational primitives, v0.14) · curvature + Einstein-field-equation layers · GL4 symplectic geodesic integrator · composition graph (`composeEdges` + symbolic `composeSymbolic`) · geometrized-units adapters (G-9 increment 1, v0.13) |
|
|
259
|
+
|
|
260
|
+
Release history lives in the **[CHANGELOG](CHANGELOG.md)** — from the v0.1.0
|
|
261
|
+
catalog-closure milestone (40/40 AST encodings via the Wave A→Z encoding arc,
|
|
262
|
+
with cross-LLM validation of the highest-stakes reformulations) through the
|
|
263
|
+
GR-foundations releases (v0.4.x–v0.6.0), the v0.7.x intelligent-index / gradient
|
|
264
|
+
series, the v0.8–v0.11 composition + catalog→graph arc, and the v0.12–v0.13
|
|
265
|
+
inference / symbolic-composition / units work. The formal
|
|
266
|
+
spec's own revision ledger is at
|
|
267
|
+
[docs/specification/CHANGELOG.md](docs/specification/CHANGELOG.md).
|
|
268
|
+
|
|
269
|
+
### Roadmap
|
|
270
|
+
|
|
271
|
+
- **Units-normalization (G-9)** — increment 1 (the geometrized-units boundary
|
|
272
|
+
adapters, dimension-functor-driven) shipped in v0.13; **increment 2 (v0.14)**
|
|
273
|
+
promoted the adapters (`toGeometrized`/`fromGeometrized`/`geometrizedFactor`/
|
|
274
|
+
`NonGeometrizableDimensionError`) to the public API, added a geometrized-native
|
|
275
|
+
Schwarzschild fixture (x⁰=ct chart) + an SI↔geometrized Kretschmann equivalence
|
|
276
|
+
test (the adapter exercised on the mass input, `M_geom = GM/c²`); the FD
|
|
277
|
+
order-2 claw-back was cut as a provable unit-invariant no-op. **Increment 3**
|
|
278
|
+
(deferred, own plan+vet): subsuming the `unitless*` fixture family + routing
|
|
279
|
+
the DEFAULT GR pipeline onto the geometrized fast path.
|
|
280
|
+
- **Bridge-inference + symbolic-composition tooling** — **DONE (v0.12–v0.13)**:
|
|
281
|
+
the discovery loop, regime-prediction, coverage audit, orphan-connector
|
|
282
|
+
analysis, `composeSymbolic` (the Observable contract) + optional MathTS
|
|
283
|
+
simplification — all REVIEW SURFACES for physicist judgment, not automated
|
|
284
|
+
discovery.
|
|
285
|
+
- **Grammar extensions for genuinely-deferred primitives** — **GRAMMAR DONE
|
|
286
|
+
(v0.14)**: the `dirac-delta` correlator (`[δ(x)]=[x]⁻¹`) and the
|
|
287
|
+
`variational-derivative` operator (`[δF/δφ]=[F]/([φ]·[μ])`) are now scalar
|
|
288
|
+
`ExprNode` arms (Adam+Eve-vetted;
|
|
289
|
+
`docs/planning/v0.14-Distributional-Grammar-Design.md`). The full Model-A
|
|
290
|
+
Langevin / fluctuation-dissipation relation BE-15 documented as un-encodable
|
|
291
|
+
now validates dimensionally homogeneous. The CATALOG re-encoding that USES the
|
|
292
|
+
new grammar — BE-15's faithful Langevin form, and a faithful BE-28 MEPP
|
|
293
|
+
variational maximization (BE-28's σ=ΣJX carries a CRITICAL WARNING that it is
|
|
294
|
+
the *definiendum*, not the maximization principle) — is a physics-curation
|
|
295
|
+
decision deferred to a physicist (CONTRIBUTING.md); barrier 3 (functional
|
|
296
|
+
integration over field configurations) remains out of scope. (A separate
|
|
297
|
+
bounded grammar extension — symbolic exponents on a dimensionless base —
|
|
298
|
+
landed in v0.13, letting BE-33 carry its faithful `(T/T₀)^(−1/z)` form.)
|
|
299
|
+
- ~~Catalog → quantity-graph migration~~ — **DONE (v0.11, 2026-06-11)**:
|
|
300
|
+
the full 41-edge graph is live, gated by the name-collision
|
|
301
|
+
namespacing rule (`CompositionAliasError` + reviewable
|
|
302
|
+
`SOURCE_ALIAS_DISPOSITIONS`); the ~90 new quantity-naming judgments
|
|
303
|
+
are the standing physicist-review surface.
|
|
304
|
+
- **More data confrontations** — GW170817 → BE-36 and the BE-23
|
|
305
|
+
Planckian-dissipation check (Legros et al. 2019, honest
|
|
306
|
+
aggregate-level encoding) have shipped; upgrading BE-23 to the
|
|
307
|
+
per-material α table is the next bounded step.
|
|
275
308
|
- **Three.js / game-engine class visualization** in a separate repo
|
|
276
309
|
(out of UPT scope per project decision; see
|
|
277
310
|
`docs/planning/Future-Production-Hardening.md`).
|
|
278
|
-
- **
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
311
|
+
- **Collaboration with physics researchers** — eight bounded review tasks
|
|
312
|
+
are waiting in [CONTRIBUTING.md](CONTRIBUTING.md), including the three
|
|
313
|
+
contested membership adjudications (BE-44/46/50) and the CI-1/CI-2
|
|
314
|
+
dynamic-scaling call surfaced by the orphan-connector analysis.
|
|
282
315
|
|
|
283
316
|
## Contributing
|
|
284
317
|
|
|
318
|
+
See **[CONTRIBUTING.md](CONTRIBUTING.md)** — it lists bounded,
|
|
319
|
+
no-code-required physics-review tasks (catalog adjudications, encoding
|
|
320
|
+
checks against the literature, quantity-identification reviews) plus
|
|
321
|
+
the dev quick-start, and explains the JSON catalog review surface.
|
|
322
|
+
|
|
285
323
|
Contributions are welcome, especially from:
|
|
286
324
|
- **Physicists** - Validate equations, suggest corrections, add physics insights
|
|
287
325
|
- **Mathematicians** - Verify formalism, improve rigor, suggest optimizations
|