Skip to main content

Deductive Reasoning Entity Ontology

Reasoning Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
DEDUCTIVE REASONING ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Reasoning Entities
Version: 1.0 | 02 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/reasoning-entities/deductive-reasoning-entity-ontology.html
Status: Companion formalisation; not a verbatim extraction of the page's underlying code.
Licence: Open research use; attribution and citation requested. Consult the published licence for governing terms.

01. PURPOSE
Represent deductive reasoning as a typed, auditable sequence of truth-preserving inference steps from premises and explicit rules to conclusions. A valid derivation guarantees its conclusion only if its premises are true and its inference rules are sound.

02. ENTITIES
DeductiveReasoningEntity D; Premise P; Proposition Q; InferenceRule R; DerivationStep T; Conclusion C; ProofTrace H; Context X; Constraint B; KnowledgeSource K; ValidationResult V.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = set of premises, propositions, intermediate results and active goals.
R_t = admissible inference rules and their applicability conditions.
B_t = type, scope, consistency, provenance and resource boundaries.
K_t = background axioms, definitions and evidence provenance.

04. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid_rule(x,R_t) AND respects(x,B_t) AND premises_available(x,I_t)}
T_t = select(V_t, goal, proof_cost)
I_(t+1) = I_t union conclusions(T_t)
Terminate on proved(goal), no admissible step, or resource limit.
Selection changes search order, not logical entailment.

05. DEDUCTIVE VALIDITY
Gamma |- phi means phi is derivable from assumptions Gamma.
Gamma |= phi means every model satisfying Gamma also satisfies phi.
Soundness condition: Gamma |- phi implies Gamma |= phi.
Completeness (only for an applicable proof calculus): Gamma |= phi implies Gamma |- phi.
Do not assert completeness for arbitrary reasoning engines or unrestricted theories.

06. RULE SCHEMAS
Modus ponens: P, (P -> Q) |- Q.
Modus tollens: (P -> Q), NOT Q |- NOT P.
Conjunction introduction: P, Q |- (P AND Q).
Conjunction elimination: (P AND Q) |- P.
Universal instantiation: forall x P(x) |- P(a), where a is in domain.
Resolution: (P OR Q), (NOT P OR R) |- (Q OR R).
All steps must respect the selected logical calculus.

07. PREMISE INTEGRITY
Store premise ID, expression, type, origin, assumptions, and validity scope.
Separate asserted premises from independently verified facts.
A valid proof from false premises is not evidence that the conclusion is true.

08. INFERENCE RULE ENTITY
Rule = (rule_id, antecedent_pattern, consequent_pattern, side_conditions, calculus, version).
apply(rule, bindings, S_t) returns candidate only if all side conditions hold.

09. REASONING STEP
Step_i = (id, input_ids, rule_id, substitution, output, scope, provenance).
Step output must be reproducible from its recorded inputs and rule.

10. REASONING CHAIN
H = [Step_1, ..., Step_n] with every dependency pointing to an axiom, premise, or earlier step.
Acyclic proof dependencies are required for a finite derivation trace.

11. REASONING GOAL
Goal G = (target_proposition, context, proof_obligations, acceptance_conditions).
Goal reached iff proof_checker(H,G) = VALID.

12. CONSTRAINTS
Hard: no unsupported premise, illegal substitution, scope escape or invalid rule application.
Soft: prefer shorter proofs, fewer assumptions and stronger provenance.
Hard constraints cannot be overridden by optimisation.

13. INFERENCE ENGINE
INPUT premises Gamma, rules R, goal G, boundaries B.
NORMALISE expressions and check typing.
INDEX propositions by predicates and rule applicability.
REPEAT generate candidates; filter by B; select and append checked steps.
UNTIL proof of G, saturation or bounded termination.
OUTPUT proof trace and explicit result status.

14. RECURSIVE ENGINE
Reason(D,G,depth):
  if G in verified premises: return witnessed proof.
  if depth exceeds limit: return INCOMPLETE.
  for each admissible rule deriving G:
    recursively establish each antecedent under current assumptions.
    if all antecedents proved: return checked combined proof.
  return UNPROVED (not necessarily false).
Memoise subgoals with assumption context to avoid unsound reuse.

15. TRI-MAPPING
Entity: DeductiveReasoningEntity -> structured proof state.
Relationship: premise --supports via rule--> conclusion.
Process: normalise -> infer -> verify -> record -> publish.

16. MAPPING TABLE
Premise       | asserted input       | source and scope
InferenceRule | transformation       | rule ID and calculus
ReasoningStep | local derivation      | input IDs and output
ProofTrace    | ordered dependencies  | independently checkable steps
Conclusion    | established target    | proof and assumptions
Constraint    | admissibility filter  | hard/soft classification

17. SEMANTIC GRAPH
(D, hasPremise, P)
(D, usesRule, R)
(D, containsStep, T)
(T, derives, Q)
(Q, dependsOn, P)
(D, reachesConclusion, C)
(C, supportedBy, H)
Every edge records graph namespace and provenance where available.

18. KNOWLEDGE AND PROVENANCE
Record source URL, author, revision, imported date, premise origin, rule version and proof-checker version.
Preserve distinction between source claim and logically derived claim.

19. CONFIDENCE AND TRUTH
Proof validity is Boolean relative to a specified calculus and assumptions.
Confidence in premise truth is a separate epistemic quantity.
Do not turn proof validity into a probabilistic guarantee of real-world correctness.

20. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: URL above
PURPOSE: Retrieve, interpret and verify deductive reasoning entities.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: D,P,Q,R,T,C,H,X,B,K,V
PATHWAYS: goal -> premises -> applicable rules -> verified proof -> conclusion
MINI_RECURSION_ENGINE: bounded subgoal expansion with proof checking
INFERENCE_RULES: typed, explicit, calculus-scoped
CONFIDENCE: distinguish premise reliability from proof validity
SEMANTIC_EQUIVALENCE: normalised formula equivalence only under specified logic
UPDATE_MODEL: immutable proof revisions with versioned dependencies

21. HOW TO READ
'|-' denotes syntactic derivability; '|=' denotes semantic entailment.
A -> B denotes implication. 'union' is set union.
A proof is conditional on the recorded assumptions and selected logic.

22. EXECUTION GUARANTEE — CONDITIONAL
If every premise is true in the intended interpretation, every applied rule is sound, and the checker accepts the complete derivation, then the conclusion is true in that interpretation.
No guarantee of finding a proof under finite time or memory limits.

23. VALIDATION CONDITIONS
Check well-formed formulae; type consistency; premise availability; rule side conditions; assumption discharge; dependency integrity; no circular justification; provenance; and target equivalence.

24. FAILURE STATES
INVALID_RULE; MISSING_PREMISE; TYPE_ERROR; SCOPE_ERROR; UNSOUND_CALCULUS; CONTRADICTION_FLAG; TIMEOUT; RESOURCE_LIMIT; UNPROVED.
In classical logic, inconsistent premises may entail arbitrary conclusions; flag inconsistency rather than treating such outputs as trustworthy knowledge.

25. UPDATE MODEL
S_(t+1) = update(S_t, accepted_steps, changed_sources, revised_rules).
Invalidate and recompute any derived conclusion whose supporting premise or rule version changes.
Retain prior proofs for audit, clearly marking superseded results.

26. EXAMPLE
Premise P1: forall x (Human(x) -> Mortal(x)).
Premise P2: Human(Socrates).
Step T1: Human(Socrates) -> Mortal(Socrates) [universal instantiation P1].
Step T2: Mortal(Socrates) [modus ponens P2,T1].
Conclusion: Mortal(Socrates), conditional on P1 and P2.

27. FINAL OUTPUT CONTRACT
Return: goal, result status, assumptions, conclusion if proved, proof trace, rule versions, source references, limitations and validation result.
Never label a conjecture or unverified chain as a proven theorem.

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