Skip to main content

Knowledge Rule Ontology

Knowledge Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
KNOWLEDGE RULE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Knowledge Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/knowledge-entities/knowledge-rule-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Source copyright: Mark Anthony Higgins, 11 October 2025; revised 29 July 2026.
Companion formalisation prepared: 2 November 2026.
STATUS: Independent companion formalisation. The public page exposes the title, attribution and interpretation note, but not the downloadable underlying specification. The rules below are proposed, not quoted from the hidden code.

01. PURPOSE
Represent a knowledge rule as a typed, scoped, provenance-aware implication that can be evaluated against a knowledge state, with explicit uncertainty, exceptions and audit trails.

02. ENTITY DEFINITION
KnowledgeRule r := (id, premises, conclusion, scope, priority, provenance, confidence, validity, exceptions, version).
Premises are a finite set of predicates; conclusion is a proposition or action; scope constrains applicability.

03. STATE MODEL
S_t := (I_t, R_t, B_t, K_t)
I_t = incoming claims, observations and queries.
R_t = applicable rule set and inference relations.
B_t = boundaries: scope, permissions, time, confidence and consistency constraints.
K_t = accepted knowledge with provenance and status.

04. FORMAL FLOW
E_t := expand(I_t, R_t)
V_t := {x in E_t | valid(x,B_t,K_t)}
C_t := resolve_conflicts(V_t, priority, specificity, provenance)
K_(t+1) := revise(K_t, C_t)
Output_t := explain(K_(t+1), supporting_rules, premises, exceptions)

05. RULE SYNTAX
r: (P_1 AND ... AND P_n AND Guard) => Q
Applicable(r,S_t) iff all required premises are supported, Guard holds, and no active exception blocks r.
Rules are implications within an explicitly selected logic; they do not assert that Q is true without valid premises.

06. TYPED INPUTS AND OUTPUTS
INPUT: proposition, evidence, rule, context, provenance, boundary.
OUTPUT: derived proposition, applicability result, confidence annotation, derivation trace, or abstention.
Reject type-incompatible premises and unbound variables before evaluation.

07. INFERENCE RULES
IR1 Modus ponens: P, (P => Q) |- Q, when implication is accepted in the chosen logic.
IR2 Conjunction: P and Q may satisfy a conjunctive antecedent.
IR3 Scope restriction: rules outside their declared domain do not fire.
IR4 Exception override: a verified exception blocks a defeasible rule.
IR5 Provenance retention: each derived claim retains its source rule and supporting premises.
IR6 Non-entailment: absence of P is not proof of NOT P under open-world semantics.
IR7 Contradiction handling: conflicting conclusions are flagged, not silently merged.

08. MINI RECURSION ENGINE
Frontier_0 := validated input facts.
Frontier_(n+1) := infer(Frontier_n, R_t, B_t) minus already_derived.
Stop when Frontier is empty, iteration limit reached, or resource boundary triggered.
Maintain visited derivations to prevent cyclic re-expansion.

09. HOW TO READ THE FLOW
Inputs enter I_t; rules in R_t expand candidate implications; B_t filters unsupported or out-of-scope deductions; K_t records accepted conclusions and explanations. Recursion repeats only when new admissible knowledge is produced.

10. TRI-MAPPING
ENTITY: KnowledgeRule -> identity, premises, conclusion, metadata.
RELATION: requires, implies, overrides, contradicts, supported_by, derived_from.
PROCESS: validate -> match -> infer -> filter -> resolve -> record -> explain.

11. MAPPING TABLE
Knowledge rule | rule node | inference relation | applicability evaluator
Premise | proposition node | required_by | evidence matcher
Conclusion | derived claim node | implied_by | knowledge updater
Exception | boundary node | blocks | exception checker
Provenance | source node | supported_by | trace recorder
Version | revision node | supersedes | change controller

12. CONFIDENCE MODEL
Confidence is an annotation, not a guarantee of truth.
Derived confidence := calibrated_combination(premise_reliability, rule_reliability, dependence).
Do not multiply confidence values as independent unless independence is justified.

13. CONFLICT RESOLUTION
Check explicit exceptions, temporal validity, source reliability and specificity.
If no defensible resolution exists, retain competing claims with an unresolved status.
Never treat priority alone as evidence of factual truth.

14. SEMANTIC EQUIVALENCE
Equivalent rules must preserve logical meaning, scope, guards, exceptions and output types.
Surface wording equivalence is insufficient for formal equivalence.

15. BOUNDARY CONDITIONS
No inference outside declared domain; no unauthorised actions; no unsupported factual promotion; no concealed source loss; no unbounded recursion.

16. VALIDATION
Check syntax, variable binding, type safety, provenance, satisfiable guards, conflict behaviour, recursion termination and explanation completeness.

17. EXECUTION GUARANTEE (CONDITIONAL)
Given valid finite inputs, deterministic conflict policy and a bounded evaluation strategy, the engine terminates with a traceable result or explicit abstention.
This does not guarantee factual correctness, completeness or soundness beyond the selected logic and evidence.

18. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/knowledge-entities/knowledge-rule-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: discover and interpret knowledge rules for typed, bounded reasoning.
ENTITIES: KnowledgeRule, Premise, Conclusion, Exception, Provenance, Boundary.
PATHWAYS: query -> rule match -> premise verification -> inference -> validation -> trace.
MINI_RECURSION_ENGINE: bounded fixed-point evaluation with cycle detection.
INFERENCE_RULES: IR1–IR7 above.
CONFIDENCE: calibrated, provenance-aware; abstain if insufficient.
SEMANTIC_EQUIVALENCE: logical equivalence under matching scope and constraints.
FLOW_HASH: compute from canonicalised published flow content when deployed; not precomputed here.
UPDATE_MODEL: versioned rule replacement with dependency re-evaluation.

19. UPDATE MODEL
On change to premises, evidence, rule, scope or exception: invalidate dependent conclusions; re-evaluate affected derivations; preserve earlier versions for audit.

20. EXAMPLE
Fact: has_verified_access(Alice).
Rule: has_verified_access(x) AND resource_public(y) => may_read(x,y).
Fact: resource_public(Document1).
Derived: may_read(Alice,Document1), subject to active policy boundaries.
Trace: both facts + rule identifier + applicable scope.

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