Skip to main content

Corrective 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
CORRECTIVE 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/corrective-maintenance-ontology.html
Format: Normal Flow Algebra; not AI Search Flow Algebra.
Status: Proposed formal model; live page content not verified.

1. ENTITY DEFINITION
CorrectiveMaintenance (CM) is maintenance performed after recognition of a fault, intended to restore an asset to a state in which it can perform its required function. It may be immediate or deferred, subject to safety and operational constraints. Fault recognition does not necessarily imply complete functional failure. A repair attempt does not imply successful restoration.
CM ⊆ MaintenanceActivity.
ImmediateCM ⊆ CM; DeferredCM ⊆ CM.
Classification is based on the initiating purpose, not the particular repair technique.

2. ENTITY GRAPH
CorrectiveMaintenance → targets → MaintainableAsset
CorrectiveMaintenance → triggeredBy → RecognisedFault
RecognisedFault → evidencedBy → FaultObservation
RecognisedFault → mayCause → FunctionalFailure
CorrectiveMaintenance → uses → DiagnosticProcedure
DiagnosticProcedure → produces → DiagnosticFinding
DiagnosticFinding → identifiesCandidate → FailureMode
CorrectiveMaintenance → authorisedBy → WorkOrder
WorkOrder → specifies → MaintenanceTask
MaintenanceTask → consumes → Resource, SparePart
MaintenanceTask → constrainedBy → SafetyRequirement
MaintenanceTask → modifies → AssetConfiguration, AssetCondition
MaintenanceTask → produces → MaintenanceRecord
MaintenanceRecord → contains → VerificationResult
VerificationResult → informs → ReleaseDecision
CorrectiveMaintenance → updates → RiskAssessmentRecord
CorrectiveMaintenance → informs → MaintenancePlan, ReliabilityRecord
Each relationship is scoped to asset identity, configuration, event and time. A candidate diagnosis is not an established cause.

3. STATE SPACE
X = (a,c,t,d,f,o,b,w,s,r,v,e)
a: persistent asset identity; c: configuration version; t: time.
d: physical condition vector with explicit units and uncertainty.
f: functional state ∈ {available, degraded, unavailable, unknown}.
o: observations and fault indications.
b: diagnostic belief distribution over candidate causes.
w: work order and task lifecycle state.
s: safety and isolation status, permissions and constraints.
r: resource inventory, personnel competence and availability.
v: verification evidence and release status.
e: append-only evidence ledger.
The physical state, inferred state and administrative state are distinct. Unknown is not equivalent to healthy or safe.

4. FLOW OPERATORS
D_Δ: natural evolution over Δ ≥ 0.
O: observe and record fault indications.
T: triage and assess operational risk.
B: diagnostic belief update.
P: plan corrective work and reserve resources.
G: execution guard returning true, false or unknown.
M: corrective intervention, represented by a transition kernel where outcomes are uncertain.
V: functional and safety verification.
L: authorised release decision.
U: update records, risk and maintenance policy.
I(X)=X.
(F₂ ∘ F₁)(X)=F₂(F₁(X)) for compatible maps.
Composition is associative where defined, generally not commutative.
For stochastic flows, (K₂ ∘ K₁)(x,A)=∫ K₂(z,A) K₁(x,dz).
F_diagnose = B ∘ T ∘ O.
F_repair = V ∘ M ∘ P, with M enabled only when G=true.
F_complete = U ∘ L ∘ F_repair ∘ F_diagnose, conditional on successful verification and authorised release.
Failed verification branches to reassessment; unknown guards block execution.

5. FAULT AND DIAGNOSTIC ALGEBRA
Let H={h₁,...,hₙ,h_other} be mutually exclusive and exhaustive hypotheses for a defined diagnostic model, including an unknown/other category. Joint hypotheses may represent multiple simultaneous faults.
For valid observation y and context c:
b'(h)=P(y|h,c)b(h)/Σ_j P(y|h_j,c)b(h_j).
Require a positive normalising denominator. Otherwise flag model inconsistency and seek additional evidence.
A diagnostic action may be selected to minimise expected decision loss plus test cost, subject to safety constraints.
Do not multiply evidence likelihoods unless the required conditional independence is justified.
A fault code alone is not proof of root cause. Root cause confirmation requires appropriate evidence and review.

6. CORRECTIVE INTERVENTION ALGEBRA
M_a maps pre-intervention state x to a distribution of post-intervention states under action a.
K_a(x,A)=P(X_post∈A | X_pre=x, action=a, context).
Possible outcomes include full restoration, partial restoration, no improvement and induced fault.
For a scalar degradation indicator d≥0, an illustrative imperfect repair model is d_post=ρ d_pre+ε, with 0≤ρ≤1 and ε≥0 representing introduced degradation. This is not a universal physical law.
ρ=0 and ε=0 represent ideal restoration of that indicator only; they do not establish as-new reliability for the entire asset.
For component replacement, preserve asset identity while recording the removed and installed component identities, configuration changes and applicable compatibility evidence.
For multiple actions, use ordered composition M_n∘...∘M_1; parallel composition requires compatible resources, independent interfaces or explicit interaction modelling.

7. LIFECYCLE AND DECISION STATES
recognised → triaged → diagnosed → planned → authorised → executing → verifying → released → closed
Alternative branches:
triaged → deferred (only with documented safe operating conditions, authority and review deadline)
diagnosed → further_diagnosis
planned → blocked (missing resources or approvals)
executing → suspended (unsafe condition or unexpected finding)
verifying → rework_required → planned
verifying → quarantined (failed or inconclusive verification)
released → reopened (new evidence or recurrence)
A deferred task must retain an owner, monitoring requirement, escalation triggers and due date. A closed record is not evidence that all asset risks have been eliminated.

8. SAFETY AND RELEASE GUARDS
G_execute = authorised ∧ competent ∧ resources_ready ∧ procedure_valid ∧ safety_controls_verified ∧ configuration_confirmed.
G_release = verification_passed ∧ required_safety_functions_confirmed ∧ residual_risk_acceptable_under_policy ∧ release_authorised.
Three-valued logic applies: only true enables the guarded transition. Missing evidence remains unknown.
Emergency conditions follow applicable emergency procedures; this ontology does not authorise bypassing safety requirements.
Verification criteria must be defined for the required function, relevant operating envelope and configuration. An inconclusive test cannot be promoted to a pass by administrative closure.

9. RELIABILITY AND MAINTAINABILITY
Let T_r≥0 be active corrective repair duration. Maintainability M(t)=P(T_r≤t).
Under an exponential repair-time model with constant μ>0, M(t)=1−exp(−μt), E[T_r]=1/μ.
This assumption must be validated; heterogeneous tasks may require separate or non-exponential distributions.
Observed mean active repair duration = Σ_i t_i/n for n completed comparable repairs; censored ongoing repairs require appropriate treatment.
Total downtime D = detection delay + administrative delay + logistics delay + active repair + verification/release delay, if these intervals are non-overlapping and exhaustive. Otherwise use the union of downtime intervals.
For an alternating renewal process with finite mean uptime U and downtime D, long-run availability A=E[U]/(E[U]+E[D]).
For a two-state exponential model with failure rate λ and restoration rate μ, A=μ/(λ+μ). Do not substitute active repair rate for total restoration rate if delays are excluded.
Post-repair reliability R(t|x,c)=P(T_failure>t|x,c) depends on verified condition, configuration and duty. Restoration of function does not establish a reset of failure hazard.

10. RISK AND RESOURCE ALGEBRA
For candidate action a, define J(a)=C_action(a)+E[C_downtime(a)+C_future_failure(a)] over a common horizon and currency basis. Include uncertainty and avoid double counting.
Select a*∈argmin_{a∈A_feasible} J(a), subject to mandatory safety, legal, competence and resource constraints. If no feasible action exists, escalate rather than relax mandatory constraints.
For resource k and time τ, Σ_i demand_ik(τ)≤capacity_k(τ).
For precedence i→j, start_j≥finish_i. Cyclic precedence is infeasible unless represented as an explicit iterative workflow.
Residual risk is reassessed after intervention using verified evidence; it is not presumed zero.

11. FORMAL INFERENCE RULES
R1: recognised_fault(a) ∧ required_function_affected(a) ⇒ assess_corrective_need(a).
R2: confirmed_diagnosis(h) ∧ feasible_action(m,h) ⇒ candidate_plan(m), not automatic authorisation.
R3: guard_execute≠true ⇒ execution_blocked.
R4: intervention_completed ∧ verification_failed ⇒ rework_or_escalation_required.
R5: verification_passed ∧ guard_release=true ⇒ release_permitted.
R6: recurring_fault ∧ comparable_configuration ⇒ investigate_recurrence; do not infer identical cause without evidence.
R7: deferred_work ∧ review_deadline_reached ⇒ reassessment_required.
R8: new_configuration ⇒ revalidate applicable diagnostic and verification criteria.
R9: missing_evidence ⇒ unknown, not false or safe.

12. SYSTEM INVARIANTS AND VALIDATION
I1: asset identity persists across repair; component changes remain traceable.
I2: timestamps are ordered for causally dependent events.
I3: probabilities lie in [0,1]; distributions normalise to one.
I4: durations and resource quantities are non-negative and unit-consistent.
I5: every executed intervention references an authorised work order and applicable procedure.
I6: every release references verification evidence and release authority.
I7: historical evidence is append-only; corrections supersede rather than erase records.
I8: no negative stock or overlapping exclusive resource allocation.
I9: fault recognition, diagnosis, intervention, verification and release are separately recorded.
I10: safety constraints cannot be overridden by cost optimisation.

13. RECURSIVE FLOW ALGEBRA
Let X_k represent the state after the kth diagnostic/repair iteration.
X_{k+1}=F_k(X_k), where F_k is selected from observation, diagnosis, planning, guarded intervention, verification and escalation operators.
F_k may depend on accumulated evidence; iteration is not assumed stationary.
A successful terminal state requires G_release=true and completion of required records.
An administrative terminal state may instead be escalated, quarantined or transferred with unresolved fault explicitly retained.
For a stationary deterministic abstraction F, a fixed point satisfies F(X*)=X*. A fixed point may represent a blocked or failed state and does not establish successful repair.
If F is a contraction on a complete metric space, iteration converges to a unique fixed point; this mathematical condition is not assumed for physical repair.
Bound automatic rework by approved attempt limits, time limits and safety triggers. On reaching a bound, escalate. Do not continue intervention solely to achieve mathematical convergence.
A new fault after release initiates a new linked maintenance episode rather than rewriting the original record.

14. WORKED EXAMPLE (ILLUSTRATIVE)
A pump exhibits reduced output. Two simplified exhaustive diagnostic hypotheses have prior probabilities 0.6 and 0.4. A validated observation has likelihoods 0.8 and 0.2 respectively.
P(h₁|y)=0.48/(0.48+0.08)=0.8571; P(h₂|y)=0.1429.
The posterior supports further diagnostic investigation, not automatic replacement or release.
Suppose authorised corrective work is followed by successful verification and release. Non-overlapping downtime intervals are detection 1 h, logistics 3 h, active repair 2 h and verification/release 1 h. Total downtime=7 h.
If comparable renewal cycles have mean uptime 700 h and mean total downtime 7 h, estimated long-run availability=700/707≈0.9901 (99.01%). These illustrative means do not establish actual pump reliability.

15. SEMANTIC GRAPH CONNECTIONS
Base: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/
Parent: maintenance-engineering-entities.html
Related established pages in this series (relative to Base):
maintenance-engineering-entities/maintenance-engineering-entity-ontology.html
maintenance-engineering-entities/maintenance-system-entity-ontology.html
maintenance-engineering-entities/maintenance-task-ontology.html
maintenance-engineering-entities/preventive-maintenance-ontology.html
maintenance-engineering-entities/predictive-maintenance-ontology.html
risk-engineering-entities/risk-assessment-record-ontology.html
risk-engineering-entities/residual-risk-ontology.html
Conceptual links: FailureMode, AssetCondition, WorkOrder, MaintenanceRecord, SparePart, VerificationResult, Reliability, Maintainability, Availability. Exact child-page identifiers are not asserted without verification.

END OF FORMAL FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ