AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — SEMANTIC LIBRARY
COST BREAKDOWN ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-01
Branch: AI Core / Entity Graph / Engineering Entities / Engineering Cost Entities
Canonical reference: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-cost-entities/cost-breakdown-ontology.html
Status: Proposed formal representation; live page not verified.
01. ENTITY DEFINITION
A cost breakdown is a controlled decomposition of expenditure into identifiable cost elements associated with an engineering scope, accounting basis and reporting period.
CBS = (id, revision, scope, currency, priceBasis, period, N, E, A, provenance)
N = cost nodes; E = parent-child edges; A = allocation records.
Each node has a stable identifier, classification, owner and effective interval.
A cost breakdown structure is distinct from a work breakdown structure (WBS): the former organises costs, the latter work scope. Their mappings may be many-to-many.
02. ENTITY GRAPH
CostBreakdown → contains → CostElement
CostElement → classifiedAs → CostCategory
CostElement → allocatedTo → WorkPackage
CostElement → associatedWith → EngineeringAsset
CostElement → derivedFrom → CostEstimate
CostElement → reconcilesWith → CostRecord
CostBreakdown → governedBy → BudgetBaseline
CostBreakdown → revisedBy → EngineeringChange
CostRecord → supportedBy → EvidenceRecord
These are proposed semantic predicates, not verified website identifiers.
03. FLOW OPERATORS
F: X → Y denotes a typed transformation with provenance.
F₂ ∘ F₁ means apply F₁ then F₂ where domains agree.
⊕ denotes aggregation of disjoint, normalised monetary records.
π denotes projection onto a reporting dimension.
Φ_CBS = Validate ∘ Aggregate ∘ Allocate ∘ Normalise ∘ Classify ∘ Identify
Input: engineering scope, resource quantities, rates, cost records.
Output: reconciled cost hierarchy, exceptions and evidence links.
Unknown amounts remain unknown; they must not silently become zero.
04. COST CLASSIFICATION
Categories may include capital, operating, maintenance, material, labour, equipment, energy, replacement and disposal costs.
Direct/indirect, fixed/variable and recurring/non-recurring are separate classification axes, not mutually exclusive categories across axes.
For a single additive reporting axis, each amount must be assigned once or fractionally allocated with conserved total.
C_direct = Σ_i q_i r_i, where quantities and rates use compatible units.
C_total = C_direct + C_indirect + C_contingency, if these sets are disjoint and the reporting basis includes contingency.
Contingency is a budget provision, not automatically incurred expenditure.
05. HIERARCHICAL DECOMPOSITION
Let children(n) denote the immediate children of node n.
C(n) = D(n) + Σ_{m ∈ children(n)} C(m)
D(n) is the amount assigned directly to n, excluding its descendants.
For a rooted tree, C(root) = Σ_{n ∈ N} D(n).
Do not sum both a subtotal and its constituent amounts.
A shared cost element in a directed acyclic graph requires explicit allocation weights or a unique ledger-record aggregation; unweighted roll-up may double count.
06. COST ALLOCATION ALGEBRA
Let c_j be the normalised amount of source record j and a_ij its fraction allocated to target i.
0 ≤ a_ij ≤ 1; Σ_i a_ij = 1 for fully allocated records.
C_i = Σ_j a_ij c_j.
Σ_i C_i = Σ_j c_j.
Unallocated amounts must be represented by a separate reconciliation bucket.
Allocation drivers may include labour hours, machine hours, floor area or measured consumption. Record the driver, denominator, period and approval.
For driver d_i ≥ 0, a_i = d_i / Σ_k d_k when the denominator is positive; otherwise flag an unresolved allocation.
07. TEMPORAL AND MONETARY NORMALISATION
Each amount records original currency, valuation date, tax basis and price basis.
C_base = C_original × FX(original → base, valuationDate).
For price escalation using a suitable index: C_t = C_0 × I_t / I_0, I_0 > 0.
Present value: PV = Σ_t C_t/(1+r)^t, with r > -1 and consistent real or nominal cash flows.
Never aggregate nominal, real and discounted costs without an explicit conversion.
Record the exchange-rate source, index source and discount assumptions.
08. BUDGET AND FORECAST RECONCILIATION
For a common scope and period, B = approved budget; AC = actual cost; ETC = estimate to complete.
EAC = AC + ETC.
Forecast variance = EAC − B (positive denotes forecast overspend).
Open commitments are included in ETC to the extent not already incurred; they are not added again to EAC.
Earned value cost variance CV = EV − AC; CPI = EV/AC for AC > 0.
EV requires an approved performance measurement baseline and measured progress; budget minus actual is not earned value variance.
09. REVISION AND DIFFERENCE ALGEBRA
CBS_v → ChangeRequest → ImpactAssessment → Approval → CBS_(v+1).
Match nodes by stable identity and normalise both versions to the same comparison basis.
ΔC_i = C_i(new) − C_i(old).
Added and removed nodes are identified separately from unknown amounts.
For comparable, complete disjoint leaf sets, ΔC_total = Σ_i ΔC_i.
Separate scope, quantity, rate, currency and allocation changes where evidence permits.
For one item, q₁r₁ − q₀r₀ = (q₁−q₀)r₀ + q₁(r₁−r₀).
This decomposition assigns the interaction term to rate variance; document the convention.
10. RECURSIVE IMPACT PROPAGATION
Let G be a finite dependency graph linking cost elements, work packages, assets and budgets.
S₀ = changed entities.
S_(k+1) = S_k ∪ {v : ∃u ∈ S_k, (u,v) ∈ E_dependency}.
Stop when S_(k+1) = S_k. Monotonic set expansion on a finite graph guarantees termination.
Reachability identifies potentially affected entities, not proven monetary changes.
Recalculate affected leaf amounts and roll up in reverse topological order.
Reject cycles in the cost hierarchy; dependency cycles may be traversed with a visited set.
For a separate linear feedback model x = b + Mx, convergence of iteration from arbitrary initial x is guaranteed when spectral radius ρ(M) < 1. Do not assume this condition for arbitrary cost networks.
11. UNCERTAINTY AND OPTIMISATION
Represent uncertain costs as distributions or documented scenarios.
E[C_total] = Σ_i E[C_i].
Var(C_total) = Σ_i Var(C_i) + 2Σ_{i<j} Cov(C_i,C_j).
Do not sum individual percentile estimates and label the result a portfolio percentile.
A proposed contingency at confidence p may be max(0, Q_p(C_total) − baseEstimate), subject to the approved risk policy.
Optimisation: minimise expected lifecycle cost over feasible designs, subject to safety, quality, capacity, schedule and regulatory constraints.
Cost reduction cannot override mandatory engineering requirements.
12. LIFECYCLE AND VALIDATION INVARIANTS
Draft → Reviewed → Approved → Active → Superseded → Archived.
Approval requires authorised reviewer, scope, revision, effective date and supporting evidence.
Invariants:
I1: Stable identifiers are unique within their namespace.
I2: Parent-child references resolve and hierarchy is acyclic.
I3: Monetary basis and units are compatible before aggregation.
I4: Allocation weights conserve each source amount.
I5: Actual, committed, forecast and budget records remain distinguishable.
I6: Approved baselines are immutable; changes create controlled revisions.
I7: Every reported subtotal reconciles to its underlying records within a declared rounding tolerance.
I8: Missing evidence and unknown values are explicitly flagged.
Validation result ∈ {pass, fail, unknown}; unknown does not imply conformity.
13. AI SEARCH AND REASONING FLOW
Search intents: engineering cost breakdown, CBS hierarchy, cost allocation, budget reconciliation, cost variance, engineering cost structure, lifecycle cost decomposition.
Query → EntityResolution → ScopeFilter → RevisionFilter → EvidenceRetrieval → Normalisation → Aggregation → Validation → Answer.
Resolve CBS identity, project, currency, period and approved revision before comparing amounts.
Retrieve supporting cost records and allocation drivers; distinguish estimates from actuals.
Example graph query (conceptual): find CostElement nodes allocatedTo a given WorkPackage, active at date t, and supportedBy approved CostRecord evidence.
Return amount, currency, basis, scope, revision, provenance and unresolved exceptions.
Do not infer approval from a missing status or fabricate a cost record.
Related concepts: Engineering Cost Entity, Capital Cost, Operating Cost, Maintenance Cost, Material Cost, Labour Cost, Equipment Cost, Energy Cost, Lifecycle Cost, Replacement Cost, Disposal Cost, Cost Estimate.
14. WORKED EXAMPLE
Illustrative engineering project, GBP, common price basis, excluding VAT.
Direct material: 200 kg × £12/kg = £2,400.
Direct labour: 80 h × £45/h = £3,600.
Equipment hire: £1,000.
Shared overhead: £1,200, allocated 60% to fabrication and 40% to assembly.
Fabrication: material £2,400 + labour £2,160 + overhead £720 = £5,280.
Assembly: labour £1,440 + hire £1,000 + overhead £480 = £2,920.
Root total = £5,280 + £2,920 = £8,200.
Source total = £2,400 + £3,600 + £1,000 + £1,200 = £8,200.
Approved budget = £8,500; actual to date = £5,000; ETC = £3,200.
EAC = £8,200; forecast variance = −£300 (underspend).
If material rate increases to £13/kg at unchanged quantity, material cost increases £200 and revised EAC is £8,400, assuming the affected material remains unincurred and other costs remain unchanged.
Revised forecast variance = −£100.
Allocation and hierarchy reconciliation both pass. Approval of the revised forecast remains a separate governance decision.
END OF FLOW ALGEBRA