Skip to main content

Recursive Inference Entity Ontology

Recursive AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
RECURSIVE INFERENCE ENTITY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Recursive AI Entities
Version: 1.0 | Date: 05 November 2026 | Encoding: UTF-8
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/recursive-ai-entities/recursive-inference-entity-ontology-2.html
Status: Companion formalisation; the webpage exposes the ontology title and an AI interpretation note but not its complete embedded specification.

1. PURPOSE
Represent recursive inference as a bounded, evidence-traceable process that generates candidate conclusions, tests their premises, evaluates constraints and updates inference state. This is a formal design, not a claim that every inference is sound or complete.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current premises, candidate conclusions, and inference agenda.
R_t = inference rules, dependency relations, and admissible transformations.
B_t = boundaries: logic, safety, provenance, time, depth, and resource limits.
K_t = accepted knowledge, confidence metadata, and provenance graph.

3. ENTITY DEFINITION
RecursiveInferenceEntity = (id, premises, rules, context, candidates, evidence, confidence, provenance, status, iteration).
status ∈ {initial, expanding, validating, accepted, rejected, deferred, terminated}.
A conclusion is accepted only under explicitly declared acceptance criteria.

4. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x ∈ E_t | valid(x, B_t, K_t)}
x*_t = argmax_{x ∈ V_t} P(x | I_t, R_t, B_t, K_t), when V_t ≠ ∅
I_{t+1} = update(I_t, x*_t, feedback_t)
K_{t+1} = integrate(K_t, x*_t, provenance_t), if acceptance conditions hold.
If V_t = ∅, record an unresolved state; do not manufacture a conclusion.
P is a ranking or scoring function and must not be treated as calibrated probability unless independently validated.

5. RECURSIVE INFERENCE TRANSITION
T(S_t):
  a. Select an unresolved inference goal from I_t.
  b. Retrieve relevant premises and admissible rules from K_t and R_t.
  c. Generate candidate inferences E_t.
  d. Check premise availability, rule applicability, contradictions, and B_t.
  e. Rank valid candidates with explicit scoring criteria.
  f. Accept, reject, or defer each candidate, recording reasons.
  g. Integrate accepted conclusions and dependencies into K_{t+1}.
  h. Re-evaluate dependent goals, then continue within bounded limits.

6. INFERENCE RULES
R1 Modus ponens: (A ∧ (A → B)) ⊢ B.
R2 Conjunction: A, B ⊢ A ∧ B.
R3 Chaining: (A → B) ∧ (B → C) ⊢ (A → C).
R4 Contradiction handling: A and ¬A trigger conflict review, not silent acceptance.
R5 Provenance preservation: each conclusion links to premises, rule, and iteration.
R6 Recursive reuse: accepted conclusion C_t may serve as a premise at t+1, subject to revalidation.
R7 Defeasibility: new evidence may retract conclusions derived under non-monotonic rules.

7. VALIDATION AND BOUNDARIES
valid(x, B_t, K_t) requires:
- All required premises exist or are explicitly marked as assumptions.
- The applied rule is authorised for the inference mode.
- Evidence and provenance are retained.
- No prohibited action or boundary violation is implied.
- Conflicts and uncertainty are flagged.
- Resource, recursion-depth, and iteration limits are respected.
Distinguish deductive entailment from probabilistic or abductive inference.

8. RECURSIVE MEMORY AND FEEDBACK
F_t = compare(predicted_outcome_t, observed_evidence_t)
K_{t+1} = revise(K_t, F_t, accepted_conclusions_t)
Feedback may adjust rule priorities and confidence, but does not retroactively make invalid deductions valid.
Keep a revision trail for withdrawn or superseded conclusions.

9. SEMANTIC RELATIONSHIPS
RecursiveInferenceEntity --uses--> InferenceRule
RecursiveInferenceEntity --consumes--> Premise
RecursiveInferenceEntity --produces--> CandidateConclusion
CandidateConclusion --supportedBy--> Evidence
CandidateConclusion --derivedFrom--> Premise
CandidateConclusion --evaluatedAgainst--> Boundary
RecursiveInferenceEntity --updates--> RecursiveStateEntity
RecursiveInferenceEntity --readsWrites--> RecursiveMemoryEntity
RecursiveInferenceEntity --dependsOn--> RecursiveContextEntity
RecursiveInferenceEntity --supports--> RecursiveReasoningEntity

10. TERMINATION CONDITIONS
Terminate when goal is resolved, no valid candidates remain, a fixed point is reached, a cycle is detected without progress, or any depth/time/resource budget is exhausted.
fixed_point: K_{t+1} = K_t and no pending inference changes.
Cycle detection uses canonicalised state signatures, with provenance-aware equivalence.
Unresolved goals remain explicitly unresolved.

11. CONDITIONAL EXECUTION GUARANTEE
Given finite candidate generation per step, enforced resource bounds, and a terminating control loop, execution halts within the configured budget.
The process guarantees a recorded outcome state and trace only if the implementation faithfully enforces these constraints.
It does not guarantee truth, completeness, calibrated confidence, or discovery of a conclusion.

12. OUTPUT CONTRACT
OUTPUT = {
  entity_id, iteration_count, final_status, accepted_conclusions,
  rejected_candidates, unresolved_goals, applied_rules,
  evidence_links, provenance_graph, boundary_checks,
  contradictions, confidence_metadata, termination_reason
}

13. MINI RECURSION EXAMPLE
Initial premises: A; A → B; B → C.
Iteration 1: derive B by modus ponens; record {A, A → B}.
Iteration 2: derive C by modus ponens; record {B, B → C}.
Iteration 3: no new admissible conclusions; terminate at fixed point.
The example is deductive and assumes the initial premises are valid within the chosen logic.

14. CITATION AND LICENCE NOTE
Source attribution: Kireth Research, Recursive Inference Entity Ontology.
Formalisation: Mark Anthony Higgins — Sky, Recursive AI.
Refer to the source website for the applicable Open Research Licence and citation requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ