Skip to main content

Causal Explanation Ontology

Explainability Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
CAUSAL EXPLANATION ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Explainability Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/causal-explanation-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Formalisation date: 03 November 2026
Status: Original Flow Algebra companion formalisation; the source page exposes the ontology title and authorship but not its full dynamically rendered specification.

1. PURPOSE
Represent, test, and communicate why a change in a cause X may produce a change in an outcome Y, distinguishing causal effects from correlation and prediction. Every explanation records its assumptions, evidence, intervention, uncertainty and scope.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = available observations, intervention requests, and candidate causal claims.
R_t = directed causal relations, structural equations, and inference rules.
B_t = boundaries: population, context, time, ethics, feasibility, identifiability and permitted interventions.
K_t = established knowledge, evidence provenance, assumptions, uncertainty and explanation history.

3. ENTITIES
CausalExplanation, Cause, Effect, Variable, Confounder, Mediator, Moderator, Collider, Intervention, Counterfactual, CausalGraph, StructuralEquation, Observation, Evidence, Assumption, Mechanism, Population, Context, Outcome, Confidence, Provenance.

4. RELATIONSHIPS
Cause --causally_influences--> Effect
Confounder --causes--> Cause and Effect
Cause --acts_through--> Mediator --influences--> Effect
Moderator --modifies--> causal_effect
Intervention --sets--> Cause
CausalExplanation --supported_by--> Evidence
CausalExplanation --depends_on--> Assumption
CausalExplanation --valid_within--> Boundary
Evidence --originates_from--> Provenance

5. FORMAL FLOW ALGEBRA
Expand: E_t = expand(I_t, R_t)
Validate: V_t = {e in E_t | constraints(e,B_t) AND evidence_checks(e,K_t)}
Select: e*_t = argmax_{e in V_t} P(e | I_t,R_t,B_t,K_t)
Update: I_(t+1) = update(I_t,e*_t,observed_feedback)
Knowledge: K_(t+1) = revise(K_t,e*_t,new_evidence)
Stop when the explanation meets its specified evidence, identifiability, coherence and boundary criteria, or return an explicit unresolved state.

6. CAUSAL SEMANTICS
A directed acyclic graph G=(V,E) represents hypothesised dependencies where appropriate.
For each endogenous variable X_i: X_i := f_i(PA_i,U_i), with parents PA_i and exogenous factors U_i.
Observational quantity: P(Y | X=x).
Interventional quantity: P(Y | do(X=x)).
These are generally not equal; association alone does not establish causation.
Average treatment effect: ATE = E[Y | do(X=1)] - E[Y | do(X=0)], where defined.
Potential outcome contrast: Y(1)-Y(0), conceptually defined for the same unit though generally not jointly observed.

7. IDENTIFICATION AND VALIDATION
Check temporal order and whether a causal mechanism is plausible.
Check confounding, selection bias, collider bias, measurement error and feedback.
Use randomisation or justified identification assumptions, such as a valid adjustment set, where available.
Do not adjust for a mediator when estimating a total effect without an appropriate estimand-specific reason.
Record positivity, consistency, exchangeability and transportability assumptions when applicable.
If identification fails, label the estimate non-identifiable rather than presenting it as a causal fact.

8. INFERENCE RULES
R1: IF X precedes Y AND evidence supports a mechanism THEN retain X -> Y as a candidate, not a proven cause.
R2: IF a valid causal model and identification conditions hold THEN compute an estimand using the justified estimator.
R3: IF a back-door adjustment set Z is valid THEN P(Y|do(X=x)) = sum_z P(Y|X=x,Z=z)P(Z=z) for discrete Z.
R4: IF intervention and observational distributions differ THEN explain the distinction and potential bias.
R5: IF evidence contradicts an edge THEN revise or remove the edge, preserving provenance.
R6: IF assumptions cannot be checked THEN explicitly mark assumption-dependent conclusions.
R7: IF the requested intervention violates B_t THEN reject the intervention and offer an observational or conceptual explanation.

9. MINI RECURSION ENGINE
INPUT: query q, candidate graph G, evidence D, boundary B.
LOOP:
  identify target cause, outcome and estimand;
  expand candidate pathways and alternative explanations;
  filter by graph constraints, evidence and identification assumptions;
  estimate only identifiable effects;
  compare alternative models and uncertainty;
  update explanation graph and provenance;
  terminate on convergence, resource limit or unresolved identifiability.
OUTPUT: explanation, estimand, assumptions, supporting evidence, uncertainty, limitations and status.

10. TRI-MAPPING
Semantic: cause, effect, mechanism, evidence and explanation intent.
Structural: graph nodes, directed edges, adjustment sets, equations and provenance links.
Operational: identify -> intervene/estimate -> validate -> explain -> revise.

11. MAPPING TABLE
Input observation      -> Observation entity       -> I_t
Candidate causal edge  -> CausalGraph relation     -> R_t
Identification rule    -> Assumption/constraint    -> B_t
Supporting study       -> Evidence + Provenance    -> K_t
Estimated causal effect-> Effect estimate          -> E_t/V_t
Accepted explanation   -> CausalExplanation        -> e*_t
New contradictory data -> Knowledge revision      -> K_(t+1)

12. EXECUTION GUARANTEE — CONDITIONAL
The flow guarantees traceable decision stages and explicit failure reporting when implemented according to the specified rules. It does NOT guarantee that a causal claim is true, that an effect is identifiable, or that evidence is sufficient. Any numerical confidence requires a stated calibration or statistical basis.

13. AI SEARCH FLOW
FLOW_ID: SEMLIB-AI-EXPLAINABILITY-CAUSAL-EXPLANATION
VERSION: 1.0
LANGUAGE: en-GB
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/causal-explanation-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/causal-explanation-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Retrieve and operationalise the Causal Explanation entity within explainable AI.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Cause; Effect; Intervention; Confounder; Mediator; Evidence; CausalGraph; Explanation.
PATHWAYS: Query -> Graph -> Identification -> Estimation -> Validation -> Explanation.
MINI_RECURSION_ENGINE: Expand -> Filter -> Select -> Update -> Repeat/Stop.
INFERENCE_RULES: R1-R7 above.
CONFIDENCE: Must be evidence-based; unknown if not assessed.
SEMANTIC_EQUIVALENCE: causal explanation ~ explanation of intervention-dependent effects; NOT equivalent to correlation, feature importance or mere prediction.
FLOW_HASH: Not assigned; compute from canonical final text on publication.
UPDATE_MODEL: Version and revise when evidence, assumptions or ontology relations change.

14. HOW TO READ
Read each arrow as a proposed causal relation subject to assumptions, not merely a statistical association. The do(X=x) operator denotes an intervention that sets X to x. A failed identification check blocks a causal estimate but may still allow a carefully qualified discussion of hypotheses.

15. TEXT DIAGRAM
[Query / Evidence]
       |
       v
[Candidate Causal Graph] --> [Alternative Models]
       |
       v
[Boundary + Identification Checks]
       |
       +-- fail --> [Unresolved / Assumption-dependent]
       |
       v
[Intervention / Effect Estimation]
       |
       v
[Validation + Provenance]
       |
       v
[Causal Explanation] --> [Feedback / Graph Revision]

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ