Skip to main content

Inference Chain Ontology

Inference Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — AI CORE — INFERENCE ENTITIES
INFERENCE CHAIN ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 02 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-chain-ontology.html
Source page revised: 29 July 2026

PURPOSE
Represent a finite, ordered sequence of justified inference steps that transforms premises into a conclusion, while preserving dependencies, provenance, rule applicability, and validity checks.

ENTITY DEFINITION
InferenceChain C = (P, S, R, D, Q, B, K)
P = initial premises; S = ordered inference steps; R = inference rules;
D = dependency edges; Q = derived conclusions; B = boundary constraints;
K = contextual knowledge and provenance.

STATE MODEL
I_t = (P_t, S_t, R_t, D_t, Q_t, B_t, K_t)
S_t = [s_1, ..., s_n]
s_i = (inputs_i, rule_i, output_i, evidence_i, status_i)

FORMAL FLOW ALGEBRA
1. Initialise: I_0 = (P, [], R, [], empty, B, K).
2. Expand: E_t = expand(I_t, R_t), the candidate next inference steps.
3. Validate: V_t = {s in E_t | premises_available(s) AND applicable(rule(s), K_t) AND respects(s, B_t)}.
4. Select: s* = argmax_{s in V_t} P(s | I_t, R_t, B_t, K_t).
5. Execute: q* = apply(rule(s*), inputs(s*)).
6. Verify: valid(s*) = rule_sound_for_inputs(s*) AND dependency_consistent(s*) AND provenance_recorded(s*).
7. Update: I_(t+1) = update(I_t, s*, q*, dependencies(s*), verification(s*)).
8. Stop when target conclusion is derived, no valid steps remain, or a boundary limit is reached.
9. Return (conclusion, chain, verification_status, provenance, unresolved_assumptions).

CHAIN COMPOSITION
P |-_{r1} q1 |-_{r2} q2 ... |-_{rn} qn
C = s_n o ... o s_2 o s_1, provided each step's inputs are available.
A chain is valid only if every step is valid and dependencies connect correctly.
Validity of a chain does not itself establish that its initial premises are true.

IMPLEMENTS
- Premise and conclusion nodes
- Directed step-dependency graph
- Rule application and applicability checks
- Step ordering and provenance trace
- Branching, merging, and contradiction detection
- Termination and uncertainty reporting

HOW TO READ
A premise enters the chain. Each inference step applies a declared rule to available inputs, produces a derived statement, and records why that statement follows. Later steps may consume earlier outputs. The final conclusion is traceable back to its premises.

TRI-MAPPING
ENTITY: InferenceChain -> an ordered, traceable reasoning structure.
RELATIONSHIP: depends_on(step_j, step_i), applies(step_i, rule_k), derives(step_i, proposition_q).
PROCESS: initialise -> expand -> validate -> select -> execute -> verify -> update -> terminate.

TEXT DIAGRAM
[Premises + Context]
        |
        v
 [Candidate Steps] -> [Rule/Boundary Filter]
                              |
                              v
                         [Valid Step]
                              |
                              v
                    [Derived Proposition]
                              |
                              v
                    [Update Chain State]
                              |
                     [Target reached?]
                       | yes     | no
                       v         +----> [Candidate Steps]
                 [Trace + Result]

MAPPING TABLE
Premise        | P       | Starting propositions
Step           | s_i     | One rule-governed derivation
Rule           | r_i     | Permitted inference transformation
Dependency     | D       | Input/output trace between steps
Conclusion     | q_n     | Final derived proposition
Boundary       | B       | Scope, resource and logical constraints
Context        | K       | Assumptions, semantics and provenance

MINI RECURSION ENGINE
RECURSE(I_t):
  E_t := expand(I_t, R_t)
  V_t := filter(E_t, B_t, K_t)
  IF V_t is empty: RETURN (I_t, 'blocked or complete')
  s* := select(V_t)
  IF verify(s*):
    I_(t+1) := update(I_t, s*)
    IF goal_reached(I_(t+1)): RETURN (I_(t+1), 'complete')
    ELSE RETURN RECURSE(I_(t+1))
  ELSE: RETURN (I_t, 'verification failure')

INFERENCE RULES
R1: A derived proposition must cite its supporting inputs.
R2: A step may execute only when its required inputs are available.
R3: An invalid step must not be promoted to a verified conclusion.
R4: Circular dependencies require explicit non-circular justification or fixed-point semantics.
R5: Contradictions must be flagged and handled under the declared logic.
R6: Chain confidence must not exceed what its evidence and assumptions justify.

EXECUTION GUARANTEE (CONDITIONAL)
If the step set is finite, selection terminates, each rule application is computable, and a finite step bound is enforced, the procedure terminates with a conclusion or an explicit failure/limit status. Sound conclusions require sound rules and correctly applied steps. Completeness is not guaranteed without additional assumptions about the rule system and search strategy.

AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-chain-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-chain-ontology.html
PURPOSE: Discover, represent, execute and audit multi-step inference chains.
STATE_MODEL: I_t = (P_t, S_t, R_t, D_t, Q_t, B_t, K_t)
ENTITIES: InferenceChain, InferenceStep, Premise, InferenceRule, Dependency, Conclusion, Context, Boundary.
PATHWAYS: premise -> candidate step -> validation -> derivation -> trace -> conclusion.
MINI_RECURSION_ENGINE: RECURSE(I_t) as defined above.
INFERENCE_RULES: R1-R6.
CONFIDENCE: Evidence-dependent; report unsupported assumptions and uncertainty.
SEMANTIC_EQUIVALENCE: reasoning chain; derivation chain; proof trace (only where proof obligations are satisfied).
UPDATE_MODEL: Append verified steps and provenance; revise or invalidate downstream conclusions when supporting premises change.

NOTE
This is a newly composed Flow Algebra companion to the linked ontology page, not a verbatim extraction of hidden or embedded site code.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ