Skip to main content

Dependency Ontology

Relationship Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 December 2026
Audio Overview
DEPENDENCY ONTOLOGY
Standard Flow Algebra | Version 1.0 | 2026-12-02 | UTF-8
Authors: Mark Anthony Higgins — Sky Recursive AI
Publisher attribution: Kireth Research
Licence attribution: Open Research Licence; citation required; consult published terms.
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/relationship-concepts/dependency-ontology.html
Integration: Semantic Library / AI Core / Entity Graph / Abstract Concepts / Relationship Concepts / Dependency Ontology
Status: Proposed formalisation; live source, exact licence terms and published grammar not independently verified.

1. DEFINITION AND SCOPE
A dependency is a directed, contextual relationship in which the existence, identity, operation, availability or outcome of a dependent entity relies on a prerequisite under a declared criterion. Dependency is not synonymous with association, temporal precedence or causation. A dependency can exist even when its prerequisite is currently unavailable. Distinguish the dependency assertion, its satisfaction, its evidence and its consequences. A requirement for a service may be satisfied by alternative providers rather than by one particular provider.

2. CANONICAL REPRESENTATION
DT = (id, revision, definition, dependentRole, prerequisiteRole, domain, range, laws)
D = (id, typeRevision, dependent, prerequisiteExpression, criterion, context, validInterval, evidence, provenance, revision)
Context = (domain, boundary, viewpoint, timeScope, policyRevision)
Criterion = (predicate, requiredValue, tolerance, evaluationMethod)
PrerequisiteExpression = Atom | All(expressions) | Any(expressions) | AtLeast(k, expressions)
Atom = (entityRef, requiredState, applicabilityGuard)
TruthStatus = {supported, refuted, disputed, unknown}
Satisfaction = {satisfied, unsatisfied, unknown, notApplicable}
G = (V,E) is a typed directed multigraph; edges point from dependent to prerequisite. Grouped prerequisites retain their logical expression rather than being flattened into independent mandatory edges.

3. DEPENDENCY FAMILIES
Existential: existence of one entity requires another entity or class of entities.
Essential: the nature or identity of an entity depends on a constitutive condition.
Structural: a configuration requires specified parts or interfaces.
Functional: a function requires a capability, resource or service.
Operational: an activity requires a particular operational state.
Temporal: an activity requires completion or occurrence of another event.
Informational: a claim or computation relies on data, evidence or an assumption.
Resource: a process requires an available quantity of a resource.
These classifications may overlap. Rigid dependence requires a particular prerequisite; generic dependence permits any suitable instance of a declared type. Optional preferences must not be represented as mandatory dependencies. A conditional dependency applies only when its guard holds.

4. TYPED FLOW OPERATORS
Define: Definition × RoleSchema × LawSet -> DependencyType
Bind: DependencyType × Entity × PrerequisiteExpression × Context -> CandidateDependency or TypeError
Resolve: EntityReference × Context -> ResolutionResult
Evaluate: PrerequisiteExpression × StateSnapshot × Context -> Satisfaction
Check: CandidateDependency × Policy × ResolutionResults -> ValidationReport
Assess: CandidateDependency × EvidenceSet -> TruthAssessment
Register: CandidateDependency × ValidationReport × Approval -> DependencyRevision or Rejection
Compose: DependencyRevision × DependencyRevision × CompositionRule -> DerivedDependency or Undefined
Closure: Graph × Entity × TraversalPolicy -> ReachabilityResult
Impact: Graph × StateChange × EvaluationPolicy -> ImpactReport
DetectCycles: Graph × EdgeFilter -> StronglyConnectedComponents
Refine: DependencyRevision × EvidenceSet × ValidationReport -> CandidateRevision
Commit: CandidateRevision × Approval × ExpectedRevision -> DependencyRevision or Conflict
Operators describe knowledge transformations, not permission to execute physical or computational actions. Sequencing requires all additional typed inputs.

5. COMPOSITE FLOWS
Registration: Define -> Bind -> Resolve -> Check -> Assess -> Register.
Satisfaction: Select context -> Resolve prerequisites -> Obtain state snapshot -> Evaluate -> Record outcome.
Impact: Observe change -> Identify reverse-reachable dependants -> Evaluate affected expressions -> Record confirmed and possible impacts separately.
Composition: Select compatible dependencies -> Check semantic rule and scope -> Compose -> Assess -> Validate -> Record derivation.
Revision: Detect discrepancy -> Acquire evidence -> Refine -> Check -> Approve -> Commit -> Reassess affected dependants.
Cycle handling: DetectCycles -> Classify cycle semantics -> Evaluate feasibility or flag unresolved -> Record decision.

6. ALGEBRAIC AND LOGICAL RULES
For a binary dependency D_c,t(a,b), a depends on b in context c at time t. The edge direction is dependent to prerequisite; impact analysis normally follows the reverse direction. D(a,b) does not imply D(b,a), identity or causal influence.
For a necessary state prerequisite, Ready(a) implies Ready(b) under the declared context and criterion. Ready(b) alone does not imply Ready(a). If both propositions are classical and the implication is established, not Ready(b) implies not Ready(a). Unknown evidence is not classical negation.
For rigid existential dependence one possible modal formulation is □(Exists(a) -> Exists(b)). Generic dependence can instead be expressed as □(Exists(a) -> ∃x (Type(x,T) ∧ Exists(x) ∧ Suitable(x,a))). The modal frame and domain assumptions must be declared. These implications alone do not establish explanatory grounding.
For compatible binary relations R and S, S ∘ R = {(a,c) | ∃b: R(a,b) ∧ S(b,c)}. Composition is associative as a mathematical relation operation, but semantic dependency entailment requires a declared rule. In particular, optional, temporal and existential edges cannot be freely mixed to infer mandatory operational dependence.
Reachability D+ is positive-length transitive closure. D* includes zero-length paths. Neither automatically establishes a direct dependency assertion.
For applicable atoms evaluated in three-valued logic, All is false if any operand is false, true if all are true, and unknown otherwise. Any is true if any operand is true, false if all are false, and unknown otherwise. For AtLeast(k), with s satisfied and u unknown operands, return satisfied if s >= k, unsatisfied if s+u < k, unknown otherwise. Guards that are false remove their operands only under a declared policy; an unknown guard must not silently remove a mandatory requirement. Empty All is true and empty Any false as logical conventions; policy may reject empty prerequisite groups.
A resource dependency requiring q units is satisfied when compatible available capacity >= q, subject to allocation and concurrency constraints. Independent checks do not guarantee simultaneous satisfaction if dependants compete for the same resource.
For a finite graph with n nodes, strongly connected components identify mutual reachability. A cycle is not universally invalid: mutual runtime services may be feasible, whereas strict precedence cycles are impossible under a strict order.

7. STRUCTURAL INVARIANTS
I01. Each dependency has a persistent identifier and a declared type revision.
I02. Dependent and prerequisite roles conform to their declared domain and range.
I03. Edge direction is explicit; inverse impact traversal is not inverse dependence.
I04. Context, criterion and validity scope accompany every assertion.
I05. Alternative and threshold groups retain their logical structure.
I06. Unknown or disputed evidence is never silently converted to absence or satisfaction.
I07. Transitive inference requires compatible semantics and a declared composition rule.
I08. Strict precedence dependencies are acyclic within their applicable scope.
I09. Resource allocation does not exceed available capacity under the stated model.
I10. Dependency truth and current satisfaction remain distinct.
I11. Derived claims preserve their premises, rules and provenance.
I12. Revisions preserve history and recursive processing has explicit termination limits.

8. RECURSIVE DEPENDENCY VALIDATION
Let G_n be the accepted graph at iteration n and Q_n the pending worklist. A refinement step obtains evidence, evaluates affected prerequisite expressions, proposes revisions and validates them before commit. Re-enqueue dependants only when a relevant state or assertion changes. Deduplicate work by entity, context, revision and evaluation snapshot. Stop when the queue is empty, a declared iteration budget is exhausted, or unresolved conflicts require review. Report incomplete processing explicitly.
For monotone inference over a fixed finite universe of candidate assertions, repeated addition of sound consequences terminates at a fixed point. Retractions, changing observations and non-monotone rules invalidate that guarantee; use versioned snapshots, dependency tracking and bounded recomputation. A cycle in a satisfaction equation may have multiple fixed points or none; do not select one without a justified initial state or policy.

9. EVIDENCE, PROVENANCE AND UNCERTAINTY
EvidenceRecord = (id, source, observationTime, scope, method, claimRef, quality, limitations)
Derivation = (id, conclusionRef, premiseRefs, ruleRevision, context, timestamp)
Record whether a dependency is asserted, observed, inferred or hypothetical. Confidence in a dependency assertion differs from probability of prerequisite availability. If a probability model is used, state assumptions and dependencies between evidence sources. For independent prerequisite availability events with probabilities p_i, P(All)=product(p_i), P(Any)=1-product(1-p_i); do not apply these formulas when independence is unsupported. Missing data must remain unknown. Conflicting sources remain traceable and disputed claims require review.

10. PRACTICAL EXAMPLES
Engineering: a pump requires electrical supply AND an open permitted flow path. Power availability alone is insufficient to establish readiness. A backup supply may satisfy an alternative prerequisite group.
Computational: an application requires a database service, which may be provided by either of two compatible replicas. Failure of one replica does not establish application failure. A shared network dependency may affect both replicas.
Project: task B requires task A to finish. A strict finish-before-start cycle involving A and B is inconsistent; a mutual collaboration relationship is not the same kind of edge.
Knowledge graph: a conclusion relies on a measurement and a calibration assumption. If calibration evidence is withdrawn, the conclusion is flagged for reassessment rather than automatically declared false.
Ontology: a particular surface scratch depends on its bearer under a specified theory of dependent properties. This does not establish that every property depends on the same individual bearer.

11. CROSS-ONTOLOGY INTEGRATION
Relationship Concept: provides relationship types and contextual semantics.
Association: provides relatedness without mandatory reliance.
Connection and Link: provide endpoint and path representations without automatic dependency entailment.
Ontological Dependence: provides existential and essential dependence distinctions.
Condition and Capability: provide prerequisite predicates and functional readiness.
State, Event and Process: provide snapshots, changes and temporal requirements.
Structure, Component and Configuration: provide constituent and interface requirements.
Network Structure and Recursive Structure: provide graph traversal and bounded recursion.
Identity and Equivalence: provide prerequisite resolution and justified substitution.
These mappings are proposed integrations, not verified schema imports.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01. Missing dependent or required prerequisite role -> reject candidate.
T02. D(a,b) without inverse rule -> no D(b,a) inferred.
T03. All(true,unknown) -> unknown.
T04. Any(false,true) -> satisfied.
T05. AtLeast(2,[true,unknown,false]) -> unknown.
T06. False prerequisite guard -> apply declared applicability policy, not an unconditional failure.
T07. Two incompatible dependency types -> no semantic composition.
T08. Strict precedence cycle -> validation failure.
T09. Mutual service dependency -> flag for feasibility assessment, not automatic rejection.
T10. Shared capacity of 10 with concurrent allocations 6 and 6 -> reject joint allocation.
T11. Prerequisite evidence withdrawn -> re-evaluate dependent claims, preserve history.
T12. Recursive evaluation exceeds budget -> explicit incomplete result.

13. CITATION AND REUSE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Dependency Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library. Canonical source URL as above.
Open Research Licence attribution: free research reuse with citation as requested by the project; consult published terms for authoritative conditions. This is a newly proposed formalisation, not a verbatim export or verified implementation of the published grammar. Acceptance tests are specifications, not executed results.
END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ