Skip to main content

Repair 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
REPAIR 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/repair-entity-ontology.html
Format: Normal Flow Algebra. Status: Proposed formal model; live page not verified.

1. ENTITY DEFINITION
Repair is a corrective engineering intervention intended to restore a faulty or degraded item to specified functional requirements. A repair may restore function without restoring original reliability, appearance or remaining useful life. Repair is distinct from diagnosis, replacement of an entire asset, preventive servicing and the administrative closure of a work order. A repair entity records the intervention identity, affected item, intended restoration, execution and evidence of outcome.

2. ENTITY GRAPH
Repair → isA → CorrectiveMaintenanceIntervention
Repair → targets → EquipmentInstance
Repair → addresses → FaultEntity
Repair → respondsTo → FailureEvent
Repair → authorisedBy → MaintenanceWorkOrder
Repair → follows → MaintenanceProcedureRevision
Repair → comprises → MaintenanceTask
Repair → performedBy → MaintenanceTechnician
Repair → uses → MaintenanceTool
Repair → consumes → SparePart
Repair → transforms → EquipmentCondition
Repair → supportedBy → ConditionMonitoringRecord
Repair → produces → VerificationRecord
Repair → recordedIn → MaintenanceHistory
Repair → constrainedBy → RiskAssessmentRecord
Repair → informs → MaintenanceSchedule
Repair → mayRequire → RiskAcceptanceEntity
Relationships are proposed semantic predicates, not verified published identifiers. A fault may require several repair attempts; a repair may address several faults. Neither relationship implies success.

3. STATE SPACE AND BOUNDARY
X=(a,c,x,b,f,w,r,g,e,s,t), where a is asset identity, c configuration, x physical condition, b diagnostic belief, f functional status, w work order, r resources, g authorisation and safety guards, e evidence, s intervention lifecycle state and t time.
The physical condition x may be partly unobservable. The information state b is not interchangeable with x. Unknown values are represented by ⊥, not zero or healthy.
The system boundary includes diagnosis, authorised intervention, testing and handover. External operating duty, environment, supply chains and regulatory requirements enter as constraints or disturbances. A software state transition cannot by itself repair physical equipment.

4. FLOW OPERATORS
I(X)=X. Composition (G∘F)(X)=G(F(X)) is associative where defined. Operators are partial typed transformations with explicit guards.
D: diagnose; P: plan; A: authorise; S: establish safe work state; T: execute repair; V: verify; H: handover; L: record; Q: quarantine or escalate.
Nominal flow F=L∘H∘V∘T∘S∘A∘P∘D.
A failed guard routes to a blocked or escalated state, never to implicit success. A failed test routes to reassessment and authorised rework or safe withdrawal.
Parallel repairs T1⊗T2 require compatible asset boundaries, isolation, resources and dependencies. Sequential transformations need not commute: T1∘T2≠T2∘T1 in general. Physical execution is not assumed idempotent; duplicate work requests must not trigger duplicate physical work.

5. REPAIR LIFECYCLE
Reported → Diagnosed → Planned → Authorised → SafeToExecute → InProgress → Executed → UnderVerification → Verified → Released → Closed.
Alternative states: AwaitingEvidence, AwaitingResources, Blocked, Suspended, FailedVerification, Aborted, Escalated.
A deferred repair requires a documented decision and applicable operational restrictions. A closed administrative record may describe an unsuccessful or aborted repair. Released requires current verification and authorised handover; it is not synonymous with Executed.
Each transition stores actor, timestamp, evidence and applicable procedure revision. Rework creates a distinct attempt linked to the original repair. Historical records are preserved.

6. DIAGNOSTIC ALGEBRA
Let H={h1,…,hn} be mutually exclusive exhaustive fault hypotheses, including an unknown/other hypothesis where necessary. Given evidence E, P(hi|E)=P(E|hi)P(hi)/Σj P(E|hj)P(hj), provided the denominator is positive.
Correlated measurements require a joint likelihood. Repeated copies of one measurement are not independent evidence. If multiple faults coexist, hypotheses must represent joint fault configurations or another justified model.
Diagnosis selects an intervention only when evidence, uncertainty, competence and risk permit. An observed symptom is not proof of root cause. Repair success is evidence for, but does not necessarily establish, the original diagnosis.

7. PHYSICAL TRANSFORMATION ALGEBRA
x⁺=T(x⁻,r,u,ε), where r is resource configuration, u authorised intervention parameters and ε uncertain outcome. Between interventions x(t+Δ)=DΔ(x(t),d,w), with duty d and disturbances w.
For a normalised degradation indicator z∈[0,1] (larger is worse), an illustrative rejuvenating repair model is z⁺=(1−η)z⁻, η∈[0,1]. This assumes a single relevant indicator and non-worsening repair. Real interventions may introduce new defects or worsen other dimensions; use a vector or stochastic model when necessary.
For multiple sequential repairs x_n=T_n∘…∘T_1(x_0). Restoration is evaluated against the specified functional requirement set K, not a universal scalar health score.
Replacement of a component closes its previous installation interval and opens a new interval for the replacement instance. Parent asset identity is retained according to the approved identity policy. Compatibility and traceability are required.

8. VERIFICATION AND RELEASE ALGEBRA
Let K={k1,…,km} be applicable acceptance criteria. For each criterion v_i∈{pass,fail,unknown}. V=pass iff all mandatory criteria pass using valid evidence and the applicable decision rule. Any mandatory failure yields fail; otherwise missing evidence yields unknown.
For a measured quantity y with expanded uncertainty U and allowable interval [L,H], an illustrative conservative acceptance rule is [y−U,y+U]⊆[L,H]. This is not a universal metrological decision rule; use the approved rule and uncertainty model.
ReleaseGuard=Verified ∧ AuthorisedHandover ∧ SafetyRequirementsSatisfied ∧ ConfigurationRecorded ∧ RequiredRestrictionsCommunicated.
An unknown guard cannot be treated as true. A passed functional test is limited to its tested conditions and does not prove future reliability or absence of latent faults.

9. RELIABILITY AND MAINTAINABILITY
Illustrative virtual-age model: a⁺=q a⁻, q∈[0,1], with q=0 perfect renewal and q=1 minimal repair. The model assumes a rejuvenating intervention and a defined effective age; adverse repair requires an expanded model.
For Weibull lifetime survival S(a)=exp(−(a/θ)^β), θ>0, β>0, conditional survival for the next τ operating hours given effective age a is R(τ|a)=S(a+τ)/S(a). This assumes the post-repair virtual-age model is valid and operating conditions remain comparable.
For repair duration T_r, maintainability M(t)=P(T_r≤t). If T_r is exponential with rate μ>0, M(t)=1−exp(−μt), E[T_r]=1/μ. Exponential repair duration is an assumption, not a universal law.
For n comparable completed repairs, sample mean active repair time = Σ_i t_i/n. Include censored cases through appropriate statistical methods when estimating population maintainability. Separate active work from waiting, logistics and verification.
Under alternating renewal with finite mean uptime U and downtime D, long-run availability A=E[U]/(E[U]+E[D]). Do not substitute active repair duration for total downtime unless they coincide by definition.

10. RESOURCE, TIME AND COST ALGEBRA
For a repair task dependency DAG, start_j≥finish_i for each finish-to-start edge i→j. Resource capacity at time t: Σ_j demand_jk(t)≤capacity_k(t) for resource k. Qualifications, compatible tools, spare parts and safety conditions are hard feasibility constraints.
Elapsed outage duration is the measure of the union of unavailable intervals, not the sum of overlapping work durations. Record active labour hours separately.
C_repair=Σ_i hours_i rate_i + Σ_j quantity_j unitCost_j + C_external + C_other, using unique cost line items and consistent currency. Unknown costs are not zero. Opportunity loss is a separate declared measure.
A decision between repair and replacement may minimise expected lifecycle cost subject to safety, functional, reliability and regulatory constraints. Cost cannot override mandatory safety criteria.

11. RISK AND INFERENCE RULES
FaultDetected(a,f) ⇒ RequiresAssessment(a,f).
RepairExecuted(r) ∧ VerificationUnknown(r) ⇒ RestorationUnconfirmed(r).
MandatoryTestFailed(r) ⇒ ¬ReleasePermitted(r).
Verified(r) ∧ ReleaseGuard(r) ⇒ EligibleForAuthorisedRelease(r).
RepeatedFailureMode(a,m) ⇒ CandidateRootCauseReview(a,m), not proven root cause.
ComponentChanged(a,c) ⇒ ReviewConfigurationAndAssessment(a,c).
MissingEvidence(r) ⇒ IncompleteRecord(r), not evidence of absence.
Residual risk is evaluated against current configuration, duty and controls. Repair may reduce one risk while introducing another. Acceptance requires applicable criteria and competent authority; a numerical rating alone does not authorise operation.

12. RECURSIVE FLOW ALGEBRA
Feedback: observation → diagnosis → authorised repair → verification → updated condition belief → maintenance history → strategy review.
For attempt k, X_(k+1)=F_k(X_k), with F_k selected by the approved policy and current evidence. A failed attempt updates evidence and triggers reassessment; it does not automatically repeat the same intervention.
For a frozen finite evidence batch, define reconciliation R on sets of validated or quarantined evidence identities. If R is inflationary and monotone, iteration reaches a fixed point after finitely many strict additions. Effective beliefs may change non-monotonically when evidence is corrected.
Physical repair has no guaranteed fixed point. Stop on verified completion, authorised withdrawal, exhausted attempt budget, unsafe conditions or escalation. Numerical estimators use explicit tolerances, iteration limits and non-convergence flags. Never infer physical restoration from computational convergence.

13. VALIDATION CONSTRAINTS AND INVARIANTS
V1: Stable repair, asset and attempt identities are required.
V2: Asset configuration and procedure revision are traceable.
V3: Execution requires applicable authorisation and safety guards.
V4: Missing or invalid evidence cannot establish verification.
V5: Release requires current verification and authorised handover.
V6: Probabilities are in [0,1] and exhaustive distributions normalise to one.
V7: Time intervals are nonnegative and use consistent exposure units.
V8: Resource allocation does not exceed declared capacity.
V9: Component replacement preserves installation traceability.
V10: Corrections preserve historical records and provenance.
V11: Administrative closure does not imply physical restoration.
V12: Rework is bounded by approved escalation and safety policies.
V13: Measurement units and decision rules are explicit.
V14: No historical repair record substitutes for current fitness assessment.

14. WORKED EXAMPLE (ILLUSTRATIVE)
An asset has two exhaustive diagnostic hypotheses with priors P(h1)=0.6 and P(h2)=0.4. A valid observation has likelihoods 0.8 and 0.2 respectively. P(h1|E)=0.48/(0.48+0.08)=0.8571. This supports but does not prove h1.
After an authorised intervention, a modelled degradation indicator changes from 0.70 to 0.28, implying η=1−0.28/0.70=0.60 under the scalar model. This is not a measured reliability improvement.
A verification measurement is 9.8 units with expanded uncertainty 0.3 units and illustrative allowable interval [9,11]. The interval [9.5,10.1] is contained within the allowed interval, so this criterion passes under the stated conservative rule. Other mandatory criteria and handover guards must still be satisfied.
Active repair lasts 3 hours; logistics and verification add 2 nonoverlapping hours. Total downtime is 5 hours. In a fully observed 100-hour continuous required-service window with no other outage, observed availability is 95/100=0.95. This is not a long-run reliability estimate.

15. SEMANTIC GRAPH CONNECTIONS
Parent: Maintenance Engineering Entities.
Related ontology concepts: Maintenance Engineering Entity, Maintenance System Entity, Maintenance Task, Corrective Maintenance, Unplanned Maintenance, Maintenance Procedure, Maintenance Work Order, Maintenance Technician Entity, Spare Part, Maintenance Tool, Equipment Condition Entity, Condition Monitoring Record, Maintenance History, Risk Assessment Record, Residual Risk and Risk Acceptance Entity.
These connections describe proposed semantic relationships; individual published identifiers and links require verification.

16. CORE FLOW EXPRESSION
Fault → Evidence → Diagnosis → AuthorisedRepair → PhysicalTransformation → Verification → AuthorisedRelease → MaintenanceHistory → Feedback.
Repair is a controlled transformation of physical condition, constrained by evidence, resources, safety and functional requirements. The record of repair is an information entity distinct from the physical transformation and its verified outcome.
END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ