Skip to main content

Safety Requirement Ontology

Engineering Requirement Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 25 November 2026
Audio Overview
SAFETY REQUIREMENT — FLOW ALGEBRA v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required.
SOURCE / CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-requirement-entities/safety-requirement-ontology.html
STATUS: Original proposed specification; source contents not independently verified; runtime untested.

PURPOSE
Represent normative engineering obligations intended to prevent harm or reduce risk. Distinguish a safety requirement from a hazard, protective function, implementation, verification result and authorised risk acceptance. This is a semantic reasoning specification, not a safety certification or operational controller.

STATE_MODEL
S_t = (I_t,R,B,K_t)
I_t: accepted typed assertions and derivations.
R: finite function-free inference rules.
B: system scope, baseline, permitted predicates, access policy and recursion budget.
K_t: evidence snapshot, vocabulary, provenance and conflict records.
Context c = (system_id, configuration_id, baseline_id, operating_mode, environment, validity_interval).
Requirement q = (id, revision, subject, hazard_refs, obligation, conditions, criterion, owner, provenance).
Evidence e = (id, requirement_revision, configuration, method, result, uncertainty, date, provenance, review_status).
Unknown is distinct from false. Approval and evidence applicability are revision-specific.

ENTITIES AND PATHWAYS
SafetyRequirement -> isA -> EngineeringRequirement
SafetyRequirement -> mitigates -> HazardScenario
HazardScenario -> mayCause -> Harm
HazardScenario -> assessedBy -> RiskAssessment
SafetyRequirement -> derivedFrom -> StakeholderNeed
SafetyRequirement -> specifies -> ProtectiveFunction
SafetyRequirement -> imposes -> SafetyConstraint
SafetyRequirement -> allocatedTo -> SystemElement
SafetyRequirement -> appliesUnder -> OperatingCondition
SafetyRequirement -> hasCriterion -> AcceptanceCriterion
SafetyRequirement -> refinedBy -> SafetyRequirement
SafetyRequirement -> supportedBy -> SafetyRationale
VerificationEvidence -> evaluates -> SafetyRequirement
VerificationEvidence -> uses -> VerificationMethod
VerificationEvidence -> concerns -> ConfigurationBaseline
RiskAssessment -> estimates -> ResidualRisk
ResidualRisk -> reviewedBy -> AuthorisedRiskOwner
SafetyCase -> references -> VerificationEvidence
ChangeRequest -> proposesRevisionOf -> SafetyRequirement
ConflictRecord -> references -> SafetyRequirement

FORMAL FLOW ALGEBRA
E_t = expand(I_t,R)
V_t = {a in E_t : valid(a,B,K_t) and supported(a,K_t)}
N_t = V_t minus I_t
If N_t is empty, return fixed point and unresolved conflicts.
Otherwise x_t = argmax over N_t of score(a | I_t,R,B,K_t), with canonical ID as deterministic tie-break.
I_(t+1) = I_t union {x_t}
K_(t+1) = K_t union {derivation(x_t)}
Scores rank evidence; they are not calibrated probabilities. Hard constraints cannot be overridden by scores.

RISK AND MEASUREMENT MODEL
For a defined scenario and time horizon, expected loss L = sum_i p_i * C_i for mutually exclusive outcomes with comparable consequence units. Do not multiply ordinal risk matrix categories as if they were physical quantities. Preserve separate harm dimensions when aggregation is unjustified.
Risk reduction ratio = L_before / L_after only for comparable scope, horizon and consequence definitions, with L_after > 0. A zero estimate does not establish zero risk. Missing probability or consequence yields unknown, not zero.
For an approved conservative upper-limit criterion, measured y with expanded uncertainty U >= 0 passes if y+U <= limit; fails if y-U > limit; otherwise indeterminate. This illustrative rule is not a substitute for the applicable approved decision rule. Missing uncertainty is not zero.
For independent inputs, first-order combined standard uncertainty u_c = sqrt(sum_i ((partial f / partial x_i)*u_i)^2). Correlated inputs require covariance terms. Record units, method, coverage factor and assumptions.

TRACEABILITY MODEL
Q = distinct applicable safety requirement revisions in the selected baseline.
H = distinct identified hazard scenarios in the selected scope.
T = {q in Q : accepted hazard or safety rationale trace exists}.
A = {q in Q : accepted allocation exists}.
V = {q in Q : applicable accepted verification evidence exists}.
P = {q in Q : accepted verification verdict is pass}.
M = {h in H : accepted mitigation requirement trace exists}.
Trace coverage = |T|/|Q|; allocation coverage = |A|/|Q|.
Evidence coverage = |V|/|Q|; verified pass fraction = |P|/|Q|.
Hazard trace coverage = |M|/|H|.
Empty denominators are undefined. Report counts and exclusions. Coverage is not proof of safety, mitigation effectiveness or completeness of hazard identification.

INFERENCE_RULES
R01: A documented normative harm-prevention obligation yields a SafetyRequirement candidate.
R02: Accepted SafetyRequirement classification implies EngineeringRequirement classification.
R03: An explicit hazard reference establishes a scoped mitigates link, not proof of effectiveness.
R04: A documented protective function establishes specifies relationship.
R05: An approved allocation establishes allocatedTo for that revision and baseline.
R06: An explicit operating condition limits the applicability of the obligation.
R07: An approved measurable decision rule establishes hasCriterion.
R08: A documented derivation establishes refinedBy; child satisfaction alone does not prove parent satisfaction.
R09: An accepted rationale establishes supportedBy, preserving provenance.
R10: A verification record with matching requirement revision establishes evaluates.
R11: A documented test, analysis, inspection or demonstration establishes uses method.
R12: A mismatched configuration marks evidence applicability unresolved unless equivalence is established.
R13: Missing mandatory evidence yields unknown verification status.
R14: A valid observation satisfying the approved criterion yields a candidate pass verdict.
R15: A valid observation violating the approved criterion yields a candidate fail verdict.
R16: Overlapping uncertainty at a decision boundary yields indeterminate under the illustrative conservative rule.
R17: Conflicting applicable verdicts generate a ConflictRecord; do not silently select pass.
R18: A changed requirement revision triggers reassessment of dependent evidence.
R19: A changed interface or operating condition triggers impact review of linked safety requirements.
R20: A documented residual risk assessment establishes estimates relationship only within its scope.
R21: Risk acceptance requires explicit evidence of authorised decision, scope and validity period.
R22: Risk acceptance does not imply that every requirement passed.
R23: Verification pass does not imply intended-use validation or overall safety.
R24: Missing hazard trace triggers a traceability gap, not a claim of absence of hazards.
R25: A superseded baseline remains historical and cannot silently replace the active baseline.
R26: An expired approval is not current approval.
R27: A safety case may reference accepted evidence but its conclusion requires independent review.
R28: A requirement conflict blocks automatic conformance conclusions until resolved.

MINI_RECURSION_ENGINE
Input: query, finite evidence snapshot, baseline, rules, maximum iterations.
1. Resolve identifiers and scope; retain original provenance.
2. Generate candidates using typed rules and finite known entities.
3. Reject out-of-scope, unsupported or ill-typed candidates; log reasons.
4. Rank admissible novel assertions and add one deterministically.
5. Repeat until fixed point or budget exhaustion.
6. Return accepted assertions, derivations, gaps, conflicts and completion status.
No equipment actuation, automatic risk acceptance or certification is authorised.

CONFIDENCE
Use evidence quality, applicability, provenance and review status as separate attributes. Optional ranking score is a weighted mean of documented attributes with nonnegative weights summing to one. Missing mandatory evidence prevents a verified conclusion regardless of score. Do not treat correlated evidence as independent corroboration.

SEMANTIC_EQUIVALENCE
Two requirement revisions may be equivalent only with documented agreement in subject, obligation, hazard scope, conditions, criterion, units and baseline applicability. Similar wording or shared labels is insufficient. Preserve separate identity and provenance even when equivalence is established.

VALIDATION AND FAILURE MODES
Check unique identifiers, typed endpoints, revision references, valid units, evidence provenance, scope, temporal consistency and authorisation. Flag orphan requirements, missing hazard traces, ambiguous obligations, stale evidence, conflicting criteria, incompatible units, unreviewed changes and unresolved residual risk. Never infer safety from absence of recorded failures.

UPDATE_MODEL
New evidence creates a new evidence snapshot. Recompute affected derivations from accepted base assertions when evidence is withdrawn, revised or superseded. Preserve prior snapshots and audit history. Do not use monotonic union to retain invalidated conclusions across revisions.

TRI_MAPPING
Concept | Formal representation | Implementation representation
Safety requirement | q | versioned requirement record
Hazard scenario | h in H | hazard register entry
Mitigation trace | mitigates(q,h) | typed graph edge
Verification evidence | e | immutable evidence reference
Baseline | c.baseline_id | controlled configuration record
Residual risk | scoped risk estimate | reviewed assessment record
Unknown | unresolved predicate | explicit status field

CONDITIONAL EXECUTION GUARANTEE
For a finite universe of ground assertions, fixed evidence snapshot, deterministic validation and finite function-free rules, each successful iteration adds one novel assertion. The number of additions cannot exceed the finite universe size. With sufficient budget and fair exhaustive candidate generation, the engine reaches a fixed point. Budget exhaustion returns partial results. This is a conditional termination argument, not a tested implementation or guarantee of engineering correctness.

AI_SEARCH_FLOW
Intent: identify safety requirements, hazard traces, allocated elements, applicable evidence and unresolved gaps.
Resolve query -> select system and baseline -> retrieve requirement revisions -> traverse hazard, allocation and evidence links -> validate scope and provenance -> rank admissible results -> return citations and uncertainty.
Example queries: Which safety requirements address a given hazard? Which requirements lack applicable verification evidence? Which revisions are affected by a baseline change?
Return source links, requirement revision, evidence status and unresolved conflicts. Distinguish asserted facts from inferred relationships. Do not return unsupported safety assurances.

FLOW_HASH
Algorithm: SHA-256
Scope: UTF-8 bytes of all text preceding the FLOW_HASH heading, with LF line endings.
Digest: 65c49fd34fb95c1aea53a0519b77ea48f71a8e3c641853b3d841d87d38effb81
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ