Skip to main content

Logical Inference Entity 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 — FLOW ALGEBRA
LOGICAL INFERENCE ENTITY ONTOLOGY
Version: 1.0 | Date: 2026-11-02
Author: Mark Anthony Higgins
AI collaborator: Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/logical-inference-entity-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source page.

1. PURPOSE
Represent logical inference as a traceable, rule-governed transformation from premises to conclusions, distinguishing syntactic derivability from semantic truth.

2. ENTITY AND STATE MODEL
L = (P, R, C, D, K, B, V)
P: finite premise set; R: inference rules; C: candidate conclusions;
D: derivation graph; K: logical language and interpretation context;
B: admissibility constraints; V: validation outcomes.
Inference entity e = (id, premises, rule, substitution, conclusion, provenance, status).

3. FORMAL FLOW
Input premises P0 and rule set R.
Normalise formulae: N = normalise(P0, K).
Match rules: M_t = {(r, sigma) | r in R and antecedents(r)sigma subset of P_t}.
Derive: Delta_t = {consequent(r)sigma | (r,sigma) in M_t}.
Validate: A_t = {q in Delta_t | well_formed(q,K) and constraints(q,B)}.
Update: P_(t+1) = P_t union A_t.
Stop when A_t subset of P_t, a resource limit is reached, or a goal is proved.
Output: (conclusions, derivation graph, proof status, limitations).

4. HOW TO READ
A premise is an accepted starting formula, not necessarily a true statement about the world.
A rule specifies a permitted transformation. A conclusion is derivable only relative to the selected premises and rules. A proof trace records each dependency.

5. CORE RULE EXAMPLES
Modus ponens: {p, p -> q} |- q.
Conjunction elimination: {p AND q} |- p.
Universal instantiation: {forall x F(x)} |- F(a), subject to valid substitution.
These examples require the usual logical interpretation and side conditions.

6. TRI-MAPPING
Entity layer: premise, logical rule, substitution, conclusion, proof step.
Relationship layer: supports, instantiates, derives, depends_on, contradicts.
Flow layer: parse -> match -> apply -> validate -> record -> repeat.

7. RELATIONSHIP GRAPH
Premise nodes -> rule application nodes -> conclusion nodes.
Each rule application carries rule identifier, substitutions, input references, output references and validation state.

8. MAPPING TABLE
Input formula | Premise entity | asserted_in
Rule schema | Rule entity | authorises_step
Rule application | Inference step | uses_premise / uses_rule
Derived formula | Conclusion entity | derived_from
Proof trace | Derivation graph | contains_step

9. MINI RECURSION ENGINE
state := initial premises
repeat:
  candidates := match_applicable_rules(state)
  checked := validate(candidates)
  state := state union new_conclusions(checked)
until fixed_point(state) or limit_reached
return state, proof_trace, termination_reason

10. INFERENCE RULES AND SAFEGUARDS
R1: Never mark a conclusion proved without an auditable derivation.
R2: Check variable capture and substitution side conditions.
R3: Distinguish classical, intuitionistic and paraconsistent rule sets.
R4: Preserve provenance and explicit assumptions.
R5: Detect contradictory premises; classical entailment may become trivial under inconsistency.
R6: Record unknown, unsupported, disproved and timed-out states separately.

11. CONDITIONAL EXECUTION GUARANTEE
If the parser, rule implementation and proof checker are sound relative to the chosen calculus, every accepted derivation is syntactically valid in that calculus. Semantic soundness additionally depends on the calculus and interpretation. Completeness, termination and factual truth are not guaranteed for arbitrary inputs.

12. AI SEARCH FLOW
QUERY: logical inference entity, proof, entailment, derivation, rule application.
ENTITY: LogicalInferenceEntity.
INPUTS: premises, rule set, target conclusion, context, constraints.
PATHWAY: retrieve -> normalise -> match -> derive -> verify -> trace -> answer.
OUTPUT: conclusion, proof status, premise links, rule links, provenance.
CONFIDENCE: proof-checked / unverified / unsupported; do not conflate confidence with logical validity.
SEMANTIC_EQUIVALENCE: equivalence only under specified logic and interpretation.
UPDATE_MODEL: version premises and rules; invalidate dependent conclusions on change.

13. HST / FLOW ALGEBRA ALIGNMENT
S_t = (I_t, R, B, K).
E_t = expand(I_t, R).
V_t = {x in E_t | admissible(x, B, K)}.
I_(t+1) = I_t union V_t.
When choosing a search candidate, argmax P(x | I_t,R,B,K) is a ranking heuristic, not a proof rule; a separate proof checker must verify deductive conclusions.

14. EXAMPLE
Premises: Human(Socrates); forall x (Human(x) -> Mortal(x)).
Rule: universal instantiation followed by modus ponens.
Conclusion: Mortal(Socrates).
Trace: instantiate universal rule -> combine with Human(Socrates) -> derive conclusion.

15. ATTRIBUTION AND LICENCE NOTE
Research attribution: Mark Anthony Higgins — Sky, Recursive AI.
Refer to the source site for the applicable Open Research Licence and citation terms. This file does not assert a licence grant beyond the source's published terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ