universal-physics-tensor 0.47.1 → 1.0.1
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/LICENSE +21 -21
- package/README.md +396 -383
- package/bin/upt.mjs +7 -1
- package/dist/atlas/benchmark/hybrid-retrieval.d.ts +108 -0
- package/dist/atlas/benchmark/hybrid-retrieval.d.ts.map +1 -0
- package/dist/atlas/benchmark/hybrid-retrieval.js +241 -0
- package/dist/atlas/benchmark/hybrid-retrieval.js.map +1 -0
- package/dist/atlas/catalog-formal-ref.d.ts +24 -0
- package/dist/atlas/catalog-formal-ref.d.ts.map +1 -0
- package/dist/atlas/catalog-formal-ref.js +36 -0
- package/dist/atlas/catalog-formal-ref.js.map +1 -0
- package/dist/atlas/composition-table.d.ts +11 -46
- package/dist/atlas/composition-table.d.ts.map +1 -1
- package/dist/atlas/composition-table.js +7 -124
- package/dist/atlas/composition-table.js.map +1 -1
- package/dist/atlas/conventions.d.ts +4 -58
- package/dist/atlas/conventions.d.ts.map +1 -1
- package/dist/atlas/conventions.js +3 -88
- package/dist/atlas/conventions.js.map +1 -1
- package/dist/atlas/derive-evidence.d.ts +50 -3
- package/dist/atlas/derive-evidence.d.ts.map +1 -1
- package/dist/atlas/derive-evidence.js +73 -4
- package/dist/atlas/derive-evidence.js.map +1 -1
- package/dist/atlas/diffusion/bridges-closure.d.ts.map +1 -1
- package/dist/atlas/diffusion/bridges-closure.js +5 -1
- package/dist/atlas/diffusion/bridges-closure.js.map +1 -1
- package/dist/atlas/index.d.ts +9 -7
- package/dist/atlas/index.d.ts.map +1 -1
- package/dist/atlas/index.js +6 -5
- package/dist/atlas/index.js.map +1 -1
- package/dist/atlas/oscillators/bridges-exact.d.ts.map +1 -1
- package/dist/atlas/oscillators/bridges-exact.js +6 -0
- package/dist/atlas/oscillators/bridges-exact.js.map +1 -1
- package/dist/atlas/oscillators/bridges-limits.d.ts +2 -0
- package/dist/atlas/oscillators/bridges-limits.d.ts.map +1 -1
- package/dist/atlas/oscillators/bridges-limits.js +11 -19
- package/dist/atlas/oscillators/bridges-limits.js.map +1 -1
- package/dist/atlas/oscillators/limit-witnesses.d.ts +93 -0
- package/dist/atlas/oscillators/limit-witnesses.d.ts.map +1 -0
- package/dist/atlas/oscillators/limit-witnesses.js +152 -0
- package/dist/atlas/oscillators/limit-witnesses.js.map +1 -0
- package/dist/atlas/oscillators/models.d.ts +2 -1
- package/dist/atlas/oscillators/models.d.ts.map +1 -1
- package/dist/atlas/oscillators/models.js +4 -3
- package/dist/atlas/oscillators/models.js.map +1 -1
- package/dist/atlas/oscillators/norm-transport-witness.d.ts +37 -0
- package/dist/atlas/oscillators/norm-transport-witness.d.ts.map +1 -0
- package/dist/atlas/oscillators/norm-transport-witness.js +58 -0
- package/dist/atlas/oscillators/norm-transport-witness.js.map +1 -0
- package/dist/atlas/oscillators/norm-transport.d.ts +44 -0
- package/dist/atlas/oscillators/norm-transport.d.ts.map +1 -0
- package/dist/atlas/oscillators/norm-transport.js +66 -0
- package/dist/atlas/oscillators/norm-transport.js.map +1 -0
- package/dist/atlas/oscillators/norms.d.ts +11 -0
- package/dist/atlas/oscillators/norms.d.ts.map +1 -0
- package/dist/atlas/oscillators/norms.js +11 -0
- package/dist/atlas/oscillators/norms.js.map +1 -0
- package/dist/atlas/oscillators/pendulum-motion.d.ts +38 -0
- package/dist/atlas/oscillators/pendulum-motion.d.ts.map +1 -0
- package/dist/atlas/oscillators/pendulum-motion.js +122 -0
- package/dist/atlas/oscillators/pendulum-motion.js.map +1 -0
- package/dist/atlas/oscillators/phase-carriage.d.ts +38 -0
- package/dist/atlas/oscillators/phase-carriage.d.ts.map +1 -0
- package/dist/atlas/oscillators/phase-carriage.js +96 -0
- package/dist/atlas/oscillators/phase-carriage.js.map +1 -0
- package/dist/atlas/oscillators/phase-translation.d.ts +46 -0
- package/dist/atlas/oscillators/phase-translation.d.ts.map +1 -0
- package/dist/atlas/oscillators/phase-translation.js +178 -0
- package/dist/atlas/oscillators/phase-translation.js.map +1 -0
- package/dist/atlas/oscillators/position-translation.d.ts +59 -0
- package/dist/atlas/oscillators/position-translation.d.ts.map +1 -0
- package/dist/atlas/oscillators/position-translation.js +254 -0
- package/dist/atlas/oscillators/position-translation.js.map +1 -0
- package/dist/atlas/path-bound.d.ts +126 -9
- package/dist/atlas/path-bound.d.ts.map +1 -1
- package/dist/atlas/path-bound.js +372 -23
- package/dist/atlas/path-bound.js.map +1 -1
- package/dist/atlas/physjs-ref.d.ts +112 -0
- package/dist/atlas/physjs-ref.d.ts.map +1 -0
- package/dist/atlas/physjs-ref.js +842 -0
- package/dist/atlas/physjs-ref.js.map +1 -0
- package/dist/atlas/regime.d.ts +12 -136
- package/dist/atlas/regime.d.ts.map +1 -1
- package/dist/atlas/regime.js +8 -254
- package/dist/atlas/regime.js.map +1 -1
- package/dist/atlas/serialize.d.ts.map +1 -1
- package/dist/atlas/serialize.js +25 -0
- package/dist/atlas/serialize.js.map +1 -1
- package/dist/atlas/translation-registry.d.ts +22 -0
- package/dist/atlas/translation-registry.d.ts.map +1 -0
- package/dist/atlas/translation-registry.js +31 -0
- package/dist/atlas/translation-registry.js.map +1 -0
- package/dist/atlas/translation.d.ts +116 -0
- package/dist/atlas/translation.d.ts.map +1 -0
- package/dist/atlas/translation.js +34 -0
- package/dist/atlas/translation.js.map +1 -0
- package/dist/atlas/types.d.ts +74 -240
- package/dist/atlas/types.d.ts.map +1 -1
- package/dist/atlas/types.js +5 -37
- package/dist/atlas/types.js.map +1 -1
- package/dist/atlas/waves/bridges-closure.d.ts.map +1 -1
- package/dist/atlas/waves/bridges-closure.js +4 -0
- package/dist/atlas/waves/bridges-closure.js.map +1 -1
- package/dist/atlas/waves/bridges.d.ts.map +1 -1
- package/dist/atlas/waves/bridges.js +3 -0
- package/dist/atlas/waves/bridges.js.map +1 -1
- package/dist/atlas/waves/models.js +1 -1
- package/dist/atlas/waves/models.js.map +1 -1
- package/dist/atlas/witness-dominance.d.ts +50 -0
- package/dist/atlas/witness-dominance.d.ts.map +1 -0
- package/dist/atlas/witness-dominance.js +86 -0
- package/dist/atlas/witness-dominance.js.map +1 -0
- package/dist/atlas/witness-specs.d.ts +30 -0
- package/dist/atlas/witness-specs.d.ts.map +1 -1
- package/dist/atlas/witness-specs.js +107 -0
- package/dist/atlas/witness-specs.js.map +1 -1
- package/dist/bridges/be53-yang-mills-confrontation.d.ts +81 -0
- package/dist/bridges/be53-yang-mills-confrontation.d.ts.map +1 -0
- package/dist/bridges/be53-yang-mills-confrontation.js +110 -0
- package/dist/bridges/be53-yang-mills-confrontation.js.map +1 -0
- package/dist/bridges/confrontations.d.ts +1 -1
- package/dist/bridges/confrontations.d.ts.map +1 -1
- package/dist/bridges/confrontations.js +291 -3
- package/dist/bridges/confrontations.js.map +1 -1
- package/dist/bridges/equations/be-13-einstein-trace.d.ts +2 -3
- package/dist/bridges/equations/be-13-einstein-trace.d.ts.map +1 -1
- package/dist/bridges/equations/be-13-einstein-trace.js +2 -3
- package/dist/bridges/equations/be-13-einstein-trace.js.map +1 -1
- package/dist/bridges/equations/be-38-mond.d.ts +7 -5
- package/dist/bridges/equations/be-38-mond.d.ts.map +1 -1
- package/dist/bridges/equations/be-38-mond.js +7 -5
- package/dist/bridges/equations/be-38-mond.js.map +1 -1
- package/dist/bridges/equations/be-53-yang-mills-beta.d.ts +21 -0
- package/dist/bridges/equations/be-53-yang-mills-beta.d.ts.map +1 -1
- package/dist/bridges/equations/be-53-yang-mills-beta.js +12 -0
- package/dist/bridges/equations/be-53-yang-mills-beta.js.map +1 -1
- package/dist/bridges/evaluator-inputs.d.ts +21 -0
- package/dist/bridges/evaluator-inputs.d.ts.map +1 -0
- package/dist/bridges/evaluator-inputs.js +75 -0
- package/dist/bridges/evaluator-inputs.js.map +1 -0
- package/dist/bridges/evaluators.d.ts +38 -0
- package/dist/bridges/evaluators.d.ts.map +1 -1
- package/dist/bridges/evaluators.js +41 -15
- package/dist/bridges/evaluators.js.map +1 -1
- package/dist/bridges/gravitational-lensing.d.ts +1 -1
- package/dist/bridges/gravitational-lensing.js +1 -1
- package/dist/bridges/index.d.ts +1 -1
- package/dist/bridges/index.d.ts.map +1 -1
- package/dist/bridges/index.js +13 -13
- package/dist/bridges/index.js.map +1 -1
- package/dist/bridges/observations/types.d.ts +110 -2
- package/dist/bridges/observations/types.d.ts.map +1 -1
- package/dist/bridges/observations/types.js +29 -0
- package/dist/bridges/observations/types.js.map +1 -1
- package/dist/bridges/perihelion-precession.d.ts +1 -1
- package/dist/bridges/perihelion-precession.js +1 -1
- package/dist/canonical/canonical-equation.d.ts +1 -1
- package/dist/canonical/canonical-equation.d.ts.map +1 -1
- package/dist/canonical/entries/atomic.d.ts.map +1 -1
- package/dist/canonical/entries/atomic.js +32 -10
- package/dist/canonical/entries/atomic.js.map +1 -1
- package/dist/canonical/entries/dimensional-classics.js +2 -2
- package/dist/canonical/entries/dimensional-classics.js.map +1 -1
- package/dist/canonical/entries/mechanics.d.ts.map +1 -1
- package/dist/canonical/entries/mechanics.js +10 -6
- package/dist/canonical/entries/mechanics.js.map +1 -1
- package/dist/canonical/entries/relativity.d.ts.map +1 -1
- package/dist/canonical/entries/relativity.js +41 -8
- package/dist/canonical/entries/relativity.js.map +1 -1
- package/dist/canonical/entries/thermo-nuclear-cosmo.js +5 -5
- package/dist/canonical/entries/thermo-nuclear-cosmo.js.map +1 -1
- package/dist/canonical/linkage.d.ts.map +1 -1
- package/dist/canonical/linkage.js +14 -8
- package/dist/canonical/linkage.js.map +1 -1
- package/dist/canonical/normal-form.d.ts +17 -0
- package/dist/canonical/normal-form.d.ts.map +1 -1
- package/dist/canonical/normal-form.js +21 -4
- package/dist/canonical/normal-form.js.map +1 -1
- package/dist/cases/brownian-sphere.d.ts +68 -0
- package/dist/cases/brownian-sphere.d.ts.map +1 -0
- package/dist/cases/brownian-sphere.js +353 -0
- package/dist/cases/brownian-sphere.js.map +1 -0
- package/dist/cases/damped-resonator.d.ts +23 -0
- package/dist/cases/damped-resonator.d.ts.map +1 -0
- package/dist/cases/damped-resonator.js +224 -0
- package/dist/cases/damped-resonator.js.map +1 -0
- package/dist/cases/index.d.ts +11 -0
- package/dist/cases/index.d.ts.map +1 -0
- package/dist/cases/index.js +29 -0
- package/dist/cases/index.js.map +1 -0
- package/dist/cases/kepler-rv.d.ts +13 -0
- package/dist/cases/kepler-rv.d.ts.map +1 -0
- package/dist/cases/kepler-rv.js +168 -0
- package/dist/cases/kepler-rv.js.map +1 -0
- package/dist/cases/lumped-cooling.d.ts +46 -0
- package/dist/cases/lumped-cooling.d.ts.map +1 -0
- package/dist/cases/lumped-cooling.js +261 -0
- package/dist/cases/lumped-cooling.js.map +1 -0
- package/dist/cases/quadrature.d.ts +14 -0
- package/dist/cases/quadrature.d.ts.map +1 -0
- package/dist/cases/quadrature.js +41 -0
- package/dist/cases/quadrature.js.map +1 -0
- package/dist/cases/resistor-noise.d.ts +14 -0
- package/dist/cases/resistor-noise.d.ts.map +1 -0
- package/dist/cases/resistor-noise.js +210 -0
- package/dist/cases/resistor-noise.js.map +1 -0
- package/dist/cases/skin-depth.d.ts +21 -0
- package/dist/cases/skin-depth.d.ts.map +1 -0
- package/dist/cases/skin-depth.js +174 -0
- package/dist/cases/skin-depth.js.map +1 -0
- package/dist/cases/types.d.ts +115 -0
- package/dist/cases/types.d.ts.map +1 -0
- package/dist/cases/types.js +20 -0
- package/dist/cases/types.js.map +1 -0
- package/dist/cli/commands/_atlas-map.d.ts +409 -0
- package/dist/cli/commands/_atlas-map.d.ts.map +1 -0
- package/dist/cli/commands/_atlas-map.js +1014 -0
- package/dist/cli/commands/_atlas-map.js.map +1 -0
- package/dist/cli/commands/_atlas-route.d.ts +111 -0
- package/dist/cli/commands/_atlas-route.d.ts.map +1 -0
- package/dist/cli/commands/_atlas-route.js +140 -0
- package/dist/cli/commands/_atlas-route.js.map +1 -0
- package/dist/cli/commands/_discovery-opts.d.ts.map +1 -1
- package/dist/cli/commands/_discovery-opts.js +10 -1
- package/dist/cli/commands/_discovery-opts.js.map +1 -1
- package/dist/cli/commands/atlas.d.ts +20 -0
- package/dist/cli/commands/atlas.d.ts.map +1 -1
- package/dist/cli/commands/atlas.js +333 -19
- package/dist/cli/commands/atlas.js.map +1 -1
- package/dist/cli/commands/audit.d.ts.map +1 -1
- package/dist/cli/commands/audit.js +12 -3
- package/dist/cli/commands/audit.js.map +1 -1
- package/dist/cli/commands/axes.js +4 -4
- package/dist/cli/commands/candidates.d.ts.map +1 -1
- package/dist/cli/commands/candidates.js +3 -2
- package/dist/cli/commands/candidates.js.map +1 -1
- package/dist/cli/commands/canonical.d.ts.map +1 -1
- package/dist/cli/commands/canonical.js +39 -10
- package/dist/cli/commands/canonical.js.map +1 -1
- package/dist/cli/commands/confront.d.ts.map +1 -1
- package/dist/cli/commands/confront.js +210 -28
- package/dist/cli/commands/confront.js.map +1 -1
- package/dist/cli/commands/connectors.d.ts.map +1 -1
- package/dist/cli/commands/connectors.js +5 -4
- package/dist/cli/commands/connectors.js.map +1 -1
- package/dist/cli/commands/coverage.js +3 -3
- package/dist/cli/commands/derive.d.ts.map +1 -1
- package/dist/cli/commands/derive.js +21 -9
- package/dist/cli/commands/derive.js.map +1 -1
- package/dist/cli/commands/discover.d.ts.map +1 -1
- package/dist/cli/commands/discover.js +149 -32
- package/dist/cli/commands/discover.js.map +1 -1
- package/dist/cli/commands/eval.d.ts.map +1 -1
- package/dist/cli/commands/eval.js +76 -17
- package/dist/cli/commands/eval.js.map +1 -1
- package/dist/cli/commands/evaluate.d.ts +30 -0
- package/dist/cli/commands/evaluate.d.ts.map +1 -1
- package/dist/cli/commands/evaluate.js +440 -25
- package/dist/cli/commands/evaluate.js.map +1 -1
- package/dist/cli/commands/explain.d.ts.map +1 -1
- package/dist/cli/commands/explain.js +38 -11
- package/dist/cli/commands/explain.js.map +1 -1
- package/dist/cli/commands/frontier.d.ts +3 -0
- package/dist/cli/commands/frontier.d.ts.map +1 -0
- package/dist/cli/commands/frontier.js +28 -0
- package/dist/cli/commands/frontier.js.map +1 -0
- package/dist/cli/commands/ground.d.ts.map +1 -1
- package/dist/cli/commands/ground.js +37 -12
- package/dist/cli/commands/ground.js.map +1 -1
- package/dist/cli/commands/index.d.ts +5 -0
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +5 -0
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/map.d.ts +8 -0
- package/dist/cli/commands/map.d.ts.map +1 -1
- package/dist/cli/commands/map.js +385 -57
- package/dist/cli/commands/map.js.map +1 -1
- package/dist/cli/commands/metric.d.ts +3 -0
- package/dist/cli/commands/metric.d.ts.map +1 -0
- package/dist/cli/commands/metric.js +136 -0
- package/dist/cli/commands/metric.js.map +1 -0
- package/dist/cli/commands/path.d.ts +109 -1
- package/dist/cli/commands/path.d.ts.map +1 -1
- package/dist/cli/commands/path.js +1019 -109
- package/dist/cli/commands/path.js.map +1 -1
- package/dist/cli/commands/predict.d.ts.map +1 -1
- package/dist/cli/commands/predict.js +3 -2
- package/dist/cli/commands/predict.js.map +1 -1
- package/dist/cli/commands/priority.d.ts.map +1 -1
- package/dist/cli/commands/priority.js +3 -2
- package/dist/cli/commands/priority.js.map +1 -1
- package/dist/cli/commands/probe.d.ts +7 -0
- package/dist/cli/commands/probe.d.ts.map +1 -1
- package/dist/cli/commands/probe.js +234 -52
- package/dist/cli/commands/probe.js.map +1 -1
- package/dist/cli/commands/recover.d.ts.map +1 -1
- package/dist/cli/commands/recover.js +17 -6
- package/dist/cli/commands/recover.js.map +1 -1
- package/dist/cli/commands/regime.d.ts +1 -1
- package/dist/cli/commands/regime.d.ts.map +1 -1
- package/dist/cli/commands/regime.js +134 -33
- package/dist/cli/commands/regime.js.map +1 -1
- package/dist/cli/commands/retrieve.d.ts +3 -0
- package/dist/cli/commands/retrieve.d.ts.map +1 -0
- package/dist/cli/commands/retrieve.js +65 -0
- package/dist/cli/commands/retrieve.js.map +1 -0
- package/dist/cli/commands/search.d.ts +3 -0
- package/dist/cli/commands/search.d.ts.map +1 -0
- package/dist/cli/commands/search.js +70 -0
- package/dist/cli/commands/search.js.map +1 -0
- package/dist/cli/commands/symbolic.d.ts.map +1 -1
- package/dist/cli/commands/symbolic.js +107 -16
- package/dist/cli/commands/symbolic.js.map +1 -1
- package/dist/cli/commands/testplan.d.ts +3 -0
- package/dist/cli/commands/testplan.d.ts.map +1 -0
- package/dist/cli/commands/testplan.js +131 -0
- package/dist/cli/commands/testplan.js.map +1 -0
- package/dist/cli/conventions.d.ts +22 -0
- package/dist/cli/conventions.d.ts.map +1 -0
- package/dist/cli/conventions.js +48 -0
- package/dist/cli/conventions.js.map +1 -0
- package/dist/cli/euler-guard.d.ts +9 -0
- package/dist/cli/euler-guard.d.ts.map +1 -0
- package/dist/cli/euler-guard.js +11 -0
- package/dist/cli/euler-guard.js.map +1 -0
- package/dist/cli/eval-numbers.d.ts +26 -0
- package/dist/cli/eval-numbers.d.ts.map +1 -0
- package/dist/cli/eval-numbers.js +49 -0
- package/dist/cli/eval-numbers.js.map +1 -0
- package/dist/cli/expr-print.d.ts +25 -0
- package/dist/cli/expr-print.d.ts.map +1 -0
- package/dist/cli/expr-print.js +123 -0
- package/dist/cli/expr-print.js.map +1 -0
- package/dist/cli/graphs.d.ts +26 -0
- package/dist/cli/graphs.d.ts.map +1 -1
- package/dist/cli/graphs.js +19 -0
- package/dist/cli/graphs.js.map +1 -1
- package/dist/cli/main.d.ts +4 -10
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +370 -167
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/map-evidence.d.ts +47 -0
- package/dist/cli/map-evidence.d.ts.map +1 -0
- package/dist/cli/map-evidence.js +53 -0
- package/dist/cli/map-evidence.js.map +1 -0
- package/dist/cli/output.d.ts +21 -1
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +5 -1
- package/dist/cli/output.js.map +1 -1
- package/dist/{composition → cli}/poster-source.d.ts +3 -2
- package/dist/cli/poster-source.d.ts.map +1 -0
- package/dist/{composition → cli}/poster-source.js +2 -1
- package/dist/cli/poster-source.js.map +1 -0
- package/dist/cli/record-reach.d.ts +44 -0
- package/dist/cli/record-reach.d.ts.map +1 -0
- package/dist/cli/record-reach.js +228 -0
- package/dist/cli/record-reach.js.map +1 -0
- package/dist/cli/record-tables.d.ts +38 -0
- package/dist/cli/record-tables.d.ts.map +1 -0
- package/dist/cli/record-tables.js +110 -0
- package/dist/cli/record-tables.js.map +1 -0
- package/dist/cli/record.d.ts +141 -0
- package/dist/cli/record.d.ts.map +1 -0
- package/dist/cli/record.js +612 -0
- package/dist/cli/record.js.map +1 -0
- package/dist/cli/search-index.d.ts +56 -0
- package/dist/cli/search-index.d.ts.map +1 -0
- package/dist/cli/search-index.js +190 -0
- package/dist/cli/search-index.js.map +1 -0
- package/dist/cli/statuses.d.ts +25 -0
- package/dist/cli/statuses.d.ts.map +1 -0
- package/dist/cli/statuses.js +276 -0
- package/dist/cli/statuses.js.map +1 -0
- package/dist/cli/version.d.ts +8 -0
- package/dist/cli/version.d.ts.map +1 -1
- package/dist/cli/version.js +32 -1
- package/dist/cli/version.js.map +1 -1
- package/dist/cli-api.d.ts +33 -15
- package/dist/cli-api.d.ts.map +1 -1
- package/dist/cli-api.js +31 -11
- package/dist/cli-api.js.map +1 -1
- package/dist/composition/bridge-analysis.d.ts.map +1 -1
- package/dist/composition/bridge-analysis.js +2 -1
- package/dist/composition/bridge-analysis.js.map +1 -1
- package/dist/composition/canonical-compare.d.ts +29 -16
- package/dist/composition/canonical-compare.d.ts.map +1 -1
- package/dist/composition/canonical-compare.js +355 -59
- package/dist/composition/canonical-compare.js.map +1 -1
- package/dist/composition/canonical-graph.d.ts +2 -2
- package/dist/composition/canonical-graph.js +3 -3
- package/dist/composition/canonical-graph.js.map +1 -1
- package/dist/composition/canonical-prefactors.d.ts +24 -1
- package/dist/composition/canonical-prefactors.d.ts.map +1 -1
- package/dist/composition/canonical-prefactors.js +97 -1
- package/dist/composition/canonical-prefactors.js.map +1 -1
- package/dist/composition/compose-symbolic.js +1 -1
- package/dist/composition/compose-symbolic.js.map +1 -1
- package/dist/composition/compose.d.ts.map +1 -1
- package/dist/composition/compose.js +17 -9
- package/dist/composition/compose.js.map +1 -1
- package/dist/composition/composition-recovery.d.ts +47 -0
- package/dist/composition/composition-recovery.d.ts.map +1 -0
- package/dist/composition/composition-recovery.js +77 -0
- package/dist/composition/composition-recovery.js.map +1 -0
- package/dist/composition/consequence.d.ts +39 -0
- package/dist/composition/consequence.d.ts.map +1 -1
- package/dist/composition/consequence.js +37 -0
- package/dist/composition/consequence.js.map +1 -1
- package/dist/composition/discovery.d.ts +20 -0
- package/dist/composition/discovery.d.ts.map +1 -1
- package/dist/composition/discovery.js +27 -5
- package/dist/composition/discovery.js.map +1 -1
- package/dist/composition/edge.d.ts +1 -1
- package/dist/composition/edge.d.ts.map +1 -1
- package/dist/composition/edge.js.map +1 -1
- package/dist/composition/edges/_catalog-helpers.d.ts +4 -0
- package/dist/composition/edges/_catalog-helpers.d.ts.map +1 -1
- package/dist/composition/edges/_catalog-helpers.js +15 -0
- package/dist/composition/edges/_catalog-helpers.js.map +1 -1
- package/dist/composition/edges/calibration.d.ts.map +1 -1
- package/dist/composition/edges/calibration.js +57 -0
- package/dist/composition/edges/calibration.js.map +1 -1
- package/dist/composition/edges/catalog-fields.d.ts.map +1 -1
- package/dist/composition/edges/catalog-fields.js +2 -1
- package/dist/composition/edges/catalog-fields.js.map +1 -1
- package/dist/composition/edges/catalog-gravitation-cosmology.d.ts.map +1 -1
- package/dist/composition/edges/catalog-gravitation-cosmology.js +2 -1
- package/dist/composition/edges/catalog-gravitation-cosmology.js.map +1 -1
- package/dist/composition/edges/catalog-quantum.d.ts.map +1 -1
- package/dist/composition/edges/catalog-quantum.js +26 -0
- package/dist/composition/edges/catalog-quantum.js.map +1 -1
- package/dist/composition/edges/catalog-tranche.d.ts.map +1 -1
- package/dist/composition/edges/catalog-tranche.js +2 -1
- package/dist/composition/edges/catalog-tranche.js.map +1 -1
- package/dist/composition/expr-eval.d.ts.map +1 -1
- package/dist/composition/expr-eval.js +4 -1
- package/dist/composition/expr-eval.js.map +1 -1
- package/dist/composition/expr-simplify.js +1 -1
- package/dist/composition/expr-simplify.js.map +1 -1
- package/dist/composition/frontier-account.d.ts +78 -0
- package/dist/composition/frontier-account.d.ts.map +1 -0
- package/dist/composition/frontier-account.js +127 -0
- package/dist/composition/frontier-account.js.map +1 -0
- package/dist/composition/graph-viz.d.ts +7 -22
- package/dist/composition/graph-viz.d.ts.map +1 -1
- package/dist/composition/graph-viz.js +4 -27
- package/dist/composition/graph-viz.js.map +1 -1
- package/dist/composition/grounding.d.ts +49 -0
- package/dist/composition/grounding.d.ts.map +1 -1
- package/dist/composition/grounding.js +38 -0
- package/dist/composition/grounding.js.map +1 -1
- package/dist/composition/index.d.ts +0 -2
- package/dist/composition/index.d.ts.map +1 -1
- package/dist/composition/index.js +1 -1
- package/dist/composition/index.js.map +1 -1
- package/dist/composition/probe/expression-gaps.d.ts +27 -0
- package/dist/composition/probe/expression-gaps.d.ts.map +1 -0
- package/dist/composition/probe/expression-gaps.js +47 -0
- package/dist/composition/probe/expression-gaps.js.map +1 -0
- package/dist/composition/probe/frontier.d.ts +2 -1
- package/dist/composition/probe/frontier.d.ts.map +1 -1
- package/dist/composition/probe/frontier.js +3 -2
- package/dist/composition/probe/frontier.js.map +1 -1
- package/dist/composition/probe/index.d.ts +4 -1
- package/dist/composition/probe/index.d.ts.map +1 -1
- package/dist/composition/probe/index.js +3 -1
- package/dist/composition/probe/index.js.map +1 -1
- package/dist/composition/probe/pipeline.d.ts +2 -0
- package/dist/composition/probe/pipeline.d.ts.map +1 -1
- package/dist/composition/probe/pipeline.js +6 -2
- package/dist/composition/probe/pipeline.js.map +1 -1
- package/dist/composition/probe/problem.d.ts +7 -0
- package/dist/composition/probe/problem.d.ts.map +1 -1
- package/dist/composition/probe/problem.js +15 -5
- package/dist/composition/probe/problem.js.map +1 -1
- package/dist/composition/probe/search-budget.d.ts.map +1 -1
- package/dist/composition/probe/search-budget.js +6 -2
- package/dist/composition/probe/search-budget.js.map +1 -1
- package/dist/composition/probe/study.d.ts +340 -0
- package/dist/composition/probe/study.d.ts.map +1 -0
- package/dist/composition/probe/study.js +1519 -0
- package/dist/composition/probe/study.js.map +1 -0
- package/dist/composition/proposed-bridges.js +1 -1
- package/dist/composition/proposed-bridges.js.map +1 -1
- package/dist/composition/quantities.d.ts +4 -16
- package/dist/composition/quantities.d.ts.map +1 -1
- package/dist/composition/quantities.js +4 -16
- package/dist/composition/quantities.js.map +1 -1
- package/dist/composition/retrodiction.d.ts.map +1 -1
- package/dist/composition/retrodiction.js +6 -2
- package/dist/composition/retrodiction.js.map +1 -1
- package/dist/composition/uncertainty.d.ts +1 -1
- package/dist/composition/uncertainty.d.ts.map +1 -1
- package/dist/composition/user-equation.d.ts +79 -8
- package/dist/composition/user-equation.d.ts.map +1 -1
- package/dist/composition/user-equation.js +224 -32
- package/dist/composition/user-equation.js.map +1 -1
- package/dist/core/constants.d.ts +9 -4
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +9 -4
- package/dist/core/constants.js.map +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +2 -1
- package/dist/core/types.js.map +1 -1
- package/dist/dimensional/curvature.d.ts +7 -56
- package/dist/dimensional/curvature.d.ts.map +1 -1
- package/dist/dimensional/curvature.js +7 -76
- package/dist/dimensional/curvature.js.map +1 -1
- package/dist/dimensional/dimension-spec.d.ts +7 -1
- package/dist/dimensional/dimension-spec.d.ts.map +1 -1
- package/dist/dimensional/dimension-spec.js +131 -3
- package/dist/dimensional/dimension-spec.js.map +1 -1
- package/dist/dimensional/formula-names.d.ts +30 -0
- package/dist/dimensional/formula-names.d.ts.map +1 -0
- package/dist/dimensional/formula-names.js +37 -0
- package/dist/dimensional/formula-names.js.map +1 -0
- package/dist/dimensional/natural-units.d.ts +33 -0
- package/dist/dimensional/natural-units.d.ts.map +1 -0
- package/dist/dimensional/natural-units.js +58 -0
- package/dist/dimensional/natural-units.js.map +1 -0
- package/dist/{composition → dimensional}/symbolic-constants.d.ts +21 -2
- package/dist/dimensional/symbolic-constants.d.ts.map +1 -0
- package/dist/dimensional/symbolic-constants.js +116 -0
- package/dist/dimensional/symbolic-constants.js.map +1 -0
- package/dist/dimensional/unit-convention.d.ts +30 -0
- package/dist/dimensional/unit-convention.d.ts.map +1 -0
- package/dist/dimensional/unit-convention.js +60 -0
- package/dist/dimensional/unit-convention.js.map +1 -0
- package/dist/dimensional/units.d.ts +43 -0
- package/dist/dimensional/units.d.ts.map +1 -0
- package/dist/dimensional/units.js +197 -0
- package/dist/dimensional/units.js.map +1 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/numerical/bianchi-residual.d.ts +55 -0
- package/dist/numerical/bianchi-residual.d.ts.map +1 -0
- package/dist/numerical/bianchi-residual.js +79 -0
- package/dist/numerical/bianchi-residual.js.map +1 -0
- package/dist/numerical/binding-value.d.ts +67 -0
- package/dist/numerical/binding-value.d.ts.map +1 -0
- package/dist/numerical/binding-value.js +347 -0
- package/dist/numerical/binding-value.js.map +1 -0
- package/dist/numerical/connection-lowering-helpers.d.ts.map +1 -1
- package/dist/numerical/connection-lowering-helpers.js +13 -26
- package/dist/numerical/connection-lowering-helpers.js.map +1 -1
- package/dist/numerical/curvature-lowering-helpers.d.ts.map +1 -1
- package/dist/numerical/curvature-lowering-helpers.js +9 -0
- package/dist/numerical/curvature-lowering-helpers.js.map +1 -1
- package/dist/numerical/float64-engine.d.ts.map +1 -1
- package/dist/numerical/float64-engine.js +23 -16
- package/dist/numerical/float64-engine.js.map +1 -1
- package/dist/numerical/formula-dimension.d.ts +7 -0
- package/dist/numerical/formula-dimension.d.ts.map +1 -1
- package/dist/numerical/formula-dimension.js +23 -6
- package/dist/numerical/formula-dimension.js.map +1 -1
- package/dist/numerical/formula-mathts.d.ts.map +1 -1
- package/dist/numerical/formula-mathts.js +68 -6
- package/dist/numerical/formula-mathts.js.map +1 -1
- package/dist/numerical/formula.d.ts +27 -0
- package/dist/numerical/formula.d.ts.map +1 -1
- package/dist/numerical/formula.js +68 -6
- package/dist/numerical/formula.js.map +1 -1
- package/dist/numerical/spacetime-metrics.d.ts +243 -0
- package/dist/numerical/spacetime-metrics.d.ts.map +1 -0
- package/dist/numerical/spacetime-metrics.js +1056 -0
- package/dist/numerical/spacetime-metrics.js.map +1 -0
- package/dist/relations/composition-table.d.ts +61 -0
- package/dist/relations/composition-table.d.ts.map +1 -0
- package/dist/relations/composition-table.js +140 -0
- package/dist/relations/composition-table.js.map +1 -0
- package/dist/relations/conventions.d.ts +63 -0
- package/dist/relations/conventions.d.ts.map +1 -0
- package/dist/relations/conventions.js +93 -0
- package/dist/relations/conventions.js.map +1 -0
- package/dist/relations/regime.d.ts +159 -0
- package/dist/relations/regime.d.ts.map +1 -0
- package/dist/relations/regime.js +304 -0
- package/dist/relations/regime.js.map +1 -0
- package/dist/relations/types.d.ts +259 -0
- package/dist/relations/types.d.ts.map +1 -0
- package/dist/relations/types.js +37 -0
- package/dist/relations/types.js.map +1 -0
- package/package.json +166 -163
- package/dist/composition/poster-source.d.ts.map +0 -1
- package/dist/composition/poster-source.js.map +0 -1
- package/dist/composition/symbolic-constants.d.ts.map +0 -1
- package/dist/composition/symbolic-constants.js +0 -65
- package/dist/composition/symbolic-constants.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-registry.js","sourceRoot":"","sources":["../../src/atlas/translation-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB,GAAqC,CAAC,0BAA0B,EAAE,6BAA6B,CAAC,CAAC;AAErI,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAkC,CAAC,wBAAwB,CAAC,CAAC;AAE9F,6EAA6E;AAC7E,MAAM,UAAU,cAAc,CAAC,QAAgB;IAC7C,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACxE,CAAC;AAED,wFAAwF;AACxF,MAAM,UAAU,UAAU,CAAC,QAAgB,EAAE,UAAkB;IAC7D,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,IAAI,CAAC,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;AAClG,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,mBAAmB,CAAC,KAAuB;IACzD,OAAO,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;AACjF,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A bridge's declared translation of its bound's quantity into ANOTHER
|
|
3
|
+
* observable (CLI audit §14 item 8).
|
|
4
|
+
*
|
|
5
|
+
* A bound is stated in one norm. A user asking for a tolerance in a different
|
|
6
|
+
* observable is asking a different question, and the answer is only as good
|
|
7
|
+
* as the map between the two. So the map is a record of its own: declared per
|
|
8
|
+
* bridge, with its derivation, its premises, what it does NOT cover, and its
|
|
9
|
+
* own witnesses. Its evidence is derived from those witnesses and is never the
|
|
10
|
+
* bound's: a translation that rests on a numerically-supported check does not
|
|
11
|
+
* inherit a proof the bound's transformation may carry, and it carries no
|
|
12
|
+
* `formalRef`.
|
|
13
|
+
*
|
|
14
|
+
* Both maps take the bound's own quantity as an argument, so the same
|
|
15
|
+
* translation serves the point value (`deltaAt`) and the domain supremum
|
|
16
|
+
* (`delta`). That is sound only when the translated error is monotone
|
|
17
|
+
* non-decreasing in the bound's quantity, which `derivation` must state.
|
|
18
|
+
*
|
|
19
|
+
* A translation is either the error itself (`'exact'`) or an upper bound on
|
|
20
|
+
* it (`'upper-bound'`). Past the horizon of an exact translation the error
|
|
21
|
+
* exceeds the tolerance; past the horizon of an upper bound only the BOUND
|
|
22
|
+
* does, and the error may still be within it — a caller must not report the
|
|
23
|
+
* second as inadequate.
|
|
24
|
+
*
|
|
25
|
+
* A translation composes across a following bridge only through an
|
|
26
|
+
* `ObservableCarriage` that bridge declares for the same observable. The
|
|
27
|
+
* composition table is not consulted and not widened: a carriage is a claim
|
|
28
|
+
* about one observable, not about the bound's norm.
|
|
29
|
+
*
|
|
30
|
+
* @module atlas/translation
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
import type { Witness } from './types.js';
|
|
34
|
+
import type { DominanceWitnessSpec } from './witness-dominance.js';
|
|
35
|
+
import type { NumericWitnessSpec } from './witness-numeric.js';
|
|
36
|
+
/** An executable witness of either shape. @internal */
|
|
37
|
+
export type TranslationCheck = NumericWitnessSpec | DominanceWitnessSpec;
|
|
38
|
+
/** A witness run at the caller's point, with the control that shows it can fail there. @internal */
|
|
39
|
+
export interface PointCheck {
|
|
40
|
+
/** What is checked at this point, in words, including the resolutions. */
|
|
41
|
+
readonly claim: string;
|
|
42
|
+
readonly check: TranslationCheck;
|
|
43
|
+
/** The same measurement against a plausible wrong map. */
|
|
44
|
+
readonly control: TranslationCheck;
|
|
45
|
+
/** The wrong map the control uses. */
|
|
46
|
+
readonly controlClaim: string;
|
|
47
|
+
}
|
|
48
|
+
/** A bridge-specific map from a bound's norm to an observable error and horizon. @internal */
|
|
49
|
+
export interface ObservableTranslation {
|
|
50
|
+
/** The `AtlasBridge.id` whose bound is translated. */
|
|
51
|
+
readonly bridgeId: string;
|
|
52
|
+
/** `'phase'` — the name a `--tolerance=<observable>:EPS` request uses. */
|
|
53
|
+
readonly observable: string;
|
|
54
|
+
/** Unit of the translated error and of a tolerance on it. */
|
|
55
|
+
readonly unit: string;
|
|
56
|
+
/** Must equal the bridge's `bound.norm`: the quantity the maps consume. */
|
|
57
|
+
readonly fromNorm: string;
|
|
58
|
+
/** Whether `errorAt` is the error itself or an upper bound on it. */
|
|
59
|
+
readonly errorKind: 'exact' | 'upper-bound';
|
|
60
|
+
/** What the observable is, precisely enough to measure it. */
|
|
61
|
+
readonly definition: string;
|
|
62
|
+
/** How the maps follow from the bound's quantity, and why the supremum may be passed. */
|
|
63
|
+
readonly derivation: string;
|
|
64
|
+
/** Conditions the derivation assumes and nothing here checks. */
|
|
65
|
+
readonly premises: readonly string[];
|
|
66
|
+
/** Point parameters the maps need beyond the bound's own (`'T0'`). */
|
|
67
|
+
readonly parameters: readonly string[];
|
|
68
|
+
/** The unit an observation time is read in. */
|
|
69
|
+
readonly timeUnit: string;
|
|
70
|
+
/** The accumulated error in `observable` at time `t`, given the bound's value. */
|
|
71
|
+
readonly errorAt: (boundValue: number, t: number, params: Readonly<Record<string, number>>) => number;
|
|
72
|
+
/**
|
|
73
|
+
* The time at which the accumulated error reaches `tolerance`; `Infinity` if
|
|
74
|
+
* it never does; `NaN` if undefined, including when `floor` already exceeds
|
|
75
|
+
* the tolerance.
|
|
76
|
+
*/
|
|
77
|
+
readonly horizonFor: (boundValue: number, tolerance: number, params: Readonly<Record<string, number>>) => number;
|
|
78
|
+
/** The part of `errorAt` present at every t (its value at t = 0); absent when it is 0. */
|
|
79
|
+
readonly floor?: (boundValue: number) => number;
|
|
80
|
+
/** Which side of the horizon is adequate, stated. */
|
|
81
|
+
readonly boundary: string;
|
|
82
|
+
/** Observables this translation is NOT a bound on. */
|
|
83
|
+
readonly notCovered: readonly string[];
|
|
84
|
+
readonly witnesses: readonly Witness[];
|
|
85
|
+
/** The executable form of each numeric witness, run on request. */
|
|
86
|
+
readonly checks: readonly TranslationCheck[];
|
|
87
|
+
/** The witness at the caller's point, bounded in cost, or why it cannot be run there. */
|
|
88
|
+
readonly pointCheck: (boundValue: number) => PointCheck | {
|
|
89
|
+
readonly unavailable: string;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* A bridge's declaration that its map carries an observable unchanged, so a
|
|
94
|
+
* translation into that observable on an earlier step holds for the path
|
|
95
|
+
* through it. Declared per bridge, with its own derivation and witnesses; a
|
|
96
|
+
* bridge without one does not carry the observable, whatever its relation.
|
|
97
|
+
*
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
export interface ObservableCarriage {
|
|
101
|
+
/** The bridge that carries. */
|
|
102
|
+
readonly bridgeId: string;
|
|
103
|
+
/** The observable carried: a translation's `observable`. */
|
|
104
|
+
readonly observable: string;
|
|
105
|
+
/** How the observable on the premise maps to the conclusion's. */
|
|
106
|
+
readonly map: string;
|
|
107
|
+
/** Why the map leaves the observable's error unchanged. */
|
|
108
|
+
readonly derivation: string;
|
|
109
|
+
/** Conditions the carriage assumes and nothing here checks. */
|
|
110
|
+
readonly premises: readonly string[];
|
|
111
|
+
/** How the observation time on the premise maps to the conclusion's clock. */
|
|
112
|
+
readonly timeMap: string;
|
|
113
|
+
readonly witnesses: readonly Witness[];
|
|
114
|
+
readonly checks: readonly TranslationCheck[];
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=translation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../src/atlas/translation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MA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SAAS,EAAE,SAAS,OAAO,EAAE,CAAC;IACvC,QAAQ,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC9C"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A bridge's declared translation of its bound's quantity into ANOTHER
|
|
3
|
+
* observable (CLI audit §14 item 8).
|
|
4
|
+
*
|
|
5
|
+
* A bound is stated in one norm. A user asking for a tolerance in a different
|
|
6
|
+
* observable is asking a different question, and the answer is only as good
|
|
7
|
+
* as the map between the two. So the map is a record of its own: declared per
|
|
8
|
+
* bridge, with its derivation, its premises, what it does NOT cover, and its
|
|
9
|
+
* own witnesses. Its evidence is derived from those witnesses and is never the
|
|
10
|
+
* bound's: a translation that rests on a numerically-supported check does not
|
|
11
|
+
* inherit a proof the bound's transformation may carry, and it carries no
|
|
12
|
+
* `formalRef`.
|
|
13
|
+
*
|
|
14
|
+
* Both maps take the bound's own quantity as an argument, so the same
|
|
15
|
+
* translation serves the point value (`deltaAt`) and the domain supremum
|
|
16
|
+
* (`delta`). That is sound only when the translated error is monotone
|
|
17
|
+
* non-decreasing in the bound's quantity, which `derivation` must state.
|
|
18
|
+
*
|
|
19
|
+
* A translation is either the error itself (`'exact'`) or an upper bound on
|
|
20
|
+
* it (`'upper-bound'`). Past the horizon of an exact translation the error
|
|
21
|
+
* exceeds the tolerance; past the horizon of an upper bound only the BOUND
|
|
22
|
+
* does, and the error may still be within it — a caller must not report the
|
|
23
|
+
* second as inadequate.
|
|
24
|
+
*
|
|
25
|
+
* A translation composes across a following bridge only through an
|
|
26
|
+
* `ObservableCarriage` that bridge declares for the same observable. The
|
|
27
|
+
* composition table is not consulted and not widened: a carriage is a claim
|
|
28
|
+
* about one observable, not about the bound's norm.
|
|
29
|
+
*
|
|
30
|
+
* @module atlas/translation
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=translation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../src/atlas/translation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG"}
|
package/dist/atlas/types.d.ts
CHANGED
|
@@ -1,174 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Atlas
|
|
2
|
+
* Atlas record types.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* **These are throwaway pilot types** (design note §4). If Phase 1's
|
|
8
|
-
* relation-contract work disagrees with any of them, the Phase 0 type is
|
|
9
|
-
* replaced, not adapted: nothing atlas-side is public before Phase 6 and the
|
|
10
|
-
* only consumers are Phase 0's own tests.
|
|
11
|
-
*
|
|
12
|
-
* Name note: the probe's `RelationKind` and `AuditState` are NOT shadowed —
|
|
13
|
-
* this sprint uses `RelationType` and defines no `AuditState`.
|
|
14
|
-
* `src/composition/bridge-prediction.ts` has a module-local, unexported
|
|
15
|
-
* `interface Regime` for tensor-cell placement; different concept, no
|
|
16
|
-
* import collision.
|
|
4
|
+
* The shared vocabulary lives in `src/relations/types.ts` and is re-exported
|
|
5
|
+
* here. A public name is also a local type alias in this file, so the
|
|
6
|
+
* facade scan still sees a declaration, and the alias is the same type.
|
|
17
7
|
*
|
|
18
8
|
* @module atlas/types
|
|
19
9
|
*/
|
|
20
|
-
import type {
|
|
21
|
-
/**
|
|
22
|
-
export type RelationType = '
|
|
23
|
-
/**
|
|
24
|
-
export type EvidenceTag = '
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
/**
|
|
38
|
-
* How a formal reference's statement was checked against the physics it claims
|
|
39
|
-
* to state (Phase 4 design note §3).
|
|
40
|
-
*
|
|
41
|
-
* - `'two-formalizers'` — two people formalized it independently and agreed.
|
|
42
|
-
* - `'back-translation'` — a reviewer who had not seen the source translated
|
|
43
|
-
* the formal statement back to prose and it matched.
|
|
44
|
-
* - `'sanity-lemmas'` — the statement was instantiated on known cases in
|
|
45
|
-
* `tests/atlas/formal-sanity.test.ts`.
|
|
46
|
-
* - `'unreviewed'` — recorded, not checked. **Earns no tag, by construction.**
|
|
47
|
-
*
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
export type FormalFidelity = 'two-formalizers' | 'back-translation' | 'sanity-lemmas' | 'unreviewed';
|
|
51
|
-
/**
|
|
52
|
-
* A machine-checked counterpart of a record's claim in a proof assistant.
|
|
53
|
-
*
|
|
54
|
-
* A proof of the WRONG statement proves nothing about the physics, so the
|
|
55
|
-
* reference carries its `fidelity` — how anyone knows the formal statement says
|
|
56
|
-
* what the bridge says. `formally-proved` is derived from it and never set.
|
|
57
|
-
*
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
export interface FormalRef {
|
|
61
|
-
readonly system: 'lean4-physlib' | 'other';
|
|
62
|
-
/** The formal statement's name or text, as it appears in `system`. */
|
|
63
|
-
readonly statement: string;
|
|
64
|
-
/** The library version or commit the statement was checked against. */
|
|
65
|
-
readonly version: string;
|
|
66
|
-
/** Axioms the proof depends on beyond the system's core. */
|
|
67
|
-
readonly axioms: readonly string[];
|
|
68
|
-
readonly fidelity: FormalFidelity;
|
|
69
|
-
}
|
|
70
|
-
/** Whether the limit a bridge takes is regular or singular. @public */
|
|
71
|
-
export type LimitCharacter = 'regular' | 'singular' | 'unknown';
|
|
72
|
-
/**
|
|
73
|
-
* One inequality on a regime coordinate. The coordinate is either a π-group
|
|
74
|
-
* `buckinghamPi` produced from the family's dimensioned parameters (keyed by
|
|
75
|
-
* `PiGroup.formula`), or a dimensionless INPUT of the model (an initial datum
|
|
76
|
-
* such as θ0, a wavenumber-lattice product qa) declared as a
|
|
77
|
-
* `DimensionalVariable` with the zero dimension, which is its own trivial
|
|
78
|
-
* group. Derived quantities such as ζ = ½ (m k / b²)^(−½) are NOT groups:
|
|
79
|
-
* write the inequality on the group (`m k / b² > 1/4`) and record the display
|
|
80
|
-
* alias in `alias`.
|
|
81
|
-
*
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export interface RegimeInequality {
|
|
85
|
-
/** `PiGroup.formula`, or the dimensionless input's name. */
|
|
86
|
-
readonly group: string;
|
|
87
|
-
readonly op: '<' | '<=' | '>' | '>=';
|
|
88
|
-
readonly bound: number;
|
|
89
|
-
/** `'ζ < 1'` — for display only, never evaluated. */
|
|
90
|
-
readonly alias?: string;
|
|
91
|
-
}
|
|
92
|
-
/** Where in parameter space a model or bridge is claimed to apply. @public */
|
|
93
|
-
export interface Regime {
|
|
94
|
-
/** `'oscillators'`. */
|
|
95
|
-
readonly family: string;
|
|
96
|
-
readonly inequalities: readonly RegimeInequality[];
|
|
97
|
-
/** Traceability back to the dimension matrix, keyed by `PiGroup.formula`. */
|
|
98
|
-
readonly groupDefinitions: Readonly<Record<string, PiGroup>>;
|
|
99
|
-
}
|
|
100
|
-
/** A Lipschitz-plus-offset error bound with a mandatory horizon. @public */
|
|
101
|
-
export interface ApproximationBound {
|
|
102
|
-
/** Lipschitz constant of the map, in the stated norm. */
|
|
103
|
-
readonly K: number;
|
|
104
|
-
/**
|
|
105
|
-
* Uniform error, same norm: the SUPREMUM OF THE BOUND OVER THE WHOLE
|
|
106
|
-
* DECLARED DOMAIN (`domain` / `parameterRange`), never a sample of it at
|
|
107
|
-
* one convenient fixture point.
|
|
108
|
-
*
|
|
109
|
-
* A parameter-dependent bound evaluated at a fixture is not a bound on the
|
|
110
|
-
* domain it claims: the record would read as covering every admissible
|
|
111
|
-
* parameter while holding only at the one point it was measured. When the
|
|
112
|
-
* supremum is approached but not attained at an open edge of the domain,
|
|
113
|
-
* `delta` is that supremum, and `deltaAt` is what a caller uses to get the
|
|
114
|
-
* tighter value at its own point.
|
|
115
|
-
*/
|
|
116
|
-
readonly delta: number;
|
|
117
|
-
/**
|
|
118
|
-
* `'relative period error, normalized by the value of the reduced model'`,
|
|
119
|
-
* `'sup |x − x_reduced| for t ≥ 5 m/b'`, …
|
|
120
|
-
*
|
|
121
|
-
* A RELATIVE norm divides |exact − reduced| by the REDUCED model's value, and
|
|
122
|
-
* says so in this string. The other reading, by the exact value, gives a
|
|
123
|
-
* different number: at x = ck/ω₀ = 1 the non-relativistic kinetic frequency
|
|
124
|
-
* exceeds the exact Klein–Gordon one by 20.7% of the exact value, and by
|
|
125
|
-
* 17.2% of its own value. `tests/atlas/relative-norm-convention.test.ts` recomputes
|
|
126
|
-
* every relative `delta` from closed-form physics and pins the convention.
|
|
127
|
-
*/
|
|
128
|
-
readonly norm: string;
|
|
129
|
-
/** Where the bound holds. */
|
|
130
|
-
readonly domain: string;
|
|
131
|
-
/** MANDATORY prose horizon: `'t ≪ 16 T0/θ0²'`. */
|
|
132
|
-
readonly horizon: string;
|
|
133
|
-
/** MANDATORY machine form of `horizon`: true while the bound is claimed to hold. */
|
|
134
|
-
readonly horizonHolds: (t: number, params: Readonly<Record<string, number>>) => boolean;
|
|
135
|
-
/**
|
|
136
|
-
* MACHINE FORM OF `delta`, mirroring what `horizonHolds` is to `horizon`:
|
|
137
|
-
* the bound AT A POINT of the declared domain, in the same norm.
|
|
138
|
-
*
|
|
139
|
-
* `horizon` had a machine counterpart and `delta` had none, so an
|
|
140
|
-
* implementer holding a correct parameter-dependent bound could only freeze
|
|
141
|
-
* it at a single point and hope the reader noticed. `deltaAt` is where that
|
|
142
|
-
* dependence goes; `delta` stays the supremum over the domain, and
|
|
143
|
-
* `deltaAt(p) <= delta` for every admissible `p`.
|
|
144
|
-
*
|
|
145
|
-
* Optional on the interface so a genuinely constant bound need not restate
|
|
146
|
-
* itself, and so `coarse-graining` bounds are unaffected; MANDATORY for an
|
|
147
|
-
* `approximation`, enforced at admission by `admitApproximation`.
|
|
148
|
-
*/
|
|
149
|
-
readonly deltaAt?: (params: Readonly<Record<string, number>>) => number;
|
|
150
|
-
/**
|
|
151
|
-
* What `deltaAt` rests on. `'closed-form'`: it returns the EXACT error in
|
|
152
|
-
* closed form, so it is a proven bound, holding with equality. `'numerically-
|
|
153
|
-
* supported'`: a formula that witnesses support numerically but no proof
|
|
154
|
-
* covers. `upt path` prints a point bound only when every step is closed-form.
|
|
155
|
-
*/
|
|
156
|
-
readonly deltaAtBasis?: 'closed-form' | 'numerically-supported';
|
|
157
|
-
/** `'θ0 ≤ 0.5 rad'`. */
|
|
158
|
-
readonly parameterRange?: string;
|
|
159
|
-
readonly limitCharacter: LimitCharacter;
|
|
160
|
-
/**
|
|
161
|
-
* What the error is uniform in.
|
|
162
|
-
*
|
|
163
|
-
* `null` means NOT YET ANALYSED. That is a legitimate recorded state:
|
|
164
|
-
* `makeApproximation` accepts it, and the check lives at use (`boundPath`),
|
|
165
|
-
* not at construction. An empty array means the same thing — a universal
|
|
166
|
-
* over nothing must not count as analysed. A non-empty array names the
|
|
167
|
-
* scopes the error is uniform in. A variable a side condition says the
|
|
168
|
-
* error is NOT uniform in is not listed.
|
|
169
|
-
*/
|
|
170
|
-
readonly uniformity: readonly string[] | null;
|
|
171
|
-
}
|
|
10
|
+
import type { FormalRef } from '../relations/types.js';
|
|
11
|
+
/** @public */
|
|
12
|
+
export type RelationType = import('../relations/types.js').RelationType;
|
|
13
|
+
/** @public */
|
|
14
|
+
export type EvidenceTag = import('../relations/types.js').EvidenceTag;
|
|
15
|
+
/** @public */
|
|
16
|
+
export type LimitCharacter = import('../relations/types.js').LimitCharacter;
|
|
17
|
+
/** @public */
|
|
18
|
+
export type RegimeInequality = import('../relations/types.js').RegimeInequality;
|
|
19
|
+
/** @public */
|
|
20
|
+
export type Regime = import('../relations/types.js').Regime;
|
|
21
|
+
/** @public */
|
|
22
|
+
export type ApproximationBound = import('../relations/types.js').ApproximationBound;
|
|
23
|
+
/** @public */
|
|
24
|
+
export type Counterexample = import('../relations/types.js').Counterexample;
|
|
25
|
+
export type { Conventions, FormalFidelity, FormalRef, FormalRefKind, RelationContract, } from '../relations/types.js';
|
|
26
|
+
export { ALL_EVIDENCE_TAGS } from '../relations/types.js';
|
|
172
27
|
/** A named check that supports a record, and the test file that runs it. @public */
|
|
173
28
|
export interface Witness {
|
|
174
29
|
/** `'W7b'`. */
|
|
@@ -186,11 +41,54 @@ export interface Witness {
|
|
|
186
41
|
* would close a cycle `bun run docs:deps` reports. Import it from
|
|
187
42
|
* `./model.js`.
|
|
188
43
|
*/
|
|
189
|
-
/**
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
44
|
+
/**
|
|
45
|
+
* An exact bridge's declaration of how its map acts on ONE norm, in ONE
|
|
46
|
+
* direction: a bound stated in `from` about `fromModel` becomes a bound in `to`
|
|
47
|
+
* about `toModel`, multiplied by `K`. Design:
|
|
48
|
+
* `docs/planning/ADR-transported-norm-composition.md`.
|
|
49
|
+
*
|
|
50
|
+
* Without a declaration an exact map contributes the identity in no norm, and a
|
|
51
|
+
* route through it after a normed bound carries no bound (`'norm-not-stated'`).
|
|
52
|
+
* A declaration licenses exactly the norm and direction it names; every other
|
|
53
|
+
* norm, and the reverse direction, stay refused.
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
export interface NormTransport {
|
|
58
|
+
/** `'nt-spring-lc-relative-period'`; also the `recordId` of its registered witness. */
|
|
59
|
+
readonly id: string;
|
|
60
|
+
/** The model the bound is about before the map. */
|
|
61
|
+
readonly fromModel: string;
|
|
62
|
+
/** The model the transported bound is about. */
|
|
63
|
+
readonly toModel: string;
|
|
64
|
+
/** The norm the incoming bound must state, verbatim. */
|
|
65
|
+
readonly from: string;
|
|
66
|
+
/** The norm the transported bound holds in. */
|
|
67
|
+
readonly to: string;
|
|
68
|
+
/** The factor the map multiplies the error by: the supremum of {@link KAt} over {@link domain}. */
|
|
69
|
+
readonly K: number;
|
|
70
|
+
/** The same factor at a point, in closed form. */
|
|
71
|
+
readonly KAt: (params: Readonly<Record<string, number>>) => number;
|
|
72
|
+
/** Where `K` is the supremum. */
|
|
73
|
+
readonly domain: string;
|
|
74
|
+
/** Why the map acts on the norm by `K`. */
|
|
75
|
+
readonly derivation: string;
|
|
76
|
+
readonly timeMap: {
|
|
77
|
+
/** The map from the `fromModel`'s clock to the `toModel`'s. */
|
|
78
|
+
readonly map: string;
|
|
79
|
+
/** A transport whose time map is not uniform is refused by `boundPath`. */
|
|
80
|
+
readonly uniform: boolean;
|
|
81
|
+
/** How a horizon stated before the map reads after it. */
|
|
82
|
+
readonly horizon: string;
|
|
83
|
+
/** The machine form of {@link horizon}. */
|
|
84
|
+
readonly restateHorizon: (holds: (t: number, params: Readonly<Record<string, number>>) => boolean) => (t: number, params: Readonly<Record<string, number>>) => boolean;
|
|
85
|
+
};
|
|
86
|
+
/** What the incoming bound's uniformity becomes; the list is carried unchanged when the map preserves it. */
|
|
87
|
+
readonly uniformity: string;
|
|
88
|
+
/** The check that the map acts on the norm by `K`. */
|
|
89
|
+
readonly witness: Witness;
|
|
90
|
+
/** The evidence tag the witness supports when it checks; never `'formally-proved'`. */
|
|
91
|
+
readonly basis: 'numerically-supported' | 'symbolically-checked';
|
|
194
92
|
}
|
|
195
93
|
/** Field set = Blueprint v2 §3.1 Bridge record + citations. @internal */
|
|
196
94
|
export interface AtlasBridge {
|
|
@@ -222,6 +120,11 @@ export interface AtlasBridge {
|
|
|
222
120
|
* no reference rather than an `'unreviewed'` placeholder.
|
|
223
121
|
*/
|
|
224
122
|
readonly formalRef?: FormalRef;
|
|
123
|
+
/**
|
|
124
|
+
* Only on an `exact-equivalence`: the norms, and directions, the map is
|
|
125
|
+
* declared to transport a bound in. Absent means none.
|
|
126
|
+
*/
|
|
127
|
+
readonly normTransports?: readonly NormTransport[];
|
|
225
128
|
}
|
|
226
129
|
/** A claimed bridge the atlas records as REJECTED, with the reason. @public */
|
|
227
130
|
export interface AtlasRejection {
|
|
@@ -235,75 +138,6 @@ export interface AtlasRejection {
|
|
|
235
138
|
readonly survivingGroup: string;
|
|
236
139
|
readonly witnesses: readonly Witness[];
|
|
237
140
|
}
|
|
238
|
-
/**
|
|
239
|
-
* The relation a record asserts, as a DISCRIMINATED UNION over `RelationType`.
|
|
240
|
-
*
|
|
241
|
-
* This is the Phase 1 overlay (design note §1.2, "One overlay, not two"). Its
|
|
242
|
-
* purpose is to move `AtlasBridge`'s two CONDITIONAL requirements — written
|
|
243
|
-
* there only as doc comments — into the type system:
|
|
244
|
-
*
|
|
245
|
-
* - `approximation` REQUIRES `bound`, and `ApproximationBound` itself
|
|
246
|
-
* mandates `horizon` + `horizonHolds`. So an approximation without a
|
|
247
|
-
* machine horizon is a COMPILE error, not a runtime one.
|
|
248
|
-
* - `exact-equivalence` REQUIRES `inverse`.
|
|
249
|
-
*
|
|
250
|
-
* Deliberately conservative elsewhere. The design note §2.2 names the fields
|
|
251
|
-
* the other members WOULD need (an analyticity domain, a checkable
|
|
252
|
-
* `preserves` set, an ħ-order) and records that none of them exists before
|
|
253
|
-
* Phase 2. Inventing them here would encode claims the data cannot support,
|
|
254
|
-
* so every other member carries only `transformation`.
|
|
255
|
-
*
|
|
256
|
-
* @internal
|
|
257
|
-
*/
|
|
258
|
-
export type RelationContract = {
|
|
259
|
-
readonly type: 'derivation';
|
|
260
|
-
readonly transformation: string;
|
|
261
|
-
} | {
|
|
262
|
-
readonly type: 'exact-equivalence';
|
|
263
|
-
readonly transformation: string;
|
|
264
|
-
/** REQUIRED: `'x = x0 u, t = τ/ω0'`. An equivalence without an inverse is not one. */
|
|
265
|
-
readonly inverse: string;
|
|
266
|
-
} | {
|
|
267
|
-
readonly type: 'restriction';
|
|
268
|
-
readonly transformation: string;
|
|
269
|
-
} | {
|
|
270
|
-
readonly type: 'approximation';
|
|
271
|
-
readonly transformation: string;
|
|
272
|
-
/** REQUIRED, and mandates its own machine horizon. */
|
|
273
|
-
readonly bound: ApproximationBound;
|
|
274
|
-
} | {
|
|
275
|
-
readonly type: 'coarse-graining';
|
|
276
|
-
readonly transformation: string;
|
|
277
|
-
/** Optional: errors accumulate through `composeBounds` when present. */
|
|
278
|
-
readonly bound?: ApproximationBound;
|
|
279
|
-
} | {
|
|
280
|
-
readonly type: 'analytic-continuation';
|
|
281
|
-
readonly transformation: string;
|
|
282
|
-
} | {
|
|
283
|
-
readonly type: 'structural-analogy';
|
|
284
|
-
readonly transformation: string;
|
|
285
|
-
} | {
|
|
286
|
-
readonly type: 'deformation-quantization';
|
|
287
|
-
readonly transformation: string;
|
|
288
|
-
};
|
|
289
|
-
/**
|
|
290
|
-
* Sign and unit choices a record depends on. Every field is optional, and a
|
|
291
|
-
* field is only meaningful when the record actually depends on that choice.
|
|
292
|
-
*
|
|
293
|
-
* Non-emptiness matters downstream: design note §3 requires `conventions` to
|
|
294
|
-
* declare AT LEAST ONE field before `convention-checked` can be derived,
|
|
295
|
-
* because `[].every(…)` is vacuously true and would hand out a free tag.
|
|
296
|
-
*
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
|
-
export interface Conventions {
|
|
300
|
-
/** First law as `dU = Q − W` or `dU = Q + W`. */
|
|
301
|
-
readonly heatWorkSign?: 'Q-W' | 'Q+W';
|
|
302
|
-
readonly metricSignature?: '-+++' | '+---';
|
|
303
|
-
readonly fourierNormalization?: 'unitary' | 'physics' | 'none';
|
|
304
|
-
readonly unitSystem?: 'SI' | 'gaussian' | 'natural';
|
|
305
|
-
readonly capacitorChargeSign?: '+' | '-';
|
|
306
|
-
}
|
|
307
141
|
/** Thrown when an `ApproximationBound` is built without its machine horizon. @public */
|
|
308
142
|
export declare class MissingHorizonError extends Error {
|
|
309
143
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQ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AS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,wBAAwB;IACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,EAAE,SAAS,OAAO,EAAE,CAAC;CACxC;AAED,wFAAwF;AACxF,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AAEjD;;;;;;;;;GASG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AAEjD,0FAA0F;AAC1F,qBAAa,qBAAsB,SAAQ,KAAK;CAAG"}
|
package/dist/atlas/types.js
CHANGED
|
@@ -1,45 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Atlas
|
|
2
|
+
* Atlas record types.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* **These are throwaway pilot types** (design note §4). If Phase 1's
|
|
8
|
-
* relation-contract work disagrees with any of them, the Phase 0 type is
|
|
9
|
-
* replaced, not adapted: nothing atlas-side is public before Phase 6 and the
|
|
10
|
-
* only consumers are Phase 0's own tests.
|
|
11
|
-
*
|
|
12
|
-
* Name note: the probe's `RelationKind` and `AuditState` are NOT shadowed —
|
|
13
|
-
* this sprint uses `RelationType` and defines no `AuditState`.
|
|
14
|
-
* `src/composition/bridge-prediction.ts` has a module-local, unexported
|
|
15
|
-
* `interface Regime` for tensor-cell placement; different concept, no
|
|
16
|
-
* import collision.
|
|
4
|
+
* The shared vocabulary lives in `src/relations/types.ts` and is re-exported
|
|
5
|
+
* here. A public name is also a local type alias in this file, so the
|
|
6
|
+
* facade scan still sees a declaration, and the alias is the same type.
|
|
17
7
|
*
|
|
18
8
|
* @module atlas/types
|
|
19
9
|
*/
|
|
20
|
-
|
|
21
|
-
* Every `EvidenceTag`, in declaration order, so a report can name all of them.
|
|
22
|
-
*
|
|
23
|
-
* Lives HERE, not in `coverage.ts` (which re-exports it), because
|
|
24
|
-
* `tests/atlas/derived-tag-literals.test.ts` allows the literals
|
|
25
|
-
* `'formally-proved'` and `'symbolically-checked'` under `src/atlas/` in
|
|
26
|
-
* exactly two files: this one and `derive-evidence.ts`. A tag that can only be
|
|
27
|
-
* DERIVED must not be spellable anywhere a record could hand-set it.
|
|
28
|
-
*
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
31
|
-
export const ALL_EVIDENCE_TAGS = [
|
|
32
|
-
'proposed',
|
|
33
|
-
'reviewed',
|
|
34
|
-
'dimension-checked',
|
|
35
|
-
'convention-checked',
|
|
36
|
-
'symbolically-checked',
|
|
37
|
-
'numerically-supported',
|
|
38
|
-
'formally-proved',
|
|
39
|
-
'empirically-supported',
|
|
40
|
-
'contradicted',
|
|
41
|
-
'unresolved',
|
|
42
|
-
];
|
|
10
|
+
export { ALL_EVIDENCE_TAGS } from '../relations/types.js';
|
|
43
11
|
/** Thrown when an `ApproximationBound` is built without its machine horizon. @public */
|
|
44
12
|
export class MissingHorizonError extends Error {
|
|
45
13
|
}
|
package/dist/atlas/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA0BH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AA2H1D,wFAAwF;AACxF,MAAM,OAAO,mBAAoB,SAAQ,KAAK;CAAG;AAEjD;;;;;;;;;GASG;AACH,MAAM,OAAO,mBAAoB,SAAQ,KAAK;CAAG;AAEjD,0FAA0F;AAC1F,MAAM,OAAO,qBAAsB,SAAQ,KAAK;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridges-closure.d.ts","sourceRoot":"","sources":["../../../src/atlas/waves/bridges-closure.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"bridges-closure.d.ts","sourceRoot":"","sources":["../../../src/atlas/waves/bridges-closure.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM/C,wEAAwE;AACxE,eAAO,MAAM,WAAW,MAAM,CAAC;AAE/B,6EAA6E;AAC7E,eAAO,MAAM,cAAc,OAAO,CAAC;AAWnC;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,WAgFnC,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,oBAAoB,EAAE,WAgClC,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,EAAE,WAsEjC,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,oBAAoB,EAAE,SAAS,WAAW,EAItD,CAAC"}
|
|
@@ -20,6 +20,7 @@ import { ACTION, FORCE, FREQUENCY, MASS, VELOCITY } from '../../dimensional/type
|
|
|
20
20
|
import { makeApproximation } from '../oscillators/bridges-limits.js';
|
|
21
21
|
import { SPRING_CONSTANT } from '../oscillators/dimensions.js';
|
|
22
22
|
import { deriveRegimeGroups } from '../regime.js';
|
|
23
|
+
import { physjsFormalRef } from '../physjs-ref.js';
|
|
23
24
|
import { FLEXURAL_RIGIDITY, LINEAR_DENSITY, WAVENUMBER, WAVES_FAMILY_NAME } from './models.js';
|
|
24
25
|
import { kgNonrelativisticError, stiffStringPhaseError } from './numerics.js';
|
|
25
26
|
const TEST = 'tests/atlas/closure.test.ts';
|
|
@@ -117,6 +118,7 @@ export const BRIDGE_KG_SCHRODINGER = {
|
|
|
117
118
|
'Greiner, Relativistic Quantum Mechanics: Wave Equations - Ch. 1, the Klein-Gordon equation and its non-relativistic limit',
|
|
118
119
|
],
|
|
119
120
|
reviewStatus: 'proposed',
|
|
121
|
+
formalRef: physjsFormalRef('ab-kg-schrodinger'),
|
|
120
122
|
};
|
|
121
123
|
/** Bridge: Klein–Gordon → spring, restricted to the spatially uniform mode. @internal */
|
|
122
124
|
export const BRIDGE_KG_OSCILLATOR = {
|
|
@@ -147,6 +149,7 @@ export const BRIDGE_KG_OSCILLATOR = {
|
|
|
147
149
|
'Whitham, Linear and Nonlinear Waves - §11.1, dispersive waves and the Klein-Gordon equation',
|
|
148
150
|
],
|
|
149
151
|
reviewStatus: 'proposed',
|
|
152
|
+
formalRef: physjsFormalRef('ab-kg-oscillator'),
|
|
150
153
|
};
|
|
151
154
|
/** Bridge: stiff string → flexible string, as bending stiffness → 0. @internal */
|
|
152
155
|
export const BRIDGE_STIFF_STRING = {
|
|
@@ -216,6 +219,7 @@ export const BRIDGE_STIFF_STRING = {
|
|
|
216
219
|
'Fletcher, J. Acoust. Soc. Am. 36 (1964) 203 - Normal vibration frequencies of a stiff piano string',
|
|
217
220
|
],
|
|
218
221
|
reviewStatus: 'proposed',
|
|
222
|
+
formalRef: physjsFormalRef('ab-stiff-string'),
|
|
219
223
|
};
|
|
220
224
|
/** The wave-family closure bridges. @internal */
|
|
221
225
|
export const WAVE_CLOSURE_BRIDGES = [
|