AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH RESEARCH — SEMANTIC LIBRARY
DELIVERY ENTITY ONTOLOGY — FLOW ALGEBRA Version: 1.0 | Encoding: UTF-8 Canonical reference: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/engineering-supply-chain-entities/delivery-entity-ontology.html Parent: Engineering Supply Chain Entities Status: Proposed formal representation; live page not verified.
01. Entity definition
A delivery is a controlled transfer of goods to a specified receiving party and location against one or more supply obligations. Dispatch, physical arrival, receipt and technical acceptance are distinct events.
D = (id, supplier, recipient, destination, lines, shipments, events, evidence, status) Each line l = (id, PO_line, part, revision, lot, quantity, unit, due_date). Delivery identity is persistent; revisions of delivery records retain lineage. A shipment may support multiple deliveries and a delivery may comprise multiple shipments.
02. Typed domains
D ∈ Delivery; P ∈ PurchaseOrderLine; S ∈ Shipment; L ∈ DeliveryLine; B ∈ Batch; E ∈ Evidence; R ∈ Receipt; A ∈ AcceptanceDecision. Each quantity carries a unit. Comparisons require compatible units and approved conversions. Unknown identifiers remain unresolved rather than being inferred from similar names.
03. Flow composition
F_dispatch: authorised allocation → dispatched shipment. F_transport: dispatched shipment → arrival event. F_receipt: arrival + count + identity checks → receipt record. F_inspect: receipt + applicable specification + evidence → disposition. F_close: reconciled obligations + authorised closure → closed delivery. F_total = F_close ∘ F_inspect ∘ F_receipt ∘ F_transport ∘ F_dispatch, where composition is defined only when preconditions hold. Partial receipts and inspection may proceed independently by line or lot.
04. Quantity and reconciliation algebra
For each PO line p, let Q be authorised ordered quantity net of approved cancellations, G gross received quantity, A accepted quantity retained, H held quantity, J rejected quantity retained, and T returned quantity. With no unrecorded losses: G = A + H + J + T. Outstanding accepted obligation O = max(0, Q − A). Excess accepted quantity X = max(0, A − Q). A receipt does not automatically reduce the accepted obligation. Deduplicate events by immutable event identifier; reversals reference original events. Aggregate only within compatible part, revision and unit domains.
05. Temporal algebra
For each delivery line, record planned dispatch, promised arrival, actual dispatch, actual arrival, receipt and acceptance times separately. Preserve timezone and source. Arrival variance Δt = actual_arrival − promised_arrival. Late duration = max(0, Δt). For missing actual arrival, lateness remains provisional. Preserve original and amended promises to prevent retrospective performance distortion. Evaluate effectivity at the contractual event specified by the applicable requirement.
06. Traceability and configuration
Trace(d) = {PO line, supplier, manufacturer, part number, revision, lot/serial, shipment, receipt, certificate, inspection, disposition} linked by explicit identifiers. A supplied part is eligible only when its approved identity and revision match the applicable purchase specification or a documented authorised deviation. A delivery note is not proof of technical conformity. Batch splits preserve parent lineage and allocated quantities; serialised units must not be counted twice.
07. Evidence and acceptance
Evaluate mandatory checks in {PASS, FAIL, UNKNOWN}. Acceptable(l) = identity_match ∧ quantity_verified ∧ applicable_specification_met ∧ mandatory_evidence_valid ∧ authorised_disposition. Use three-valued conjunction: any FAIL gives FAIL; otherwise any UNKNOWN gives UNKNOWN; all PASS gives PASS. Only PASS permits normal acceptance. Exceptions require explicit authority, scope and recorded disposition; they do not erase original failures.
08. Lifecycle and status accounting
Planned → Allocated → Dispatched → InTransit → Arrived → Received → Closed. Track inspection disposition separately: Pending → Held / Accepted / Rejected; Held → Accepted / Rejected after review. Returns and cancellations are separately authorised events. Partial delivery status is derived from line-level quantities, not a single shipment flag. Closure requires all remaining obligations resolved by acceptance, approved cancellation or other authorised settlement.
09. Risk and performance
OTIF = number of due obligations delivered in full by agreed deadline / number of eligible due obligations, using a stated measurement basis (physical receipt or technical acceptance). If denominator = 0, metric is undefined. Report late, incomplete, damaged, rejected and missing-evidence deliveries separately. Expected shortage under scenarios = Σ probability(s) × shortage(s), only for mutually exclusive exhaustive scenarios with justified probabilities. Risk estimates are not observed facts.
10. Recursive impact propagation
Let G = (V, E) be a finite directed dependency graph with edges from supply obligations to dependent work orders, assemblies and milestones. For disrupted delivery nodes X0, define X(k+1) = X(k) ∪ successors(X(k)). Stop when X(k+1) = X(k). This monotone reachability closure converges in at most |V| strict expansions. It identifies potentially affected entities, not confirmed delays. Quantify actual schedule impact using stock, alternatives, capacity and schedule constraints separately.
11. Change and control algebra
ΔD = (added_lines, removed_lines, changed_fields, added_events, superseded_evidence). Amend(D, change) is permitted only if authority, effectivity and referenced obligation revisions are valid. Preserve historical records and original commitments. Recalculate outstanding quantities and impact after approved amendments. Conflicting concurrent changes require reconciliation before release.
12. Coherence invariants
I1: delivery and event identifiers are unique within their namespaces. I2: all receipt allocations reference valid delivery and PO lines. I3: quantities are non-negative and dimensionally consistent. I4: disposition quantities reconcile to gross receipts. I5: accepted serial identities are not duplicated. I6: mandatory unknown evidence blocks normal acceptance. I7: timestamps respect causal order or carry a documented exception. I8: historical commitments and evidence remain traceable. I9: closure never silently discards outstanding obligations.
13. Semantic graph and AI retrieval
Delivery –fulfils–> PurchaseOrderLine Delivery –hasLine–> DeliveryLine Delivery –transportedBy–> Shipment Delivery –suppliedBy–> Supplier Delivery –receivedAt–> ReceivingLocation DeliveryLine –references–> SuppliedComponent / SuppliedMaterial DeliveryLine –identifiesBatch–> Batch Receipt –records–> DeliveryLine AcceptanceDecision –evaluates–> Receipt AcceptanceDecision –supportedBy–> InspectionRecord / MaterialCertificate Delivery –affects–> WorkOrder Search aliases: engineering delivery, goods receipt, partial delivery, inbound shipment, delivery note, order fulfilment, delivery traceability. Retrieval flow: query → entity resolution → typed graph traversal → effectivity filtering → evidence retrieval → validated answer. Return record identifiers, timestamps and evidence references; distinguish unknown from false. Proposed graph predicates are not verified website schema.
14. Worked example
Illustrative PO line: 100 units of part P, revision B, due 10 December. Delivery D1 brings 60 units on 9 December; 55 accepted and 5 held. D2 brings 40 units on 12 December; all accepted. Gross receipts = 100; accepted = 95; held = 5; outstanding accepted obligation = 5. If the held units subsequently pass inspection, accepted becomes 100 and outstanding becomes zero. Physical delivery was not in full by the original deadline, so this obligation fails physical-receipt OTIF even after final acceptance. Trace each lot and inspection independently. If the shortage affects an assembly, propagate potential impact through the dependency graph and check available stock before asserting a production delay.
END OF FLOW ALGEBRA