Skip to content

Interface: LtnRefuteResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / LtnRefuteResponse

Defined in: src/types/ltn.ts:293

The refutation verdict.

verdict is one of "holds" (φ is a logical consequence of K at threshold q), "refuted" (a counter-example grounding exists — see witness), or "inconclusive" (the search found no decisive grounding). It is typed as string because the backend does not publish it as a closed enum.

if (response.verdict === 'refuted') {
console.log('counter-example:', response.witness);
}

optional bestKbSat?: number | null

Defined in: src/types/ltn.ts:297

SatAgg(K) at the search’s best attempt (inconclusive).


optional candidateSat?: number | null

Defined in: src/types/ltn.ts:299

G_θ(φ) at the decisive grounding (holds / refuted).


optional candidateSatAtBest?: number | null

Defined in: src/types/ltn.ts:301

G_θ(φ) at that same best attempt (inconclusive).


optional kbSat?: number | null

Defined in: src/types/ltn.ts:303

SatAgg(K) at the decisive grounding (holds / refuted).


verdict: string

Defined in: src/types/ltn.ts:295

"holds", "refuted", or "inconclusive".


optional witness?: LtnWitnessEntry[] | null

Defined in: src/types/ltn.ts:305

The counter-example certainty assignment over the KB rules (refuted).