Skip to main content

Causal Intervention Ontology

Causality Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
CAUSAL INTERVENTION ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-03
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/causality-concepts/causal-intervention-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Causality Concepts
Status: Proposed formalisation; not a verified transcription or executable grammar.

1. CANONICAL DEFINITION

A causal intervention is a specified modification of the generating process of a causal system, intended to establish or alter a target variable, mechanism or policy. An intervention is distinct from observation, which records or conditions on a variable without necessarily modifying its generating process.
An intervention specification, its execution, its observed outcome and its inferred causal effect are separate entities. A hypothetical intervention need not be physically executable. An executed intervention need not achieve its intended target state.

2. ENTITY MODEL

I = (id, version, target, operation, model, context, baseline, time, duration, scope, constraints, evidence, status)
Target: variable, mechanism, edge or policy with stable identity.
Operation: replacement rule, assignment, distribution or policy.
Model: versioned causal model with declared abstraction and boundary.
Context: population, environment, admissible states and assumptions.
Baseline: explicitly specified comparison regime.
Time and duration: onset, persistence and observation horizon.
Scope: affected units and permitted propagation.
Constraints: feasibility, safety, authority and resource restrictions.
Evidence: provenance-linked observations and identification assumptions.
Status: proposed, authorised, executed, failed, cancelled or hypothetical.
Effect assessment status: established, rejected, unknown, disputed or not applicable.
An execution record includes achieved assignment, deviations, timestamps and monitoring results. It must not overwrite the original specification.

3. CLASSIFICATION

Hard intervention: replaces a target structural equation with a constant assignment.
Soft intervention: modifies a target mechanism while potentially retaining parent dependence.
Stochastic intervention: assigns a target according to a specified probability kernel.
Policy intervention: assigns values using admissible information available at decision time.
Joint intervention: modifies multiple targets under one compatible regime.
Sequential intervention: modifies targets at ordered times, possibly using observed history.
Mechanism intervention: replaces a structural function rather than fixing its output.
Edge intervention: changes a specified input along an edge; requires explicit edge-level semantics and identification assumptions.
Preventive intervention: aims to reduce an undesirable outcome; success is an empirical question.
Simulated intervention: modifies a model without claiming physical execution.

4. LOCAL FLOW ALGEBRA NOTATION

A →[F] B denotes a typed transformation. G ∘ F applies F before G. These operators are proposed local notation, not verified published grammar.
SPECIFY : Goal × Model × Context → InterventionSpec
CHECK : InterventionSpec × Constraints → ValidationRecord
REPLACE : Model × InterventionSpec → ModifiedModel
PROPAGATE : ModifiedModel × ExogenousState → OutcomeState
DISTRIBUTE : ModifiedModel × ExogenousDistribution → OutcomeDistribution
COMPARE : OutcomeDistribution × BaselineDistribution × Estimand → EffectEstimate
IDENTIFY : Model × Estimand × Assumptions → IdentificationRecord
ESTIMATE : IdentificationRecord × Data → EstimateWithUncertainty
AUTHORISE : InterventionSpec × AuthorityRecord → AuthorisationDecision
EXECUTE : AuthorisedSpec × System → ExecutionRecord
OBSERVE : ExecutionRecord × MeasurementPlan → ObservationRecord
REVISE : Model × EvidenceDelta → CandidateModel
VALIDATE : CandidateModel × Constraints × Evidence → ValidationRecord
COMMIT : ValidatedCandidate × VersionStore → VersionedModel
Unknown or rejected validation must not be silently converted into authorisation.

5. COMPOSITE FLOWS

Hypothetical analysis:
Goal →[SPECIFY] I →[CHECK] V →[REPLACE if valid] M_I →[DISTRIBUTE] P_I →[COMPARE with baseline] Δ.
Empirical inference:
Estimand + Model + Assumptions →[IDENTIFY] IdentificationRecord →[ESTIMATE with data] EstimateWithUncertainty.
Physical execution:
I →[CHECK] V →[AUTHORISE] A →[EXECUTE if permitted] R →[OBSERVE] O.
Model prediction and physical execution are independent branches; compare predictions with observations only after checking regime fidelity and measurement compatibility.
Joint interventions on disjoint equations may commute in a static structural model when replacements are independent. Conflicting assignments require rejection or an explicitly defined precedence policy. Sequential adaptive interventions generally cannot be reordered.

6. MATHEMATICAL SEMANTICS

Let M=(U,V,F,P(U)) be a structural causal model, with endogenous equations V_i=f_i(Pa_i,U_i). Assume an acyclic model or explicitly justified unique solution semantics.
Hard intervention do(X=x): replace f_X with the constant x and retain other equations and P(U). Incoming causal edges to X are removed in the corresponding mutilated DAG. Outgoing edges are retained.
For an acyclic Markovian model with independent disturbances, the truncated factorisation is:
P(v | do(X=x)) = 1[v_X=x] × product over i not in X of P(v_i | pa_i).
This factorisation is not generally valid over observed variables alone when latent confounding is present.
Soft intervention replaces f_X with g_X(Pa_X,U_X); parent dependence may remain. A stochastic policy uses a normalised kernel q(x|h), where h is admissible pre-decision history.
Average causal effect for numeric Y:
ACE(x,x0) = E[Y | do(X=x)] − E[Y | do(X=x0)].
For binary Y, this difference is a risk difference; alternative estimands require their own definitions.
Observational conditioning P(Y|X=x) is not generally equal to P(Y|do(X=x)).
If Z satisfies the back-door criterion, and consistency and positivity hold:
P(y|do(x)) = sum_z P(y|x,z) P(z).
For continuous Z, replace the sum by an integral. Do not adjust indiscriminately for mediators or colliders.
Counterfactual Y_x(u): solve the modified model at the same exogenous state u. Given evidence e, use abduction P(u|e), action (replace equations), prediction (solve). Individual counterfactuals may remain unidentified even when population effects are identified.
Dynamic model: S_(t+1)=F(S_t,A_t,U_t), A_t=π_t(H_t). Compare policies over a common horizon and initial distribution. Account for time-varying confounding and interference where relevant.

7. STRUCTURAL INVARIANTS

I01 Target identity and model version are explicit.
I02 Intervention and observation are distinct operations.
I03 Baseline and outcome horizon are declared before comparison.
I04 Hard assignments replace rather than merely supplement target equations.
I05 Non-target mechanisms remain invariant only under stated modularity assumptions.
I06 Probability kernels are normalised and assignments lie in declared domains.
I07 Joint assignments cannot silently conflict.
I08 Policy inputs cannot depend on unavailable future observations.
I09 Cyclic models require justified solution and stability semantics.
I10 Identification, estimation and execution are separate statuses.
I11 Evidence and uncertainty remain attached to every effect claim.
I12 Physical execution requires appropriate authorisation, feasibility and safety checks.

8. RECURSIVE VALIDATION

M_k + ΔE_k →[REVISE] Candidate_(k+1) →[VALIDATE] V_(k+1).
Commit only when the candidate passes structural and evidential checks; otherwise retain M_k and record rejection or unresolved uncertainty.
At each iteration compare predicted outcomes against regime-matched observations, inspect target fidelity, evaluate competing mechanisms and reassess identification assumptions. A discrepancy may arise from measurement error, non-compliance, model misspecification or contextual change.
Terminate on declared convergence tolerance, exhausted evidence, iteration budget, unresolved contradiction or safety constraint. Detect repeated model hashes and oscillating revisions. Numerical convergence does not establish causal truth. Never repeat a physical intervention merely because a model revision requests it.

9. EVIDENCE AND PROVENANCE

EvidenceRecord = (id, source, method, timestamp, population, regime, modelVersion, measurement, uncertainty, limitations).
Distinguish randomised experiments, quasi-experiments, observational studies, mechanistic evidence and simulations. Randomisation supports exchangeability under appropriate implementation; attrition, non-compliance and interference can alter the estimand or validity.
Record identification assumptions separately from statistical confidence intervals. Confidence scores are not probabilities unless calibrated. Report unsupported effects as unknown, not zero. Preserve negative results and competing explanations. Transport to new populations requires justified invariance or transport assumptions.

10. WORKED EXAMPLES

A. Confounding: Z is binary with P(Z=1)=0.5; X=Z and Y=Z. Observational P(Y=1|X=1)=1, but replacing X with 1 leaves Y=Z, so P(Y=1|do(X=1))=0.5. The structural model supplies this answer; observational data alone lack positivity for adjustment.
B. Engineering: in an ideal circuit I=V/R with fixed R=10 ohms, do(V=5 volts) yields I=0.5 amperes; do(V=2 volts) yields 0.2 amperes. The difference is 0.3 amperes within the ideal model, not a physical execution instruction.
C. Software: replace a simulated cache policy and compare latency distributions under identical workload assumptions. Record tail latency, resource use and uncertainty; a faster simulated result is not proof of production improvement.
D. Mediation: M=2X, Y=3M+X. Changing X from 0 to 1 yields total effect 7. Holding M fixed gives controlled direct effect 1. The mediated component is 6 in this additive model; the decomposition is not universally valid.
E. Sequential control: compare two simulated thermostat policies using common weather distributions and initial states. Account for energy use and comfort across the same horizon. Do not treat an adaptive policy as a single static assignment.

11. CROSS-ONTOLOGY INTEGRATION

Causality Ontology: defines causal semantics and model scope.
Cause and Effect Ontologies: identify intervention targets and outcomes.
Causal Relationship Ontology: represents directed causal edges.
Causal Chain and Network Ontologies: represent downstream propagation and alternative pathways.
Causal Mechanism Ontology: supplies replaceable structural functions.
Direct and Indirect Cause Ontologies: distinguish controlled direct and mediated effects.
Necessary and Sufficient Cause Ontologies: evaluate prevention and guarantee claims within admissible contexts.
Causal Condition and Dependency Ontologies: represent contextual constraints and dependencies.
Root and Contributing Cause Ontologies: supply candidate intervention targets without assuming unique attribution.
Evidence, Provenance, Confidence and Validation Ontologies: preserve the epistemic status of each claim.
Mappings are conceptual proposals; canonical identifiers and published interfaces require verification.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)

T01 Hard assignment: X=f(Z), do(X=1). Expect X=1 regardless of Z, with non-target equations retained.
T02 Observation distinction: example A. Expect observational probability 1 and intervention probability 0.5.
T03 Soft intervention: replace X=Z+U with X=2Z+U. Expect parent Z retained.
T04 Joint conflict: do(X=0) and do(X=1) in same regime. Expect rejection absent explicit precedence.
T05 Stochastic validity: kernel masses 0.4 and 0.8. Expect rejection for non-normalisation.
T06 Temporal policy: policy reads future outcome. Expect invalid information set.
T07 Baseline comparison: numeric outcome means 8 and 5 under compatible regimes. Expect difference 3.
T08 Missing identification: unmeasured confounding with no justified identification strategy. Expect unknown causal estimate, not automatic observational substitution.
T09 Mediation: example D. Expect total effect 7 and controlled direct effect 1.
T10 Cyclic ambiguity: X=Y and Y=X without solution selection. Expect unresolved model semantics.
T11 Execution gate: valid simulation but absent physical authorisation. Expect no execution.
T12 Recursive revision: candidate violates target domain. Expect rejected candidate, retained previous version and audit record.

13. CITATION AND LICENCE

Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Causal Intervention Ontology — Standard Flow Algebra. Version 1.0. Kireth Research, AI Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/causality-concepts/causal-intervention-ontology.html
Open Research Licence attribution follows the project convention; consult the publisher for authoritative terms. This is an original proposed formalisation based on the named ontology. The live source, exact licence terms and compatibility with the published Flow Algebra grammar have not been independently verified. Acceptance tests are specifications, not executed results.

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