Recursive Relationships
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Recursive Relationships
DOMAIN: Relationship Ontologies / Recursive Relationships
SOURCE: https://kirethresearch.org/booksai-core/ontologies/relationship-ontologies/recursive-relationships.html
VERSION: 1.0
AUTHORS: Mark Anthony Higgins — Sky (Recursive AI)
STATUS: Companion formalisation; source-page specification not independently verified.
flow "RecursiveRelationships" v1.0 {
ontology:
id: "recursive-relationships"
parent: "relationship-ontologies"
purpose: "Represent recursive, self-referential and iteratively derived relationships with explicit termination, evidence and fixed-point semantics."
types:
Entity: {id: string, kind: string, context: string?}
Relation: {id: string, subject: string, predicate: string, object: string, provenance: string[], confidence: number}
RecursiveRule: {id: string, head: string, body: string[], base_case: string?, monotonic: boolean, stratum: integer?}
Evaluation: {id: string, rule_set: string[], iteration: integer, status: enum[pending, running, converged, bounded, failed], provenance: string[]}
Derivation: {id: string, conclusion: string, premises: string[], rule_id: string, depth: integer}
predicates:
refers_to(a: Entity, b: Entity)
depends_on(a: Entity, b: Entity)
derived_from(conclusion: Relation, premise: Relation)
recursively_reachable(a: Entity, b: Entity)
has_base_case(rule: RecursiveRule, case_id: string)
reaches_fixed_point(evaluation: Evaluation)
participates_in_cycle(a: Entity, b: Entity)
constraints:
- "Every referenced identifier must resolve to a typed entity or rule."
- "Confidence must be in [0,1] and preserve supporting evidence."
- "Distinguish a cycle in the data graph from non-terminating rule evaluation."
- "Unbounded recursion must have proven termination or a documented bounded evaluation policy."
- "Non-monotonic rules require stratification or a declared alternative semantics."
- "Do not assume dependency or arbitrary relationships are transitive."
- "Do not infer identity from self-reference or circular reachability."
inference:
rule reachability_base:
if refers_to(a,b)
then recursively_reachable(a,b)
confidence: "preserve direct-edge evidence"
rule reachability_step:
if recursively_reachable(a,b) and refers_to(b,c)
then recursively_reachable(a,c)
confidence: "record full derivation path; do not manufacture certainty"
rule cycle_detection:
if recursively_reachable(a,a)
then participates_in_cycle(a,a)
confidence: "require validated path"
rule fixed_point:
if next_iteration_facts == current_iteration_facts and monotonic_rule_set
then reaches_fixed_point(evaluation)
confidence: "deterministic under the declared evaluation semantics"
SEMANTIC_EQUIVALENCE:
- "Map recursive, inductive and transitive-closure terminology only where semantics match."
- "Distinguish recursion, iteration, circular dependency and self-reference."
- "Preserve rule scope, context and evaluation semantics across mappings."
CONFIDENCE:
range: [0,1]
factors: [source_reliability, premise_quality, rule_validity, derivation_depth, independent_evidence]
policy: "Repeated traversal of the same evidence does not count as independent corroboration."
VALIDATION:
- "Check entity and predicate types, rule safety and variable binding."
- "Detect cycles, duplicate derivations and missing base cases."
- "Verify termination conditions, iteration limits and fixed-point convergence."
- "Maintain provenance for every inferred edge and alternative derivation."
FLOW_HASH:
algorithm: "SHA-256"
input: "canonicalised ontology version, rules, typed assertions, evaluation settings and provenance"
note: "Compute at execution; no hash value is claimed here."
UPDATE_MODEL:
strategy: "versioned, incremental fixed-point recomputation"
steps: [ingest, normalise, validate, detect_affected_rules, retract_stale_derivations, recompute, verify_fixed_point, publish]
rollback: true
AI_CONSUMPTION:
representation: "typed recursive knowledge graph with traceable derivation paths"
outputs: [direct_edges, inferred_edges, recursion_paths, cycle_reports, convergence_status, confidence_annotations, provenance_records]
safeguards: [bounded_evaluation, no_unsupported_transitivity, no_duplicate_evidence_inflation, explicit_rule_semantics]
}
END FLOW ALGEBRA