Skip to main content

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

1. ENTITY DEFINITION

MaintenanceProcedure is a controlled, versioned specification of the steps, prerequisites, resources, decision branches, safety constraints and acceptance criteria required to perform a maintenance task on an applicable asset configuration. A procedure is distinct from a task (the work required), a work order (the authorised instance of work), a schedule (the allocation of time and resources), and an execution record (evidence of what occurred). A procedure does not itself confer authority to execute or release an asset.

2. ENTITY GRAPH

MaintenanceProcedure → specifies → MaintenanceTask
MaintenanceProcedure → appliesTo → MaintainableAssetConfiguration
MaintenanceProcedure → contains → ProcedureStep
ProcedureStep → dependsOn → ProcedureStep
ProcedureStep → requires → Resource
ProcedureStep → requires → Competence
ProcedureStep → guardedBy → SafetyConstraint
ProcedureStep → produces → ExecutionEvidence
MaintenanceProcedure → hasRevision → ProcedureRevision
ProcedureRevision → supersedes → ProcedureRevision
ProcedureRevision → instantiatedBy → ProcedureExecution
ProcedureExecution → authorisedBy → WorkOrder
ProcedureExecution → produces → MaintenanceRecord
ProcedureExecution → evaluatedBy → FunctionalTest
FunctionalTest → evaluatedAgainst → AcceptanceCriterion
MaintenanceProcedure → informedBy → RiskAssessmentRecord
MaintenanceProcedure → constrainedBy → EngineeringRequirement
ProcedureExecution → mayGenerate → NonconformanceRecord
ProcedureExecution → mayRequire → ReleaseAuthorisation

3. STATE SPACE AND BOUNDARY

X=(a,v,w,q,z,S,E,R,H,B,t), where a is asset identity and configuration, v is procedure revision, w is work authorisation, q is execution status, z is physical and functional asset state, S maps step identifiers to execution status, E is evidence, R is available resources and competencies, H is hazard/control state, B is unresolved exceptions, and t is time. Unknown information is represented by ⊥, not by zero or false. Physical asset state and documentary state are separate. The system boundary includes procedure validation, execution, verification and handover; wider operational risk acceptance remains a separate authorised process.

4. FLOW OPERATORS

I(X)=X.
P: validate applicability and prerequisites.
A: confirm work authorisation and approved revision.
G_i: evaluate guards for step i.
F_i: execute step i within its defined domain.
V_i: verify step outputs and capture evidence.
Q: evaluate overall functional acceptance.
L: obtain authorised release where required.
C: close the execution record.
HOLD: suspend execution and preserve a controlled state.
ESC: escalate unresolved exceptions to the responsible authority.

Composition: (F₂ ∘ F₁)(X)=F₂(F₁(X)), associative wherever domains match. Identity preserves state. A normal successful flow is C ∘ L ∘ Q ∘ F_steps ∘ A ∘ P. Each F_steps element includes its own guard and verification. This expression is not an unconditional execution instruction. Any failed or unknown mandatory guard diverts to HOLD or ESC. A failed physical action may leave a changed state; rollback is not presumed possible.

5. PROCEDURE STRUCTURE AND DEPENDENCY ALGEBRA

Represent a procedure revision by a directed graph G=(N,D), where N is the finite set of steps and D is the precedence relation. For the acyclic portion, (i,j)∈D requires i to be satisfied before j begins. Define Pred(j)={i:(i,j)∈D}. A step is ready only if all applicable predecessors are verified, its guards pass, and required resources are reserved. Alternative branches require an explicit branch predicate and documented join semantics. A skipped step is valid only when an approved applicability rule permits it. Rework loops must be represented explicitly with a bounded retry policy or escalation condition. Parallel steps may execute only when their shared resource, physical interaction and safety constraints permit concurrency. Commutativity F_i∘F_j=F_j∘F_i must be established, not inferred from absence of a graph edge.

6. GUARD AND SAFETY ALGEBRA

Use three-valued guard results {PASS, FAIL, UNKNOWN}. Mandatory conjunction passes only if every operand passes. Define G_i(X)=Applicable_i ∧ Authorised_i ∧ Competent_i ∧ Resources_i ∧ Safety_i ∧ Preconditions_i. Execution is permitted only when G_i=PASS. Safety_i includes applicable verified controls and permits; their detailed implementation belongs to approved asset-specific procedures. An expired permit or changed configuration invalidates the affected guard. Re-evaluate dynamic guards at execution and after interruptions. Emergency or abnormal conditions invoke approved response arrangements, not automatic continuation. This ontology is not a substitute for equipment-specific safety instructions.

7. ASSET TRANSFORMATION AND VERIFICATION

For step i, let z'∈F_i(z,u,ξ), where u is the authorised intervention and ξ represents uncertainty. The set-valued relation allows multiple outcomes, including failure. A postcondition P_i(z',E') evaluates observed outputs and evidence. A completed action is not necessarily a verified action. For measurement y with uncertainty interval [y−δ,y+δ] and acceptance interval [l,h], a conservative illustrative rule is PASS if the measurement interval is wholly contained in [l,h], FAIL if disjoint, and UNKNOWN otherwise. The actual decision rule must follow the approved test method. Record units, calibration, measurement time and instrument identity. A repair need not restore an asset to as-new condition; model actual verified performance rather than assumed restoration.

8. LIFECYCLE AND EXCEPTION STATES

Procedure revision: Draft → Reviewed → Approved → Effective → Superseded/Withdrawn.
Execution: Created → Prepared → Authorised → InProgress → VerificationPending → Verified → Released → Closed.
Alternative states: Held, FailedStep, FailedVerification, ReworkRequired, Escalated, Cancelled.
A held execution may resume only after revalidation of applicable guards and explicit authority. A failed test cannot be relabelled as a pass. Cancellation does not imply safe restoration. Release and administrative closure are distinct; a cancelled record can be closed administratively without operational release, with the actual asset state preserved. Revision changes during execution require documented applicability review and controlled migration; do not silently replace the pinned revision.

9. TEMPORAL AND RESOURCE ALGEBRA

For a deterministic acyclic branch with step duration d_i≥0, start s_i and finish f_i=s_i+d_i, require s_j≥f_i for every active precedence edge (i,j). Earliest start ES_j=max_{i∈Pred(j)} EF_i, with ES=0 for source nodes relative to the execution origin; EF_j=ES_j+d_j. This gives a lower bound on elapsed duration when resources and access windows are unconstrained. For resource k, Σ_{i:s_i≤t<f_i} r_ik≤capacity_k(t). Include setup, waiting, verification and handover time where applicable. Estimated duration is not a safety deadline and must not justify bypassing checks. Actual elapsed duration and labour-hours are distinct quantities.

10. EVIDENCE AND REVISION ALGEBRA

E' = E ∪ {e_i}, with unique evidence identifiers and provenance. Each evidence item records execution ID, step ID, revision, asset configuration, timestamp, responsible actor, result and relevant measurements. Corrections append a superseding record rather than silently overwriting history. A procedure revision includes scope, change rationale, dependencies, guards, acceptance criteria, authorisation and effective date. A historical execution retains its revision reference even after supersession. Evidence may be invalidated for a current decision while remaining in the audit history.

11. FORMAL INFERENCE RULES

R1: Applicable(a,v) ∧ Approved(v) ∧ Authorised(w,a,v) → EligibleForPreparation(w).
R2: Ready(i,X) ∧ G_i(X)=PASS → PermittedStep(i,X).
R3: Executed(i) ∧ ValidEvidence(i) ∧ Postcondition(i)=PASS → Verified(i).
R4: MandatoryGuard(i)≠PASS → Blocked(i).
R5: FailedVerification(i) → ExceptionOpen(i) ∧ ¬Verified(i).
R6: AllApplicableRequiredStepsVerified ∧ FinalAcceptance=PASS ∧ NoBlockingExceptions → EligibleForReleaseReview.
R7: EligibleForReleaseReview ∧ ValidReleaseAuthority → Released.
R8: ChangedAssetConfiguration ∨ InvalidatedEvidence → ReassessmentRequired for affected decisions.
R9: Superseded(v) does not imply invalid historical execution under v.
R10: Absence of failure evidence does not imply successful verification.
Rules use explicit negative facts or three-valued predicates; missing evidence must not be treated as proof of compliance.

12. SYSTEM INVARIANTS

INV1: Every execution has one traceable asset, work authorisation and applicable revision.
INV2: No mandatory step begins with a failed or unknown guard.
INV3: No successor begins before its required predecessors are satisfied.
INV4: No verified status exists without valid supporting evidence.
INV5: No operational release occurs with an unresolved blocking exception.
INV6: Resource demand remains within authorised capacity.
INV7: Historical evidence and revision provenance remain traceable.
INV8: An interruption, cancellation or administrative closure never implies operational safety by itself.
INV9: A procedure cannot override applicable legal, technical or safety requirements.

13. RECURSIVE FLOW ALGEBRA

Let T(X) select an authorised ready step or a defined exception transition, apply its guarded transformation and reconcile evidence. X_{n+1}=T(X_n). Selection may be nondeterministic where multiple safe steps are available. Define a derived fact set K over a finite vocabulary and a monotone inference operator J(K)=K∪Consequences(K). Iteration reaches a least fixed point K* when J(K*)=K*, provided the finite domain and monotonicity assumptions hold. Physical execution is not generally monotone: observations can invalidate current conclusions and require recomputation. A documentary fixed point does not prove physical safety or task completion. For an acyclic execution branch, a ranking function is the number of remaining required steps; successful verification decreases it. Rework requires a separate finite retry budget or explicit escalation. If no permitted transition exists and acceptance is incomplete, terminate in Held/Escalated rather than loop indefinitely. Waiting for external resources is a suspended state, not a successful terminal state.

14. VALIDATION CONSTRAINTS

Check unique step IDs, valid dependency references, reachable required steps, defined branch predicates, explicit join rules, bounded rework, units, resource types, evidence schemas, applicability scope, revision authority and acceptance criteria. Reject ambiguous mandatory guards and contradictory precedence constraints. Test normal, failure, interruption and unknown-evidence paths. Validate that every reachable release state satisfies INV5 and all applicable acceptance conditions. Static graph validation cannot establish physical correctness; engineering review and appropriate verification are required.

15. WORKED MATHEMATICAL EXAMPLE (ILLUSTRATIVE)

A generic procedure has steps A (preparation, 10 min), B (intervention, 20 min), C (documentation, 5 min), D (verification, 8 min). Edges A→B, B→C, B→D, C→E and D→E, where E is a zero-duration release-review milestone. If C and D are independent and resources permit parallel execution, earliest E=10+20+max(5,8)=38 min. If they require the same exclusive resource, earliest E=43 min. These durations exclude additional waiting and actual release authorisation.
An illustrative verification criterion is [9.5,10.5] units. Observation 10.1±0.2 gives [9.9,10.3], contained in the criterion, so the illustrative measurement rule passes. Observation 10.4±0.2 gives [10.2,10.6], overlapping but not contained; result UNKNOWN and review required. Even the first result does not authorise release unless all other mandatory criteria pass and the responsible authority approves.

16. SEMANTIC GRAPH CONNECTIONS

Parent: Maintenance Engineering Entities.
Related entities: Maintenance Engineering Entity; Maintenance System Entity; Maintenance Task; Planned Maintenance; Unplanned Maintenance; Preventive Maintenance; Predictive Maintenance; Corrective Maintenance; Condition-Based Maintenance; Maintenance Schedule; Maintenance Interval; Risk Control; Risk Assessment Record; Test Procedure; Test Result; Inspection Finding.
These are proposed conceptual links, not a verified inventory of live child URLs.

17. CANONICAL FLOW

Requirement → ProcedureRevision → ApplicabilityValidation → WorkAuthorisation → GuardEvaluation → ControlledStepExecution → StepVerification → FunctionalAcceptance → ReleaseReview → MaintenanceRecord → ProcedureImprovement.
Feedback: exception or changed condition → reassessment → approved rework or escalation. Procedure improvement produces a new controlled revision, not a retrospective alteration of execution evidence.

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