Forge is a lightweight formal-methods tool, similar to Alloy 6, built with teaching in mind. Forge provides a progression of sub-languages that gradually build in expressive power to match students’ experience and expertise.
Edit Forge in your favorite text editor; we have added support in both Visual Studio Code and DrRacket.
Forge uses the Sterling visualizer to enable custom visualizations by both students and instructors.
To get started with Forge, follow these instructions.
Forge was originally created for CSCI 1710, “Logic for Systems” at Brown University. The notes and materials are public and free to use.
Forge is open source and hosted on Github.
Got questions? Reach out to
We are grateful for support from the U.S. National Science Foundation and Brown University.