Skip to main content

Unplanned Maintenance 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
UNPLANNED MAINTENANCE 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/unplanned-maintenance-ontology.html
Format: Normal Flow Algebra; not AI Search Flow Algebra.
Status: Proposed formal model; live page content not verified.

1. ENTITY DEFINITION
UnplannedMaintenance is maintenance initiated outside the applicable baseline maintenance plan in response to an emergent requirement. It may follow a fault, unexpected degradation, failed inspection or external damage. Unplanned does not imply unauthorised, immediate, or necessarily corrective work. Emergency maintenance is an urgency classification; corrective maintenance is a purpose classification. An unplanned intervention may subsequently be planned and scheduled without erasing its original classification.
UnplannedMaintenance ⊆ MaintenanceActivity.
Unplanned(m,b,t) ⇔ MaintenanceActivity(m) ∧ EmergentRequirement(m,t) ∧ ¬Included(m,b,t−), where b is the applicable baseline revision and Included is established from evidence. Unknown inclusion is not false inclusion.

2. ENTITY GRAPH
UnplannedMaintenance → respondsTo → MaintenanceRequirement
MaintenanceRequirement → originatesFrom → FaultEvent | ConditionObservation | InspectionFinding
FaultEvent → affects → MaintainableAsset
MaintainableAsset → provides → RequiredFunction
MaintenanceRequirement → evaluatedBy → RiskAssessment
UnplannedMaintenance → classifiedBy → UrgencyClass
UnplannedMaintenance → implementedBy → WorkOrder
WorkOrder → contains → MaintenanceTask
WorkOrder → references → BaselinePlanRevision
MaintenanceTask → requires → Competence | Tool | SparePart | Permit
MaintenanceTask → constrainedBy → SafetyControl
MaintenanceExecution → produces → MaintenanceRecord
MaintenanceRecord → contains → VerificationResult
VerificationResult → informs → ReleaseDecision
UnplannedMaintenance → mayDisplace → PlannedMaintenanceTask
MaintenanceRecord → informs → ReliabilityAnalysis
ReliabilityAnalysis → informs → MaintenancePlanRevision
All relations are typed; the alternatives separated by | denote permitted target classes, not simultaneous mandatory targets.

3. STATE SPACE AND BOUNDARY
X=(A,C,F,O,Q,W,R,P,B,E,t)
A: asset identities, configuration and required functions.
C: physical condition and estimated condition, represented separately.
F: fault hypotheses and confirmed failure modes.
O: operating state and service capability.
Q: emergent requirements and priority queue.
W: work orders and execution states.
R: personnel, tools, materials and available capacity.
P: baseline and revised maintenance plans.
B: safety barriers, permits, isolation and release status.
E: versioned evidence and event ledger.
t: time, with a declared clock and units.
System boundary includes affected assets, maintenance organisation and relevant external interfaces. External supply, demand and environmental changes enter as disturbances; they are not assumed controllable.

4. FLOW OPERATORS
I(X)=X.
D_Δ: evolve physical state over Δ≥0 under operating conditions.
J_e: incorporate emergent event e and its provenance.
H: assess hazards and establish a safe disposition.
N: identify and classify the maintenance requirement.
G: diagnose and evaluate feasible interventions.
S: allocate resources and revise schedule.
A_op: authorise intervention.
M: execute authorised maintenance.
V: verify functional and safety requirements.
L: authorise operational release.
U: update records, plans and reliability evidence.
(F₂ ∘ F₁)(X)=F₂(F₁(X)); associative where domains and codomains match.
F_response=G ∘ N ∘ H ∘ J_e.
F_restore=U ∘ L ∘ V ∘ M ∘ A_op ∘ S ∘ F_response, on the successful branch only.
F₁ ⊗ F₂ denotes compatible parallel operations; shared resources, isolation boundaries and interacting assets must be checked before composition.
Failed guards route to hold or escalation, not to an identity operation that falsely records success.

5. EVENT AND LIFECYCLE ALGEBRA
Requirement states: detected → triaged → diagnosed → awaitingResources → authorised → executing → verifying → released → closed.
Alternative states: held, deferred, escalated, cancelled, verificationFailed.
VerificationFailed → diagnosed or held, subject to a fresh risk assessment.
Deferred → triaged when its review time arrives or its risk changes.
Asset states: operational, degraded, unavailable, isolated, testing, released. Asset and work order states are independent dimensions.
Transition δ(X,e) is defined only when the event is valid for the current state and all mandatory guards hold. Duplicate event identifiers must not create duplicate work orders; distinct faults must not be merged solely because they share an asset.
A closed work order does not imply a restored asset if the recorded disposition was cancellation or transfer.

6. DIAGNOSTIC AND UNCERTAINTY ALGEBRA
For mutually exclusive and exhaustive hypotheses h_i and evidence y:
P(h_i|y)=P(y|h_i)P(h_i)/Σ_j P(y|h_j)P(h_j), provided the denominator is positive.
Evidence quality, sensor calibration and dependence between observations must be represented. Repeated correlated measurements cannot be treated as independent evidence without justification.
A diagnostic decision selects an intervention from feasible actions, not simply the most probable hypothesis. Unresolved safety-critical uncertainty requires escalation or further evidence.
Unknown condition ≠ healthy condition; absence of an alarm ≠ proof of function.

7. RISK AND PRIORITY ALGEBRA
For requirement i, define q_i=(asset, event, consequence, likelihood, deadline, evidence, owner).
Risk_i=ρ(P_i,C_i,context_i), where ρ is a declared assessment method.
For quantitative mutually exclusive outcomes, expected loss L=Σ_j p_j c_j, with consistent units and time horizon. Ordinal risk ratings must not be interpreted as monetary losses or probabilities.
Slack_i(t)=deadline_i−t−remainingDuration_i.
Priority_i=π(urgency_i,risk_i,slack_i,dependencies_i), using a documented policy.
Mandatory safety and statutory constraints are hard constraints. Negative slack requires escalation; it does not authorise unsafe operation.
Deferral requires an authorised disposition, valid controls, expiry and reassessment triggers. Emergency classification does not waive execution guards.

8. RESOURCE AND SCHEDULE ALGEBRA
For task i, finish f_i=s_i+d_i, d_i≥0.
For precedence i→j, f_i≤s_j.
For resource k, Σ_i r_ik·1[s_i≤t<f_i]≤capacity_k(t).
Inventory_k(t+)=Inventory_k(t−)+receipts_k−issues_k≥0.
An emergent task may displace a planned task only after checking the displaced task's risk, deadline and resource dependencies. Preserve the baseline and record the revision reason.
Choose a feasible schedule minimising expected service loss, intervention cost and delay penalties under mandatory constraints. If no feasible schedule exists, escalate rather than silently relax safety limits.

9. INTERVENTION AND RESTORATION ALGEBRA
Physical state evolves as c(t+Δ)=D(c(t),load,environment,Δ,noise).
Intervention transforms c⁺=M_a(c⁻,configuration,resources,executionQuality).
Restoration is not necessarily perfect: c⁺ may differ from as-new condition.
Execution guard G_exec=competence ∧ authorisation ∧ resources ∧ applicableSafetyControls ∧ configurationMatch.
Only a true guard enables execution; false or unknown mandatory predicates block it.
Verification V(c⁺,requirements,evidence) returns pass, fail or indeterminate.
Release requires pass and a valid release authorisation. Partial restoration requires explicit revised operating limits and approval; it is not equivalent to full restoration.

10. DOWNTIME, RELIABILITY AND MAINTAINABILITY
For a service interruption, T_down=t_release−t_loss, when both endpoints are observed. Open interruptions are right-censored.
Where phases are disjoint and exhaustive, T_down=T_detection+T_wait+T_diagnosis+T_repair+T_test+T_release. Otherwise use the union of intervals to avoid double counting.
Observed availability A_obs=T_available/T_required, T_required>0, with the service definition and observation window declared.
For an alternating renewal model with finite mean uptime and downtime, long-run availability A=E[U]/(E[U]+E[D]). This is not a universal formula for arbitrary interacting systems.
Maintainability M(t)=P(T_restore≤t) under declared resources and conditions.
Reliability R(t)=P(T_failure>t) under specified operating conditions. Under a constant hazard λ, R(t)=exp(−λt); do not assume constant hazard without evidence.
Unplanned work counts are not failure counts: one failure can generate multiple tasks and an emergent task can precede failure.

11. FORMAL INFERENCE RULES
R1: EmergentRequirement ∧ confirmed absence from baseline ⇒ UnplannedMaintenance classification.
R2: ConfirmedFault ∧ restoration purpose ⇒ CorrectiveMaintenance classification, independently of planning status.
R3: UnsafeCondition ⇒ SafeDispositionRequired; priority does not override this requirement.
R4: MissingMandatoryGuard ⇒ ExecutionBlocked.
R5: VerificationFailed ∨ VerificationIndeterminate ⇒ FullReleaseBlocked.
R6: DisplacedTask ∧ deadline threatened ⇒ ReassessmentRequired.
R7: ChangedConfiguration ⇒ revalidate affected diagnostic assumptions and maintenance requirements.
R8: RepeatedFailure ∧ comparable exposure ⇒ candidate for reliability review, not proof of a common root cause.
R9: ReleaseAuthorised ∧ verificationPass ⇒ release permitted within approved operating limits.
R10: Deferred ∧ reviewExpired ⇒ reassessment required.

12. SYSTEM INVARIANTS AND VALIDATION
Unique asset, event, requirement and work order identifiers.
Every intervention references an asset, requirement, authorised scope and evidence record.
Event timestamps retain source and uncertainty; recorded time is distinct from occurrence time.
No resource allocation exceeds capacity; no inventory becomes negative.
No execution or release bypasses mandatory guards.
No record revision overwrites original baseline classification or historical evidence.
No inferred repair success without verification evidence.
No aggregation of incompatible risk units or observation horizons.
Every unresolved requirement has an accountable owner and review disposition.
Unknown values remain explicit and are not silently mapped to zero or false.

13. RECURSIVE FLOW ALGEBRA
X_(n+1)=F_review(X_n,e_n), where F_review updates diagnosis, feasible actions, controls, schedule and evidence following new observations or failed verification.
For a frozen evidence snapshot, define a finite set of possible derived facts and a monotone inference operator T. K_(n+1)=K_n∪T(K_n). The sequence reaches a least fixed point relative to K_0 because the fact universe is finite.
K*=K*∪T(K*). This is logical closure, not proof of physical restoration.
Operational recursion is not assumed monotone: new evidence can invalidate diagnoses and require revision. Use versioned snapshots and explicit supersession.
Terminate a response episode when verified release and record closure are achieved, or when responsibility is explicitly transferred with a documented safe disposition. Bound diagnostic retries by policy and escalate when exhausted. A fixed point with unresolved hazards is not a successful terminal state.

14. WORKED EXAMPLE (ILLUSTRATIVE)
An asset loses service at 08:00. Detection takes 10 min, waiting 30 min, diagnosis 20 min, repair 60 min, verification 15 min and release administration 5 min. Assume sequential non-overlapping phases and successful verification.
T_down=10+30+20+60+15+5=140 min. Release at 10:20.
If the asset was required for all 24 hours and otherwise available, A_obs=(1440−140)/1440=0.90278, or 90.28% for that day only.
A planned task displaced by this event must be rescheduled subject to its own deadline and risk. The calculated availability neither establishes long-run reliability nor authorises continued operation.

15. SEMANTIC GRAPH CONNECTIONS
Parent: Maintenance Engineering Entities.
Related concepts: Maintenance Engineering Entity; Maintenance System Entity; Maintenance Task; Planned Maintenance; Corrective Maintenance; Preventive Maintenance; Predictive Maintenance; Condition-Based Maintenance; Risk Assessment Record; Residual Risk; Risk Control; Failure Event; Inspection Finding; Maintenance Record.
Relationships are conceptual integration targets; individual child URLs and live ontology identifiers have not been verified.

16. CANONICAL FLOW
EmergentEvent → SafeDisposition → Requirement → Diagnosis → RiskEvaluation → ResourceAllocation → Authorisation → Intervention → Verification → Release → Record → PlanRevision → Monitoring.
Failure or uncertainty at any mandatory guard → Hold / Escalation / Reassessment.
Core invariant: unplanned initiation never implies uncontrolled execution.
END OF FORMAL FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ