EXPLANATION OUTPUT ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Output Entities
Version: 1.0 | 2026-11-01 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/output-entities/explanation-output-ontology.html
Status: Independently authored companion formalisation; source page could not be verified during preparation.
01. PURPOSE
Represent an explanation output as a traceable, audience-appropriate account of a model's result, with evidence, scope, uncertainty and limitations. Explanations are representations of reasons or evidence, not guaranteed disclosures of internal model computation.
02. ENTITY DEFINITION
ExplanationOutput E = (claim, grounds, method, audience, provenance, uncertainty, limitations, format).
Relations: explains(E, result); supports(grounds, claim); derived_from(E, source); tailored_to(E, audience); qualifies(uncertainty, claim).
03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input question, model result and relevant context.
R_t: relations among claims, evidence, assumptions and outputs.
B_t: constraints on truthfulness, privacy, accessibility and permitted disclosure.
K_t: verified domain knowledge and provenance.
04. CORE FLOW ALGEBRA
Candidates_t = expand(I_t, R_t)
Valid_t = {e in Candidates_t | satisfies(e, B_t) and grounded(e, K_t)}
E*_t = argmax_{e in Valid_t} P(e | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, E*_t, feedback_t)
If Valid_t is empty: output an explicit limitation or request for evidence; never fabricate a rationale.
05. IMPLEMENTS
Input: result, task, evidence set, intended audience, format and constraints.
Process: identify claims -> link evidence -> check entailment -> qualify uncertainty -> organise explanation -> validate -> emit.
Output: explanation with supporting references and known limitations.
06. HOW TO READ
The expansion step proposes possible explanations. The boundary filter removes unsupported or disallowed claims. Selection favours relevance, clarity and grounding. Feedback updates the next explanatory state.
07. TRI-MAPPING
Entity: ExplanationOutput, Claim, Evidence, Result, Audience.
Relation: explains, supports, cites, qualifies, depends_on.
Flow: receive -> map -> verify -> contextualise -> express -> validate.
08. RELATIONSHIP GRAPH
Task -> ModelResult -> Claim -> ExplanationOutput
Evidence -> supports -> Claim
Source -> provenance_of -> Evidence
Audience -> shapes -> ExplanationOutput
Uncertainty -> qualifies -> ExplanationOutput
BoundaryConstraints -> validate -> ExplanationOutput
09. MAPPING TABLE
Input/result | explanation target | model output entity
Evidence/source | supporting grounds | provenance entity
Assumption | stated premise | context entity
Uncertainty | confidence qualification | confidence output entity
Explanation text | readable rationale | text output entity
Validation result | supported/unsupported | structured output entity
10. MINI RECURSION ENGINE
function EXPLAIN(state, result, evidence, depth, max_depth):
if depth >= max_depth: return bounded_summary(result, evidence)
claims = extract_claims(result)
links = match_evidence(claims, evidence)
explanation = compose(claims, links, state.audience)
issues = validate_grounding(explanation, links, state.boundaries)
if issues is empty: return explanation
return EXPLAIN(revise_or_qualify(state, issues), result, evidence, depth + 1, max_depth)
Termination: max_depth is finite; unresolved issues are explicitly reported.
11. INFERENCE RULES
R1: supported(c, s) and relevant(s, task) -> eligible_ground(c, s).
R2: unsupported(c) -> qualify_or_omit(c).
R3: contradictory(s1, s2) -> disclose_conflict(s1, s2).
R4: audience_requires_plain_language -> simplify_without_changing_claim.
R5: no_access_to_internal_trace -> do_not_claim_verbatim_internal_reasoning.
R6: private_or_restricted(s) -> redact_or_omit(s).
12. EXECUTION GUARANTEES AND LIMITS
Design invariants (conditional on correct implementation): finite recursion; provenance fields retained when provided; unsupported claims flagged; output structure checked. These are specification goals, not verified guarantees of model correctness, causal faithfulness or factual accuracy. Explanations must distinguish evidence-backed conclusions from post-hoc interpretations.
13. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/output-entities/explanation-output-ontology.html
CITATION_BACKLINK: same as SOURCE
PURPOSE: Retrieve and explain the ontology of AI explanation outputs.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: ExplanationOutput, Claim, Evidence, Provenance, Audience, Uncertainty, Limitation.
PATHWAYS: task -> result -> claim -> evidence -> explanation -> validation.
MINI_RECURSION_ENGINE: bounded refinement with evidence checks.
INFERENCE_RULES: R1-R6 above.
CONFIDENCE: confidence is claim-specific and evidence-dependent; no numerical value asserted without calibration.
SEMANTIC_EQUIVALENCE: explanation output ~ evidence-grounded account of a result; not equivalent to an internal reasoning trace.
FLOW_HASH: compute SHA-256 from canonical published content when deployed; no hash asserted here.
UPDATE_MODEL: revise on new evidence, corrections or ontology changes; retain provenance and version.
END OF FLOW
Download Code
Copy to Clipboard