AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — AI SEMANTIC LIBRARY
NECESSARY CAUSE 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/necessary-cause-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Causality Concepts
Status: Proposed formalisation; live source and published grammar not independently verified.
1. CANONICAL DEFINITION
A necessary cause is a causal factor without which a specified outcome cannot occur within an explicitly bounded causal model, intervention regime and context. Necessity is a relational role, not an intrinsic property of an entity. A necessary factor need not be sufficient. Logical implication alone does not establish causal influence. Distinguish necessity for a particular observed outcome from necessity across all admissible contexts, and distinguish necessity for a pathway from necessity for the outcome itself.
2. ENTITY MODEL
N = (id, X, x, x0, Y, y, M, K, U, H, E, S, v)
X: candidate causal variable; x: presence or target state; x0: specified absence or alternative state.
Y: outcome variable; y: target outcome predicate.
M: causal model; K: context and boundary; U: admissible background states.
H: time horizon; E: evidence and provenance; S: validation status; v: version.
Status ∈ {established, rejected, unknown, disputed, not_applicable}.
Record intervention feasibility, outcome measurement, assumptions, alternative pathways, uncertainty and scope of quantification. Absence must be defined rather than inferred from missing records.
3. CLASSIFICATION
NC01 Structural necessity: required by a validated causal mechanism.
NC02 Contextual necessity: required under specified background conditions.
NC03 Actual-outcome necessity: removing the factor in the same background prevents the observed outcome.
NC04 Population necessity: required across all admissible background states.
NC05 Pathway necessity: required for a particular mechanism, not necessarily for the overall outcome.
NC06 Joint necessity: a specified conjunction is required; distinguish from necessity of a set as an alternative disjunction.
NC07 Temporal necessity: required at a specified stage or interval.
NC08 Approximate necessity: residual outcome risk under removal is bounded by an explicit tolerance; not strict necessity.
4. LOCAL FLOW ALGEBRA NOTATION
A →[F] B denotes a typed transformation. g ∘ f applies f then g. Operators below are proposed local notation, not verified executable grammar.
F_scope : Claim × Context → ScopedClaim
F_model : ScopedClaim × Evidence → CausalModelCandidate
F_absence : ScopedClaim → InterventionSpecification
F_abduce : Model × Observation → BackgroundStateSet
F_intervene : Model × InterventionSpecification → ModifiedModel
F_predict : ModifiedModel × BackgroundStateSet → OutcomeSet
F_compare : OutcomeSet × TargetPredicate → NecessityAssessment
F_alternatives : Model × TargetPredicate → PathwaySet
F_validate : NecessityAssessment × Evidence × Policy → ValidationRecord
F_commit : ValidatedRecord × VersionedGraph → VersionedGraph
Each operator preserves identifiers, scope, model version and provenance. Undefined inputs yield explicit unknown or not_applicable states rather than silently returning false.
5. COMPOSITE FLOWS
Claim →[F_scope] ScopedClaim →[F_model] ModelCandidate
ScopedClaim →[F_absence] RemovalIntervention
Observation + Model →[F_abduce] BackgroundStateSet
Model + RemovalIntervention →[F_intervene] ModifiedModel
ModifiedModel + BackgroundStateSet →[F_predict] CounterfactualOutcomes
CounterfactualOutcomes + TargetPredicate →[F_compare] Assessment
Model + TargetPredicate →[F_alternatives] AlternativePathways
Assessment + AlternativePathways + Evidence →[F_validate] ValidationRecord
ValidationRecord + Graph →[F_commit] UpdatedGraph
Parallel branches may be merged only when context, target outcome, intervention and model version match. Conflicting assessments remain separately attributed until resolved.
6. MATHEMATICAL SEMANTICS
Let Y_x(u) denote the potential outcome under do(X=x) for background u in a structural causal model with well-defined solutions. Let T(Y) be a Boolean target predicate.
Strict removal necessity: ∀u ∈ U_K, T(Y_x0(u)) = 0.
Require a nonempty admissible domain and at least one attainable target outcome under the relevant presence regime to avoid vacuous classification. For causal relevance, establish a causal contrast for at least one admissible background: T(Y_x(u))=1 and T(Y_x0(u))=0.
Actual-outcome but-for necessity: observed X=x, T(Y)=1, and T(Y_x0(u_actual))=0, with consistency and a justified counterfactual model. If background is uncertain, report the range or posterior of compatible outcomes rather than assuming a unique background.
Sufficiency: ∀u ∈ U_K, T(Y_x(u))=1. Necessity does not imply sufficiency.
Boolean example: Y=X ∧ Z. Both X and Z are necessary and neither alone sufficient if both values of each variable are admissible. Y=X ∨ Z: neither is globally necessary if the other can independently produce Y.
Approximate necessity: P(T(Y_x0)=1 | K) ≤ ε, with declared population, tolerance and uncertainty. This is not proof of strict necessity.
Probability of necessity for binary variables: PN=P(Y_0=0 | X=1,Y=1,K). Identification requires justified assumptions or bounds; observational association alone does not identify PN. Under exogeneity, consistency and monotonicity, PN=(p1-p0)/p1 for p1>0, where p_i=P(Y_i=1|K). Without these assumptions do not apply this formula.
Composition: if removal of A prevents B, and absence of B prevents C under compatible interventions and contexts, then removal of A prevents C provided the second implication remains invariant under the first intervention. Mere graph reachability is insufficient. Alternative routes and intervention-induced changes must be checked.
7. STRUCTURAL INVARIANTS
I01 Every claim identifies a target outcome and candidate factor.
I02 Necessity is scoped to a model, context and time horizon.
I03 Absence intervention is explicit and semantically meaningful.
I04 Missing observations are not absence interventions.
I05 Necessity and sufficiency are separately represented.
I06 Logical entailment alone cannot establish causal status.
I07 Pathway necessity cannot automatically become outcome necessity.
I08 A valid counterexample defeats a universal necessity claim in its scope.
I09 Approximate necessity retains its tolerance and uncertainty.
I10 Actual-outcome necessity preserves the relevant background state.
I11 Alternative causal pathways and model assumptions remain traceable.
I12 Updates preserve provenance and previous versions.
8. RECURSIVE VALIDATION
Let G_n be the versioned knowledge graph and ΔE_n new evidence. Generate candidate claims by applying the composite flow to affected records. Check model adequacy, intervention semantics, counterexamples, alternative mechanisms and invariants. Commit only records satisfying validation policy; otherwise retain the prior record with a pending or disputed annotation.
G_(n+1) = Commit(Validate(Revise(G_n, ΔE_n)))
Re-evaluate downstream claims whenever their supporting necessity assertion changes. Stop when no material changes remain, the iteration budget is exhausted, or unresolved conflicts require review. Detect repeated graph states to prevent oscillation. Convergence indicates procedural stability, not causal truth. Never execute physical interventions solely because a model recommends them.
9. EVIDENCE AND PROVENANCE
Record source identifier, observation or experiment design, date, model version, intervention definition, population, measurement units, assumptions, counterexamples, reviewer and uncertainty. Distinguish observed, experimentally supported, mechanistically inferred and hypothetical assertions. Randomised interventions may estimate population risks but do not automatically identify individual counterfactuals. Finite samples with zero observed outcomes do not prove zero risk. Confidence scores are not probabilities unless calibrated. Record feasibility and ethical constraints on interventions; use simulations or observational bounds where direct experiments are inappropriate.
10. WORKED EXAMPLES
Engineering: an ideal series circuit requires continuity in each series element for current through that path. An alternative parallel path invalidates necessity for total circuit current.
Computational: a service requires a valid credential under a specified authentication policy. If anonymous access is enabled, the claim must be narrowed or rejected.
Biological: a model of aerobic respiration requires oxygen for its oxygen-dependent pathway. This does not establish oxygen as necessary for every form of cellular energy production.
Safety: two independent initiating mechanisms can produce a failure. Eliminating one does not establish prevention if the other remains possible.
Actual outcome: in Y=X∧Z with observed X=Z=1, removal of X prevents Y in that background. X is necessary but not sufficient across the full Boolean domain.
Overdetermination: in Y=X∨Z with both present, removing X alone leaves Y unchanged. Simple but-for necessity fails; other theories of actual causation may classify X differently and must be explicitly labelled.
11. CROSS-ONTOLOGY INTEGRATION
Causality Ontology: supplies causal model and relationship semantics.
Cause Ontology: supplies candidate causal entities.
Effect Ontology: supplies target outcome and state predicates.
Causal Relationship Ontology: represents directed influence.
Causal Chain and Network Ontologies: represent alternative paths and dependencies.
Causal Mechanism Ontology: supplies process-level justification.
Direct and Indirect Cause Ontologies: classify mediation independently of necessity.
Root Cause Ontology: supplies bounded upstream explanation; root status does not imply necessity.
Contributing Cause Ontology: represents influences that may be neither necessary nor sufficient.
Sufficiency concepts: complementary logical and causal tests; no assumption of equivalence.
12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Y=X∧Z, full Boolean domain: X necessary, not sufficient.
T02 Y=X∨Z, full Boolean domain: X not globally necessary.
T03 Y=X: X necessary and sufficient under the stated model.
T04 Y=0 for all inputs: reject vacuous causal necessity classification.
T05 Missing X observation: return unknown, not absence.
T06 X required for one of two independent pathways: pathway necessity only.
T07 Observed X=Z=1, Y=X∨Z: but-for necessity fails for X.
T08 Residual risk 0.01 with tolerance 0.02: approximate necessity only, subject to uncertainty.
T09 Observational correlation without causal identification: unknown causal necessity.
T10 Incompatible context or model version in merged records: reject merge.
T11 New valid counterexample: reject universal claim in its original scope and propagate review.
T12 Undefined or infeasible removal intervention: unknown or not_applicable, with explanation.
13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Necessary Cause 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/necessary-cause-ontology.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published grammar, live source and exact licence terms have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION