gdp-wired 0.24.0 → 0.25.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/core/accel.d.ts +44 -0
- package/dist/core/accel.js +720 -0
- package/dist/core/cycles.js +428 -97
- package/dist/core/data.d.ts +8 -0
- package/dist/core/data.js +828 -95
- package/dist/core/infer.d.ts +1 -0
- package/dist/core/infer.js +298 -28
- package/dist/core/nonterm.d.ts +4 -1
- package/dist/core/nonterm.js +98 -2
- package/dist/core/relation.js +75 -3
- package/dist/core/transfer.js +1 -1
- package/dist/kernel/cdcl.d.ts +5 -0
- package/dist/kernel/cdcl.js +43 -6
- package/dist/kernel/prove.js +6 -4
- package/package.json +1 -1
package/dist/core/data.d.ts
CHANGED
|
@@ -409,6 +409,7 @@ type Scheme = {
|
|
|
409
409
|
companions?: Companion[];
|
|
410
410
|
rank?: E[];
|
|
411
411
|
shapes?: E[];
|
|
412
|
+
merged?: boolean;
|
|
412
413
|
};
|
|
413
414
|
type Companion = {
|
|
414
415
|
law: DataLaw;
|
|
@@ -432,8 +433,14 @@ export declare const lemmaCaps: {
|
|
|
432
433
|
perLemma: number;
|
|
433
434
|
total: number;
|
|
434
435
|
perCase: number;
|
|
436
|
+
spare: number;
|
|
437
|
+
joined: number;
|
|
435
438
|
};
|
|
436
439
|
export declare function conjectures(p: Program, l: DataLaw, max?: number, maxSize?: number): DataLaw[];
|
|
440
|
+
export declare function calculated(p: Program, l: DataLaw, depth?: number, max?: number): DataLaw[];
|
|
441
|
+
export declare function reduceX(x: X, fuel?: {
|
|
442
|
+
n: number;
|
|
443
|
+
}): X;
|
|
437
444
|
export declare const showX: (x: X) => string;
|
|
438
445
|
export declare const showY: (y: Y) => string;
|
|
439
446
|
export declare function proveData(l: DataLaw, opts?: Options): DataVerdict;
|
|
@@ -442,6 +449,7 @@ export type SearchCtx = {
|
|
|
442
449
|
fs: Facts;
|
|
443
450
|
base: Proven[];
|
|
444
451
|
level: number;
|
|
452
|
+
merge?: boolean;
|
|
445
453
|
};
|
|
446
454
|
export declare function searchIn(l: DataLaw, opts: Options, until: number, ctx?: SearchCtx, phase?: 'all' | 'first' | 'rest'): {
|
|
447
455
|
verdict: DataVerdict;
|