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
PREVENTIVE 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/preventive-maintenance-ontology.html
Format: Normal Flow Algebra; not AI Search Flow Algebra.
Status: Proposed formal model; live page content not verified.
1. ENTITY DEFINITION
PreventiveMaintenance (PM) is a planned maintenance intervention performed before functional failure to reduce the probability of failure or degradation. It may be predetermined by time or usage, or initiated by condition criteria. Its effectiveness is not guaranteed and must be verified.
PM ⊆ MaintenanceActivity
PM ∩ CorrectiveMaintenance = ∅ under classification by initiating purpose; a work package may contain tasks of both types.
2. ENTITY GRAPH
PreventiveMaintenance → targets → MaintainableAsset
PreventiveMaintenance → addresses → FailureMode
PreventiveMaintenance → governedBy → MaintenancePolicy
PreventiveMaintenance → scheduledBy → MaintenancePlan
PreventiveMaintenance → executedThrough → MaintenanceTask
PreventiveMaintenance → requires → Resource, Competence, Authorisation
PreventiveMaintenance → constrainedBy → SafetyRequirement
PreventiveMaintenance → produces → MaintenanceRecord
MaintenanceRecord → contains → InspectionResult, VerificationResult
MaintenanceRecord → updates → AssetCondition, RiskAssessmentRecord
MaintenancePlan → specifies → Trigger, Interval, TaskScope
Each relationship is typed; a plan is not evidence of execution.
3. STATE SPACE
X = (a, f, d, v, u, t, q, b, r, e, w)
a: asset identity and configuration version
f: functional state ∈ {available, degraded, unavailable, unknown}
d: degradation vector, component-specific units
v: effective age ≥ 0, in operating hours
u: cumulative usage, non-decreasing within a meter epoch
t: calendar time
q: task lifecycle state
b: resource availability and safety constraints
r: risk assessment with context and uncertainty
e: evidence and provenance ledger
w: next maintenance due criteria
Unknown is distinct from zero, false and safe.
4. FLOW OPERATORS
D_Δ: X → X' ; natural degradation over interval Δ ≥ 0.
O: X → (X', observation) ; condition observation updates evidence, not necessarily physical condition.
P: X → X' ; planning and scheduling.
G: X → {true, false, unknown} ; execution guard.
M: X → distribution(X') ; maintenance intervention with uncertain outcome.
V: X → X' ; functional verification and evidence recording.
U: X → X' ; risk and schedule update.
I(X) = X ; identity flow.
(F₂ ∘ F₁)(X) = F₂(F₁(X)) for compatible deterministic operators; stochastic composition uses transition kernels.
Composition is associative where defined, generally not commutative.
F_PM = U ∘ V ∘ M ∘ P ∘ O ∘ D_Δ, subject to G=true before M.
If G=false or unknown, transition to blocked and resolve constraints; never infer permission.
5. TRIGGER ALGEBRA
Due(X) = CalendarDue ∨ UsageDue ∨ ConditionDue, for enabled triggers.
CalendarDue = (t ≥ t_last + T)
UsageDue = (u − u_last ≥ U_limit), within a consistent meter epoch.
ConditionDue = (g(d) ≥ θ), for a validated increasing degradation indicator.
Use three-valued logic for missing data. An unknown trigger requires review, not automatic clearance.
A due task is not necessarily safe to execute immediately. Scheduling respects criticality, permissible deferral, isolation and resource constraints.
6. LIFECYCLE
identified → planned → scheduled → authorised → in_progress → verification → completed → recorded
scheduled → deferred → scheduled (approved deferral with expiry and risk review)
authorised → blocked (guard fails)
in_progress → suspended (unsafe condition or resource loss)
verification → rework_required (failed test)
verification → corrective_referral (new fault)
verification → completed only if all mandatory criteria pass.
A cancelled task retains its history and reason. Completion does not imply asset release; release is separately authorised.
7. DEGRADATION AND RESTORATION
For an illustrative monotone wear mechanism:
d(t+Δ) = d(t) + ∫[t,t+Δ] k(s, load, environment) ds, k ≥ 0.
Maintenance response: d⁺ = max(0, d⁻ − δ) + ε, with δ ≥ 0 and ε ≥ 0 representing intervention-induced degradation; apply componentwise only to suitable scales.
Effective age model: v⁺ = ρ v⁻, 0 ≤ ρ ≤ 1, under a proportional virtual-age assumption.
ρ=0: perfect renewal; ρ=1: no effective-age improvement.
These models are alternatives or calibrated components, not universal physical laws. Maintenance can introduce faults, so post-maintenance risk may increase.
8. RELIABILITY ALGEBRA
For hazard h(s) ≥ 0 and survival to effective age v:
R(Δ | v) = exp(−∫[v,v+Δ] h(s) ds).
P_failure(Δ | v) = 1 − R(Δ | v).
For Weibull lifetime with scale η>0 and shape β>0:
R(Δ | v) = exp(−((v+Δ)/η)^β + (v/η)^β).
Preventive effect over matched horizon Δ:
ΔP = P_failure_before − P_failure_after.
Relative reduction = ΔP / P_failure_before when denominator > 0.
Do not assume age replacement improves constant-hazard failure modes. Model maintenance-induced failures and common causes separately.
9. RISK TRANSFORMATION
Risk(X) = distribution of consequences over a defined exposure horizon.
For mutually exclusive scenarios j with probabilities p_j and commensurate losses L_j:
ExpectedLoss = Σ_j p_j L_j.
ResidualRisk = Risk(M(X)) after verification and uncertainty update.
Risk reduction = ExpectedLoss_before − ExpectedLoss_after, using matching scope and horizon.
Safety, environmental and financial impacts remain separate unless an approved aggregation rule exists.
Risk acceptance requires authorised criteria; numerical improvement alone is insufficient.
10. SCHEDULING AND RESOURCES
For task i: start s_i, duration τ_i ≥ 0, finish f_i=s_i+τ_i.
Dependency i→j implies f_i ≤ s_j.
For resource k and time t: Σ_i demand_ik · 1[s_i ≤ t < f_i] ≤ capacity_k(t).
Select feasible schedules minimising expected lifecycle cost subject to mandatory safety, risk, interval and availability constraints.
Deferral is a documented decision with review deadline; it does not reset the last-completed timestamp.
11. AGE REPLACEMENT MODEL
For independent renewal cycles with lifetime survival S(t), replacement age T>0, planned replacement cost Cp and failure replacement cost Cf:
Expected cycle cost = Cp S(T) + Cf(1−S(T)).
Expected operating cycle length = ∫[0,T] S(t) dt.
Cost rate = Expected cycle cost / Expected operating cycle length.
Assumptions: continuous lifetime, as-new replacement, stationary costs, negligible replacement duration. If downtime is material, extend the denominator and cost model. Optimise T only over permitted intervals and risk constraints.
12. AVAILABILITY
Observed availability = operating time / required service time, when denominator > 0.
Under a stationary alternating renewal model: A = E[uptime]/(E[uptime]+E[downtime]).
Downtime includes preventive and corrective outages within the chosen service boundary. Do not substitute MTBF/(MTBF+MTTR) when the latter omits relevant preventive downtime.
13. INFERENCE RULES
R1: PM(x) ∧ targets(x,a) ⇒ MaintenanceActivity(x) ∧ MaintainableAsset(a).
R2: Due(x) ∧ ¬Authorised(x) ⇒ ¬Executable(x).
R3: Executed(x) ∧ VerificationFailed(x) ⇒ ¬VerifiedComplete(x).
R4: VerifiedComplete(x) ⇒ exists evidence record linked to x and asset configuration.
R5: NewFailureModeDetected(x) ⇒ create assessment or corrective referral.
R6: ControlChanged(a) ⇒ review associated risk assessment validity.
R7: MissingEvidence(x) ⇒ verification status unknown, unless independent evidence establishes failure.
R8: ApprovedDeferral(x) ⇒ documented expiry and responsible authority.
R9: Completed(x) ∧ Released(a) requires distinct valid completion and release evidence.
14. INVARIANTS AND VALIDATION
Unique asset and task identifiers; immutable historical record versions.
Probabilities ∈ [0,1]; durations, effective ages and costs non-negative where applicable.
Units and exposure horizons must match before comparison.
Task completion timestamp ≥ execution start timestamp.
No execution without validated safety guard and required competence.
No automatic release from a failed or unknown mandatory verification.
No assumed renewal without evidence or a declared model assumption.
No double counting of overlapping downtime or correlated failure scenarios.
Every parameter records source, validity period and uncertainty where available.
15. RECURSIVE FLOW ALGEBRA
X_(n+1) = F_PM(X_n, observations_n, policy_n).
Feedback: observation → assessment → plan → intervention → verification → updated assessment.
Within one planning episode define Y_(k+1)=H(Y_k), where Y contains candidate tasks, dependencies and feasible resource allocations.
A planning fixed point satisfies H(Y*)=Y*; it is not a claim that physical degradation stops.
For finite monotone closure over a fixed finite set of facts, iteration terminates after at most the number of possible new facts plus a final stability check.
For numerical optimisation, terminate at a feasible solution with declared tolerance, or at an iteration/time bound with unresolved status.
Detect repeated states and infeasibility; escalate rather than looping indefinitely.
The operational maintenance cycle continues while the asset remains in service.
16. WORKED EXAMPLE (ILLUSTRATIVE)
Weibull wear-out model: β=2, η=1000 h, v_before=800 h, Δ=100 h.
P_before = 1−exp(−0.17) ≈ 0.1563.
Assume verified intervention supports ρ=0.25, giving v_after=200 h.
P_after = 1−exp(−0.05) ≈ 0.0488.
Absolute reduction ≈ 0.1076 (10.76 percentage points).
Relative reduction ≈ 68.8%.
If a single failure entails £10,000 loss, expected loss changes from approximately £1,563 to £488 over the matched operating horizon. The difference is not net savings: maintenance cost, downtime, induced failure risk and uncertainty must also be considered.
No real-world acceptance threshold is implied.
17. SEMANTIC GRAPH CONNECTIONS
Parent: Maintenance Engineering Entities.
Related concepts: Maintenance Engineering Entity; Maintenance System Entity; Maintenance Task; Corrective Maintenance; Predictive Maintenance; Condition Monitoring; Failure Mode; Reliability; Maintainability; Availability; Risk Control; Residual Risk; Risk Assessment Record.
Child page URLs beyond the supplied canonical URL are not asserted as verified.
18. CANONICAL FLOW
Asset → Observation → DegradationAssessment → PreventiveTrigger → MaintenancePlan → Authorisation → Intervention → Verification → UpdatedAssetState → RiskReview → RevisedPlan → Feedback.
The flow preserves identity, provenance, safety constraints and temporal ordering while allowing controlled changes in asset condition and risk.
END OF FLOW ALGEBRA