AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA — WELD DEFECT ONTOLOGY
Version: 1.0
Date: 24 November 2026
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/welding-and-joining-entities/weld-defect-ontology.html
Source page: Weld Defect Ontology (revised 06 August 2026)
Licence: Open research; attribution and citation required.
PURPOSE
Formalise the identity, classification, detection, evaluation and disposition of weld defects as a machine-readable semantic reasoning flow. This is a companion flow derived from the ontology topic; it does not claim to reproduce hidden page code.
ENTITY
ID: ENG.WELD.DEFECT
LABEL: Weld Defect
PARENT: Welding and Joining Entity
DEFINITION: A discontinuity or condition in a weld or adjacent material that fails an applicable acceptance requirement. A discontinuity is not necessarily a defect until evaluated against the applicable criterion.
STATE_MODEL
S = (I, R, B, K)
I = observations, weld geometry, inspection records, material and process context
R = classification rules, inspection rules, acceptance criteria
B = boundaries: weld zone, inspection coverage, procedure, code and service conditions
K = knowledge: defect taxonomy, process mechanisms, evidence and traceability
ENTITIES
Weld; WeldJoint; BaseMetal; FillerMetal; HeatAffectedZone; WeldMetal;
WeldDiscontinuity; WeldDefect; InspectionMethod; Indication;
AcceptanceCriterion; RepairAction; InspectionRecord; WeldingProcedure.
DEFECT_CLASSES
Crack: longitudinal, transverse, crater, hot, cold, hydrogen-assisted.
Porosity: isolated, clustered, linear, wormhole.
Inclusion: slag, oxide, tungsten or other foreign material.
LackOfFusion: sidewall, inter-run, root.
IncompletePenetration: insufficient joint-root penetration.
Undercut: groove adjacent to weld toe or root.
Overlap: weld metal flowing beyond fusion boundary without fusion.
ProfileDefect: excessive reinforcement, concavity, underfill, mismatch.
BurnThrough: unintended melt-through or hole.
Other: spatter, arc strike, lamellar tearing, distortion where applicable.
RELATIONS
WeldDefect IS_A NonconformingWeldCondition
WeldDefect OCCURS_IN Weld | HeatAffectedZone | BaseMetal
WeldDefect HAS_TYPE DefectClass
WeldDefect DETECTED_BY InspectionMethod
WeldDefect EVIDENCED_BY Indication
WeldDefect ASSESSED_AGAINST AcceptanceCriterion
WeldDefect MAY_REQUIRE RepairAction
WeldDefect RECORDED_IN InspectionRecord
WeldDefect MAY_ORIGINATE_FROM WeldingProcessCondition
FLOW
F0: acquire weld identity, drawings, procedure and applicable acceptance standard
F1: establish material, joint, process, position, service and inspection boundary
F2: collect visual and/or NDT inspection observations
F3: normalise observations into indications with locations, dimensions and uncertainty
F4: classify indication as relevant, non-relevant or unresolved
F5: infer discontinuity type where evidence permits
F6: compare measured discontinuity with the correct acceptance criterion
F7: classify disposition: acceptable, rejectable, or indeterminate
F8: if rejectable, select approved repair or replacement pathway
F9: reinspect after action and record final disposition
F10: preserve provenance, evidence, revision and decision history
FORMAL RULES
R1: indication(i) AND evidence_supports(i, d) => candidate_discontinuity(d)
R2: discontinuity(d) AND violates(d, criterion(c)) => weld_defect(d)
R3: discontinuity(d) AND satisfies(d, criterion(c)) => acceptable_discontinuity(d)
R4: criterion_unknown OR measurement_uncertain => disposition(indeterminate)
R5: weld_defect(d) => disposition(reject_or_engineering_review)
R6: repair_completed(d) => require(reinspection)
R7: no_detected_indication DOES_NOT_IMPLY defect_free_weld
R8: inspection_method_unsuitable => prohibit(unsupported_clearance_claim)
R9: crack_indication => prioritise(engineering_assessment_under_applicable_standard)
RECURSION_ENGINE
E_t = expand(I_t, R)
V_t = filter(E_t, B, K)
x* = argmax_x P(x | I_t, R, B, K)
I_(t+1) = update(I_t, x*, new_evidence)
STOP when disposition is justified, further evidence is unavailable,
or the authorised inspection/review boundary is reached.
CONFIDENCE
High: corroborated inspection, calibrated measurement, applicable criterion.
Medium: credible indication with limited corroboration.
Low: ambiguous indication, insufficient coverage or uncertain classification.
Confidence is not an acceptance criterion and must not override a code requirement.
SEMANTIC_EQUIVALENCE
Weld flaw ~ weld discontinuity (context-dependent; not always rejectable)
Weld defect = nonconforming discontinuity or condition under a stated criterion
Lack of fusion != incomplete penetration
Porosity != slag inclusion
OUTPUT_SCHEMA
weld_id; location; defect_class; evidence; inspection_method;
dimensions; acceptance_standard; criterion_id; assessment;
confidence; required_action; reinspection_status; provenance.
EXECUTION_GUARANTEE
Do not infer compliance without the governing standard, inspection scope,
qualified personnel and adequate evidence. The flow supports classification
and traceable reasoning; it does not replace qualified welding inspection,
engineering assessment or statutory requirements.
CITATION
Mark Anthony Higgins and Sky — Recursive AI, “Weld Defect Ontology”,
Kireth Research, revised 06 August 2026.
https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/welding-and-joining-entities/weld-defect-ontology.html