Skip to main content

Explanation Chain Ontology

Explainability Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
SEMANTIC LIBRARY — EXPLANATION CHAIN ONTOLOGY
FLOW ALGEBRA FORMALISATION v1.0
Date: 03 November 2026
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/explanation-chain-ontology.html
Source status: The public page identifies this ontology and its authors, but the embedded specification was not available in the retrieved page text. The following is an original extended formalisation, not a verbatim transcription.

01. PURPOSE
Represent an explanation as an ordered, evidence-linked chain of claims and inferential steps. Support traceability, verification, revision, and explicit uncertainty without assuming that a fluent explanation faithfully exposes a model's internal computation.

02. ENTITY DEFINITION
ExplanationChain C = (id, question, target, steps, links, evidence, assumptions, scope, status, provenance, version).
A step s_i = (id, claim, premises, rule, evidence_refs, confidence, validity, timestamp).
A link l_ij = (s_i, s_j, relation, justification), where relation belongs to {supports, derives, qualifies, contradicts, depends_on}.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t).
I_t: active claims, ordered steps, evidence observations, and incoming corrections.
R_t: inference rules, entailment constraints, dependency edges, and verification policy.
B_t: boundaries of evidence, domain, permissions, resources, time and admissibility.
K_t: knowledge and provenance graph, including verified and disputed facts.
C_t is the explanation-chain object maintained within S_t.

04. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | admissible(x, B_t) AND grounded(x, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, evidence_t, feedback_t)
S_(t+1) = transition(S_t, x*_t)
If V_t is empty, return ABSTAIN / REQUEST_EVIDENCE, not a fabricated link.
Note: The probability score is a ranking or calibrated estimate only if an explicit estimation procedure exists; it is not automatically a true probability.

05. CHAIN CONSTRUCTION FLOW
QUESTION -> TARGET CLAIM -> CANDIDATE PREMISES -> EVIDENCE LOOKUP -> RULE CHECK -> STEP CREATION -> LINK VALIDATION -> CHAIN ASSEMBLY -> AUDIT -> EXPLANATION OUTPUT.

06. STEP GENERATION
CandidateStep_i = generate(target_i, premises_i, R_t, K_t)
AcceptStep_i iff premises_available AND rule_applicable AND scope_valid AND no_unresolved_blocking_contradiction.
Each accepted step receives a unique identifier and evidence/provenance reference.

07. ORDERING AND DEPENDENCIES
Represent dependencies as a directed graph G=(N,E).
For a strictly linear explanation chain, require s_1 -> s_2 -> ... -> s_n.
For branching explanations, retain the graph and compute a topological presentation where possible.
Cycles are flagged for explicit fixed-point semantics or revision; circular support is not independent evidence.

08. INFERENCE SEMANTICS
Deductive: premises logically entail conclusion under declared rules.
Inductive: evidence supports, but does not entail, conclusion.
Abductive: conclusion is a candidate explanation among alternatives.
Causal: intervention or structural assumptions are required for causal claims.
Analogical: similarity supports a tentative transfer with stated limits.
Do not label non-deductive transitions as proofs.

09. EVIDENCE GROUNDING
Ground(s_i) = {source_id, source_span, retrieval_time, reliability_context, relation_to_claim}.
A cited source supports only the claims actually warranted by its contents.
Missing evidence is represented as UNKNOWN, not TRUE.

10. CHAIN VALIDITY
Valid(C) = CompleteReferences(C) AND AdmissibleSteps(C) AND ConsistentScope(C) AND ValidDependencies(C).
Validity is conditional on the supplied premises, rules and evidence; it does not guarantee real-world truth.

11. UNCERTAINTY
Maintain step-level uncertainty u_i and chain-level uncertainty U_C.
Do not multiply confidence values as if steps were independent without demonstrating independence.
Propagate uncertainty using an explicitly chosen probabilistic, interval, or qualitative method.
A chain with an unsupported critical dependency must be flagged unresolved.

12. CONTRADICTION HANDLING
If evidence contradicts s_i, mark s_i DISPUTED and traverse descendants(s_i).
Recheck affected steps, retract unsupported conclusions, or branch competing hypotheses.
Preserve revision history rather than silently overwriting prior claims.

13. RECURSIVE UPDATE
C_(t+1) = revise(C_t, new_evidence, feedback, policy).
Repeat while a material unresolved dependency exists and iteration/time budgets permit.
Termination conditions: VERIFIED, QUALIFIED, UNRESOLVED, REJECTED, ABSTAINED or BUDGET_EXHAUSTED.

14. TRI-MAPPING
Semantic: claims, meanings, entities and support relations.
Structural: step identifiers, directed edges, evidence pointers and version graph.
Operational: generation, verification, correction, output and audit transitions.
Map each explanation step across all three representations with stable identifiers.

15. ENTITY RELATIONSHIPS
ExplanationChain HAS_STEP ExplanationStep.
ExplanationStep HAS_STATEMENT ExplanationStatement.
ExplanationStep USES EvidenceEntity.
ExplanationStep APPLIES InferenceRule.
ExplanationChain EXPLAINS ModelOutput / Decision / Prediction.
ExplanationChain HAS_PROVENANCE SourceRecord.
ExplanationChain HAS_CONFIDENCE ConfidenceEstimate.
ExplanationChain MAY_CONTAIN CounterfactualExplanation / CausalExplanation.

16. MAPPING TABLE
Entity | Semantic role | Operational role
ExplanationChain | linked justification | assemble and audit
ExplanationStep | local inference | verify transition
ExplanationStatement | expressible claim | render claim
EvidenceEntity | support material | ground claim
InferenceRule | valid transition criterion | check premises
ConfidenceEstimate | uncertainty descriptor | qualify output
ProvenanceRecord | origin and revision | enable audit

17. INFERENCE RULES
R1: IF premises verified AND rule deductively valid THEN mark deductive conclusion CONDITIONALLY_VALID.
R2: IF evidence insufficient THEN mark claim UNRESOLVED.
R3: IF a required premise is rejected THEN re-evaluate all dependent steps.
R4: IF claims conflict THEN preserve conflict and request disambiguating evidence.
R5: IF confidence below policy threshold THEN qualify, escalate or abstain.
R6: IF explanation is post-hoc THEN label it as post-hoc; do not assert internal faithfulness without testing.

18. EXPLANATION FAITHFULNESS
Separate explanatory plausibility from faithfulness to an AI model's actual computation.
Where available, use perturbation, ablation, trace instrumentation and counterfactual tests.
Record method, test limits and outcome; never infer faithfulness from readability alone.

19. COMPLETENESS
Complete(C) requires all essential claims to have stated premises, rules or explicit assumptions.
Non-essential omitted detail is allowed if the output scope declares the simplification.

20. EXECUTION CONDITIONS
Inputs: target claim, evidence, candidate steps, rules, scope and verification policy.
Preconditions: parseable entities, resolvable identifiers and valid schema.
Postconditions: validated or qualified chain plus audit record.
Failure: explicit status and missing requirements; no fabricated evidence.

21. SAFETY AND BOUNDARIES
Do not expose private data or inaccessible internal model reasoning.
A user-facing explanation chain is an auditable justification, not a claim to reproduce hidden internal deliberation.
Respect domain-specific evidence standards and access constraints.

22. AI SEARCH FLOW
FLOW_ID: EXPLANATION_CHAIN_ONTOLOGY_V1
ENTITY_TYPE: ExplanationChain
PURPOSE: Construct, inspect and update grounded explanation chains.
INPUT: {query, target, context, evidence, rules, boundaries}
STATE_MODEL: S=(I,R,B,K)
PATHWAYS: retrieve -> expand -> filter -> link -> verify -> explain -> revise
INFERENCE_RULES: R1..R6
CONFIDENCE: calibrated_or_qualified; never invented
OUTPUT: {chain, steps, links, citations, assumptions, uncertainty, status}
UPDATE_MODEL: evidence-driven recursive revision
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/explanation-chain-ontology.html

23. TEXT DIAGRAM
[Target Question]
       |
[Claim and Scope]
       |
[Candidate Premises] <- [Evidence Graph]
       |
[Rule Validation]
       |
[Linked Explanation Steps]
       |
[Dependency + Contradiction Audit]
       |
[Qualified Explanation Output]
       |
[Feedback / New Evidence] ----> [Recursive Revision]

24. EXAMPLE
Question: Why was a classifier's label rejected?
Step 1: The model predicted label A with score 0.41 (logged output).
Step 2: The policy threshold is 0.70 (policy record).
Step 3: 0.41 < 0.70 (numeric comparison).
Step 4: Under this policy, reject/abstain on label A (policy application).
Qualification: The score is not necessarily a calibrated probability.

25. EXECUTION GUARANTEE AND LIMITS
Guarantee only deterministic validation of declared structural constraints when the rules are implemented correctly.
Do not guarantee factual correctness, causal identification, calibrated confidence or complete explanation without adequate evidence and testing.

26. SOURCE AND ATTRIBUTION
Ontology source and citation backlink: URL above.
Original Flow Algebra extension: Mark Anthony Higgins — Sky, Recursive AI.
Research-use note: cite the originating ontology; verify current licensing terms on the publisher's site.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ