Skip to main content

Replacement Entity Ontology

Maintenance Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 30 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
REPLACEMENT ENTITY ONTOLOGY
Formal Flow Algebra | Version 1.0 | 2026-11-30
Attribution: Mark Higgins / Sky — Recursive AI (project convention)
Canonical URL: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/maintenance-engineering-entities/replacement-entity-ontology.html
Format: Normal Flow Algebra. Status: Proposed formal model; live page not verified.

1. ENTITY DEFINITION
Replacement is a maintenance intervention in which an installed item is removed or superseded and another item assumes its designated functional role. The replacement entity identifies the intervention, outgoing item, incoming item, installation position, authority, configuration changes and verified outcome. Replacement may be preventive or corrective, planned or unplanned. It is distinct from repair of the outgoing item and does not necessarily imply restoration to an as-new system state.

2. ENTITY GRAPH
Replacement → isA → MaintenanceIntervention
Replacement → targets → EquipmentInstance
Replacement → removes → InstalledComponentInstance
Replacement → installs → ReplacementComponentInstance
Replacement → affects → EquipmentConfiguration
Replacement → consumesOrAllocates → SparePart
Replacement → authorisedBy → MaintenanceWorkOrder
Replacement → follows → MaintenanceProcedureRevision
Replacement → performedBy → MaintenanceTechnician
Replacement → uses → MaintenanceTool
Replacement → constrainedBy → RiskAssessmentRecord
Replacement → transforms → EquipmentCondition
Replacement → produces → VerificationRecord
Replacement → recordedIn → MaintenanceHistory
Replacement → informs → MaintenanceSchedule
These predicates are proposed, not verified published identifiers. A replacement may involve multiple items; model each installation position and item separately. A replacement part type is distinct from its physical instance.

3. STATE SPACE AND BOUNDARY
X=(a,C,J,I,x,w,r,g,e,s,t), where a is parent asset identity, C configuration, J installation history, I inventory and custody, x physical condition, w work order, r resources, g safety and authority guards, e evidence, s lifecycle state and t time.
C maps installation positions to item instances or an explicit vacant state. Unknown is represented by ⊥ and is not equivalent to vacant. The boundary includes selection, allocation, removal, installation, verification, disposition and handover. Procurement, external operating demand and regulatory requirements enter as external dependencies or constraints.

4. FLOW OPERATORS
I_d(X)=X; (G∘F)(X)=G(F(X)). Composition is associative where defined. Operators are partial typed transformations with explicit preconditions and postconditions.
D: determine replacement requirement; P: plan; K: establish compatibility; A: authorise; B: allocate part; S: establish safe work state; R: remove outgoing item; N: install incoming item; V: verify; H: handover; L: record and close; Q: block or escalate.
Nominal flow F=L∘H∘V∘N∘R∘S∘B∘A∘K∘P∘D.
A failed guard routes to Q, not implicit success. Removal and installation are separate physical transitions. If installation fails, the asset may remain vacant or incomplete and must not be released by administrative closure.
Parallel replacement F1⊗F2 is defined only where resource, isolation, configuration and task dependencies permit concurrent execution. R and N generally do not commute. Physical execution is not assumed idempotent; duplicate messages must not initiate duplicate interventions.

5. LIFECYCLE
Requested → Assessed → Planned → Authorised → Allocated → SafeToExecute → Removed → Installed → UnderVerification → Verified → Released → Closed.
Alternative states: AwaitingPart, AwaitingEvidence, Blocked, Suspended, FailedVerification, Aborted, Escalated.
A failed verification may lead to authorised rework or safe withdrawal. Each attempt has its own identity and evidence. Closure may record an unsuccessful outcome; release requires successful verification and authority. Record actor, timestamp and procedure revision for each transition.

6. COMPATIBILITY ALGEBRA
Let K(a,j,p,c) be the mandatory requirement set for part p in position j of asset a under configuration c. Requirements may cover geometry, interfaces, material, ratings, environmental suitability, software revision, certification and functional performance.
For each requirement k, v(k)∈{pass,fail,unknown}. Compatible iff all mandatory requirements pass. Any failure yields incompatible; otherwise missing evidence yields unknown. Unknown compatibility blocks installation.
An approved substitution is a context-specific relation Sub(p_old,p_new,a,j,c), not universal equality. It is not necessarily symmetric or transitive. A shared catalogue description does not establish compatibility. Changes to the approved design require applicable change control.

7. CONFIGURATION AND IDENTITY ALGEBRA
Let C(j)=p_old. R_j(C)=C[j↦vacant], provided the outgoing instance matches the authorised configuration. N_j(C,p_new)=C[j↦p_new], provided the position is vacant, the incoming item is compatible and installation guards hold.
C⁺=N_j(R_j(C⁻),p_new). Other positions remain unchanged unless explicitly included in the authorised intervention. For a single-instance component, no overlapping active installation intervals are permitted. Close the outgoing interval at actual removal time and open the incoming interval at actual installation time. Parent asset identity persists only under the approved identity policy; complete asset replacement may create a new asset identity.

8. INVENTORY AND CUSTODY
For a closed accounting boundary, N_total=N_available+N_reserved+N_in_transit+N_installed+N_quarantined+N_repair+N_disposed, using mutually exclusive categories and including disposed items as historical ledger entries. Receipts and external transfers change the boundary total; internal movements conserve it.
Reservation transfers one unit from available to reserved. Issue transfers reserved to in_transit. Installation transfers in_transit to installed. Removal transfers installed to quarantine or another authorised custody state. A removed part is not automatically serviceable stock. Serialised items require unique identity; bulk items require quantity and lot traceability as applicable.

9. CONDITION AND RELIABILITY
x⁺=T_replace(x⁻,p_new,u,ε), where u represents authorised installation parameters and ε uncertain outcome. Replacement of one component does not reset degradation of all other components.
For an illustrative virtual-age model, v_new=0 for a genuinely new item under an as-new assumption; a refurbished item may have v_new>0. With survival function S and current virtual age v, conditional survival over Δ is S(v+Δ)/S(v), provided S(v)>0 and the model assumptions hold.
For independent series components, R_system(t)=∏i R_i(t). Dependence, shared environments and common-cause failures require a joint model. A replacement may introduce installation defects; reliability improvement is not guaranteed.

10. VERIFICATION AND RELEASE
For mandatory acceptance criteria K_v, V=pass iff every criterion passes under the approved evidence and decision rules. Failure dominates unknown; unknown blocks release.
ReleaseGuard=Verified ∧ AuthorisedHandover ∧ SafetyRequirementsSatisfied ∧ ConfigurationRecorded ∧ RestrictionsCommunicated.
A passed test establishes compliance only for its specified scope and conditions. It does not establish indefinite reliability. Test evidence must identify the installed instance and configuration revision. A subsequent configuration change invalidates affected verification until reassessed.

11. RESOURCE, TIME AND COST ALGEBRA
For task i with start s_i and duration d_i≥0, finish f_i=s_i+d_i. For precedence i→j, s_j≥f_i. For each resource k and time t, Σ_i demand_ik(t)≤capacity_k(t).
Downtime D is the measure of the union of unavailable intervals, not the sum of overlapping task durations. Observed availability A=(T−D)/T for a defined observation window T>0 and consistent availability definition.
C_total=C_part+C_labour+C_logistics+C_test+C_disposition+C_downtime−C_recovery, using non-overlapping cost categories and consistent currency/time basis. Recovery credit is included only when justified. Cost optimisation is subordinate to mandatory safety, compatibility and release constraints.

12. RISK TRANSFORMATION
Risk before and after replacement is evaluated under comparable operating context, exposure horizon and consequence definitions. R⁺=Assess(C⁺,x⁺,context,evidence). New hazards and uncertainty must be included; R⁺≤R⁻ is not an invariant. A risk score is not a probability unless defined as such. Unresolved safety requirements block release or require the applicable authorised disposition; this ontology cannot authorise real-world work.

13. FORMAL INFERENCE RULES
R1: Installed(p,j,a,t) ⇒ ConfigurationContains(a,j,p,t).
R2: Removed(p,j,t) ⇒ EndInstallationInterval(p,j,t), subject to matching active interval.
R3: Installed(p_new,j,t) ⇒ StartInstallationInterval(p_new,j,t).
R4: Compatible=unknown ∨ Compatible=fail ⇒ InstallationBlocked.
R5: Verification≠pass ⇒ ¬ReleasePermitted.
R6: Released ⇒ Verified ∧ AuthorisedHandover.
R7: FailedVerification ⇒ ReassessmentRequired.
R8: Removed(p) ⇏ Serviceable(p).
R9: ReplacementCompleted ⇏ RootCauseEliminated.
R10: ConfigurationChanged ⇒ ReassessAffectedEvidence.
Rules use explicit evidence and three-valued guards; absence of a fact is not proof of its negation.

14. SYSTEM INVARIANTS
Unique intervention identity and unique serialised component identity within the declared namespace.
At most one active item per single-item position; no simultaneous active installation of the same physical item in incompatible positions.
Inventory quantities remain non-negative and movements balance within the accounting boundary.
Actual removal precedes installation for the same occupied position.
Every executed intervention references an applicable authorisation and procedure revision.
Release requires valid evidence for the actual installed configuration.
Historical events are immutable; corrections append superseding records with provenance.
Safety guards cannot be bypassed by cost or schedule optimisation.

15. RECURSIVE FLOW ALGEBRA
Let E_n be validated evidence and X_n the current state. X_(n+1)=Φ(X_n,E_n), where Φ evaluates compatibility, outstanding dependencies, verification and authorised next transitions. A failed test may generate a new assessment and distinct intervention attempt. Evidence processing may be idempotent by event identity; physical replacement is not.
For a finite set of possible derived facts U and monotone inference operator T, define B_(n+1)=B_n∪T(B_n). The sequence reaches a fixed point B* when B_(n+1)=B_n, after at most |U| strict additions. This applies to positive inference within a frozen evidence revision, not to physical degradation or changing observations. Contradictions and superseded facts require revision-aware recomputation.
Termination occurs on verified release, documented abort, escalation, or a blocked state awaiting external evidence/resources. Bound automated retries by policy and require human review for repeated failures. A blocked fixed point is not a successful outcome.

16. WORKED EXAMPLE (ILLUSTRATIVE)
Asset A has position J occupied by serial P001. Available stock contains two compatible units, including P002. Reserve P002: available 2→1, reserved 0→1. Issue: reserved 1→0, in_transit 0→1. Remove P001 to quarantine and set J vacant. Install P002: in_transit 1→0, installed count returns to its original value, and J maps to P002. Quarantine count increases by one. The total tracked item count is conserved.
Assume two independent series components with mission reliabilities 0.90 and 0.98. Before replacement R=0.882. If validated assumptions support replacement component reliability 0.99, after replacement R=0.99×0.98=0.9702. The 8.82 percentage-point increase is model-dependent, not a measured outcome.
If removal, installation and testing take 1, 2 and 1 hours sequentially, downtime is 4 hours assuming the asset is unavailable throughout and no other delay occurs. Over a 100-hour observation window with no other downtime, observed availability is 96%.
If one mandatory verification criterion is unknown, the intervention remains unreleased regardless of the estimated reliability improvement.

17. VALIDATION AND SEMANTIC INTEGRATION
Check identifiers, types, units, time ordering, installation cardinality, custody balance, evidence scope, guard completeness and procedure revision. Reject invalid state transitions and retain audit evidence. Test duplicate event handling, incompatible substitutions, missing test evidence, failed installation and concurrent work conflicts.
Related Semantic Library concepts: Maintenance Engineering Entity; Maintenance System; Maintenance Task; Corrective Maintenance; Preventive Maintenance; Maintenance Procedure; Maintenance Work Order; Maintenance Technician; Spare Part; Maintenance Tool; Equipment Condition; Condition Monitoring Record; Maintenance History; Repair Entity; Risk Control; Residual Risk; Risk Assessment Record.
The graph links are conceptual; published identifiers and child URLs have not been verified. This is a research ontology, not an executable maintenance procedure or a substitute for approved engineering requirements.
END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ