Skip to content

Interface: NafProveRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / NafProveRequest

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

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:1102

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


optional literals?: LiteralInputDto[]

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

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


optional maxDepth?: number

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

Maximum proof depth.


optional maxSolutions?: number

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

Maximum number of solutions.


optional saveGoal?: boolean

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

Whether to persist the goal for later reuse.


optional timeoutMs?: number | null

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

Wall-clock timeout in milliseconds. Default: 30000.