@stevenvo780/st-lang 4.5.1 → 4.5.2
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/bdd/index.d.ts +4 -0
- package/dist/bdd/index.d.ts.map +1 -0
- package/dist/bdd/index.js +29 -0
- package/dist/bdd/index.js.map +1 -0
- package/dist/bdd/manager.d.ts +122 -0
- package/dist/bdd/manager.d.ts.map +1 -0
- package/dist/bdd/manager.js +524 -0
- package/dist/bdd/manager.js.map +1 -0
- package/dist/bdd/types.d.ts +20 -0
- package/dist/bdd/types.d.ts.map +1 -0
- package/dist/bdd/types.js +28 -0
- package/dist/bdd/types.js.map +1 -0
- package/dist/game-theory/common-games.d.ts +50 -0
- package/dist/game-theory/common-games.d.ts.map +1 -0
- package/dist/game-theory/common-games.js +112 -0
- package/dist/game-theory/common-games.js.map +1 -0
- package/dist/game-theory/dominance.d.ts +26 -0
- package/dist/game-theory/dominance.d.ts.map +1 -0
- package/dist/game-theory/dominance.js +203 -0
- package/dist/game-theory/dominance.js.map +1 -0
- package/dist/game-theory/index.d.ts +8 -0
- package/dist/game-theory/index.d.ts.map +1 -0
- package/dist/game-theory/index.js +47 -0
- package/dist/game-theory/index.js.map +1 -0
- package/dist/game-theory/lemke-howson.d.ts +3 -0
- package/dist/game-theory/lemke-howson.d.ts.map +1 -0
- package/dist/game-theory/lemke-howson.js +269 -0
- package/dist/game-theory/lemke-howson.js.map +1 -0
- package/dist/game-theory/linalg.d.ts +7 -0
- package/dist/game-theory/linalg.d.ts.map +1 -0
- package/dist/game-theory/linalg.js +69 -0
- package/dist/game-theory/linalg.js.map +1 -0
- package/dist/game-theory/pure-nash.d.ts +3 -0
- package/dist/game-theory/pure-nash.d.ts.map +1 -0
- package/dist/game-theory/pure-nash.js +86 -0
- package/dist/game-theory/pure-nash.js.map +1 -0
- package/dist/game-theory/support-enumeration.d.ts +3 -0
- package/dist/game-theory/support-enumeration.d.ts.map +1 -0
- package/dist/game-theory/support-enumeration.js +214 -0
- package/dist/game-theory/support-enumeration.js.map +1 -0
- package/dist/game-theory/types.d.ts +57 -0
- package/dist/game-theory/types.d.ts.map +1 -0
- package/dist/game-theory/types.js +191 -0
- package/dist/game-theory/types.js.map +1 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -1
- package/dist/index.js.map +1 -1
- package/dist/information-theory/index.d.ts +29 -0
- package/dist/information-theory/index.d.ts.map +1 -0
- package/dist/information-theory/index.js +323 -0
- package/dist/information-theory/index.js.map +1 -0
- package/dist/namespaces/logic.d.ts +42 -0
- package/dist/namespaces/logic.d.ts.map +1 -0
- package/dist/namespaces/logic.js +112 -0
- package/dist/namespaces/logic.js.map +1 -0
- package/dist/namespaces/proof-systems.d.ts +18 -0
- package/dist/namespaces/proof-systems.d.ts.map +1 -0
- package/dist/namespaces/proof-systems.js +59 -0
- package/dist/namespaces/proof-systems.js.map +1 -0
- package/dist/namespaces/reasoning.d.ts +26 -0
- package/dist/namespaces/reasoning.d.ts.map +1 -0
- package/dist/namespaces/reasoning.js +72 -0
- package/dist/namespaces/reasoning.js.map +1 -0
- package/dist/namespaces/semantics.d.ts +21 -0
- package/dist/namespaces/semantics.d.ts.map +1 -0
- package/dist/namespaces/semantics.js +64 -0
- package/dist/namespaces/semantics.js.map +1 -0
- package/dist/namespaces/solvers.d.ts +22 -0
- package/dist/namespaces/solvers.d.ts.map +1 -0
- package/dist/namespaces/solvers.js +66 -0
- package/dist/namespaces/solvers.js.map +1 -0
- package/dist/namespaces/type-theory.d.ts +22 -0
- package/dist/namespaces/type-theory.d.ts.map +1 -0
- package/dist/namespaces/type-theory.js +65 -0
- package/dist/namespaces/type-theory.js.map +1 -0
- package/dist/optimization/branch-and-bound.d.ts +11 -0
- package/dist/optimization/branch-and-bound.d.ts.map +1 -0
- package/dist/optimization/branch-and-bound.js +311 -0
- package/dist/optimization/branch-and-bound.js.map +1 -0
- package/dist/optimization/index.d.ts +5 -0
- package/dist/optimization/index.d.ts.map +1 -0
- package/dist/optimization/index.js +20 -0
- package/dist/optimization/index.js.map +1 -0
- package/dist/optimization/simplex.d.ts +8 -0
- package/dist/optimization/simplex.d.ts.map +1 -0
- package/dist/optimization/simplex.js +408 -0
- package/dist/optimization/simplex.js.map +1 -0
- package/dist/optimization/standard-form.d.ts +11 -0
- package/dist/optimization/standard-form.d.ts.map +1 -0
- package/dist/optimization/standard-form.js +112 -0
- package/dist/optimization/standard-form.js.map +1 -0
- package/dist/optimization/types.d.ts +44 -0
- package/dist/optimization/types.d.ts.map +1 -0
- package/dist/optimization/types.js +15 -0
- package/dist/optimization/types.js.map +1 -0
- package/dist/profiles/hol/connectives.d.ts +46 -0
- package/dist/profiles/hol/connectives.d.ts.map +1 -0
- package/dist/profiles/hol/connectives.js +104 -0
- package/dist/profiles/hol/connectives.js.map +1 -0
- package/dist/profiles/hol/index.d.ts +7 -0
- package/dist/profiles/hol/index.d.ts.map +1 -0
- package/dist/profiles/hol/index.js +77 -0
- package/dist/profiles/hol/index.js.map +1 -0
- package/dist/profiles/hol/rules.d.ts +31 -0
- package/dist/profiles/hol/rules.d.ts.map +1 -0
- package/dist/profiles/hol/rules.js +258 -0
- package/dist/profiles/hol/rules.js.map +1 -0
- package/dist/profiles/hol/term.d.ts +52 -0
- package/dist/profiles/hol/term.d.ts.map +1 -0
- package/dist/profiles/hol/term.js +345 -0
- package/dist/profiles/hol/term.js.map +1 -0
- package/dist/profiles/hol/type-system.d.ts +38 -0
- package/dist/profiles/hol/type-system.d.ts.map +1 -0
- package/dist/profiles/hol/type-system.js +133 -0
- package/dist/profiles/hol/type-system.js.map +1 -0
- package/dist/profiles/hol/types.d.ts +59 -0
- package/dist/profiles/hol/types.d.ts.map +1 -0
- package/dist/profiles/hol/types.js +26 -0
- package/dist/profiles/hol/types.js.map +1 -0
- package/dist/smt-lib/ast.d.ts +138 -0
- package/dist/smt-lib/ast.d.ts.map +1 -0
- package/dist/smt-lib/ast.js +73 -0
- package/dist/smt-lib/ast.js.map +1 -0
- package/dist/smt-lib/emitter.d.ts +12 -0
- package/dist/smt-lib/emitter.d.ts.map +1 -0
- package/dist/smt-lib/emitter.js +174 -0
- package/dist/smt-lib/emitter.js.map +1 -0
- package/dist/smt-lib/index.d.ts +6 -0
- package/dist/smt-lib/index.d.ts.map +1 -0
- package/dist/smt-lib/index.js +31 -0
- package/dist/smt-lib/index.js.map +1 -0
- package/dist/smt-lib/parser.d.ts +13 -0
- package/dist/smt-lib/parser.d.ts.map +1 -0
- package/dist/smt-lib/parser.js +614 -0
- package/dist/smt-lib/parser.js.map +1 -0
- package/dist/smt-lib/tokenizer.d.ts +16 -0
- package/dist/smt-lib/tokenizer.d.ts.map +1 -0
- package/dist/smt-lib/tokenizer.js +234 -0
- package/dist/smt-lib/tokenizer.js.map +1 -0
- package/dist/tests/api/namespaces.test.d.ts +9 -0
- package/dist/tests/api/namespaces.test.d.ts.map +1 -0
- package/dist/tests/api/namespaces.test.js +218 -0
- package/dist/tests/api/namespaces.test.js.map +1 -0
- package/dist/tests/bdd/manager.test.d.ts +2 -0
- package/dist/tests/bdd/manager.test.d.ts.map +1 -0
- package/dist/tests/bdd/manager.test.js +472 -0
- package/dist/tests/bdd/manager.test.js.map +1 -0
- package/dist/tests/game-theory/game-theory.test.d.ts +2 -0
- package/dist/tests/game-theory/game-theory.test.d.ts.map +1 -0
- package/dist/tests/game-theory/game-theory.test.js +252 -0
- package/dist/tests/game-theory/game-theory.test.js.map +1 -0
- package/dist/tests/hol/hol.test.d.ts +2 -0
- package/dist/tests/hol/hol.test.d.ts.map +1 -0
- package/dist/tests/hol/hol.test.js +340 -0
- package/dist/tests/hol/hol.test.js.map +1 -0
- package/dist/tests/information-theory/information-theory.test.d.ts +2 -0
- package/dist/tests/information-theory/information-theory.test.d.ts.map +1 -0
- package/dist/tests/information-theory/information-theory.test.js +291 -0
- package/dist/tests/information-theory/information-theory.test.js.map +1 -0
- package/dist/tests/optimization/ilp.test.d.ts +2 -0
- package/dist/tests/optimization/ilp.test.d.ts.map +1 -0
- package/dist/tests/optimization/ilp.test.js +204 -0
- package/dist/tests/optimization/ilp.test.js.map +1 -0
- package/dist/tests/optimization/lp.test.d.ts +2 -0
- package/dist/tests/optimization/lp.test.d.ts.map +1 -0
- package/dist/tests/optimization/lp.test.js +224 -0
- package/dist/tests/optimization/lp.test.js.map +1 -0
- package/dist/tests/properties/agm.property.test.d.ts +2 -0
- package/dist/tests/properties/agm.property.test.d.ts.map +1 -0
- package/dist/tests/properties/agm.property.test.js +75 -0
- package/dist/tests/properties/agm.property.test.js.map +1 -0
- package/dist/tests/properties/anti-unification.property.test.d.ts +2 -0
- package/dist/tests/properties/anti-unification.property.test.d.ts.map +1 -0
- package/dist/tests/properties/anti-unification.property.test.js +43 -0
- package/dist/tests/properties/anti-unification.property.test.js.map +1 -0
- package/dist/tests/properties/argumentation.property.test.d.ts +2 -0
- package/dist/tests/properties/argumentation.property.test.d.ts.map +1 -0
- package/dist/tests/properties/argumentation.property.test.js +51 -0
- package/dist/tests/properties/argumentation.property.test.js.map +1 -0
- package/dist/tests/properties/bayesian.property.test.d.ts +2 -0
- package/dist/tests/properties/bayesian.property.test.d.ts.map +1 -0
- package/dist/tests/properties/bayesian.property.test.js +32 -0
- package/dist/tests/properties/bayesian.property.test.js.map +1 -0
- package/dist/tests/properties/bisimulation.property.test.d.ts +2 -0
- package/dist/tests/properties/bisimulation.property.test.d.ts.map +1 -0
- package/dist/tests/properties/bisimulation.property.test.js +50 -0
- package/dist/tests/properties/bisimulation.property.test.js.map +1 -0
- package/dist/tests/properties/cdcl.property.test.d.ts +2 -0
- package/dist/tests/properties/cdcl.property.test.d.ts.map +1 -0
- package/dist/tests/properties/cdcl.property.test.js +70 -0
- package/dist/tests/properties/cdcl.property.test.js.map +1 -0
- package/dist/tests/properties/coinduction.property.test.d.ts +2 -0
- package/dist/tests/properties/coinduction.property.test.d.ts.map +1 -0
- package/dist/tests/properties/coinduction.property.test.js +34 -0
- package/dist/tests/properties/coinduction.property.test.js.map +1 -0
- package/dist/tests/properties/constructive-reals.property.test.d.ts +2 -0
- package/dist/tests/properties/constructive-reals.property.test.d.ts.map +1 -0
- package/dist/tests/properties/constructive-reals.property.test.js +59 -0
- package/dist/tests/properties/constructive-reals.property.test.js.map +1 -0
- package/dist/tests/properties/csp.property.test.d.ts +2 -0
- package/dist/tests/properties/csp.property.test.d.ts.map +1 -0
- package/dist/tests/properties/csp.property.test.js +58 -0
- package/dist/tests/properties/csp.property.test.js.map +1 -0
- package/dist/tests/properties/generators.d.ts +78 -0
- package/dist/tests/properties/generators.d.ts.map +1 -0
- package/dist/tests/properties/generators.js +348 -0
- package/dist/tests/properties/generators.js.map +1 -0
- package/dist/tests/properties/ho-unify.property.test.d.ts +2 -0
- package/dist/tests/properties/ho-unify.property.test.d.ts.map +1 -0
- package/dist/tests/properties/ho-unify.property.test.js +46 -0
- package/dist/tests/properties/ho-unify.property.test.js.map +1 -0
- package/dist/tests/properties/hyperreal.property.test.d.ts +2 -0
- package/dist/tests/properties/hyperreal.property.test.d.ts.map +1 -0
- package/dist/tests/properties/hyperreal.property.test.js +33 -0
- package/dist/tests/properties/hyperreal.property.test.js.map +1 -0
- package/dist/tests/properties/intuit-nj.property.test.d.ts +2 -0
- package/dist/tests/properties/intuit-nj.property.test.d.ts.map +1 -0
- package/dist/tests/properties/intuit-nj.property.test.js +57 -0
- package/dist/tests/properties/intuit-nj.property.test.js.map +1 -0
- package/dist/tests/properties/lambda-calc.property.test.d.ts +2 -0
- package/dist/tests/properties/lambda-calc.property.test.d.ts.map +1 -0
- package/dist/tests/properties/lambda-calc.property.test.js +35 -0
- package/dist/tests/properties/lambda-calc.property.test.js.map +1 -0
- package/dist/tests/properties/mln.property.test.d.ts +2 -0
- package/dist/tests/properties/mln.property.test.d.ts.map +1 -0
- package/dist/tests/properties/mln.property.test.js +41 -0
- package/dist/tests/properties/mln.property.test.js.map +1 -0
- package/dist/tests/properties/mltt.property.test.d.ts +2 -0
- package/dist/tests/properties/mltt.property.test.d.ts.map +1 -0
- package/dist/tests/properties/mltt.property.test.js +33 -0
- package/dist/tests/properties/mltt.property.test.js.map +1 -0
- package/dist/tests/properties/nbe.property.test.d.ts +2 -0
- package/dist/tests/properties/nbe.property.test.d.ts.map +1 -0
- package/dist/tests/properties/nbe.property.test.js +44 -0
- package/dist/tests/properties/nbe.property.test.js.map +1 -0
- package/dist/tests/properties/planning.property.test.d.ts +2 -0
- package/dist/tests/properties/planning.property.test.d.ts.map +1 -0
- package/dist/tests/properties/planning.property.test.js +51 -0
- package/dist/tests/properties/planning.property.test.js.map +1 -0
- package/dist/tests/properties/profile-bridge.property.test.d.ts +2 -0
- package/dist/tests/properties/profile-bridge.property.test.d.ts.map +1 -0
- package/dist/tests/properties/profile-bridge.property.test.js +71 -0
- package/dist/tests/properties/profile-bridge.property.test.js.map +1 -0
- package/dist/tests/properties/refinement-types.property.test.d.ts +2 -0
- package/dist/tests/properties/refinement-types.property.test.d.ts.map +1 -0
- package/dist/tests/properties/refinement-types.property.test.js +37 -0
- package/dist/tests/properties/refinement-types.property.test.js.map +1 -0
- package/dist/tests/properties/sequent-g3.property.test.d.ts +2 -0
- package/dist/tests/properties/sequent-g3.property.test.d.ts.map +1 -0
- package/dist/tests/properties/sequent-g3.property.test.js +34 -0
- package/dist/tests/properties/sequent-g3.property.test.js.map +1 -0
- package/dist/tests/properties/symbolic-diff.property.test.d.ts +2 -0
- package/dist/tests/properties/symbolic-diff.property.test.d.ts.map +1 -0
- package/dist/tests/properties/symbolic-diff.property.test.js +49 -0
- package/dist/tests/properties/symbolic-diff.property.test.js.map +1 -0
- package/dist/tests/properties/system-f.property.test.d.ts +2 -0
- package/dist/tests/properties/system-f.property.test.d.ts.map +1 -0
- package/dist/tests/properties/system-f.property.test.js +37 -0
- package/dist/tests/properties/system-f.property.test.js.map +1 -0
- package/dist/tests/properties/theorem-cache.property.test.d.ts +2 -0
- package/dist/tests/properties/theorem-cache.property.test.d.ts.map +1 -0
- package/dist/tests/properties/theorem-cache.property.test.js +38 -0
- package/dist/tests/properties/theorem-cache.property.test.js.map +1 -0
- package/dist/tests/properties/trs.property.test.d.ts +2 -0
- package/dist/tests/properties/trs.property.test.d.ts.map +1 -0
- package/dist/tests/properties/trs.property.test.js +34 -0
- package/dist/tests/properties/trs.property.test.js.map +1 -0
- package/dist/tests/properties/unification.property.test.d.ts +2 -0
- package/dist/tests/properties/unification.property.test.d.ts.map +1 -0
- package/dist/tests/properties/unification.property.test.js +42 -0
- package/dist/tests/properties/unification.property.test.js.map +1 -0
- package/dist/tests/smt-lib/emitter.test.d.ts +2 -0
- package/dist/tests/smt-lib/emitter.test.d.ts.map +1 -0
- package/dist/tests/smt-lib/emitter.test.js +155 -0
- package/dist/tests/smt-lib/emitter.test.js.map +1 -0
- package/dist/tests/smt-lib/parser.test.d.ts +2 -0
- package/dist/tests/smt-lib/parser.test.d.ts.map +1 -0
- package/dist/tests/smt-lib/parser.test.js +164 -0
- package/dist/tests/smt-lib/parser.test.js.map +1 -0
- package/dist/tests/smt-lib/tokenizer.test.d.ts +2 -0
- package/dist/tests/smt-lib/tokenizer.test.d.ts.map +1 -0
- package/dist/tests/smt-lib/tokenizer.test.js +59 -0
- package/dist/tests/smt-lib/tokenizer.test.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Namespace: Reasoning
|
|
3
|
+
*
|
|
4
|
+
* Razonamiento no-monótono, probabilístico, abductivo y herramientas
|
|
5
|
+
* de manipulación simbólica. Argumentación Dung, revisión de creencias AGM,
|
|
6
|
+
* abducción, lógica de Markov, redes Bayesianas, citation reasoning,
|
|
7
|
+
* análisis hyperreal, cache de teoremas, anti-unificación, term-rewriting.
|
|
8
|
+
*
|
|
9
|
+
* Importa así:
|
|
10
|
+
* import { Reasoning } from '@stevenvo780/st-lang';
|
|
11
|
+
* const ext = Reasoning.argumentation.computeExtensions(af, 'grounded');
|
|
12
|
+
* const cited = Reasoning.citationReasoning.deriveWithCitations(claims, ev);
|
|
13
|
+
*/
|
|
14
|
+
import * as argumentation from '../argumentation';
|
|
15
|
+
import * as beliefRevision from '../belief-revision';
|
|
16
|
+
import * as abduction from '../runtime/abduction';
|
|
17
|
+
import * as markovLogic from '../runtime/markov-logic';
|
|
18
|
+
import * as bayesian from '../runtime/bayesian';
|
|
19
|
+
import * as citationReasoning from '../citation-reasoning';
|
|
20
|
+
import * as hyperreal from '../hyperreal';
|
|
21
|
+
import * as antiUnification from '../runtime/anti-unification';
|
|
22
|
+
import * as termRewriting from '../runtime/term-rewriting';
|
|
23
|
+
export { argumentation, beliefRevision, abduction, markovLogic, bayesian, citationReasoning, hyperreal, antiUnification, termRewriting, };
|
|
24
|
+
export { TheoremCache, tryReuseProof } from '../runtime/theorem-cache';
|
|
25
|
+
export type { CachedTheorem, CacheOptions as TheoremCacheOptions, CacheStats as TheoremCacheStats, ReuseResult as TheoremReuseResult, } from '../runtime/theorem-cache';
|
|
26
|
+
//# sourceMappingURL=reasoning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reasoning.d.ts","sourceRoot":"","sources":["../../src/namespaces/reasoning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,cAAc,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,iBAAiB,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EACL,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,QAAQ,EACR,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,aAAa,GACd,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EACV,aAAa,EACb,YAAY,IAAI,mBAAmB,EACnC,UAAU,IAAI,iBAAiB,EAC/B,WAAW,IAAI,kBAAkB,GAClC,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Namespace: Reasoning
|
|
4
|
+
*
|
|
5
|
+
* Razonamiento no-monótono, probabilístico, abductivo y herramientas
|
|
6
|
+
* de manipulación simbólica. Argumentación Dung, revisión de creencias AGM,
|
|
7
|
+
* abducción, lógica de Markov, redes Bayesianas, citation reasoning,
|
|
8
|
+
* análisis hyperreal, cache de teoremas, anti-unificación, term-rewriting.
|
|
9
|
+
*
|
|
10
|
+
* Importa así:
|
|
11
|
+
* import { Reasoning } from '@stevenvo780/st-lang';
|
|
12
|
+
* const ext = Reasoning.argumentation.computeExtensions(af, 'grounded');
|
|
13
|
+
* const cited = Reasoning.citationReasoning.deriveWithCitations(claims, ev);
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.tryReuseProof = exports.TheoremCache = exports.termRewriting = exports.antiUnification = exports.hyperreal = exports.citationReasoning = exports.bayesian = exports.markovLogic = exports.abduction = exports.beliefRevision = exports.argumentation = void 0;
|
|
50
|
+
const argumentation = __importStar(require("../argumentation"));
|
|
51
|
+
exports.argumentation = argumentation;
|
|
52
|
+
const beliefRevision = __importStar(require("../belief-revision"));
|
|
53
|
+
exports.beliefRevision = beliefRevision;
|
|
54
|
+
const abduction = __importStar(require("../runtime/abduction"));
|
|
55
|
+
exports.abduction = abduction;
|
|
56
|
+
const markovLogic = __importStar(require("../runtime/markov-logic"));
|
|
57
|
+
exports.markovLogic = markovLogic;
|
|
58
|
+
const bayesian = __importStar(require("../runtime/bayesian"));
|
|
59
|
+
exports.bayesian = bayesian;
|
|
60
|
+
const citationReasoning = __importStar(require("../citation-reasoning"));
|
|
61
|
+
exports.citationReasoning = citationReasoning;
|
|
62
|
+
const hyperreal = __importStar(require("../hyperreal"));
|
|
63
|
+
exports.hyperreal = hyperreal;
|
|
64
|
+
const antiUnification = __importStar(require("../runtime/anti-unification"));
|
|
65
|
+
exports.antiUnification = antiUnification;
|
|
66
|
+
const termRewriting = __importStar(require("../runtime/term-rewriting"));
|
|
67
|
+
exports.termRewriting = termRewriting;
|
|
68
|
+
// Theorem cache (proof reuse persistente) — re-export plano por uso frecuente.
|
|
69
|
+
var theorem_cache_1 = require("../runtime/theorem-cache");
|
|
70
|
+
Object.defineProperty(exports, "TheoremCache", { enumerable: true, get: function () { return theorem_cache_1.TheoremCache; } });
|
|
71
|
+
Object.defineProperty(exports, "tryReuseProof", { enumerable: true, get: function () { return theorem_cache_1.tryReuseProof; } });
|
|
72
|
+
//# sourceMappingURL=reasoning.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reasoning.js","sourceRoot":"","sources":["../../src/namespaces/reasoning.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,gEAAkD;AAWhD,sCAAa;AAVf,mEAAqD;AAWnD,wCAAc;AAVhB,gEAAkD;AAWhD,8BAAS;AAVX,qEAAuD;AAWrD,kCAAW;AAVb,8DAAgD;AAW9C,4BAAQ;AAVV,yEAA2D;AAWzD,8CAAiB;AAVnB,wDAA0C;AAWxC,8BAAS;AAVX,6EAA+D;AAW7D,0CAAe;AAVjB,yEAA2D;AAWzD,sCAAa;AAGf,+EAA+E;AAC/E,0DAAuE;AAA9D,6GAAA,YAAY,OAAA;AAAE,8GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Namespace: Semantics
|
|
3
|
+
*
|
|
4
|
+
* Capas semánticas y puentes de interpretación: text-layer (claims/passages
|
|
5
|
+
* con grafo de dependencias), MDX bridge, game semantics dialógico (IPC
|
|
6
|
+
* Lorenzen-Felscher), profile-bridge (traducciones entre lógicas), y
|
|
7
|
+
* coinducción (streams, bisimulación).
|
|
8
|
+
*
|
|
9
|
+
* Importa así:
|
|
10
|
+
* import { Semantics } from '@stevenvo780/st-lang';
|
|
11
|
+
* const state = Semantics.textLayer.createTextLayerState();
|
|
12
|
+
* const win = Semantics.gameSemantics.winningStrategy(formula);
|
|
13
|
+
*/
|
|
14
|
+
import * as textLayerCompiler from '../text-layer/compiler';
|
|
15
|
+
import * as textLayerV2 from '../text-layer/v2';
|
|
16
|
+
import * as gameSemantics from '../game-semantics';
|
|
17
|
+
import * as profileBridge from '../profile-bridge';
|
|
18
|
+
import * as coinduction from '../coinduction';
|
|
19
|
+
export { textLayerCompiler, textLayerV2, gameSemantics, profileBridge, coinduction, };
|
|
20
|
+
export declare const textLayer: typeof textLayerCompiler;
|
|
21
|
+
//# sourceMappingURL=semantics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semantics.d.ts","sourceRoot":"","sources":["../../src/namespaces/semantics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAE5D,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAEhD,OAAO,KAAK,aAAa,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,GACZ,CAAC;AAGF,eAAO,MAAM,SAAS,0BAAoB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Namespace: Semantics
|
|
4
|
+
*
|
|
5
|
+
* Capas semánticas y puentes de interpretación: text-layer (claims/passages
|
|
6
|
+
* con grafo de dependencias), MDX bridge, game semantics dialógico (IPC
|
|
7
|
+
* Lorenzen-Felscher), profile-bridge (traducciones entre lógicas), y
|
|
8
|
+
* coinducción (streams, bisimulación).
|
|
9
|
+
*
|
|
10
|
+
* Importa así:
|
|
11
|
+
* import { Semantics } from '@stevenvo780/st-lang';
|
|
12
|
+
* const state = Semantics.textLayer.createTextLayerState();
|
|
13
|
+
* const win = Semantics.gameSemantics.winningStrategy(formula);
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.textLayer = exports.coinduction = exports.profileBridge = exports.gameSemantics = exports.textLayerV2 = exports.textLayerCompiler = void 0;
|
|
50
|
+
// Text layer v1 — compilador legacy
|
|
51
|
+
const textLayerCompiler = __importStar(require("../text-layer/compiler"));
|
|
52
|
+
exports.textLayerCompiler = textLayerCompiler;
|
|
53
|
+
// Text layer v2 — grafo de claims con dependencias
|
|
54
|
+
const textLayerV2 = __importStar(require("../text-layer/v2"));
|
|
55
|
+
exports.textLayerV2 = textLayerV2;
|
|
56
|
+
const gameSemantics = __importStar(require("../game-semantics"));
|
|
57
|
+
exports.gameSemantics = gameSemantics;
|
|
58
|
+
const profileBridge = __importStar(require("../profile-bridge"));
|
|
59
|
+
exports.profileBridge = profileBridge;
|
|
60
|
+
const coinduction = __importStar(require("../coinduction"));
|
|
61
|
+
exports.coinduction = coinduction;
|
|
62
|
+
// Aliases convenientes — text-layer flat para coincidir con flat exports.
|
|
63
|
+
exports.textLayer = textLayerCompiler;
|
|
64
|
+
//# sourceMappingURL=semantics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semantics.js","sourceRoot":"","sources":["../../src/namespaces/semantics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oCAAoC;AACpC,0EAA4D;AAS1D,8CAAiB;AARnB,mDAAmD;AACnD,8DAAgD;AAQ9C,kCAAW;AANb,iEAAmD;AAOjD,sCAAa;AANf,iEAAmD;AAOjD,sCAAa;AANf,4DAA8C;AAO5C,kCAAW;AAGb,0EAA0E;AAC7D,QAAA,SAAS,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Namespace: Solvers
|
|
3
|
+
*
|
|
4
|
+
* Solvers de decisión combinatoria: SAT (CDCL v1/v2 + incremental),
|
|
5
|
+
* SMT bridge, CSP (AC-3 + backtracking + builtins), MUS (minimal
|
|
6
|
+
* unsat subsets), pool de evaluación paralela.
|
|
7
|
+
*
|
|
8
|
+
* Importa así:
|
|
9
|
+
* import { Solvers } from '@stevenvo780/st-lang';
|
|
10
|
+
* const r = Solvers.cdclV2.solveCDCLv2(cnf);
|
|
11
|
+
* const mus = Solvers.mus.extractMUS(clauses);
|
|
12
|
+
*/
|
|
13
|
+
import * as cdclV2 from '../solver/cdcl-v2';
|
|
14
|
+
import * as cdclV2Incremental from '../solver/cdcl-v2-incremental';
|
|
15
|
+
import * as csp from '../runtime/csp';
|
|
16
|
+
import * as mus from '../runtime/mus';
|
|
17
|
+
import * as smt from '../runtime/smt';
|
|
18
|
+
import * as parallel from '../runtime/parallel';
|
|
19
|
+
export { cdclV2, cdclV2Incremental, csp, mus, smt, parallel };
|
|
20
|
+
export { solveCDCLv2 } from '../solver/cdcl-v2';
|
|
21
|
+
export { IncrementalCDCL } from '../solver/cdcl-v2-incremental';
|
|
22
|
+
//# sourceMappingURL=solvers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solvers.d.ts","sourceRoot":"","sources":["../../src/namespaces/solvers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC;AAG9D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Namespace: Solvers
|
|
4
|
+
*
|
|
5
|
+
* Solvers de decisión combinatoria: SAT (CDCL v1/v2 + incremental),
|
|
6
|
+
* SMT bridge, CSP (AC-3 + backtracking + builtins), MUS (minimal
|
|
7
|
+
* unsat subsets), pool de evaluación paralela.
|
|
8
|
+
*
|
|
9
|
+
* Importa así:
|
|
10
|
+
* import { Solvers } from '@stevenvo780/st-lang';
|
|
11
|
+
* const r = Solvers.cdclV2.solveCDCLv2(cnf);
|
|
12
|
+
* const mus = Solvers.mus.extractMUS(clauses);
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
17
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
18
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(o, k2, desc);
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
31
|
+
var ownKeys = function(o) {
|
|
32
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
33
|
+
var ar = [];
|
|
34
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
35
|
+
return ar;
|
|
36
|
+
};
|
|
37
|
+
return ownKeys(o);
|
|
38
|
+
};
|
|
39
|
+
return function (mod) {
|
|
40
|
+
if (mod && mod.__esModule) return mod;
|
|
41
|
+
var result = {};
|
|
42
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
43
|
+
__setModuleDefault(result, mod);
|
|
44
|
+
return result;
|
|
45
|
+
};
|
|
46
|
+
})();
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.IncrementalCDCL = exports.solveCDCLv2 = exports.parallel = exports.smt = exports.mus = exports.csp = exports.cdclV2Incremental = exports.cdclV2 = void 0;
|
|
49
|
+
const cdclV2 = __importStar(require("../solver/cdcl-v2"));
|
|
50
|
+
exports.cdclV2 = cdclV2;
|
|
51
|
+
const cdclV2Incremental = __importStar(require("../solver/cdcl-v2-incremental"));
|
|
52
|
+
exports.cdclV2Incremental = cdclV2Incremental;
|
|
53
|
+
const csp = __importStar(require("../runtime/csp"));
|
|
54
|
+
exports.csp = csp;
|
|
55
|
+
const mus = __importStar(require("../runtime/mus"));
|
|
56
|
+
exports.mus = mus;
|
|
57
|
+
const smt = __importStar(require("../runtime/smt"));
|
|
58
|
+
exports.smt = smt;
|
|
59
|
+
const parallel = __importStar(require("../runtime/parallel"));
|
|
60
|
+
exports.parallel = parallel;
|
|
61
|
+
// Conveniencia: símbolos populares re-expuestos en raíz del namespace.
|
|
62
|
+
var cdcl_v2_1 = require("../solver/cdcl-v2");
|
|
63
|
+
Object.defineProperty(exports, "solveCDCLv2", { enumerable: true, get: function () { return cdcl_v2_1.solveCDCLv2; } });
|
|
64
|
+
var cdcl_v2_incremental_1 = require("../solver/cdcl-v2-incremental");
|
|
65
|
+
Object.defineProperty(exports, "IncrementalCDCL", { enumerable: true, get: function () { return cdcl_v2_incremental_1.IncrementalCDCL; } });
|
|
66
|
+
//# sourceMappingURL=solvers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solvers.js","sourceRoot":"","sources":["../../src/namespaces/solvers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAA4C;AAOnC,wBAAM;AANf,iFAAmE;AAMlD,8CAAiB;AALlC,oDAAsC;AAKF,kBAAG;AAJvC,oDAAsC;AAIG,kBAAG;AAH5C,oDAAsC;AAGQ,kBAAG;AAFjD,8DAAgD;AAEG,4BAAQ;AAE3D,uEAAuE;AACvE,6CAAgD;AAAvC,sGAAA,WAAW,OAAA;AACpB,qEAAgE;AAAvD,sHAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Namespace: TypeTheory
|
|
3
|
+
*
|
|
4
|
+
* Sistemas de tipos y cálculos lambda — correspondencia Curry-Howard,
|
|
5
|
+
* System F polimórfico, MLTT (Martin-Löf), λ-calc puro, combinadores SKI,
|
|
6
|
+
* NBE (normalization by evaluation), refinement types.
|
|
7
|
+
*
|
|
8
|
+
* Importa así:
|
|
9
|
+
* import { TypeTheory } from '@stevenvo780/st-lang';
|
|
10
|
+
* const t = TypeTheory.systemF.typeOf(term);
|
|
11
|
+
* const proof = TypeTheory.curryHoward.termToProof(lam);
|
|
12
|
+
*/
|
|
13
|
+
import * as curryHoward from '../curry-howard';
|
|
14
|
+
import * as systemF from '../system-f';
|
|
15
|
+
import * as mltt from '../mltt';
|
|
16
|
+
import * as lambdaCalc from '../lambda-calc';
|
|
17
|
+
import * as combinatorsSKI from '../combinators-ski';
|
|
18
|
+
import * as nbe from '../nbe';
|
|
19
|
+
import * as refinementTypes from '../refinement-types';
|
|
20
|
+
import * as higherOrderUnify from '../higher-order-unify';
|
|
21
|
+
export { curryHoward, systemF, mltt, lambdaCalc, combinatorsSKI, nbe, refinementTypes, higherOrderUnify, };
|
|
22
|
+
//# sourceMappingURL=type-theory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-theory.d.ts","sourceRoot":"","sources":["../../src/namespaces/type-theory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,cAAc,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAC9B,OAAO,KAAK,eAAe,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,UAAU,EACV,cAAc,EACd,GAAG,EACH,eAAe,EACf,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Namespace: TypeTheory
|
|
4
|
+
*
|
|
5
|
+
* Sistemas de tipos y cálculos lambda — correspondencia Curry-Howard,
|
|
6
|
+
* System F polimórfico, MLTT (Martin-Löf), λ-calc puro, combinadores SKI,
|
|
7
|
+
* NBE (normalization by evaluation), refinement types.
|
|
8
|
+
*
|
|
9
|
+
* Importa así:
|
|
10
|
+
* import { TypeTheory } from '@stevenvo780/st-lang';
|
|
11
|
+
* const t = TypeTheory.systemF.typeOf(term);
|
|
12
|
+
* const proof = TypeTheory.curryHoward.termToProof(lam);
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
17
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
18
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(o, k2, desc);
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
31
|
+
var ownKeys = function(o) {
|
|
32
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
33
|
+
var ar = [];
|
|
34
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
35
|
+
return ar;
|
|
36
|
+
};
|
|
37
|
+
return ownKeys(o);
|
|
38
|
+
};
|
|
39
|
+
return function (mod) {
|
|
40
|
+
if (mod && mod.__esModule) return mod;
|
|
41
|
+
var result = {};
|
|
42
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
43
|
+
__setModuleDefault(result, mod);
|
|
44
|
+
return result;
|
|
45
|
+
};
|
|
46
|
+
})();
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.higherOrderUnify = exports.refinementTypes = exports.nbe = exports.combinatorsSKI = exports.lambdaCalc = exports.mltt = exports.systemF = exports.curryHoward = void 0;
|
|
49
|
+
const curryHoward = __importStar(require("../curry-howard"));
|
|
50
|
+
exports.curryHoward = curryHoward;
|
|
51
|
+
const systemF = __importStar(require("../system-f"));
|
|
52
|
+
exports.systemF = systemF;
|
|
53
|
+
const mltt = __importStar(require("../mltt"));
|
|
54
|
+
exports.mltt = mltt;
|
|
55
|
+
const lambdaCalc = __importStar(require("../lambda-calc"));
|
|
56
|
+
exports.lambdaCalc = lambdaCalc;
|
|
57
|
+
const combinatorsSKI = __importStar(require("../combinators-ski"));
|
|
58
|
+
exports.combinatorsSKI = combinatorsSKI;
|
|
59
|
+
const nbe = __importStar(require("../nbe"));
|
|
60
|
+
exports.nbe = nbe;
|
|
61
|
+
const refinementTypes = __importStar(require("../refinement-types"));
|
|
62
|
+
exports.refinementTypes = refinementTypes;
|
|
63
|
+
const higherOrderUnify = __importStar(require("../higher-order-unify"));
|
|
64
|
+
exports.higherOrderUnify = higherOrderUnify;
|
|
65
|
+
//# sourceMappingURL=type-theory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-theory.js","sourceRoot":"","sources":["../../src/namespaces/type-theory.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6DAA+C;AAU7C,kCAAW;AATb,qDAAuC;AAUrC,0BAAO;AATT,8CAAgC;AAU9B,oBAAI;AATN,2DAA6C;AAU3C,gCAAU;AATZ,mEAAqD;AAUnD,wCAAc;AAThB,4CAA8B;AAU5B,kBAAG;AATL,qEAAuD;AAUrD,0CAAe;AATjB,wEAA0D;AAUxD,4CAAgB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ILPOptions, ILPProblem, ILPSolution, LPProblem } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Genera el LP relajado: descarta integerVars/binaryVars pero
|
|
4
|
+
* mantiene `variableBounds` (los binarios ya tienen [0,1] ahí).
|
|
5
|
+
*/
|
|
6
|
+
export declare function lpRelaxation(ilp: ILPProblem): LPProblem;
|
|
7
|
+
/**
|
|
8
|
+
* Solver ILP principal. Estrategia DFS con pila explícita.
|
|
9
|
+
*/
|
|
10
|
+
export declare function solveILP(problem: ILPProblem, opts?: ILPOptions): ILPSolution;
|
|
11
|
+
//# sourceMappingURL=branch-and-bound.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-and-bound.d.ts","sourceRoot":"","sources":["../../src/optimization/branch-and-bound.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAM9E;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,CA+BvD;AAmGD;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,GAAE,UAAe,GAAG,WAAW,CAgKhF"}
|