Skip to content

Interface: NafProveRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / NafProveRequest

Defined in: src/types/inference.ts:1347

Request for Negation as Failure proof search.

Dual input mode: Provide EITHER literals OR goal_id. Uses LiteralInputDto (not TermInputDto) to support negated literals.

optional goalId?: string | null

Defined in: src/types/inference.ts:1351

Load a previously saved NAF goal by ID. Mutually exclusive with literals.


optional literals?: LiteralInputDto[]

Defined in: src/types/inference.ts:1349

Literals to prove (conjunction with negation support). Mutually exclusive with goal_id.


optional maxDepth?: number

Defined in: src/types/inference.ts:1353

Maximum proof depth.


optional maxSolutions?: number

Defined in: src/types/inference.ts:1355

Maximum number of solutions.


optional saveGoal?: boolean

Defined in: src/types/inference.ts:1357

Whether to persist the goal for later reuse.


optional timeoutMs?: number | null

Defined in: src/types/inference.ts:1359

Wall-clock timeout in milliseconds. Default: 30000.