FLOW ALGEBRA — SPUR GEAR ONTOLOGY
Semantic Library | Engineering Entities | Shaft, Bearing and Gear Entities
Version: 1.0 | Encoding: UTF-8 | Language: en-GB
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/shaft-bearing-and-gear-entities/spur-gear-ontology.html
Source attribution: Mark Anthony Higgins — Sky Recursive AI
Source page copyright: © Mark Anthony Higgins, 11 October 2025; revised 04 August 2026.
Status: Original formal reconstruction; not a transcription of the page's hidden specification.
01 — PURPOSE
Model a spur gear as a cylindrical, straight-toothed gear transmitting rotational motion and torque between parallel shafts through external or internal tooth engagement. Express geometric, kinematic, load, reliability and lifecycle constraints as inspectable rules. Calculations are screening models, not certified engineering design.
02 — HST STATE MODEL
S_t = (I_t, R, B, K)
I_t = observed gear identity, geometry, material, mounting, loads, speed, temperature and condition
R = typed relations, engineering equations and inference rules
B = operating limits, permissible configurations, safety and evidence boundaries
K = validated domain knowledge, measurement provenance, standards and revision history
E_t = expand(I_t, R)
V_t = {x in E_t | satisfies(x, B) and supported(x, K)}
x*_t = argmax_{x in V_t} P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*_t, observed_evidence)
Stop when no new justified states emerge, or when an iteration/resource boundary is reached.
03 — ENTITY TYPES
SpurGear, GearPair, Pinion, DrivenGear, Shaft, Hub, Key, Spline, Bearing, Housing,
Tooth, ToothFlank, PitchCircle, BaseCircle, AddendumCircle, RootCircle,
Module, ToothCount, PressureAngle, FaceWidth, CentreDistance, Backlash,
ContactRatio, Material, HeatTreatment, Lubricant, LoadCase, DutyCycle,
Inspection, Defect, FailureMode, MaintenanceAction, Requirement, Evidence.
04 — RELATIONS
SpurGear IS_A Gear
SpurGear HAS ToothCount, Module, PressureAngle, FaceWidth, Material
SpurGear MOUNTS_ON Shaft
SpurGear MESHES_WITH SpurGear
GearPair HAS Pinion, DrivenGear, CentreDistance, Backlash
Tooth TRANSMITS TangentialForce
Bearing SUPPORTS Shaft
Lubricant PROTECTS ToothFlank
Inspection OBSERVES Defect
Requirement CONSTRAINS Geometry, Loading, Reliability
Evidence SUPPORTS Measurement, Inference, Acceptance
05 — REQUIRED INPUTS
gear_id, mate_id, mesh_type {external, internal}, z1, z2, module_m,
pressure_angle_deg, face_width_mm, nominal_centre_distance_mm,
input_speed_rpm, input_torque_Nm, efficiency_assumption,
material_and_heat_treatment, load_case, lubrication_regime,
permissible_limits, evidence_and_revision.
Units must be explicit. Missing values remain unknown; never invent ratings.
06 — OPERATIONAL FLOWS
FLOW 01 Identify:
READ gear identity, version, manufacturer and provenance.
VALIDATE uniqueness and traceability.
EMIT identified_gear or unresolved_identity.
FLOW 02 Classify:
CHECK straight teeth, cylindrical geometry and parallel shaft axes.
CLASSIFY external or internal mesh.
REJECT unsupported spur-gear classification.
FLOW 03 Validate geometry:
REQUIRE z1 > 0, z2 > 0, module_m > 0, face_width_mm > 0.
REQUIRE compatible module and pressure angle for a conventional pair.
CALCULATE pitch diameters d1 = module_m*z1; d2 = module_m*z2.
EXTERNAL nominal centre distance a = (d1+d2)/2.
INTERNAL nominal centre distance a = abs(d2-d1)/2, with valid tooth ordering.
CHECK actual centre distance, tooth form, clearance and backlash separately.
FLOW 04 Derive speed ratio:
For a fixed-axis external pair, omega2/omega1 = -z1/z2.
For a fixed-axis internal pair, omega2/omega1 = +z1/z2.
Magnitude ratio i = z2/z1, where input is gear 1.
CHECK rotational direction and shaft configuration.
FLOW 05 Estimate transmitted load:
Given torque T1 in Nm and pitch diameter d1 in mm,
tangential force Ft_N = 2000*T1/d1.
For standard transverse pressure angle alpha,
radial separating force magnitude Fr = Ft*tan(alpha) for external spur gears.
Nominal axial mesh force = 0 for ideal straight spur teeth;
account separately for non-ideal alignment or external axial loads.
FLOW 06 Evaluate power:
P_in_W = T1_Nm * 2*pi*input_speed_rpm/60.
P_out_W = eta*P_in_W, only when eta is evidenced or stated as an assumption.
T2 = P_out_W/abs(omega2_rad_s), when output speed is non-zero.
FLAG power, efficiency and temperature inconsistencies.
FLOW 07 Check meshing:
VERIFY compatible involute profiles, tooth clearance and backlash.
EVALUATE contact ratio using validated geometry and standards.
FLAG interference, undercut risk, edge contact or poor alignment.
Do not infer acceptable contact ratio without required geometry.
FLOW 08 Assess strength and life:
CHECK tooth-root bending, flank contact stress, dynamic effects,
fatigue, lubrication, duty cycle and overload using an applicable
validated standard (for example ISO 6336 or AGMA methodology).
MARK result indeterminate when material factors or load data are missing.
FLOW 09 Detect faults:
OBSERVE pitting, scuffing, cracking, chipped teeth, wear,
abnormal vibration, noise, misalignment and lubricant contamination.
LINK observations to candidate causes with evidence and uncertainty.
ESCALATE suspected critical tooth or shaft failure for engineering review.
FLOW 10 Manage lifecycle:
TRANSITION proposed -> designed -> verified -> manufactured -> installed
-> commissioned -> operating -> inspected -> maintained
-> retired, with approved repair/rework paths where appropriate.
RECORD each transition, actor, evidence and configuration revision.
07 — INFERENCE RULES
R01 IF same_module AND same_pressure_angle AND valid_tooth_geometry
THEN candidate_mesh_compatibility, NOT automatic approval.
R02 IF external_mesh THEN output_rotation_opposes_input.
R03 IF internal_mesh THEN output_rotation_matches_input.
R04 IF measured_backlash outside approved_limit THEN inspection_required.
R05 IF measured_vibration rises beyond baseline threshold
THEN candidate_fault = misalignment OR wear OR tooth_damage;
require diagnostic confirmation.
R06 IF lubrication_evidence absent THEN lubrication_status = unknown.
R07 IF fatigue_or_contact_stress evidence exceeds allowable limits
THEN design_review_required.
R08 IF critical_defect confirmed THEN inhibit_unreviewed_operation.
R09 IF geometry_or_load inputs change THEN invalidate dependent calculations.
R10 IF evidence contradicts inference THEN revise confidence and reopen assessment.
08 — RECURSIVE EXECUTION
REPEAT:
normalise inputs and units;
traverse gear -> pair -> shaft -> bearing -> load -> condition relations;
derive candidate consequences;
filter against boundaries and available evidence;
log confidence, provenance, rejected candidates and new unknowns;
request missing observations when necessary;
UNTIL fixed point, iteration limit or safety stop.
No recursive inference overrides a measured safety violation.
09 — VALIDATION CONTRACT
V01 All identities and units present or explicitly unknown.
V02 Tooth counts positive integers; module and face width positive.
V03 Compatible gear geometry supported by measured/design evidence.
V04 Speed ratio and rotation direction consistent with mesh type.
V05 Torque, force and power calculations dimensionally consistent.
V06 Material, stress, duty and lubrication limits checked by qualified method.
V07 Safety-relevant decisions reviewed by a competent engineer.
V08 Configuration revisions and evidence provenance retained.
V09 Missing evidence never represented as a passed check.
V10 Every acceptance result names its applicable criterion.
10 — TRI-MAPPING
SEMANTIC: SpurGear -> MESHES_WITH -> Gear -> TRANSMITS -> Torque
FORMAL: geometry + load + constraints -> admissible operating states
OPERATIONAL: inspect -> calculate -> validate -> decide -> record -> monitor
11 — EXECUTION CONTRACT
INPUT: traceable gear/pair specification and measured operating evidence.
OUTPUT: typed relations, derived quantities, constraint results,
unresolved questions, inspection actions and audit trail.
GUARANTEE: deterministic unit-consistent rules where assumptions are supplied;
explicit unknowns and fail-closed handling of safety-critical gaps.
NON-GUARANTEE: no certification, safe-life guarantee or physical validation
from this ontology alone.
12 — CITATION AND LICENCE NOTE
Source: Kireth Research — Spur Gear Ontology.
Authors credited on source page: Mark Anthony Higgins — Sky Recursive AI.
This reconstruction should cite and link to the source URL above.
Use subject to the applicable Kireth Research Open Research Licence.
Download Code
Copy to Clipboard