Skip to main content

Cost Entity Ontology

Decision Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — COST ENTITY ONTOLOGY
FLOW ALGEBRA | AI CORE / ENTITY GRAPH / AI ENTITIES / DECISION ENTITIES
Version: 1.0 | Date: 02 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/decision-entities/cost-entity-ontology.html
Status: Constructed formalisation. The webpage heading and attribution were accessible, but its embedded specification was not available for verification.

1. PURPOSE
Represent, compare, aggregate and revise the costs associated with decision alternatives while preserving units, provenance, uncertainty, constraints and temporal scope. Cost is distinct from utility and risk; it is one input to decision selection.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = available decision and cost information at time t.
R_t = relations between options, actions, resources, cost components and outcomes.
B_t = budgets, prohibitions, resource limits and admissibility boundaries.
K_t = verified cost knowledge, estimates, provenance and uncertainty.
C = (id, option, component, amount, unit, time_basis, uncertainty, source, status).
Valid(C) iff amount is finite, unit is explicit, time_basis is specified and source/status are recorded.

3. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)                           [candidate costs and dependencies]
V_t = {c in E_t | Valid(c) and boundary_ok(c,B_t)}
Cost(o,t) = sum_{c in V_t, c.option=o} normalise(c,t)
Feasible(o) = all hard_constraints(o,B_t) satisfied
O_t = {o | Feasible(o)}
o* = argmax_{o in O_t} Score(o | I_t,R_t,B_t,K_t)
I_(t+1) = update(I_t, observed_costs, revised_estimates, decisions)
Note: Score may incorporate cost, benefit, risk and preference; it must not equate minimum cost with maximum utility without an explicit decision rule.

4. COST CLASSES
Direct: attributable to an option or action.
Indirect: shared or overhead expenditure, allocated using an explicit rule.
Fixed: independent of activity over the stated range.
Variable: dependent on usage, volume or duration.
One-off: incurred once in the modelled horizon.
Recurring: incurred per stated time interval.
Opportunity: value of the best forgone alternative under declared assumptions.
Sunk: already incurred and normally excluded from prospective incremental comparisons.
Expected: probability-weighted cost across specified scenarios.
External: cost imposed on other entities; include only where the decision boundary requires it.

5. TEMPORAL AND UNCERTAINTY RULES
TotalCost(o,H) = Initial(o) + sum_{t=1..H} Recurring(o,t) + Terminal(o,H)
PresentValue(o) = sum_{t=0..H} Cost(o,t)/(1+r)^t, for declared discount rate r > -1.
ExpectedCost(o) = sum_s P(s|o) * Cost(o,s), where probabilities sum to 1.
IntervalCost(o) = [lower(o), upper(o)] when point estimates are unjustified.
Never sum unlike currencies, units or time bases without an explicit conversion and provenance record.

6. RECURSIVE COST EVALUATION
Flow CostEvaluate(option, depth, visited):
  1. Reject cyclic component references or mark as unresolved.
  2. Retrieve cost components, units, sources and dependencies.
  3. Validate boundaries, timestamps and assumptions.
  4. Recursively evaluate child components if depth remains.
  5. Normalise compatible components to the declared comparison basis.
  6. Aggregate totals and uncertainty without double counting.
  7. Return cost estimate, provenance, confidence and unresolved items.
Termination: finite component graph or explicit depth/node budget; otherwise return INCOMPLETE.

7. ENTITY GRAPH
Decision -> HAS_OPTION -> Alternative
Alternative -> INCURS -> CostEntity
CostEntity -> HAS_COMPONENT -> CostComponent
CostComponent -> USES_RESOURCE -> Resource
CostEntity -> MEASURED_IN -> Unit
CostEntity -> APPLIES_DURING -> TimeHorizon
CostEntity -> SUPPORTED_BY -> Evidence
CostEntity -> LIMITED_BY -> BudgetConstraint
CostEntity -> AFFECTS -> UtilityEvaluation
CostEntity -> UPDATED_BY -> Observation

8. INFERENCE RULES
R1: If a cost lacks unit or period, flag NOT_COMPARABLE.
R2: If cost exceeds a hard budget boundary, mark option INFEASIBLE.
R3: If an estimate is superseded by verified observation, retain historical provenance and update current estimate.
R4: If component allocations overlap, flag DOUBLE_COUNT_RISK.
R5: If a cost is sunk and the decision is prospective, exclude it from incremental cost unless the decision model explicitly requires otherwise.
R6: If uncertainty materially changes option ranking, request scenario or sensitivity analysis.
R7: If cost sources conflict, preserve both and mark UNRESOLVED until reconciled.

9. TRI-MAPPING
Semantic: cost, option, component, resource, budget, evidence, horizon.
Mathematical: C(o,t), sum, expectation, interval, feasibility predicate, argmax.
Operational: ingest -> validate -> normalise -> aggregate -> compare -> verify -> revise.

10. FLOW DIAGRAM
[Decision context]
       |
[Options and cost components]
       |
[Validate units, provenance, time]
       |
[Expand dependencies recursively]
       |
[Apply boundaries and budgets]
       |
[Aggregate / uncertainty analysis]
       |
[Compare feasible alternatives]
       |
[Record decision and observations]
       +----> [Update cost knowledge] ----> [Re-evaluate]

11. MAPPING TABLE
ENTITY             INPUT                         OUTPUT
CostEntity         amount, unit, source          validated cost record
CostComponent      type, amount, allocation      normalised component
CostBoundary       budget, limits                feasibility flag
CostEstimator      evidence, assumptions         estimate and interval
CostAggregator     compatible components        total and breakdown
CostComparator     alternatives, horizon         comparative cost results
CostObservation    actual amount, timestamp      revised knowledge state

12. EXECUTION GUARANTEE (CONDITIONAL)
Given finite acyclic dependencies, valid numeric inputs, compatible normalisation, deterministic allocation and bounded recursion, the evaluation terminates and returns a reproducible aggregate. It does NOT guarantee correct real-world prices, optimal decisions, complete evidence or absence of model error. Unmet assumptions must produce an explicit warning or INCOMPLETE status.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai.decision.cost-entity.v1
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/decision-entities/cost-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/decision-entities/cost-entity-ontology.html
PURPOSE: Evaluate and relate decision costs with evidence and constraints.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Decision, Alternative, CostEntity, CostComponent, Resource, BudgetConstraint, Evidence, TimeHorizon, UtilityEvaluation
PATHWAYS: identify -> validate -> expand -> normalise -> aggregate -> filter -> compare -> update
MINI_RECURSION_ENGINE: CostEvaluate(option, depth, visited)
INFERENCE_RULES: R1-R7 above
CONFIDENCE: Source-specific; do not assign a numeric confidence without evidence.
SEMANTIC_EQUIVALENCE: cost entity ~= attributed expenditure or resource sacrifice, within declared modelling scope
FLOW_HASH: Not computed; generate from canonical UTF-8 content when published.
UPDATE_MODEL: Preserve prior estimates and provenance; version revisions.

14. HOW TO READ AND IMPLEMENT
Read S as the current reasoning state. Expand retrieves linked cost components. Filter removes invalid or boundary-violating records. Aggregation computes comparable cost totals; decision selection additionally uses utility, risk and preferences. Store cost values with units, dates and sources; audit changes and maintain a separate distinction between estimated and observed cost.

15. LICENCE AND ATTRIBUTION
Prepared for the Kireth Research Semantic Library. Citation to the source page is required under the project's stated Open Research Licence; consult the published licence for exact terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ