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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/relations/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA8BH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,UAAU;IACV,UAAU;IACV,mBAAmB;IACnB,oBAAoB;IACpB,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;IACjB,0BAA0B;IAC1B,6BAA6B;IAC7B,uBAAuB;IACvB,cAAc;IACd,YAAY;CAC6B,CAAC;AAqB5C;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,iBAAiB,CAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/relations/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA8BH;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,UAAU;IACV,UAAU;IACV,mBAAmB;IACnB,oBAAoB;IACpB,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;IACjB,0BAA0B;IAC1B,6BAA6B;IAC7B,uBAAuB;IACvB,cAAc;IACd,YAAY;CAC6B,CAAC;AAiC5C;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,iBAAiB,CAAU,CAAC","sourcesContent":["/**\n * Shared relation vocabulary.\n *\n * Objects and morphisms are `./category.ts`. Composition delegates to\n * `composeRelation`. `src/atlas/types.ts` re-exports these names, so the\n * public `atlas` namespace and the atlas subpath are unchanged.\n *\n * @module relations/types\n */\n\nimport type { PiGroup } from '../dimensional/buckingham.js';\n\n/** The relation a bridge asserts between its premises and its conclusion. @public */\nexport type RelationType =\n | 'derivation'\n | 'exact-equivalence'\n | 'restriction'\n | 'approximation'\n | 'coarse-graining'\n | 'analytic-continuation'\n | 'structural-analogy'\n | 'deformation-quantization';\n\n/** What kind of support a record carries. Carried only if its witness passes. @public */\nexport type EvidenceTag =\n | 'proposed'\n | 'reviewed'\n | 'dimension-checked'\n | 'convention-checked'\n | 'symbolically-checked'\n | 'numerically-supported'\n | 'formally-proved'\n | 'formally-proved-property'\n | 'formally-proved-cross-check'\n | 'empirically-supported'\n | 'contradicted'\n | 'unresolved';\n\n/**\n * Every `EvidenceTag`, in declaration order, so a report can name all of them.\n *\n * Lives HERE, not in `coverage.ts` (which re-exports it), because\n * `tests/atlas/derived-tag-literals.test.ts` allows the literals\n * `'formally-proved'` and `'symbolically-checked'` under `src/atlas/` and\n * `src/relations/` in exactly three files: this one (`src/relations/types.ts`,\n * where the union and the tag list are declared), `src/atlas/types.ts`, and\n * `src/atlas/derive-evidence.ts`. A tag that can only be DERIVED must not be\n * spellable anywhere a record could hand-set it.\n *\n * @internal\n */\nexport const ALL_EVIDENCE_TAGS = [\n 'proposed',\n 'reviewed',\n 'dimension-checked',\n 'convention-checked',\n 'symbolically-checked',\n 'numerically-supported',\n 'formally-proved',\n 'formally-proved-property',\n 'formally-proved-cross-check',\n 'empirically-supported',\n 'contradicted',\n 'unresolved',\n] as const satisfies readonly EvidenceTag[];\n\n/**\n * How a formal reference's statement was checked against the physics it claims\n * to state (Phase 4 design note §3).\n *\n * - `'two-formalizers'` — two people formalized it independently and agreed.\n * - `'back-translation'` — a reviewer who had not seen the source translated\n * the formal statement back to prose and it matched.\n * - `'sanity-lemmas'` — the statement was instantiated on known cases in\n * `tests/atlas/formal-sanity.test.ts`. A PhysJS reference carries it only\n * when its key is in `PHYSJS_SANITY_LEMMA_KEYS` and its manifest row is\n * also reviewed (below).\n * - `'reviewed-manifest'` — the manifest row (key, theorem, kind, covers\n * line, proof status, axioms, nested statements) was read against the\n * bridge it keys and pinned by its hash in `src/atlas/physjs-reviewed.ts`;\n * `physjsFormalRef` recomputes the hash and emits this value only on a\n * match. The statement was not instantiated on a known case.\n * - `'unreviewed'` — recorded, not checked. **Earns no tag, by construction.**\n * A PhysJS key whose row is not in the reviewed table, or that is ahead of\n * the catalog, derives this value.\n *\n * No value here is hand-set on a record: `physjsFormalRef` derives it.\n *\n * @internal\n */\nexport type FormalFidelity =\n | 'two-formalizers'\n | 'back-translation'\n | 'sanity-lemmas'\n | 'reviewed-manifest'\n | 'unreviewed';\n\n/**\n * What a formal reference certifies.\n *\n * `'bridge'` is the only kind that derives `formally-proved`. `'property'`\n * and `'cross-check'` derive their own labels. A reduction, a limit, and a\n * derivation-step are recorded and derive neither.\n *\n * @internal\n */\nexport const FORMAL_REF_KINDS = ['bridge', 'property', 'cross-check', 'reduction', 'limit', 'derivation-step'] as const;\n\n/**\n * One of {@link FORMAL_REF_KINDS}. A PhysJS reference takes the `kind` its\n * manifest entry records.\n *\n * @internal\n */\nexport type FormalRefKind = (typeof FORMAL_REF_KINDS)[number];\n\n/**\n * A machine-checked counterpart of a record's claim in a proof assistant.\n *\n * A proof of the WRONG statement proves nothing about the physics, so the\n * reference carries its `fidelity` — how anyone knows the formal statement says\n * what the bridge says. `formally-proved` is derived from `kind` and `fidelity`\n * and never set. A property and a cross-check are shown under their own labels\n * and are not a proved bridge.\n *\n * @internal\n */\nexport interface FormalRef {\n readonly system: 'lean4-physlib' | 'lean4-physjs' | 'other';\n /** The formal statement's name or text, as it appears in `system`. */\n readonly statement: string;\n /** The library version or commit the statement was checked against. */\n readonly version: string;\n /** Axioms the proof depends on beyond the system's core. */\n readonly axioms: readonly string[];\n readonly fidelity: FormalFidelity;\n readonly kind: FormalRefKind;\n /** Permalink to the theorem's source file at `version`'s commit. */\n readonly url: string;\n /**\n * What the statement certifies, and the limit of that certification.\n * A reviewed reference's line contains `covers its statement only`.\n */\n readonly covers: string;\n}\n\n/** Whether the limit a bridge takes is regular or singular. @public */\nexport type LimitCharacter = 'regular' | 'singular' | 'unknown';\n\n/**\n * One inequality on a regime coordinate. The coordinate is either a π-group\n * `buckinghamPi` produced from the family's dimensioned parameters (keyed by\n * `PiGroup.formula`), or a dimensionless INPUT of the model (an initial datum\n * such as θ0, a wavenumber-lattice product qa) declared as a\n * `DimensionalVariable` with the zero dimension, which is its own trivial\n * group. Derived quantities such as ζ = ½ (m k / b²)^(−½) are NOT groups:\n * write the inequality on the group (`m k / b² > 1/4`) and record the display\n * alias in `alias`.\n *\n * @public\n */\nexport interface RegimeInequality {\n /** `PiGroup.formula`, or the dimensionless input's name. */\n readonly group: string;\n readonly op: '<' | '<=' | '>' | '>=';\n readonly bound: number;\n /** `'ζ < 1'` — for display only, never evaluated. */\n readonly alias?: string;\n}\n\n/** Where in parameter space a model or bridge is claimed to apply. @public */\nexport interface Regime {\n /** `'oscillators'`. */\n readonly family: string;\n readonly inequalities: readonly RegimeInequality[];\n /** Traceability back to the dimension matrix, keyed by `PiGroup.formula`. */\n readonly groupDefinitions: Readonly<Record<string, PiGroup>>;\n}\n\n/** A Lipschitz-plus-offset error bound with a mandatory horizon. @public */\nexport interface ApproximationBound {\n /** Lipschitz constant of the map, in the stated norm. */\n readonly K: number;\n /**\n * Uniform error, same norm: the SUPREMUM OF THE BOUND OVER THE WHOLE\n * DECLARED DOMAIN (`domain` / `parameterRange`), never a sample of it at\n * one convenient fixture point.\n *\n * A parameter-dependent bound evaluated at a fixture is not a bound on the\n * domain it claims: the record would read as covering every admissible\n * parameter while holding only at the one point it was measured. When the\n * supremum is approached but not attained at an open edge of the domain,\n * `delta` is that supremum, and `deltaAt` is what a caller uses to get the\n * tighter value at its own point.\n */\n readonly delta: number;\n /**\n * `'relative period error, normalized by the value of the reduced model'`,\n * `'sup |x − x_reduced| for t ≥ 5 m/b'`, …\n *\n * A RELATIVE norm divides |exact − reduced| by the REDUCED model's value, and\n * says so in this string. The other reading, by the exact value, gives a\n * different number: at x = ck/ω₀ = 1 the non-relativistic kinetic frequency\n * exceeds the exact Klein–Gordon one by 20.7% of the exact value, and by\n * 17.2% of its own value. `tests/atlas/relative-norm-convention.test.ts` recomputes\n * every relative `delta` from closed-form physics and pins the convention.\n */\n readonly norm: string;\n /** Where the bound holds. */\n readonly domain: string;\n /** MANDATORY prose horizon: `'t ≪ 16 T0/θ0²'`. */\n readonly horizon: string;\n /** MANDATORY machine form of `horizon`: true while the bound is claimed to hold. */\n readonly horizonHolds: (t: number, params: Readonly<Record<string, number>>) => boolean;\n /**\n * MACHINE FORM OF `delta`, mirroring what `horizonHolds` is to `horizon`:\n * the bound AT A POINT of the declared domain, in the same norm.\n *\n * `horizon` had a machine counterpart and `delta` had none, so an\n * implementer holding a correct parameter-dependent bound could only freeze\n * it at a single point and hope the reader noticed. `deltaAt` is where that\n * dependence goes; `delta` stays the supremum over the domain, and\n * `deltaAt(p) <= delta` for every admissible `p`.\n *\n * Optional on the interface so a genuinely constant bound need not restate\n * itself, and so `coarse-graining` bounds are unaffected; MANDATORY for an\n * `approximation`, enforced at admission by `admitApproximation`.\n */\n readonly deltaAt?: (params: Readonly<Record<string, number>>) => number;\n /**\n * What `deltaAt` rests on. `'closed-form'`: it returns the EXACT error in\n * closed form, so it is a proven bound, holding with equality. `'numerically-\n * supported'`: a formula that witnesses support numerically but no proof\n * covers. `upt path` prints a point bound only when every step is closed-form.\n */\n readonly deltaAtBasis?: 'closed-form' | 'numerically-supported';\n /** `'θ0 ≤ 0.5 rad'`. */\n readonly parameterRange?: string;\n readonly limitCharacter: LimitCharacter;\n /**\n * What the error is uniform in.\n *\n * `null` means NOT YET ANALYSED. That is a legitimate recorded state:\n * `makeApproximation` accepts it, and the check lives at use (`boundPath`),\n * not at construction. An empty array means the same thing — a universal\n * over nothing must not count as analysed. A non-empty array names the\n * scopes the error is uniform in. A variable a side condition says the\n * error is NOT uniform in is not listed.\n */\n readonly uniformity: readonly string[] | null;\n}\n\n/** A case a bridge does NOT cover, and the witness that shows it. @public */\nexport interface Counterexample {\n readonly description: string;\n /** `'W2b'`. */\n readonly witness: string;\n}\n\n/**\n * The relation a record asserts, as a DISCRIMINATED UNION over `RelationType`.\n *\n * This is the Phase 1 overlay (design note §1.2, \"One overlay, not two\"). Its\n * purpose is to move `AtlasBridge`'s two CONDITIONAL requirements — written\n * there only as doc comments — into the type system:\n *\n * - `approximation` REQUIRES `bound`, and `ApproximationBound` itself\n * mandates `horizon` + `horizonHolds`. So an approximation without a\n * machine horizon is a COMPILE error, not a runtime one.\n * - `exact-equivalence` REQUIRES `inverse`.\n *\n * Deliberately conservative elsewhere. The design note §2.2 names the fields\n * the other members WOULD need (an analyticity domain, a checkable\n * `preserves` set, an ħ-order) and records that none of them exists before\n * Phase 2. Inventing them here would encode claims the data cannot support,\n * so every other member carries only `transformation`.\n *\n * @internal\n */\nexport type RelationContract =\n | { readonly type: 'derivation'; readonly transformation: string }\n | {\n readonly type: 'exact-equivalence';\n readonly transformation: string;\n /** REQUIRED: `'x = x0 u, t = τ/ω0'`. An equivalence without an inverse is not one. */\n readonly inverse: string;\n }\n | { readonly type: 'restriction'; readonly transformation: string }\n | {\n readonly type: 'approximation';\n readonly transformation: string;\n /** REQUIRED, and mandates its own machine horizon. */\n readonly bound: ApproximationBound;\n }\n | {\n readonly type: 'coarse-graining';\n readonly transformation: string;\n /** Optional: errors accumulate through `composeBounds` when present. */\n readonly bound?: ApproximationBound;\n }\n | { readonly type: 'analytic-continuation'; readonly transformation: string }\n | { readonly type: 'structural-analogy'; readonly transformation: string }\n | { readonly type: 'deformation-quantization'; readonly transformation: string };\n\n/**\n * Sign and unit choices a record depends on. Every field is optional, and a\n * field is only meaningful when the record actually depends on that choice.\n *\n * Non-emptiness matters downstream: design note §3 requires `conventions` to\n * declare AT LEAST ONE field before `convention-checked` can be derived,\n * because `[].every(…)` is vacuously true and would hand out a free tag.\n *\n * @internal\n */\nexport interface Conventions {\n /** First law as `dU = Q − W` or `dU = Q + W`. */\n readonly heatWorkSign?: 'Q-W' | 'Q+W';\n readonly metricSignature?: '-+++' | '+---';\n readonly fourierNormalization?: 'unitary' | 'physics' | 'none';\n readonly unitSystem?: 'SI' | 'gaussian' | 'natural';\n readonly capacitorChargeSign?: '+' | '-';\n}\n\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-physics-tensor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Computational framework for exploring unified physics through tensor formalism",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,11 +29,6 @@
|
|
|
29
29
|
"default": "./dist/atlas/index.js"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"directories": {
|
|
33
|
-
"doc": "docs",
|
|
34
|
-
"example": "examples",
|
|
35
|
-
"test": "tests"
|
|
36
|
-
},
|
|
37
32
|
"scripts": {
|
|
38
33
|
"prepare": "git config core.hooksPath .githooks || exit 0",
|
|
39
34
|
"build": "tsc",
|
|
@@ -50,7 +45,7 @@
|
|
|
50
45
|
"test:watch": "vitest",
|
|
51
46
|
"prepublishOnly": "npm run validate",
|
|
52
47
|
"bench": "vitest bench",
|
|
53
|
-
"bench:ci": "vitest bench --
|
|
48
|
+
"bench:ci": "vitest bench --run --outputJson bench/results.json",
|
|
54
49
|
"docs:deps": "bun tools/create-dependency-graph/create-dependency-graph.ts --root=. --include-tests",
|
|
55
50
|
"physjs:table": "bun scripts/generate-physjs-table.ts",
|
|
56
51
|
"docs:cli": "bun scripts/cli-reference.ts",
|
|
@@ -61,12 +56,13 @@
|
|
|
61
56
|
"atlas:c3-export": "bun tools/criterion3-export/export.ts",
|
|
62
57
|
"atlas:c3-labels": "bun tools/criterion3-study/labels.ts",
|
|
63
58
|
"atlas:c3-run": "bun tools/criterion3-study/run.ts",
|
|
64
|
-
"catalog:json": "npm run build && node scripts/
|
|
59
|
+
"catalog:json": "npm run build && node scripts/check-catalog-json.mjs",
|
|
65
60
|
"atlas:json": "npm run build && node scripts/emit-atlas-json.mjs",
|
|
66
61
|
"atlas:witness-results": "npm run build && node scripts/emit-witness-results.mjs",
|
|
67
62
|
"atlas:study": "npm run build && node scripts/run-atlas-study.mjs",
|
|
68
|
-
"typecheck": "tsc --noEmit &&
|
|
69
|
-
"
|
|
63
|
+
"typecheck": "tsc --noEmit && npm run typecheck:tests",
|
|
64
|
+
"typecheck:tests": "tsc -p tsconfig.tests.json",
|
|
65
|
+
"validate": "npm run build && npm run smoke && npm run typecheck:tests && vitest run && npm run audit:plans && npm run package:check",
|
|
70
66
|
"package:check": "node scripts/package-smoke.mjs"
|
|
71
67
|
},
|
|
72
68
|
"files": [
|
|
@@ -95,25 +91,25 @@
|
|
|
95
91
|
},
|
|
96
92
|
"repository": {
|
|
97
93
|
"type": "git",
|
|
98
|
-
"url": "git+https://github.com/danielsimonjr/
|
|
94
|
+
"url": "git+https://github.com/danielsimonjr/Universal-Physics-Tensor.git"
|
|
99
95
|
},
|
|
100
96
|
"bugs": {
|
|
101
|
-
"url": "https://github.com/danielsimonjr/
|
|
97
|
+
"url": "https://github.com/danielsimonjr/Universal-Physics-Tensor/issues"
|
|
102
98
|
},
|
|
103
|
-
"homepage": "https://github.com/danielsimonjr/
|
|
99
|
+
"homepage": "https://github.com/danielsimonjr/Universal-Physics-Tensor#readme",
|
|
104
100
|
"dependencies": {
|
|
105
|
-
"@danielsimonjr/mathts-autograd": "^0.3.
|
|
106
|
-
"@danielsimonjr/mathts-core": "^0.
|
|
107
|
-
"@danielsimonjr/mathts-expression": "^0.10.
|
|
108
|
-
"@danielsimonjr/mathts-functions": "^0.68.
|
|
109
|
-
"@danielsimonjr/mathts-matrix": "^0.7.
|
|
101
|
+
"@danielsimonjr/mathts-autograd": "^0.3.18",
|
|
102
|
+
"@danielsimonjr/mathts-core": "^0.18.1",
|
|
103
|
+
"@danielsimonjr/mathts-expression": "^0.10.2",
|
|
104
|
+
"@danielsimonjr/mathts-functions": "^0.68.5",
|
|
105
|
+
"@danielsimonjr/mathts-matrix": "^0.7.8",
|
|
110
106
|
"@danielsimonjr/mathts-parallel": "^0.6.8",
|
|
111
|
-
"@danielsimonjr/mathts-tensor": "^0.2.
|
|
107
|
+
"@danielsimonjr/mathts-tensor": "^0.2.24",
|
|
112
108
|
"@danielsimonjr/mathts-wasm": "^0.3.0",
|
|
113
109
|
"@danielsimonjr/mathts-workerpool": "^0.2.6"
|
|
114
110
|
},
|
|
115
111
|
"devDependencies": {
|
|
116
|
-
"@types/node": "^
|
|
112
|
+
"@types/node": "^22.0.0",
|
|
117
113
|
"@vitest/coverage-v8": "^4.1.7",
|
|
118
114
|
"@viz-js/viz": "^3.28.0",
|
|
119
115
|
"fast-check": "^4.8.0",
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One registration for a catalog bridge.
|
|
3
|
-
*
|
|
4
|
-
* The catalog array, the right-hand side map, the evaluator map, and the
|
|
5
|
-
* edge list are projections of this registry. A second `BRIDGE_EQUATIONS`
|
|
6
|
-
* literal is a scan hit. An `ab-*` id is an atlas model and is rejected.
|
|
7
|
-
*
|
|
8
|
-
* @module bridges/registry
|
|
9
|
-
*/
|
|
10
|
-
import type { ExprNode } from '../dimensional/validator.js';
|
|
11
|
-
/** The fields a registration may carry. Each projection reads one of them. */
|
|
12
|
-
export interface BridgeRegistration {
|
|
13
|
-
/** Numeric catalog id, when the other parts do not already carry it. */
|
|
14
|
-
readonly id?: number | string;
|
|
15
|
-
/** Catalog row. `id` is the catalog id. */
|
|
16
|
-
readonly entry?: {
|
|
17
|
-
readonly id: number;
|
|
18
|
-
};
|
|
19
|
-
/** Encoded right-hand side. Absent when the bridge has no AST. */
|
|
20
|
-
readonly rhs?: ExprNode;
|
|
21
|
-
/** Id-keyed evaluator. */
|
|
22
|
-
readonly evaluator?: {
|
|
23
|
-
readonly bridgeId: number;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Composition edge. `beId: null` stays on the edge list. The edge `id`
|
|
27
|
-
* is what a second registration of the same edge matches.
|
|
28
|
-
*/
|
|
29
|
-
readonly edge?: {
|
|
30
|
-
readonly id: string;
|
|
31
|
-
readonly beId: number | null;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/** The four projections, in registration order. */
|
|
35
|
-
export interface BridgeRegistry {
|
|
36
|
-
register(parts: BridgeRegistration): void;
|
|
37
|
-
equations(): {
|
|
38
|
-
readonly id: number;
|
|
39
|
-
}[];
|
|
40
|
-
rhs(): ReadonlyMap<number, ExprNode>;
|
|
41
|
-
evaluators(): ReadonlyMap<number, {
|
|
42
|
-
readonly bridgeId: number;
|
|
43
|
-
}>;
|
|
44
|
-
edges(): {
|
|
45
|
-
readonly id: string;
|
|
46
|
-
readonly beId: number | null;
|
|
47
|
-
}[];
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* An empty registry. Tests use this. Production uses {@link registerBridge}.
|
|
51
|
-
*/
|
|
52
|
-
export declare function createBridgeRegistry(): BridgeRegistry;
|
|
53
|
-
/** The production registry. Snapshots are taken by the modules that export them. */
|
|
54
|
-
export declare const bridgeRegistry: BridgeRegistry;
|
|
55
|
-
/**
|
|
56
|
-
* Register one bridge, or one part of one, on the production registry.
|
|
57
|
-
* An id that starts with `ab-` throws.
|
|
58
|
-
*/
|
|
59
|
-
export declare function registerBridge(parts: BridgeRegistration): void;
|
|
60
|
-
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/bridges/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE5D,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,wEAAwE;IACxE,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,2CAA2C;IAC3C,QAAQ,CAAC,KAAK,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,kEAAkE;IAClE,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC;IACxB,0BAA0B;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;CACvE;AAED,mDAAmD;AACnD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC1C,SAAS,IAAI;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACvC,GAAG,IAAI,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACrC,UAAU,IAAI,WAAW,CAAC,MAAM,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjE,KAAK,IAAI;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,EAAE,CAAC;CAClE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,CAkErD;AAED,oFAAoF;AACpF,eAAO,MAAM,cAAc,gBAAyB,CAAC;AAErD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAE9D"}
|
package/dist/bridges/registry.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An empty registry. Tests use this. Production uses {@link registerBridge}.
|
|
3
|
-
*/
|
|
4
|
-
export function createBridgeRegistry() {
|
|
5
|
-
const entries = new Map();
|
|
6
|
-
const rhs = new Map();
|
|
7
|
-
const evaluators = new Map();
|
|
8
|
-
const edges = [];
|
|
9
|
-
const edgeIds = new Set();
|
|
10
|
-
function numericId(parts) {
|
|
11
|
-
if (typeof parts.id === 'string') {
|
|
12
|
-
if (parts.id.startsWith('ab-')) {
|
|
13
|
-
throw new Error(`registerBridge rejects atlas id '${parts.id}'`);
|
|
14
|
-
}
|
|
15
|
-
throw new Error(`registerBridge rejects id '${parts.id}'`);
|
|
16
|
-
}
|
|
17
|
-
if (typeof parts.id === 'number')
|
|
18
|
-
return parts.id;
|
|
19
|
-
if (parts.entry !== undefined)
|
|
20
|
-
return parts.entry.id;
|
|
21
|
-
if (parts.evaluator !== undefined)
|
|
22
|
-
return parts.evaluator.bridgeId;
|
|
23
|
-
if (parts.edge !== undefined && parts.edge.beId !== null)
|
|
24
|
-
return parts.edge.beId;
|
|
25
|
-
return undefined;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
register(parts) {
|
|
29
|
-
const id = numericId(parts);
|
|
30
|
-
if (parts.entry !== undefined) {
|
|
31
|
-
if (id === undefined)
|
|
32
|
-
throw new Error('registerBridge entry has no id');
|
|
33
|
-
const prev = entries.get(id);
|
|
34
|
-
if (prev === undefined)
|
|
35
|
-
entries.set(id, parts.entry);
|
|
36
|
-
else if (prev !== parts.entry && JSON.stringify(prev) !== JSON.stringify(parts.entry)) {
|
|
37
|
-
throw new Error(`registerBridge: bridge ${id} already has a different catalog entry`);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
if (parts.rhs !== undefined) {
|
|
41
|
-
if (id === undefined)
|
|
42
|
-
throw new Error('registerBridge rhs has no id');
|
|
43
|
-
const prev = rhs.get(id);
|
|
44
|
-
if (prev === undefined)
|
|
45
|
-
rhs.set(id, parts.rhs);
|
|
46
|
-
else if (prev !== parts.rhs && JSON.stringify(prev) !== JSON.stringify(parts.rhs)) {
|
|
47
|
-
throw new Error(`registerBridge: bridge ${id} already has a different right-hand side`);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
if (parts.evaluator !== undefined) {
|
|
51
|
-
const bridgeId = parts.evaluator.bridgeId;
|
|
52
|
-
const prev = evaluators.get(bridgeId);
|
|
53
|
-
if (prev === undefined)
|
|
54
|
-
evaluators.set(bridgeId, parts.evaluator);
|
|
55
|
-
else if (prev !== parts.evaluator) {
|
|
56
|
-
throw new Error(`registerBridge: bridge ${bridgeId} already has an evaluator`);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
if (parts.edge !== undefined && !edgeIds.has(parts.edge.id)) {
|
|
60
|
-
edgeIds.add(parts.edge.id);
|
|
61
|
-
edges.push(parts.edge);
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
equations() {
|
|
65
|
-
return [...entries.values()];
|
|
66
|
-
},
|
|
67
|
-
rhs() {
|
|
68
|
-
return new Map(rhs);
|
|
69
|
-
},
|
|
70
|
-
evaluators() {
|
|
71
|
-
return new Map(evaluators);
|
|
72
|
-
},
|
|
73
|
-
edges() {
|
|
74
|
-
return [...edges];
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
/** The production registry. Snapshots are taken by the modules that export them. */
|
|
79
|
-
export const bridgeRegistry = createBridgeRegistry();
|
|
80
|
-
/**
|
|
81
|
-
* Register one bridge, or one part of one, on the production registry.
|
|
82
|
-
* An id that starts with `ab-` throws.
|
|
83
|
-
*/
|
|
84
|
-
export function registerBridge(parts) {
|
|
85
|
-
bridgeRegistry.register(parts);
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=registry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/bridges/registry.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The POSTER source for the physics map — turn the Atlas Phase 3 poster index
|
|
3
|
-
* (statements, derivations, associations) into {@link VizJunction}s, and check
|
|
4
|
-
* that every id a derivation names actually resolves.
|
|
5
|
-
*
|
|
6
|
-
* ## The graph this draws is NOT the catalog graph
|
|
7
|
-
*
|
|
8
|
-
* In the catalog map, round nodes are *quantities* and box nodes are
|
|
9
|
-
* *equations*. In the poster map, round nodes are **statements** — including
|
|
10
|
-
* the five hidden supporting nodes (the action principle, Noether, the full
|
|
11
|
-
* Maxwell system, the Lorentz group, the central limit theorem) — and box
|
|
12
|
-
* nodes are **derivations**: many premises in, one conclusion out. That is the
|
|
13
|
-
* whole reason a hidden node is visible at all: it is a node because something
|
|
14
|
-
* names it, not because it can be evaluated (`atlas/statement.ts`, design note
|
|
15
|
-
* §1, says `ast?` is optional for exactly these five).
|
|
16
|
-
*
|
|
17
|
-
* It also makes {@link validatePoster} able to FAIL. A hidden node that is
|
|
18
|
-
* merely listed somewhere can never be contradicted; a hidden node that two
|
|
19
|
-
* derivations take as a premise is contradicted the moment the registry stops
|
|
20
|
-
* defining it. Design note §9 question 4 flags the named-but-not-evaluated test
|
|
21
|
-
* as the likeliest vacuous pass in this sprint — the dangling-premise check is
|
|
22
|
-
* the answer to it, and its own test breaks it deliberately to prove it bites.
|
|
23
|
-
*
|
|
24
|
-
* ## How a poster junction meets the map's filters
|
|
25
|
-
*
|
|
26
|
-
* Nothing here bypasses `buildVizModel`'s filtering: these junctions are handed
|
|
27
|
-
* in as `opts.extraJunctions` and are judged by the same `judge` predicate as
|
|
28
|
-
* every catalog edge (design note §6). Two consequences, both deliberate:
|
|
29
|
-
*
|
|
30
|
-
* - A **derivation** junction carries its `relation`, because a `Derivation`
|
|
31
|
-
* HAS one. So `--relation=derivation` selects poster derivations on recorded
|
|
32
|
-
* metadata rather than dropping them as unaudited. Reporting a relation we
|
|
33
|
-
* hold would be the fabrication's mirror image: hiding evidence we have.
|
|
34
|
-
* - An **association** junction carries NO `relation`, because an
|
|
35
|
-
* `Association` makes no relation claim at all (`atlas/association.ts`). Any
|
|
36
|
-
* `--relation` filter therefore drops it into the legend's
|
|
37
|
-
* `droppedMissingMetadata` bucket — "nobody could put the question to it" —
|
|
38
|
-
* which is the correct reading, not an oversight.
|
|
39
|
-
* - NOTHING here carries a `beId`: the poster is not the bridge catalog. Every
|
|
40
|
-
* `--evidence` filter therefore drops the whole poster source as lacking
|
|
41
|
-
* metadata, and the legend says so out loud rather than rendering an empty
|
|
42
|
-
* map as an answer.
|
|
43
|
-
*
|
|
44
|
-
* Poster junctions never anchor a cluster: `componentsOf` keys `anchored` on
|
|
45
|
-
* `'law' | 'established'` only. That is correct — the poster index is a map of
|
|
46
|
-
* claims and their supports, not an assertion that any of them is textbook
|
|
47
|
-
* physics — and it is recorded here because it is a decision, not an accident.
|
|
48
|
-
*
|
|
49
|
-
* Pure string/record production: no I/O, no registry reads beyond what the
|
|
50
|
-
* caller passes in. Imports atlas LEAF modules only, never `atlas/index.ts`.
|
|
51
|
-
* Lives in `cli` because it feeds `upt map` and imports the poster registries.
|
|
52
|
-
*
|
|
53
|
-
* @module cli/poster-source
|
|
54
|
-
*/
|
|
55
|
-
import type { Association } from '../atlas/association.js';
|
|
56
|
-
import type { Derivation, DerivationId } from '../atlas/derivation.js';
|
|
57
|
-
import type { Statement, StatementId } from '../atlas/statement.js';
|
|
58
|
-
import type { VizJunction } from '../composition/graph-viz.js';
|
|
59
|
-
/**
|
|
60
|
-
* The poster index as this module consumes it: the three registries, passed
|
|
61
|
-
* in rather than imported, so the renderer and the validator are testable
|
|
62
|
-
* against a fixture and cannot drift with the data.
|
|
63
|
-
*
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
export interface PosterGraph {
|
|
67
|
-
readonly statements: readonly Statement[];
|
|
68
|
-
readonly derivations: readonly Derivation[];
|
|
69
|
-
readonly associations: readonly Association[];
|
|
70
|
-
}
|
|
71
|
-
/** An id a derivation names that the statement registry does not define. @internal */
|
|
72
|
-
export interface DanglingPremise {
|
|
73
|
-
/** The derivation that names it. */
|
|
74
|
-
readonly derivation: DerivationId;
|
|
75
|
-
/** The unresolved statement id. */
|
|
76
|
-
readonly missing: StatementId;
|
|
77
|
-
/**
|
|
78
|
-
* Where it was named. Kept distinct because they are different defects: a
|
|
79
|
-
* dangling PREMISE means the derivation stands on nothing, a dangling
|
|
80
|
-
* CONCLUSION means it concludes nothing.
|
|
81
|
-
*/
|
|
82
|
-
readonly role: 'premise' | 'conclusion';
|
|
83
|
-
}
|
|
84
|
-
/** What {@link validatePoster} found. @internal */
|
|
85
|
-
export interface PosterValidation {
|
|
86
|
-
/** Every unresolved id, one row per (derivation, id, role). Empty ⇒ intact. */
|
|
87
|
-
readonly dangling: readonly DanglingPremise[];
|
|
88
|
-
/**
|
|
89
|
-
* Association endpoints that are not statement ids.
|
|
90
|
-
*
|
|
91
|
-
* SEPARATE from `dangling`, and not a failure: `Association.between` is a
|
|
92
|
-
* pair of NAMES, and the registry is explicitly a container of typed pairs
|
|
93
|
-
* that makes no claim. An endpoint naming something outside the statement
|
|
94
|
-
* registry is a resemblance recorded about something else, not a broken
|
|
95
|
-
* derivation. Folding the two together would let a real dangling premise
|
|
96
|
-
* hide inside a count of harmless rows.
|
|
97
|
-
*/
|
|
98
|
-
readonly unresolvedAssociationEndpoints: readonly string[];
|
|
99
|
-
/** Statement ids defined but named by no derivation and no association. */
|
|
100
|
-
readonly orphanStatements: readonly StatementId[];
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Check every id the poster's derivations and associations name against the
|
|
104
|
-
* statement registry.
|
|
105
|
-
*
|
|
106
|
-
* This is the hidden-node test's instrument. Remove `'statement-noether'` from
|
|
107
|
-
* `graph.statements` and every derivation that takes it as a premise reports
|
|
108
|
-
* here — which is what makes "the hidden nodes are named and linked" a claim
|
|
109
|
-
* with a failure mode rather than a description of a list.
|
|
110
|
-
*
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
export declare function validatePoster(graph: PosterGraph): PosterValidation;
|
|
114
|
-
/**
|
|
115
|
-
* Render the poster index as viz junctions: one box per derivation, one per
|
|
116
|
-
* association, with statement ids as the round quantity nodes.
|
|
117
|
-
*
|
|
118
|
-
* Association ids are prefixed `assoc:` so an association and a derivation can
|
|
119
|
-
* never collide on a junction id — `buildVizModel` throws on a duplicate, and
|
|
120
|
-
* a thrown map is a worse diagnosis than a namespaced id.
|
|
121
|
-
*
|
|
122
|
-
* An association is drawn `a → b` because the renderer has only directed
|
|
123
|
-
* edges. It is NOT a directed claim: the dashed style and the separate status
|
|
124
|
-
* are what say so, and `Association` carries no relation to be read off it.
|
|
125
|
-
*
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
export declare function posterJunctions(graph: PosterGraph): VizJunction[];
|
|
129
|
-
/**
|
|
130
|
-
* The poster index as this build knows it.
|
|
131
|
-
*
|
|
132
|
-
* ⚠ EMPTY IN THIS BUILD, and that is a recorded state rather than a mistake.
|
|
133
|
-
* The sixteen entries, their derivations and their associations are the S3.3
|
|
134
|
-
* deliverable (`src/atlas/poster/`), and `docs/planning/Atlas-Phase-3-Design.md`
|
|
135
|
-
* §5 forbids inventing one to fill a gap: an invented entry is plausible and
|
|
136
|
-
* uncheckable, which is the failure the whole design note exists to prevent.
|
|
137
|
-
*
|
|
138
|
-
* So the source exists, is wired, is filtered and is tested — against a fixture
|
|
139
|
-
* in the tests and against this empty registry in the CLI — and it SAYS SO when
|
|
140
|
-
* it renders nothing, per design note §6: *"A poster source that returns an
|
|
141
|
-
* empty or partial graph must say why in the same way."* Point this at the real
|
|
142
|
-
* registry when it lands; nothing else has to change.
|
|
143
|
-
*
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
export declare const POSTER_GRAPH: PosterGraph;
|
|
147
|
-
/**
|
|
148
|
-
* One line saying what the poster source contributed and, when it contributed
|
|
149
|
-
* nothing, WHY — so an empty map can never read as a complete answer.
|
|
150
|
-
*
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
export declare function describePosterSource(graph: PosterGraph, validation: PosterValidation): string;
|
|
154
|
-
//# sourceMappingURL=poster-source.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"poster-source.d.ts","sourceRoot":"","sources":["../../src/cli/poster-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5C,QAAQ,CAAC,YAAY,EAAE,SAAS,WAAW,EAAE,CAAC;CAC/C;AAED,sFAAsF;AACtF,MAAM,WAAW,eAAe;IAC9B,oCAAoC;IACpC,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC;IAClC,mCAAmC;IACnC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;CACzC;AAED,mDAAmD;AACnD,MAAM,WAAW,gBAAgB;IAC/B,+EAA+E;IAC/E,QAAQ,CAAC,QAAQ,EAAE,SAAS,eAAe,EAAE,CAAC;IAC9C;;;;;;;;;OASG;IACH,QAAQ,CAAC,8BAA8B,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3D,2EAA2E;IAC3E,QAAQ,CAAC,gBAAgB,EAAE,SAAS,WAAW,EAAE,CAAC;CACnD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,gBAAgB,CA6BnE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW,EAAE,CAsBjE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,YAAY,EAAE,WAI1B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,WAAW,EAClB,UAAU,EAAE,gBAAgB,GAC3B,MAAM,CA6BR"}
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The POSTER source for the physics map — turn the Atlas Phase 3 poster index
|
|
3
|
-
* (statements, derivations, associations) into {@link VizJunction}s, and check
|
|
4
|
-
* that every id a derivation names actually resolves.
|
|
5
|
-
*
|
|
6
|
-
* ## The graph this draws is NOT the catalog graph
|
|
7
|
-
*
|
|
8
|
-
* In the catalog map, round nodes are *quantities* and box nodes are
|
|
9
|
-
* *equations*. In the poster map, round nodes are **statements** — including
|
|
10
|
-
* the five hidden supporting nodes (the action principle, Noether, the full
|
|
11
|
-
* Maxwell system, the Lorentz group, the central limit theorem) — and box
|
|
12
|
-
* nodes are **derivations**: many premises in, one conclusion out. That is the
|
|
13
|
-
* whole reason a hidden node is visible at all: it is a node because something
|
|
14
|
-
* names it, not because it can be evaluated (`atlas/statement.ts`, design note
|
|
15
|
-
* §1, says `ast?` is optional for exactly these five).
|
|
16
|
-
*
|
|
17
|
-
* It also makes {@link validatePoster} able to FAIL. A hidden node that is
|
|
18
|
-
* merely listed somewhere can never be contradicted; a hidden node that two
|
|
19
|
-
* derivations take as a premise is contradicted the moment the registry stops
|
|
20
|
-
* defining it. Design note §9 question 4 flags the named-but-not-evaluated test
|
|
21
|
-
* as the likeliest vacuous pass in this sprint — the dangling-premise check is
|
|
22
|
-
* the answer to it, and its own test breaks it deliberately to prove it bites.
|
|
23
|
-
*
|
|
24
|
-
* ## How a poster junction meets the map's filters
|
|
25
|
-
*
|
|
26
|
-
* Nothing here bypasses `buildVizModel`'s filtering: these junctions are handed
|
|
27
|
-
* in as `opts.extraJunctions` and are judged by the same `judge` predicate as
|
|
28
|
-
* every catalog edge (design note §6). Two consequences, both deliberate:
|
|
29
|
-
*
|
|
30
|
-
* - A **derivation** junction carries its `relation`, because a `Derivation`
|
|
31
|
-
* HAS one. So `--relation=derivation` selects poster derivations on recorded
|
|
32
|
-
* metadata rather than dropping them as unaudited. Reporting a relation we
|
|
33
|
-
* hold would be the fabrication's mirror image: hiding evidence we have.
|
|
34
|
-
* - An **association** junction carries NO `relation`, because an
|
|
35
|
-
* `Association` makes no relation claim at all (`atlas/association.ts`). Any
|
|
36
|
-
* `--relation` filter therefore drops it into the legend's
|
|
37
|
-
* `droppedMissingMetadata` bucket — "nobody could put the question to it" —
|
|
38
|
-
* which is the correct reading, not an oversight.
|
|
39
|
-
* - NOTHING here carries a `beId`: the poster is not the bridge catalog. Every
|
|
40
|
-
* `--evidence` filter therefore drops the whole poster source as lacking
|
|
41
|
-
* metadata, and the legend says so out loud rather than rendering an empty
|
|
42
|
-
* map as an answer.
|
|
43
|
-
*
|
|
44
|
-
* Poster junctions never anchor a cluster: `componentsOf` keys `anchored` on
|
|
45
|
-
* `'law' | 'established'` only. That is correct — the poster index is a map of
|
|
46
|
-
* claims and their supports, not an assertion that any of them is textbook
|
|
47
|
-
* physics — and it is recorded here because it is a decision, not an accident.
|
|
48
|
-
*
|
|
49
|
-
* Pure string/record production: no I/O, no registry reads beyond what the
|
|
50
|
-
* caller passes in. Imports atlas LEAF modules only, never `atlas/index.ts`.
|
|
51
|
-
* Lives in `cli` because it feeds `upt map` and imports the poster registries.
|
|
52
|
-
*
|
|
53
|
-
* @module cli/poster-source
|
|
54
|
-
*/
|
|
55
|
-
/**
|
|
56
|
-
* Check every id the poster's derivations and associations name against the
|
|
57
|
-
* statement registry.
|
|
58
|
-
*
|
|
59
|
-
* This is the hidden-node test's instrument. Remove `'statement-noether'` from
|
|
60
|
-
* `graph.statements` and every derivation that takes it as a premise reports
|
|
61
|
-
* here — which is what makes "the hidden nodes are named and linked" a claim
|
|
62
|
-
* with a failure mode rather than a description of a list.
|
|
63
|
-
*
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
export function validatePoster(graph) {
|
|
67
|
-
const known = new Set(graph.statements.map((s) => s.id));
|
|
68
|
-
const named = new Set();
|
|
69
|
-
const dangling = [];
|
|
70
|
-
for (const d of graph.derivations) {
|
|
71
|
-
for (const p of d.premises) {
|
|
72
|
-
named.add(p);
|
|
73
|
-
if (!known.has(p))
|
|
74
|
-
dangling.push({ derivation: d.id, missing: p, role: 'premise' });
|
|
75
|
-
}
|
|
76
|
-
named.add(d.conclusion);
|
|
77
|
-
if (!known.has(d.conclusion)) {
|
|
78
|
-
dangling.push({ derivation: d.id, missing: d.conclusion, role: 'conclusion' });
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
const unresolved = new Set();
|
|
82
|
-
for (const a of graph.associations) {
|
|
83
|
-
for (const end of a.between) {
|
|
84
|
-
named.add(end);
|
|
85
|
-
if (!known.has(end))
|
|
86
|
-
unresolved.add(end);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
dangling,
|
|
91
|
-
unresolvedAssociationEndpoints: [...unresolved].sort(),
|
|
92
|
-
orphanStatements: [...known].filter((id) => !named.has(id)).sort(),
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Render the poster index as viz junctions: one box per derivation, one per
|
|
97
|
-
* association, with statement ids as the round quantity nodes.
|
|
98
|
-
*
|
|
99
|
-
* Association ids are prefixed `assoc:` so an association and a derivation can
|
|
100
|
-
* never collide on a junction id — `buildVizModel` throws on a duplicate, and
|
|
101
|
-
* a thrown map is a worse diagnosis than a namespaced id.
|
|
102
|
-
*
|
|
103
|
-
* An association is drawn `a → b` because the renderer has only directed
|
|
104
|
-
* edges. It is NOT a directed claim: the dashed style and the separate status
|
|
105
|
-
* are what say so, and `Association` carries no relation to be read off it.
|
|
106
|
-
*
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
export function posterJunctions(graph) {
|
|
110
|
-
const out = graph.derivations.map((d) => ({
|
|
111
|
-
id: d.id,
|
|
112
|
-
label: d.id,
|
|
113
|
-
status: 'poster',
|
|
114
|
-
sources: [...d.premises],
|
|
115
|
-
target: d.conclusion,
|
|
116
|
-
// A Derivation HAS a relation; carrying it lets --relation select on
|
|
117
|
-
// recorded metadata instead of dropping the poster as unaudited.
|
|
118
|
-
relation: d.relation,
|
|
119
|
-
}));
|
|
120
|
-
for (const a of graph.associations) {
|
|
121
|
-
out.push({
|
|
122
|
-
id: `assoc:${a.id}`,
|
|
123
|
-
label: `${a.kind}: ${a.between[0]} ~ ${a.between[1]}`,
|
|
124
|
-
status: 'association',
|
|
125
|
-
sources: [a.between[0]],
|
|
126
|
-
target: a.between[1],
|
|
127
|
-
// No `relation` ON PURPOSE — see the module note.
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
return out;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* The poster index as this build knows it.
|
|
134
|
-
*
|
|
135
|
-
* ⚠ EMPTY IN THIS BUILD, and that is a recorded state rather than a mistake.
|
|
136
|
-
* The sixteen entries, their derivations and their associations are the S3.3
|
|
137
|
-
* deliverable (`src/atlas/poster/`), and `docs/planning/Atlas-Phase-3-Design.md`
|
|
138
|
-
* §5 forbids inventing one to fill a gap: an invented entry is plausible and
|
|
139
|
-
* uncheckable, which is the failure the whole design note exists to prevent.
|
|
140
|
-
*
|
|
141
|
-
* So the source exists, is wired, is filtered and is tested — against a fixture
|
|
142
|
-
* in the tests and against this empty registry in the CLI — and it SAYS SO when
|
|
143
|
-
* it renders nothing, per design note §6: *"A poster source that returns an
|
|
144
|
-
* empty or partial graph must say why in the same way."* Point this at the real
|
|
145
|
-
* registry when it lands; nothing else has to change.
|
|
146
|
-
*
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
export const POSTER_GRAPH = {
|
|
150
|
-
statements: [],
|
|
151
|
-
derivations: [],
|
|
152
|
-
associations: [],
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* One line saying what the poster source contributed and, when it contributed
|
|
156
|
-
* nothing, WHY — so an empty map can never read as a complete answer.
|
|
157
|
-
*
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
export function describePosterSource(graph, validation) {
|
|
161
|
-
if (graph.statements.length === 0 && graph.derivations.length === 0) {
|
|
162
|
-
return ('poster: EMPTY — the poster index (16 entries, their derivations and ' +
|
|
163
|
-
'associations) is not registered in this build. This is an unpopulated ' +
|
|
164
|
-
'registry, NOT a graph with nothing in it.');
|
|
165
|
-
}
|
|
166
|
-
const parts = [
|
|
167
|
-
`poster: ${graph.statements.length} statements, ` +
|
|
168
|
-
`${graph.derivations.length} derivations, ` +
|
|
169
|
-
`${graph.associations.length} associations`,
|
|
170
|
-
];
|
|
171
|
-
if (validation.dangling.length > 0) {
|
|
172
|
-
parts.push(`⚠ ${validation.dangling.length} DANGLING ` +
|
|
173
|
-
`(${validation.dangling.map((d) => `${d.derivation}→${d.missing}`).join(', ')})`);
|
|
174
|
-
}
|
|
175
|
-
if (validation.unresolvedAssociationEndpoints.length > 0) {
|
|
176
|
-
parts.push(`${validation.unresolvedAssociationEndpoints.length} association endpoint(s) ` +
|
|
177
|
-
'outside the statement registry');
|
|
178
|
-
}
|
|
179
|
-
if (validation.orphanStatements.length > 0) {
|
|
180
|
-
parts.push(`${validation.orphanStatements.length} statement(s) named by nothing`);
|
|
181
|
-
}
|
|
182
|
-
return parts.join('; ');
|
|
183
|
-
}
|
|
184
|
-
//# sourceMappingURL=poster-source.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"poster-source.js","sourceRoot":"","sources":["../../src/cli/poster-source.ts"],"names":[],"mappings":"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"}
|