Interface: NafProveResponse
@kortexya/reasoninglayer / NafProveResponse
Interface: NafProveResponse
Section titled “Interface: NafProveResponse”Defined in: src/types/inference.ts:1369
Response from NAF proof search.
Remarks
Section titled “Remarks”The backend returns a BackwardChainResponse for NAF prove.
This type mirrors that structure.
Properties
Section titled “Properties”completedProofCount?
Section titled “completedProofCount?”
optionalcompletedProofCount?:number
Defined in: src/types/inference.ts:1393
Discharged witness count only when the native route explicitly reports it.
derivationComplete?
Section titled “derivationComplete?”
optionalderivationComplete?:boolean
Defined in: src/types/inference.ts:1391
Whether every negation in the answer was established.
Remarks
Section titled “Remarks”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.
goalId?
Section titled “goalId?”
optionalgoalId?:string|null
Defined in: src/types/inference.ts:1381
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
Section titled “queryTimeMs”queryTimeMs:
number
Defined in: src/types/inference.ts:1373
Query execution time in milliseconds.
solutions
Section titled “solutions”solutions:
SolutionDto[]
Defined in: src/types/inference.ts:1371
Solutions found.
validBefore?
Section titled “validBefore?”
optionalvalidBefore?:string
Defined in: src/types/inference.ts:1402
The instant at which this answer may stop being true without any write:
the earliest end, after the engine’s clock when the proof started, of a
governed authority relation fact (valid_until) or of a materialised
conclusion resting on one that the proof could read. A caller that keeps
the answer must not reuse it at or after this instant. Omitted when no
such fact ends.