universal-physics-tensor 0.25.0 → 0.29.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 +12 -5
- package/bin/upt.mjs +843 -751
- package/dist/bridges/be52-mercury-confrontation.d.ts +72 -0
- package/dist/bridges/be52-mercury-confrontation.d.ts.map +1 -0
- package/dist/bridges/be52-mercury-confrontation.js +67 -0
- package/dist/bridges/be52-mercury-confrontation.js.map +1 -0
- package/dist/bridges/confrontation-coverage.d.ts.map +1 -1
- package/dist/bridges/confrontation-coverage.js +4 -1
- package/dist/bridges/confrontation-coverage.js.map +1 -1
- package/dist/canonical/entries/atomic.d.ts +17 -0
- package/dist/canonical/entries/atomic.d.ts.map +1 -0
- package/dist/canonical/entries/atomic.js +71 -0
- package/dist/canonical/entries/atomic.js.map +1 -0
- package/dist/canonical/entries/electromagnetism.d.ts +18 -0
- package/dist/canonical/entries/electromagnetism.d.ts.map +1 -0
- package/dist/canonical/entries/electromagnetism.js +212 -0
- package/dist/canonical/entries/electromagnetism.js.map +1 -0
- package/dist/canonical/entries/fluids-waves.d.ts +18 -0
- package/dist/canonical/entries/fluids-waves.d.ts.map +1 -0
- package/dist/canonical/entries/fluids-waves.js +130 -0
- package/dist/canonical/entries/fluids-waves.js.map +1 -0
- package/dist/canonical/entries/mechanics.d.ts +18 -0
- package/dist/canonical/entries/mechanics.d.ts.map +1 -0
- package/dist/canonical/entries/mechanics.js +275 -0
- package/dist/canonical/entries/mechanics.js.map +1 -0
- package/dist/canonical/entries/thermo-nuclear-cosmo.d.ts +18 -0
- package/dist/canonical/entries/thermo-nuclear-cosmo.d.ts.map +1 -0
- package/dist/canonical/entries/thermo-nuclear-cosmo.js +56 -0
- package/dist/canonical/entries/thermo-nuclear-cosmo.js.map +1 -0
- package/dist/canonical/registry.d.ts.map +1 -1
- package/dist/canonical/registry.js +10 -0
- package/dist/canonical/registry.js.map +1 -1
- package/dist/composition/compose.d.ts.map +1 -1
- package/dist/composition/compose.js +14 -0
- package/dist/composition/compose.js.map +1 -1
- package/dist/composition/dimension-adjacency.d.ts +39 -0
- package/dist/composition/dimension-adjacency.d.ts.map +1 -0
- package/dist/composition/dimension-adjacency.js +44 -0
- package/dist/composition/dimension-adjacency.js.map +1 -0
- package/dist/composition/graph-viz.d.ts +1 -1
- package/dist/composition/graph-viz.d.ts.map +1 -1
- package/dist/composition/graph-viz.js +2 -0
- package/dist/composition/graph-viz.js.map +1 -1
- package/dist/composition/index.d.ts +5 -0
- package/dist/composition/index.d.ts.map +1 -1
- package/dist/composition/index.js +2 -0
- package/dist/composition/index.js.map +1 -1
- package/dist/composition/user-equation.d.ts +136 -0
- package/dist/composition/user-equation.d.ts.map +1 -0
- package/dist/composition/user-equation.js +247 -0
- package/dist/composition/user-equation.js.map +1 -0
- package/dist/dimensional/dimension-inference.d.ts +37 -0
- package/dist/dimensional/dimension-inference.d.ts.map +1 -0
- package/dist/dimensional/dimension-inference.js +79 -0
- package/dist/dimensional/dimension-inference.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/numerical/formula-dimension.d.ts +16 -1
- package/dist/numerical/formula-dimension.d.ts.map +1 -1
- package/dist/numerical/formula-dimension.js +116 -84
- package/dist/numerical/formula-dimension.js.map +1 -1
- package/dist/numerical/formula-registry.d.ts +11 -1
- package/dist/numerical/formula-registry.d.ts.map +1 -1
- package/dist/numerical/formula-registry.js +12 -0
- package/dist/numerical/formula-registry.js.map +1 -1
- package/package.json +92 -92
package/README.md
CHANGED
|
@@ -68,6 +68,7 @@ npm run upt -- canonical # the standard-physic
|
|
|
68
68
|
npm run upt -- recover # validate bridges against standard physics
|
|
69
69
|
npm run upt -- symbolic --simplify # compose + fold bridges' SYMBOLIC forms (MathTS simplify)
|
|
70
70
|
npm run upt -- map --source=both --format=mermaid # VISUAL map of the graph (Mermaid; also --format=dot|svg, --proposed, --out=PATH)
|
|
71
|
+
npm run upt -- map --equation "period = 2*pi*sqrt(length/gravity)" # drop YOUR OWN equation onto the map: dimensional check + where it lands
|
|
71
72
|
# ...and YOUR OWN equations:
|
|
72
73
|
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
|
|
73
74
|
npm run upt -- derive period:time length:length gravity:acceleration --formula "2*pi*sqrt(length/gravity)"
|
|
@@ -246,9 +247,10 @@ delivered a measured **5-6× RK4 geodesic-integrator speedup** (see [CHANGELOG](
|
|
|
246
247
|
|
|
247
248
|
## Development Status
|
|
248
249
|
|
|
249
|
-
**Current version:** v0.
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
**Current version:** v0.27.0 (GitHub release; npm `latest` is still
|
|
251
|
+
[v0.25.0](https://www.npmjs.com/package/universal-physics-tensor) — the
|
|
252
|
+
parser-consolidation program publishes to npm once all phases land) — building on
|
|
253
|
+
the **v0.8.0 → v0.23.0** rollup arc (composition
|
|
252
254
|
graph + GW170817 / BE-23 data confrontations + catalog adjudication, Part-IX
|
|
253
255
|
Phase C/D, the full catalog→graph migration, the bridge-inference +
|
|
254
256
|
symbolic-composition tooling, the G-9 geometrized-units adapters, the
|
|
@@ -264,12 +266,17 @@ cycle removed; the `numerical→bridges` upward dependency dropped). v0.25.0 add
|
|
|
264
266
|
**physics-map visualization** — `upt map --format=mermaid|dot|svg` renders the
|
|
265
267
|
graph (quantities = nodes, equations = junctions) from live data; SVG via the
|
|
266
268
|
optional `@viz-js/viz` peer (see
|
|
267
|
-
[`docs/architecture/PHYSICS_MAP.md`](docs/architecture/PHYSICS_MAP.md)).
|
|
269
|
+
[`docs/architecture/PHYSICS_MAP.md`](docs/architecture/PHYSICS_MAP.md)). v0.26.0
|
|
270
|
+
adds **`upt map --equation`** — drop your own equation onto the map, with
|
|
271
|
+
**dimensional validation** and a dimension-based "did you mean?" — backed by a
|
|
272
|
+
public **`parsePhysics`** (string → dimensional `ExprNode`) and single-unknown
|
|
273
|
+
dimensional inference. v0.27.0 **consolidates the ASTs** — both parser front-ends
|
|
274
|
+
now transpile through one normalized path to `ExprNode`, the single semantic IR.
|
|
268
275
|
|
|
269
276
|
| Metric | Value |
|
|
270
277
|
|---|---|
|
|
271
278
|
| 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) |
|
|
272
|
-
| Test suite | **
|
|
279
|
+
| Test suite | **2929** passing (4 skipped, 1 todo; incl. property-based algebra tests) across 283 files — gated by CI |
|
|
273
280
|
| `tsc --noEmit` | clean (src + strict `tsc -p tsconfig.tests.json`) |
|
|
274
281
|
| GR validation anchors | BE-52 Mercury perihelion relErr 1.8×10⁻⁷ · BE-37 Shapiro delay relErr ~2×10⁻⁸ |
|
|
275
282
|
| First derived relation | E_min(M) = ℏc³ln2/(8πGM) from BE-42 ∘ BE-16, relErr ≤ 10⁻¹² (pre-registered CT-1) |
|