FLOW "LayoutDrawing" v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/drawing-and-documentation-entities/layout-drawing-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/drawing-and-documentation-entities/layout-drawing-ontology.html
SOURCE_STATUS: Proposed specification; source body not independently verified.
LOCALE: en-GB
PURPOSE
Represent controlled spatial arrangements of engineering assets, distinguishing intended placement from surveyed or as-built geometry. Support spatial reasoning, installation coordination, access assessment and traceability without treating a drawing as proof of physical conformity.
ENTITIES AND SEMANTIC PATHWAYS
E01: LayoutDrawing -> identifiedBy -> DrawingNumber | namespace-qualified identity; instance links require evidence.
E02: LayoutDrawing -> hasRevision -> DrawingRevision | controlled version; instance links require evidence.
E03: LayoutDrawing -> containsSheet -> DrawingSheet | sheet scope; instance links require evidence.
E04: LayoutDrawing -> hasTitleBlock -> TitleBlock | document metadata; instance links require evidence.
E05: LayoutDrawing -> representsSystem -> EngineeringSystem | system scope; instance links require evidence.
E06: LayoutDrawing -> representsConfiguration -> DesignConfiguration | applicable design state; instance links require evidence.
E07: LayoutDrawing -> usesFrame -> CoordinateFrame | origin, axes, handedness and units; instance links require evidence.
E08: LayoutDrawing -> usesScale -> DrawingScale | declared view scale; instance links require evidence.
E09: LayoutDrawing -> containsView -> DrawingView | plan, elevation or section; instance links require evidence.
E10: LayoutDrawing -> representsOccurrence -> EquipmentOccurrence | unique installed or proposed occurrence; instance links require evidence.
E11: LayoutDrawing -> assignsPlacement -> SpatialPlacement | position and orientation; instance links require evidence.
E12: LayoutDrawing -> referencesGeometry -> GeometryModel | revision-specific envelope; instance links require evidence.
E13: LayoutDrawing -> containsBoundary -> InstallationBoundary | permitted spatial extent; instance links require evidence.
E14: LayoutDrawing -> definesZone -> SpatialZone | functional or restricted region; instance links require evidence.
E15: LayoutDrawing -> definesClearance -> ClearanceRequirement | minimum distance and applicable surfaces; instance links require evidence.
E16: LayoutDrawing -> definesAccess -> AccessEnvelope | operation or maintenance access; instance links require evidence.
E17: LayoutDrawing -> representsRoute -> ServiceRoute | path and service type; instance links require evidence.
E18: LayoutDrawing -> containsDimension -> DrawingDimension | explicit measurement and unit; instance links require evidence.
E19: LayoutDrawing -> referencesDatum -> Datum | coordinate reference; instance links require evidence.
E20: LayoutDrawing -> referencesInterface -> InstallationInterface | mating or connection location; instance links require evidence.
E21: LayoutDrawing -> referencesFoundation -> Foundation | support geometry and reference; instance links require evidence.
E22: LayoutDrawing -> containsAnnotation -> DrawingAnnotation | controlled instruction; instance links require evidence.
E23: LayoutDrawing -> referencesSpecification -> TechnicalSpecification | applicable revision; instance links require evidence.
E24: LayoutDrawing -> tracesToRequirement -> EngineeringRequirement | explicit allocation; instance links require evidence.
E25: LayoutDrawing -> hasVerification -> VerificationRecord | evidence and applicability; instance links require evidence.
E26: LayoutDrawing -> hasApproval -> ApprovalRecord | authority and scope; instance links require evidence.
E27: LayoutDrawing -> belongsToBaseline -> DesignBaseline | immutable manifest; instance links require evidence.
E28: LayoutDrawing -> affectedByChange -> ChangeRequest | change provenance; instance links require evidence.
E29: LayoutDrawing -> referencesSurvey -> SurveyRecord | observed geometry and uncertainty; instance links require evidence.
E30: LayoutDrawing -> referencesClash -> ClashRecord | interference assessment; instance links require evidence.
STATE_MODEL
S_t = (I_t,R,B,K_t)
I_t: finite typed assertions; R: finite function-free rules; B: identity, spatial scope, units, configuration and authority constraints; K_t: fixed evidence snapshot and derivation records.
E_t = expand(I_t,R)
V_t = {x in E_t : valid(x,B) AND supported(x,K_t)}
N_t = V_t minus I_t
If N_t is empty, halt; otherwise select x_t = argmax score(x) over N_t, breaking ties by canonical assertion ID.
I_(t+1) = I_t union {x_t}; K_(t+1) = K_t plus derivation(x_t).
INFERENCE_RULES
R01: drawingNumber(d,n) AND namespace(d,s) -> documentKey(d,s,n)
R02: documentKey(d,s,n) AND revision(d,r) -> revisionKey(d,s,n,r)
R03: containsSheet(d,h) AND declaredFrame(h,f) -> sheetFrame(h,f)
R04: containsView(d,v) AND declaredProjection(v,p) -> projectionType(v,p)
R05: placement(o,p) AND frame(p,f) -> placementFrame(o,f)
R06: placement(o,p) AND configuration(p,c) -> placementScope(o,c)
R07: frameTransform(f,g,T) AND validatedTransform(T) -> usableTransform(f,g,T)
R08: placementFrame(o,f) AND usableTransform(f,g,T) -> transformCandidate(o,g,T)
R09: geometry(o,m) AND matchingRevision(m,o) -> geometryCandidate(o,m)
R10: geometryCandidate(o,m) AND validatedPlacement(o,p) -> envelopeCandidate(o,m,p)
R11: envelopeCandidate(o,m,p) AND completeGeometry(m) -> assessmentEnvelope(o,m,p)
R12: assessmentEnvelope(o,m,p) AND applicableBoundary(o,b) -> boundaryCheckCandidate(o,b)
R13: boundaryCheckCandidate(o,b) AND verifiedContainment(o,b) -> boundaryConformityEvidence(o,b)
R14: assessmentEnvelope(a,m,p) AND assessmentEnvelope(b,n,q) AND comparableScope(a,b) -> clashCheckCandidate(a,b)
R15: clashCheckCandidate(a,b) AND verifiedUnintendedOverlap(a,b) -> clashFinding(a,b)
R16: clashCheckCandidate(a,b) AND declaredMating(a,b) -> interfaceReviewCandidate(a,b)
R17: clearanceRequirement(a,b,r) AND comparableScope(a,b) -> clearanceCheckCandidate(a,b,r)
R18: clearanceCheckCandidate(a,b,r) AND verifiedLowerBoundPass(a,b,r) -> clearancePassEvidence(a,b,r)
R19: clearanceCheckCandidate(a,b,r) AND verifiedUpperBoundFail(a,b,r) -> clearanceFailEvidence(a,b,r)
R20: accessEnvelope(o,e) AND applicableAccessRequirement(o,r) -> accessCheckCandidate(o,e,r)
R21: accessCheckCandidate(o,e,r) AND verifiedObstruction(e) -> accessFinding(o,r)
R22: serviceRoute(s,p) AND applicableRouteConstraint(s,r) -> routeCheckCandidate(s,p,r)
R23: routeCheckCandidate(s,p,r) AND verifiedRouteViolation(p,r) -> routeFinding(s,r)
R24: installationInterface(a,i) AND installationInterface(b,j) AND declaredMate(i,j) -> interfaceCheckCandidate(a,b)
R25: interfaceCheckCandidate(a,b) AND verifiedInterfaceMatch(a,b) -> interfaceMatchEvidence(a,b)
R26: containsDimension(d,m) AND explicitUnit(m,u) -> dimensionUnit(m,u)
R27: referencesSurvey(d,s) AND matchingConfiguration(d,s) -> surveyComparisonCandidate(d,s)
R28: surveyComparisonCandidate(d,s) AND verifiedDeviation(d,s,v) -> asBuiltDeviation(d,s,v)
R29: tracesToRequirement(d,r) AND applicableVerification(v,d,r) -> requirementEvidence(d,r,v)
R30: belongsToBaseline(d,b) AND verifiedManifestEntry(b,d) -> baselineMembershipEvidence(d,b)
R31: affectedByChange(d,c) AND dependency(x,d) -> impactCandidate(x,c)
R32: impactCandidate(x,c) AND dependency(y,x) -> impactCandidate(y,c)
R33: hasApproval(d,a) AND verifiedAuthority(a) AND matchingApprovalScope(a,d) -> approvalEvidence(d,a)
R34: clashFinding(a,b) AND applicableResolutionRecord(a,b,r) -> resolutionReviewCandidate(a,b,r)
SPATIAL AND ENGINEERING MODELS
1. Rigid placement: p_world = R p_local + t; R^T R = I, det(R)=+1. Convert length units before applying a transform. Reflections require an explicitly declared convention, not a rigid rotation.
2. Transform composition: T_AC = T_BC T_AB for column vectors mapping A to B to C. Validate frame identities and transformation direction.
3. Spatial envelope: E_i = {R_i p + t_i : p in G_i}, where G_i is the applicable geometry. Bounding boxes are broad-phase screening only; overlap is not proof of a clash.
4. Boundary feasibility: E_i subseteq B_i. Use the applicable installation boundary and geometry completeness; missing geometry yields unknown.
5. Clearance: d(A,B) = inf ||a-b|| for a in A, b in B. For minimum clearance c, pass if d_est-u >= c, fail if d_est+u < c, otherwise indeterminate; u is a justified nonnegative error bound. Touching and intentional mating need separate interface criteria.
6. Clash: interior(E_i) intersect interior(E_j) nonempty, excluding explicitly permitted overlap under the applicable interface definition. Use appropriate geometry tolerance and report unresolved cases.
7. Access: swept envelope W = union over permitted motion states q of E(q). Check W against obstacles and access constraints; static clearance alone does not establish maintainability.
8. Route length for polyline points p_0,...,p_n: L = sum ||p_i-p_(i-1)||. Curved segments require actual arc length; check bend radius, segregation and support separately against applicable specifications.
9. Survey deviation: delta = p_observed - p_design after frame alignment. For differentiable transform f, covariance approximation Sigma_out = J Sigma_in J^T; include registration uncertainty and correlations where relevant.
10. Drawing scale: for an undistorted view at 1:k, L_actual = k L_view. Explicit dimensions take precedence over scaled estimates; schematic or not-to-scale views cannot establish physical distances.
11. Coverage: C = |{r in Q: applicable accepted evidence exists}| / |Q|, for nonempty required set Q. Empty denominator is not applicable. Report pass, fail, unknown and not assessed separately; coverage is not compliance.
12. Change impact: A_0 = changed items; A_(t+1) = A_t union {y: dependency(y,x), x in A_t}. Closure identifies candidates for review, not confirmed defects.
CONFIDENCE AND SEMANTIC EQUIVALENCE
Confidence is a review priority indicator, not a calibrated probability. Rank by evidence authority, revision applicability, geometry completeness and measurement quality; unknown mandatory fields prevent positive conformity claims. Equivalent drawings require matched scope, revision or authorised equivalence, coordinate transformation, occurrence identities and applicable constraints. Similar appearance or matching filenames is insufficient.
VALIDATION AND FAILURE MODES
Reject malformed identifiers, incompatible units, invalid transforms and ambiguous revision references. Flag missing datums, unresolved cross-sheet references, duplicate occurrence identifiers, incomplete geometry, uncertain boundaries, unverified scale, stale survey data and conflicting dimensions. Distinguish intended contact from interference. Do not infer safe access, installation compliance or regulatory approval from graphical representation alone. Record findings with evidence IDs, affected items, applicable revision and review disposition.
MINI RECURSION ENGINE (pseudocode)
freeze evidence and rules; canonicalise identifiers and units
validate seed assertions; quarantine conflicts without deleting evidence
repeat:
candidates = expand(assertions, rules) minus assertions
eligible = filter(candidates, valid AND supported)
if eligible is empty: return assertions, findings, derivations
choose highest ranked eligible assertion; break ties by canonical ID
insert assertion and record rule, premises and evidence snapshot
RECURSIVE UPDATE MODEL
For new drawing revisions, changed geometry, revised constraints or withdrawn evidence, create a new snapshot and recompute affected derivations (or use sound truth maintenance). Preserve prior baselines and audit history. Never carry forward approval or conformity evidence without checking applicability.
TRI-MAPPING
Physical entity | Semantic representation | Computational representation
Equipment occurrence | representsOccurrence | occurrence ID and geometry reference
Placement | assignsPlacement | rigid transform and frame ID
Boundary | containsBoundary | region geometry
Clearance | definesClearance | distance predicate and threshold
Access | definesAccess | swept volume and motion domain
Service route | representsRoute | ordered path and constraint set
Revision | hasRevision | immutable version key
Verification | hasVerification | evidence record and applicability predicate
CONDITIONAL EXECUTION GUARANTEE
With a finite ground assertion space, fixed evidence and rules, terminating expansion and validation, and monotonic insertion of previously absent assertions, the recursion halts after at most the number of possible missing assertions. This does not prove physical correctness, completeness, safety or regulatory compliance. Geometry and numerical solvers must have their own termination and error controls.
AI SEARCH FLOW
Resolve query intent -> identify layout drawing and revision -> resolve configuration and frame -> retrieve equipment, geometry, dimensions and constraints -> traverse spatial and dependency relationships -> retrieve applicable verification and approval records -> distinguish documented, inferred and observed facts -> return evidence-linked results with unresolved uncertainties.
Search aliases: equipment layout drawing; plant layout; installation layout; general arrangement; spatial coordination; clearance drawing. These are retrieval terms, not unconditional ontology equivalences.
SOURCE CITATION
https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/drawing-and-documentation-entities/layout-drawing-ontology.html
FLOW_HASH
SHA-256: cecf1b8cff39d5fd8086e04d2a2b67cbaa708950c595a635ba653d83a5fd2e06
Scope: all UTF-8 bytes preceding FLOW_HASH.
Download Code
Copy to Clipboard