Visual Designing and Debugging of Deterministic Finite-State Machines in FSM
Marco T. Moraz\'an (Seton Hall University), Joshua M. Schappel (Seton, Hall University), Sachin Mahashabde (Seton Hall University)

TL;DR
This paper introduces a visualization tool for designing and debugging deterministic finite-state machines that emphasizes design clarity and allows for invariant validation, aiding students in automata theory education.
Contribution
It presents a novel visualization tool that simplifies FSM design, debugging, and invariant validation without graph rendering, enhancing automata education and correctness verification.
Findings
Supports invariant predicates for each state during execution
Enables validation and debugging of FSMs before correctness proofs
Allows rendering of edited machines as executable code
Abstract
This article presents a visualization tool for designing and debugging deterministic finite-state machines in FSM -- a domain specific language for the automata theory classroom. Like other automata visualization tools, users can edit machines and observe their execution, given some input. Unlike other automata visualization tools, the user is not burdened nor distracted with rendering a machine as a graph. Furthermore, emphasis is placed on the design of machines and this article presents a novel design recipe for deterministic finite-state machines. In support of the design process, the visualization tool allows for each state to be associated with an invariant predicate. During machine execution, the visualization tool indicates if the proposed invariant holds or does not hold after each transition. In this manner, students can validate and debug their machines before attempting to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
