Skip to main content

Inference Rule Entity Ontology

Inference Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
INFERENCE RULE ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Inference Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/inference-rule-entity-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Created: 2026-11-02
Status: Companion formalisation; the published page does not expose the complete underlying specification.

01. PURPOSE
Represent an inference rule as a typed, inspectable transformation from premises and context to a conclusion, preserving provenance, constraints and validity conditions.

02. ENTITY DEFINITION
InferenceRule r = (id, premises, guard, operator, conclusion, priority, provenance, confidence, version).
An inference rule is a specification, not itself evidence that its conclusion is true.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = available observations and premises.
R_t = active inference rules and relationship mappings.
B_t = boundaries: typing, applicability, safety and scope.
K_t = accepted knowledge with provenance and uncertainty.

04. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
y_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
K_(t+1) = update(K_t, y_t, provenance(y_t))
NOTE: argmax ranks candidates; it does not certify deductive truth.

05. TYPED RULE SIGNATURE
r: PremiseSet × Context × KnowledgeState -> CandidateConclusion
apply(r, P, C, K) = c only when match(P,r.premises) AND guard(r,C,K).

06. DEDUCTIVE SEMANTICS
For sound deductive rules: (P1 AND ... AND Pn) entails C.
A conclusion may be accepted as entailed only when premises are established and the inference rule is valid in the chosen logic.

07. NON-DEDUCTIVE SEMANTICS
For probabilistic, inductive or abductive rules: output is a supported hypothesis with calibrated uncertainty, not logical entailment.
P(H | E) proportional to P(E | H) P(H), when a valid probability model exists.

08. PREMISE MATCHING
Resolve entity identifiers, variable bindings, types, negation and temporal scope. Reject unresolved or contradictory bindings unless a paraconsistent policy explicitly applies.

09. GUARDS AND BOUNDARIES
B = {domain, time, type, authority, privacy, evidence_threshold, conflict_policy}.
Hard constraints reject invalid applications; soft constraints affect candidate ranking.

10. RULE ACTIVATION
active(r,t) = enabled(r) AND version_valid(r,t) AND premises_available(r,t) AND guard_satisfied(r,t).

11. RULE EXECUTION
Select applicable rules; unify premises; test guards; derive candidates; attach justifications; check consistency; commit or quarantine outputs.

12. RULE COMPOSITION
r1: A -> B; r2: B -> C implies composite path A -> B -> C only when intermediate bindings and guards are compatible.

13. RECURSIVE INFERENCE ENGINE
repeat until fixed point or resource limit:
  candidates := applicable_rules(K_t, I_t)
  derived := validated_conclusions(candidates)
  K_(t+1) := merge_with_provenance(K_t, derived)
  if K_(t+1) = K_t: stop
Use cycle detection, iteration limits and monotonicity checks.

14. INFERENCE RULES
IR1: Verified premises + sound rule + satisfied guards -> entailed conclusion.
IR2: Missing premise -> pending conclusion, not accepted fact.
IR3: Failed guard -> reject application.
IR4: Conflicting evidence -> mark disputed and retain both source trails.
IR5: Superseded rule version -> re-evaluate dependent conclusions.
IR6: Probabilistic support -> retain uncertainty and model assumptions.

15. CONFIDENCE MODEL
confidence(c) = calibrated_score(evidence, source_quality, rule_reliability, context_fit).
Do not multiply confidence values without a justified independence model.

16. PROVENANCE
For every conclusion retain rule_id, rule_version, premise_ids, source_ids, timestamp, context, inference_mode and validation_status.

17. TRI-MAPPING
Entity: InferenceRule -> typed semantic node.
Relation: premise/guard/derives/supports -> graph edges.
Flow: input premises -> rule evaluation -> candidate conclusion -> validated knowledge update.

18. MAPPING TABLE
Rule ID          -> stable entity identifier
Premise pattern  -> required input bindings
Guard            -> boundary and applicability checks
Operator         -> deductive/probabilistic/heuristic inference
Conclusion       -> derived candidate entity or triple
Provenance       -> source and justification lineage
Version          -> reproducibility and change tracking

19. SEMANTIC TRIPLES
(rule_001, rdf:type, InferenceRule)
(rule_001, requiresPremise, premise_A)
(rule_001, derivesConclusion, conclusion_B)
(conclusion_B, derivedBy, rule_001)
(conclusion_B, supportedBy, source_X)

20. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: URL above
PURPOSE: Discover, interpret, validate and execute typed inference-rule entities.
ENTITIES: InferenceRule, Premise, Guard, Conclusion, Evidence, Context, Provenance.
PATHWAYS: parse -> bind -> guard -> infer -> validate -> record -> index.
MINI_RECURSION_ENGINE: bounded fixed-point inference with cycle detection.
INFERENCE_RULES: IR1–IR6.
CONFIDENCE: retain method, assumptions and calibration status.
SEMANTIC_EQUIVALENCE: normalise identifiers without conflating distinct rule semantics.
UPDATE_MODEL: version rules and invalidate/re-evaluate dependent conclusions.

21. HOW TO READ
A rule specifies when a conclusion can be derived. The context determines whether it applies. The provenance explains why the conclusion was produced. Validation determines whether it may be accepted.

22. IMPLEMENTATION PATHWAY
Store rules as typed records; index premise predicates; match candidate premises; execute guarded operators; produce explanation graphs; validate; persist only approved conclusions.

23. VALIDATION CONDITIONS
V1: unique rule identifier and explicit version.
V2: typed premises and conclusion.
V3: defined inference semantics.
V4: guard and scope satisfaction.
V5: complete justification/provenance.
V6: no unbounded recursion.
V7: uncertainty labelled for non-deductive inference.
V8: contradictions handled by explicit policy.

24. EXECUTION GUARANTEE — CONDITIONAL
Given well-formed inputs, a deterministic rule engine and bounded execution, the process can guarantee termination and an auditable outcome. It cannot guarantee factual correctness of premises, soundness of unverified rules or truth of probabilistic conclusions.

25. UPDATE MODEL
On premise, rule or boundary changes: identify dependent conclusions -> mark stale -> re-evaluate -> record new version -> retain audit history.

26. EXAMPLE
Premise: (Socrates, instanceOf, Human)
Rule: forall x, Human(x) -> Mortal(x)
Guard: predicates interpreted in classical first-order logic.
Conclusion: (Socrates, instanceOf, Mortal)
Provenance: premise identifier + rule identifier + execution timestamp.

27. LIMITATIONS
This is an independently constructed companion specification based on the ontology title and publicly visible page metadata. It is not a verbatim reproduction of hidden downloadable source code.

END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ