ArXiv TLDR

Separation Logic for Verifying Physical Collisions of CNC Programs

🐦 Tweet
2605.10437

Yeonseok Lee

cs.LOcs.SE

TLDR

This paper introduces a formal verification framework using Separation Logic to prevent physical collisions in CNC programs by treating workspace occupancy as a logical resource.

Key contributions

  • Applies Separation Logic to formally verify CNC program safety, preventing physical collisions.
  • Models the physical CNC workspace as a Spatial Heap, treating occupancy as a managed logical resource.
  • Introduces a Parser-Prover Handshake to decouple machine kinematics from the formal logic.
  • Redefines physical collisions as logical Spatial Data Races, detected by separating conjunction.

Why it matters

This framework provides a scalable, mathematically grounded alternative to traditional simulation-based safety verification, which relies on repetitive tests. It paves the way for autonomous, zero-collision manufacturing by offering a more robust and efficient approach.

Original Abstract

Safety verification in Computer Numerical Control (CNC) machining has traditionally relied on simulation-based methods that require repetitive tests when requirements change. This paper introduces a formal verification framework that conceptualizes the physical CNC workspace as a Spatial Heap, treating physical occupancy as a managed logical resource. Central to our approach is a Parser-Prover Handshake that decouples machine kinematics from formal logic. By mapping tool trajectories and safety buffers into a discrete spatial model prior to evaluation, the framework enables the use of Separation Logic (SL) to verify safety via formal triples. Within this model, physical collisions are redefined as logical Spatial Data Races, detected through the failure of the separating conjunction to establish disjointness. Furthermore, we extend the methodology to collaborative environments using Concurrent Separation Logic (CSL), where physical hand-offs are verified as formal ownership transfers. This approach provides a scalable, mathematically grounded alternative to geometric simulation, offering a foundation for autonomous, zero-collision manufacturing.

📬 Weekly AI Paper Digest

Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.