Skip to content

Interface: NafProveResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / NafProveResponse

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

Response from NAF proof search.

The backend returns a BackwardChainResponse for NAF prove. This type mirrors that structure.

optional derivationComplete?: boolean

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

Whether every negation in the answer was established.

A NAF literal whose sub-proof hit a depth, time or lookup bound “succeeds” as not-provable. Only derivationComplete: true says that each such negation was established; false means a solution may rest on a bounded, not an exhausted, sub-proof.


optional goalId?: string | null

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

Goal ID if the goal was saved (when saveGoal is true).

The engine stores the saved goal apart from the tenant’s facts: it is not visible to MATCH or to getFacts, and it is reached through listGoals / getGoal / deleteGoal.


queryTimeMs: number

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

Query execution time in milliseconds.


solutions: SolutionDto[]

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

Solutions found.