Skip to main content

Inference Graph Ontology

Inference Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
INFERENCE GRAPH ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Inference Entities

AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-graph-ontology-2.html
SOURCE REVISION: 29 July 2026
FLOW EDITION: 2 November 2026
PURPOSE: Formalise an inference graph as a typed, auditable network of premises, inference steps, rules, intermediate conclusions and final conclusions.
NOTE: This is a companion Flow Algebra specification based on the ontology title and its inference-entity context; it is not a verbatim extraction of hidden page code.

1. ENTITY DEFINITION
InferenceGraph G = (V, E, T, R, P, C, M)
V = set of proposition, evidence and inference-step nodes.
E = directed dependency edges between nodes.
T = node and edge type assignments.
R = applicable inference rules.
P = provenance and evidence references.
C = confidence and validity annotations.
M = graph metadata and revision state.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = available premises, observations and candidate claims.
R_t = admissible inference rules and transformation relations.
B_t = constraints, boundaries and validation requirements.
K_t = established knowledge and graph history.
G_t = (V_t, E_t, T_t, R_t, P_t, C_t, M_t)

3. FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, K_t)}
x*_t = argmax[x in V_t] P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, K_t)
G_(t+1) = merge(G_t, nodes(x*_t), edges(x*_t), provenance(x*_t))

4. TYPED GRAPH RULES
Premise(p) -> Node(p, premise).
Evidence(e) -> Node(e, evidence).
Rule(r) -> RuleNode(r) or RuleAnnotation(r).
InferenceStep(s) -> Node(s, inference_step).
Conclusion(c) -> Node(c, conclusion).
Uses(s, p) -> Edge(p, s, input_to).
Applies(s, r) -> Edge(r, s, governed_by).
Produces(s, c) -> Edge(s, c, derives).
Supports(e, p) -> Edge(e, p, supports).
Every derived conclusion MUST retain a traceable dependency path to premises and applied rules.

5. INFERENCE EXECUTION
INPUT: graph G_t, candidate premise set Q, rule set R_t, boundaries B_t.
STEP 1: Identify premises and their provenance.
STEP 2: Match eligible rules to premise patterns.
STEP 3: Generate candidate inference steps.
STEP 4: Check rule preconditions, typing and boundaries.
STEP 5: Record each accepted step and its incoming dependency edges.
STEP 6: Add derived claims and outgoing derivation edges.
STEP 7: Check for contradictions, unsupported dependencies and cycles.
STEP 8: Re-evaluate affected descendants when premises change.
OUTPUT: G_(t+1), accepted conclusions, rejected candidates and audit trace.

6. TRI-MAPPING
SEMANTIC: premise -> reasoning relation -> conclusion.
STRUCTURAL: typed node -> directed dependency edge -> typed node.
EXECUTION: match -> validate -> derive -> record -> propagate.

7. GRAPH INVARIANTS
INV-1: Each node has a stable identifier and declared type.
INV-2: Each inference edge identifies its relation and direction.
INV-3: Derived nodes record applicable rule and input dependencies.
INV-4: Provenance is retained, including source and revision where available.
INV-5: Contradictions are flagged, not silently erased.
INV-6: A cyclic graph requires an explicit fixed-point or cycle-management policy.
INV-7: Confidence is not a substitute for logical validity.
INV-8: An unsupported conclusion cannot be labelled proven.

8. MINI RECURSION ENGINE
functionally: frontier_(t+1) = new_valid_derivations(frontier_t, G_t, R_t, B_t)
G_(t+1) = G_t union frontier_(t+1)
STOP when frontier is empty, resource limit reached, or a boundary condition fails.
For recursive dependencies, use cycle detection and bounded iteration or a defined fixed-point semantics.

9. EXAMPLE
P1: All mammals are vertebrates.
P2: A whale is a mammal.
R1: If A is a B and all B are C, then A is a C.
S1: Apply R1 to P1 and P2.
C1: A whale is a vertebrate.
EDGES: P1 -> S1; P2 -> S1; R1 -> S1; S1 -> C1.
TRACE: C1 <- S1 <- {P1, P2, R1}.

10. MAPPING TABLE
Premise             | Proposition node | inference input
Evidence            | Evidence node    | source support
Inference rule      | Rule node        | admissible transformation
Inference step      | Step node        | rule application
Conclusion          | Conclusion node  | derived proposition
Dependency          | Directed edge    | traceable derivation
Provenance          | Metadata         | source and lineage
Constraint          | Boundary check   | admissibility

11. EXECUTION GUARANTEE — CONDITIONAL
IF all input premises are available, rules are well-defined, type checks pass,
provenance is recorded, and execution terminates under the selected graph policy,
THEN each accepted derived conclusion has an inspectable derivation path.
This guarantees traceability under stated conditions, NOT truth of unverified premises,
completeness of reasoning, or correctness of an external model implementation.

12. AI SEARCH FLOW
FLOW_ID: AI-INFERENCE-GRAPH-ONTOLOGY
VERSION: 1.0
LANGUAGE: en-GB
ENTITY: Inference Graph
ENTITY_CLASS: AI / Inference / Reasoning Structure
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-graph-ontology-2.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-graph-ontology-2.html
SEMANTIC_EQUIVALENCE: reasoning dependency graph; derivation graph; inference network
RELATIONS: hasPremise, appliesRule, hasInferenceStep, derivesConclusion, supportedBy, dependsOn, hasProvenance
INFERENCE_RULES: accept only type-valid, boundary-valid derivations with recorded dependencies
CONFIDENCE: attach evidence-calibrated values only when a defined calibration method exists
UPDATE_MODEL: dependency-aware propagation with revision and invalidation tracking
FLOW_HASH: to be calculated after publication from canonical TXT bytes

13. HOW TO READ
Read the graph from evidence and premises through inference steps to conclusions.
Each edge states why a downstream claim depends on an upstream component.
Read the formal flow as a state transition; read the invariants as mandatory validation checks.

14. TEXT DIAGRAM
[Evidence] ---> [Premise A] --\
                              +--> [Inference Step] --> [Conclusion] --> [Next Step]
[Premise B] ------------------/
[Inference Rule] ------------/
              [Constraints + Provenance] govern each transition

ATTRIBUTION
Mark Anthony Higgins — Sky Recursive AI
Kireth Research Semantic Library
Citation requested when reusing this specification.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ