Skip to main content

Safety Function Ontology

Safety 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
SAFETY FUNCTION ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8
Authors: Mark Anthony Higgins — Sky Recursive AI
Canonical page: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/safety-engineering-entities/safety-function-ontology.html
Status: proposed formal model; live page not independently verified.

1. ENTITY DEFINITION
SafetyFunction := specified function intended to achieve or maintain a safe state or reduce risk for a defined hazardous scenario.
SF := (identity, hazard, demand, operatingMode, inputs, response, safeState, deadline, integrityRequirement, implementation, evidence, revision).
A safety function is a functional requirement, not necessarily a single device or an entire safety system. A safety instrumented function is a particular implementation category, not a synonym for every safety function.

2. ENTITY GRAPH
SafetyFunction --addresses--> Hazard
SafetyFunction --reduces--> SafetyRisk
SafetyFunction --respondsTo--> HazardousEvent
SafetyFunction --specifiedBy--> SafetyRequirement
SafetyFunction --implementedBy--> SafetySystem
SafetyFunction --achieves--> SafeState
SafetyFunction --dependsOn--> EngineeringResource
SafetyFunction --verifiedBy--> TestResult
SafetyFunction --mayFailThrough--> FailureMechanism
SafetyFunction --documentedIn--> SafetyFunctionRecord
SafetyFunction --assessedBy--> SafetyEngineeringEntity
These are proposed semantic relationships, not verified published child URLs.

3. FLOW NOTATION
A → B denotes directed transformation or dependency; × denotes typed input composition; ⊥ denotes unknown or invalid; | denotes conditioning.
F_specify: Hazard × Scenario × RiskCriterion → SafetyFunctionRequirement
F_allocate: SafetyFunctionRequirement × Architecture → ImplementationPlan
F_detect: SensorEvidence × DemandCriterion → DemandState
F_decide: DemandState × Logic × Mode → Command
F_actuate: Command × ResourceState → PhysicalResponse
F_verify: PhysicalResponse × SafeStateCriterion × Deadline → Outcome
F_assess: Outcome × Evidence × IntegrityRequirement → Assessment
F_review: Assessment × ChangeRecord → RevisedRequirement

4. FUNCTIONAL SUCCESS ALGEBRA
Let D denote a valid demand, C the specified context, and t_d the demand time.
Success := required response achieved within deadline AND maintained for required duration AND no prohibited side effect under C.
PFD(C) = P(not Success | D,C).
P(Success | D,C) = 1 − PFD(C), for exhaustive binary outcomes.
Unknown observed outcomes remain unknown; they are not counted automatically as success.
ResponseTime = t_safe − t_d, using consistent clocks and an explicit safe-state criterion.
TimingCompliance := ResponseTime ≤ RequiredResponseTime.
A command or actuator movement alone does not establish achievement of the safe state.

5. FUNCTION ARCHITECTURE
For required detection, logic and actuation stages, S = S_D ∩ S_L ∩ S_A.
P(S | D,C) = P(S_D | D,C) P(S_L | S_D,D,C) P(S_A | S_D,S_L,D,C).
Independent multiplication requires justified conditional independence.
For two active channels where either suffices, failure = F1 ∩ F2, not F1 ∪ F2.
Shared power, sensors, environment, software and maintenance can invalidate independence.
Standby success additionally depends on detection, switching and standby readiness.
Architecture alone does not establish safety integrity.

6. INTEGRITY AND RISK REDUCTION
PFDavg = (1/T) ∫[0,T] PFD(t) dt for uniform demand timing independent of the function state over interval T.
For nonuniform demand timing use the appropriate demand-time weighting.
PFH denotes average frequency of dangerous failure per hour under the applicable high-demand or continuous-mode definition; it is not dimensionless PFD.
For a single scenario where successful action completely prevents the specified harm and failed action leaves baseline harm likelihood unchanged, residual harm frequency = baseline harm frequency × PFD.
Otherwise use conditional event-tree branches for success, failure and partial mitigation.
RRF = baseline risk metric / residual risk metric, only for comparable endpoints, contexts and positive denominator.
RRF = 1/PFD only under the restrictive complete-prevention model above.
Safety integrity level (SIL) is a requirement/classification under an applicable functional safety standard; a probability estimate alone does not establish SIL compliance. Systematic capability, architectural constraints, lifecycle evidence and applicable standard requirements must also be addressed.

7. LIFECYCLE AND STATE
Design lifecycle: proposed → specified → allocated → implemented → verified → validated → authorised → maintained → retired.
Operational states: ready, demanded, responding, safe-state-achieved, degraded, bypassed, failed, unknown.
Operational state is separate from lifecycle approval.
Bypass requires documented authorisation, scope, expiry, compensating measures and restoration verification according to applicable procedures.
A reset must not be interpreted as permission to restart hazardous operation.
Changes to hardware, software, process conditions or requirements trigger impact assessment and appropriate revalidation.

8. EVIDENCE AND UNCERTAINTY
Evidence := (id, source, timestamp, configuration, method, result, uncertainty, reviewer).
Distinguish proof test, diagnostic test, functional validation, inspection and operational demand evidence.
Proof test coverage is not necessarily complete; untested failure modes remain relevant.
Maintain separation of dangerous detected, dangerous undetected and safe failures under the stated classification scheme.
Record model assumptions, exposure, demand regime, repair times, common-cause dependencies and uncertainty.
No observed failures does not establish zero failure probability.

9. RECORD SCHEMA
SafetyFunctionRecord := {
 functionId, revision, subjectId, hazardIds, scenarioIds, requirementIds,
 demandDefinition, operatingModes, inputDefinitions, responseDefinition,
 safeStateCriteria, responseTimeLimit, requiredHoldDuration,
 implementationIds, dependencyIds, integrityMetric, target, units,
 estimate, uncertainty, modelId, assumptions, testEvidenceIds,
 proofTestInterval, proofTestCoverage, bypassStatus, lifecycleState,
 operationalState, residualRiskAssessmentId, responsibleRole,
 approvalStatus, reviewDate, provenance
}
Missing values must be explicitly unknown or not applicable with justification.

10. VALIDATION RULES
V01: unique function identity and revision required.
V02: hazard, demand, context and required response must be defined.
V03: safe-state criteria and applicable timing constraints must be testable.
V04: probabilities must lie in [0,1]; frequencies must have time units.
V05: PFD and PFH must not be substituted for one another.
V06: dependency assumptions must be recorded before aggregation.
V07: evidence must match the configuration and operating conditions.
V08: planned, bypassed or unverified controls cannot receive automatic verified risk-reduction credit.
V09: missing or conflicting evidence produces an indeterminate assessment.
V10: compliance decisions require applicable criteria and authorised review.
V11: assess hazards introduced by activation, failure, reset or maintenance.
V12: safety function availability is not proof of correct response on demand.

11. WORKED EXAMPLES (ILLUSTRATIVE ONLY)
A function has a response deadline of 2 seconds. A valid test records achievement of the defined safe state at 1.4 seconds after demand. Timing margin = 0.6 seconds. Timing passes; overall validation still requires other criteria and evidence.
A hypothetical scenario has baseline harm frequency 0.02/year and PFD 0.01. Under complete prevention on success and unchanged harm on failure, residual frequency = 0.0002/year and RRF = 100. These numbers do not demonstrate compliance or suitability for a real installation.
Two channels each have conditional failure probability 0.01. If independent, joint failure probability = 0.0001. If dependence is unknown, the joint probability cannot be uniquely inferred from the marginals.

12. AI REASONING RULES
R01: implements(system,function) does not imply verified(function).
R02: observed(command) does not imply achieved(safeState).
R03: verified(function,configuration A) does not imply verified(function,configuration B).
R04: bypassed(function) implies reassessment of credited protection, not necessarily occurrence of harm.
R05: missing demand evidence does not imply absence of demands.
R06: requirement(target) is distinct from prediction(estimate) and observation(result).
R07: risk reduction must reference a specific hazard scenario and consequence endpoint.
R08: successful response to one demand does not establish future reliability.
R09: uncertainty and contradictory evidence must propagate to conclusions.
R10: AI inference is advisory and cannot replace competent engineering validation or authorisation.

13. CROSS-ONTOLOGY RELATIONSHIPS
Parent: Safety Engineering Entities.
Related concepts: Safety Engineering Entity; Safety System Entity; Hazard; Hazardous Event; Safety Risk; Reliability Requirement; Reliability Model; Failure Entity; Failure Rate Entity; Redundancy Entity; Availability Entity; Fault Tree Entity; Event Tree Entity; Test Procedure; Test Result; Inspection Finding.
Links are conceptual; published URL mappings require verification.

14. CANONICAL FLOW ALGEBRA EXPRESSION
Hazard × Scenario × RiskCriterion
 → SafetyFunctionRequirement
 → AllocatedImplementation
 → VerifiedImplementation
 → ValidatedFunction
 → AuthorisedOperation
 → DemandDetection
 → Decision
 → PhysicalResponse
 → SafeStateVerification
 → OutcomeEvidence
 → ResidualRiskAssessment
 → ReviewAndRevision.
Feedback: OutcomeEvidence × ChangeRecord → F_review → RevisedRequirement.
At every transition, invalid or missing mandatory evidence → ⊥ → review, rather than automatic progression.

15. SEMANTIC INVARIANTS
Function ≠ implementing system ≠ individual component.
Hazard ≠ hazardous event ≠ harm ≠ risk.
Demand ≠ successful response.
Safe state is scenario- and context-dependent.
PFD ≠ PFH ≠ general reliability ≠ availability.
Predicted integrity ≠ demonstrated compliance.
Absence of evidence ≠ evidence of absence.
All risk-reduction claims retain assumptions, scope, revision and provenance.

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