universal-physics-tensor 9.0.0 → 11.0.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 +21 -17
- package/bin/upt.mjs +13 -1
- package/data/atlas/atlas.json +79 -68
- package/data/atlas/atlas.jsonld +1 -1
- package/data/atlas/diffusion.json +24 -23
- package/data/atlas/oscillators.json +21 -16
- package/data/atlas/waves.json +36 -31
- package/data/atlas/witness-results.json +11 -11
- package/data/bridge-catalog.json +1192 -1636
- package/data/bridge-catalog.schema.json +390 -135
- package/data/quantities.json +53 -19
- package/data/schemas/atlas-record.v0.json +184 -46
- package/data/units.json +33 -4
- package/dist/atlas/applicability.d.ts.map +1 -1
- package/dist/atlas/applicability.js +35 -18
- package/dist/atlas/applicability.js.map +1 -1
- package/dist/atlas/association.js.map +1 -1
- package/dist/atlas/benchmark/backend-shapes.d.ts.map +1 -1
- package/dist/atlas/benchmark/backend-shapes.js +5 -1
- package/dist/atlas/benchmark/backend-shapes.js.map +1 -1
- package/dist/atlas/benchmark/baselines.d.ts.map +1 -1
- package/dist/atlas/benchmark/baselines.js +8 -0
- package/dist/atlas/benchmark/baselines.js.map +1 -1
- package/dist/atlas/benchmark/hybrid-retrieval.d.ts +12 -3
- package/dist/atlas/benchmark/hybrid-retrieval.d.ts.map +1 -1
- package/dist/atlas/benchmark/hybrid-retrieval.js +30 -21
- package/dist/atlas/benchmark/hybrid-retrieval.js.map +1 -1
- package/dist/atlas/benchmark/leakage.js.map +1 -1
- package/dist/atlas/benchmark/loader.js +2 -2
- package/dist/atlas/benchmark/loader.js.map +1 -1
- package/dist/atlas/benchmark/run-atlas.d.ts.map +1 -1
- package/dist/atlas/benchmark/run-atlas.js +14 -2
- package/dist/atlas/benchmark/run-atlas.js.map +1 -1
- package/dist/atlas/benchmark/stats.d.ts +3 -3
- package/dist/atlas/benchmark/stats.d.ts.map +1 -1
- package/dist/atlas/benchmark/stats.js +16 -8
- package/dist/atlas/benchmark/stats.js.map +1 -1
- package/dist/atlas/benchmark/study.js.map +1 -1
- package/dist/atlas/benchmark/types.js.map +1 -1
- package/dist/atlas/bridge-record.d.ts +4 -4
- package/dist/atlas/bridge-record.d.ts.map +1 -1
- package/dist/atlas/bridge-record.js +6 -6
- package/dist/atlas/bridge-record.js.map +1 -1
- package/dist/atlas/catalog-formal-ref.d.ts +26 -3
- package/dist/atlas/catalog-formal-ref.d.ts.map +1 -1
- package/dist/atlas/catalog-formal-ref.js +52 -5
- package/dist/atlas/catalog-formal-ref.js.map +1 -1
- package/dist/atlas/chain-pipeline.d.ts +0 -11
- package/dist/atlas/chain-pipeline.d.ts.map +1 -1
- package/dist/atlas/chain-pipeline.js +12 -24
- package/dist/atlas/chain-pipeline.js.map +1 -1
- package/dist/atlas/composition-table.js.map +1 -1
- package/dist/atlas/conventions.js.map +1 -1
- package/dist/atlas/coverage.d.ts +2 -2
- package/dist/atlas/coverage.js.map +1 -1
- package/dist/atlas/derivation.js.map +1 -1
- package/dist/atlas/derive-evidence.d.ts +6 -4
- package/dist/atlas/derive-evidence.d.ts.map +1 -1
- package/dist/atlas/derive-evidence.js +7 -2
- package/dist/atlas/derive-evidence.js.map +1 -1
- package/dist/atlas/diffusion/bridges-closure.d.ts +0 -4
- package/dist/atlas/diffusion/bridges-closure.d.ts.map +1 -1
- package/dist/atlas/diffusion/bridges-closure.js +8 -17
- package/dist/atlas/diffusion/bridges-closure.js.map +1 -1
- package/dist/atlas/diffusion/bridges.d.ts.map +1 -1
- package/dist/atlas/diffusion/bridges.js +27 -42
- package/dist/atlas/diffusion/bridges.js.map +1 -1
- package/dist/atlas/diffusion/dimensions.d.ts +6 -14
- package/dist/atlas/diffusion/dimensions.d.ts.map +1 -1
- package/dist/atlas/diffusion/dimensions.js +8 -16
- package/dist/atlas/diffusion/dimensions.js.map +1 -1
- package/dist/atlas/diffusion/index.d.ts +1 -1
- package/dist/atlas/diffusion/index.d.ts.map +1 -1
- package/dist/atlas/diffusion/index.js.map +1 -1
- package/dist/atlas/diffusion/models.d.ts +3 -3
- package/dist/atlas/diffusion/models.d.ts.map +1 -1
- package/dist/atlas/diffusion/models.js +5 -10
- package/dist/atlas/diffusion/models.js.map +1 -1
- package/dist/atlas/diffusion/numerics.d.ts +16 -4
- package/dist/atlas/diffusion/numerics.d.ts.map +1 -1
- package/dist/atlas/diffusion/numerics.js +38 -24
- package/dist/atlas/diffusion/numerics.js.map +1 -1
- package/dist/atlas/error-algebra.d.ts +6 -0
- package/dist/atlas/error-algebra.d.ts.map +1 -1
- package/dist/atlas/error-algebra.js +26 -0
- package/dist/atlas/error-algebra.js.map +1 -1
- package/dist/atlas/export.d.ts +18 -2
- package/dist/atlas/export.d.ts.map +1 -1
- package/dist/atlas/export.js +9 -3
- package/dist/atlas/export.js.map +1 -1
- package/dist/atlas/families.d.ts +19 -2
- package/dist/atlas/families.d.ts.map +1 -1
- package/dist/atlas/families.js +26 -3
- package/dist/atlas/families.js.map +1 -1
- package/dist/atlas/family.d.ts +27 -0
- package/dist/atlas/family.d.ts.map +1 -0
- package/dist/atlas/family.js +12 -0
- package/dist/atlas/family.js.map +1 -0
- package/dist/atlas/index.d.ts +3 -2
- package/dist/atlas/index.d.ts.map +1 -1
- package/dist/atlas/index.js +2 -1
- package/dist/atlas/index.js.map +1 -1
- package/dist/atlas/link-prediction.d.ts +107 -4
- package/dist/atlas/link-prediction.d.ts.map +1 -1
- package/dist/atlas/link-prediction.js +212 -66
- package/dist/atlas/link-prediction.js.map +1 -1
- package/dist/atlas/model.js.map +1 -1
- package/dist/atlas/oscillators/bridges-coarse.d.ts.map +1 -1
- package/dist/atlas/oscillators/bridges-coarse.js +7 -12
- package/dist/atlas/oscillators/bridges-coarse.js.map +1 -1
- package/dist/atlas/oscillators/bridges-exact.d.ts.map +1 -1
- package/dist/atlas/oscillators/bridges-exact.js +6 -10
- package/dist/atlas/oscillators/bridges-exact.js.map +1 -1
- package/dist/atlas/oscillators/bridges-limits.d.ts +3 -16
- package/dist/atlas/oscillators/bridges-limits.d.ts.map +1 -1
- package/dist/atlas/oscillators/bridges-limits.js +23 -36
- package/dist/atlas/oscillators/bridges-limits.js.map +1 -1
- package/dist/atlas/oscillators/dimensions.d.ts +9 -21
- package/dist/atlas/oscillators/dimensions.d.ts.map +1 -1
- package/dist/atlas/oscillators/dimensions.js +9 -21
- package/dist/atlas/oscillators/dimensions.js.map +1 -1
- package/dist/atlas/oscillators/index.d.ts +1 -16
- package/dist/atlas/oscillators/index.d.ts.map +1 -1
- package/dist/atlas/oscillators/index.js.map +1 -1
- package/dist/atlas/oscillators/limit-witnesses.d.ts +2 -2
- package/dist/atlas/oscillators/limit-witnesses.d.ts.map +1 -1
- package/dist/atlas/oscillators/limit-witnesses.js +17 -15
- package/dist/atlas/oscillators/limit-witnesses.js.map +1 -1
- package/dist/atlas/oscillators/models.d.ts.map +1 -1
- package/dist/atlas/oscillators/models.js +2 -6
- package/dist/atlas/oscillators/models.js.map +1 -1
- package/dist/atlas/oscillators/norm-transport-witness.js.map +1 -1
- package/dist/atlas/oscillators/norm-transport.js.map +1 -1
- package/dist/atlas/oscillators/norms.js.map +1 -1
- package/dist/atlas/oscillators/pendulum-motion.d.ts +29 -6
- package/dist/atlas/oscillators/pendulum-motion.d.ts.map +1 -1
- package/dist/atlas/oscillators/pendulum-motion.js +60 -40
- package/dist/atlas/oscillators/pendulum-motion.js.map +1 -1
- package/dist/atlas/oscillators/phase-carriage.js.map +1 -1
- package/dist/atlas/oscillators/phase-translation.d.ts +0 -11
- package/dist/atlas/oscillators/phase-translation.d.ts.map +1 -1
- package/dist/atlas/oscillators/phase-translation.js +3 -4
- package/dist/atlas/oscillators/phase-translation.js.map +1 -1
- package/dist/atlas/oscillators/position-translation.d.ts +68 -7
- package/dist/atlas/oscillators/position-translation.d.ts.map +1 -1
- package/dist/atlas/oscillators/position-translation.js +123 -12
- package/dist/atlas/oscillators/position-translation.js.map +1 -1
- package/dist/atlas/oscillators/rejections.d.ts +0 -2
- package/dist/atlas/oscillators/rejections.d.ts.map +1 -1
- package/dist/atlas/oscillators/rejections.js +0 -7
- package/dist/atlas/oscillators/rejections.js.map +1 -1
- package/dist/atlas/path-bound.js.map +1 -1
- package/dist/atlas/physjs-entries.generated.d.ts +25 -24
- package/dist/atlas/physjs-entries.generated.d.ts.map +1 -1
- package/dist/atlas/physjs-entries.generated.js +25 -24
- package/dist/atlas/physjs-entries.generated.js.map +1 -1
- package/dist/atlas/physjs-ref.d.ts +107 -70
- package/dist/atlas/physjs-ref.d.ts.map +1 -1
- package/dist/atlas/physjs-ref.js +184 -101
- package/dist/atlas/physjs-ref.js.map +1 -1
- package/dist/atlas/physjs-reviewed.d.ts +31 -0
- package/dist/atlas/physjs-reviewed.d.ts.map +1 -0
- package/dist/atlas/physjs-reviewed.js +194 -0
- package/dist/atlas/physjs-reviewed.js.map +1 -0
- package/dist/atlas/poster/associations.js.map +1 -1
- package/dist/atlas/poster/derivations.js.map +1 -1
- package/dist/atlas/poster/statements.d.ts +0 -19
- package/dist/atlas/poster/statements.d.ts.map +1 -1
- package/dist/atlas/poster/statements.js +1 -1
- package/dist/atlas/poster/statements.js.map +1 -1
- package/dist/atlas/proof-target.d.ts +1 -1
- package/dist/atlas/proof-target.js +1 -1
- package/dist/atlas/proof-target.js.map +1 -1
- package/dist/atlas/public.d.ts +2 -1
- package/dist/atlas/public.d.ts.map +1 -1
- package/dist/atlas/public.js +2 -1
- package/dist/atlas/public.js.map +1 -1
- package/dist/atlas/regime.d.ts +1 -1
- package/dist/atlas/regime.d.ts.map +1 -1
- package/dist/atlas/regime.js +1 -1
- package/dist/atlas/regime.js.map +1 -1
- package/dist/atlas/serialize.d.ts +18 -12
- package/dist/atlas/serialize.d.ts.map +1 -1
- package/dist/atlas/serialize.js +28 -18
- package/dist/atlas/serialize.js.map +1 -1
- package/dist/atlas/statement.js.map +1 -1
- package/dist/atlas/text-overlap.d.ts +23 -0
- package/dist/atlas/text-overlap.d.ts.map +1 -0
- package/dist/atlas/text-overlap.js +41 -0
- package/dist/atlas/text-overlap.js.map +1 -0
- package/dist/atlas/translation-registry.js.map +1 -1
- package/dist/atlas/translation.js.map +1 -1
- package/dist/atlas/types.d.ts +9 -2
- package/dist/atlas/types.d.ts.map +1 -1
- package/dist/atlas/types.js +1 -1
- 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 +2 -9
- 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 +32 -52
- package/dist/atlas/waves/bridges.js.map +1 -1
- package/dist/atlas/waves/index.d.ts +1 -1
- package/dist/atlas/waves/index.d.ts.map +1 -1
- package/dist/atlas/waves/index.js.map +1 -1
- package/dist/atlas/waves/models.d.ts +5 -6
- package/dist/atlas/waves/models.d.ts.map +1 -1
- package/dist/atlas/waves/models.js +7 -13
- package/dist/atlas/waves/models.js.map +1 -1
- package/dist/atlas/waves/numerics.d.ts.map +1 -1
- package/dist/atlas/waves/numerics.js +10 -3
- package/dist/atlas/waves/numerics.js.map +1 -1
- package/dist/atlas/witness-artifact.js.map +1 -1
- package/dist/atlas/witness-dominance.d.ts +4 -3
- package/dist/atlas/witness-dominance.d.ts.map +1 -1
- package/dist/atlas/witness-dominance.js +15 -5
- package/dist/atlas/witness-dominance.js.map +1 -1
- package/dist/atlas/witness-numeric.d.ts +38 -4
- package/dist/atlas/witness-numeric.d.ts.map +1 -1
- package/dist/atlas/witness-numeric.js +80 -2
- package/dist/atlas/witness-numeric.js.map +1 -1
- package/dist/atlas/witness-result.d.ts +7 -1
- package/dist/atlas/witness-result.d.ts.map +1 -1
- package/dist/atlas/witness-result.js.map +1 -1
- package/dist/atlas/witness-specs.d.ts.map +1 -1
- package/dist/atlas/witness-specs.js +19 -0
- package/dist/atlas/witness-specs.js.map +1 -1
- package/dist/atlas/witness-symbolic.d.ts +75 -3
- package/dist/atlas/witness-symbolic.d.ts.map +1 -1
- package/dist/atlas/witness-symbolic.js +116 -10
- package/dist/atlas/witness-symbolic.js.map +1 -1
- package/dist/atlas/witnesses/quantum-support.js.map +1 -1
- package/dist/bridges/caller-table.d.ts +1 -1
- package/dist/bridges/caller-table.d.ts.map +1 -1
- package/dist/bridges/caller-table.js.map +1 -1
- package/dist/bridges/carrier-sign.d.ts.map +1 -1
- package/dist/bridges/carrier-sign.js +8 -3
- package/dist/bridges/carrier-sign.js.map +1 -1
- package/dist/bridges/catalog-adapter.d.ts +12 -3
- package/dist/bridges/catalog-adapter.d.ts.map +1 -1
- package/dist/bridges/catalog-adapter.js +17 -9
- package/dist/bridges/catalog-adapter.js.map +1 -1
- package/dist/bridges/catalog-load.d.ts +12 -2
- package/dist/bridges/catalog-load.d.ts.map +1 -1
- package/dist/bridges/catalog-load.js +181 -13
- package/dist/bridges/catalog-load.js.map +1 -1
- package/dist/bridges/catalog-types.d.ts +74 -26
- package/dist/bridges/catalog-types.d.ts.map +1 -1
- package/dist/bridges/catalog-types.js +11 -1
- package/dist/bridges/catalog-types.js.map +1 -1
- package/dist/bridges/coefficient-statement.js +1 -5
- package/dist/bridges/coefficient-statement.js.map +1 -1
- package/dist/bridges/confrontation-coverage.js.map +1 -1
- package/dist/bridges/confrontations.d.ts +1 -1
- package/dist/bridges/confrontations.d.ts.map +1 -1
- package/dist/bridges/confrontations.js +1 -1
- package/dist/bridges/confrontations.js.map +1 -1
- package/dist/bridges/evaluation-errors.d.ts +46 -3
- package/dist/bridges/evaluation-errors.d.ts.map +1 -1
- package/dist/bridges/evaluation-errors.js +40 -4
- package/dist/bridges/evaluation-errors.js.map +1 -1
- package/dist/bridges/evaluator-inputs.d.ts.map +1 -1
- package/dist/bridges/evaluator-inputs.js +7 -5
- package/dist/bridges/evaluator-inputs.js.map +1 -1
- package/dist/bridges/evaluators.d.ts +17 -2
- package/dist/bridges/evaluators.d.ts.map +1 -1
- package/dist/bridges/evaluators.js +76 -28
- package/dist/bridges/evaluators.js.map +1 -1
- package/dist/bridges/expr-parse.d.ts +38 -4
- package/dist/bridges/expr-parse.d.ts.map +1 -1
- package/dist/bridges/expr-parse.js +101 -12
- package/dist/bridges/expr-parse.js.map +1 -1
- package/dist/bridges/holds.d.ts +40 -4
- package/dist/bridges/holds.d.ts.map +1 -1
- package/dist/bridges/holds.js +128 -19
- package/dist/bridges/holds.js.map +1 -1
- package/dist/bridges/index.d.ts +15 -14
- package/dist/bridges/index.d.ts.map +1 -1
- package/dist/bridges/index.js +14 -15
- package/dist/bridges/index.js.map +1 -1
- package/dist/bridges/input-contract.js.map +1 -1
- package/dist/bridges/membership.d.ts +5 -3
- package/dist/bridges/membership.d.ts.map +1 -1
- package/dist/bridges/membership.js +5 -6
- package/dist/bridges/membership.js.map +1 -1
- package/dist/bridges/notices.d.ts.map +1 -1
- package/dist/bridges/notices.js +5 -5
- package/dist/bridges/notices.js.map +1 -1
- package/dist/bridges/observations/types.js.map +1 -1
- package/dist/bridges/rejected.d.ts +11 -17
- package/dist/bridges/rejected.d.ts.map +1 -1
- package/dist/bridges/rejected.js +13 -68
- package/dist/bridges/rejected.js.map +1 -1
- package/dist/bridges/relation-eval.d.ts +6 -7
- package/dist/bridges/relation-eval.d.ts.map +1 -1
- package/dist/bridges/relation-eval.js +20 -50
- package/dist/bridges/relation-eval.js.map +1 -1
- package/dist/bridges/rhs-registry.js.map +1 -1
- package/dist/bridges/sensitivity.d.ts +11 -3
- package/dist/bridges/sensitivity.d.ts.map +1 -1
- package/dist/bridges/sensitivity.js +27 -13
- package/dist/bridges/sensitivity.js.map +1 -1
- package/dist/bridges/tensor-index.js.map +1 -1
- package/dist/bridges/types.d.ts +1 -7
- package/dist/bridges/types.d.ts.map +1 -1
- package/dist/bridges/types.js +1 -4
- package/dist/bridges/types.js.map +1 -1
- package/dist/bridges/validity.d.ts +33 -0
- package/dist/bridges/validity.d.ts.map +1 -0
- package/dist/bridges/validity.js +67 -0
- package/dist/bridges/validity.js.map +1 -0
- package/dist/canonical/canonical-equation.js.map +1 -1
- package/dist/canonical/dimensional-fields.js.map +1 -1
- package/dist/canonical/entries/_l1-build.js.map +1 -1
- package/dist/canonical/entries/atomic.js +1 -3
- package/dist/canonical/entries/atomic.js.map +1 -1
- package/dist/canonical/entries/condensed-matter.d.ts.map +1 -1
- package/dist/canonical/entries/condensed-matter.js +8 -9
- package/dist/canonical/entries/condensed-matter.js.map +1 -1
- package/dist/canonical/entries/dimensional-classics.d.ts.map +1 -1
- package/dist/canonical/entries/dimensional-classics.js +5 -6
- package/dist/canonical/entries/dimensional-classics.js.map +1 -1
- package/dist/canonical/entries/electromagnetism.d.ts.map +1 -1
- package/dist/canonical/entries/electromagnetism.js +6 -12
- package/dist/canonical/entries/electromagnetism.js.map +1 -1
- package/dist/canonical/entries/fluids-waves.d.ts.map +1 -1
- package/dist/canonical/entries/fluids-waves.js +3 -7
- package/dist/canonical/entries/fluids-waves.js.map +1 -1
- package/dist/canonical/entries/mechanics.d.ts.map +1 -1
- package/dist/canonical/entries/mechanics.js +4 -6
- package/dist/canonical/entries/mechanics.js.map +1 -1
- package/dist/canonical/entries/nonmonomial.d.ts.map +1 -1
- package/dist/canonical/entries/nonmonomial.js +38 -39
- package/dist/canonical/entries/nonmonomial.js.map +1 -1
- package/dist/canonical/entries/relativity.d.ts.map +1 -1
- package/dist/canonical/entries/relativity.js +6 -6
- package/dist/canonical/entries/relativity.js.map +1 -1
- package/dist/canonical/entries/statistical-mechanics.js +5 -5
- package/dist/canonical/entries/statistical-mechanics.js.map +1 -1
- package/dist/canonical/entries/thermo-nuclear-cosmo.d.ts.map +1 -1
- package/dist/canonical/entries/thermo-nuclear-cosmo.js +6 -10
- package/dist/canonical/entries/thermo-nuclear-cosmo.js.map +1 -1
- package/dist/canonical/fixed-points.d.ts +94 -0
- package/dist/canonical/fixed-points.d.ts.map +1 -0
- package/dist/canonical/fixed-points.js +81 -0
- package/dist/canonical/fixed-points.js.map +1 -0
- package/dist/canonical/linkage.d.ts +29 -4
- package/dist/canonical/linkage.d.ts.map +1 -1
- package/dist/canonical/linkage.js +47 -64
- package/dist/canonical/linkage.js.map +1 -1
- package/dist/canonical/normal-form.d.ts +0 -8
- package/dist/canonical/normal-form.d.ts.map +1 -1
- package/dist/canonical/normal-form.js +22 -23
- package/dist/canonical/normal-form.js.map +1 -1
- package/dist/canonical/registry.js.map +1 -1
- package/dist/canonical/residual.js.map +1 -1
- package/dist/canonical/seed-l-layer.d.ts +7 -1
- package/dist/canonical/seed-l-layer.d.ts.map +1 -1
- package/dist/canonical/seed-l-layer.js +7 -1
- package/dist/canonical/seed-l-layer.js.map +1 -1
- package/dist/canonical/structural.d.ts +42 -21
- package/dist/canonical/structural.d.ts.map +1 -1
- package/dist/canonical/structural.js +64 -23
- package/dist/canonical/structural.js.map +1 -1
- package/dist/cases/brownian-sphere.d.ts +3 -3
- package/dist/cases/brownian-sphere.d.ts.map +1 -1
- package/dist/cases/brownian-sphere.js +10 -9
- package/dist/cases/brownian-sphere.js.map +1 -1
- package/dist/cases/damped-resonator.d.ts.map +1 -1
- package/dist/cases/damped-resonator.js +8 -11
- package/dist/cases/damped-resonator.js.map +1 -1
- package/dist/cases/index.js.map +1 -1
- package/dist/cases/kepler-rv.d.ts +1 -1
- package/dist/cases/kepler-rv.d.ts.map +1 -1
- package/dist/cases/kepler-rv.js +3 -2
- package/dist/cases/kepler-rv.js.map +1 -1
- package/dist/cases/lumped-cooling.d.ts +8 -3
- package/dist/cases/lumped-cooling.d.ts.map +1 -1
- package/dist/cases/lumped-cooling.js +22 -24
- package/dist/cases/lumped-cooling.js.map +1 -1
- package/dist/cases/quadrature.d.ts +7 -9
- package/dist/cases/quadrature.d.ts.map +1 -1
- package/dist/cases/quadrature.js +28 -32
- package/dist/cases/quadrature.js.map +1 -1
- package/dist/cases/resistor-noise.js +7 -7
- package/dist/cases/resistor-noise.js.map +1 -1
- package/dist/cases/skin-depth.d.ts +0 -4
- package/dist/cases/skin-depth.d.ts.map +1 -1
- package/dist/cases/skin-depth.js +3 -7
- package/dist/cases/skin-depth.js.map +1 -1
- package/dist/cases/types.js.map +1 -1
- package/dist/cli/args.d.ts +30 -3
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +47 -9
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/bindings.d.ts +13 -0
- package/dist/cli/bindings.d.ts.map +1 -0
- package/dist/cli/bindings.js +33 -0
- package/dist/cli/bindings.js.map +1 -0
- package/dist/cli/closed-form-range.js.map +1 -1
- package/dist/cli/command.d.ts +8 -1
- package/dist/cli/command.d.ts.map +1 -1
- package/dist/cli/command.js.map +1 -1
- package/dist/cli/commands/_atlas-map.d.ts +2 -11
- package/dist/cli/commands/_atlas-map.d.ts.map +1 -1
- package/dist/cli/commands/_atlas-map.js +50 -35
- package/dist/cli/commands/_atlas-map.js.map +1 -1
- package/dist/cli/commands/_atlas-route.d.ts.map +1 -1
- package/dist/cli/commands/_atlas-route.js +6 -2
- package/dist/cli/commands/_atlas-route.js.map +1 -1
- package/dist/cli/commands/_discovery-opts.d.ts.map +1 -1
- package/dist/cli/commands/_discovery-opts.js +48 -14
- package/dist/cli/commands/_discovery-opts.js.map +1 -1
- package/dist/cli/commands/atlas.d.ts.map +1 -1
- package/dist/cli/commands/atlas.js +9 -8
- 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 +20 -20
- package/dist/cli/commands/audit.js.map +1 -1
- package/dist/cli/commands/axes.d.ts.map +1 -1
- package/dist/cli/commands/axes.js +20 -1
- package/dist/cli/commands/axes.js.map +1 -1
- package/dist/cli/commands/candidates.d.ts.map +1 -1
- package/dist/cli/commands/candidates.js +16 -8
- package/dist/cli/commands/candidates.js.map +1 -1
- package/dist/cli/commands/canonical.js.map +1 -1
- package/dist/cli/commands/chain.js +1 -1
- package/dist/cli/commands/chain.js.map +1 -1
- package/dist/cli/commands/confront.d.ts.map +1 -1
- package/dist/cli/commands/confront.js +22 -20
- package/dist/cli/commands/confront.js.map +1 -1
- package/dist/cli/commands/connectors.js.map +1 -1
- package/dist/cli/commands/coverage.js.map +1 -1
- package/dist/cli/commands/derive.d.ts.map +1 -1
- package/dist/cli/commands/derive.js +60 -35
- 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 +20 -10
- 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 +14 -10
- package/dist/cli/commands/eval.js.map +1 -1
- package/dist/cli/commands/evaluate.d.ts.map +1 -1
- package/dist/cli/commands/evaluate.js +108 -58
- 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 +16 -8
- package/dist/cli/commands/explain.js.map +1 -1
- package/dist/cli/commands/frontier.js.map +1 -1
- package/dist/cli/commands/ground.d.ts.map +1 -1
- package/dist/cli/commands/ground.js +41 -10
- package/dist/cli/commands/ground.js.map +1 -1
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/map.d.ts.map +1 -1
- package/dist/cli/commands/map.js +155 -92
- package/dist/cli/commands/map.js.map +1 -1
- package/dist/cli/commands/metric.d.ts.map +1 -1
- package/dist/cli/commands/metric.js +58 -20
- package/dist/cli/commands/metric.js.map +1 -1
- package/dist/cli/commands/path.d.ts +10 -0
- package/dist/cli/commands/path.d.ts.map +1 -1
- package/dist/cli/commands/path.js +29 -7
- package/dist/cli/commands/path.js.map +1 -1
- package/dist/cli/commands/predict.js.map +1 -1
- package/dist/cli/commands/priority.js.map +1 -1
- package/dist/cli/commands/probe.d.ts.map +1 -1
- package/dist/cli/commands/probe.js +105 -38
- package/dist/cli/commands/probe.js.map +1 -1
- package/dist/cli/commands/recover.js +1 -1
- package/dist/cli/commands/recover.js.map +1 -1
- package/dist/cli/commands/regime.d.ts +5 -4
- package/dist/cli/commands/regime.d.ts.map +1 -1
- package/dist/cli/commands/regime.js +25 -26
- package/dist/cli/commands/regime.js.map +1 -1
- package/dist/cli/commands/retrieve.d.ts.map +1 -1
- package/dist/cli/commands/retrieve.js +23 -14
- package/dist/cli/commands/retrieve.js.map +1 -1
- package/dist/cli/commands/search.d.ts.map +1 -1
- package/dist/cli/commands/search.js +9 -4
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/symbolic.js +31 -36
- package/dist/cli/commands/symbolic.js.map +1 -1
- package/dist/cli/commands/testplan.d.ts.map +1 -1
- package/dist/cli/commands/testplan.js +5 -3
- package/dist/cli/commands/testplan.js.map +1 -1
- package/dist/cli/conventions.js.map +1 -1
- package/dist/cli/determination.js.map +1 -1
- package/dist/cli/errors.js.map +1 -1
- package/dist/cli/euler-guard.js.map +1 -1
- package/dist/cli/eval-numbers.js.map +1 -1
- package/dist/cli/expr-print.d.ts +28 -3
- package/dist/cli/expr-print.d.ts.map +1 -1
- package/dist/cli/expr-print.js +42 -22
- package/dist/cli/expr-print.js.map +1 -1
- package/dist/cli/flag-help.js.map +1 -1
- package/dist/cli/graphs.js.map +1 -1
- package/dist/cli/library-defaults.d.ts +19 -0
- package/dist/cli/library-defaults.d.ts.map +1 -0
- package/dist/cli/library-defaults.js +22 -0
- package/dist/cli/library-defaults.js.map +1 -0
- package/dist/cli/main.d.ts +7 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +25 -6
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/map-evidence.js.map +1 -1
- package/dist/cli/numeric-flag.d.ts +12 -0
- package/dist/cli/numeric-flag.d.ts.map +1 -0
- package/dist/cli/numeric-flag.js +44 -0
- package/dist/cli/numeric-flag.js.map +1 -0
- package/dist/cli/output.d.ts +23 -6
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +15 -0
- package/dist/cli/output.js.map +1 -1
- package/dist/cli/published-url.js.map +1 -1
- package/dist/cli/record-reach.d.ts +6 -0
- package/dist/cli/record-reach.d.ts.map +1 -1
- package/dist/cli/record-reach.js +17 -11
- package/dist/cli/record-reach.js.map +1 -1
- package/dist/cli/record-tables.d.ts.map +1 -1
- package/dist/cli/record-tables.js +7 -6
- package/dist/cli/record-tables.js.map +1 -1
- package/dist/cli/record.d.ts +1 -5
- package/dist/cli/record.d.ts.map +1 -1
- package/dist/cli/record.js +40 -20
- package/dist/cli/record.js.map +1 -1
- package/dist/cli/search-index.d.ts +5 -0
- package/dist/cli/search-index.d.ts.map +1 -1
- package/dist/cli/search-index.js +19 -7
- package/dist/cli/search-index.js.map +1 -1
- package/dist/cli/statuses.d.ts +0 -2
- package/dist/cli/statuses.d.ts.map +1 -1
- package/dist/cli/statuses.js +0 -7
- package/dist/cli/statuses.js.map +1 -1
- package/dist/cli/stored-results.d.ts +7 -0
- package/dist/cli/stored-results.d.ts.map +1 -0
- package/dist/cli/stored-results.js +23 -0
- package/dist/cli/stored-results.js.map +1 -0
- package/dist/cli/top-level-help.js.map +1 -1
- package/dist/cli/version.d.ts.map +1 -1
- package/dist/cli/version.js +7 -5
- package/dist/cli/version.js.map +1 -1
- package/dist/cli-api.d.ts +49 -14
- package/dist/cli-api.d.ts.map +1 -1
- package/dist/cli-api.js +42 -17
- package/dist/cli-api.js.map +1 -1
- package/dist/composition/adjudication.js.map +1 -1
- package/dist/composition/algebraic-equivalence.d.ts +43 -0
- package/dist/composition/algebraic-equivalence.d.ts.map +1 -0
- package/dist/composition/algebraic-equivalence.js +115 -0
- package/dist/composition/algebraic-equivalence.js.map +1 -0
- package/dist/composition/aliases.js.map +1 -1
- package/dist/composition/audit-coverage.d.ts +2 -0
- package/dist/composition/audit-coverage.d.ts.map +1 -1
- package/dist/composition/audit-coverage.js.map +1 -1
- package/dist/composition/axes.d.ts +6 -0
- package/dist/composition/axes.d.ts.map +1 -1
- package/dist/composition/axes.js +18 -6
- package/dist/composition/axes.js.map +1 -1
- package/dist/composition/axis-audit.d.ts +47 -20
- package/dist/composition/axis-audit.d.ts.map +1 -1
- package/dist/composition/axis-audit.js +82 -9
- package/dist/composition/axis-audit.js.map +1 -1
- package/dist/composition/bridge-analysis.d.ts +14 -15
- package/dist/composition/bridge-analysis.d.ts.map +1 -1
- package/dist/composition/bridge-analysis.js +148 -91
- package/dist/composition/bridge-analysis.js.map +1 -1
- package/dist/composition/bridge-prediction.d.ts +5 -1
- package/dist/composition/bridge-prediction.d.ts.map +1 -1
- package/dist/composition/bridge-prediction.js +12 -16
- package/dist/composition/bridge-prediction.js.map +1 -1
- package/dist/composition/buckingham-filter.js.map +1 -1
- package/dist/composition/canonical-compare.d.ts +40 -0
- package/dist/composition/canonical-compare.d.ts.map +1 -1
- package/dist/composition/canonical-compare.js +134 -26
- package/dist/composition/canonical-compare.js.map +1 -1
- package/dist/composition/canonical-graph.d.ts +9 -10
- package/dist/composition/canonical-graph.d.ts.map +1 -1
- package/dist/composition/canonical-graph.js +33 -102
- package/dist/composition/canonical-graph.js.map +1 -1
- package/dist/composition/canonical-json.js +2 -2
- package/dist/composition/canonical-json.js.map +1 -1
- package/dist/composition/canonical-prefactors.js.map +1 -1
- package/dist/composition/catalog-graph.d.ts.map +1 -1
- package/dist/composition/catalog-graph.js +8 -25
- package/dist/composition/catalog-graph.js.map +1 -1
- package/dist/composition/chain-candidate.d.ts +10 -0
- package/dist/composition/chain-candidate.d.ts.map +1 -1
- package/dist/composition/chain-candidate.js +11 -2
- package/dist/composition/chain-candidate.js.map +1 -1
- package/dist/composition/chain-match.d.ts +6 -3
- package/dist/composition/chain-match.d.ts.map +1 -1
- package/dist/composition/chain-match.js +4 -1
- package/dist/composition/chain-match.js.map +1 -1
- package/dist/composition/chain-regime.js.map +1 -1
- package/dist/composition/chain-result.d.ts.map +1 -1
- package/dist/composition/chain-result.js +2 -14
- package/dist/composition/chain-result.js.map +1 -1
- package/dist/composition/compose-surface.js.map +1 -1
- package/dist/composition/compose-symbolic.d.ts.map +1 -1
- package/dist/composition/compose-symbolic.js +3 -2
- package/dist/composition/compose-symbolic.js.map +1 -1
- package/dist/composition/compose.d.ts.map +1 -1
- package/dist/composition/compose.js +166 -41
- package/dist/composition/compose.js.map +1 -1
- package/dist/composition/composition-recovery.d.ts.map +1 -1
- package/dist/composition/composition-recovery.js +4 -7
- package/dist/composition/composition-recovery.js.map +1 -1
- package/dist/composition/consequence.d.ts.map +1 -1
- package/dist/composition/consequence.js +15 -6
- package/dist/composition/consequence.js.map +1 -1
- package/dist/composition/consistency.js.map +1 -1
- package/dist/composition/descriptor.d.ts +1 -1
- package/dist/composition/descriptor.d.ts.map +1 -1
- package/dist/composition/descriptor.js.map +1 -1
- package/dist/composition/dimension-adjacency.js.map +1 -1
- package/dist/composition/discovery.d.ts +77 -11
- package/dist/composition/discovery.d.ts.map +1 -1
- package/dist/composition/discovery.js +194 -80
- package/dist/composition/discovery.js.map +1 -1
- package/dist/composition/edge.d.ts +40 -10
- package/dist/composition/edge.d.ts.map +1 -1
- package/dist/composition/edge.js +47 -12
- package/dist/composition/edge.js.map +1 -1
- package/dist/composition/enumerate.d.ts +2 -2
- package/dist/composition/enumerate.d.ts.map +1 -1
- package/dist/composition/enumerate.js +18 -3
- package/dist/composition/enumerate.js.map +1 -1
- package/dist/composition/evaluate-relation.d.ts +35 -11
- package/dist/composition/evaluate-relation.d.ts.map +1 -1
- package/dist/composition/evaluate-relation.js +60 -39
- package/dist/composition/evaluate-relation.js.map +1 -1
- package/dist/composition/explain.d.ts +5 -9
- package/dist/composition/explain.d.ts.map +1 -1
- package/dist/composition/explain.js +38 -18
- package/dist/composition/explain.js.map +1 -1
- package/dist/composition/expr-eval.d.ts.map +1 -1
- package/dist/composition/expr-eval.js +2 -11
- package/dist/composition/expr-eval.js.map +1 -1
- package/dist/composition/expr-simplify.d.ts +16 -0
- package/dist/composition/expr-simplify.d.ts.map +1 -1
- package/dist/composition/expr-simplify.js +24 -59
- package/dist/composition/expr-simplify.js.map +1 -1
- package/dist/composition/expr-subst.js.map +1 -1
- package/dist/composition/formula-shape.d.ts +28 -0
- package/dist/composition/formula-shape.d.ts.map +1 -1
- package/dist/composition/formula-shape.js +96 -2
- package/dist/composition/formula-shape.js.map +1 -1
- package/dist/composition/frontier-account.d.ts +3 -2
- package/dist/composition/frontier-account.d.ts.map +1 -1
- package/dist/composition/frontier-account.js +7 -3
- package/dist/composition/frontier-account.js.map +1 -1
- package/dist/composition/graph-structure.d.ts +98 -0
- package/dist/composition/graph-structure.d.ts.map +1 -0
- package/dist/composition/graph-structure.js +167 -0
- package/dist/composition/graph-structure.js.map +1 -0
- package/dist/composition/graph-viz-svg.d.ts.map +1 -1
- package/dist/composition/graph-viz-svg.js +1 -1
- package/dist/composition/graph-viz-svg.js.map +1 -1
- package/dist/composition/graph-viz.d.ts.map +1 -1
- package/dist/composition/graph-viz.js +8 -37
- package/dist/composition/graph-viz.js.map +1 -1
- package/dist/composition/grounding.js.map +1 -1
- package/dist/composition/identifiability.d.ts +91 -4
- package/dist/composition/identifiability.d.ts.map +1 -1
- package/dist/composition/identifiability.js +363 -6
- package/dist/composition/identifiability.js.map +1 -1
- package/dist/composition/index.d.ts +14 -8
- package/dist/composition/index.d.ts.map +1 -1
- package/dist/composition/index.js +7 -5
- package/dist/composition/index.js.map +1 -1
- package/dist/composition/mathts-quiet.d.ts +29 -0
- package/dist/composition/mathts-quiet.d.ts.map +1 -0
- package/dist/composition/mathts-quiet.js +57 -0
- package/dist/composition/mathts-quiet.js.map +1 -0
- package/dist/composition/mathts-scalar-symbols.d.ts.map +1 -1
- package/dist/composition/mathts-scalar-symbols.js +20 -35
- package/dist/composition/mathts-scalar-symbols.js.map +1 -1
- package/dist/composition/not-composable-seeds.d.ts +3 -1
- package/dist/composition/not-composable-seeds.d.ts.map +1 -1
- package/dist/composition/not-composable-seeds.js +2 -0
- package/dist/composition/not-composable-seeds.js.map +1 -1
- package/dist/composition/probe/backend-protocol.js.map +1 -1
- package/dist/composition/probe/candidate-store.js.map +1 -1
- package/dist/composition/probe/corpus.d.ts +4 -2
- package/dist/composition/probe/corpus.d.ts.map +1 -1
- package/dist/composition/probe/corpus.js +20 -9
- package/dist/composition/probe/corpus.js.map +1 -1
- package/dist/composition/probe/dataset.d.ts +17 -0
- package/dist/composition/probe/dataset.d.ts.map +1 -1
- package/dist/composition/probe/dataset.js +95 -50
- package/dist/composition/probe/dataset.js.map +1 -1
- package/dist/composition/probe/experiment-design.d.ts +5 -1
- package/dist/composition/probe/experiment-design.d.ts.map +1 -1
- package/dist/composition/probe/experiment-design.js +44 -24
- package/dist/composition/probe/experiment-design.js.map +1 -1
- package/dist/composition/probe/expression-gaps.js.map +1 -1
- package/dist/composition/probe/falsify.d.ts +14 -3
- package/dist/composition/probe/falsify.d.ts.map +1 -1
- package/dist/composition/probe/falsify.js +16 -27
- package/dist/composition/probe/falsify.js.map +1 -1
- package/dist/composition/probe/fingerprint.js.map +1 -1
- package/dist/composition/probe/fit.d.ts +7 -1
- package/dist/composition/probe/fit.d.ts.map +1 -1
- package/dist/composition/probe/fit.js +48 -23
- package/dist/composition/probe/fit.js.map +1 -1
- package/dist/composition/probe/frontier.d.ts.map +1 -1
- package/dist/composition/probe/frontier.js +33 -15
- package/dist/composition/probe/frontier.js.map +1 -1
- package/dist/composition/probe/generator.d.ts +27 -1
- package/dist/composition/probe/generator.d.ts.map +1 -1
- package/dist/composition/probe/generator.js +53 -30
- package/dist/composition/probe/generator.js.map +1 -1
- package/dist/composition/probe/index.d.ts +18 -2
- package/dist/composition/probe/index.d.ts.map +1 -1
- package/dist/composition/probe/index.js +10 -2
- package/dist/composition/probe/index.js.map +1 -1
- package/dist/composition/probe/limits.d.ts +24 -1
- package/dist/composition/probe/limits.d.ts.map +1 -1
- package/dist/composition/probe/limits.js +53 -11
- package/dist/composition/probe/limits.js.map +1 -1
- package/dist/composition/probe/metadata.js.map +1 -1
- package/dist/composition/probe/pipeline.d.ts +5 -0
- package/dist/composition/probe/pipeline.d.ts.map +1 -1
- package/dist/composition/probe/pipeline.js +22 -9
- package/dist/composition/probe/pipeline.js.map +1 -1
- package/dist/composition/probe/power-law.d.ts +121 -0
- package/dist/composition/probe/power-law.d.ts.map +1 -0
- package/dist/composition/probe/power-law.js +255 -0
- package/dist/composition/probe/power-law.js.map +1 -0
- package/dist/composition/probe/problem.d.ts +12 -1
- package/dist/composition/probe/problem.d.ts.map +1 -1
- package/dist/composition/probe/problem.js +242 -48
- package/dist/composition/probe/problem.js.map +1 -1
- package/dist/composition/probe/report.js +1 -1
- package/dist/composition/probe/report.js.map +1 -1
- package/dist/composition/probe/residual.d.ts +6 -1
- package/dist/composition/probe/residual.d.ts.map +1 -1
- package/dist/composition/probe/residual.js +9 -7
- package/dist/composition/probe/residual.js.map +1 -1
- package/dist/composition/probe/run-manifest.js +2 -2
- package/dist/composition/probe/run-manifest.js.map +1 -1
- package/dist/composition/probe/scoring.d.ts +2 -1
- package/dist/composition/probe/scoring.d.ts.map +1 -1
- package/dist/composition/probe/scoring.js +21 -7
- package/dist/composition/probe/scoring.js.map +1 -1
- package/dist/composition/probe/search-budget.js.map +1 -1
- package/dist/composition/probe/serialize.js.map +1 -1
- package/dist/composition/probe/structure.d.ts +82 -17
- package/dist/composition/probe/structure.d.ts.map +1 -1
- package/dist/composition/probe/structure.js +129 -55
- package/dist/composition/probe/structure.js.map +1 -1
- package/dist/composition/probe/study.d.ts +35 -12
- package/dist/composition/probe/study.d.ts.map +1 -1
- package/dist/composition/probe/study.js +241 -184
- package/dist/composition/probe/study.js.map +1 -1
- package/dist/composition/probe/t-tail.d.ts +17 -0
- package/dist/composition/probe/t-tail.d.ts.map +1 -0
- package/dist/composition/probe/t-tail.js +32 -0
- package/dist/composition/probe/t-tail.js.map +1 -0
- package/dist/composition/probe/types.d.ts +6 -1
- package/dist/composition/probe/types.d.ts.map +1 -1
- package/dist/composition/probe/types.js +2 -0
- package/dist/composition/probe/types.js.map +1 -1
- package/dist/composition/proposed-bridges.d.ts +51 -13
- package/dist/composition/proposed-bridges.d.ts.map +1 -1
- package/dist/composition/proposed-bridges.js +110 -58
- package/dist/composition/proposed-bridges.js.map +1 -1
- package/dist/composition/quantities.d.ts +0 -4
- package/dist/composition/quantities.d.ts.map +1 -1
- package/dist/composition/quantities.js +5 -5
- package/dist/composition/quantities.js.map +1 -1
- package/dist/composition/quantity-clusters.d.ts +48 -0
- package/dist/composition/quantity-clusters.d.ts.map +1 -0
- package/dist/composition/quantity-clusters.js +98 -0
- package/dist/composition/quantity-clusters.js.map +1 -0
- package/dist/composition/quantity.d.ts +18 -2
- package/dist/composition/quantity.d.ts.map +1 -1
- package/dist/composition/quantity.js +35 -6
- package/dist/composition/quantity.js.map +1 -1
- package/dist/composition/rational-exponent.d.ts +40 -0
- package/dist/composition/rational-exponent.d.ts.map +1 -0
- package/dist/composition/rational-exponent.js +65 -0
- package/dist/composition/rational-exponent.js.map +1 -0
- package/dist/composition/representative-values.d.ts +22 -0
- package/dist/composition/representative-values.d.ts.map +1 -1
- package/dist/composition/representative-values.js +23 -0
- package/dist/composition/representative-values.js.map +1 -1
- package/dist/composition/retrodiction.d.ts +16 -6
- package/dist/composition/retrodiction.d.ts.map +1 -1
- package/dist/composition/retrodiction.js +36 -10
- package/dist/composition/retrodiction.js.map +1 -1
- package/dist/composition/uncertainty.js.map +1 -1
- package/dist/composition/user-equation.d.ts.map +1 -1
- package/dist/composition/user-equation.js +2 -2
- package/dist/composition/user-equation.js.map +1 -1
- package/dist/core/assignment.d.ts +19 -0
- package/dist/core/assignment.d.ts.map +1 -0
- package/dist/core/assignment.js +19 -0
- package/dist/core/assignment.js.map +1 -0
- package/dist/core/axes-registry.d.ts +8 -5
- package/dist/core/axes-registry.d.ts.map +1 -1
- package/dist/core/axes-registry.js.map +1 -1
- package/dist/core/cell.js.map +1 -1
- package/dist/core/compare.d.ts +32 -0
- package/dist/core/compare.d.ts.map +1 -0
- package/dist/core/compare.js +46 -0
- package/dist/core/compare.js.map +1 -0
- package/dist/core/constants.d.ts +35 -35
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +52 -37
- package/dist/core/constants.js.map +1 -1
- package/dist/core/data-file.d.ts +7 -0
- package/dist/core/data-file.d.ts.map +1 -1
- package/dist/core/data-file.js +17 -0
- package/dist/core/data-file.js.map +1 -1
- package/dist/core/flux-rules.js +1 -1
- package/dist/core/flux-rules.js.map +1 -1
- package/dist/core/format.d.ts +36 -0
- package/dist/core/format.d.ts.map +1 -0
- package/dist/core/format.js +39 -0
- package/dist/core/format.js.map +1 -0
- package/dist/core/hash.d.ts +14 -0
- package/dist/core/hash.d.ts.map +1 -0
- package/dist/core/hash.js +17 -0
- package/dist/core/hash.js.map +1 -0
- package/dist/core/json-schema.d.ts +3 -1
- package/dist/core/json-schema.d.ts.map +1 -1
- package/dist/core/json-schema.js +41 -16
- package/dist/core/json-schema.js.map +1 -1
- package/dist/core/labeled-tensor.d.ts +6 -1
- package/dist/core/labeled-tensor.d.ts.map +1 -1
- package/dist/core/labeled-tensor.js +18 -16
- package/dist/core/labeled-tensor.js.map +1 -1
- package/dist/core/mathts-read.d.ts +25 -0
- package/dist/core/mathts-read.d.ts.map +1 -0
- package/dist/core/mathts-read.js +51 -0
- package/dist/core/mathts-read.js.map +1 -0
- package/dist/core/regime-registry.d.ts +6 -2
- package/dist/core/regime-registry.d.ts.map +1 -1
- package/dist/core/regime-registry.js.map +1 -1
- package/dist/core/regime-rule-install.js.map +1 -1
- package/dist/core/regimes-builtins.js.map +1 -1
- package/dist/core/tensor.d.ts +7 -4
- package/dist/core/tensor.d.ts.map +1 -1
- package/dist/core/tensor.js +64 -8
- package/dist/core/tensor.js.map +1 -1
- package/dist/core/types.d.ts +5 -5
- package/dist/core/types.js.map +1 -1
- package/dist/core/universal-index.js.map +1 -1
- package/dist/diff/bridge-ast-gradient.d.ts +4 -5
- package/dist/diff/bridge-ast-gradient.d.ts.map +1 -1
- package/dist/diff/bridge-ast-gradient.js +10 -6
- package/dist/diff/bridge-ast-gradient.js.map +1 -1
- package/dist/diff/bridge-gradient.d.ts +43 -86
- package/dist/diff/bridge-gradient.d.ts.map +1 -1
- package/dist/diff/bridge-gradient.js +40 -109
- package/dist/diff/bridge-gradient.js.map +1 -1
- package/dist/diff/bridge-specs.d.ts +16 -5
- package/dist/diff/bridge-specs.d.ts.map +1 -1
- package/dist/diff/bridge-specs.js +19 -4
- package/dist/diff/bridge-specs.js.map +1 -1
- package/dist/dimensional/algebra.d.ts +18 -0
- package/dist/dimensional/algebra.d.ts.map +1 -1
- package/dist/dimensional/algebra.js +41 -1
- package/dist/dimensional/algebra.js.map +1 -1
- package/dist/dimensional/ast-builders.d.ts +12 -4
- package/dist/dimensional/ast-builders.d.ts.map +1 -1
- package/dist/dimensional/ast-builders.js +17 -5
- package/dist/dimensional/ast-builders.js.map +1 -1
- package/dist/dimensional/ast-leaves.d.ts +81 -0
- package/dist/dimensional/ast-leaves.d.ts.map +1 -0
- package/dist/dimensional/ast-leaves.js +146 -0
- package/dist/dimensional/ast-leaves.js.map +1 -0
- package/dist/dimensional/ast-types.js.map +1 -1
- package/dist/dimensional/bridge-check.js.map +1 -1
- package/dist/dimensional/buckingham.d.ts.map +1 -1
- package/dist/dimensional/buckingham.js +15 -27
- package/dist/dimensional/buckingham.js.map +1 -1
- package/dist/dimensional/connection-validators.d.ts +2 -1
- package/dist/dimensional/connection-validators.d.ts.map +1 -1
- package/dist/dimensional/connection-validators.js.map +1 -1
- package/dist/dimensional/connection.js.map +1 -1
- package/dist/dimensional/constant-rows.d.ts.map +1 -1
- package/dist/dimensional/constant-rows.js +17 -13
- package/dist/dimensional/constant-rows.js.map +1 -1
- package/dist/dimensional/constants.d.ts +5 -6
- package/dist/dimensional/constants.d.ts.map +1 -1
- package/dist/dimensional/constants.js +5 -6
- package/dist/dimensional/constants.js.map +1 -1
- package/dist/dimensional/curvature-composite.js.map +1 -1
- package/dist/dimensional/curvature-invariants.js.map +1 -1
- package/dist/dimensional/curvature.js.map +1 -1
- package/dist/dimensional/dimension-inference.d.ts.map +1 -1
- package/dist/dimensional/dimension-inference.js +1 -2
- package/dist/dimensional/dimension-inference.js.map +1 -1
- package/dist/dimensional/dimension-spec.d.ts +13 -7
- package/dist/dimensional/dimension-spec.d.ts.map +1 -1
- package/dist/dimensional/dimension-spec.js +49 -23
- package/dist/dimensional/dimension-spec.js.map +1 -1
- package/dist/dimensional/einstein-equation.js.map +1 -1
- package/dist/dimensional/errors.d.ts +4 -2
- package/dist/dimensional/errors.d.ts.map +1 -1
- package/dist/dimensional/errors.js +3 -17
- package/dist/dimensional/errors.js.map +1 -1
- package/dist/dimensional/exact-scale.d.ts +0 -17
- package/dist/dimensional/exact-scale.d.ts.map +1 -1
- package/dist/dimensional/exact-scale.js +8 -8
- package/dist/dimensional/exact-scale.js.map +1 -1
- package/dist/dimensional/field-equation-helpers.js.map +1 -1
- package/dist/dimensional/formula-names.js.map +1 -1
- package/dist/dimensional/fresh-label.js.map +1 -1
- package/dist/dimensional/friedmann-equation.d.ts +3 -3
- package/dist/dimensional/friedmann-equation.js +3 -3
- package/dist/dimensional/friedmann-equation.js.map +1 -1
- package/dist/dimensional/gauge-field.d.ts +2 -3
- package/dist/dimensional/gauge-field.d.ts.map +1 -1
- package/dist/dimensional/gauge-field.js +2 -3
- package/dist/dimensional/gauge-field.js.map +1 -1
- package/dist/dimensional/hyphen-names.d.ts +12 -2
- package/dist/dimensional/hyphen-names.d.ts.map +1 -1
- package/dist/dimensional/hyphen-names.js +45 -12
- package/dist/dimensional/hyphen-names.js.map +1 -1
- package/dist/dimensional/killing-validators.js.map +1 -1
- package/dist/dimensional/klein-gordon-equation.js.map +1 -1
- package/dist/dimensional/metric-validators.d.ts +2 -1
- package/dist/dimensional/metric-validators.d.ts.map +1 -1
- package/dist/dimensional/metric-validators.js.map +1 -1
- package/dist/dimensional/metric.d.ts.map +1 -1
- package/dist/dimensional/metric.js +0 -1
- package/dist/dimensional/metric.js.map +1 -1
- package/dist/dimensional/natural-units.js.map +1 -1
- package/dist/dimensional/quantity-registry.d.ts +13 -0
- package/dist/dimensional/quantity-registry.d.ts.map +1 -1
- package/dist/dimensional/quantity-registry.js +14 -6
- package/dist/dimensional/quantity-registry.js.map +1 -1
- package/dist/dimensional/rg-flow.js.map +1 -1
- package/dist/dimensional/stress-energy-validators.js.map +1 -1
- package/dist/dimensional/symbolic-constants.d.ts +9 -0
- package/dist/dimensional/symbolic-constants.d.ts.map +1 -1
- package/dist/dimensional/symbolic-constants.js +20 -3
- package/dist/dimensional/symbolic-constants.js.map +1 -1
- package/dist/dimensional/tensor-trace.js.map +1 -1
- package/dist/dimensional/tensor.js.map +1 -1
- package/dist/dimensional/types.d.ts +36 -0
- package/dist/dimensional/types.d.ts.map +1 -1
- package/dist/dimensional/types.js +45 -7
- package/dist/dimensional/types.js.map +1 -1
- package/dist/dimensional/unit-convention.d.ts +0 -2
- package/dist/dimensional/unit-convention.d.ts.map +1 -1
- package/dist/dimensional/unit-convention.js +2 -2
- package/dist/dimensional/unit-convention.js.map +1 -1
- package/dist/dimensional/unit-data.d.ts.map +1 -1
- package/dist/dimensional/unit-data.js +11 -7
- package/dist/dimensional/unit-data.js.map +1 -1
- package/dist/dimensional/units.d.ts.map +1 -1
- package/dist/dimensional/units.js +38 -20
- package/dist/dimensional/units.js.map +1 -1
- package/dist/dimensional/validator-registry.js.map +1 -1
- package/dist/dimensional/validator.d.ts +0 -16
- package/dist/dimensional/validator.d.ts.map +1 -1
- package/dist/dimensional/validator.js +65 -29
- package/dist/dimensional/validator.js.map +1 -1
- package/dist/dimensional/weyl-validators.js.map +1 -1
- package/dist/index.d.ts +59 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -24
- package/dist/index.js.map +1 -1
- package/dist/numerical/bianchi-residual.js.map +1 -1
- package/dist/numerical/binding-value.d.ts +11 -6
- package/dist/numerical/binding-value.d.ts.map +1 -1
- package/dist/numerical/binding-value.js +126 -122
- package/dist/numerical/binding-value.js.map +1 -1
- package/dist/numerical/christoffel-flat.d.ts.map +1 -1
- package/dist/numerical/christoffel-flat.js +3 -2
- package/dist/numerical/christoffel-flat.js.map +1 -1
- package/dist/numerical/connection-lowering-helpers.js.map +1 -1
- package/dist/numerical/covariant-eikonal.d.ts.map +1 -1
- package/dist/numerical/covariant-eikonal.js +36 -13
- package/dist/numerical/covariant-eikonal.js.map +1 -1
- package/dist/numerical/curvature-lowering-helpers.d.ts +20 -0
- package/dist/numerical/curvature-lowering-helpers.d.ts.map +1 -1
- package/dist/numerical/curvature-lowering-helpers.js +9 -5
- package/dist/numerical/curvature-lowering-helpers.js.map +1 -1
- package/dist/numerical/derivative-lowering.js.map +1 -1
- package/dist/numerical/einstein-equation.js.map +1 -1
- package/dist/numerical/engine-registry.js.map +1 -1
- package/dist/numerical/errors.d.ts +7 -3
- package/dist/numerical/errors.d.ts.map +1 -1
- package/dist/numerical/errors.js +5 -8
- package/dist/numerical/errors.js.map +1 -1
- package/dist/numerical/evaluator-uncertainty.d.ts.map +1 -1
- package/dist/numerical/evaluator-uncertainty.js +19 -2
- package/dist/numerical/evaluator-uncertainty.js.map +1 -1
- package/dist/numerical/finite-difference.d.ts +22 -0
- package/dist/numerical/finite-difference.d.ts.map +1 -0
- package/dist/numerical/finite-difference.js +27 -0
- package/dist/numerical/finite-difference.js.map +1 -0
- package/dist/numerical/formula-contract.d.ts +63 -7
- package/dist/numerical/formula-contract.d.ts.map +1 -1
- package/dist/numerical/formula-contract.js +61 -42
- package/dist/numerical/formula-contract.js.map +1 -1
- package/dist/numerical/formula-dimension.d.ts +8 -7
- package/dist/numerical/formula-dimension.d.ts.map +1 -1
- package/dist/numerical/formula-dimension.js +58 -36
- 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 +5 -2
- package/dist/numerical/formula-mathts.js.map +1 -1
- package/dist/numerical/formula-registry.d.ts +13 -3
- package/dist/numerical/formula-registry.d.ts.map +1 -1
- package/dist/numerical/formula-registry.js +7 -2
- package/dist/numerical/formula-registry.js.map +1 -1
- package/dist/numerical/geodesic-integrator.d.ts.map +1 -1
- package/dist/numerical/geodesic-integrator.js +22 -14
- package/dist/numerical/geodesic-integrator.js.map +1 -1
- package/dist/numerical/geometrized.d.ts.map +1 -1
- package/dist/numerical/geometrized.js +0 -1
- package/dist/numerical/geometrized.js.map +1 -1
- package/dist/numerical/gl4-integrator.d.ts +28 -27
- package/dist/numerical/gl4-integrator.d.ts.map +1 -1
- package/dist/numerical/gl4-integrator.js +41 -42
- package/dist/numerical/gl4-integrator.js.map +1 -1
- package/dist/numerical/grid-field.js.map +1 -1
- package/dist/numerical/index.js.map +1 -1
- package/dist/numerical/input-validation.d.ts +3 -6
- package/dist/numerical/input-validation.d.ts.map +1 -1
- package/dist/numerical/input-validation.js +4 -8
- package/dist/numerical/input-validation.js.map +1 -1
- package/dist/numerical/killing.d.ts +8 -5
- package/dist/numerical/killing.d.ts.map +1 -1
- package/dist/numerical/killing.js.map +1 -1
- package/dist/numerical/klein-gordon.js.map +1 -1
- package/dist/numerical/kretschmann.js.map +1 -1
- package/dist/numerical/lowering-utils.js.map +1 -1
- package/dist/numerical/lowering.d.ts.map +1 -1
- package/dist/numerical/lowering.js +7 -17
- package/dist/numerical/lowering.js.map +1 -1
- package/dist/numerical/mathts-engine.d.ts.map +1 -1
- package/dist/numerical/mathts-engine.js +16 -25
- package/dist/numerical/mathts-engine.js.map +1 -1
- package/dist/numerical/metric-inverse.d.ts.map +1 -1
- package/dist/numerical/metric-inverse.js +83 -46
- package/dist/numerical/metric-inverse.js.map +1 -1
- package/dist/numerical/null-ic.js.map +1 -1
- package/dist/numerical/null-ray-integrator.d.ts +2 -1
- package/dist/numerical/null-ray-integrator.d.ts.map +1 -1
- package/dist/numerical/null-ray-integrator.js +12 -12
- package/dist/numerical/null-ray-integrator.js.map +1 -1
- package/dist/numerical/painleve-gullstrand-metric.js +2 -2
- package/dist/numerical/painleve-gullstrand-metric.js.map +1 -1
- package/dist/numerical/pderiv.d.ts.map +1 -1
- package/dist/numerical/pderiv.js +9 -2
- package/dist/numerical/pderiv.js.map +1 -1
- package/dist/numerical/perihelion-finder.d.ts +0 -36
- package/dist/numerical/perihelion-finder.d.ts.map +1 -1
- package/dist/numerical/perihelion-finder.js +41 -87
- package/dist/numerical/perihelion-finder.js.map +1 -1
- package/dist/numerical/quadrature.d.ts +5 -2
- package/dist/numerical/quadrature.d.ts.map +1 -1
- package/dist/numerical/quadrature.js +19 -4
- package/dist/numerical/quadrature.js.map +1 -1
- package/dist/numerical/rk4-trajectory.d.ts +10 -0
- package/dist/numerical/rk4-trajectory.d.ts.map +1 -0
- package/dist/numerical/rk4-trajectory.js +37 -0
- package/dist/numerical/rk4-trajectory.js.map +1 -0
- package/dist/numerical/schwarzschild.d.ts +14 -0
- package/dist/numerical/schwarzschild.d.ts.map +1 -0
- package/dist/numerical/schwarzschild.js +17 -0
- package/dist/numerical/schwarzschild.js.map +1 -0
- package/dist/numerical/spacetime-metrics.d.ts +25 -19
- package/dist/numerical/spacetime-metrics.d.ts.map +1 -1
- package/dist/numerical/spacetime-metrics.js +180 -286
- package/dist/numerical/spacetime-metrics.js.map +1 -1
- package/dist/numerical/statistics.d.ts +24 -0
- package/dist/numerical/statistics.d.ts.map +1 -0
- package/dist/numerical/statistics.js +52 -0
- package/dist/numerical/statistics.js.map +1 -0
- package/dist/numerical/strides.js.map +1 -1
- package/dist/numerical/tensor-engine.d.ts +30 -5
- package/dist/numerical/tensor-engine.d.ts.map +1 -1
- package/dist/numerical/tensor-engine.js +12 -0
- package/dist/numerical/tensor-engine.js.map +1 -1
- package/dist/numerical/types.js.map +1 -1
- package/dist/numerical/weyl-lowering.js.map +1 -1
- package/dist/relations/category.js.map +1 -1
- package/dist/relations/composition-table.d.ts +4 -4
- package/dist/relations/composition-table.js +4 -4
- package/dist/relations/composition-table.js.map +1 -1
- package/dist/relations/conventions.js.map +1 -1
- package/dist/relations/domain-regimes.js.map +1 -1
- package/dist/relations/regime-registration.js.map +1 -1
- package/dist/relations/regime-vocabularies.js.map +1 -1
- package/dist/relations/regime.d.ts +28 -8
- package/dist/relations/regime.d.ts.map +1 -1
- package/dist/relations/regime.js +44 -15
- package/dist/relations/regime.js.map +1 -1
- package/dist/relations/types.d.ts +18 -5
- package/dist/relations/types.d.ts.map +1 -1
- package/dist/relations/types.js +5 -3
- package/dist/relations/types.js.map +1 -1
- package/package.json +16 -20
- package/dist/bridges/registry.d.ts +0 -60
- package/dist/bridges/registry.d.ts.map +0 -1
- package/dist/bridges/registry.js +0 -87
- package/dist/bridges/registry.js.map +0 -1
- package/dist/cli/poster-source.d.ts +0 -154
- package/dist/cli/poster-source.d.ts.map +0 -1
- package/dist/cli/poster-source.js +0 -184
- package/dist/cli/poster-source.js.map +0 -1
package/dist/atlas/regime.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module atlas/regime
|
|
9
9
|
*/
|
|
10
|
-
export { collidingRegimeGroups, deriveRegimeGroups, intersectRegimes, regimeOverlap, uncoveredRegions, } from '../relations/regime.js';
|
|
10
|
+
export { collidingRegimeGroups, deriveRegimeGroups, intersectRegimes, makeRegime, regimeOverlap, uncoveredRegions, } from '../relations/regime.js';
|
|
11
11
|
export type { RegimeBearing, RegimeOverlap, RegionSample } from '../relations/regime.js';
|
|
12
12
|
import type { AtlasBridge } from './types.js';
|
|
13
13
|
/** Whether a regime's inequalities were satisfied, violated, or could not be checked. @public */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regime.d.ts","sourceRoot":"","sources":["../../src/atlas/regime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,iGAAiG;AACjG,MAAM,MAAM,WAAW,GAAG,OAAO,wBAAwB,EAAE,WAAW,CAAC;AAEvE;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,WAAW,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CA2BtE"}
|
|
1
|
+
{"version":3,"file":"regime.d.ts","sourceRoot":"","sources":["../../src/atlas/regime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,iGAAiG;AACjG,MAAM,MAAM,WAAW,GAAG,OAAO,wBAAwB,EAAE,WAAW,CAAC;AAEvE;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,WAAW,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CA2BtE"}
|
package/dist/atlas/regime.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module atlas/regime
|
|
9
9
|
*/
|
|
10
|
-
export { collidingRegimeGroups, deriveRegimeGroups, intersectRegimes, regimeOverlap, uncoveredRegions, } from '../relations/regime.js';
|
|
10
|
+
export { collidingRegimeGroups, deriveRegimeGroups, intersectRegimes, makeRegime, regimeOverlap, uncoveredRegions, } from '../relations/regime.js';
|
|
11
11
|
import { MissingDeltaAtError, MissingHorizonError } from './types.js';
|
|
12
12
|
/**
|
|
13
13
|
* Check a regime at supplied group values. A missing coordinate is unknown, not a pass.
|
package/dist/atlas/regime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regime.js","sourceRoot":"","sources":["../../src/atlas/regime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAKtE;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,UAAU,kBAAkB,CAAwB,MAAS;IACjE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IACzB,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,IAAI,MAAM,CAAC,QAAQ,KAAK,eAAe,EAAE,CAAC;YACxC,MAAM,IAAI,mBAAmB,CAC3B,GAAG,MAAM,CAAC,EAAE,wDAAwD,CACrE,CAAC;QACJ,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;QAChC,MAAM,IAAI,mBAAmB,CAC3B,GAAG,MAAM,CAAC,EAAE,6DAA6D,CAC1E,CAAC;IACJ,CAAC;IACD,IAAI,OAAO,KAAK,CAAC,YAAY,KAAK,UAAU,EAAE,CAAC;QAC7C,MAAM,IAAI,mBAAmB,CAC3B,GAAG,MAAM,CAAC,EAAE,mFAAmF,CAChG,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,KAAK,eAAe,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,UAAU,EAAE,CAAC;QAC/E,MAAM,IAAI,mBAAmB,CAC3B,GAA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I,mBAAmB,CAC3B,GAAG,MAAM,CAAC,EAAE,+EAA+E;YACzF,2DAA2D,CAC9D,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["/**\n * Regime admission, and the re-export of the vocabulary half.\n *\n * `deriveRegimeGroups`, `regimeHolds`, and the regime algebra live in\n * `src/relations/regime.ts`. `admitApproximation` stays here because it is\n * generic over `AtlasBridge`.\n *\n * @module atlas/regime\n */\n\nexport {\n collidingRegimeGroups,\n deriveRegimeGroups,\n intersectRegimes,\n makeRegime,\n regimeOverlap,\n uncoveredRegions,\n} from '../relations/regime.js';\nexport type { RegimeBearing, RegimeOverlap, RegionSample } from '../relations/regime.js';\n\nimport type { AtlasBridge } from './types.js';\nimport { MissingDeltaAtError, MissingHorizonError } from './types.js';\n\n/** Whether a regime's inequalities were satisfied, violated, or could not be checked. @public */\nexport type RegimeCheck = import('../relations/regime.js').RegimeCheck;\n\n/**\n * Check a regime at supplied group values. A missing coordinate is unknown, not a pass.\n *\n * @public\n */\nexport { regimeHolds } from '../relations/regime.js';\n\n/**\n * Admit a bridge, refusing an approximation whose horizon is missing.\n *\n * The gate is at ADMISSION, matching the existing throw in `makeApproximation`,\n * and for the same reason: a validator that runs \"later\" can be skipped, and an\n * unhorizoned bound that reached the atlas would be a bound claiming to hold\n * everywhere. The move-the-gate-to-use argument of design note §2 applies to\n * `uniformity` — a field whose absence is a legitimate NOT-YET-ANALYSED state\n * — and NOT to `horizon`, which `ApproximationBound` already mandates.\n *\n * Any relation may carry a `bound`; every bound present is checked, so a\n * `coarse-graining` cannot smuggle in an unhorizoned one.\n *\n * @returns the bridge, unchanged, so this can wrap a record at its definition.\n * The same argument applies to `deltaAt`, the machine form of `delta`, and is\n * why it is checked here beside the horizon. `delta` alone is a single number\n * for a whole domain: an implementer whose bound depends on a parameter can\n * only freeze it at one point, and a frozen point reads exactly like a\n * supremum. Requiring the machine form makes the dependence SAYABLE, so the\n * scalar can be held to its stated meaning. It is required only of an\n * `approximation`, matching `bound` itself; a `coarse-graining` may still\n * carry a constant bound with no `deltaAt`.\n *\n * @throws MissingHorizonError if an `approximation` has no bound, or if a\n * present bound has an empty `horizon` or no `horizonHolds`.\n * @throws MissingDeltaAtError if an `approximation` bound has no `deltaAt`.\n * @internal\n */\nexport function admitApproximation<T extends AtlasBridge>(bridge: T): T {\n const { bound } = bridge;\n if (bound === undefined) {\n if (bridge.relation === 'approximation') {\n throw new MissingHorizonError(\n `${bridge.id}: an approximation requires a bound carrying a horizon`,\n );\n }\n return bridge;\n }\n if (bound.horizon.trim() === '') {\n throw new MissingHorizonError(\n `${bridge.id}: an approximation bound requires a non-empty prose horizon`,\n );\n }\n if (typeof bound.horizonHolds !== 'function') {\n throw new MissingHorizonError(\n `${bridge.id}: an approximation bound requires a machine horizonHolds beside its prose horizon`,\n );\n }\n if (bridge.relation === 'approximation' && typeof bound.deltaAt !== 'function') {\n throw new MissingDeltaAtError(\n `${bridge.id}: an approximation bound requires a machine deltaAt beside its scalar delta, ` +\n 'which must be the supremum over the whole declared domain',\n );\n }\n return bridge;\n}\n"]}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* JSON projection of an atlas family (Atlas Phase 0, S0.6).
|
|
3
3
|
*
|
|
4
|
-
* The in-memory record is not JSON. Two
|
|
4
|
+
* The in-memory record is not JSON. Two things make that true, and both are
|
|
5
5
|
* handled here rather than left to `JSON.stringify`:
|
|
6
6
|
*
|
|
7
|
-
* 1.
|
|
8
|
-
*
|
|
9
|
-
* the
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
7
|
+
* 1. A bridge stores NO evidence set. The artifact's `evidence` is DERIVED
|
|
8
|
+
* at write time by `deriveEvidence`, against the committed witness results
|
|
9
|
+
* the caller passes in (`data/atlas/witness-results.json`), and emitted as
|
|
10
|
+
* a SORTED array so the artifact is stable under insertion order. The
|
|
11
|
+
* sentence that the record carried a `Set` the emitter copied is the
|
|
12
|
+
* record from before the hand-set field was removed.
|
|
13
|
+
* 2. `ApproximationBound.horizonHolds` and `deltaAt` are functions, which
|
|
14
|
+
* stringify to nothing at all. Only the `horizon` PROSE and the
|
|
15
|
+
* `deltaAtBasis` label cross into JSON; the machine forms stay in
|
|
16
|
+
* TypeScript, as `data/schemas/atlas-record.v0.json` states.
|
|
16
17
|
*
|
|
17
18
|
* Every record key order and every `Record<>` key order is fixed here, so two
|
|
18
19
|
* calls on the same family produce byte-identical output. That is what lets
|
|
@@ -21,7 +22,8 @@
|
|
|
21
22
|
*
|
|
22
23
|
* @module atlas/serialize
|
|
23
24
|
*/
|
|
24
|
-
import type { AtlasFamily } from './
|
|
25
|
+
import type { AtlasFamily } from './family.js';
|
|
26
|
+
import type { WitnessResultsArtifact } from './witness-artifact.js';
|
|
25
27
|
/** Record major version of the emitted artifact. @internal */
|
|
26
28
|
export declare const ATLAS_RECORD_SCHEMA_VERSION = "0";
|
|
27
29
|
/** A JSON value, as emitted. @internal */
|
|
@@ -44,7 +46,11 @@ export interface AtlasRecordJson {
|
|
|
44
46
|
*
|
|
45
47
|
* Deterministic: equal inputs give byte-identical `JSON.stringify` output.
|
|
46
48
|
*
|
|
49
|
+
* @param witnessResults - the committed `data/atlas/witness-results.json`.
|
|
50
|
+
* Each bridge's `evidence` is derived against it; it is REQUIRED, because a
|
|
51
|
+
* defaulted empty artifact would publish `proposed` for every bridge and
|
|
52
|
+
* read exactly like a measured negative.
|
|
47
53
|
* @internal
|
|
48
54
|
*/
|
|
49
|
-
export declare function toAtlasJson(family: AtlasFamily, packageVersion: string): AtlasRecordJson;
|
|
55
|
+
export declare function toAtlasJson(family: AtlasFamily, packageVersion: string, witnessResults: WitnessResultsArtifact): AtlasRecordJson;
|
|
50
56
|
//# sourceMappingURL=serialize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../../src/atlas/serialize.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../../src/atlas/serialize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAUH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAGpE,8DAA8D;AAC9D,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,0CAA0C;AAC1C,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,SAAS,EAAE,GACpB;IAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAExC,sCAAsC;AACtC,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,SAAS,SAAS,EAAE,CAAC;IACvC,QAAQ,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,CAAC;CAC3C;AAmLD;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,WAAW,EACnB,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,sBAAsB,GACrC,eAAe,CAUjB"}
|
package/dist/atlas/serialize.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* JSON projection of an atlas family (Atlas Phase 0, S0.6).
|
|
3
3
|
*
|
|
4
|
-
* The in-memory record is not JSON. Two
|
|
4
|
+
* The in-memory record is not JSON. Two things make that true, and both are
|
|
5
5
|
* handled here rather than left to `JSON.stringify`:
|
|
6
6
|
*
|
|
7
|
-
* 1.
|
|
8
|
-
*
|
|
9
|
-
* the
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
7
|
+
* 1. A bridge stores NO evidence set. The artifact's `evidence` is DERIVED
|
|
8
|
+
* at write time by `deriveEvidence`, against the committed witness results
|
|
9
|
+
* the caller passes in (`data/atlas/witness-results.json`), and emitted as
|
|
10
|
+
* a SORTED array so the artifact is stable under insertion order. The
|
|
11
|
+
* sentence that the record carried a `Set` the emitter copied is the
|
|
12
|
+
* record from before the hand-set field was removed.
|
|
13
|
+
* 2. `ApproximationBound.horizonHolds` and `deltaAt` are functions, which
|
|
14
|
+
* stringify to nothing at all. Only the `horizon` PROSE and the
|
|
15
|
+
* `deltaAtBasis` label cross into JSON; the machine forms stay in
|
|
16
|
+
* TypeScript, as `data/schemas/atlas-record.v0.json` states.
|
|
16
17
|
*
|
|
17
18
|
* Every record key order and every `Record<>` key order is fixed here, so two
|
|
18
19
|
* calls on the same family produce byte-identical output. That is what lets
|
|
@@ -21,6 +22,8 @@
|
|
|
21
22
|
*
|
|
22
23
|
* @module atlas/serialize
|
|
23
24
|
*/
|
|
25
|
+
import { deriveEvidence } from './derive-evidence.js';
|
|
26
|
+
import { artifactPassingWitnessIds } from './witness-artifact.js';
|
|
24
27
|
/** Record major version of the emitted artifact. @internal */
|
|
25
28
|
export const ATLAS_RECORD_SCHEMA_VERSION = '0';
|
|
26
29
|
/** Rebuild a record with its keys in sorted order, so emission is stable. */
|
|
@@ -63,8 +66,10 @@ const serializeRegime = (regime) => {
|
|
|
63
66
|
/**
|
|
64
67
|
* `horizonHolds` and `deltaAt` are deliberately absent: a predicate is not
|
|
65
68
|
* data, and a serialized function would be a claim no reader could check.
|
|
66
|
-
* `
|
|
67
|
-
*
|
|
69
|
+
* `deltaAtBasis` IS data: it says whether the point value `deltaAt` returns
|
|
70
|
+
* is the closed-form error or a numerically supported one, which a reader of
|
|
71
|
+
* the artifact cannot otherwise tell. `uniformity` IS data. `null` is the
|
|
72
|
+
* not-yet-analysed state and must be present in the artifact, not dropped.
|
|
68
73
|
*/
|
|
69
74
|
const serializeBound = (bound) => ({
|
|
70
75
|
K: zeroSafe(bound.K),
|
|
@@ -75,6 +80,7 @@ const serializeBound = (bound) => ({
|
|
|
75
80
|
...(bound.parameterRange === undefined ? {} : { parameterRange: bound.parameterRange }),
|
|
76
81
|
limitCharacter: bound.limitCharacter,
|
|
77
82
|
uniformity: bound.uniformity === null ? null : [...bound.uniformity],
|
|
83
|
+
...(bound.deltaAtBasis === undefined ? {} : { deltaAtBasis: bound.deltaAtBasis }),
|
|
78
84
|
});
|
|
79
85
|
/**
|
|
80
86
|
* Fields are enumerated EXPLICITLY, never spread: a new optional field stays
|
|
@@ -124,7 +130,7 @@ const serializeNormTransports = (transports) => transports.map((nt) => ({
|
|
|
124
130
|
witness: serializeWitnesses([nt.witness])[0],
|
|
125
131
|
basis: nt.basis,
|
|
126
132
|
}));
|
|
127
|
-
const serializeBridge = (bridge) => ({
|
|
133
|
+
const serializeBridge = (bridge, witnessResults) => ({
|
|
128
134
|
id: bridge.id,
|
|
129
135
|
relation: bridge.relation,
|
|
130
136
|
premises: [...bridge.premises],
|
|
@@ -140,9 +146,9 @@ const serializeBridge = (bridge) => ({
|
|
|
140
146
|
description: c.description,
|
|
141
147
|
witness: c.witness,
|
|
142
148
|
})),
|
|
143
|
-
//
|
|
144
|
-
// insertion order.
|
|
145
|
-
evidence: [...bridge.
|
|
149
|
+
// DERIVED against the committed witness results, never read from the
|
|
150
|
+
// record — sorted, so the artifact does not churn on insertion order.
|
|
151
|
+
evidence: [...deriveEvidence(bridge, artifactPassingWitnessIds(witnessResults, bridge.id))].sort(),
|
|
146
152
|
witnesses: serializeWitnesses(bridge.witnesses),
|
|
147
153
|
citations: [...bridge.citations],
|
|
148
154
|
reviewStatus: bridge.reviewStatus,
|
|
@@ -189,16 +195,20 @@ const serializeRejection = (rejection) => ({
|
|
|
189
195
|
*
|
|
190
196
|
* Deterministic: equal inputs give byte-identical `JSON.stringify` output.
|
|
191
197
|
*
|
|
198
|
+
* @param witnessResults - the committed `data/atlas/witness-results.json`.
|
|
199
|
+
* Each bridge's `evidence` is derived against it; it is REQUIRED, because a
|
|
200
|
+
* defaulted empty artifact would publish `proposed` for every bridge and
|
|
201
|
+
* read exactly like a measured negative.
|
|
192
202
|
* @internal
|
|
193
203
|
*/
|
|
194
|
-
export function toAtlasJson(family, packageVersion) {
|
|
204
|
+
export function toAtlasJson(family, packageVersion, witnessResults) {
|
|
195
205
|
return {
|
|
196
206
|
$schema: '../schemas/atlas-record.v0.json',
|
|
197
207
|
schemaVersion: ATLAS_RECORD_SCHEMA_VERSION,
|
|
198
208
|
packageVersion,
|
|
199
209
|
family: family.family,
|
|
200
210
|
models: family.models.map(serializeModel),
|
|
201
|
-
bridges: family.bridges.map(serializeBridge),
|
|
211
|
+
bridges: family.bridges.map((bridge) => serializeBridge(bridge, witnessResults)),
|
|
202
212
|
rejections: family.rejections.map(serializeRejection),
|
|
203
213
|
};
|
|
204
214
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../src/atlas/serialize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAYH,8DAA8D;AAC9D,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAsB/C,6EAA6E;AAC7E,MAAM,YAAY,GAAG,CAAI,MAAmC,EAAqB,EAAE;IACjF,MAAM,GAAG,GAAsB,EAAE,CAAC;IAClC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE;QAAE,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAM,CAAC;IAC1E,OAAO,GAAG,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MAAM;QACrB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;QACzC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;QAChF,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;KACtD,CAAC;AACJ,CAAC","sourcesContent":["/**\n * JSON projection of an atlas family (Atlas Phase 0, S0.6).\n *\n * The in-memory record is not JSON. Two things make that true, and both are\n * handled here rather than left to `JSON.stringify`:\n *\n * 1. A bridge stores NO evidence set. The artifact's `evidence` is DERIVED\n * at write time by `deriveEvidence`, against the committed witness results\n * the caller passes in (`data/atlas/witness-results.json`), and emitted as\n * a SORTED array so the artifact is stable under insertion order. The\n * sentence that the record carried a `Set` the emitter copied is the\n * record from before the hand-set field was removed.\n * 2. `ApproximationBound.horizonHolds` and `deltaAt` are functions, which\n * stringify to nothing at all. Only the `horizon` PROSE and the\n * `deltaAtBasis` label cross into JSON; the machine forms stay in\n * TypeScript, as `data/schemas/atlas-record.v0.json` states.\n *\n * Every record key order and every `Record<>` key order is fixed here, so two\n * calls on the same family produce byte-identical output. That is what lets\n * `tests/atlas/atlas-json.test.ts` pin the committed artifact against the live\n * family the way `catalog-json.test.ts` pins the bridge catalog.\n *\n * @module atlas/serialize\n */\n\nimport type { PiGroup } from '../dimensional/buckingham.js';\nimport type {\n ApproximationBound,\n AtlasBridge,\n AtlasRejection,\n Regime,\n} from './types.js';\nimport type { AtlasModel } from './model.js';\nimport type { AtlasFamily } from './family.js';\nimport { deriveEvidence } from './derive-evidence.js';\nimport type { WitnessResultsArtifact } from './witness-artifact.js';\nimport { artifactPassingWitnessIds } from './witness-artifact.js';\n\n/** Record major version of the emitted artifact. @internal */\nexport const ATLAS_RECORD_SCHEMA_VERSION = '0';\n\n/** A JSON value, as emitted. @internal */\nexport type JsonValue =\n | string\n | number\n | boolean\n | null\n | readonly JsonValue[]\n | { readonly [k: string]: JsonValue };\n\n/** The emitted artifact. @internal */\nexport interface AtlasRecordJson {\n readonly $schema: string;\n readonly schemaVersion: string;\n readonly packageVersion: string;\n readonly family: string;\n readonly models: readonly JsonValue[];\n readonly bridges: readonly JsonValue[];\n readonly rejections: readonly JsonValue[];\n}\n\n/** Rebuild a record with its keys in sorted order, so emission is stable. */\nconst sortedRecord = <T>(source: Readonly<Record<string, T>>): Record<string, T> => {\n const out: Record<string, T> = {};\n for (const key of Object.keys(source).sort()) out[key] = source[key] as T;\n return out;\n};\n\n/**\n * Normalize negative zero. `buckinghamPi` produces `-0` exponents (a `-1 * 0`\n * in the null-space arithmetic), and `JSON.stringify(-0)` is `\"0\"` — so a\n * record holding `-0` does NOT survive its own round-trip. Collapsing it here\n * makes the projection genuinely JSON-faithful instead of nearly so.\n */\nconst zeroSafe = (n: number): number => (n === 0 ? 0 : n);\n\nconst serializePiGroup = (group: PiGroup): JsonValue => {\n const exponents: Record<string, number> = {};\n const sorted = sortedRecord(group.exponents);\n for (const key of Object.keys(sorted)) exponents[key] = zeroSafe(sorted[key] as number);\n return { exponents, formula: group.formula };\n};\n\nconst serializeRegime = (regime: Regime): JsonValue => {\n const definitions: Record<string, JsonValue> = {};\n for (const key of Object.keys(regime.groupDefinitions).sort()) {\n definitions[key] = serializePiGroup(regime.groupDefinitions[key] as PiGroup);\n }\n return {\n family: regime.family,\n inequalities: regime.inequalities.map((i) => ({\n group: i.group,\n op: i.op,\n bound: zeroSafe(i.bound),\n ...(i.alias === undefined ? {} : { alias: i.alias }),\n })),\n groupDefinitions: definitions,\n };\n};\n\n/**\n * `horizonHolds` and `deltaAt` are deliberately absent: a predicate is not\n * data, and a serialized function would be a claim no reader could check.\n * `deltaAtBasis` IS data: it says whether the point value `deltaAt` returns\n * is the closed-form error or a numerically supported one, which a reader of\n * the artifact cannot otherwise tell. `uniformity` IS data. `null` is the\n * not-yet-analysed state and must be present in the artifact, not dropped.\n */\nconst serializeBound = (bound: ApproximationBound): JsonValue => ({\n K: zeroSafe(bound.K),\n delta: zeroSafe(bound.delta),\n norm: bound.norm,\n domain: bound.domain,\n horizon: bound.horizon,\n ...(bound.parameterRange === undefined ? {} : { parameterRange: bound.parameterRange }),\n limitCharacter: bound.limitCharacter,\n uniformity: bound.uniformity === null ? null : [...bound.uniformity],\n ...(bound.deltaAtBasis === undefined ? {} : { deltaAtBasis: bound.deltaAtBasis }),\n});\n\n/**\n * Fields are enumerated EXPLICITLY, never spread: a new optional field stays\n * invisible to the artifact until it is added here, so a model that records\n * none of the Phase 3 additions serializes byte-identically to the committed\n * `data/atlas/oscillators.json` that `tests/atlas/atlas-json.test.ts`\n * deep-equals against.\n */\nconst serializeModel = (model: AtlasModel): JsonValue => ({\n id: model.id,\n family: model.family,\n stateSpace: model.stateSpace,\n dynamics: model.dynamics,\n observables: [...model.observables],\n parameters: model.parameters.map((p) => ({\n name: p.name,\n dim: { ...p.dim },\n })),\n dimensionlessInputs: [...model.dimensionlessInputs],\n canonicalRefs: [...model.canonicalRefs],\n regime: serializeRegime(model.regime),\n ...(model.boundaryData === undefined ? {} : { boundaryData: [...model.boundaryData] }),\n ...(model.initialData === undefined ? {} : { initialData: [...model.initialData] }),\n ...(model.symmetryGroup === undefined ? {} : { symmetryGroup: model.symmetryGroup }),\n});\n\nconst serializeWitnesses = (\n witnesses: AtlasBridge['witnesses'],\n): readonly JsonValue[] =>\n witnesses.map((w) => ({\n id: w.id,\n kind: w.kind,\n test: w.test,\n ...(w.tolerance === undefined ? {} : { tolerance: w.tolerance }),\n }));\n\n/**\n * A norm transport's `KAt` and `timeMap.restateHorizon` are functions and are\n * absent for the reason `serializeBound` gives; the declaration's data is kept.\n */\nconst serializeNormTransports = (\n transports: NonNullable<AtlasBridge['normTransports']>,\n): readonly JsonValue[] =>\n transports.map((nt) => ({\n id: nt.id,\n fromModel: nt.fromModel,\n toModel: nt.toModel,\n from: nt.from,\n to: nt.to,\n K: zeroSafe(nt.K),\n domain: nt.domain,\n derivation: nt.derivation,\n timeMap: { map: nt.timeMap.map, uniform: nt.timeMap.uniform, horizon: nt.timeMap.horizon },\n uniformity: nt.uniformity,\n witness: serializeWitnesses([nt.witness])[0]!,\n basis: nt.basis,\n }));\n\nconst serializeBridge = (bridge: AtlasBridge, witnessResults: WitnessResultsArtifact): JsonValue => ({\n id: bridge.id,\n relation: bridge.relation,\n premises: [...bridge.premises],\n conclusion: bridge.conclusion,\n transformation: bridge.transformation,\n ...(bridge.inverse === undefined ? {} : { inverse: bridge.inverse }),\n preserves: [...bridge.preserves],\n doesNotPreserve: [...bridge.doesNotPreserve],\n sideConditions: [...bridge.sideConditions],\n ...(bridge.bound === undefined ? {} : { bound: serializeBound(bridge.bound) }),\n regime: serializeRegime(bridge.regime),\n counterexamples: bridge.counterexamples.map((c) => ({\n description: c.description,\n witness: c.witness,\n })),\n // DERIVED against the committed witness results, never read from the\n // record — sorted, so the artifact does not churn on insertion order.\n evidence: [...deriveEvidence(bridge, artifactPassingWitnessIds(witnessResults, bridge.id))].sort(),\n witnesses: serializeWitnesses(bridge.witnesses),\n citations: [...bridge.citations],\n reviewStatus: bridge.reviewStatus,\n // Omitted, never emptied, when absent (Phase 4 S4.6): an absent reference is\n // the honest default, and `{}` would read as a reference with no content.\n ...(bridge.formalRef === undefined\n ? {}\n : {\n formalRef: {\n system: bridge.formalRef.system,\n statement: bridge.formalRef.statement,\n version: bridge.formalRef.version,\n axioms: [...bridge.formalRef.axioms],\n fidelity: bridge.formalRef.fidelity,\n kind: bridge.formalRef.kind,\n url: bridge.formalRef.url,\n covers: bridge.formalRef.covers,\n },\n }),\n // Omitted when absent, like formalRef: no declaration is the default.\n ...(bridge.normTransports === undefined\n ? {}\n : { normTransports: serializeNormTransports(bridge.normTransports) }),\n});\n\n/**\n * `claimed` is emitted as `claimedRelation`, and `reason` is ALSO emitted as\n * `counterexample.description`, because the schema's rejection record names\n * those two keys. The description is the refutation itself restated under the\n * key the schema requires — no new claim is introduced.\n */\nconst serializeRejection = (rejection: AtlasRejection): JsonValue => ({\n id: rejection.id,\n claimedRelation: rejection.claimed,\n premises: [...rejection.premises],\n conclusion: rejection.conclusion,\n reason: rejection.reason,\n survivingGroup: rejection.survivingGroup,\n counterexample: { description: rejection.reason },\n witnesses: serializeWitnesses(rejection.witnesses),\n});\n\n/**\n * Project an atlas family into the shape of\n * `data/schemas/atlas-record.v0.json`.\n *\n * Deterministic: equal inputs give byte-identical `JSON.stringify` output.\n *\n * @param witnessResults - the committed `data/atlas/witness-results.json`.\n * Each bridge's `evidence` is derived against it; it is REQUIRED, because a\n * defaulted empty artifact would publish `proposed` for every bridge and\n * read exactly like a measured negative.\n * @internal\n */\nexport function toAtlasJson(\n family: AtlasFamily,\n packageVersion: string,\n witnessResults: WitnessResultsArtifact,\n): AtlasRecordJson {\n return {\n $schema: '../schemas/atlas-record.v0.json',\n schemaVersion: ATLAS_RECORD_SCHEMA_VERSION,\n packageVersion,\n family: family.family,\n models: family.models.map(serializeModel),\n bridges: family.bridges.map((bridge) => serializeBridge(bridge, witnessResults)),\n rejections: family.rejections.map(serializeRejection),\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statement.js","sourceRoot":"","sources":["../../src/atlas/statement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAmGpD,8EAA8E;AAC9E,SAAS,eAAe,CACtB,QAA4B,EAC5B,GAAsB;IAEtB,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,CAAC,IAAI,QAAQ,EAAE,CAAC;QACzB,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;QACjB,IAAI,CAAC,KAAK,SAAS;YAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC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F,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,GAA2B,EAC3B,QAA6C;IAE7C,MAAM,QAAQ,GAAc,EAAE,CAAC;IAC/B,KAAK,MAAM,EAAE,IAAI,GAAG,EAAE,CAAC;QACrB,MAAM,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC3B,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;YACpB,MAAM,IAAI,UAAU,CAAC,6CAA6C,EAAE,GAAG,CAAC,CAAC;QAC3E,CAAC;QACD,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;IACD,OAAO,YAAY,CAAC,QAAQ,CAAC,CAAC;AAChC,CAAC","sourcesContent":["/**\n * Atlas Phase 3 — `Statement`, `Context`, and the CHECKED context union.\n *\n * A `Statement` is a claim IN A CONTEXT, not a string. Design note\n * `docs/planning/Atlas-Phase-3-Design.md` §1: two statements that render\n * identically can be claims about different things when their gauge, frame or\n * assumption set differs, and the poster index will place exactly such pairs\n * next to each other. `context` is therefore the reason this type exists at\n * all rather than reusing `CanonicalEquation`.\n *\n * ## `ast?` is optional ON PURPOSE\n *\n * The poster's hidden supporting nodes — the action principle, Noether, the\n * full Maxwell set, the Lorentz group, the central limit theorem — are\n * valuable because they are NAMED and LINKED, not because they are evaluable.\n * Requiring an `ast` would force either a fabricated encoding or their\n * exclusion, and both are worse than an honest `sourceExpression` with no\n * `ast` (design note §1). Do not make it required.\n *\n * ## The union is CHECKED, never computed\n *\n * {@link contextUnion} does not MERGE contexts. It asks whether a union\n * EXISTS, and returns an explicit refusal when it does not. Two refusals\n * matter, and neither is an error condition:\n *\n * 1. **Convention conflict** — delegated to `checkConventions`, whose contract\n * is that `undefined` means UNKNOWN and is never a mismatch. An absent\n * declaration must not read as agreement, so the asymmetry is preserved\n * here rather than re-derived.\n * 2. **Contradictory assumptions** — Blueprint v2 §5.2 step 2: incompatible\n * assumptions are NEVER POOLED. A derivation whose premises assume mutually\n * exclusive conditions has no context union, therefore no composite.\n *\n * The result is a DISCRIMINATED UNION, mirroring `boundPath`'s no-claim\n * (`./path-bound.ts`): a caller cannot read `.context` off a refusal, because\n * a refusal has no `.context`. That is the whole point — the refusal is\n * enforced by the type, so no caller can read a conclusion off a union that\n * was never formed.\n *\n * Pure: no I/O, no registry reads.\n *\n * @module atlas/statement\n */\n\nimport { checkConventions } from './conventions.js';\nimport type { ConventionKey } from './conventions.js';\nimport type { Conventions } from './types.js';\nimport type { ModelId } from './model.js';\nimport type { ExprNode } from '../dimensional/ast-types.js';\n\n/** A {@link Statement} id — `'statement-noether'`, … . @internal */\nexport type StatementId = string;\n\n/**\n * The context a claim is made in: what it quantifies over, which choices it\n * fixes, and what it assumes.\n *\n * Every field but `assumptions` and `excludes` is optional, and the SAME\n * asymmetry `checkConventions` documents applies to each: a context that\n * declares no `gauge` has not chosen the Lorenz gauge, it has not said.\n * Absence is unknown, never disagreement.\n *\n * `assumptions` and `excludes` are required (possibly empty) because they are\n * the pair that decides poolability, and an optional one would let a caller\n * omit the field that makes a refusal possible.\n *\n * @internal\n */\nexport interface Context {\n /** Canonical quantity types the claim ranges over — `['energy', 'time']`. */\n readonly quantityTypes?: readonly string[];\n /** `'Lorenz'`, `'Coulomb'` — a fixed gauge choice, when the claim depends on one. */\n readonly gauge?: string;\n /** `'comoving'`, `'lab'` — a fixed frame choice, when the claim depends on one. */\n readonly frame?: string;\n /** Sign and unit choices. Compared by `checkConventions`. */\n readonly conventions?: Conventions;\n /** Stated assumptions — `'isolated system'`, `'weak field'`. */\n readonly assumptions: readonly string[];\n /**\n * Assumption strings this context is INCOMPATIBLE with.\n *\n * Declared per context rather than inferred, because no rule in this repo\n * can decide that `'weak field'` and `'strong field'` exclude each other\n * from the strings alone. A guess here would manufacture refusals out of\n * vocabulary rather than physics.\n *\n * Matching is exact string equality against another context's\n * `assumptions`, and it is SYMMETRIC in effect: it is enough for one side\n * to declare the exclusion.\n */\n readonly excludes: readonly string[];\n}\n\n/**\n * A claim in a context.\n *\n * @internal\n */\nexport interface Statement {\n /** `'statement-noether'`, `'statement-l1-maxwell'`, … */\n readonly id: StatementId;\n /** The load-bearing field — see the module note. */\n readonly context: Context;\n readonly model: ModelId;\n /** OPTIONAL BY DESIGN — see the module note. Absent ⇒ named-and-linked only. */\n readonly ast?: ExprNode;\n /** `'dS = 0'` — the source form, always present even when `ast` is not. */\n readonly sourceExpression: string;\n /** Rendered form for the poster index. */\n readonly display: string;\n}\n\n/** Why a set of contexts has NO union. @internal */\nexport type NoUnionReason =\n /** Two contexts DECLARE different values for a convention key. */\n | 'convention-conflict'\n /** One context excludes an assumption another one states. */\n | 'contradictory-assumptions'\n /** Two contexts DECLARE different gauges or frames. */\n | 'choice-conflict';\n\n/** The contexts DO pool, and this is the pooled context. @internal */\nexport interface ContextUnionFormed {\n readonly kind: 'union';\n readonly context: Context;\n}\n\n/** The contexts do NOT pool, and this is why. @internal */\nexport interface ContextUnionRefused {\n readonly kind: 'no-union';\n readonly reason: NoUnionReason;\n /** Human-readable specifics: which key, which assumption. */\n readonly detail: string;\n}\n\n/**\n * The result of {@link contextUnion}: a pooled context, or an explicit refusal.\n *\n * @internal\n */\nexport type ContextUnionResult = ContextUnionFormed | ContextUnionRefused;\n\n/** Distinct declared values of one optional choice field, across contexts. */\nfunction declaredChoices(\n contexts: readonly Context[],\n key: 'gauge' | 'frame',\n): readonly string[] {\n const seen = new Set<string>();\n for (const c of contexts) {\n const v = c[key];\n if (v !== undefined) seen.add(v);\n }\n return [...seen];\n}\n\n/**\n * The union of `contexts`, or an explicit refusal.\n *\n * Three gates, in this order; the FIRST refusal found is the one reported.\n *\n * 1. **Conventions.** Every PAIR is compared with `checkConventions`. Pairwise\n * rather than folded, because folding would compare each context against a\n * running merge and a merge has already lost which side declared what —\n * the exact information the `undefined`-is-unknown rule needs.\n * 2. **Assumptions.** A context's `excludes` entry matching any context's\n * stated `assumption` refuses the pool. Blueprint v2 §5.2 step 2.\n * 3. **Gauge / frame.** Two DECLARED and different values refuse; one declared\n * and one absent does not, mirroring gate 1's asymmetry.\n *\n * An empty list has no union: a union over nothing would be a context\n * asserted about no claim, the same reason `boundPath` throws on an empty\n * path. It is a `RangeError`, not a refusal, because it is a caller bug rather\n * than a physical incompatibility.\n *\n * @throws RangeError when `contexts` is empty.\n * @internal\n */\nexport function contextUnion(contexts: readonly Context[]): ContextUnionResult {\n if (contexts.length === 0) {\n throw new RangeError('contextUnion: no contexts; a union over nothing states nothing');\n }\n\n // ── Gate 1: no DECLARED convention pair may disagree ──────────────────────\n for (let i = 0; i < contexts.length; i++) {\n for (let j = i + 1; j < contexts.length; j++) {\n const clash: readonly ConventionKey[] = checkConventions(\n contexts[i]!.conventions,\n contexts[j]!.conventions,\n );\n if (clash.length > 0) {\n return {\n kind: 'no-union',\n reason: 'convention-conflict',\n detail:\n `contexts ${i} and ${j} declare different values for ` +\n `${clash.map((k) => `'${k}'`).join(', ')}; they do not pool`,\n };\n }\n }\n }\n\n // ── Gate 2: incompatible assumptions are NEVER pooled ─────────────────────\n const stated = new Map<string, number>();\n for (let i = 0; i < contexts.length; i++) {\n for (const a of contexts[i]!.assumptions) {\n if (!stated.has(a)) stated.set(a, i);\n }\n }\n for (let i = 0; i < contexts.length; i++) {\n for (const x of contexts[i]!.excludes) {\n const at = stated.get(x);\n if (at !== undefined) {\n return {\n kind: 'no-union',\n reason: 'contradictory-assumptions',\n detail:\n `context ${i} excludes '${x}', which context ${at} assumes; ` +\n 'incompatible assumptions are never pooled',\n };\n }\n }\n }\n\n // ── Gate 3: a declared gauge or frame may not be contradicted ─────────────\n for (const key of ['gauge', 'frame'] as const) {\n const values = declaredChoices(contexts, key);\n if (values.length > 1) {\n return {\n kind: 'no-union',\n reason: 'choice-conflict',\n detail:\n `the contexts declare ${values.length} different ${key}s ` +\n `(${values.map((v) => `'${v}'`).join(', ')}); they do not pool`,\n };\n }\n }\n\n // ── The pool ──────────────────────────────────────────────────────────────\n // Conventions merge by KEY rather than by object, so a context silent on a\n // key inherits another's declaration instead of erasing it. Gate 1 has\n // already proved no two declarations disagree, so the order of assignment\n // cannot change the result.\n const conventions: Record<string, unknown> = {};\n for (const c of contexts) {\n for (const [k, v] of Object.entries(c.conventions ?? {})) {\n if (v !== undefined) conventions[k] = v;\n }\n }\n const quantityTypes = [...new Set(contexts.flatMap((c) => c.quantityTypes ?? []))];\n const gauge = declaredChoices(contexts, 'gauge')[0];\n const frame = declaredChoices(contexts, 'frame')[0];\n\n return {\n kind: 'union',\n context: {\n ...(quantityTypes.length > 0 ? { quantityTypes } : {}),\n ...(gauge !== undefined ? { gauge } : {}),\n ...(frame !== undefined ? { frame } : {}),\n ...(Object.keys(conventions).length > 0\n ? { conventions: conventions as Conventions }\n : {}),\n assumptions: [...stated.keys()],\n excludes: [...new Set(contexts.flatMap((c) => c.excludes))],\n },\n };\n}\n\n/**\n * The context union of a set of STATEMENTS, by id, resolved through `registry`.\n *\n * @throws RangeError if an id does not resolve. An unresolved id silently\n * dropped would narrow the union and could turn a refusal into a pool —\n * precisely the direction that manufactures a false claim.\n * @internal\n */\nexport function statementContextUnion(\n ids: readonly StatementId[],\n registry: ReadonlyMap<StatementId, Statement>,\n): ContextUnionResult {\n const contexts: Context[] = [];\n for (const id of ids) {\n const s = registry.get(id);\n if (s === undefined) {\n throw new RangeError(`statementContextUnion: unknown statement '${id}'`);\n }\n contexts.push(s.context);\n }\n return contextUnion(contexts);\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Word-token overlap: the text baseline's tokenizer, Jaccard similarity and the rank comparator.
|
|
3
|
+
*
|
|
4
|
+
* `link-prediction.ts` reads these. `benchmark/baselines.ts` carries private copies of the same
|
|
5
|
+
* functions on purpose (its rank comparator spells the codepoint order inline, where this one
|
|
6
|
+
* calls `compareCodepoint`): that file is a pinned code blob of the closed criterion 3 study,
|
|
7
|
+
* hashed by the study's freeze, and is not edited to import this module.
|
|
8
|
+
*
|
|
9
|
+
* @module atlas/text-overlap
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
/** Lower-cased word tokens (letters and digits) of a text, as a set. @internal */
|
|
13
|
+
export declare const tokens: (text: string) => Set<string>;
|
|
14
|
+
/** Jaccard similarity |a ∩ b| / |a ∪ b|; 0 when both sets are empty. @internal */
|
|
15
|
+
export declare const jaccard: (a: ReadonlySet<string>, b: ReadonlySet<string>) => number;
|
|
16
|
+
/**
|
|
17
|
+
* Rank candidates by descending score list (lexicographic), then ascending id. A stable, total
|
|
18
|
+
* order: two candidates with equal scores are ordered by id, never by input position.
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare function rankBy(candidates: readonly string[], score: (id: string) => readonly number[]): string[];
|
|
23
|
+
//# sourceMappingURL=text-overlap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-overlap.d.ts","sourceRoot":"","sources":["../../src/atlas/text-overlap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,kFAAkF;AAClF,eAAO,MAAM,MAAM,SAAU,MAAM,KAAG,GAAG,CAAC,MAAM,CACkC,CAAC;AAEnF,kFAAkF;AAClF,eAAO,MAAM,OAAO,MAAO,WAAW,CAAC,MAAM,CAAC,KAAK,WAAW,CAAC,MAAM,CAAC,KAAG,MAKxE,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAOxG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Word-token overlap: the text baseline's tokenizer, Jaccard similarity and the rank comparator.
|
|
3
|
+
*
|
|
4
|
+
* `link-prediction.ts` reads these. `benchmark/baselines.ts` carries private copies of the same
|
|
5
|
+
* functions on purpose (its rank comparator spells the codepoint order inline, where this one
|
|
6
|
+
* calls `compareCodepoint`): that file is a pinned code blob of the closed criterion 3 study,
|
|
7
|
+
* hashed by the study's freeze, and is not edited to import this module.
|
|
8
|
+
*
|
|
9
|
+
* @module atlas/text-overlap
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
import { compareCodepoint } from '../core/compare.js';
|
|
13
|
+
/** Lower-cased word tokens (letters and digits) of a text, as a set. @internal */
|
|
14
|
+
export const tokens = (text) => new Set(text.toLowerCase().split(/[^\p{L}\p{N}]+/u).filter((t) => t.length > 0));
|
|
15
|
+
/** Jaccard similarity |a ∩ b| / |a ∪ b|; 0 when both sets are empty. @internal */
|
|
16
|
+
export const jaccard = (a, b) => {
|
|
17
|
+
if (a.size === 0 && b.size === 0)
|
|
18
|
+
return 0;
|
|
19
|
+
let inter = 0;
|
|
20
|
+
for (const x of a)
|
|
21
|
+
if (b.has(x))
|
|
22
|
+
inter++;
|
|
23
|
+
return inter / (a.size + b.size - inter);
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Rank candidates by descending score list (lexicographic), then ascending id. A stable, total
|
|
27
|
+
* order: two candidates with equal scores are ordered by id, never by input position.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export function rankBy(candidates, score) {
|
|
32
|
+
return [...candidates].sort((x, y) => {
|
|
33
|
+
const sx = score(x);
|
|
34
|
+
const sy = score(y);
|
|
35
|
+
for (let i = 0; i < sx.length; i++)
|
|
36
|
+
if (sx[i] !== sy[i])
|
|
37
|
+
return sy[i] - sx[i];
|
|
38
|
+
return compareCodepoint(x, y);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=text-overlap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-overlap.js","sourceRoot":"","sources":["../../src/atlas/text-overlap.ts"],"names":[],"mappings":"AAAA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AE,GAAG,EAAE,CAAC,CAAC,CAAE,CAAC;QAChF,OAAO,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["/**\n * Word-token overlap: the text baseline's tokenizer, Jaccard similarity and the rank comparator.\n *\n * `link-prediction.ts` reads these. `benchmark/baselines.ts` carries private copies of the same\n * functions on purpose (its rank comparator spells the codepoint order inline, where this one\n * calls `compareCodepoint`): that file is a pinned code blob of the closed criterion 3 study,\n * hashed by the study's freeze, and is not edited to import this module.\n *\n * @module atlas/text-overlap\n * @internal\n */\n\nimport { compareCodepoint } from '../core/compare.js';\n\n/** Lower-cased word tokens (letters and digits) of a text, as a set. @internal */\nexport const tokens = (text: string): Set<string> =>\n new Set(text.toLowerCase().split(/[^\\p{L}\\p{N}]+/u).filter((t) => t.length > 0));\n\n/** Jaccard similarity |a ∩ b| / |a ∪ b|; 0 when both sets are empty. @internal */\nexport const jaccard = (a: ReadonlySet<string>, b: ReadonlySet<string>): number => {\n if (a.size === 0 && b.size === 0) return 0;\n let inter = 0;\n for (const x of a) if (b.has(x)) inter++;\n return inter / (a.size + b.size - inter);\n};\n\n/**\n * Rank candidates by descending score list (lexicographic), then ascending id. A stable, total\n * order: two candidates with equal scores are ordered by id, never by input position.\n *\n * @internal\n */\nexport function rankBy(candidates: readonly string[], score: (id: string) => readonly number[]): string[] {\n return [...candidates].sort((x, y) => {\n const sx = score(x);\n const sy = score(y);\n for (let i = 0; i < sx.length; i++) if (sx[i] !== sy[i]) return sy[i]! - sx[i]!;\n return compareCodepoint(x, y);\n });\n}\n"]}
|
|
@@ -1 +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,oCA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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","sourcesContent":["/**\n * Every declared observable translation (`./translation.ts`), and every\n * bridge's declaration that it carries an observable. A bridge absent here\n * has none, and a tolerance in another observable is not judged for it or\n * through it.\n *\n * @module atlas/translation-registry\n * @internal\n */\n\nimport { SPRING_LC_PHASE_CARRIAGE } from './oscillators/phase-carriage.js';\nimport { PENDULUM_PHASE_TRANSLATION } from './oscillators/phase-translation.js';\nimport { PENDULUM_POSITION_TRANSLATION } from './oscillators/position-translation.js';\nimport type { ObservableCarriage, ObservableTranslation, TranslationCheck } from './translation.js';\nimport { runDominanceWitness } from './witness-dominance.js';\nimport { runNumericWitness } from './witness-numeric.js';\nimport type { WitnessRunResult } from './witness-result.js';\n\n/** @internal */\nexport const OBSERVABLE_TRANSLATIONS: readonly ObservableTranslation[] = [PENDULUM_PHASE_TRANSLATION, PENDULUM_POSITION_TRANSLATION];\n\n/** @internal */\nexport const OBSERVABLE_CARRIAGES: readonly ObservableCarriage[] = [SPRING_LC_PHASE_CARRIAGE];\n\n/** The translations declared for one bridge, in registry order. @internal */\nexport function translationsOf(bridgeId: string): readonly ObservableTranslation[] {\n return OBSERVABLE_TRANSLATIONS.filter((t) => t.bridgeId === bridgeId);\n}\n\n/** The bridge's declaration that it carries `observable`, if it makes one. @internal */\nexport function carriageOf(bridgeId: string, observable: string): ObservableCarriage | undefined {\n return OBSERVABLE_CARRIAGES.find((c) => c.bridgeId === bridgeId && c.observable === observable);\n}\n\n/** Run a translation or carriage check of either shape. @internal */\nexport function runTranslationCheck(check: TranslationCheck): WitnessRunResult {\n return 'kind' in check ? runDominanceWitness(check) : runNumericWitness(check);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../src/atlas/translation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG"}
|
|
1
|
+
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../src/atlas/translation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG","sourcesContent":["/**\n * A bridge's declared translation of its bound's quantity into ANOTHER\n * observable (CLI audit §14 item 8).\n *\n * A bound is stated in one norm. A user asking for a tolerance in a different\n * observable is asking a different question, and the answer is only as good\n * as the map between the two. So the map is a record of its own: declared per\n * bridge, with its derivation, its premises, what it does NOT cover, and its\n * own witnesses. Its evidence is derived from those witnesses and is never the\n * bound's: a translation that rests on a numerically-supported check does not\n * inherit a proof the bound's transformation may carry, and it carries no\n * `formalRef`.\n *\n * Both maps take the bound's own quantity as an argument, so the same\n * translation serves the point value (`deltaAt`) and the domain supremum\n * (`delta`). That is sound only when the translated error is monotone\n * non-decreasing in the bound's quantity, which `derivation` must state.\n *\n * A translation is either the error itself (`'exact'`) or an upper bound on\n * it (`'upper-bound'`). Past the horizon of an exact translation the error\n * exceeds the tolerance; past the horizon of an upper bound only the BOUND\n * does, and the error may still be within it — a caller must not report the\n * second as inadequate.\n *\n * A translation composes across a following bridge only through an\n * `ObservableCarriage` that bridge declares for the same observable. The\n * composition table is not consulted and not widened: a carriage is a claim\n * about one observable, not about the bound's norm.\n *\n * @module atlas/translation\n * @internal\n */\n\nimport type { Witness } from './types.js';\nimport type { DominanceWitnessSpec } from './witness-dominance.js';\nimport type { NumericWitnessSpec } from './witness-numeric.js';\n\n/** An executable witness of either shape. @internal */\nexport type TranslationCheck = NumericWitnessSpec | DominanceWitnessSpec;\n\n/** A witness run at the caller's point, with the control that shows it can fail there. @internal */\nexport interface PointCheck {\n /** What is checked at this point, in words, including the resolutions. */\n readonly claim: string;\n readonly check: TranslationCheck;\n /** The same measurement against a plausible wrong map. */\n readonly control: TranslationCheck;\n /** The wrong map the control uses. */\n readonly controlClaim: string;\n}\n\n/** A bridge-specific map from a bound's norm to an observable error and horizon. @internal */\nexport interface ObservableTranslation {\n /** The `AtlasBridge.id` whose bound is translated. */\n readonly bridgeId: string;\n /** `'phase'` — the name a `--tolerance=<observable>:EPS` request uses. */\n readonly observable: string;\n /** Unit of the translated error and of a tolerance on it. */\n readonly unit: string;\n /** Must equal the bridge's `bound.norm`: the quantity the maps consume. */\n readonly fromNorm: string;\n /** Whether `errorAt` is the error itself or an upper bound on it. */\n readonly errorKind: 'exact' | 'upper-bound';\n /** What the observable is, precisely enough to measure it. */\n readonly definition: string;\n /** How the maps follow from the bound's quantity, and why the supremum may be passed. */\n readonly derivation: string;\n /** Conditions the derivation assumes and nothing here checks. */\n readonly premises: readonly string[];\n /** Point parameters the maps need beyond the bound's own (`'T0'`). */\n readonly parameters: readonly string[];\n /** The unit an observation time is read in. */\n readonly timeUnit: string;\n /** The accumulated error in `observable` at time `t`, given the bound's value. */\n readonly errorAt: (boundValue: number, t: number, params: Readonly<Record<string, number>>) => number;\n /**\n * The time at which the accumulated error reaches `tolerance`; `Infinity` if\n * it never does; `NaN` if undefined, including when `floor` already exceeds\n * the tolerance.\n */\n readonly horizonFor: (boundValue: number, tolerance: number, params: Readonly<Record<string, number>>) => number;\n /** The part of `errorAt` present at every t (its value at t = 0); absent when it is 0. */\n readonly floor?: (boundValue: number) => number;\n /** Which side of the horizon is adequate, stated. */\n readonly boundary: string;\n /** Observables this translation is NOT a bound on. */\n readonly notCovered: readonly string[];\n readonly witnesses: readonly Witness[];\n /** The executable form of each numeric witness, run on request. */\n readonly checks: readonly TranslationCheck[];\n /** The witness at the caller's point, bounded in cost, or why it cannot be run there. */\n readonly pointCheck: (boundValue: number) => PointCheck | { readonly unavailable: string };\n}\n\n/**\n * A bridge's declaration that its map carries an observable unchanged, so a\n * translation into that observable on an earlier step holds for the path\n * through it. Declared per bridge, with its own derivation and witnesses; a\n * bridge without one does not carry the observable, whatever its relation.\n *\n * @internal\n */\nexport interface ObservableCarriage {\n /** The bridge that carries. */\n readonly bridgeId: string;\n /** The observable carried: a translation's `observable`. */\n readonly observable: string;\n /** How the observable on the premise maps to the conclusion's. */\n readonly map: string;\n /** Why the map leaves the observable's error unchanged. */\n readonly derivation: string;\n /** Conditions the carriage assumes and nothing here checks. */\n readonly premises: readonly string[];\n /** How the observation time on the premise maps to the conclusion's clock. */\n readonly timeMap: string;\n readonly witnesses: readonly Witness[];\n readonly checks: readonly TranslationCheck[];\n}\n"]}
|
package/dist/atlas/types.d.ts
CHANGED
|
@@ -110,7 +110,14 @@ export interface AtlasBridge {
|
|
|
110
110
|
readonly bound?: ApproximationBound;
|
|
111
111
|
readonly regime: Regime;
|
|
112
112
|
readonly counterexamples: readonly Counterexample[];
|
|
113
|
-
|
|
113
|
+
/**
|
|
114
|
+
* There is NO `evidence` field. Every evidence tag is derived at read time
|
|
115
|
+
* by `deriveEvidence` from the witnesses, the formal reference and the
|
|
116
|
+
* counterexamples a record carries, against the committed witness results;
|
|
117
|
+
* `toAtlasJson` writes that derivation into the artifact. The sentence
|
|
118
|
+
* that a record stored its own set is the record from before this field
|
|
119
|
+
* was removed.
|
|
120
|
+
*/
|
|
114
121
|
readonly witnesses: readonly Witness[];
|
|
115
122
|
readonly citations: readonly string[];
|
|
116
123
|
readonly reviewStatus: 'proposed' | 'reviewed';
|
|
@@ -149,7 +156,7 @@ export declare class MissingHorizonError extends Error {
|
|
|
149
156
|
* such a record is present and correct, and reporting a missing horizon for it
|
|
150
157
|
* would send the next reader to the one field that is not the defect.
|
|
151
158
|
*
|
|
152
|
-
* @
|
|
159
|
+
* @public
|
|
153
160
|
*/
|
|
154
161
|
export declare class MissingDeltaAtError extends Error {
|
|
155
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,qFAAqF;AACrF,MAAM,MAAM,YAAY,GAAG,OAAO,uBAAuB,EAAE,YAAY,CAAC;AACxE,yFAAyF;AACzF,MAAM,MAAM,WAAW,GAAG,OAAO,uBAAuB,EAAE,WAAW,CAAC;AACtE,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,OAAO,uBAAuB,EAAE,cAAc,CAAC;AAC5E,yFAAyF;AACzF,MAAM,MAAM,gBAAgB,GAAG,OAAO,uBAAuB,EAAE,gBAAgB,CAAC;AAChF,8EAA8E;AAC9E,MAAM,MAAM,MAAM,GAAG,OAAO,uBAAuB,EAAE,MAAM,CAAC;AAC5D,4EAA4E;AAC5E,MAAM,MAAM,kBAAkB,GAAG,OAAO,uBAAuB,EAAE,kBAAkB,CAAC;AACpF,6EAA6E;AAC7E,MAAM,MAAM,cAAc,GAAG,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,SAAS,aAAa,EAAE,CAAC;CACpD;AAED,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC7B,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,SAAS,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
|
@@ -19,7 +19,7 @@ export class MissingHorizonError extends Error {
|
|
|
19
19
|
* such a record is present and correct, and reporting a missing horizon for it
|
|
20
20
|
* would send the next reader to the one field that is not the defect.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @public
|
|
23
23
|
*/
|
|
24
24
|
export class MissingDeltaAtError extends Error {
|
|
25
25
|
}
|
package/dist/atlas/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA0BH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/atlas/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA0BH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAkI1D,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","sourcesContent":["/**\n * Atlas record types.\n *\n * The shared vocabulary lives in `src/relations/types.ts` and is re-exported\n * here. A public name is also a local type alias in this file, so the\n * facade scan still sees a declaration, and the alias is the same type.\n *\n * @module atlas/types\n */\n\nimport type { FormalRef } from '../relations/types.js';\n\n/** The relation a bridge asserts between its premises and its conclusion. @public */\nexport type RelationType = import('../relations/types.js').RelationType;\n/** What kind of support a record carries. Carried only if its witness passes. @public */\nexport type EvidenceTag = import('../relations/types.js').EvidenceTag;\n/** Whether the limit a bridge takes is regular or singular. @public */\nexport type LimitCharacter = import('../relations/types.js').LimitCharacter;\n/** One inequality on a regime coordinate, a π-group or a dimensionless input. @public */\nexport type RegimeInequality = import('../relations/types.js').RegimeInequality;\n/** Where in parameter space a model or bridge is claimed to apply. @public */\nexport type Regime = import('../relations/types.js').Regime;\n/** A Lipschitz-plus-offset error bound with a mandatory horizon. @public */\nexport type ApproximationBound = import('../relations/types.js').ApproximationBound;\n/** A case a bridge does not cover, and the witness that shows it. @public */\nexport type Counterexample = import('../relations/types.js').Counterexample;\n\nexport type {\n Conventions,\n FormalFidelity,\n FormalRef,\n FormalRefKind,\n RelationContract,\n} from '../relations/types.js';\nexport { ALL_EVIDENCE_TAGS } from '../relations/types.js';\n\n/** A named check that supports a record, and the test file that runs it. @public */\nexport interface Witness {\n /** `'W7b'`. */\n readonly id: string;\n readonly kind: 'symbolic' | 'numeric' | 'formal';\n /** Test file path. */\n readonly test: string;\n /** As stated in the brief. */\n readonly tolerance?: string;\n}\n\n/**\n * `AtlasModel` MOVED to `./model.ts` in Phase 3, where it gained\n * `boundaryData?`, `initialData?` and `symmetryGroup?`. It is NOT re-exported\n * from here: `model.ts` imports `Regime` from this module, so a re-export\n * would close a cycle `bun run docs:deps` reports. Import it from\n * `./model.js`.\n */\n\n/**\n * An exact bridge's declaration of how its map acts on ONE norm, in ONE\n * direction: a bound stated in `from` about `fromModel` becomes a bound in `to`\n * about `toModel`, multiplied by `K`. Design:\n * `docs/planning/ADR-transported-norm-composition.md`.\n *\n * Without a declaration an exact map contributes the identity in no norm, and a\n * route through it after a normed bound carries no bound (`'norm-not-stated'`).\n * A declaration licenses exactly the norm and direction it names; every other\n * norm, and the reverse direction, stay refused.\n *\n * @internal\n */\nexport interface NormTransport {\n /** `'nt-spring-lc-relative-period'`; also the `recordId` of its registered witness. */\n readonly id: string;\n /** The model the bound is about before the map. */\n readonly fromModel: string;\n /** The model the transported bound is about. */\n readonly toModel: string;\n /** The norm the incoming bound must state, verbatim. */\n readonly from: string;\n /** The norm the transported bound holds in. */\n readonly to: string;\n /** The factor the map multiplies the error by: the supremum of {@link KAt} over {@link domain}. */\n readonly K: number;\n /** The same factor at a point, in closed form. */\n readonly KAt: (params: Readonly<Record<string, number>>) => number;\n /** Where `K` is the supremum. */\n readonly domain: string;\n /** Why the map acts on the norm by `K`. */\n readonly derivation: string;\n readonly timeMap: {\n /** The map from the `fromModel`'s clock to the `toModel`'s. */\n readonly map: string;\n /** A transport whose time map is not uniform is refused by `boundPath`. */\n readonly uniform: boolean;\n /** How a horizon stated before the map reads after it. */\n readonly horizon: string;\n /** The machine form of {@link horizon}. */\n readonly restateHorizon: (\n holds: (t: number, params: Readonly<Record<string, number>>) => boolean,\n ) => (t: number, params: Readonly<Record<string, number>>) => boolean;\n };\n /** What the incoming bound's uniformity becomes; the list is carried unchanged when the map preserves it. */\n readonly uniformity: string;\n /** The check that the map acts on the norm by `K`. */\n readonly witness: Witness;\n /** The evidence tag the witness supports when it checks; never `'formally-proved'`. */\n readonly basis: 'numerically-supported' | 'symbolically-checked';\n}\n\n/** Field set = Blueprint v2 §3.1 Bridge record + citations. @internal */\nexport interface AtlasBridge {\n /** `'ab-spring-lc'`. */\n readonly id: string;\n readonly relation: RelationType;\n /** Model ids (many). */\n readonly premises: readonly string[];\n /** Model id (one). */\n readonly conclusion: string;\n /** `'u = x/x0 (or q/q0), τ = ω0 t'`. */\n readonly transformation: string;\n /** `'x = x0 u, t = τ/ω0'` — required for `exact-equivalence`. */\n readonly inverse?: string;\n readonly preserves: readonly string[];\n readonly doesNotPreserve: readonly string[];\n readonly sideConditions: readonly string[];\n /** Required iff `relation === 'approximation'`. */\n readonly bound?: ApproximationBound;\n readonly regime: Regime;\n readonly counterexamples: readonly Counterexample[];\n /**\n * There is NO `evidence` field. Every evidence tag is derived at read time\n * by `deriveEvidence` from the witnesses, the formal reference and the\n * counterexamples a record carries, against the committed witness results;\n * `toAtlasJson` writes that derivation into the artifact. The sentence\n * that a record stored its own set is the record from before this field\n * was removed.\n */\n readonly witnesses: readonly Witness[];\n readonly citations: readonly string[];\n readonly reviewStatus: 'proposed' | 'reviewed';\n /**\n * A machine-checked counterpart, when one genuinely exists (Phase 4, S4.6).\n * Absent is the honest default: a statement with no checked counterpart gets\n * no reference rather than an `'unreviewed'` placeholder.\n */\n readonly formalRef?: FormalRef;\n /**\n * Only on an `exact-equivalence`: the norms, and directions, the map is\n * declared to transport a bound in. Absent means none.\n */\n readonly normTransports?: readonly NormTransport[];\n}\n\n/** A claimed bridge the atlas records as REJECTED, with the reason. @public */\nexport interface AtlasRejection {\n /** `'ax-cubic-spring-lc'`. */\n readonly id: string;\n readonly claimed: RelationType;\n readonly premises: readonly string[];\n readonly conclusion: string;\n readonly reason: string;\n /** `'beta·x0²·k⁻¹'`. */\n readonly survivingGroup: string;\n readonly witnesses: readonly Witness[];\n}\n\n/** Thrown when an `ApproximationBound` is built without its machine horizon. @public */\nexport class MissingHorizonError extends Error {}\n\n/**\n * Thrown when an `approximation` bound is built without the machine form of\n * its `delta`.\n *\n * A distinct type rather than a reuse of `MissingHorizonError`: the horizon of\n * such a record is present and correct, and reporting a missing horizon for it\n * would send the next reader to the one field that is not the defect.\n *\n * @public\n */\nexport class MissingDeltaAtError extends Error {}\n\n/** Thrown when a bound path has no Lipschitz constant anywhere but at its end. @public */\nexport class MissingLipschitzError extends Error {}\n\n"]}
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAOnC;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,WA+EnC,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,oBAAoB,EAAE,WA+BlC,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,EAAE,WAqEjC,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,oBAAoB,EAAE,SAAS,WAAW,EAItD,CAAC"}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { ACTION, FORCE, FREQUENCY, MASS, VELOCITY } from '../../dimensional/types.js';
|
|
20
20
|
import { makeApproximation } from '../oscillators/bridges-limits.js';
|
|
21
21
|
import { SPRING_CONSTANT } from '../oscillators/dimensions.js';
|
|
22
|
-
import {
|
|
22
|
+
import { makeRegime } from '../regime.js';
|
|
23
23
|
import { physjsFormalRef } from '../physjs-ref.js';
|
|
24
24
|
import { FLEXURAL_RIGIDITY, LINEAR_DENSITY, WAVENUMBER, WAVES_FAMILY_NAME } from './models.js';
|
|
25
25
|
import { kgNonrelativisticError, stiffStringPhaseError } from './numerics.js';
|
|
@@ -28,11 +28,7 @@ const TEST = 'tests/atlas/closure.test.ts';
|
|
|
28
28
|
export const KG_NR_MAX_X = 0.1;
|
|
29
29
|
/** Domain edge of the flexible-string limit: β = EIk²/F ≤ 0.01. @internal */
|
|
30
30
|
export const STIFF_MAX_BETA = 0.01;
|
|
31
|
-
const regime = (parameters, inequalities) => (
|
|
32
|
-
family: WAVES_FAMILY_NAME,
|
|
33
|
-
inequalities,
|
|
34
|
-
groupDefinitions: deriveRegimeGroups(WAVES_FAMILY_NAME, parameters, []),
|
|
35
|
-
});
|
|
31
|
+
const regime = (parameters, inequalities) => makeRegime(WAVES_FAMILY_NAME, parameters, [], inequalities);
|
|
36
32
|
/**
|
|
37
33
|
* Bridge: Klein–Gordon → free Schrödinger, the non-relativistic limit.
|
|
38
34
|
*
|
|
@@ -99,7 +95,6 @@ export const BRIDGE_KG_SCHRODINGER = {
|
|
|
99
95
|
witness: 'WS5b',
|
|
100
96
|
},
|
|
101
97
|
],
|
|
102
|
-
evidence: new Set(['proposed', 'numerically-supported']),
|
|
103
98
|
witnesses: [
|
|
104
99
|
{
|
|
105
100
|
id: 'WS5',
|
|
@@ -136,7 +131,6 @@ export const BRIDGE_KG_OSCILLATOR = {
|
|
|
136
131
|
{ name: 'k', dim: SPRING_CONSTANT },
|
|
137
132
|
], []),
|
|
138
133
|
counterexamples: [],
|
|
139
|
-
evidence: new Set(['proposed', 'numerically-supported']),
|
|
140
134
|
witnesses: [
|
|
141
135
|
{
|
|
142
136
|
id: 'WS6',
|
|
@@ -200,7 +194,6 @@ export const BRIDGE_STIFF_STRING = {
|
|
|
200
194
|
witness: 'WS7b',
|
|
201
195
|
},
|
|
202
196
|
],
|
|
203
|
-
evidence: new Set(['proposed', 'numerically-supported']),
|
|
204
197
|
witnesses: [
|
|
205
198
|
{
|
|
206
199
|
id: 'WS7',
|