@stevenvo780/st-lang 4.5.2 → 4.7.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/dist/api.d.ts +1 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +2 -2
- package/dist/api.js.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +52 -45
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -30
- package/dist/index.js.map +1 -1
- package/dist/logic/profile-bridge/index.d.ts +64 -0
- package/dist/logic/profile-bridge/index.d.ts.map +1 -0
- package/dist/logic/profile-bridge/index.js.map +1 -0
- package/dist/logic/profiles/aristotelian/syllogistic.d.ts +14 -0
- package/dist/logic/profiles/aristotelian/syllogistic.d.ts.map +1 -0
- package/dist/logic/profiles/aristotelian/syllogistic.js.map +1 -0
- package/dist/logic/profiles/arithmetic/index.d.ts +15 -0
- package/dist/logic/profiles/arithmetic/index.d.ts.map +1 -0
- package/dist/logic/profiles/arithmetic/index.js.map +1 -0
- package/dist/logic/profiles/classical/cdcl.d.ts +34 -0
- package/dist/logic/profiles/classical/cdcl.d.ts.map +1 -0
- package/dist/logic/profiles/classical/cdcl.js.map +1 -0
- package/dist/logic/profiles/classical/dpll.d.ts +20 -0
- package/dist/logic/profiles/classical/dpll.d.ts.map +1 -0
- package/dist/logic/profiles/classical/dpll.js.map +1 -0
- package/dist/logic/profiles/classical/first-order.d.ts +20 -0
- package/dist/logic/profiles/classical/first-order.d.ts.map +1 -0
- package/dist/logic/profiles/classical/first-order.js.map +1 -0
- package/dist/logic/profiles/classical/parallel-sat.d.ts.map +1 -0
- package/dist/logic/profiles/classical/parallel-sat.js.map +1 -0
- package/dist/logic/profiles/classical/propositional.d.ts +30 -0
- package/dist/logic/profiles/classical/propositional.d.ts.map +1 -0
- package/dist/logic/profiles/classical/propositional.js +2868 -0
- package/dist/logic/profiles/classical/propositional.js.map +1 -0
- package/dist/logic/profiles/classical/sat-preprocess.d.ts.map +1 -0
- package/dist/logic/profiles/classical/sat-preprocess.js.map +1 -0
- package/dist/logic/profiles/classical/undecidability-detector.d.ts +13 -0
- package/dist/logic/profiles/classical/undecidability-detector.d.ts.map +1 -0
- package/dist/logic/profiles/classical/undecidability-detector.js.map +1 -0
- package/dist/logic/profiles/ctl/check.d.ts.map +1 -0
- package/dist/logic/profiles/ctl/check.js.map +1 -0
- package/dist/logic/profiles/ctl/index.d.ts.map +1 -0
- package/dist/logic/profiles/ctl/index.js.map +1 -0
- package/dist/logic/profiles/ctl/types.d.ts.map +1 -0
- package/dist/logic/profiles/ctl/types.js.map +1 -0
- package/dist/logic/profiles/ctl/witness.d.ts.map +1 -0
- package/dist/logic/profiles/ctl/witness.js.map +1 -0
- package/dist/logic/profiles/default-logic/entailment.d.ts.map +1 -0
- package/dist/logic/profiles/default-logic/entailment.js.map +1 -0
- package/dist/logic/profiles/default-logic/extensions.d.ts.map +1 -0
- package/dist/logic/profiles/default-logic/extensions.js.map +1 -0
- package/dist/logic/profiles/default-logic/index.d.ts.map +1 -0
- package/dist/logic/profiles/default-logic/index.js.map +1 -0
- package/dist/logic/profiles/default-logic/types.d.ts.map +1 -0
- package/dist/logic/profiles/default-logic/types.js.map +1 -0
- package/dist/logic/profiles/deontic/standard.d.ts +10 -0
- package/dist/logic/profiles/deontic/standard.d.ts.map +1 -0
- package/dist/logic/profiles/deontic/standard.js.map +1 -0
- package/dist/logic/profiles/description-logic/index.d.ts.map +1 -0
- package/dist/logic/profiles/description-logic/index.js.map +1 -0
- package/dist/logic/profiles/description-logic/nnf.d.ts.map +1 -0
- package/dist/logic/profiles/description-logic/nnf.js.map +1 -0
- package/dist/logic/profiles/description-logic/tableau.d.ts.map +1 -0
- package/dist/logic/profiles/description-logic/tableau.js.map +1 -0
- package/dist/logic/profiles/description-logic/types.d.ts.map +1 -0
- package/dist/logic/profiles/description-logic/types.js.map +1 -0
- package/dist/logic/profiles/epistemic/s5.d.ts +10 -0
- package/dist/logic/profiles/epistemic/s5.d.ts.map +1 -0
- package/dist/logic/profiles/epistemic/s5.js.map +1 -0
- package/dist/logic/profiles/hybrid-logic/index.d.ts.map +1 -0
- package/dist/logic/profiles/hybrid-logic/index.js.map +1 -0
- package/dist/logic/profiles/hybrid-logic/sat.d.ts.map +1 -0
- package/dist/logic/profiles/hybrid-logic/sat.js.map +1 -0
- package/dist/logic/profiles/hybrid-logic/semantics.d.ts.map +1 -0
- package/dist/logic/profiles/hybrid-logic/semantics.js.map +1 -0
- package/dist/logic/profiles/hybrid-logic/types.d.ts.map +1 -0
- package/dist/logic/profiles/hybrid-logic/types.js.map +1 -0
- package/dist/logic/profiles/index.d.ts.map +1 -0
- package/dist/logic/profiles/index.js.map +1 -0
- package/dist/logic/profiles/interface.d.ts +11 -0
- package/dist/logic/profiles/interface.d.ts.map +1 -0
- package/dist/logic/profiles/interface.js.map +1 -0
- package/dist/logic/profiles/intuitionistic/propositional.d.ts +14 -0
- package/dist/logic/profiles/intuitionistic/propositional.d.ts.map +1 -0
- package/dist/logic/profiles/intuitionistic/propositional.js.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/formula.d.ts.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/formula.js.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/index.d.ts.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/index.js.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/kripke.d.ts.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/kripke.js.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/prover.d.ts.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/prover.js.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/types.d.ts.map +1 -0
- package/dist/logic/profiles/intuitionistic-nj/types.js.map +1 -0
- package/dist/logic/profiles/ltl-sat/index.d.ts.map +1 -0
- package/dist/logic/profiles/ltl-sat/index.js.map +1 -0
- package/dist/logic/profiles/ltl-sat/sat.d.ts.map +1 -0
- package/dist/logic/profiles/ltl-sat/sat.js.map +1 -0
- package/dist/logic/profiles/ltl-sat/tableau.d.ts.map +1 -0
- package/dist/logic/profiles/ltl-sat/tableau.js.map +1 -0
- package/dist/logic/profiles/ltl-sat/types.d.ts.map +1 -0
- package/dist/logic/profiles/ltl-sat/types.js.map +1 -0
- package/dist/logic/profiles/many-valued/index.d.ts.map +1 -0
- package/dist/logic/profiles/many-valued/index.js.map +1 -0
- package/dist/logic/profiles/modal/k.d.ts +10 -0
- package/dist/logic/profiles/modal/k.d.ts.map +1 -0
- package/dist/logic/profiles/modal/k.js.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/formula.d.ts.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/formula.js.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/index.d.ts.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/index.js.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/systems.d.ts.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/systems.js.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/tableau.d.ts.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/tableau.js.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/types.d.ts.map +1 -0
- package/dist/logic/profiles/modal-frame-axioms/types.js.map +1 -0
- package/dist/logic/profiles/mu-calculus/check.d.ts.map +1 -0
- package/dist/logic/profiles/mu-calculus/check.js.map +1 -0
- package/dist/logic/profiles/mu-calculus/ctl-translate.d.ts.map +1 -0
- package/dist/logic/profiles/mu-calculus/ctl-translate.js.map +1 -0
- package/dist/logic/profiles/mu-calculus/index.d.ts.map +1 -0
- package/dist/logic/profiles/mu-calculus/index.js.map +1 -0
- package/dist/logic/profiles/mu-calculus/types.d.ts.map +1 -0
- package/dist/logic/profiles/mu-calculus/types.js.map +1 -0
- package/dist/logic/profiles/mu-calculus/wellformed.d.ts.map +1 -0
- package/dist/logic/profiles/mu-calculus/wellformed.js.map +1 -0
- package/dist/logic/profiles/paraconsistent/belnap.d.ts +28 -0
- package/dist/logic/profiles/paraconsistent/belnap.d.ts.map +1 -0
- package/dist/logic/profiles/paraconsistent/belnap.js.map +1 -0
- package/dist/logic/profiles/probabilistic/basic.d.ts +18 -0
- package/dist/logic/profiles/probabilistic/basic.d.ts.map +1 -0
- package/dist/logic/profiles/probabilistic/basic.js.map +1 -0
- package/dist/logic/profiles/sequent-g3/index.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-g3/index.js.map +1 -0
- package/dist/logic/profiles/sequent-g3/latex.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-g3/latex.js.map +1 -0
- package/dist/logic/profiles/sequent-g3/normalize.d.ts +15 -0
- package/dist/logic/profiles/sequent-g3/normalize.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-g3/normalize.js.map +1 -0
- package/dist/logic/profiles/sequent-g3/prover.d.ts +16 -0
- package/dist/logic/profiles/sequent-g3/prover.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-g3/prover.js.map +1 -0
- package/dist/logic/profiles/sequent-g3/types.d.ts +30 -0
- package/dist/logic/profiles/sequent-g3/types.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-g3/types.js.map +1 -0
- package/dist/logic/profiles/sequent-lk/cut-elimination.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-lk/cut-elimination.js.map +1 -0
- package/dist/logic/profiles/sequent-lk/index.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-lk/index.js.map +1 -0
- package/dist/logic/profiles/sequent-lk/prover.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-lk/prover.js.map +1 -0
- package/dist/logic/profiles/sequent-lk/types.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-lk/types.js.map +1 -0
- package/dist/logic/profiles/sequent-lk/util.d.ts.map +1 -0
- package/dist/logic/profiles/sequent-lk/util.js.map +1 -0
- package/dist/logic/profiles/shared/base-profile.d.ts +22 -0
- package/dist/logic/profiles/shared/base-profile.d.ts.map +1 -0
- package/dist/logic/profiles/shared/base-profile.js +219 -0
- package/dist/logic/profiles/shared/base-profile.js.map +1 -0
- package/dist/logic/profiles/shared/tableau-engine.d.ts +73 -0
- package/dist/logic/profiles/shared/tableau-engine.d.ts.map +1 -0
- package/dist/logic/profiles/shared/tableau-engine.js +684 -0
- package/dist/logic/profiles/shared/tableau-engine.js.map +1 -0
- package/dist/logic/profiles/substructural/index.d.ts.map +1 -0
- package/dist/logic/profiles/substructural/index.js.map +1 -0
- package/dist/logic/profiles/substructural/prover.d.ts.map +1 -0
- package/dist/logic/profiles/substructural/prover.js.map +1 -0
- package/dist/logic/profiles/substructural/types.d.ts.map +1 -0
- package/dist/logic/profiles/substructural/types.js.map +1 -0
- package/dist/logic/profiles/temporal/ltl.d.ts +12 -0
- package/dist/logic/profiles/temporal/ltl.d.ts.map +1 -0
- package/dist/logic/profiles/temporal/ltl.js.map +1 -0
- package/dist/namespaces/logic.d.ts +28 -28
- package/dist/namespaces/logic.d.ts.map +1 -1
- package/dist/namespaces/logic.js +27 -27
- package/dist/namespaces/logic.js.map +1 -1
- package/dist/namespaces/proof-systems.d.ts +6 -6
- package/dist/namespaces/proof-systems.d.ts.map +1 -1
- package/dist/namespaces/proof-systems.js +6 -6
- package/dist/namespaces/proof-systems.js.map +1 -1
- package/dist/namespaces/reasoning.d.ts +7 -7
- package/dist/namespaces/reasoning.d.ts.map +1 -1
- package/dist/namespaces/reasoning.js +7 -7
- package/dist/namespaces/reasoning.js.map +1 -1
- package/dist/namespaces/semantics.d.ts +5 -5
- package/dist/namespaces/semantics.d.ts.map +1 -1
- package/dist/namespaces/semantics.js +5 -5
- package/dist/namespaces/semantics.js.map +1 -1
- package/dist/namespaces/solvers.d.ts +3 -3
- package/dist/namespaces/solvers.d.ts.map +1 -1
- package/dist/namespaces/solvers.js +3 -3
- package/dist/namespaces/solvers.js.map +1 -1
- package/dist/namespaces/type-theory.d.ts +8 -8
- package/dist/namespaces/type-theory.d.ts.map +1 -1
- package/dist/namespaces/type-theory.js +8 -8
- package/dist/namespaces/type-theory.js.map +1 -1
- package/dist/proof-systems/fol-prover/cnf.d.ts +10 -0
- package/dist/proof-systems/fol-prover/cnf.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover/cnf.js.map +1 -0
- package/dist/proof-systems/fol-prover/index.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover/index.js.map +1 -0
- package/dist/proof-systems/fol-prover/prove.d.ts +4 -0
- package/dist/proof-systems/fol-prover/prove.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover/prove.js.map +1 -0
- package/dist/proof-systems/fol-prover/resolve.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover/resolve.js.map +1 -0
- package/dist/proof-systems/fol-prover/types.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover/types.js.map +1 -0
- package/dist/proof-systems/fol-prover/unify.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover/unify.js.map +1 -0
- package/dist/proof-systems/fol-prover-equality/demodulate.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover-equality/demodulate.js.map +1 -0
- package/dist/proof-systems/fol-prover-equality/index.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover-equality/index.js.map +1 -0
- package/dist/proof-systems/fol-prover-equality/paramodulate.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover-equality/paramodulate.js.map +1 -0
- package/dist/proof-systems/fol-prover-equality/prove.d.ts +7 -0
- package/dist/proof-systems/fol-prover-equality/prove.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover-equality/prove.js.map +1 -0
- package/dist/proof-systems/fol-prover-equality/term-utils.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover-equality/term-utils.js.map +1 -0
- package/dist/proof-systems/fol-prover-equality/types.d.ts.map +1 -0
- package/dist/proof-systems/fol-prover-equality/types.js.map +1 -0
- package/dist/proof-systems/higher-order-unify/index.d.ts.map +1 -0
- package/dist/proof-systems/higher-order-unify/index.js.map +1 -0
- package/dist/proof-systems/higher-order-unify/normalize.d.ts.map +1 -0
- package/dist/proof-systems/higher-order-unify/normalize.js.map +1 -0
- package/dist/proof-systems/higher-order-unify/pattern.d.ts.map +1 -0
- package/dist/proof-systems/higher-order-unify/pattern.js.map +1 -0
- package/dist/proof-systems/higher-order-unify/types.d.ts.map +1 -0
- package/dist/proof-systems/higher-order-unify/types.js.map +1 -0
- package/dist/proof-systems/higher-order-unify/unify.d.ts.map +1 -0
- package/dist/proof-systems/higher-order-unify/unify.js.map +1 -0
- package/dist/proof-systems/proof-exchange/index.d.ts +24 -0
- package/dist/proof-systems/proof-exchange/index.d.ts.map +1 -0
- package/dist/proof-systems/proof-exchange/index.js.map +1 -0
- package/dist/proof-systems/proof-minify/index.d.ts.map +1 -0
- package/dist/proof-systems/proof-minify/index.js.map +1 -0
- package/dist/proof-systems/proof-minify/minify.d.ts.map +1 -0
- package/dist/proof-systems/proof-minify/minify.js.map +1 -0
- package/dist/proof-systems/proof-minify/types.d.ts.map +1 -0
- package/dist/proof-systems/proof-minify/types.js.map +1 -0
- package/dist/proof-systems/proof-nets/construct.d.ts.map +1 -0
- package/dist/proof-systems/proof-nets/construct.js.map +1 -0
- package/dist/proof-systems/proof-nets/correctness.d.ts.map +1 -0
- package/dist/proof-systems/proof-nets/correctness.js.map +1 -0
- package/dist/proof-systems/proof-nets/cut-elim.d.ts.map +1 -0
- package/dist/proof-systems/proof-nets/cut-elim.js.map +1 -0
- package/dist/proof-systems/proof-nets/index.d.ts.map +1 -0
- package/dist/proof-systems/proof-nets/index.js.map +1 -0
- package/dist/proof-systems/proof-nets/types.d.ts.map +1 -0
- package/dist/proof-systems/proof-nets/types.js.map +1 -0
- package/dist/proof-systems/tableau-framework/TableauProver.d.ts.map +1 -0
- package/dist/proof-systems/tableau-framework/TableauProver.js.map +1 -0
- package/dist/proof-systems/tableau-framework/index.d.ts.map +1 -0
- package/dist/proof-systems/tableau-framework/index.js.map +1 -0
- package/dist/proof-systems/tableau-framework/propositional.d.ts.map +1 -0
- package/dist/proof-systems/tableau-framework/propositional.js.map +1 -0
- package/dist/proof-systems/tableau-framework/types.d.ts.map +1 -0
- package/dist/proof-systems/tableau-framework/types.js.map +1 -0
- package/dist/protocol/handler.js +1 -1
- package/dist/protocol/handler.js.map +1 -1
- package/dist/reasoning/abduction/entails.d.ts.map +1 -0
- package/dist/reasoning/abduction/entails.js.map +1 -0
- package/dist/reasoning/abduction/find.d.ts.map +1 -0
- package/dist/reasoning/abduction/find.js.map +1 -0
- package/dist/reasoning/abduction/index.d.ts.map +1 -0
- package/dist/reasoning/abduction/index.js.map +1 -0
- package/dist/reasoning/abduction/types.d.ts.map +1 -0
- package/dist/reasoning/abduction/types.js.map +1 -0
- package/dist/reasoning/argumentation/dot.d.ts.map +1 -0
- package/dist/reasoning/argumentation/dot.js.map +1 -0
- package/dist/reasoning/argumentation/extensions.d.ts.map +1 -0
- package/dist/reasoning/argumentation/extensions.js.map +1 -0
- package/dist/reasoning/argumentation/framework.d.ts.map +1 -0
- package/dist/reasoning/argumentation/framework.js.map +1 -0
- package/dist/reasoning/argumentation/index.d.ts.map +1 -0
- package/dist/reasoning/argumentation/index.js.map +1 -0
- package/dist/reasoning/argumentation/types.d.ts.map +1 -0
- package/dist/reasoning/argumentation/types.js.map +1 -0
- package/dist/reasoning/bayesian/factor.d.ts.map +1 -0
- package/dist/reasoning/bayesian/factor.js.map +1 -0
- package/dist/reasoning/bayesian/index.d.ts.map +1 -0
- package/dist/reasoning/bayesian/index.js.map +1 -0
- package/dist/reasoning/bayesian/inference.d.ts.map +1 -0
- package/dist/reasoning/bayesian/inference.js.map +1 -0
- package/dist/reasoning/bayesian/types.d.ts.map +1 -0
- package/dist/reasoning/bayesian/types.js.map +1 -0
- package/dist/reasoning/belief-revision/agm.d.ts.map +1 -0
- package/dist/reasoning/belief-revision/agm.js.map +1 -0
- package/dist/reasoning/belief-revision/index.d.ts.map +1 -0
- package/dist/reasoning/belief-revision/index.js.map +1 -0
- package/dist/reasoning/belief-revision/parser.d.ts.map +1 -0
- package/dist/reasoning/belief-revision/parser.js.map +1 -0
- package/dist/reasoning/belief-revision/sat.d.ts.map +1 -0
- package/dist/reasoning/belief-revision/sat.js.map +1 -0
- package/dist/reasoning/belief-revision/types.d.ts.map +1 -0
- package/dist/reasoning/belief-revision/types.js.map +1 -0
- package/dist/reasoning/citation-reasoning/derive.d.ts.map +1 -0
- package/dist/reasoning/citation-reasoning/derive.js.map +1 -0
- package/dist/reasoning/citation-reasoning/index.d.ts.map +1 -0
- package/dist/reasoning/citation-reasoning/index.js.map +1 -0
- package/dist/reasoning/citation-reasoning/types.d.ts.map +1 -0
- package/dist/reasoning/citation-reasoning/types.js.map +1 -0
- package/dist/reasoning/constructive-reals/index.d.ts.map +1 -0
- package/dist/reasoning/constructive-reals/index.js.map +1 -0
- package/dist/reasoning/fca/context.d.ts.map +1 -0
- package/dist/reasoning/fca/context.js.map +1 -0
- package/dist/reasoning/fca/implications.d.ts.map +1 -0
- package/dist/reasoning/fca/implications.js.map +1 -0
- package/dist/reasoning/fca/index.d.ts.map +1 -0
- package/dist/reasoning/fca/index.js.map +1 -0
- package/dist/reasoning/fca/lattice.d.ts.map +1 -0
- package/dist/reasoning/fca/lattice.js.map +1 -0
- package/dist/reasoning/fca/next-closure.d.ts.map +1 -0
- package/dist/reasoning/fca/next-closure.js.map +1 -0
- package/dist/reasoning/fca/types.d.ts.map +1 -0
- package/dist/reasoning/fca/types.js.map +1 -0
- package/dist/reasoning/game-theory/common-games.d.ts.map +1 -0
- package/dist/reasoning/game-theory/common-games.js.map +1 -0
- package/dist/reasoning/game-theory/dominance.d.ts.map +1 -0
- package/dist/reasoning/game-theory/dominance.js.map +1 -0
- package/dist/reasoning/game-theory/index.d.ts.map +1 -0
- package/dist/reasoning/game-theory/index.js.map +1 -0
- package/dist/reasoning/game-theory/lemke-howson.d.ts.map +1 -0
- package/dist/reasoning/game-theory/lemke-howson.js.map +1 -0
- package/dist/reasoning/game-theory/linalg.d.ts.map +1 -0
- package/dist/reasoning/game-theory/linalg.js.map +1 -0
- package/dist/reasoning/game-theory/pure-nash.d.ts.map +1 -0
- package/dist/reasoning/game-theory/pure-nash.js.map +1 -0
- package/dist/reasoning/game-theory/support-enumeration.d.ts.map +1 -0
- package/dist/reasoning/game-theory/support-enumeration.js.map +1 -0
- package/dist/reasoning/game-theory/types.d.ts.map +1 -0
- package/dist/reasoning/game-theory/types.js.map +1 -0
- package/dist/reasoning/hyperreal/index.d.ts.map +1 -0
- package/dist/reasoning/hyperreal/index.js.map +1 -0
- package/dist/reasoning/information-theory/index.d.ts.map +1 -0
- package/dist/reasoning/information-theory/index.js.map +1 -0
- package/dist/reasoning/lemma-synthesis/index.d.ts +124 -0
- package/dist/reasoning/lemma-synthesis/index.d.ts.map +1 -0
- package/dist/reasoning/lemma-synthesis/index.js +640 -0
- package/dist/reasoning/lemma-synthesis/index.js.map +1 -0
- package/dist/reasoning/markov-logic/grounding.d.ts.map +1 -0
- package/dist/reasoning/markov-logic/grounding.js.map +1 -0
- package/dist/reasoning/markov-logic/index.d.ts.map +1 -0
- package/dist/reasoning/markov-logic/index.js.map +1 -0
- package/dist/reasoning/markov-logic/inference.d.ts.map +1 -0
- package/dist/reasoning/markov-logic/inference.js.map +1 -0
- package/dist/reasoning/markov-logic/parser.d.ts.map +1 -0
- package/dist/reasoning/markov-logic/parser.js.map +1 -0
- package/dist/reasoning/markov-logic/types.d.ts.map +1 -0
- package/dist/reasoning/markov-logic/types.js.map +1 -0
- package/dist/reasoning/optimization/branch-and-bound.d.ts.map +1 -0
- package/dist/reasoning/optimization/branch-and-bound.js.map +1 -0
- package/dist/reasoning/optimization/index.d.ts.map +1 -0
- package/dist/reasoning/optimization/index.js.map +1 -0
- package/dist/reasoning/optimization/simplex.d.ts.map +1 -0
- package/dist/reasoning/optimization/simplex.js.map +1 -0
- package/dist/reasoning/optimization/standard-form.d.ts.map +1 -0
- package/dist/reasoning/optimization/standard-form.js.map +1 -0
- package/dist/reasoning/optimization/types.d.ts.map +1 -0
- package/dist/reasoning/optimization/types.js.map +1 -0
- package/dist/reasoning/planning/astar.d.ts.map +1 -0
- package/dist/reasoning/planning/astar.js.map +1 -0
- package/dist/reasoning/planning/bfs.d.ts.map +1 -0
- package/dist/reasoning/planning/bfs.js.map +1 -0
- package/dist/reasoning/planning/ground.d.ts.map +1 -0
- package/dist/reasoning/planning/ground.js.map +1 -0
- package/dist/reasoning/planning/heuristic.d.ts.map +1 -0
- package/dist/reasoning/planning/heuristic.js.map +1 -0
- package/dist/reasoning/planning/index.d.ts.map +1 -0
- package/dist/reasoning/planning/index.js.map +1 -0
- package/dist/reasoning/planning/types.d.ts.map +1 -0
- package/dist/reasoning/planning/types.js.map +1 -0
- package/dist/reasoning/tactic-dsl/combinators.d.ts +6 -0
- package/dist/reasoning/tactic-dsl/combinators.d.ts.map +1 -0
- package/dist/reasoning/tactic-dsl/combinators.js +98 -0
- package/dist/reasoning/tactic-dsl/combinators.js.map +1 -0
- package/dist/reasoning/tactic-dsl/index.d.ts +39 -0
- package/dist/reasoning/tactic-dsl/index.d.ts.map +1 -0
- package/dist/reasoning/tactic-dsl/index.js +162 -0
- package/dist/reasoning/tactic-dsl/index.js.map +1 -0
- package/dist/reasoning/tactic-dsl/tactics.d.ts +21 -0
- package/dist/reasoning/tactic-dsl/tactics.d.ts.map +1 -0
- package/dist/reasoning/tactic-dsl/tactics.js +536 -0
- package/dist/reasoning/tactic-dsl/tactics.js.map +1 -0
- package/dist/reasoning/tactic-dsl/types.d.ts +54 -0
- package/dist/reasoning/tactic-dsl/types.d.ts.map +1 -0
- package/dist/reasoning/tactic-dsl/types.js +226 -0
- package/dist/reasoning/tactic-dsl/types.js.map +1 -0
- package/dist/repl/repl.js +2 -2
- package/dist/repl/repl.js.map +1 -1
- package/dist/runtime/bdd/index.d.ts.map +1 -0
- package/dist/runtime/bdd/index.js.map +1 -0
- package/dist/runtime/bdd/manager.d.ts.map +1 -0
- package/dist/runtime/bdd/manager.js.map +1 -0
- package/dist/runtime/bdd/types.d.ts.map +1 -0
- package/dist/runtime/bdd/types.js.map +1 -0
- package/dist/runtime/cross-system-compare.d.ts +1 -1
- package/dist/runtime/cross-system-compare.d.ts.map +1 -1
- package/dist/runtime/csp-hoare/analysis.d.ts +51 -0
- package/dist/runtime/csp-hoare/analysis.d.ts.map +1 -0
- package/dist/runtime/csp-hoare/analysis.js +317 -0
- package/dist/runtime/csp-hoare/analysis.js.map +1 -0
- package/dist/runtime/csp-hoare/examples.d.ts +33 -0
- package/dist/runtime/csp-hoare/examples.d.ts.map +1 -0
- package/dist/runtime/csp-hoare/examples.js +108 -0
- package/dist/runtime/csp-hoare/examples.js.map +1 -0
- package/dist/runtime/csp-hoare/index.d.ts +6 -0
- package/dist/runtime/csp-hoare/index.d.ts.map +1 -0
- package/dist/runtime/csp-hoare/index.js +50 -0
- package/dist/runtime/csp-hoare/index.js.map +1 -0
- package/dist/runtime/csp-hoare/semantics.d.ts +49 -0
- package/dist/runtime/csp-hoare/semantics.d.ts.map +1 -0
- package/dist/runtime/csp-hoare/semantics.js +494 -0
- package/dist/runtime/csp-hoare/semantics.js.map +1 -0
- package/dist/runtime/csp-hoare/types.d.ts +60 -0
- package/dist/runtime/csp-hoare/types.d.ts.map +1 -0
- package/dist/runtime/csp-hoare/types.js +31 -0
- package/dist/runtime/csp-hoare/types.js.map +1 -0
- package/dist/runtime/fallacies.d.ts +1 -1
- package/dist/runtime/fallacies.d.ts.map +1 -1
- package/dist/runtime/interpreter.d.ts +1 -1
- package/dist/runtime/interpreter.d.ts.map +1 -1
- package/dist/runtime/interpreter.js +5 -5
- package/dist/runtime/interpreter.js.map +1 -1
- package/dist/runtime/parallel/index.d.ts +1 -1
- package/dist/runtime/parallel/index.d.ts.map +1 -1
- package/dist/runtime/parallel/index.js +2 -2
- package/dist/runtime/parallel/index.js.map +1 -1
- package/dist/runtime/parallel/worker.d.ts +1 -1
- package/dist/runtime/parallel/worker.d.ts.map +1 -1
- package/dist/runtime/parallel/worker.js +2 -2
- package/dist/runtime/parallel/worker.js.map +1 -1
- package/dist/runtime/streaming/stream-eval.d.ts +1 -1
- package/dist/runtime/streaming/stream-eval.d.ts.map +1 -1
- package/dist/runtime/streaming/stream-eval.js +3 -3
- package/dist/runtime/streaming/stream-eval.js.map +1 -1
- package/dist/semantics/categorical/fin-set.d.ts +39 -0
- package/dist/semantics/categorical/fin-set.d.ts.map +1 -0
- package/dist/semantics/categorical/fin-set.js +217 -0
- package/dist/semantics/categorical/fin-set.js.map +1 -0
- package/dist/semantics/categorical/free.d.ts +23 -0
- package/dist/semantics/categorical/free.d.ts.map +1 -0
- package/dist/semantics/categorical/free.js +168 -0
- package/dist/semantics/categorical/free.js.map +1 -0
- package/dist/semantics/categorical/functor.d.ts +40 -0
- package/dist/semantics/categorical/functor.d.ts.map +1 -0
- package/dist/semantics/categorical/functor.js +139 -0
- package/dist/semantics/categorical/functor.js.map +1 -0
- package/dist/semantics/categorical/index.d.ts +11 -0
- package/dist/semantics/categorical/index.d.ts.map +1 -0
- package/dist/semantics/categorical/index.js +33 -0
- package/dist/semantics/categorical/index.js.map +1 -0
- package/dist/semantics/categorical/limits.d.ts +64 -0
- package/dist/semantics/categorical/limits.d.ts.map +1 -0
- package/dist/semantics/categorical/limits.js +248 -0
- package/dist/semantics/categorical/limits.js.map +1 -0
- package/dist/semantics/categorical/monoidal.d.ts +14 -0
- package/dist/semantics/categorical/monoidal.d.ts.map +1 -0
- package/dist/semantics/categorical/monoidal.js +148 -0
- package/dist/semantics/categorical/monoidal.js.map +1 -0
- package/dist/semantics/categorical/poset.d.ts +14 -0
- package/dist/semantics/categorical/poset.d.ts.map +1 -0
- package/dist/semantics/categorical/poset.js +115 -0
- package/dist/semantics/categorical/poset.js.map +1 -0
- package/dist/semantics/categorical/types.d.ts +111 -0
- package/dist/semantics/categorical/types.d.ts.map +1 -0
- package/dist/semantics/categorical/types.js +15 -0
- package/dist/semantics/categorical/types.js.map +1 -0
- package/dist/semantics/coinduction/index.d.ts.map +1 -0
- package/dist/semantics/coinduction/index.js.map +1 -0
- package/dist/semantics/game-semantics/convert.d.ts +4 -0
- package/dist/semantics/game-semantics/convert.d.ts.map +1 -0
- package/dist/semantics/game-semantics/convert.js +28 -0
- package/dist/semantics/game-semantics/convert.js.map +1 -0
- package/dist/semantics/game-semantics/index.d.ts.map +1 -0
- package/dist/semantics/game-semantics/index.js.map +1 -0
- package/dist/semantics/game-semantics/strategy.d.ts.map +1 -0
- package/dist/semantics/game-semantics/strategy.js +336 -0
- package/dist/semantics/game-semantics/strategy.js.map +1 -0
- package/dist/semantics/game-semantics/types.d.ts.map +1 -0
- package/dist/semantics/game-semantics/types.js.map +1 -0
- package/dist/semantics/text-layer/compiler.d.ts +18 -0
- package/dist/semantics/text-layer/compiler.d.ts.map +1 -0
- package/dist/semantics/text-layer/compiler.js.map +1 -0
- package/dist/semantics/text-layer/v2/claim-graph.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/claim-graph.js.map +1 -0
- package/dist/semantics/text-layer/v2/index.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/index.js.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/diff.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/diff.js.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/index.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/index.js.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/parser.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/parser.js.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/serializer.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/serializer.js.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/types.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/mdx-bridge/types.js.map +1 -0
- package/dist/semantics/text-layer/v2/types.d.ts.map +1 -0
- package/dist/semantics/text-layer/v2/types.js.map +1 -0
- package/dist/solver/csp/ac3.d.ts.map +1 -0
- package/dist/solver/csp/ac3.js.map +1 -0
- package/dist/solver/csp/backtrack.d.ts.map +1 -0
- package/dist/solver/csp/backtrack.js.map +1 -0
- package/dist/solver/csp/builtins.d.ts.map +1 -0
- package/dist/solver/csp/builtins.js.map +1 -0
- package/dist/solver/csp/index.d.ts.map +1 -0
- package/dist/solver/csp/index.js.map +1 -0
- package/dist/solver/csp/types.d.ts.map +1 -0
- package/dist/solver/csp/types.js.map +1 -0
- package/dist/solver/mus/extract.d.ts.map +1 -0
- package/dist/solver/mus/extract.js.map +1 -0
- package/dist/solver/mus/index.d.ts.map +1 -0
- package/dist/solver/mus/index.js.map +1 -0
- package/dist/solver/mus/quickxplain.d.ts.map +1 -0
- package/dist/solver/mus/quickxplain.js.map +1 -0
- package/dist/solver/mus/types.d.ts.map +1 -0
- package/dist/solver/mus/types.js.map +1 -0
- package/dist/solver/smt/index.d.ts.map +1 -0
- package/dist/solver/smt/index.js.map +1 -0
- package/dist/solver/smt/mock-backend.d.ts.map +1 -0
- package/dist/solver/smt/mock-backend.js.map +1 -0
- package/dist/solver/smt/serializer.d.ts.map +1 -0
- package/dist/solver/smt/serializer.js.map +1 -0
- package/dist/solver/smt/subprocess-backend.d.ts.map +1 -0
- package/dist/solver/smt/subprocess-backend.js.map +1 -0
- package/dist/solver/smt/types.d.ts.map +1 -0
- package/dist/solver/smt/types.js.map +1 -0
- package/dist/solver/smt-lib/ast.d.ts.map +1 -0
- package/dist/solver/smt-lib/ast.js.map +1 -0
- package/dist/solver/smt-lib/emitter.d.ts.map +1 -0
- package/dist/solver/smt-lib/emitter.js.map +1 -0
- package/dist/solver/smt-lib/index.d.ts.map +1 -0
- package/dist/solver/smt-lib/index.js.map +1 -0
- package/dist/solver/smt-lib/parser.d.ts.map +1 -0
- package/dist/solver/smt-lib/parser.js.map +1 -0
- package/dist/solver/smt-lib/tokenizer.d.ts.map +1 -0
- package/dist/solver/smt-lib/tokenizer.js.map +1 -0
- package/dist/tests/api/namespaces.test.js +1 -1
- package/dist/tests/api/namespaces.test.js.map +1 -1
- package/dist/tests/arithmetic.test.js +2 -2
- package/dist/tests/arithmetic.test.js.map +1 -1
- package/dist/tests/benchmark-cdcl.test.js +2 -2
- package/dist/tests/benchmark-cdcl.test.js.map +1 -1
- package/dist/tests/cli.test.js +1 -1
- package/dist/tests/cli.test.js.map +1 -1
- package/dist/tests/core.test.js +1 -1
- package/dist/tests/core.test.js.map +1 -1
- package/dist/tests/coverage-95/api-and-interpreter-e2e.test.js +1 -1
- package/dist/tests/coverage-95/api-and-interpreter-e2e.test.js.map +1 -1
- package/dist/tests/coverage-95/argumentation.test.js +1 -1
- package/dist/tests/coverage-95/argumentation.test.js.map +1 -1
- package/dist/tests/coverage-95/arithmetic.test.js +1 -1
- package/dist/tests/coverage-95/arithmetic.test.js.map +1 -1
- package/dist/tests/coverage-95/belnap.test.js +1 -1
- package/dist/tests/coverage-95/belnap.test.js.map +1 -1
- package/dist/tests/coverage-95/classical-propositional-direct.test.js +1 -1
- package/dist/tests/coverage-95/classical-propositional-direct.test.js.map +1 -1
- package/dist/tests/coverage-95/first-order.test.js +1 -1
- package/dist/tests/coverage-95/first-order.test.js.map +1 -1
- package/dist/tests/coverage-95/fol-prover.test.js +3 -3
- package/dist/tests/coverage-95/fol-prover.test.js.map +1 -1
- package/dist/tests/coverage-95/lsp-server.test.js +1 -1
- package/dist/tests/coverage-95/lsp-server.test.js.map +1 -1
- package/dist/tests/coverage-95/modal-tableau-profiles.test.js +5 -5
- package/dist/tests/coverage-95/modal-tableau-profiles.test.js.map +1 -1
- package/dist/tests/coverage-95/parallel-sat.test.js +1 -1
- package/dist/tests/coverage-95/parallel-sat.test.js.map +1 -1
- package/dist/tests/coverage-95/propositional-utilities.test.js +1 -1
- package/dist/tests/coverage-95/propositional-utilities.test.js.map +1 -1
- package/dist/tests/coverage-95/smt-mock-backend.test.js +1 -1
- package/dist/tests/coverage-95/smt-mock-backend.test.js.map +1 -1
- package/dist/tests/coverage-95/smt-serializer.test.js +1 -1
- package/dist/tests/coverage-95/smt-serializer.test.js.map +1 -1
- package/dist/tests/coverage-95/smt-subprocess.test.js +1 -1
- package/dist/tests/coverage-95/smt-subprocess.test.js.map +1 -1
- package/dist/tests/coverage-95/tableau-engine.test.js +1 -1
- package/dist/tests/coverage-95/tableau-engine.test.js.map +1 -1
- package/dist/tests/coverage-95/temporal-ltl.test.js +1 -1
- package/dist/tests/coverage-95/temporal-ltl.test.js.map +1 -1
- package/dist/tests/coverage-95/undecidability-detector.test.js +1 -1
- package/dist/tests/coverage-95/undecidability-detector.test.js.map +1 -1
- package/dist/tests/coverage-fill-aristotelian.test.js +1 -1
- package/dist/tests/coverage-fill-aristotelian.test.js.map +1 -1
- package/dist/tests/coverage-fill-belnap.test.js +1 -1
- package/dist/tests/coverage-fill-belnap.test.js.map +1 -1
- package/dist/tests/coverage-fill-cross-system.test.js +1 -1
- package/dist/tests/coverage-fill-cross-system.test.js.map +1 -1
- package/dist/tests/coverage-fill-intuitionistic.test.js +1 -1
- package/dist/tests/coverage-fill-intuitionistic.test.js.map +1 -1
- package/dist/tests/coverage-fill-probabilistic.test.js +1 -1
- package/dist/tests/coverage-fill-probabilistic.test.js.map +1 -1
- package/dist/tests/integration/cross-modules.test.js +13 -13
- package/dist/tests/integration/cross-modules.test.js.map +1 -1
- package/dist/tests/logic/ctl/check.test.d.ts.map +1 -0
- package/dist/tests/logic/ctl/check.test.js +337 -0
- package/dist/tests/logic/ctl/check.test.js.map +1 -0
- package/dist/tests/logic/default-logic/extensions.test.d.ts.map +1 -0
- package/dist/tests/logic/default-logic/extensions.test.js +323 -0
- package/dist/tests/logic/default-logic/extensions.test.js.map +1 -0
- package/dist/tests/logic/description-logic/alc.test.d.ts.map +1 -0
- package/dist/tests/logic/description-logic/alc.test.js +253 -0
- package/dist/tests/logic/description-logic/alc.test.js.map +1 -0
- package/dist/tests/logic/hybrid-logic/semantics.test.d.ts.map +1 -0
- package/dist/tests/logic/hybrid-logic/semantics.test.js +169 -0
- package/dist/tests/logic/hybrid-logic/semantics.test.js.map +1 -0
- package/dist/tests/logic/intuitionistic-nj/nj.test.d.ts.map +1 -0
- package/dist/tests/logic/intuitionistic-nj/nj.test.js +216 -0
- package/dist/tests/logic/intuitionistic-nj/nj.test.js.map +1 -0
- package/dist/tests/logic/ltl-sat/sat.test.d.ts.map +1 -0
- package/dist/tests/logic/ltl-sat/sat.test.js +160 -0
- package/dist/tests/logic/ltl-sat/sat.test.js.map +1 -0
- package/dist/tests/logic/many-valued/many-valued.test.d.ts.map +1 -0
- package/dist/tests/logic/many-valued/many-valued.test.js +150 -0
- package/dist/tests/logic/many-valued/many-valued.test.js.map +1 -0
- package/dist/tests/logic/modal-frame-axioms/frame-axioms.test.d.ts.map +1 -0
- package/dist/tests/logic/modal-frame-axioms/frame-axioms.test.js +236 -0
- package/dist/tests/logic/modal-frame-axioms/frame-axioms.test.js.map +1 -0
- package/dist/tests/logic/mu-calculus/check.test.d.ts.map +1 -0
- package/dist/tests/logic/mu-calculus/check.test.js +234 -0
- package/dist/tests/logic/mu-calculus/check.test.js.map +1 -0
- package/dist/tests/logic/profile-bridge/translations.test.d.ts.map +1 -0
- package/dist/tests/logic/profile-bridge/translations.test.js +266 -0
- package/dist/tests/logic/profile-bridge/translations.test.js.map +1 -0
- package/dist/tests/logic/profiles.test.d.ts.map +1 -0
- package/dist/tests/logic/profiles.test.js +393 -0
- package/dist/tests/logic/profiles.test.js.map +1 -0
- package/dist/tests/logic/sequent-g3/prover.test.d.ts.map +1 -0
- package/dist/tests/logic/sequent-g3/prover.test.js +205 -0
- package/dist/tests/logic/sequent-g3/prover.test.js.map +1 -0
- package/dist/tests/logic/sequent-lk/prover.test.d.ts.map +1 -0
- package/dist/tests/logic/sequent-lk/prover.test.js +317 -0
- package/dist/tests/logic/sequent-lk/prover.test.js.map +1 -0
- package/dist/tests/logic/substructural/prover.test.d.ts.map +1 -0
- package/dist/tests/logic/substructural/prover.test.js +271 -0
- package/dist/tests/logic/substructural/prover.test.js.map +1 -0
- package/dist/tests/natural-deduction-workshop.test.js +1 -1
- package/dist/tests/natural-deduction-workshop.test.js.map +1 -1
- package/dist/tests/parallel/parallel-pool.test.d.ts +1 -1
- package/dist/tests/parallel/parallel-pool.test.d.ts.map +1 -1
- package/dist/tests/parallel/parallel-pool.test.js +2 -2
- package/dist/tests/parallel/parallel-pool.test.js.map +1 -1
- package/dist/tests/parallel-sat.test.js +3 -3
- package/dist/tests/parallel-sat.test.js.map +1 -1
- package/dist/tests/proof-systems/fol-prover/cnf.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/fol-prover/cnf.test.js +74 -0
- package/dist/tests/proof-systems/fol-prover/cnf.test.js.map +1 -0
- package/dist/tests/proof-systems/fol-prover/prove.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/fol-prover/prove.test.js +106 -0
- package/dist/tests/proof-systems/fol-prover/prove.test.js.map +1 -0
- package/dist/tests/proof-systems/fol-prover/unify.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/fol-prover/unify.test.js +66 -0
- package/dist/tests/proof-systems/fol-prover/unify.test.js.map +1 -0
- package/dist/tests/proof-systems/fol-prover-equality/prove.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/fol-prover-equality/prove.test.js +179 -0
- package/dist/tests/proof-systems/fol-prover-equality/prove.test.js.map +1 -0
- package/dist/tests/proof-systems/higher-order-unify/ho-unify.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/higher-order-unify/ho-unify.test.js +264 -0
- package/dist/tests/proof-systems/higher-order-unify/ho-unify.test.js.map +1 -0
- package/dist/tests/proof-systems/proof-exchange/proof-exchange.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/proof-exchange/proof-exchange.test.js +161 -0
- package/dist/tests/proof-systems/proof-exchange/proof-exchange.test.js.map +1 -0
- package/dist/tests/proof-systems/proof-minify/minify.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/proof-minify/minify.test.js +281 -0
- package/dist/tests/proof-systems/proof-minify/minify.test.js.map +1 -0
- package/dist/tests/proof-systems/proof-nets/proof-nets.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/proof-nets/proof-nets.test.js +263 -0
- package/dist/tests/proof-systems/proof-nets/proof-nets.test.js.map +1 -0
- package/dist/tests/proof-systems/tableau-framework/tableau.test.d.ts.map +1 -0
- package/dist/tests/proof-systems/tableau-framework/tableau.test.js +196 -0
- package/dist/tests/proof-systems/tableau-framework/tableau.test.js.map +1 -0
- package/dist/tests/properties/agm.property.test.js +3 -3
- package/dist/tests/properties/agm.property.test.js.map +1 -1
- package/dist/tests/properties/argumentation.property.test.js +1 -1
- package/dist/tests/properties/argumentation.property.test.js.map +1 -1
- package/dist/tests/properties/bayesian.property.test.js +1 -1
- package/dist/tests/properties/bayesian.property.test.js.map +1 -1
- package/dist/tests/properties/coinduction.property.test.js +1 -1
- package/dist/tests/properties/coinduction.property.test.js.map +1 -1
- package/dist/tests/properties/constructive-reals.property.test.js +1 -1
- package/dist/tests/properties/constructive-reals.property.test.js.map +1 -1
- package/dist/tests/properties/csp.property.test.js +1 -1
- package/dist/tests/properties/csp.property.test.js.map +1 -1
- package/dist/tests/properties/generators.d.ts +5 -5
- package/dist/tests/properties/generators.d.ts.map +1 -1
- package/dist/tests/properties/ho-unify.property.test.js +1 -1
- package/dist/tests/properties/ho-unify.property.test.js.map +1 -1
- package/dist/tests/properties/hyperreal.property.test.js +1 -1
- package/dist/tests/properties/hyperreal.property.test.js.map +1 -1
- package/dist/tests/properties/intuit-nj.property.test.js +2 -2
- package/dist/tests/properties/intuit-nj.property.test.js.map +1 -1
- package/dist/tests/properties/lambda-calc.property.test.js +1 -1
- package/dist/tests/properties/lambda-calc.property.test.js.map +1 -1
- package/dist/tests/properties/mln.property.test.js +1 -1
- package/dist/tests/properties/mln.property.test.js.map +1 -1
- package/dist/tests/properties/mltt.property.test.js +3 -3
- package/dist/tests/properties/mltt.property.test.js.map +1 -1
- package/dist/tests/properties/nbe.property.test.js +1 -1
- package/dist/tests/properties/nbe.property.test.js.map +1 -1
- package/dist/tests/properties/planning.property.test.js +1 -1
- package/dist/tests/properties/planning.property.test.js.map +1 -1
- package/dist/tests/properties/profile-bridge.property.test.js +3 -3
- package/dist/tests/properties/profile-bridge.property.test.js.map +1 -1
- package/dist/tests/properties/refinement-types.property.test.js +1 -1
- package/dist/tests/properties/refinement-types.property.test.js.map +1 -1
- package/dist/tests/properties/sequent-g3.property.test.js +1 -1
- package/dist/tests/properties/sequent-g3.property.test.js.map +1 -1
- package/dist/tests/properties/system-f.property.test.js +1 -1
- package/dist/tests/properties/system-f.property.test.js.map +1 -1
- package/dist/tests/propositional-nd-audit.test.js +1 -1
- package/dist/tests/propositional-nd-audit.test.js.map +1 -1
- package/dist/tests/protocol-text-layer.test.js +1 -1
- package/dist/tests/protocol-text-layer.test.js.map +1 -1
- package/dist/tests/reasoning/abduction/abduction.test.d.ts.map +1 -0
- package/dist/tests/reasoning/abduction/abduction.test.js +380 -0
- package/dist/tests/reasoning/abduction/abduction.test.js.map +1 -0
- package/dist/tests/reasoning/argumentation/dung.test.d.ts.map +1 -0
- package/dist/tests/reasoning/argumentation/dung.test.js +219 -0
- package/dist/tests/reasoning/argumentation/dung.test.js.map +1 -0
- package/dist/tests/reasoning/bayesian/bayesian.test.d.ts.map +1 -0
- package/dist/tests/reasoning/bayesian/bayesian.test.js +328 -0
- package/dist/tests/reasoning/bayesian/bayesian.test.js.map +1 -0
- package/dist/tests/reasoning/belief-revision/agm.test.d.ts.map +1 -0
- package/dist/tests/reasoning/belief-revision/agm.test.js +173 -0
- package/dist/tests/reasoning/belief-revision/agm.test.js.map +1 -0
- package/dist/tests/reasoning/citation-reasoning/citation-reasoning.test.d.ts.map +1 -0
- package/dist/tests/reasoning/citation-reasoning/citation-reasoning.test.js +240 -0
- package/dist/tests/reasoning/citation-reasoning/citation-reasoning.test.js.map +1 -0
- package/dist/tests/reasoning/constructive-reals/constructive-reals.test.d.ts.map +1 -0
- package/dist/tests/reasoning/constructive-reals/constructive-reals.test.js +357 -0
- package/dist/tests/reasoning/constructive-reals/constructive-reals.test.js.map +1 -0
- package/dist/tests/reasoning/fca/fca.test.d.ts.map +1 -0
- package/dist/tests/reasoning/fca/fca.test.js +317 -0
- package/dist/tests/reasoning/fca/fca.test.js.map +1 -0
- package/dist/tests/reasoning/game-theory/game-theory.test.d.ts.map +1 -0
- package/dist/tests/reasoning/game-theory/game-theory.test.js +252 -0
- package/dist/tests/reasoning/game-theory/game-theory.test.js.map +1 -0
- package/dist/tests/reasoning/hyperreal/hyperreal.test.d.ts.map +1 -0
- package/dist/tests/reasoning/hyperreal/hyperreal.test.js +219 -0
- package/dist/tests/reasoning/hyperreal/hyperreal.test.js.map +1 -0
- package/dist/tests/reasoning/information-theory/information-theory.test.d.ts.map +1 -0
- package/dist/tests/reasoning/information-theory/information-theory.test.js +291 -0
- package/dist/tests/reasoning/information-theory/information-theory.test.js.map +1 -0
- package/dist/tests/reasoning/lemma-synthesis/lemma-synthesis.test.d.ts +2 -0
- package/dist/tests/reasoning/lemma-synthesis/lemma-synthesis.test.d.ts.map +1 -0
- package/dist/tests/reasoning/lemma-synthesis/lemma-synthesis.test.js +460 -0
- package/dist/tests/reasoning/lemma-synthesis/lemma-synthesis.test.js.map +1 -0
- package/dist/tests/reasoning/markov-logic/markov-logic.test.d.ts.map +1 -0
- package/dist/tests/reasoning/markov-logic/markov-logic.test.js +349 -0
- package/dist/tests/reasoning/markov-logic/markov-logic.test.js.map +1 -0
- package/dist/tests/reasoning/optimization/ilp.test.d.ts.map +1 -0
- package/dist/tests/reasoning/optimization/ilp.test.js +204 -0
- package/dist/tests/reasoning/optimization/ilp.test.js.map +1 -0
- package/dist/tests/reasoning/optimization/lp.test.d.ts.map +1 -0
- package/dist/tests/reasoning/optimization/lp.test.js +224 -0
- package/dist/tests/reasoning/optimization/lp.test.js.map +1 -0
- package/dist/tests/reasoning/planning/planning.test.d.ts.map +1 -0
- package/dist/tests/reasoning/planning/planning.test.js +397 -0
- package/dist/tests/reasoning/planning/planning.test.js.map +1 -0
- package/dist/tests/reasoning/tactic-dsl/tactic-dsl.test.d.ts +2 -0
- package/dist/tests/reasoning/tactic-dsl/tactic-dsl.test.d.ts.map +1 -0
- package/dist/tests/reasoning/tactic-dsl/tactic-dsl.test.js +259 -0
- package/dist/tests/reasoning/tactic-dsl/tactic-dsl.test.js.map +1 -0
- package/dist/tests/result-bindings.test.js +1 -1
- package/dist/tests/result-bindings.test.js.map +1 -1
- package/dist/tests/runtime/bdd/manager.test.d.ts.map +1 -0
- package/dist/tests/runtime/bdd/manager.test.js +472 -0
- package/dist/tests/runtime/bdd/manager.test.js.map +1 -0
- package/dist/tests/runtime/csp-hoare/csp-hoare.test.d.ts +2 -0
- package/dist/tests/runtime/csp-hoare/csp-hoare.test.d.ts.map +1 -0
- package/dist/tests/runtime/csp-hoare/csp-hoare.test.js +313 -0
- package/dist/tests/runtime/csp-hoare/csp-hoare.test.js.map +1 -0
- package/dist/tests/semantics/categorical/categorical.test.d.ts +2 -0
- package/dist/tests/semantics/categorical/categorical.test.d.ts.map +1 -0
- package/dist/tests/semantics/categorical/categorical.test.js +300 -0
- package/dist/tests/semantics/categorical/categorical.test.js.map +1 -0
- package/dist/tests/semantics/coinduction/coinduction.test.d.ts.map +1 -0
- package/dist/tests/semantics/coinduction/coinduction.test.js +217 -0
- package/dist/tests/semantics/coinduction/coinduction.test.js.map +1 -0
- package/dist/tests/semantics/game-semantics/game-semantics.test.d.ts.map +1 -0
- package/dist/tests/semantics/game-semantics/game-semantics.test.js +143 -0
- package/dist/tests/semantics/game-semantics/game-semantics.test.js.map +1 -0
- package/dist/tests/semantics/text-layer-v2/claim-graph.test.d.ts.map +1 -0
- package/dist/tests/semantics/text-layer-v2/claim-graph.test.js +255 -0
- package/dist/tests/semantics/text-layer-v2/claim-graph.test.js.map +1 -0
- package/dist/tests/semantics/text-layer-v2/mdx-bridge/mdx-bridge.test.d.ts.map +1 -0
- package/dist/tests/semantics/text-layer-v2/mdx-bridge/mdx-bridge.test.js +200 -0
- package/dist/tests/semantics/text-layer-v2/mdx-bridge/mdx-bridge.test.js.map +1 -0
- package/dist/tests/solver/csp/csp.test.d.ts.map +1 -0
- package/dist/tests/solver/csp/csp.test.js +292 -0
- package/dist/tests/solver/csp/csp.test.js.map +1 -0
- package/dist/tests/solver/mus/extract.test.d.ts.map +1 -0
- package/dist/tests/solver/mus/extract.test.js +352 -0
- package/dist/tests/solver/mus/extract.test.js.map +1 -0
- package/dist/tests/solver/sat-v2/clause-learning.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2/clause-learning.test.js +73 -0
- package/dist/tests/solver/sat-v2/clause-learning.test.js.map +1 -0
- package/dist/tests/solver/sat-v2/lbd.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2/lbd.test.js +82 -0
- package/dist/tests/solver/sat-v2/lbd.test.js.map +1 -0
- package/dist/tests/solver/sat-v2/luby.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2/luby.test.js +58 -0
- package/dist/tests/solver/sat-v2/luby.test.js.map +1 -0
- package/dist/tests/solver/sat-v2/phase-saving.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2/phase-saving.test.js +38 -0
- package/dist/tests/solver/sat-v2/phase-saving.test.js.map +1 -0
- package/dist/tests/solver/sat-v2/solver-end-to-end.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2/solver-end-to-end.test.js +199 -0
- package/dist/tests/solver/sat-v2/solver-end-to-end.test.js.map +1 -0
- package/dist/tests/solver/sat-v2/vsids.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2/vsids.test.js +69 -0
- package/dist/tests/solver/sat-v2/vsids.test.js.map +1 -0
- package/dist/tests/solver/sat-v2-incremental/basic.test.d.ts.map +1 -0
- package/dist/tests/solver/sat-v2-incremental/basic.test.js +352 -0
- package/dist/tests/solver/sat-v2-incremental/basic.test.js.map +1 -0
- package/dist/tests/solver/smt/mock-backend.test.d.ts.map +1 -0
- package/dist/tests/solver/smt/mock-backend.test.js +129 -0
- package/dist/tests/solver/smt/mock-backend.test.js.map +1 -0
- package/dist/tests/solver/smt/serializer.test.d.ts.map +1 -0
- package/dist/tests/solver/smt/serializer.test.js +94 -0
- package/dist/tests/solver/smt/serializer.test.js.map +1 -0
- package/dist/tests/solver/smt/subprocess-backend.test.d.ts.map +1 -0
- package/dist/tests/solver/smt/subprocess-backend.test.js +89 -0
- package/dist/tests/solver/smt/subprocess-backend.test.js.map +1 -0
- package/dist/tests/solver/smt-lib/emitter.test.d.ts.map +1 -0
- package/dist/tests/solver/smt-lib/emitter.test.js +155 -0
- package/dist/tests/solver/smt-lib/emitter.test.js.map +1 -0
- package/dist/tests/solver/smt-lib/parser.test.d.ts.map +1 -0
- package/dist/tests/solver/smt-lib/parser.test.js +164 -0
- package/dist/tests/solver/smt-lib/parser.test.js.map +1 -0
- package/dist/tests/solver/smt-lib/tokenizer.test.d.ts.map +1 -0
- package/dist/tests/solver/smt-lib/tokenizer.test.js +59 -0
- package/dist/tests/solver/smt-lib/tokenizer.test.js.map +1 -0
- package/dist/tests/stress-cdcl.test.js +2 -2
- package/dist/tests/stress-cdcl.test.js.map +1 -1
- package/dist/tests/stress-extreme.test.js +1 -1
- package/dist/tests/stress-extreme.test.js.map +1 -1
- package/dist/tests/tooling/educational/checker.test.d.ts.map +1 -0
- package/dist/tests/tooling/educational/checker.test.js +212 -0
- package/dist/tests/tooling/educational/checker.test.js.map +1 -0
- package/dist/tests/tooling/educational/generator.test.d.ts.map +1 -0
- package/dist/tests/tooling/educational/generator.test.js +137 -0
- package/dist/tests/tooling/educational/generator.test.js.map +1 -0
- package/dist/tests/tooling/exporters/coq/coq-exporter.test.d.ts.map +1 -0
- package/dist/tests/tooling/exporters/coq/coq-exporter.test.js +353 -0
- package/dist/tests/tooling/exporters/coq/coq-exporter.test.js.map +1 -0
- package/dist/tests/tooling/lsp/server.test.d.ts.map +1 -0
- package/dist/tests/tooling/lsp/server.test.js +406 -0
- package/dist/tests/tooling/lsp/server.test.js.map +1 -0
- package/dist/tests/tooling/plugin-system/demo-min-logic.test.d.ts.map +1 -0
- package/dist/tests/tooling/plugin-system/demo-min-logic.test.js +85 -0
- package/dist/tests/tooling/plugin-system/demo-min-logic.test.js.map +1 -0
- package/dist/tests/tooling/plugin-system/registry.test.d.ts.map +1 -0
- package/dist/tests/tooling/plugin-system/registry.test.js +88 -0
- package/dist/tests/tooling/plugin-system/registry.test.js.map +1 -0
- package/dist/tests/tooling/plugin-system/validate.test.d.ts.map +1 -0
- package/dist/tests/tooling/plugin-system/validate.test.js +101 -0
- package/dist/tests/tooling/plugin-system/validate.test.js.map +1 -0
- package/dist/tests/tooling/time-travel/snapshot.test.d.ts.map +1 -0
- package/dist/tests/tooling/time-travel/snapshot.test.js +75 -0
- package/dist/tests/tooling/time-travel/snapshot.test.js.map +1 -0
- package/dist/tests/tooling/time-travel/store.test.d.ts.map +1 -0
- package/dist/tests/tooling/time-travel/store.test.js +242 -0
- package/dist/tests/tooling/time-travel/store.test.js.map +1 -0
- package/dist/tests/tooling/tptp/bridge.test.d.ts +2 -0
- package/dist/tests/tooling/tptp/bridge.test.d.ts.map +1 -0
- package/dist/tests/tooling/tptp/bridge.test.js +154 -0
- package/dist/tests/tooling/tptp/bridge.test.js.map +1 -0
- package/dist/tests/tooling/tptp/emitter.test.d.ts +2 -0
- package/dist/tests/tooling/tptp/emitter.test.d.ts.map +1 -0
- package/dist/tests/tooling/tptp/emitter.test.js +128 -0
- package/dist/tests/tooling/tptp/emitter.test.js.map +1 -0
- package/dist/tests/tooling/tptp/parser.test.d.ts +2 -0
- package/dist/tests/tooling/tptp/parser.test.d.ts.map +1 -0
- package/dist/tests/tooling/tptp/parser.test.js +192 -0
- package/dist/tests/tooling/tptp/parser.test.js.map +1 -0
- package/dist/tests/tooling/tptp/tokenizer.test.d.ts +2 -0
- package/dist/tests/tooling/tptp/tokenizer.test.d.ts.map +1 -0
- package/dist/tests/tooling/tptp/tokenizer.test.js +60 -0
- package/dist/tests/tooling/tptp/tokenizer.test.js.map +1 -0
- package/dist/tests/type-theory/combinators-ski/combinators-ski.test.d.ts.map +1 -0
- package/dist/tests/type-theory/combinators-ski/combinators-ski.test.js +211 -0
- package/dist/tests/type-theory/combinators-ski/combinators-ski.test.js.map +1 -0
- package/dist/tests/type-theory/curry-howard/infer.test.d.ts.map +1 -0
- package/dist/tests/type-theory/curry-howard/infer.test.js +93 -0
- package/dist/tests/type-theory/curry-howard/infer.test.js.map +1 -0
- package/dist/tests/type-theory/curry-howard/proof.test.d.ts.map +1 -0
- package/dist/tests/type-theory/curry-howard/proof.test.js +105 -0
- package/dist/tests/type-theory/curry-howard/proof.test.js.map +1 -0
- package/dist/tests/type-theory/curry-howard/reduce.test.d.ts.map +1 -0
- package/dist/tests/type-theory/curry-howard/reduce.test.js +109 -0
- package/dist/tests/type-theory/curry-howard/reduce.test.js.map +1 -0
- package/dist/tests/type-theory/hindley-milner/hindley-milner.test.d.ts +2 -0
- package/dist/tests/type-theory/hindley-milner/hindley-milner.test.d.ts.map +1 -0
- package/dist/tests/type-theory/hindley-milner/hindley-milner.test.js +327 -0
- package/dist/tests/type-theory/hindley-milner/hindley-milner.test.js.map +1 -0
- package/dist/tests/type-theory/hol/hol.test.d.ts.map +1 -0
- package/dist/tests/type-theory/hol/hol.test.js +340 -0
- package/dist/tests/type-theory/hol/hol.test.js.map +1 -0
- package/dist/tests/type-theory/hott/hott.test.d.ts +2 -0
- package/dist/tests/type-theory/hott/hott.test.d.ts.map +1 -0
- package/dist/tests/type-theory/hott/hott.test.js +271 -0
- package/dist/tests/type-theory/hott/hott.test.js.map +1 -0
- package/dist/tests/type-theory/lambda-calc/lambda-calc.test.d.ts.map +1 -0
- package/dist/tests/type-theory/lambda-calc/lambda-calc.test.js +164 -0
- package/dist/tests/type-theory/lambda-calc/lambda-calc.test.js.map +1 -0
- package/dist/tests/type-theory/mltt/mltt.test.d.ts.map +1 -0
- package/dist/tests/type-theory/mltt/mltt.test.js +181 -0
- package/dist/tests/type-theory/mltt/mltt.test.js.map +1 -0
- package/dist/tests/type-theory/nbe/nbe.test.d.ts.map +1 -0
- package/dist/tests/type-theory/nbe/nbe.test.js +121 -0
- package/dist/tests/type-theory/nbe/nbe.test.js.map +1 -0
- package/dist/tests/type-theory/refinement-types/refinement-types.test.d.ts.map +1 -0
- package/dist/tests/type-theory/refinement-types/refinement-types.test.js +174 -0
- package/dist/tests/type-theory/refinement-types/refinement-types.test.js.map +1 -0
- package/dist/tests/type-theory/system-f/system-f.test.d.ts.map +1 -0
- package/dist/tests/type-theory/system-f/system-f.test.js +217 -0
- package/dist/tests/type-theory/system-f/system-f.test.js.map +1 -0
- package/dist/tests/v1-features.test.js +2 -2
- package/dist/tests/v1-features.test.js.map +1 -1
- package/dist/tooling/educational/checker.d.ts.map +1 -0
- package/dist/tooling/educational/checker.js +244 -0
- package/dist/tooling/educational/checker.js.map +1 -0
- package/dist/tooling/educational/generator.d.ts.map +1 -0
- package/dist/tooling/educational/generator.js.map +1 -0
- package/dist/tooling/educational/index.d.ts.map +1 -0
- package/dist/tooling/educational/index.js.map +1 -0
- package/dist/tooling/educational/normalize.d.ts.map +1 -0
- package/dist/tooling/educational/normalize.js.map +1 -0
- package/dist/tooling/educational/rng.d.ts.map +1 -0
- package/dist/tooling/educational/rng.js.map +1 -0
- package/dist/tooling/educational/templates.d.ts.map +1 -0
- package/dist/tooling/educational/templates.js.map +1 -0
- package/dist/tooling/educational/types.d.ts.map +1 -0
- package/dist/tooling/educational/types.js.map +1 -0
- package/dist/tooling/exporters/coq/index.d.ts +35 -0
- package/dist/tooling/exporters/coq/index.d.ts.map +1 -0
- package/dist/tooling/exporters/coq/index.js.map +1 -0
- package/dist/tooling/lsp/index.d.ts.map +1 -0
- package/dist/tooling/lsp/index.js.map +1 -0
- package/dist/tooling/lsp/protocol.d.ts.map +1 -0
- package/dist/tooling/lsp/protocol.js.map +1 -0
- package/dist/tooling/lsp/server.d.ts.map +1 -0
- package/dist/tooling/lsp/server.js +529 -0
- package/dist/tooling/lsp/server.js.map +1 -0
- package/dist/tooling/lsp/types.d.ts.map +1 -0
- package/dist/tooling/lsp/types.js.map +1 -0
- package/dist/tooling/plugin-system/demo-min-logic.d.ts.map +1 -0
- package/dist/tooling/plugin-system/demo-min-logic.js.map +1 -0
- package/dist/tooling/plugin-system/errors.d.ts.map +1 -0
- package/dist/tooling/plugin-system/errors.js.map +1 -0
- package/dist/tooling/plugin-system/index.d.ts.map +1 -0
- package/dist/tooling/plugin-system/index.js.map +1 -0
- package/dist/tooling/plugin-system/registry.d.ts.map +1 -0
- package/dist/tooling/plugin-system/registry.js.map +1 -0
- package/dist/tooling/plugin-system/types.d.ts +23 -0
- package/dist/tooling/plugin-system/types.d.ts.map +1 -0
- package/dist/tooling/plugin-system/types.js.map +1 -0
- package/dist/tooling/plugin-system/validate.d.ts.map +1 -0
- package/dist/tooling/plugin-system/validate.js.map +1 -0
- package/dist/tooling/time-travel/index.d.ts.map +1 -0
- package/dist/tooling/time-travel/index.js.map +1 -0
- package/dist/tooling/time-travel/snapshot.d.ts.map +1 -0
- package/dist/tooling/time-travel/snapshot.js.map +1 -0
- package/dist/tooling/time-travel/store.d.ts.map +1 -0
- package/dist/tooling/time-travel/store.js.map +1 -0
- package/dist/tooling/time-travel/types.d.ts.map +1 -0
- package/dist/tooling/time-travel/types.js.map +1 -0
- package/dist/tooling/tptp/ast.d.ts +73 -0
- package/dist/tooling/tptp/ast.d.ts.map +1 -0
- package/dist/tooling/tptp/ast.js +35 -0
- package/dist/tooling/tptp/ast.js.map +1 -0
- package/dist/tooling/tptp/bridge.d.ts +14 -0
- package/dist/tooling/tptp/bridge.d.ts.map +1 -0
- package/dist/tooling/tptp/bridge.js +146 -0
- package/dist/tooling/tptp/bridge.js.map +1 -0
- package/dist/tooling/tptp/emitter.d.ts +5 -0
- package/dist/tooling/tptp/emitter.d.ts.map +1 -0
- package/dist/tooling/tptp/emitter.js +103 -0
- package/dist/tooling/tptp/emitter.js.map +1 -0
- package/dist/tooling/tptp/index.d.ts +7 -0
- package/dist/tooling/tptp/index.d.ts.map +1 -0
- package/dist/tooling/tptp/index.js +31 -0
- package/dist/tooling/tptp/index.js.map +1 -0
- package/dist/tooling/tptp/parser.d.ts +23 -0
- package/dist/tooling/tptp/parser.d.ts.map +1 -0
- package/dist/tooling/tptp/parser.js +440 -0
- package/dist/tooling/tptp/parser.js.map +1 -0
- package/dist/tooling/tptp/tokenizer.d.ts +14 -0
- package/dist/tooling/tptp/tokenizer.d.ts.map +1 -0
- package/dist/tooling/tptp/tokenizer.js +264 -0
- package/dist/tooling/tptp/tokenizer.js.map +1 -0
- package/dist/type-theory/combinators-ski/abstract.d.ts.map +1 -0
- package/dist/type-theory/combinators-ski/abstract.js.map +1 -0
- package/dist/type-theory/combinators-ski/index.d.ts.map +1 -0
- package/dist/type-theory/combinators-ski/index.js.map +1 -0
- package/dist/type-theory/combinators-ski/reduce.d.ts.map +1 -0
- package/dist/type-theory/combinators-ski/reduce.js.map +1 -0
- package/dist/type-theory/combinators-ski/types.d.ts.map +1 -0
- package/dist/type-theory/combinators-ski/types.js.map +1 -0
- package/dist/type-theory/curry-howard/index.d.ts.map +1 -0
- package/dist/type-theory/curry-howard/index.js.map +1 -0
- package/dist/type-theory/curry-howard/infer.d.ts.map +1 -0
- package/dist/type-theory/curry-howard/infer.js.map +1 -0
- package/dist/type-theory/curry-howard/proof.d.ts.map +1 -0
- package/dist/type-theory/curry-howard/proof.js.map +1 -0
- package/dist/type-theory/curry-howard/reduce.d.ts.map +1 -0
- package/dist/type-theory/curry-howard/reduce.js.map +1 -0
- package/dist/type-theory/curry-howard/types.d.ts.map +1 -0
- package/dist/type-theory/curry-howard/types.js.map +1 -0
- package/dist/type-theory/hindley-milner/index.d.ts +7 -0
- package/dist/type-theory/hindley-milner/index.d.ts.map +1 -0
- package/dist/type-theory/hindley-milner/index.js +60 -0
- package/dist/type-theory/hindley-milner/index.js.map +1 -0
- package/dist/type-theory/hindley-milner/infer.d.ts +26 -0
- package/dist/type-theory/hindley-milner/infer.d.ts.map +1 -0
- package/dist/type-theory/hindley-milner/infer.js +278 -0
- package/dist/type-theory/hindley-milner/infer.js.map +1 -0
- package/dist/type-theory/hindley-milner/substitution.d.ts +21 -0
- package/dist/type-theory/hindley-milner/substitution.d.ts.map +1 -0
- package/dist/type-theory/hindley-milner/substitution.js +215 -0
- package/dist/type-theory/hindley-milner/substitution.js.map +1 -0
- package/dist/type-theory/hindley-milner/types.d.ts +84 -0
- package/dist/type-theory/hindley-milner/types.d.ts.map +1 -0
- package/dist/type-theory/hindley-milner/types.js +166 -0
- package/dist/type-theory/hindley-milner/types.js.map +1 -0
- package/dist/type-theory/hol/connectives.d.ts.map +1 -0
- package/dist/type-theory/hol/connectives.js.map +1 -0
- package/dist/type-theory/hol/index.d.ts.map +1 -0
- package/dist/type-theory/hol/index.js.map +1 -0
- package/dist/type-theory/hol/rules.d.ts.map +1 -0
- package/dist/type-theory/hol/rules.js.map +1 -0
- package/dist/type-theory/hol/term.d.ts.map +1 -0
- package/dist/type-theory/hol/term.js.map +1 -0
- package/dist/type-theory/hol/type-system.d.ts.map +1 -0
- package/dist/type-theory/hol/type-system.js.map +1 -0
- package/dist/type-theory/hol/types.d.ts.map +1 -0
- package/dist/type-theory/hol/types.js.map +1 -0
- package/dist/type-theory/hott/equality.d.ts +4 -0
- package/dist/type-theory/hott/equality.d.ts.map +1 -0
- package/dist/type-theory/hott/equality.js +108 -0
- package/dist/type-theory/hott/equality.js.map +1 -0
- package/dist/type-theory/hott/index.d.ts +13 -0
- package/dist/type-theory/hott/index.d.ts.map +1 -0
- package/dist/type-theory/hott/index.js +77 -0
- package/dist/type-theory/hott/index.js.map +1 -0
- package/dist/type-theory/hott/infer.d.ts +11 -0
- package/dist/type-theory/hott/infer.d.ts.map +1 -0
- package/dist/type-theory/hott/infer.js +465 -0
- package/dist/type-theory/hott/infer.js.map +1 -0
- package/dist/type-theory/hott/normalize.d.ts +5 -0
- package/dist/type-theory/hott/normalize.d.ts.map +1 -0
- package/dist/type-theory/hott/normalize.js +240 -0
- package/dist/type-theory/hott/normalize.js.map +1 -0
- package/dist/type-theory/hott/path-algebra.d.ts +25 -0
- package/dist/type-theory/hott/path-algebra.d.ts.map +1 -0
- package/dist/type-theory/hott/path-algebra.js +67 -0
- package/dist/type-theory/hott/path-algebra.js.map +1 -0
- package/dist/type-theory/hott/substitute.d.ts +3 -0
- package/dist/type-theory/hott/substitute.d.ts.map +1 -0
- package/dist/type-theory/hott/substitute.js +131 -0
- package/dist/type-theory/hott/substitute.js.map +1 -0
- package/dist/type-theory/hott/types.d.ts +126 -0
- package/dist/type-theory/hott/types.d.ts.map +1 -0
- package/dist/type-theory/hott/types.js +346 -0
- package/dist/type-theory/hott/types.js.map +1 -0
- package/dist/type-theory/lambda-calc/church.d.ts.map +1 -0
- package/dist/type-theory/lambda-calc/church.js.map +1 -0
- package/dist/type-theory/lambda-calc/combinators.d.ts.map +1 -0
- package/dist/type-theory/lambda-calc/combinators.js.map +1 -0
- package/dist/type-theory/lambda-calc/index.d.ts.map +1 -0
- package/dist/type-theory/lambda-calc/index.js.map +1 -0
- package/dist/type-theory/lambda-calc/reduce.d.ts.map +1 -0
- package/dist/type-theory/lambda-calc/reduce.js.map +1 -0
- package/dist/type-theory/lambda-calc/substitution.d.ts.map +1 -0
- package/dist/type-theory/lambda-calc/substitution.js.map +1 -0
- package/dist/type-theory/lambda-calc/types.d.ts.map +1 -0
- package/dist/type-theory/lambda-calc/types.js.map +1 -0
- package/dist/type-theory/mltt/equality.d.ts.map +1 -0
- package/dist/type-theory/mltt/equality.js.map +1 -0
- package/dist/type-theory/mltt/index.d.ts.map +1 -0
- package/dist/type-theory/mltt/index.js.map +1 -0
- package/dist/type-theory/mltt/infer.d.ts.map +1 -0
- package/dist/type-theory/mltt/infer.js.map +1 -0
- package/dist/type-theory/mltt/normalize.d.ts.map +1 -0
- package/dist/type-theory/mltt/normalize.js.map +1 -0
- package/dist/type-theory/mltt/substitute.d.ts.map +1 -0
- package/dist/type-theory/mltt/substitute.js.map +1 -0
- package/dist/type-theory/mltt/types.d.ts.map +1 -0
- package/dist/type-theory/mltt/types.js.map +1 -0
- package/dist/type-theory/nbe/index.d.ts.map +1 -0
- package/dist/type-theory/nbe/index.js.map +1 -0
- package/dist/type-theory/nbe/nbe.d.ts.map +1 -0
- package/dist/type-theory/nbe/nbe.js.map +1 -0
- package/dist/type-theory/nbe/types.d.ts.map +1 -0
- package/dist/type-theory/nbe/types.js.map +1 -0
- package/dist/type-theory/refinement-types/checker.d.ts.map +1 -0
- package/dist/type-theory/refinement-types/checker.js.map +1 -0
- package/dist/type-theory/refinement-types/index.d.ts.map +1 -0
- package/dist/type-theory/refinement-types/index.js.map +1 -0
- package/dist/type-theory/refinement-types/predicate.d.ts.map +1 -0
- package/dist/type-theory/refinement-types/predicate.js.map +1 -0
- package/dist/type-theory/refinement-types/solver.d.ts.map +1 -0
- package/dist/type-theory/refinement-types/solver.js.map +1 -0
- package/dist/type-theory/refinement-types/subtype.d.ts.map +1 -0
- package/dist/type-theory/refinement-types/subtype.js.map +1 -0
- package/dist/type-theory/refinement-types/types.d.ts.map +1 -0
- package/dist/type-theory/refinement-types/types.js.map +1 -0
- package/dist/type-theory/system-f/index.d.ts.map +1 -0
- package/dist/type-theory/system-f/index.js.map +1 -0
- package/dist/type-theory/system-f/infer.d.ts.map +1 -0
- package/dist/type-theory/system-f/infer.js.map +1 -0
- package/dist/type-theory/system-f/reduce.d.ts.map +1 -0
- package/dist/type-theory/system-f/reduce.js.map +1 -0
- package/dist/type-theory/system-f/types.d.ts.map +1 -0
- package/dist/type-theory/system-f/types.js.map +1 -0
- package/package.json +7 -3
- package/dist/argumentation/dot.d.ts.map +0 -1
- package/dist/argumentation/dot.js.map +0 -1
- package/dist/argumentation/extensions.d.ts.map +0 -1
- package/dist/argumentation/extensions.js.map +0 -1
- package/dist/argumentation/framework.d.ts.map +0 -1
- package/dist/argumentation/framework.js.map +0 -1
- package/dist/argumentation/index.d.ts.map +0 -1
- package/dist/argumentation/index.js.map +0 -1
- package/dist/argumentation/types.d.ts.map +0 -1
- package/dist/argumentation/types.js.map +0 -1
- package/dist/bdd/index.d.ts.map +0 -1
- package/dist/bdd/index.js.map +0 -1
- package/dist/bdd/manager.d.ts.map +0 -1
- package/dist/bdd/manager.js.map +0 -1
- package/dist/bdd/types.d.ts.map +0 -1
- package/dist/bdd/types.js.map +0 -1
- package/dist/belief-revision/agm.d.ts.map +0 -1
- package/dist/belief-revision/agm.js.map +0 -1
- package/dist/belief-revision/index.d.ts.map +0 -1
- package/dist/belief-revision/index.js.map +0 -1
- package/dist/belief-revision/parser.d.ts.map +0 -1
- package/dist/belief-revision/parser.js.map +0 -1
- package/dist/belief-revision/sat.d.ts.map +0 -1
- package/dist/belief-revision/sat.js.map +0 -1
- package/dist/belief-revision/types.d.ts.map +0 -1
- package/dist/belief-revision/types.js.map +0 -1
- package/dist/citation-reasoning/derive.d.ts.map +0 -1
- package/dist/citation-reasoning/derive.js.map +0 -1
- package/dist/citation-reasoning/index.d.ts.map +0 -1
- package/dist/citation-reasoning/index.js.map +0 -1
- package/dist/citation-reasoning/types.d.ts.map +0 -1
- package/dist/citation-reasoning/types.js.map +0 -1
- package/dist/coinduction/index.d.ts.map +0 -1
- package/dist/coinduction/index.js.map +0 -1
- package/dist/combinators-ski/abstract.d.ts.map +0 -1
- package/dist/combinators-ski/abstract.js.map +0 -1
- package/dist/combinators-ski/index.d.ts.map +0 -1
- package/dist/combinators-ski/index.js.map +0 -1
- package/dist/combinators-ski/reduce.d.ts.map +0 -1
- package/dist/combinators-ski/reduce.js.map +0 -1
- package/dist/combinators-ski/types.d.ts.map +0 -1
- package/dist/combinators-ski/types.js.map +0 -1
- package/dist/constructive-reals/index.d.ts.map +0 -1
- package/dist/constructive-reals/index.js.map +0 -1
- package/dist/curry-howard/index.d.ts.map +0 -1
- package/dist/curry-howard/index.js.map +0 -1
- package/dist/curry-howard/infer.d.ts.map +0 -1
- package/dist/curry-howard/infer.js.map +0 -1
- package/dist/curry-howard/proof.d.ts.map +0 -1
- package/dist/curry-howard/proof.js.map +0 -1
- package/dist/curry-howard/reduce.d.ts.map +0 -1
- package/dist/curry-howard/reduce.js.map +0 -1
- package/dist/curry-howard/types.d.ts.map +0 -1
- package/dist/curry-howard/types.js.map +0 -1
- package/dist/educational/checker.d.ts.map +0 -1
- package/dist/educational/checker.js +0 -244
- package/dist/educational/checker.js.map +0 -1
- package/dist/educational/generator.d.ts.map +0 -1
- package/dist/educational/generator.js.map +0 -1
- package/dist/educational/index.d.ts.map +0 -1
- package/dist/educational/index.js.map +0 -1
- package/dist/educational/normalize.d.ts.map +0 -1
- package/dist/educational/normalize.js.map +0 -1
- package/dist/educational/rng.d.ts.map +0 -1
- package/dist/educational/rng.js.map +0 -1
- package/dist/educational/templates.d.ts.map +0 -1
- package/dist/educational/templates.js.map +0 -1
- package/dist/educational/types.d.ts.map +0 -1
- package/dist/educational/types.js.map +0 -1
- package/dist/exporters/coq/index.d.ts +0 -35
- package/dist/exporters/coq/index.d.ts.map +0 -1
- package/dist/exporters/coq/index.js.map +0 -1
- package/dist/fol-prover/cnf.d.ts +0 -10
- package/dist/fol-prover/cnf.d.ts.map +0 -1
- package/dist/fol-prover/cnf.js.map +0 -1
- package/dist/fol-prover/index.d.ts.map +0 -1
- package/dist/fol-prover/index.js.map +0 -1
- package/dist/fol-prover/prove.d.ts +0 -4
- package/dist/fol-prover/prove.d.ts.map +0 -1
- package/dist/fol-prover/prove.js.map +0 -1
- package/dist/fol-prover/resolve.d.ts.map +0 -1
- package/dist/fol-prover/resolve.js.map +0 -1
- package/dist/fol-prover/types.d.ts.map +0 -1
- package/dist/fol-prover/types.js.map +0 -1
- package/dist/fol-prover/unify.d.ts.map +0 -1
- package/dist/fol-prover/unify.js.map +0 -1
- package/dist/fol-prover-equality/demodulate.d.ts.map +0 -1
- package/dist/fol-prover-equality/demodulate.js.map +0 -1
- package/dist/fol-prover-equality/index.d.ts.map +0 -1
- package/dist/fol-prover-equality/index.js.map +0 -1
- package/dist/fol-prover-equality/paramodulate.d.ts.map +0 -1
- package/dist/fol-prover-equality/paramodulate.js.map +0 -1
- package/dist/fol-prover-equality/prove.d.ts +0 -7
- package/dist/fol-prover-equality/prove.d.ts.map +0 -1
- package/dist/fol-prover-equality/prove.js.map +0 -1
- package/dist/fol-prover-equality/term-utils.d.ts.map +0 -1
- package/dist/fol-prover-equality/term-utils.js.map +0 -1
- package/dist/fol-prover-equality/types.d.ts.map +0 -1
- package/dist/fol-prover-equality/types.js.map +0 -1
- package/dist/game-semantics/convert.d.ts +0 -4
- package/dist/game-semantics/convert.d.ts.map +0 -1
- package/dist/game-semantics/convert.js +0 -28
- package/dist/game-semantics/convert.js.map +0 -1
- package/dist/game-semantics/index.d.ts.map +0 -1
- package/dist/game-semantics/index.js.map +0 -1
- package/dist/game-semantics/strategy.d.ts.map +0 -1
- package/dist/game-semantics/strategy.js +0 -336
- package/dist/game-semantics/strategy.js.map +0 -1
- package/dist/game-semantics/types.d.ts.map +0 -1
- package/dist/game-semantics/types.js.map +0 -1
- package/dist/game-theory/common-games.d.ts.map +0 -1
- package/dist/game-theory/common-games.js.map +0 -1
- package/dist/game-theory/dominance.d.ts.map +0 -1
- package/dist/game-theory/dominance.js.map +0 -1
- package/dist/game-theory/index.d.ts.map +0 -1
- package/dist/game-theory/index.js.map +0 -1
- package/dist/game-theory/lemke-howson.d.ts.map +0 -1
- package/dist/game-theory/lemke-howson.js.map +0 -1
- package/dist/game-theory/linalg.d.ts.map +0 -1
- package/dist/game-theory/linalg.js.map +0 -1
- package/dist/game-theory/pure-nash.d.ts.map +0 -1
- package/dist/game-theory/pure-nash.js.map +0 -1
- package/dist/game-theory/support-enumeration.d.ts.map +0 -1
- package/dist/game-theory/support-enumeration.js.map +0 -1
- package/dist/game-theory/types.d.ts.map +0 -1
- package/dist/game-theory/types.js.map +0 -1
- package/dist/higher-order-unify/index.d.ts.map +0 -1
- package/dist/higher-order-unify/index.js.map +0 -1
- package/dist/higher-order-unify/normalize.d.ts.map +0 -1
- package/dist/higher-order-unify/normalize.js.map +0 -1
- package/dist/higher-order-unify/pattern.d.ts.map +0 -1
- package/dist/higher-order-unify/pattern.js.map +0 -1
- package/dist/higher-order-unify/types.d.ts.map +0 -1
- package/dist/higher-order-unify/types.js.map +0 -1
- package/dist/higher-order-unify/unify.d.ts.map +0 -1
- package/dist/higher-order-unify/unify.js.map +0 -1
- package/dist/hyperreal/index.d.ts.map +0 -1
- package/dist/hyperreal/index.js.map +0 -1
- package/dist/information-theory/index.d.ts.map +0 -1
- package/dist/information-theory/index.js.map +0 -1
- package/dist/lambda-calc/church.d.ts.map +0 -1
- package/dist/lambda-calc/church.js.map +0 -1
- package/dist/lambda-calc/combinators.d.ts.map +0 -1
- package/dist/lambda-calc/combinators.js.map +0 -1
- package/dist/lambda-calc/index.d.ts.map +0 -1
- package/dist/lambda-calc/index.js.map +0 -1
- package/dist/lambda-calc/reduce.d.ts.map +0 -1
- package/dist/lambda-calc/reduce.js.map +0 -1
- package/dist/lambda-calc/substitution.d.ts.map +0 -1
- package/dist/lambda-calc/substitution.js.map +0 -1
- package/dist/lambda-calc/types.d.ts.map +0 -1
- package/dist/lambda-calc/types.js.map +0 -1
- package/dist/lsp/index.d.ts.map +0 -1
- package/dist/lsp/index.js.map +0 -1
- package/dist/lsp/protocol.d.ts.map +0 -1
- package/dist/lsp/protocol.js.map +0 -1
- package/dist/lsp/server.d.ts.map +0 -1
- package/dist/lsp/server.js +0 -529
- package/dist/lsp/server.js.map +0 -1
- package/dist/lsp/types.d.ts.map +0 -1
- package/dist/lsp/types.js.map +0 -1
- package/dist/mltt/equality.d.ts.map +0 -1
- package/dist/mltt/equality.js.map +0 -1
- package/dist/mltt/index.d.ts.map +0 -1
- package/dist/mltt/index.js.map +0 -1
- package/dist/mltt/infer.d.ts.map +0 -1
- package/dist/mltt/infer.js.map +0 -1
- package/dist/mltt/normalize.d.ts.map +0 -1
- package/dist/mltt/normalize.js.map +0 -1
- package/dist/mltt/substitute.d.ts.map +0 -1
- package/dist/mltt/substitute.js.map +0 -1
- package/dist/mltt/types.d.ts.map +0 -1
- package/dist/mltt/types.js.map +0 -1
- package/dist/nbe/index.d.ts.map +0 -1
- package/dist/nbe/index.js.map +0 -1
- package/dist/nbe/nbe.d.ts.map +0 -1
- package/dist/nbe/nbe.js.map +0 -1
- package/dist/nbe/types.d.ts.map +0 -1
- package/dist/nbe/types.js.map +0 -1
- package/dist/optimization/branch-and-bound.d.ts.map +0 -1
- package/dist/optimization/branch-and-bound.js.map +0 -1
- package/dist/optimization/index.d.ts.map +0 -1
- package/dist/optimization/index.js.map +0 -1
- package/dist/optimization/simplex.d.ts.map +0 -1
- package/dist/optimization/simplex.js.map +0 -1
- package/dist/optimization/standard-form.d.ts.map +0 -1
- package/dist/optimization/standard-form.js.map +0 -1
- package/dist/optimization/types.d.ts.map +0 -1
- package/dist/optimization/types.js.map +0 -1
- package/dist/plugin-system/demo-min-logic.d.ts.map +0 -1
- package/dist/plugin-system/demo-min-logic.js.map +0 -1
- package/dist/plugin-system/errors.d.ts.map +0 -1
- package/dist/plugin-system/errors.js.map +0 -1
- package/dist/plugin-system/index.d.ts.map +0 -1
- package/dist/plugin-system/index.js.map +0 -1
- package/dist/plugin-system/registry.d.ts.map +0 -1
- package/dist/plugin-system/registry.js.map +0 -1
- package/dist/plugin-system/types.d.ts +0 -23
- package/dist/plugin-system/types.d.ts.map +0 -1
- package/dist/plugin-system/types.js.map +0 -1
- package/dist/plugin-system/validate.d.ts.map +0 -1
- package/dist/plugin-system/validate.js.map +0 -1
- package/dist/profile-bridge/index.d.ts +0 -64
- package/dist/profile-bridge/index.d.ts.map +0 -1
- package/dist/profile-bridge/index.js.map +0 -1
- package/dist/profiles/aristotelian/syllogistic.d.ts +0 -14
- package/dist/profiles/aristotelian/syllogistic.d.ts.map +0 -1
- package/dist/profiles/aristotelian/syllogistic.js.map +0 -1
- package/dist/profiles/arithmetic/index.d.ts +0 -15
- package/dist/profiles/arithmetic/index.d.ts.map +0 -1
- package/dist/profiles/arithmetic/index.js.map +0 -1
- package/dist/profiles/classical/cdcl.d.ts +0 -34
- package/dist/profiles/classical/cdcl.d.ts.map +0 -1
- package/dist/profiles/classical/cdcl.js.map +0 -1
- package/dist/profiles/classical/dpll.d.ts +0 -20
- package/dist/profiles/classical/dpll.d.ts.map +0 -1
- package/dist/profiles/classical/dpll.js.map +0 -1
- package/dist/profiles/classical/first-order.d.ts +0 -20
- package/dist/profiles/classical/first-order.d.ts.map +0 -1
- package/dist/profiles/classical/first-order.js.map +0 -1
- package/dist/profiles/classical/parallel-sat.d.ts.map +0 -1
- package/dist/profiles/classical/parallel-sat.js.map +0 -1
- package/dist/profiles/classical/propositional.d.ts +0 -30
- package/dist/profiles/classical/propositional.d.ts.map +0 -1
- package/dist/profiles/classical/propositional.js +0 -2868
- package/dist/profiles/classical/propositional.js.map +0 -1
- package/dist/profiles/classical/sat-preprocess.d.ts.map +0 -1
- package/dist/profiles/classical/sat-preprocess.js.map +0 -1
- package/dist/profiles/classical/undecidability-detector.d.ts +0 -13
- package/dist/profiles/classical/undecidability-detector.d.ts.map +0 -1
- package/dist/profiles/classical/undecidability-detector.js.map +0 -1
- package/dist/profiles/ctl/check.d.ts.map +0 -1
- package/dist/profiles/ctl/check.js.map +0 -1
- package/dist/profiles/ctl/index.d.ts.map +0 -1
- package/dist/profiles/ctl/index.js.map +0 -1
- package/dist/profiles/ctl/types.d.ts.map +0 -1
- package/dist/profiles/ctl/types.js.map +0 -1
- package/dist/profiles/ctl/witness.d.ts.map +0 -1
- package/dist/profiles/ctl/witness.js.map +0 -1
- package/dist/profiles/default-logic/entailment.d.ts.map +0 -1
- package/dist/profiles/default-logic/entailment.js.map +0 -1
- package/dist/profiles/default-logic/extensions.d.ts.map +0 -1
- package/dist/profiles/default-logic/extensions.js.map +0 -1
- package/dist/profiles/default-logic/index.d.ts.map +0 -1
- package/dist/profiles/default-logic/index.js.map +0 -1
- package/dist/profiles/default-logic/types.d.ts.map +0 -1
- package/dist/profiles/default-logic/types.js.map +0 -1
- package/dist/profiles/deontic/standard.d.ts +0 -10
- package/dist/profiles/deontic/standard.d.ts.map +0 -1
- package/dist/profiles/deontic/standard.js.map +0 -1
- package/dist/profiles/description-logic/index.d.ts.map +0 -1
- package/dist/profiles/description-logic/index.js.map +0 -1
- package/dist/profiles/description-logic/nnf.d.ts.map +0 -1
- package/dist/profiles/description-logic/nnf.js.map +0 -1
- package/dist/profiles/description-logic/tableau.d.ts.map +0 -1
- package/dist/profiles/description-logic/tableau.js.map +0 -1
- package/dist/profiles/description-logic/types.d.ts.map +0 -1
- package/dist/profiles/description-logic/types.js.map +0 -1
- package/dist/profiles/epistemic/s5.d.ts +0 -10
- package/dist/profiles/epistemic/s5.d.ts.map +0 -1
- package/dist/profiles/epistemic/s5.js.map +0 -1
- package/dist/profiles/hol/connectives.d.ts.map +0 -1
- package/dist/profiles/hol/connectives.js.map +0 -1
- package/dist/profiles/hol/index.d.ts.map +0 -1
- package/dist/profiles/hol/index.js.map +0 -1
- package/dist/profiles/hol/rules.d.ts.map +0 -1
- package/dist/profiles/hol/rules.js.map +0 -1
- package/dist/profiles/hol/term.d.ts.map +0 -1
- package/dist/profiles/hol/term.js.map +0 -1
- package/dist/profiles/hol/type-system.d.ts.map +0 -1
- package/dist/profiles/hol/type-system.js.map +0 -1
- package/dist/profiles/hol/types.d.ts.map +0 -1
- package/dist/profiles/hol/types.js.map +0 -1
- package/dist/profiles/hybrid-logic/index.d.ts.map +0 -1
- package/dist/profiles/hybrid-logic/index.js.map +0 -1
- package/dist/profiles/hybrid-logic/sat.d.ts.map +0 -1
- package/dist/profiles/hybrid-logic/sat.js.map +0 -1
- package/dist/profiles/hybrid-logic/semantics.d.ts.map +0 -1
- package/dist/profiles/hybrid-logic/semantics.js.map +0 -1
- package/dist/profiles/hybrid-logic/types.d.ts.map +0 -1
- package/dist/profiles/hybrid-logic/types.js.map +0 -1
- package/dist/profiles/index.d.ts.map +0 -1
- package/dist/profiles/index.js.map +0 -1
- package/dist/profiles/interface.d.ts +0 -11
- package/dist/profiles/interface.d.ts.map +0 -1
- package/dist/profiles/interface.js.map +0 -1
- package/dist/profiles/intuitionistic/propositional.d.ts +0 -14
- package/dist/profiles/intuitionistic/propositional.d.ts.map +0 -1
- package/dist/profiles/intuitionistic/propositional.js.map +0 -1
- package/dist/profiles/intuitionistic-nj/formula.d.ts.map +0 -1
- package/dist/profiles/intuitionistic-nj/formula.js.map +0 -1
- package/dist/profiles/intuitionistic-nj/index.d.ts.map +0 -1
- package/dist/profiles/intuitionistic-nj/index.js.map +0 -1
- package/dist/profiles/intuitionistic-nj/kripke.d.ts.map +0 -1
- package/dist/profiles/intuitionistic-nj/kripke.js.map +0 -1
- package/dist/profiles/intuitionistic-nj/prover.d.ts.map +0 -1
- package/dist/profiles/intuitionistic-nj/prover.js.map +0 -1
- package/dist/profiles/intuitionistic-nj/types.d.ts.map +0 -1
- package/dist/profiles/intuitionistic-nj/types.js.map +0 -1
- package/dist/profiles/ltl-sat/index.d.ts.map +0 -1
- package/dist/profiles/ltl-sat/index.js.map +0 -1
- package/dist/profiles/ltl-sat/sat.d.ts.map +0 -1
- package/dist/profiles/ltl-sat/sat.js.map +0 -1
- package/dist/profiles/ltl-sat/tableau.d.ts.map +0 -1
- package/dist/profiles/ltl-sat/tableau.js.map +0 -1
- package/dist/profiles/ltl-sat/types.d.ts.map +0 -1
- package/dist/profiles/ltl-sat/types.js.map +0 -1
- package/dist/profiles/many-valued/index.d.ts.map +0 -1
- package/dist/profiles/many-valued/index.js.map +0 -1
- package/dist/profiles/modal/k.d.ts +0 -10
- package/dist/profiles/modal/k.d.ts.map +0 -1
- package/dist/profiles/modal/k.js.map +0 -1
- package/dist/profiles/modal-frame-axioms/formula.d.ts.map +0 -1
- package/dist/profiles/modal-frame-axioms/formula.js.map +0 -1
- package/dist/profiles/modal-frame-axioms/index.d.ts.map +0 -1
- package/dist/profiles/modal-frame-axioms/index.js.map +0 -1
- package/dist/profiles/modal-frame-axioms/systems.d.ts.map +0 -1
- package/dist/profiles/modal-frame-axioms/systems.js.map +0 -1
- package/dist/profiles/modal-frame-axioms/tableau.d.ts.map +0 -1
- package/dist/profiles/modal-frame-axioms/tableau.js.map +0 -1
- package/dist/profiles/modal-frame-axioms/types.d.ts.map +0 -1
- package/dist/profiles/modal-frame-axioms/types.js.map +0 -1
- package/dist/profiles/mu-calculus/check.d.ts.map +0 -1
- package/dist/profiles/mu-calculus/check.js.map +0 -1
- package/dist/profiles/mu-calculus/ctl-translate.d.ts.map +0 -1
- package/dist/profiles/mu-calculus/ctl-translate.js.map +0 -1
- package/dist/profiles/mu-calculus/index.d.ts.map +0 -1
- package/dist/profiles/mu-calculus/index.js.map +0 -1
- package/dist/profiles/mu-calculus/types.d.ts.map +0 -1
- package/dist/profiles/mu-calculus/types.js.map +0 -1
- package/dist/profiles/mu-calculus/wellformed.d.ts.map +0 -1
- package/dist/profiles/mu-calculus/wellformed.js.map +0 -1
- package/dist/profiles/paraconsistent/belnap.d.ts +0 -28
- package/dist/profiles/paraconsistent/belnap.d.ts.map +0 -1
- package/dist/profiles/paraconsistent/belnap.js.map +0 -1
- package/dist/profiles/probabilistic/basic.d.ts +0 -18
- package/dist/profiles/probabilistic/basic.d.ts.map +0 -1
- package/dist/profiles/probabilistic/basic.js.map +0 -1
- package/dist/profiles/sequent-g3/index.d.ts.map +0 -1
- package/dist/profiles/sequent-g3/index.js.map +0 -1
- package/dist/profiles/sequent-g3/latex.d.ts.map +0 -1
- package/dist/profiles/sequent-g3/latex.js.map +0 -1
- package/dist/profiles/sequent-g3/normalize.d.ts +0 -15
- package/dist/profiles/sequent-g3/normalize.d.ts.map +0 -1
- package/dist/profiles/sequent-g3/normalize.js.map +0 -1
- package/dist/profiles/sequent-g3/prover.d.ts +0 -16
- package/dist/profiles/sequent-g3/prover.d.ts.map +0 -1
- package/dist/profiles/sequent-g3/prover.js.map +0 -1
- package/dist/profiles/sequent-g3/types.d.ts +0 -30
- package/dist/profiles/sequent-g3/types.d.ts.map +0 -1
- package/dist/profiles/sequent-g3/types.js.map +0 -1
- package/dist/profiles/sequent-lk/cut-elimination.d.ts.map +0 -1
- package/dist/profiles/sequent-lk/cut-elimination.js.map +0 -1
- package/dist/profiles/sequent-lk/index.d.ts.map +0 -1
- package/dist/profiles/sequent-lk/index.js.map +0 -1
- package/dist/profiles/sequent-lk/prover.d.ts.map +0 -1
- package/dist/profiles/sequent-lk/prover.js.map +0 -1
- package/dist/profiles/sequent-lk/types.d.ts.map +0 -1
- package/dist/profiles/sequent-lk/types.js.map +0 -1
- package/dist/profiles/sequent-lk/util.d.ts.map +0 -1
- package/dist/profiles/sequent-lk/util.js.map +0 -1
- package/dist/profiles/shared/base-profile.d.ts +0 -22
- package/dist/profiles/shared/base-profile.d.ts.map +0 -1
- package/dist/profiles/shared/base-profile.js +0 -219
- package/dist/profiles/shared/base-profile.js.map +0 -1
- package/dist/profiles/shared/tableau-engine.d.ts +0 -73
- package/dist/profiles/shared/tableau-engine.d.ts.map +0 -1
- package/dist/profiles/shared/tableau-engine.js +0 -684
- package/dist/profiles/shared/tableau-engine.js.map +0 -1
- package/dist/profiles/substructural/index.d.ts.map +0 -1
- package/dist/profiles/substructural/index.js.map +0 -1
- package/dist/profiles/substructural/prover.d.ts.map +0 -1
- package/dist/profiles/substructural/prover.js.map +0 -1
- package/dist/profiles/substructural/types.d.ts.map +0 -1
- package/dist/profiles/substructural/types.js.map +0 -1
- package/dist/profiles/temporal/ltl.d.ts +0 -12
- package/dist/profiles/temporal/ltl.d.ts.map +0 -1
- package/dist/profiles/temporal/ltl.js.map +0 -1
- package/dist/proof-exchange/index.d.ts +0 -24
- package/dist/proof-exchange/index.d.ts.map +0 -1
- package/dist/proof-exchange/index.js.map +0 -1
- package/dist/proof-nets/construct.d.ts.map +0 -1
- package/dist/proof-nets/construct.js.map +0 -1
- package/dist/proof-nets/correctness.d.ts.map +0 -1
- package/dist/proof-nets/correctness.js.map +0 -1
- package/dist/proof-nets/cut-elim.d.ts.map +0 -1
- package/dist/proof-nets/cut-elim.js.map +0 -1
- package/dist/proof-nets/index.d.ts.map +0 -1
- package/dist/proof-nets/index.js.map +0 -1
- package/dist/proof-nets/types.d.ts.map +0 -1
- package/dist/proof-nets/types.js.map +0 -1
- package/dist/refinement-types/checker.d.ts.map +0 -1
- package/dist/refinement-types/checker.js.map +0 -1
- package/dist/refinement-types/index.d.ts.map +0 -1
- package/dist/refinement-types/index.js.map +0 -1
- package/dist/refinement-types/predicate.d.ts.map +0 -1
- package/dist/refinement-types/predicate.js.map +0 -1
- package/dist/refinement-types/solver.d.ts.map +0 -1
- package/dist/refinement-types/solver.js.map +0 -1
- package/dist/refinement-types/subtype.d.ts.map +0 -1
- package/dist/refinement-types/subtype.js.map +0 -1
- package/dist/refinement-types/types.d.ts.map +0 -1
- package/dist/refinement-types/types.js.map +0 -1
- package/dist/runtime/abduction/entails.d.ts.map +0 -1
- package/dist/runtime/abduction/entails.js.map +0 -1
- package/dist/runtime/abduction/find.d.ts.map +0 -1
- package/dist/runtime/abduction/find.js.map +0 -1
- package/dist/runtime/abduction/index.d.ts.map +0 -1
- package/dist/runtime/abduction/index.js.map +0 -1
- package/dist/runtime/abduction/types.d.ts.map +0 -1
- package/dist/runtime/abduction/types.js.map +0 -1
- package/dist/runtime/bayesian/factor.d.ts.map +0 -1
- package/dist/runtime/bayesian/factor.js.map +0 -1
- package/dist/runtime/bayesian/index.d.ts.map +0 -1
- package/dist/runtime/bayesian/index.js.map +0 -1
- package/dist/runtime/bayesian/inference.d.ts.map +0 -1
- package/dist/runtime/bayesian/inference.js.map +0 -1
- package/dist/runtime/bayesian/types.d.ts.map +0 -1
- package/dist/runtime/bayesian/types.js.map +0 -1
- package/dist/runtime/csp/ac3.d.ts.map +0 -1
- package/dist/runtime/csp/ac3.js.map +0 -1
- package/dist/runtime/csp/backtrack.d.ts.map +0 -1
- package/dist/runtime/csp/backtrack.js.map +0 -1
- package/dist/runtime/csp/builtins.d.ts.map +0 -1
- package/dist/runtime/csp/builtins.js.map +0 -1
- package/dist/runtime/csp/index.d.ts.map +0 -1
- package/dist/runtime/csp/index.js.map +0 -1
- package/dist/runtime/csp/types.d.ts.map +0 -1
- package/dist/runtime/csp/types.js.map +0 -1
- package/dist/runtime/fca/context.d.ts.map +0 -1
- package/dist/runtime/fca/context.js.map +0 -1
- package/dist/runtime/fca/implications.d.ts.map +0 -1
- package/dist/runtime/fca/implications.js.map +0 -1
- package/dist/runtime/fca/index.d.ts.map +0 -1
- package/dist/runtime/fca/index.js.map +0 -1
- package/dist/runtime/fca/lattice.d.ts.map +0 -1
- package/dist/runtime/fca/lattice.js.map +0 -1
- package/dist/runtime/fca/next-closure.d.ts.map +0 -1
- package/dist/runtime/fca/next-closure.js.map +0 -1
- package/dist/runtime/fca/types.d.ts.map +0 -1
- package/dist/runtime/fca/types.js.map +0 -1
- package/dist/runtime/markov-logic/grounding.d.ts.map +0 -1
- package/dist/runtime/markov-logic/grounding.js.map +0 -1
- package/dist/runtime/markov-logic/index.d.ts.map +0 -1
- package/dist/runtime/markov-logic/index.js.map +0 -1
- package/dist/runtime/markov-logic/inference.d.ts.map +0 -1
- package/dist/runtime/markov-logic/inference.js.map +0 -1
- package/dist/runtime/markov-logic/parser.d.ts.map +0 -1
- package/dist/runtime/markov-logic/parser.js.map +0 -1
- package/dist/runtime/markov-logic/types.d.ts.map +0 -1
- package/dist/runtime/markov-logic/types.js.map +0 -1
- package/dist/runtime/mus/extract.d.ts.map +0 -1
- package/dist/runtime/mus/extract.js.map +0 -1
- package/dist/runtime/mus/index.d.ts.map +0 -1
- package/dist/runtime/mus/index.js.map +0 -1
- package/dist/runtime/mus/quickxplain.d.ts.map +0 -1
- package/dist/runtime/mus/quickxplain.js.map +0 -1
- package/dist/runtime/mus/types.d.ts.map +0 -1
- package/dist/runtime/mus/types.js.map +0 -1
- package/dist/runtime/planning/astar.d.ts.map +0 -1
- package/dist/runtime/planning/astar.js.map +0 -1
- package/dist/runtime/planning/bfs.d.ts.map +0 -1
- package/dist/runtime/planning/bfs.js.map +0 -1
- package/dist/runtime/planning/ground.d.ts.map +0 -1
- package/dist/runtime/planning/ground.js.map +0 -1
- package/dist/runtime/planning/heuristic.d.ts.map +0 -1
- package/dist/runtime/planning/heuristic.js.map +0 -1
- package/dist/runtime/planning/index.d.ts.map +0 -1
- package/dist/runtime/planning/index.js.map +0 -1
- package/dist/runtime/planning/types.d.ts.map +0 -1
- package/dist/runtime/planning/types.js.map +0 -1
- package/dist/runtime/proof-minify/index.d.ts.map +0 -1
- package/dist/runtime/proof-minify/index.js.map +0 -1
- package/dist/runtime/proof-minify/minify.d.ts.map +0 -1
- package/dist/runtime/proof-minify/minify.js.map +0 -1
- package/dist/runtime/proof-minify/types.d.ts.map +0 -1
- package/dist/runtime/proof-minify/types.js.map +0 -1
- package/dist/runtime/smt/index.d.ts.map +0 -1
- package/dist/runtime/smt/index.js.map +0 -1
- package/dist/runtime/smt/mock-backend.d.ts.map +0 -1
- package/dist/runtime/smt/mock-backend.js.map +0 -1
- package/dist/runtime/smt/serializer.d.ts.map +0 -1
- package/dist/runtime/smt/serializer.js.map +0 -1
- package/dist/runtime/smt/subprocess-backend.d.ts.map +0 -1
- package/dist/runtime/smt/subprocess-backend.js.map +0 -1
- package/dist/runtime/smt/types.d.ts.map +0 -1
- package/dist/runtime/smt/types.js.map +0 -1
- package/dist/smt-lib/ast.d.ts.map +0 -1
- package/dist/smt-lib/ast.js.map +0 -1
- package/dist/smt-lib/emitter.d.ts.map +0 -1
- package/dist/smt-lib/emitter.js.map +0 -1
- package/dist/smt-lib/index.d.ts.map +0 -1
- package/dist/smt-lib/index.js.map +0 -1
- package/dist/smt-lib/parser.d.ts.map +0 -1
- package/dist/smt-lib/parser.js.map +0 -1
- package/dist/smt-lib/tokenizer.d.ts.map +0 -1
- package/dist/smt-lib/tokenizer.js.map +0 -1
- package/dist/system-f/index.d.ts.map +0 -1
- package/dist/system-f/index.js.map +0 -1
- package/dist/system-f/infer.d.ts.map +0 -1
- package/dist/system-f/infer.js.map +0 -1
- package/dist/system-f/reduce.d.ts.map +0 -1
- package/dist/system-f/reduce.js.map +0 -1
- package/dist/system-f/types.d.ts.map +0 -1
- package/dist/system-f/types.js.map +0 -1
- package/dist/tableau-framework/TableauProver.d.ts.map +0 -1
- package/dist/tableau-framework/TableauProver.js.map +0 -1
- package/dist/tableau-framework/index.d.ts.map +0 -1
- package/dist/tableau-framework/index.js.map +0 -1
- package/dist/tableau-framework/propositional.d.ts.map +0 -1
- package/dist/tableau-framework/propositional.js.map +0 -1
- package/dist/tableau-framework/types.d.ts.map +0 -1
- package/dist/tableau-framework/types.js.map +0 -1
- package/dist/tests/abduction/abduction.test.d.ts.map +0 -1
- package/dist/tests/abduction/abduction.test.js +0 -380
- package/dist/tests/abduction/abduction.test.js.map +0 -1
- package/dist/tests/argumentation/dung.test.d.ts.map +0 -1
- package/dist/tests/argumentation/dung.test.js +0 -219
- package/dist/tests/argumentation/dung.test.js.map +0 -1
- package/dist/tests/bayesian/bayesian.test.d.ts.map +0 -1
- package/dist/tests/bayesian/bayesian.test.js +0 -328
- package/dist/tests/bayesian/bayesian.test.js.map +0 -1
- package/dist/tests/bdd/manager.test.d.ts.map +0 -1
- package/dist/tests/bdd/manager.test.js +0 -472
- package/dist/tests/bdd/manager.test.js.map +0 -1
- package/dist/tests/belief-revision/agm.test.d.ts.map +0 -1
- package/dist/tests/belief-revision/agm.test.js +0 -173
- package/dist/tests/belief-revision/agm.test.js.map +0 -1
- package/dist/tests/citation-reasoning/citation-reasoning.test.d.ts.map +0 -1
- package/dist/tests/citation-reasoning/citation-reasoning.test.js +0 -240
- package/dist/tests/citation-reasoning/citation-reasoning.test.js.map +0 -1
- package/dist/tests/coinduction/coinduction.test.d.ts.map +0 -1
- package/dist/tests/coinduction/coinduction.test.js +0 -217
- package/dist/tests/coinduction/coinduction.test.js.map +0 -1
- package/dist/tests/combinators-ski/combinators-ski.test.d.ts.map +0 -1
- package/dist/tests/combinators-ski/combinators-ski.test.js +0 -211
- package/dist/tests/combinators-ski/combinators-ski.test.js.map +0 -1
- package/dist/tests/constructive-reals/constructive-reals.test.d.ts.map +0 -1
- package/dist/tests/constructive-reals/constructive-reals.test.js +0 -357
- package/dist/tests/constructive-reals/constructive-reals.test.js.map +0 -1
- package/dist/tests/csp/csp.test.d.ts.map +0 -1
- package/dist/tests/csp/csp.test.js +0 -292
- package/dist/tests/csp/csp.test.js.map +0 -1
- package/dist/tests/ctl/check.test.d.ts.map +0 -1
- package/dist/tests/ctl/check.test.js +0 -337
- package/dist/tests/ctl/check.test.js.map +0 -1
- package/dist/tests/curry-howard/infer.test.d.ts.map +0 -1
- package/dist/tests/curry-howard/infer.test.js +0 -93
- package/dist/tests/curry-howard/infer.test.js.map +0 -1
- package/dist/tests/curry-howard/proof.test.d.ts.map +0 -1
- package/dist/tests/curry-howard/proof.test.js +0 -105
- package/dist/tests/curry-howard/proof.test.js.map +0 -1
- package/dist/tests/curry-howard/reduce.test.d.ts.map +0 -1
- package/dist/tests/curry-howard/reduce.test.js +0 -109
- package/dist/tests/curry-howard/reduce.test.js.map +0 -1
- package/dist/tests/default-logic/extensions.test.d.ts.map +0 -1
- package/dist/tests/default-logic/extensions.test.js +0 -323
- package/dist/tests/default-logic/extensions.test.js.map +0 -1
- package/dist/tests/description-logic/alc.test.d.ts.map +0 -1
- package/dist/tests/description-logic/alc.test.js +0 -253
- package/dist/tests/description-logic/alc.test.js.map +0 -1
- package/dist/tests/educational/checker.test.d.ts.map +0 -1
- package/dist/tests/educational/checker.test.js +0 -212
- package/dist/tests/educational/checker.test.js.map +0 -1
- package/dist/tests/educational/generator.test.d.ts.map +0 -1
- package/dist/tests/educational/generator.test.js +0 -137
- package/dist/tests/educational/generator.test.js.map +0 -1
- package/dist/tests/exporters/coq/coq-exporter.test.d.ts.map +0 -1
- package/dist/tests/exporters/coq/coq-exporter.test.js +0 -353
- package/dist/tests/exporters/coq/coq-exporter.test.js.map +0 -1
- package/dist/tests/fca/fca.test.d.ts.map +0 -1
- package/dist/tests/fca/fca.test.js +0 -317
- package/dist/tests/fca/fca.test.js.map +0 -1
- package/dist/tests/fol-prover/cnf.test.d.ts.map +0 -1
- package/dist/tests/fol-prover/cnf.test.js +0 -74
- package/dist/tests/fol-prover/cnf.test.js.map +0 -1
- package/dist/tests/fol-prover/prove.test.d.ts.map +0 -1
- package/dist/tests/fol-prover/prove.test.js +0 -106
- package/dist/tests/fol-prover/prove.test.js.map +0 -1
- package/dist/tests/fol-prover/unify.test.d.ts.map +0 -1
- package/dist/tests/fol-prover/unify.test.js +0 -66
- package/dist/tests/fol-prover/unify.test.js.map +0 -1
- package/dist/tests/fol-prover-equality/prove.test.d.ts.map +0 -1
- package/dist/tests/fol-prover-equality/prove.test.js +0 -179
- package/dist/tests/fol-prover-equality/prove.test.js.map +0 -1
- package/dist/tests/game-semantics/game-semantics.test.d.ts.map +0 -1
- package/dist/tests/game-semantics/game-semantics.test.js +0 -143
- package/dist/tests/game-semantics/game-semantics.test.js.map +0 -1
- package/dist/tests/game-theory/game-theory.test.d.ts.map +0 -1
- package/dist/tests/game-theory/game-theory.test.js +0 -252
- package/dist/tests/game-theory/game-theory.test.js.map +0 -1
- package/dist/tests/higher-order-unify/ho-unify.test.d.ts.map +0 -1
- package/dist/tests/higher-order-unify/ho-unify.test.js +0 -264
- package/dist/tests/higher-order-unify/ho-unify.test.js.map +0 -1
- package/dist/tests/hol/hol.test.d.ts.map +0 -1
- package/dist/tests/hol/hol.test.js +0 -340
- package/dist/tests/hol/hol.test.js.map +0 -1
- package/dist/tests/hybrid-logic/semantics.test.d.ts.map +0 -1
- package/dist/tests/hybrid-logic/semantics.test.js +0 -169
- package/dist/tests/hybrid-logic/semantics.test.js.map +0 -1
- package/dist/tests/hyperreal/hyperreal.test.d.ts.map +0 -1
- package/dist/tests/hyperreal/hyperreal.test.js +0 -219
- package/dist/tests/hyperreal/hyperreal.test.js.map +0 -1
- package/dist/tests/information-theory/information-theory.test.d.ts.map +0 -1
- package/dist/tests/information-theory/information-theory.test.js +0 -291
- package/dist/tests/information-theory/information-theory.test.js.map +0 -1
- package/dist/tests/intuitionistic-nj/nj.test.d.ts.map +0 -1
- package/dist/tests/intuitionistic-nj/nj.test.js +0 -216
- package/dist/tests/intuitionistic-nj/nj.test.js.map +0 -1
- package/dist/tests/lambda-calc/lambda-calc.test.d.ts.map +0 -1
- package/dist/tests/lambda-calc/lambda-calc.test.js +0 -164
- package/dist/tests/lambda-calc/lambda-calc.test.js.map +0 -1
- package/dist/tests/lsp/server.test.d.ts.map +0 -1
- package/dist/tests/lsp/server.test.js +0 -406
- package/dist/tests/lsp/server.test.js.map +0 -1
- package/dist/tests/ltl-sat/sat.test.d.ts.map +0 -1
- package/dist/tests/ltl-sat/sat.test.js +0 -160
- package/dist/tests/ltl-sat/sat.test.js.map +0 -1
- package/dist/tests/many-valued/many-valued.test.d.ts.map +0 -1
- package/dist/tests/many-valued/many-valued.test.js +0 -150
- package/dist/tests/many-valued/many-valued.test.js.map +0 -1
- package/dist/tests/markov-logic/markov-logic.test.d.ts.map +0 -1
- package/dist/tests/markov-logic/markov-logic.test.js +0 -349
- package/dist/tests/markov-logic/markov-logic.test.js.map +0 -1
- package/dist/tests/mltt/mltt.test.d.ts.map +0 -1
- package/dist/tests/mltt/mltt.test.js +0 -181
- package/dist/tests/mltt/mltt.test.js.map +0 -1
- package/dist/tests/modal-frame-axioms/frame-axioms.test.d.ts.map +0 -1
- package/dist/tests/modal-frame-axioms/frame-axioms.test.js +0 -236
- package/dist/tests/modal-frame-axioms/frame-axioms.test.js.map +0 -1
- package/dist/tests/mu-calculus/check.test.d.ts.map +0 -1
- package/dist/tests/mu-calculus/check.test.js +0 -234
- package/dist/tests/mu-calculus/check.test.js.map +0 -1
- package/dist/tests/mus/extract.test.d.ts.map +0 -1
- package/dist/tests/mus/extract.test.js +0 -352
- package/dist/tests/mus/extract.test.js.map +0 -1
- package/dist/tests/nbe/nbe.test.d.ts.map +0 -1
- package/dist/tests/nbe/nbe.test.js +0 -121
- package/dist/tests/nbe/nbe.test.js.map +0 -1
- package/dist/tests/optimization/ilp.test.d.ts.map +0 -1
- package/dist/tests/optimization/ilp.test.js +0 -204
- package/dist/tests/optimization/ilp.test.js.map +0 -1
- package/dist/tests/optimization/lp.test.d.ts.map +0 -1
- package/dist/tests/optimization/lp.test.js +0 -224
- package/dist/tests/optimization/lp.test.js.map +0 -1
- package/dist/tests/planning/planning.test.d.ts.map +0 -1
- package/dist/tests/planning/planning.test.js +0 -397
- package/dist/tests/planning/planning.test.js.map +0 -1
- package/dist/tests/plugin-system/demo-min-logic.test.d.ts.map +0 -1
- package/dist/tests/plugin-system/demo-min-logic.test.js +0 -85
- package/dist/tests/plugin-system/demo-min-logic.test.js.map +0 -1
- package/dist/tests/plugin-system/registry.test.d.ts.map +0 -1
- package/dist/tests/plugin-system/registry.test.js +0 -88
- package/dist/tests/plugin-system/registry.test.js.map +0 -1
- package/dist/tests/plugin-system/validate.test.d.ts.map +0 -1
- package/dist/tests/plugin-system/validate.test.js +0 -101
- package/dist/tests/plugin-system/validate.test.js.map +0 -1
- package/dist/tests/profile-bridge/translations.test.d.ts.map +0 -1
- package/dist/tests/profile-bridge/translations.test.js +0 -266
- package/dist/tests/profile-bridge/translations.test.js.map +0 -1
- package/dist/tests/profiles.test.d.ts.map +0 -1
- package/dist/tests/profiles.test.js +0 -393
- package/dist/tests/profiles.test.js.map +0 -1
- package/dist/tests/proof-exchange/proof-exchange.test.d.ts.map +0 -1
- package/dist/tests/proof-exchange/proof-exchange.test.js +0 -161
- package/dist/tests/proof-exchange/proof-exchange.test.js.map +0 -1
- package/dist/tests/proof-minify/minify.test.d.ts.map +0 -1
- package/dist/tests/proof-minify/minify.test.js +0 -281
- package/dist/tests/proof-minify/minify.test.js.map +0 -1
- package/dist/tests/proof-nets/proof-nets.test.d.ts.map +0 -1
- package/dist/tests/proof-nets/proof-nets.test.js +0 -263
- package/dist/tests/proof-nets/proof-nets.test.js.map +0 -1
- package/dist/tests/refinement-types/refinement-types.test.d.ts.map +0 -1
- package/dist/tests/refinement-types/refinement-types.test.js +0 -174
- package/dist/tests/refinement-types/refinement-types.test.js.map +0 -1
- package/dist/tests/sat-v2/clause-learning.test.d.ts.map +0 -1
- package/dist/tests/sat-v2/clause-learning.test.js +0 -73
- package/dist/tests/sat-v2/clause-learning.test.js.map +0 -1
- package/dist/tests/sat-v2/lbd.test.d.ts.map +0 -1
- package/dist/tests/sat-v2/lbd.test.js +0 -82
- package/dist/tests/sat-v2/lbd.test.js.map +0 -1
- package/dist/tests/sat-v2/luby.test.d.ts.map +0 -1
- package/dist/tests/sat-v2/luby.test.js +0 -58
- package/dist/tests/sat-v2/luby.test.js.map +0 -1
- package/dist/tests/sat-v2/phase-saving.test.d.ts.map +0 -1
- package/dist/tests/sat-v2/phase-saving.test.js +0 -38
- package/dist/tests/sat-v2/phase-saving.test.js.map +0 -1
- package/dist/tests/sat-v2/solver-end-to-end.test.d.ts.map +0 -1
- package/dist/tests/sat-v2/solver-end-to-end.test.js +0 -199
- package/dist/tests/sat-v2/solver-end-to-end.test.js.map +0 -1
- package/dist/tests/sat-v2/vsids.test.d.ts.map +0 -1
- package/dist/tests/sat-v2/vsids.test.js +0 -69
- package/dist/tests/sat-v2/vsids.test.js.map +0 -1
- package/dist/tests/sat-v2-incremental/basic.test.d.ts.map +0 -1
- package/dist/tests/sat-v2-incremental/basic.test.js +0 -352
- package/dist/tests/sat-v2-incremental/basic.test.js.map +0 -1
- package/dist/tests/sequent-g3/prover.test.d.ts.map +0 -1
- package/dist/tests/sequent-g3/prover.test.js +0 -205
- package/dist/tests/sequent-g3/prover.test.js.map +0 -1
- package/dist/tests/sequent-lk/prover.test.d.ts.map +0 -1
- package/dist/tests/sequent-lk/prover.test.js +0 -317
- package/dist/tests/sequent-lk/prover.test.js.map +0 -1
- package/dist/tests/smt/mock-backend.test.d.ts.map +0 -1
- package/dist/tests/smt/mock-backend.test.js +0 -129
- package/dist/tests/smt/mock-backend.test.js.map +0 -1
- package/dist/tests/smt/serializer.test.d.ts.map +0 -1
- package/dist/tests/smt/serializer.test.js +0 -94
- package/dist/tests/smt/serializer.test.js.map +0 -1
- package/dist/tests/smt/subprocess-backend.test.d.ts.map +0 -1
- package/dist/tests/smt/subprocess-backend.test.js +0 -89
- package/dist/tests/smt/subprocess-backend.test.js.map +0 -1
- package/dist/tests/smt-lib/emitter.test.d.ts.map +0 -1
- package/dist/tests/smt-lib/emitter.test.js +0 -155
- package/dist/tests/smt-lib/emitter.test.js.map +0 -1
- package/dist/tests/smt-lib/parser.test.d.ts.map +0 -1
- package/dist/tests/smt-lib/parser.test.js +0 -164
- package/dist/tests/smt-lib/parser.test.js.map +0 -1
- package/dist/tests/smt-lib/tokenizer.test.d.ts.map +0 -1
- package/dist/tests/smt-lib/tokenizer.test.js +0 -59
- package/dist/tests/smt-lib/tokenizer.test.js.map +0 -1
- package/dist/tests/substructural/prover.test.d.ts.map +0 -1
- package/dist/tests/substructural/prover.test.js +0 -271
- package/dist/tests/substructural/prover.test.js.map +0 -1
- package/dist/tests/system-f/system-f.test.d.ts.map +0 -1
- package/dist/tests/system-f/system-f.test.js +0 -217
- package/dist/tests/system-f/system-f.test.js.map +0 -1
- package/dist/tests/tableau-framework/tableau.test.d.ts.map +0 -1
- package/dist/tests/tableau-framework/tableau.test.js +0 -196
- package/dist/tests/tableau-framework/tableau.test.js.map +0 -1
- package/dist/tests/text-layer-v2/claim-graph.test.d.ts.map +0 -1
- package/dist/tests/text-layer-v2/claim-graph.test.js +0 -255
- package/dist/tests/text-layer-v2/claim-graph.test.js.map +0 -1
- package/dist/tests/text-layer-v2/mdx-bridge/mdx-bridge.test.d.ts.map +0 -1
- package/dist/tests/text-layer-v2/mdx-bridge/mdx-bridge.test.js +0 -200
- package/dist/tests/text-layer-v2/mdx-bridge/mdx-bridge.test.js.map +0 -1
- package/dist/tests/time-travel/snapshot.test.d.ts.map +0 -1
- package/dist/tests/time-travel/snapshot.test.js +0 -75
- package/dist/tests/time-travel/snapshot.test.js.map +0 -1
- package/dist/tests/time-travel/store.test.d.ts.map +0 -1
- package/dist/tests/time-travel/store.test.js +0 -242
- package/dist/tests/time-travel/store.test.js.map +0 -1
- package/dist/text-layer/compiler.d.ts +0 -18
- package/dist/text-layer/compiler.d.ts.map +0 -1
- package/dist/text-layer/compiler.js.map +0 -1
- package/dist/text-layer/v2/claim-graph.d.ts.map +0 -1
- package/dist/text-layer/v2/claim-graph.js.map +0 -1
- package/dist/text-layer/v2/index.d.ts.map +0 -1
- package/dist/text-layer/v2/index.js.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/diff.d.ts.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/diff.js.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/index.d.ts.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/index.js.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/parser.d.ts.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/parser.js.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/serializer.d.ts.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/serializer.js.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/types.d.ts.map +0 -1
- package/dist/text-layer/v2/mdx-bridge/types.js.map +0 -1
- package/dist/text-layer/v2/types.d.ts.map +0 -1
- package/dist/text-layer/v2/types.js.map +0 -1
- package/dist/time-travel/index.d.ts.map +0 -1
- package/dist/time-travel/index.js.map +0 -1
- package/dist/time-travel/snapshot.d.ts.map +0 -1
- package/dist/time-travel/snapshot.js.map +0 -1
- package/dist/time-travel/store.d.ts.map +0 -1
- package/dist/time-travel/store.js.map +0 -1
- package/dist/time-travel/types.d.ts.map +0 -1
- package/dist/time-travel/types.js.map +0 -1
- /package/dist/{profile-bridge → logic/profile-bridge}/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/aristotelian/syllogistic.js +0 -0
- /package/dist/{profiles → logic/profiles}/arithmetic/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/classical/cdcl.js +0 -0
- /package/dist/{profiles → logic/profiles}/classical/dpll.js +0 -0
- /package/dist/{profiles → logic/profiles}/classical/first-order.js +0 -0
- /package/dist/{profiles → logic/profiles}/classical/parallel-sat.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/classical/parallel-sat.js +0 -0
- /package/dist/{profiles → logic/profiles}/classical/sat-preprocess.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/classical/sat-preprocess.js +0 -0
- /package/dist/{profiles → logic/profiles}/classical/undecidability-detector.js +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/check.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/check.js +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/witness.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ctl/witness.js +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/entailment.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/entailment.js +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/extensions.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/extensions.js +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/default-logic/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/deontic/standard.js +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/nnf.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/nnf.js +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/tableau.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/tableau.js +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/description-logic/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/epistemic/s5.js +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/sat.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/sat.js +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/semantics.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/semantics.js +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/hybrid-logic/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/interface.js +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic/propositional.js +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/formula.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/formula.js +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/kripke.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/kripke.js +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/prover.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/prover.js +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/intuitionistic-nj/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/sat.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/sat.js +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/tableau.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/tableau.js +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/ltl-sat/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/many-valued/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/many-valued/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/modal/k.js +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/formula.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/formula.js +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/systems.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/systems.js +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/tableau.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/tableau.js +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/modal-frame-axioms/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/check.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/check.js +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/ctl-translate.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/ctl-translate.js +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/wellformed.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/mu-calculus/wellformed.js +0 -0
- /package/dist/{profiles → logic/profiles}/paraconsistent/belnap.js +0 -0
- /package/dist/{profiles → logic/profiles}/probabilistic/basic.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/latex.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/latex.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/normalize.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/prover.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-g3/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/cut-elimination.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/cut-elimination.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/prover.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/prover.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/util.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/sequent-lk/util.js +0 -0
- /package/dist/{profiles → logic/profiles}/substructural/index.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/substructural/index.js +0 -0
- /package/dist/{profiles → logic/profiles}/substructural/prover.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/substructural/prover.js +0 -0
- /package/dist/{profiles → logic/profiles}/substructural/types.d.ts +0 -0
- /package/dist/{profiles → logic/profiles}/substructural/types.js +0 -0
- /package/dist/{profiles → logic/profiles}/temporal/ltl.js +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/cnf.js +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/index.d.ts +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/index.js +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/prove.js +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/resolve.d.ts +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/resolve.js +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/types.d.ts +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/types.js +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/unify.d.ts +0 -0
- /package/dist/{fol-prover → proof-systems/fol-prover}/unify.js +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/demodulate.d.ts +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/demodulate.js +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/index.d.ts +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/index.js +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/paramodulate.d.ts +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/paramodulate.js +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/prove.js +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/term-utils.d.ts +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/term-utils.js +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/types.d.ts +0 -0
- /package/dist/{fol-prover-equality → proof-systems/fol-prover-equality}/types.js +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/index.d.ts +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/index.js +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/normalize.d.ts +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/normalize.js +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/pattern.d.ts +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/pattern.js +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/types.d.ts +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/types.js +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/unify.d.ts +0 -0
- /package/dist/{higher-order-unify → proof-systems/higher-order-unify}/unify.js +0 -0
- /package/dist/{proof-exchange → proof-systems/proof-exchange}/index.js +0 -0
- /package/dist/{runtime → proof-systems}/proof-minify/index.d.ts +0 -0
- /package/dist/{runtime → proof-systems}/proof-minify/index.js +0 -0
- /package/dist/{runtime → proof-systems}/proof-minify/minify.d.ts +0 -0
- /package/dist/{runtime → proof-systems}/proof-minify/minify.js +0 -0
- /package/dist/{runtime → proof-systems}/proof-minify/types.d.ts +0 -0
- /package/dist/{runtime → proof-systems}/proof-minify/types.js +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/construct.d.ts +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/construct.js +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/correctness.d.ts +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/correctness.js +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/cut-elim.d.ts +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/cut-elim.js +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/index.d.ts +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/index.js +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/types.d.ts +0 -0
- /package/dist/{proof-nets → proof-systems/proof-nets}/types.js +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/TableauProver.d.ts +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/TableauProver.js +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/index.d.ts +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/index.js +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/propositional.d.ts +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/propositional.js +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/types.d.ts +0 -0
- /package/dist/{tableau-framework → proof-systems/tableau-framework}/types.js +0 -0
- /package/dist/{runtime → reasoning}/abduction/entails.d.ts +0 -0
- /package/dist/{runtime → reasoning}/abduction/entails.js +0 -0
- /package/dist/{runtime → reasoning}/abduction/find.d.ts +0 -0
- /package/dist/{runtime → reasoning}/abduction/find.js +0 -0
- /package/dist/{runtime → reasoning}/abduction/index.d.ts +0 -0
- /package/dist/{runtime → reasoning}/abduction/index.js +0 -0
- /package/dist/{runtime → reasoning}/abduction/types.d.ts +0 -0
- /package/dist/{runtime → reasoning}/abduction/types.js +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/dot.d.ts +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/dot.js +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/extensions.d.ts +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/extensions.js +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/framework.d.ts +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/framework.js +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/index.d.ts +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/index.js +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/types.d.ts +0 -0
- /package/dist/{argumentation → reasoning/argumentation}/types.js +0 -0
- /package/dist/{runtime → reasoning}/bayesian/factor.d.ts +0 -0
- /package/dist/{runtime → reasoning}/bayesian/factor.js +0 -0
- /package/dist/{runtime → reasoning}/bayesian/index.d.ts +0 -0
- /package/dist/{runtime → reasoning}/bayesian/index.js +0 -0
- /package/dist/{runtime → reasoning}/bayesian/inference.d.ts +0 -0
- /package/dist/{runtime → reasoning}/bayesian/inference.js +0 -0
- /package/dist/{runtime → reasoning}/bayesian/types.d.ts +0 -0
- /package/dist/{runtime → reasoning}/bayesian/types.js +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/agm.d.ts +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/agm.js +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/index.d.ts +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/index.js +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/parser.d.ts +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/parser.js +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/sat.d.ts +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/sat.js +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/types.d.ts +0 -0
- /package/dist/{belief-revision → reasoning/belief-revision}/types.js +0 -0
- /package/dist/{citation-reasoning → reasoning/citation-reasoning}/derive.d.ts +0 -0
- /package/dist/{citation-reasoning → reasoning/citation-reasoning}/derive.js +0 -0
- /package/dist/{citation-reasoning → reasoning/citation-reasoning}/index.d.ts +0 -0
- /package/dist/{citation-reasoning → reasoning/citation-reasoning}/index.js +0 -0
- /package/dist/{citation-reasoning → reasoning/citation-reasoning}/types.d.ts +0 -0
- /package/dist/{citation-reasoning → reasoning/citation-reasoning}/types.js +0 -0
- /package/dist/{constructive-reals → reasoning/constructive-reals}/index.d.ts +0 -0
- /package/dist/{constructive-reals → reasoning/constructive-reals}/index.js +0 -0
- /package/dist/{runtime → reasoning}/fca/context.d.ts +0 -0
- /package/dist/{runtime → reasoning}/fca/context.js +0 -0
- /package/dist/{runtime → reasoning}/fca/implications.d.ts +0 -0
- /package/dist/{runtime → reasoning}/fca/implications.js +0 -0
- /package/dist/{runtime → reasoning}/fca/index.d.ts +0 -0
- /package/dist/{runtime → reasoning}/fca/index.js +0 -0
- /package/dist/{runtime → reasoning}/fca/lattice.d.ts +0 -0
- /package/dist/{runtime → reasoning}/fca/lattice.js +0 -0
- /package/dist/{runtime → reasoning}/fca/next-closure.d.ts +0 -0
- /package/dist/{runtime → reasoning}/fca/next-closure.js +0 -0
- /package/dist/{runtime → reasoning}/fca/types.d.ts +0 -0
- /package/dist/{runtime → reasoning}/fca/types.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/common-games.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/common-games.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/dominance.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/dominance.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/index.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/index.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/lemke-howson.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/lemke-howson.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/linalg.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/linalg.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/pure-nash.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/pure-nash.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/support-enumeration.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/support-enumeration.js +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/types.d.ts +0 -0
- /package/dist/{game-theory → reasoning/game-theory}/types.js +0 -0
- /package/dist/{hyperreal → reasoning/hyperreal}/index.d.ts +0 -0
- /package/dist/{hyperreal → reasoning/hyperreal}/index.js +0 -0
- /package/dist/{information-theory → reasoning/information-theory}/index.d.ts +0 -0
- /package/dist/{information-theory → reasoning/information-theory}/index.js +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/grounding.d.ts +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/grounding.js +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/index.d.ts +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/index.js +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/inference.d.ts +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/inference.js +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/parser.d.ts +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/parser.js +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/types.d.ts +0 -0
- /package/dist/{runtime → reasoning}/markov-logic/types.js +0 -0
- /package/dist/{optimization → reasoning/optimization}/branch-and-bound.d.ts +0 -0
- /package/dist/{optimization → reasoning/optimization}/branch-and-bound.js +0 -0
- /package/dist/{optimization → reasoning/optimization}/index.d.ts +0 -0
- /package/dist/{optimization → reasoning/optimization}/index.js +0 -0
- /package/dist/{optimization → reasoning/optimization}/simplex.d.ts +0 -0
- /package/dist/{optimization → reasoning/optimization}/simplex.js +0 -0
- /package/dist/{optimization → reasoning/optimization}/standard-form.d.ts +0 -0
- /package/dist/{optimization → reasoning/optimization}/standard-form.js +0 -0
- /package/dist/{optimization → reasoning/optimization}/types.d.ts +0 -0
- /package/dist/{optimization → reasoning/optimization}/types.js +0 -0
- /package/dist/{runtime → reasoning}/planning/astar.d.ts +0 -0
- /package/dist/{runtime → reasoning}/planning/astar.js +0 -0
- /package/dist/{runtime → reasoning}/planning/bfs.d.ts +0 -0
- /package/dist/{runtime → reasoning}/planning/bfs.js +0 -0
- /package/dist/{runtime → reasoning}/planning/ground.d.ts +0 -0
- /package/dist/{runtime → reasoning}/planning/ground.js +0 -0
- /package/dist/{runtime → reasoning}/planning/heuristic.d.ts +0 -0
- /package/dist/{runtime → reasoning}/planning/heuristic.js +0 -0
- /package/dist/{runtime → reasoning}/planning/index.d.ts +0 -0
- /package/dist/{runtime → reasoning}/planning/index.js +0 -0
- /package/dist/{runtime → reasoning}/planning/types.d.ts +0 -0
- /package/dist/{runtime → reasoning}/planning/types.js +0 -0
- /package/dist/{bdd → runtime/bdd}/index.d.ts +0 -0
- /package/dist/{bdd → runtime/bdd}/index.js +0 -0
- /package/dist/{bdd → runtime/bdd}/manager.d.ts +0 -0
- /package/dist/{bdd → runtime/bdd}/manager.js +0 -0
- /package/dist/{bdd → runtime/bdd}/types.d.ts +0 -0
- /package/dist/{bdd → runtime/bdd}/types.js +0 -0
- /package/dist/{coinduction → semantics/coinduction}/index.d.ts +0 -0
- /package/dist/{coinduction → semantics/coinduction}/index.js +0 -0
- /package/dist/{game-semantics → semantics/game-semantics}/index.d.ts +0 -0
- /package/dist/{game-semantics → semantics/game-semantics}/index.js +0 -0
- /package/dist/{game-semantics → semantics/game-semantics}/strategy.d.ts +0 -0
- /package/dist/{game-semantics → semantics/game-semantics}/types.d.ts +0 -0
- /package/dist/{game-semantics → semantics/game-semantics}/types.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/compiler.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/claim-graph.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/claim-graph.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/index.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/index.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/diff.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/diff.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/index.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/index.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/parser.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/parser.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/serializer.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/serializer.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/types.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/mdx-bridge/types.js +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/types.d.ts +0 -0
- /package/dist/{text-layer → semantics/text-layer}/v2/types.js +0 -0
- /package/dist/{runtime → solver}/csp/ac3.d.ts +0 -0
- /package/dist/{runtime → solver}/csp/ac3.js +0 -0
- /package/dist/{runtime → solver}/csp/backtrack.d.ts +0 -0
- /package/dist/{runtime → solver}/csp/backtrack.js +0 -0
- /package/dist/{runtime → solver}/csp/builtins.d.ts +0 -0
- /package/dist/{runtime → solver}/csp/builtins.js +0 -0
- /package/dist/{runtime → solver}/csp/index.d.ts +0 -0
- /package/dist/{runtime → solver}/csp/index.js +0 -0
- /package/dist/{runtime → solver}/csp/types.d.ts +0 -0
- /package/dist/{runtime → solver}/csp/types.js +0 -0
- /package/dist/{runtime → solver}/mus/extract.d.ts +0 -0
- /package/dist/{runtime → solver}/mus/extract.js +0 -0
- /package/dist/{runtime → solver}/mus/index.d.ts +0 -0
- /package/dist/{runtime → solver}/mus/index.js +0 -0
- /package/dist/{runtime → solver}/mus/quickxplain.d.ts +0 -0
- /package/dist/{runtime → solver}/mus/quickxplain.js +0 -0
- /package/dist/{runtime → solver}/mus/types.d.ts +0 -0
- /package/dist/{runtime → solver}/mus/types.js +0 -0
- /package/dist/{runtime → solver}/smt/index.d.ts +0 -0
- /package/dist/{runtime → solver}/smt/index.js +0 -0
- /package/dist/{runtime → solver}/smt/mock-backend.d.ts +0 -0
- /package/dist/{runtime → solver}/smt/mock-backend.js +0 -0
- /package/dist/{runtime → solver}/smt/serializer.d.ts +0 -0
- /package/dist/{runtime → solver}/smt/serializer.js +0 -0
- /package/dist/{runtime → solver}/smt/subprocess-backend.d.ts +0 -0
- /package/dist/{runtime → solver}/smt/subprocess-backend.js +0 -0
- /package/dist/{runtime → solver}/smt/types.d.ts +0 -0
- /package/dist/{runtime → solver}/smt/types.js +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/ast.d.ts +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/ast.js +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/emitter.d.ts +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/emitter.js +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/index.d.ts +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/index.js +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/parser.d.ts +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/parser.js +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/tokenizer.d.ts +0 -0
- /package/dist/{smt-lib → solver/smt-lib}/tokenizer.js +0 -0
- /package/dist/tests/{ctl → logic/ctl}/check.test.d.ts +0 -0
- /package/dist/tests/{default-logic → logic/default-logic}/extensions.test.d.ts +0 -0
- /package/dist/tests/{description-logic → logic/description-logic}/alc.test.d.ts +0 -0
- /package/dist/tests/{hybrid-logic → logic/hybrid-logic}/semantics.test.d.ts +0 -0
- /package/dist/tests/{intuitionistic-nj → logic/intuitionistic-nj}/nj.test.d.ts +0 -0
- /package/dist/tests/{ltl-sat → logic/ltl-sat}/sat.test.d.ts +0 -0
- /package/dist/tests/{many-valued → logic/many-valued}/many-valued.test.d.ts +0 -0
- /package/dist/tests/{modal-frame-axioms → logic/modal-frame-axioms}/frame-axioms.test.d.ts +0 -0
- /package/dist/tests/{mu-calculus → logic/mu-calculus}/check.test.d.ts +0 -0
- /package/dist/tests/{profile-bridge → logic/profile-bridge}/translations.test.d.ts +0 -0
- /package/dist/tests/{profiles.test.d.ts → logic/profiles.test.d.ts} +0 -0
- /package/dist/tests/{sequent-g3 → logic/sequent-g3}/prover.test.d.ts +0 -0
- /package/dist/tests/{sequent-lk → logic/sequent-lk}/prover.test.d.ts +0 -0
- /package/dist/tests/{substructural → logic/substructural}/prover.test.d.ts +0 -0
- /package/dist/tests/{fol-prover → proof-systems/fol-prover}/cnf.test.d.ts +0 -0
- /package/dist/tests/{fol-prover → proof-systems/fol-prover}/prove.test.d.ts +0 -0
- /package/dist/tests/{fol-prover → proof-systems/fol-prover}/unify.test.d.ts +0 -0
- /package/dist/tests/{fol-prover-equality → proof-systems/fol-prover-equality}/prove.test.d.ts +0 -0
- /package/dist/tests/{higher-order-unify → proof-systems/higher-order-unify}/ho-unify.test.d.ts +0 -0
- /package/dist/tests/{proof-exchange → proof-systems/proof-exchange}/proof-exchange.test.d.ts +0 -0
- /package/dist/tests/{proof-minify → proof-systems/proof-minify}/minify.test.d.ts +0 -0
- /package/dist/tests/{proof-nets → proof-systems/proof-nets}/proof-nets.test.d.ts +0 -0
- /package/dist/tests/{tableau-framework → proof-systems/tableau-framework}/tableau.test.d.ts +0 -0
- /package/dist/tests/{abduction → reasoning/abduction}/abduction.test.d.ts +0 -0
- /package/dist/tests/{argumentation → reasoning/argumentation}/dung.test.d.ts +0 -0
- /package/dist/tests/{bayesian → reasoning/bayesian}/bayesian.test.d.ts +0 -0
- /package/dist/tests/{belief-revision → reasoning/belief-revision}/agm.test.d.ts +0 -0
- /package/dist/tests/{citation-reasoning → reasoning/citation-reasoning}/citation-reasoning.test.d.ts +0 -0
- /package/dist/tests/{constructive-reals → reasoning/constructive-reals}/constructive-reals.test.d.ts +0 -0
- /package/dist/tests/{fca → reasoning/fca}/fca.test.d.ts +0 -0
- /package/dist/tests/{game-theory → reasoning/game-theory}/game-theory.test.d.ts +0 -0
- /package/dist/tests/{hyperreal → reasoning/hyperreal}/hyperreal.test.d.ts +0 -0
- /package/dist/tests/{information-theory → reasoning/information-theory}/information-theory.test.d.ts +0 -0
- /package/dist/tests/{markov-logic → reasoning/markov-logic}/markov-logic.test.d.ts +0 -0
- /package/dist/tests/{optimization → reasoning/optimization}/ilp.test.d.ts +0 -0
- /package/dist/tests/{optimization → reasoning/optimization}/lp.test.d.ts +0 -0
- /package/dist/tests/{planning → reasoning/planning}/planning.test.d.ts +0 -0
- /package/dist/tests/{bdd → runtime/bdd}/manager.test.d.ts +0 -0
- /package/dist/tests/{coinduction → semantics/coinduction}/coinduction.test.d.ts +0 -0
- /package/dist/tests/{game-semantics → semantics/game-semantics}/game-semantics.test.d.ts +0 -0
- /package/dist/tests/{text-layer-v2 → semantics/text-layer-v2}/claim-graph.test.d.ts +0 -0
- /package/dist/tests/{text-layer-v2 → semantics/text-layer-v2}/mdx-bridge/mdx-bridge.test.d.ts +0 -0
- /package/dist/tests/{csp → solver/csp}/csp.test.d.ts +0 -0
- /package/dist/tests/{mus → solver/mus}/extract.test.d.ts +0 -0
- /package/dist/tests/{sat-v2 → solver/sat-v2}/clause-learning.test.d.ts +0 -0
- /package/dist/tests/{sat-v2 → solver/sat-v2}/lbd.test.d.ts +0 -0
- /package/dist/tests/{sat-v2 → solver/sat-v2}/luby.test.d.ts +0 -0
- /package/dist/tests/{sat-v2 → solver/sat-v2}/phase-saving.test.d.ts +0 -0
- /package/dist/tests/{sat-v2 → solver/sat-v2}/solver-end-to-end.test.d.ts +0 -0
- /package/dist/tests/{sat-v2 → solver/sat-v2}/vsids.test.d.ts +0 -0
- /package/dist/tests/{sat-v2-incremental → solver/sat-v2-incremental}/basic.test.d.ts +0 -0
- /package/dist/tests/{smt → solver/smt}/mock-backend.test.d.ts +0 -0
- /package/dist/tests/{smt → solver/smt}/serializer.test.d.ts +0 -0
- /package/dist/tests/{smt → solver/smt}/subprocess-backend.test.d.ts +0 -0
- /package/dist/tests/{smt-lib → solver/smt-lib}/emitter.test.d.ts +0 -0
- /package/dist/tests/{smt-lib → solver/smt-lib}/parser.test.d.ts +0 -0
- /package/dist/tests/{smt-lib → solver/smt-lib}/tokenizer.test.d.ts +0 -0
- /package/dist/tests/{educational → tooling/educational}/checker.test.d.ts +0 -0
- /package/dist/tests/{educational → tooling/educational}/generator.test.d.ts +0 -0
- /package/dist/tests/{exporters → tooling/exporters}/coq/coq-exporter.test.d.ts +0 -0
- /package/dist/tests/{lsp → tooling/lsp}/server.test.d.ts +0 -0
- /package/dist/tests/{plugin-system → tooling/plugin-system}/demo-min-logic.test.d.ts +0 -0
- /package/dist/tests/{plugin-system → tooling/plugin-system}/registry.test.d.ts +0 -0
- /package/dist/tests/{plugin-system → tooling/plugin-system}/validate.test.d.ts +0 -0
- /package/dist/tests/{time-travel → tooling/time-travel}/snapshot.test.d.ts +0 -0
- /package/dist/tests/{time-travel → tooling/time-travel}/store.test.d.ts +0 -0
- /package/dist/tests/{combinators-ski → type-theory/combinators-ski}/combinators-ski.test.d.ts +0 -0
- /package/dist/tests/{curry-howard → type-theory/curry-howard}/infer.test.d.ts +0 -0
- /package/dist/tests/{curry-howard → type-theory/curry-howard}/proof.test.d.ts +0 -0
- /package/dist/tests/{curry-howard → type-theory/curry-howard}/reduce.test.d.ts +0 -0
- /package/dist/tests/{hol → type-theory/hol}/hol.test.d.ts +0 -0
- /package/dist/tests/{lambda-calc → type-theory/lambda-calc}/lambda-calc.test.d.ts +0 -0
- /package/dist/tests/{mltt → type-theory/mltt}/mltt.test.d.ts +0 -0
- /package/dist/tests/{nbe → type-theory/nbe}/nbe.test.d.ts +0 -0
- /package/dist/tests/{refinement-types → type-theory/refinement-types}/refinement-types.test.d.ts +0 -0
- /package/dist/tests/{system-f → type-theory/system-f}/system-f.test.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/checker.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/generator.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/generator.js +0 -0
- /package/dist/{educational → tooling/educational}/index.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/index.js +0 -0
- /package/dist/{educational → tooling/educational}/normalize.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/normalize.js +0 -0
- /package/dist/{educational → tooling/educational}/rng.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/rng.js +0 -0
- /package/dist/{educational → tooling/educational}/templates.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/templates.js +0 -0
- /package/dist/{educational → tooling/educational}/types.d.ts +0 -0
- /package/dist/{educational → tooling/educational}/types.js +0 -0
- /package/dist/{exporters → tooling/exporters}/coq/index.js +0 -0
- /package/dist/{lsp → tooling/lsp}/index.d.ts +0 -0
- /package/dist/{lsp → tooling/lsp}/index.js +0 -0
- /package/dist/{lsp → tooling/lsp}/protocol.d.ts +0 -0
- /package/dist/{lsp → tooling/lsp}/protocol.js +0 -0
- /package/dist/{lsp → tooling/lsp}/server.d.ts +0 -0
- /package/dist/{lsp → tooling/lsp}/types.d.ts +0 -0
- /package/dist/{lsp → tooling/lsp}/types.js +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/demo-min-logic.d.ts +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/demo-min-logic.js +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/errors.d.ts +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/errors.js +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/index.d.ts +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/index.js +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/registry.d.ts +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/registry.js +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/types.js +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/validate.d.ts +0 -0
- /package/dist/{plugin-system → tooling/plugin-system}/validate.js +0 -0
- /package/dist/{time-travel → tooling/time-travel}/index.d.ts +0 -0
- /package/dist/{time-travel → tooling/time-travel}/index.js +0 -0
- /package/dist/{time-travel → tooling/time-travel}/snapshot.d.ts +0 -0
- /package/dist/{time-travel → tooling/time-travel}/snapshot.js +0 -0
- /package/dist/{time-travel → tooling/time-travel}/store.d.ts +0 -0
- /package/dist/{time-travel → tooling/time-travel}/store.js +0 -0
- /package/dist/{time-travel → tooling/time-travel}/types.d.ts +0 -0
- /package/dist/{time-travel → tooling/time-travel}/types.js +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/abstract.d.ts +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/abstract.js +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/index.d.ts +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/index.js +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/reduce.d.ts +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/reduce.js +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/types.d.ts +0 -0
- /package/dist/{combinators-ski → type-theory/combinators-ski}/types.js +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/index.d.ts +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/index.js +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/infer.d.ts +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/infer.js +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/proof.d.ts +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/proof.js +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/reduce.d.ts +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/reduce.js +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/types.d.ts +0 -0
- /package/dist/{curry-howard → type-theory/curry-howard}/types.js +0 -0
- /package/dist/{profiles → type-theory}/hol/connectives.d.ts +0 -0
- /package/dist/{profiles → type-theory}/hol/connectives.js +0 -0
- /package/dist/{profiles → type-theory}/hol/index.d.ts +0 -0
- /package/dist/{profiles → type-theory}/hol/index.js +0 -0
- /package/dist/{profiles → type-theory}/hol/rules.d.ts +0 -0
- /package/dist/{profiles → type-theory}/hol/rules.js +0 -0
- /package/dist/{profiles → type-theory}/hol/term.d.ts +0 -0
- /package/dist/{profiles → type-theory}/hol/term.js +0 -0
- /package/dist/{profiles → type-theory}/hol/type-system.d.ts +0 -0
- /package/dist/{profiles → type-theory}/hol/type-system.js +0 -0
- /package/dist/{profiles → type-theory}/hol/types.d.ts +0 -0
- /package/dist/{profiles → type-theory}/hol/types.js +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/church.d.ts +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/church.js +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/combinators.d.ts +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/combinators.js +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/index.d.ts +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/index.js +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/reduce.d.ts +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/reduce.js +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/substitution.d.ts +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/substitution.js +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/types.d.ts +0 -0
- /package/dist/{lambda-calc → type-theory/lambda-calc}/types.js +0 -0
- /package/dist/{mltt → type-theory/mltt}/equality.d.ts +0 -0
- /package/dist/{mltt → type-theory/mltt}/equality.js +0 -0
- /package/dist/{mltt → type-theory/mltt}/index.d.ts +0 -0
- /package/dist/{mltt → type-theory/mltt}/index.js +0 -0
- /package/dist/{mltt → type-theory/mltt}/infer.d.ts +0 -0
- /package/dist/{mltt → type-theory/mltt}/infer.js +0 -0
- /package/dist/{mltt → type-theory/mltt}/normalize.d.ts +0 -0
- /package/dist/{mltt → type-theory/mltt}/normalize.js +0 -0
- /package/dist/{mltt → type-theory/mltt}/substitute.d.ts +0 -0
- /package/dist/{mltt → type-theory/mltt}/substitute.js +0 -0
- /package/dist/{mltt → type-theory/mltt}/types.d.ts +0 -0
- /package/dist/{mltt → type-theory/mltt}/types.js +0 -0
- /package/dist/{nbe → type-theory/nbe}/index.d.ts +0 -0
- /package/dist/{nbe → type-theory/nbe}/index.js +0 -0
- /package/dist/{nbe → type-theory/nbe}/nbe.d.ts +0 -0
- /package/dist/{nbe → type-theory/nbe}/nbe.js +0 -0
- /package/dist/{nbe → type-theory/nbe}/types.d.ts +0 -0
- /package/dist/{nbe → type-theory/nbe}/types.js +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/checker.d.ts +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/checker.js +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/index.d.ts +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/index.js +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/predicate.d.ts +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/predicate.js +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/solver.d.ts +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/solver.js +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/subtype.d.ts +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/subtype.js +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/types.d.ts +0 -0
- /package/dist/{refinement-types → type-theory/refinement-types}/types.js +0 -0
- /package/dist/{system-f → type-theory/system-f}/index.d.ts +0 -0
- /package/dist/{system-f → type-theory/system-f}/index.js +0 -0
- /package/dist/{system-f → type-theory/system-f}/infer.d.ts +0 -0
- /package/dist/{system-f → type-theory/system-f}/infer.js +0 -0
- /package/dist/{system-f → type-theory/system-f}/reduce.d.ts +0 -0
- /package/dist/{system-f → type-theory/system-f}/reduce.js +0 -0
- /package/dist/{system-f → type-theory/system-f}/types.d.ts +0 -0
- /package/dist/{system-f → type-theory/system-f}/types.js +0 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ============================================================
|
|
3
|
+
// Hindley-Milner — Algorithm W (Damas-Milner)
|
|
4
|
+
// ============================================================
|
|
5
|
+
//
|
|
6
|
+
// Implementación de Algorithm W tal como aparece en Damas & Milner
|
|
7
|
+
// 1982. La función W toma un entorno Γ y una expresión e, y devuelve
|
|
8
|
+
// un par (S, τ) donde S es la sustitución principal y τ el tipo
|
|
9
|
+
// principal de e bajo S(Γ).
|
|
10
|
+
//
|
|
11
|
+
// Reglas (esquemáticas):
|
|
12
|
+
// W(Γ, x) = (∅, [β/α] τ) si Γ(x) = ∀α. τ con β frescas
|
|
13
|
+
// W(Γ, λx.e) = sea β fresca; (S, τ) = W(Γ[x:β], e);
|
|
14
|
+
// devolver (S, S(β) → τ)
|
|
15
|
+
// W(Γ, e₁ e₂) = (S₁, τ₁) = W(Γ, e₁);
|
|
16
|
+
// (S₂, τ₂) = W(S₁(Γ), e₂);
|
|
17
|
+
// β fresca; V = mgu(S₂(τ₁), τ₂ → β);
|
|
18
|
+
// devolver (V ∘ S₂ ∘ S₁, V(β))
|
|
19
|
+
// W(Γ, let x = e₁ in e₂) =
|
|
20
|
+
// (S₁, τ₁) = W(Γ, e₁);
|
|
21
|
+
// σ = generalize(S₁(Γ), τ₁);
|
|
22
|
+
// (S₂, τ₂) = W(S₁(Γ)[x:σ], e₂);
|
|
23
|
+
// devolver (S₂ ∘ S₁, τ₂)
|
|
24
|
+
// W(Γ, if c then a else b) = unificar c con Bool y a con b.
|
|
25
|
+
// W(Γ, letRec [n₁=e₁,...] in e) — todos los nᵢ con tvars frescos
|
|
26
|
+
// en el entorno mientras se infieren los eᵢ; luego generalizar.
|
|
27
|
+
//
|
|
28
|
+
// Convención: trabajamos con `freshTypeVar('t')`. Para tests con
|
|
29
|
+
// nombres predecibles se llama `resetFreshSupply()`.
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.isInferError = isInferError;
|
|
32
|
+
exports.initialEnv = initialEnv;
|
|
33
|
+
exports.algorithmW = algorithmW;
|
|
34
|
+
exports.infer = infer;
|
|
35
|
+
exports.inferScheme = inferScheme;
|
|
36
|
+
exports.normalizeScheme = normalizeScheme;
|
|
37
|
+
const types_1 = require("./types");
|
|
38
|
+
const substitution_1 = require("./substitution");
|
|
39
|
+
function isInferError(r) {
|
|
40
|
+
return typeof r === 'object' && r !== null && 'error' in r && !('type' in r);
|
|
41
|
+
}
|
|
42
|
+
// ---------- Entorno inicial con primitivos ----------
|
|
43
|
+
//
|
|
44
|
+
// Operadores aritméticos como Int → Int → Int. Comparadores son
|
|
45
|
+
// polimórficos: ∀α. α → α → Bool. Listas y pares con sus
|
|
46
|
+
// constructores y proyectores.
|
|
47
|
+
function initialEnv() {
|
|
48
|
+
const a = 'a';
|
|
49
|
+
const b = 'b';
|
|
50
|
+
const TA = { kind: 'tvar', name: a };
|
|
51
|
+
const TB = { kind: 'tvar', name: b };
|
|
52
|
+
const arithBinop = (0, types_1.mono)((0, types_1.tArrow)(types_1.TInt, (0, types_1.tArrow)(types_1.TInt, types_1.TInt)));
|
|
53
|
+
const cmpBinop = (0, types_1.scheme)([a], (0, types_1.tArrow)(TA, (0, types_1.tArrow)(TA, types_1.TBool)));
|
|
54
|
+
const pairTy = (0, types_1.tApp)('Pair', TA, TB);
|
|
55
|
+
const listTyA = (0, types_1.tApp)('List', TA);
|
|
56
|
+
return new types_1.TypeEnv(new Map([
|
|
57
|
+
['+', arithBinop],
|
|
58
|
+
['-', arithBinop],
|
|
59
|
+
['*', arithBinop],
|
|
60
|
+
['/', arithBinop],
|
|
61
|
+
['mod', arithBinop],
|
|
62
|
+
['==', cmpBinop],
|
|
63
|
+
['!=', cmpBinop],
|
|
64
|
+
['<', cmpBinop],
|
|
65
|
+
['>', cmpBinop],
|
|
66
|
+
['<=', cmpBinop],
|
|
67
|
+
['>=', cmpBinop],
|
|
68
|
+
['true', (0, types_1.mono)(types_1.TBool)],
|
|
69
|
+
['false', (0, types_1.mono)(types_1.TBool)],
|
|
70
|
+
['not', (0, types_1.mono)((0, types_1.tArrow)(types_1.TBool, types_1.TBool))],
|
|
71
|
+
['&&', (0, types_1.mono)((0, types_1.tArrow)(types_1.TBool, (0, types_1.tArrow)(types_1.TBool, types_1.TBool)))],
|
|
72
|
+
['||', (0, types_1.mono)((0, types_1.tArrow)(types_1.TBool, (0, types_1.tArrow)(types_1.TBool, types_1.TBool)))],
|
|
73
|
+
['pair', (0, types_1.scheme)([a, b], (0, types_1.tArrow)(TA, (0, types_1.tArrow)(TB, pairTy)))],
|
|
74
|
+
['fst', (0, types_1.scheme)([a, b], (0, types_1.tArrow)(pairTy, TA))],
|
|
75
|
+
['snd', (0, types_1.scheme)([a, b], (0, types_1.tArrow)(pairTy, TB))],
|
|
76
|
+
['nil', (0, types_1.scheme)([a], listTyA)],
|
|
77
|
+
['cons', (0, types_1.scheme)([a], (0, types_1.tArrow)(TA, (0, types_1.tArrow)(listTyA, listTyA)))],
|
|
78
|
+
['head', (0, types_1.scheme)([a], (0, types_1.tArrow)(listTyA, TA))],
|
|
79
|
+
['tail', (0, types_1.scheme)([a], (0, types_1.tArrow)(listTyA, listTyA))],
|
|
80
|
+
['isEmpty', (0, types_1.scheme)([a], (0, types_1.tArrow)(listTyA, types_1.TBool))],
|
|
81
|
+
// fixpoint, útil para introducir letRec puntualmente sin el azúcar
|
|
82
|
+
['fix', (0, types_1.scheme)([a], (0, types_1.tArrow)((0, types_1.tArrow)(TA, TA), TA))],
|
|
83
|
+
]));
|
|
84
|
+
}
|
|
85
|
+
// ---------- Algorithm W ----------
|
|
86
|
+
function algorithmW(expr, env) {
|
|
87
|
+
switch (expr.kind) {
|
|
88
|
+
case 'lit': {
|
|
89
|
+
const t = typeof expr.value === 'number' ? types_1.TInt : typeof expr.value === 'boolean' ? types_1.TBool : types_1.TStr;
|
|
90
|
+
return { type: t, subst: (0, substitution_1.emptySubst)() };
|
|
91
|
+
}
|
|
92
|
+
case 'var': {
|
|
93
|
+
const sc = env.lookup(expr.name);
|
|
94
|
+
if (sc === undefined)
|
|
95
|
+
return { error: `unbound variable: ${expr.name}` };
|
|
96
|
+
return { type: (0, substitution_1.instantiate)(sc), subst: (0, substitution_1.emptySubst)() };
|
|
97
|
+
}
|
|
98
|
+
case 'lam': {
|
|
99
|
+
const tv = (0, substitution_1.freshTypeVar)('t');
|
|
100
|
+
const env2 = env.extend(expr.param, (0, types_1.mono)(tv));
|
|
101
|
+
const body = algorithmW(expr.body, env2);
|
|
102
|
+
if (isInferError(body))
|
|
103
|
+
return body;
|
|
104
|
+
return {
|
|
105
|
+
type: (0, types_1.tArrow)((0, substitution_1.applySubst)(tv, body.subst), body.type),
|
|
106
|
+
subst: body.subst,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
case 'app': {
|
|
110
|
+
const r1 = algorithmW(expr.fn, env);
|
|
111
|
+
if (isInferError(r1))
|
|
112
|
+
return r1;
|
|
113
|
+
const env2 = applyEnv(env, r1.subst);
|
|
114
|
+
const r2 = algorithmW(expr.arg, env2);
|
|
115
|
+
if (isInferError(r2))
|
|
116
|
+
return r2;
|
|
117
|
+
const tv = (0, substitution_1.freshTypeVar)('t');
|
|
118
|
+
const u = (0, substitution_1.unify)((0, substitution_1.applySubst)(r1.type, r2.subst), (0, types_1.tArrow)(r2.type, tv));
|
|
119
|
+
if ((0, substitution_1.isUnifyError)(u))
|
|
120
|
+
return { error: u.error };
|
|
121
|
+
const finalSubst = (0, substitution_1.composeSubsts)(u, (0, substitution_1.composeSubsts)(r2.subst, r1.subst));
|
|
122
|
+
return { type: (0, substitution_1.applySubst)(tv, u), subst: finalSubst };
|
|
123
|
+
}
|
|
124
|
+
case 'let': {
|
|
125
|
+
const r1 = algorithmW(expr.value, env);
|
|
126
|
+
if (isInferError(r1))
|
|
127
|
+
return r1;
|
|
128
|
+
const env1 = applyEnv(env, r1.subst);
|
|
129
|
+
const sc = (0, substitution_1.generalize)(env1.freeVars(), r1.type);
|
|
130
|
+
const env2 = env1.extend(expr.bind, sc);
|
|
131
|
+
const r2 = algorithmW(expr.body, env2);
|
|
132
|
+
if (isInferError(r2))
|
|
133
|
+
return r2;
|
|
134
|
+
return {
|
|
135
|
+
type: r2.type,
|
|
136
|
+
subst: (0, substitution_1.composeSubsts)(r2.subst, r1.subst),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
case 'letRec': {
|
|
140
|
+
// Asignar tvar fresco a cada def, inferir cada body bajo el
|
|
141
|
+
// entorno extendido, unificar el tipo de cada body con el tvar
|
|
142
|
+
// declarado, y al final generalizar.
|
|
143
|
+
if (expr.defs.length === 0)
|
|
144
|
+
return algorithmW(expr.body, env);
|
|
145
|
+
const freshVars = expr.defs.map(() => (0, substitution_1.freshTypeVar)('t'));
|
|
146
|
+
let envExt = env;
|
|
147
|
+
for (let i = 0; i < expr.defs.length; i++) {
|
|
148
|
+
envExt = envExt.extend(expr.defs[i].name, (0, types_1.mono)(freshVars[i]));
|
|
149
|
+
}
|
|
150
|
+
let s = (0, substitution_1.emptySubst)();
|
|
151
|
+
for (let i = 0; i < expr.defs.length; i++) {
|
|
152
|
+
const def = expr.defs[i];
|
|
153
|
+
const fv = freshVars[i];
|
|
154
|
+
const ri = algorithmW(def.body, applyEnv(envExt, s));
|
|
155
|
+
if (isInferError(ri))
|
|
156
|
+
return ri;
|
|
157
|
+
const u = (0, substitution_1.unify)((0, substitution_1.applySubst)(fv, (0, substitution_1.composeSubsts)(ri.subst, s)), ri.type);
|
|
158
|
+
if ((0, substitution_1.isUnifyError)(u))
|
|
159
|
+
return { error: u.error };
|
|
160
|
+
s = (0, substitution_1.composeSubsts)(u, (0, substitution_1.composeSubsts)(ri.subst, s));
|
|
161
|
+
}
|
|
162
|
+
// Reconstruir entorno generalizado.
|
|
163
|
+
const envAfter = applyEnv(env, s);
|
|
164
|
+
const envFv = envAfter.freeVars();
|
|
165
|
+
let envGen = envAfter;
|
|
166
|
+
for (let i = 0; i < expr.defs.length; i++) {
|
|
167
|
+
const ty = (0, substitution_1.applySubst)(freshVars[i], s);
|
|
168
|
+
const sc = (0, substitution_1.generalize)(envFv, ty);
|
|
169
|
+
envGen = envGen.extend(expr.defs[i].name, sc);
|
|
170
|
+
}
|
|
171
|
+
const rBody = algorithmW(expr.body, envGen);
|
|
172
|
+
if (isInferError(rBody))
|
|
173
|
+
return rBody;
|
|
174
|
+
return {
|
|
175
|
+
type: rBody.type,
|
|
176
|
+
subst: (0, substitution_1.composeSubsts)(rBody.subst, s),
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
case 'if': {
|
|
180
|
+
const rc = algorithmW(expr.cond, env);
|
|
181
|
+
if (isInferError(rc))
|
|
182
|
+
return rc;
|
|
183
|
+
const uCond = (0, substitution_1.unify)(rc.type, types_1.TBool);
|
|
184
|
+
if ((0, substitution_1.isUnifyError)(uCond)) {
|
|
185
|
+
return { error: `condition of 'if' must be Bool: ${uCond.error}` };
|
|
186
|
+
}
|
|
187
|
+
const s1 = (0, substitution_1.composeSubsts)(uCond, rc.subst);
|
|
188
|
+
const rt = algorithmW(expr.then, applyEnv(env, s1));
|
|
189
|
+
if (isInferError(rt))
|
|
190
|
+
return rt;
|
|
191
|
+
const s2 = (0, substitution_1.composeSubsts)(rt.subst, s1);
|
|
192
|
+
const re = algorithmW(expr.else, applyEnv(env, s2));
|
|
193
|
+
if (isInferError(re))
|
|
194
|
+
return re;
|
|
195
|
+
const s3 = (0, substitution_1.composeSubsts)(re.subst, s2);
|
|
196
|
+
const u = (0, substitution_1.unify)((0, substitution_1.applySubst)(rt.type, s3), re.type);
|
|
197
|
+
if ((0, substitution_1.isUnifyError)(u)) {
|
|
198
|
+
return { error: `branches of 'if' must agree: ${u.error}` };
|
|
199
|
+
}
|
|
200
|
+
const finalSubst = (0, substitution_1.composeSubsts)(u, s3);
|
|
201
|
+
return { type: (0, substitution_1.applySubst)(re.type, u), subst: finalSubst };
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
// ---------- API de alto nivel ----------
|
|
206
|
+
//
|
|
207
|
+
// infer() devuelve sólo lo necesario al consumidor: el tipo final
|
|
208
|
+
// y la sustitución que lo produjo (útil para imprimirla, debug,
|
|
209
|
+
// etc.). El esquema principal lo expone `inferScheme`.
|
|
210
|
+
function infer(expr, env = initialEnv()) {
|
|
211
|
+
return algorithmW(expr, env);
|
|
212
|
+
}
|
|
213
|
+
function inferScheme(expr, env = initialEnv()) {
|
|
214
|
+
const r = algorithmW(expr, env);
|
|
215
|
+
if (isInferError(r))
|
|
216
|
+
return r;
|
|
217
|
+
const envAfter = applyEnv(env, r.subst);
|
|
218
|
+
const sc = (0, substitution_1.generalize)(envAfter.freeVars(), r.type);
|
|
219
|
+
return { scheme: sc, subst: r.subst, type: r.type };
|
|
220
|
+
}
|
|
221
|
+
// ---------- Helpers ----------
|
|
222
|
+
function applyEnv(env, s) {
|
|
223
|
+
if (s.size === 0)
|
|
224
|
+
return env;
|
|
225
|
+
const next = new Map();
|
|
226
|
+
for (const [name, sc] of env.bindings) {
|
|
227
|
+
next.set(name, (0, substitution_1.applySubstScheme)(sc, s));
|
|
228
|
+
}
|
|
229
|
+
return new types_1.TypeEnv(next);
|
|
230
|
+
}
|
|
231
|
+
// Renombrado canónico de un esquema para tests: ∀t5 t9. t5 → t9
|
|
232
|
+
// pasa a ser ∀a b. a → b. Asegura comparaciones estables sin
|
|
233
|
+
// depender del contador global.
|
|
234
|
+
function normalizeScheme(sc) {
|
|
235
|
+
const fv = Array.from((0, types_1.typeFreeVars)(sc.body));
|
|
236
|
+
const ordered = sc.forall.filter((v) => fv.includes(v));
|
|
237
|
+
const namePool = 'abcdefghijklmnopqrstuvwxyz'.split('');
|
|
238
|
+
const renames = new Map();
|
|
239
|
+
let i = 0;
|
|
240
|
+
function pick() {
|
|
241
|
+
if (i < namePool.length)
|
|
242
|
+
return namePool[i++];
|
|
243
|
+
return `t${i++}`;
|
|
244
|
+
}
|
|
245
|
+
// Recorrer en orden de aparición en el cuerpo para que el nombre
|
|
246
|
+
// resultante sea estable bajo equivalencia α.
|
|
247
|
+
visitTypeVars(sc.body, (v) => {
|
|
248
|
+
if (ordered.includes(v) && !renames.has(v)) {
|
|
249
|
+
renames.set(v, pick());
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
const sub = new Map();
|
|
253
|
+
for (const [old, fresh] of renames) {
|
|
254
|
+
sub.set(old, { kind: 'tvar', name: fresh });
|
|
255
|
+
}
|
|
256
|
+
return {
|
|
257
|
+
forall: Array.from(renames.values()),
|
|
258
|
+
body: (0, substitution_1.applySubst)(sc.body, sub),
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
function visitTypeVars(t, cb) {
|
|
262
|
+
switch (t.kind) {
|
|
263
|
+
case 'tvar':
|
|
264
|
+
cb(t.name);
|
|
265
|
+
return;
|
|
266
|
+
case 'tconst':
|
|
267
|
+
return;
|
|
268
|
+
case 'arrow':
|
|
269
|
+
visitTypeVars(t.from, cb);
|
|
270
|
+
visitTypeVars(t.to, cb);
|
|
271
|
+
return;
|
|
272
|
+
case 'tapp':
|
|
273
|
+
for (const a of t.args)
|
|
274
|
+
visitTypeVars(a, cb);
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
//# sourceMappingURL=infer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infer.js","sourceRoot":"","sources":["../../../src/type-theory/hindley-milner/infer.ts"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,8CAA8C;AAC9C,+DAA+D;AAC/D,EAAE;AACF,mEAAmE;AACnE,qEAAqE;AACrE,gEAAgE;AAChE,4BAA4B;AAC5B,EAAE;AACF,yBAAyB;AACzB,gEAAgE;AAChE,0DAA0D;AAC1D,4CAA4C;AAC5C,0CAA0C;AAC1C,8CAA8C;AAC9C,wDAAwD;AACxD,kDAAkD;AAClD,6BAA6B;AAC7B,0CAA0C;AAC1C,gDAAgD;AAChD,mDAAmD;AACnD,4CAA4C;AAC5C,8DAA8D;AAC9D,mEAAmE;AACnE,kEAAkE;AAClE,EAAE;AACF,iEAAiE;AACjE,qDAAqD;;AAwBrD,oCAEC;AAOD,gCA+CC;AAGD,gCAsHC;AAQD,sBAEC;AAQD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AC,IAAI,OAAO,EAAE,CAAC;QACnC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO;QACL,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;QACpC,IAAI,EAAE,IAAA,yBAAU,EAAC,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;KAC/B,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,CAAO,EAAE,EAA0B;IACxD,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;QACf,KAAK,MAAM;YACT,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YACX,OAAO;QACT,KAAK,QAAQ;YACX,OAAO;QACT,KAAK,OAAO;YACV,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1B,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;YACxB,OAAO;QACT,KAAK,MAAM;YACT,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI;gBAAE,aAAa,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YAC7C,OAAO;IACX,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Type, TypeScheme } from './types';
|
|
2
|
+
import { schemeFreeVars } from './types';
|
|
3
|
+
export type Substitution = Map<string, Type>;
|
|
4
|
+
export declare const emptySubst: () => Substitution;
|
|
5
|
+
export declare function applySubst(t: Type, s: Substitution): Type;
|
|
6
|
+
export declare function applySubstScheme(sc: TypeScheme, s: Substitution): TypeScheme;
|
|
7
|
+
export declare function composeSubsts(s1: Substitution, s2: Substitution): Substitution;
|
|
8
|
+
export declare function resetFreshSupply(): void;
|
|
9
|
+
export declare function freshTypeVar(prefix?: string): Type;
|
|
10
|
+
export declare function occursIn(name: string, t: Type): boolean;
|
|
11
|
+
export type UnifyResult = Substitution | {
|
|
12
|
+
error: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function isUnifyError(r: UnifyResult): r is {
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
export declare function unify(t1: Type, t2: Type): UnifyResult;
|
|
18
|
+
export declare function generalize(envFreeVars: Set<string>, t: Type): TypeScheme;
|
|
19
|
+
export declare function instantiate(sc: TypeScheme): Type;
|
|
20
|
+
export { schemeFreeVars };
|
|
21
|
+
//# sourceMappingURL=substitution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"substitution.d.ts","sourceRoot":"","sources":["../../../src/type-theory/hindley-milner/substitution.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,cAAc,EAA8B,MAAM,SAAS,CAAC;AAErE,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAE7C,eAAO,MAAM,UAAU,QAAO,YAAyB,CAAC;AAExD,wBAAgB,UAAU,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,GAAG,IAAI,CAGzD;AA6BD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,YAAY,GAAG,UAAU,CAU5E;AAED,wBAAgB,aAAa,CAAC,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,GAAG,YAAY,CAO9E;AAQD,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC;AAED,wBAAgB,YAAY,CAAC,MAAM,SAAM,GAAG,IAAI,CAG/C;AAKD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,GAAG,OAAO,CAWvD;AAKD,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,IAAI;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAEnE;AAED,wBAAgB,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,WAAW,CAsCrD;AAmCD,wBAAgB,UAAU,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,GAAG,UAAU,CASxE;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,CAOhD;AAGD,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ============================================================
|
|
3
|
+
// Hindley-Milner — Sustituciones, unificación, fresh vars
|
|
4
|
+
// ============================================================
|
|
5
|
+
//
|
|
6
|
+
// Sustitución σ : tvar → Type. Aplicar σ a un tipo reemplaza las
|
|
7
|
+
// variables libres que aparezcan en su dominio.
|
|
8
|
+
//
|
|
9
|
+
// composeSubsts(s1, s2) calcula s1 ∘ s2 : primero aplica s2, luego s1.
|
|
10
|
+
// El truco habitual es:
|
|
11
|
+
//
|
|
12
|
+
// (s1 ∘ s2)(α) = s1 (s2 α)
|
|
13
|
+
//
|
|
14
|
+
// Implementado como: aplicar s1 a los valores de s2, y añadir las
|
|
15
|
+
// entradas de s1 que s2 no tocó.
|
|
16
|
+
//
|
|
17
|
+
// Unificación es la unificación de primer orden Robinson, con
|
|
18
|
+
// occurs-check para impedir tipos infinitos (`α ≡ α → α` falla).
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.schemeFreeVars = exports.emptySubst = void 0;
|
|
21
|
+
exports.applySubst = applySubst;
|
|
22
|
+
exports.applySubstScheme = applySubstScheme;
|
|
23
|
+
exports.composeSubsts = composeSubsts;
|
|
24
|
+
exports.resetFreshSupply = resetFreshSupply;
|
|
25
|
+
exports.freshTypeVar = freshTypeVar;
|
|
26
|
+
exports.occursIn = occursIn;
|
|
27
|
+
exports.isUnifyError = isUnifyError;
|
|
28
|
+
exports.unify = unify;
|
|
29
|
+
exports.generalize = generalize;
|
|
30
|
+
exports.instantiate = instantiate;
|
|
31
|
+
const types_1 = require("./types");
|
|
32
|
+
Object.defineProperty(exports, "schemeFreeVars", { enumerable: true, get: function () { return types_1.schemeFreeVars; } });
|
|
33
|
+
const emptySubst = () => new Map();
|
|
34
|
+
exports.emptySubst = emptySubst;
|
|
35
|
+
function applySubst(t, s) {
|
|
36
|
+
if (s.size === 0)
|
|
37
|
+
return t;
|
|
38
|
+
return applySubstChase(t, s, new Set());
|
|
39
|
+
}
|
|
40
|
+
function applySubstChase(t, s, seen) {
|
|
41
|
+
switch (t.kind) {
|
|
42
|
+
case 'tvar': {
|
|
43
|
+
const r = s.get(t.name);
|
|
44
|
+
if (r === undefined)
|
|
45
|
+
return t;
|
|
46
|
+
if (seen.has(t.name))
|
|
47
|
+
return t; // guard contra cadenas cíclicas (no deberían ocurrir tras unify)
|
|
48
|
+
const nextSeen = new Set(seen);
|
|
49
|
+
nextSeen.add(t.name);
|
|
50
|
+
return applySubstChase(r, s, nextSeen);
|
|
51
|
+
}
|
|
52
|
+
case 'tconst':
|
|
53
|
+
return t;
|
|
54
|
+
case 'arrow':
|
|
55
|
+
return {
|
|
56
|
+
kind: 'arrow',
|
|
57
|
+
from: applySubstChase(t.from, s, seen),
|
|
58
|
+
to: applySubstChase(t.to, s, seen),
|
|
59
|
+
};
|
|
60
|
+
case 'tapp':
|
|
61
|
+
return {
|
|
62
|
+
kind: 'tapp',
|
|
63
|
+
fn: t.fn,
|
|
64
|
+
args: t.args.map((a) => applySubstChase(a, s, seen)),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function applySubstScheme(sc, s) {
|
|
69
|
+
if (s.size === 0)
|
|
70
|
+
return sc;
|
|
71
|
+
// No sustituir las variables ligadas por el ∀.
|
|
72
|
+
let restricted = s;
|
|
73
|
+
if (sc.forall.length > 0) {
|
|
74
|
+
restricted = new Map(s);
|
|
75
|
+
for (const b of sc.forall)
|
|
76
|
+
restricted.delete(b);
|
|
77
|
+
if (restricted.size === 0)
|
|
78
|
+
return sc;
|
|
79
|
+
}
|
|
80
|
+
return { forall: sc.forall, body: applySubst(sc.body, restricted) };
|
|
81
|
+
}
|
|
82
|
+
function composeSubsts(s1, s2) {
|
|
83
|
+
const result = new Map();
|
|
84
|
+
for (const [k, v] of s2)
|
|
85
|
+
result.set(k, applySubst(v, s1));
|
|
86
|
+
for (const [k, v] of s1) {
|
|
87
|
+
if (!result.has(k))
|
|
88
|
+
result.set(k, v);
|
|
89
|
+
}
|
|
90
|
+
return result;
|
|
91
|
+
}
|
|
92
|
+
// ---------- Generación de variables frescas ----------
|
|
93
|
+
//
|
|
94
|
+
// freshCounter es módulo-global. resetFreshSupply() permite que los
|
|
95
|
+
// tests obtengan nombres reproducibles.
|
|
96
|
+
let freshCounter = 0;
|
|
97
|
+
function resetFreshSupply() {
|
|
98
|
+
freshCounter = 0;
|
|
99
|
+
}
|
|
100
|
+
function freshTypeVar(prefix = 't') {
|
|
101
|
+
const name = `${prefix}${freshCounter++}`;
|
|
102
|
+
return { kind: 'tvar', name };
|
|
103
|
+
}
|
|
104
|
+
// ---------- Occurs check ----------
|
|
105
|
+
// α aparece en t como subtérmino? Si sí, unificarlos crearía un
|
|
106
|
+
// tipo recursivo (infinito).
|
|
107
|
+
function occursIn(name, t) {
|
|
108
|
+
switch (t.kind) {
|
|
109
|
+
case 'tvar':
|
|
110
|
+
return t.name === name;
|
|
111
|
+
case 'tconst':
|
|
112
|
+
return false;
|
|
113
|
+
case 'arrow':
|
|
114
|
+
return occursIn(name, t.from) || occursIn(name, t.to);
|
|
115
|
+
case 'tapp':
|
|
116
|
+
return t.args.some((a) => occursIn(name, a));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function isUnifyError(r) {
|
|
120
|
+
return typeof r === 'object' && r !== null && !(r instanceof Map) && 'error' in r;
|
|
121
|
+
}
|
|
122
|
+
function unify(t1, t2) {
|
|
123
|
+
if (t1.kind === 'tvar')
|
|
124
|
+
return bindVar(t1.name, t2);
|
|
125
|
+
if (t2.kind === 'tvar')
|
|
126
|
+
return bindVar(t2.name, t1);
|
|
127
|
+
if (t1.kind === 'tconst' && t2.kind === 'tconst') {
|
|
128
|
+
if (t1.name === t2.name)
|
|
129
|
+
return (0, exports.emptySubst)();
|
|
130
|
+
return { error: `cannot unify ${t1.name} with ${t2.name}` };
|
|
131
|
+
}
|
|
132
|
+
if (t1.kind === 'arrow' && t2.kind === 'arrow') {
|
|
133
|
+
const sFrom = unify(t1.from, t2.from);
|
|
134
|
+
if (isUnifyError(sFrom))
|
|
135
|
+
return sFrom;
|
|
136
|
+
const sTo = unify(applySubst(t1.to, sFrom), applySubst(t2.to, sFrom));
|
|
137
|
+
if (isUnifyError(sTo))
|
|
138
|
+
return sTo;
|
|
139
|
+
return composeSubsts(sTo, sFrom);
|
|
140
|
+
}
|
|
141
|
+
if (t1.kind === 'tapp' && t2.kind === 'tapp') {
|
|
142
|
+
if (t1.fn !== t2.fn)
|
|
143
|
+
return { error: `cannot unify ${t1.fn} with ${t2.fn}` };
|
|
144
|
+
if (t1.args.length !== t2.args.length) {
|
|
145
|
+
return {
|
|
146
|
+
error: `arity mismatch on ${t1.fn}: ${t1.args.length} vs ${t2.args.length}`,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
let s = (0, exports.emptySubst)();
|
|
150
|
+
for (let i = 0; i < t1.args.length; i++) {
|
|
151
|
+
const a1 = applySubst(t1.args[i], s);
|
|
152
|
+
const a2 = applySubst(t2.args[i], s);
|
|
153
|
+
const step = unify(a1, a2);
|
|
154
|
+
if (isUnifyError(step))
|
|
155
|
+
return step;
|
|
156
|
+
s = composeSubsts(step, s);
|
|
157
|
+
}
|
|
158
|
+
return s;
|
|
159
|
+
}
|
|
160
|
+
return {
|
|
161
|
+
error: `cannot unify ${describeKind(t1)} with ${describeKind(t2)}`,
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function describeKind(t) {
|
|
165
|
+
switch (t.kind) {
|
|
166
|
+
case 'tvar':
|
|
167
|
+
return `tvar ${t.name}`;
|
|
168
|
+
case 'tconst':
|
|
169
|
+
return t.name;
|
|
170
|
+
case 'arrow':
|
|
171
|
+
return 'function type';
|
|
172
|
+
case 'tapp':
|
|
173
|
+
return `${t.fn} type constructor`;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
function bindVar(name, t) {
|
|
177
|
+
if (t.kind === 'tvar' && t.name === name)
|
|
178
|
+
return (0, exports.emptySubst)();
|
|
179
|
+
if (occursIn(name, t)) {
|
|
180
|
+
return { error: `occurs check failed: ${name} occurs in ${(0, types_1.typeToString)(t)}` };
|
|
181
|
+
}
|
|
182
|
+
const s = new Map();
|
|
183
|
+
s.set(name, t);
|
|
184
|
+
return s;
|
|
185
|
+
}
|
|
186
|
+
// ---------- generalize / instantiate ----------
|
|
187
|
+
//
|
|
188
|
+
// generalize cierra los tipos libres que no están en el entorno: es
|
|
189
|
+
// la regla que convierte un monotipo en un esquema polimórfico. Sólo
|
|
190
|
+
// debe llamarse al tipar la RHS de un `let`.
|
|
191
|
+
//
|
|
192
|
+
// instantiate abre un esquema reemplazando cada cuantificador con una
|
|
193
|
+
// variable fresca: es la regla que vuelve a "abrir" un binding cuando
|
|
194
|
+
// se usa una variable polimórfica.
|
|
195
|
+
function generalize(envFreeVars, t) {
|
|
196
|
+
const tFv = (0, types_1.typeFreeVars)(t);
|
|
197
|
+
const quantified = [];
|
|
198
|
+
for (const v of tFv) {
|
|
199
|
+
if (!envFreeVars.has(v))
|
|
200
|
+
quantified.push(v);
|
|
201
|
+
}
|
|
202
|
+
// orden estable para que la salida sea reproducible.
|
|
203
|
+
quantified.sort();
|
|
204
|
+
return { forall: quantified, body: t };
|
|
205
|
+
}
|
|
206
|
+
function instantiate(sc) {
|
|
207
|
+
if (sc.forall.length === 0)
|
|
208
|
+
return sc.body;
|
|
209
|
+
const s = new Map();
|
|
210
|
+
for (const b of sc.forall) {
|
|
211
|
+
s.set(b, freshTypeVar('t'));
|
|
212
|
+
}
|
|
213
|
+
return applySubst(sc.body, s);
|
|
214
|
+
}
|
|
215
|
+
//# sourceMappingURL=substitution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"substitution.js","sourceRoot":"","sources":["../../../src/type-theory/hindley-milner/substitution.ts"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,0DAA0D;AAC1D,+DAA+D;AAC/D,EAAE;AACF,iEAAiE;AACjE,gDAAgD;AAChD,EAAE;AACF,uEAAuE;AACvE,wBAAwB;AACxB,EAAE;AACF,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,iCAAiC;AACjC,EAAE;AACF,8DAA8D;AAC9D,iEAAiE;;;AASjE,gCAGC;AA6BD,4CAUC;AAED,sCAOC;AAQD,4CAEC;AAED,oCAGC;AAKD,4BAWC;AAOD,oCAEC;AAED,sBAsCC;AAmCD,gCASC;AAED,kCAOC;AA9LD,mCAAqE;AAiM5D,+FAjMA,sBAAc,OAiMA;AA7LhB,MAAM,UAAU,GAAG,GAAiB,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC;AAA3C,QAAA,UAAU,cAAiC;AAExD,SAAgB,UAAU,CAAC,CAAO,EAAE,CAAe;IACjD,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IAC3B,OAAO,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED,SAAS,eAAe,CAAC,CAAO,EAAE,CAAe,EAAE,IAAiB;IAClE,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;QACf,KAAK,MAAM,CAAC,CAAC,CAAC;YACZ,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,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|
|
14
|
+
args: Type[];
|
|
15
|
+
};
|
|
16
|
+
export interface TypeScheme {
|
|
17
|
+
forall: string[];
|
|
18
|
+
body: Type;
|
|
19
|
+
}
|
|
20
|
+
export type Expr = {
|
|
21
|
+
kind: 'var';
|
|
22
|
+
name: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: 'lit';
|
|
25
|
+
value: number | boolean | string;
|
|
26
|
+
} | {
|
|
27
|
+
kind: 'app';
|
|
28
|
+
fn: Expr;
|
|
29
|
+
arg: Expr;
|
|
30
|
+
} | {
|
|
31
|
+
kind: 'lam';
|
|
32
|
+
param: string;
|
|
33
|
+
body: Expr;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'let';
|
|
36
|
+
bind: string;
|
|
37
|
+
value: Expr;
|
|
38
|
+
body: Expr;
|
|
39
|
+
} | {
|
|
40
|
+
kind: 'letRec';
|
|
41
|
+
defs: Array<{
|
|
42
|
+
name: string;
|
|
43
|
+
body: Expr;
|
|
44
|
+
}>;
|
|
45
|
+
body: Expr;
|
|
46
|
+
} | {
|
|
47
|
+
kind: 'if';
|
|
48
|
+
cond: Expr;
|
|
49
|
+
then: Expr;
|
|
50
|
+
else: Expr;
|
|
51
|
+
};
|
|
52
|
+
export declare const tVar: (name: string) => Type;
|
|
53
|
+
export declare const tConst: (name: string) => Type;
|
|
54
|
+
export declare const tArrow: (from: Type, to: Type) => Type;
|
|
55
|
+
export declare const tApp: (fn: string, ...args: Type[]) => Type;
|
|
56
|
+
export declare const scheme: (forall: string[], body: Type) => TypeScheme;
|
|
57
|
+
export declare const mono: (body: Type) => TypeScheme;
|
|
58
|
+
export declare const eVar: (name: string) => Expr;
|
|
59
|
+
export declare const eLit: (value: number | boolean | string) => Expr;
|
|
60
|
+
export declare const eApp: (fn: Expr, arg: Expr) => Expr;
|
|
61
|
+
export declare const eLam: (param: string, body: Expr) => Expr;
|
|
62
|
+
export declare const eLet: (bind: string, value: Expr, body: Expr) => Expr;
|
|
63
|
+
export declare const eLetRec: (defs: Array<{
|
|
64
|
+
name: string;
|
|
65
|
+
body: Expr;
|
|
66
|
+
}>, body: Expr) => Expr;
|
|
67
|
+
export declare const eIf: (cond: Expr, then_: Expr, else_: Expr) => Expr;
|
|
68
|
+
export declare const eAppN: (fn: Expr, ...args: Expr[]) => Expr;
|
|
69
|
+
export declare const TInt: Type;
|
|
70
|
+
export declare const TBool: Type;
|
|
71
|
+
export declare const TStr: Type;
|
|
72
|
+
export declare function typeFreeVars(t: Type, acc?: Set<string>): Set<string>;
|
|
73
|
+
export declare function schemeFreeVars(s: TypeScheme): Set<string>;
|
|
74
|
+
export declare function typeToString(t: Type): string;
|
|
75
|
+
export declare function schemeToString(s: TypeScheme): string;
|
|
76
|
+
export declare class TypeEnv {
|
|
77
|
+
readonly bindings: Map<string, TypeScheme>;
|
|
78
|
+
constructor(bindings?: Map<string, TypeScheme>);
|
|
79
|
+
extend(name: string, sc: TypeScheme): TypeEnv;
|
|
80
|
+
extendMany(entries: Array<[string, TypeScheme]>): TypeEnv;
|
|
81
|
+
lookup(name: string): TypeScheme | undefined;
|
|
82
|
+
freeVars(): Set<string>;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/type-theory/hindley-milner/types.ts"],"names":[],"mappings":"AAwBA,MAAM,MAAM,IAAI,GACZ;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,EAAE,EAAE,IAAI,CAAA;CAAE,GACvC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,EAAE,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