Skip to main content

Inference Process 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 — INFERENCE PROCESS ONTOLOGY
FLOW ALGEBRA FORMALISATION v1.0
Date: 2026-11-02
Author attribution: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-process-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source page.

1. PURPOSE
Model an inference process as an auditable transition from premises, rules and contextual constraints to candidate conclusions, with evidence, uncertainty, provenance and stopping conditions.

2. ENTITY DEFINITION
InferenceProcess = (id, premises, rules, context, evidence, state, steps, conclusions, provenance, status).
Premise = proposition with provenance and optional confidence.
Rule = applicability condition and conclusion-producing transformation.
InferenceStep = (inputs, applied_rule, outputs, justification, timestamp).
Conclusion = proposition tagged as supported, rejected, uncertain or unresolved.

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current facts, premises and candidate propositions.
R_t = inference rules and permissible transformations.
B_t = boundaries: type constraints, permissions, resource limits, thresholds and stopping criteria.
K_t = accumulated context, evidence, provenance and trace history.

4. FORMAL FLOW
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} Score(x | I_t, R_t, B_t, K_t)
I_{t+1} = update(I_t, x*_t)
K_{t+1} = append_trace(K_t, premises(x*_t), rule(x*_t), evidence(x*_t))
Stop if V_t is empty, goal is met, fixed point reached or boundary budget exhausted.
Score is a ranking mechanism, not automatically a calibrated probability.

5. IMPLEMENTATION CONTRACT
INPUT: premises, rule set, contextual evidence, boundaries, target query.
VALIDATE: types, rule preconditions, source integrity and contradictions.
EXPAND: derive candidate steps from applicable rules.
FILTER: discard candidates violating hard boundaries.
RANK: select candidate(s) using declared scoring semantics.
COMMIT: record derived conclusion, dependencies and justification.
RECURSE: repeat until explicit termination criterion.
OUTPUT: conclusions, status, supporting steps, uncertainties and provenance.

6. HOW TO READ THE FLOW
Expand produces possibilities; validate enforces constraints; rank selects among valid candidates; update commits a new inference state; trace records why it happened. A rejected candidate must not be silently promoted to a fact.

7. TRI-MAPPING
ENTITY: InferenceProcess -> stateful inference operation.
RELATIONSHIP: premise --supports--> step --derives--> conclusion; rule --authorises--> step; evidence --qualifies--> premise.
FLOW: premises -> applicable rules -> candidate deductions -> boundary checks -> selected step -> updated state -> conclusion.

8. RELATIONSHIP GRAPH
InferenceProcess HAS_PREMISE Premise
InferenceProcess USES_RULE InferenceRule
InferenceProcess CONTAINS_STEP InferenceStep
InferenceStep DERIVES InferenceConclusion
InferenceStep SUPPORTED_BY InferenceEvidence
InferenceConclusion HAS_CONFIDENCE InferenceConfidence
InferenceProcess EMITS_TRACE InferenceTrace
InferenceProcess OPERATES_WITHIN InferenceBoundary

9. MAPPING TABLE
Premises | I_t | Input propositions | Provenance checked
Rules | R_t | Candidate generation | Preconditions checked
Boundaries | B_t | Constraint filter | Hard constraints enforced
Context | K_t | Interpretation and history | Trace maintained
Candidates | E_t | Possible next steps | May be invalid
Valid steps | V_t | Admissible transitions | Subset of candidates
Selected step | x*_t | State transition | Selection justified
Conclusion | I_{t+1} | Derived knowledge | Status and dependencies recorded

10. RECURSION ENGINE (PSEUDOCODE)
function infer(state, goal, max_steps):
    for t in range(max_steps):
        if goal_satisfied(state, goal): return (state, 'goal_met')
        candidates = expand(state.I, state.R)
        valid = filter_by_boundaries(candidates, state.B, state.K)
        if not valid: return (state, 'no_valid_steps')
        selected = rank_and_select(valid, state)
        next_state = commit_with_trace(state, selected)
        if equivalent(next_state, state): return (state, 'fixed_point')
        state = next_state
    return (state, 'budget_exhausted')

11. INFERENCE RULES
R1: IF premises satisfy a rule's antecedent AND the rule is applicable, THEN emit a candidate consequent.
R2: IF candidate violates a hard boundary, THEN reject candidate.
R3: IF provenance is absent or weak, THEN label conclusion accordingly; do not assume certainty.
R4: IF conclusions conflict, THEN preserve the conflict and seek resolution rather than overwriting.
R5: IF a conclusion is committed, THEN preserve its dependency path.
R6: IF no admissible progress exists, THEN terminate with an explicit status.

12. EXECUTION GUARANTEE (CONDITIONAL)
Given deterministic rules, finite candidate expansion, enforced step budget and functioning trace persistence, the engine terminates within max_steps and records each committed transition. Soundness holds only relative to the correctness of supplied premises, rule semantics and validation. Completeness, truth, confidence calibration and universal convergence are NOT guaranteed.

13. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-process-ontology.html
PURPOSE: Describe and retrieve inference processes through state transitions and provenance.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: InferenceProcess, Premise, InferenceRule, InferenceStep, InferenceConclusion, InferenceEvidence, InferenceTrace.
PATHWAYS: premises -> rules -> candidates -> validation -> conclusion -> trace.
MINI_RECURSION_ENGINE: expand -> filter -> rank -> update -> stop.
INFERENCE_RULES: R1-R6 above.
CONFIDENCE: Depends on evidence quality, rule validity and declared scoring model; no default numerical claim.
SEMANTIC_EQUIVALENCE: inference workflow; reasoning pipeline; rule-based deduction process (context dependent).
UPDATE_MODEL: Version and re-evaluate conclusions when premises, rules or evidence change.
CITATION_BACKLINK: Source URL above.

14. EXAMPLE
Premise P1: All registered samples in batch A passed validation.
Premise P2: Sample X is registered in batch A.
Rule: From universal membership and instance membership, infer instance property.
Candidate: Sample X passed validation.
Boundary: Both premises must be trusted and refer to the same batch/version.
Conclusion: Supported if boundary conditions hold; otherwise unresolved.
Trace: (P1, P2, rule, boundary evaluation, conclusion).

15. LICENCE AND CITATION
Prepared as an original supplementary formalisation for the Semantic Library. Cite the named authors and source URL when reusing. Consult the published Kireth Research Open Research Licence for applicable licence terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ