I'm trying to convert ALM to DDLog. I've come up with a contrived example that still models a lot of ALM's features.
The domain is this: we have rectangle objects on some Cartesian plane. Users can move the rectangles around the plane. Some rectangles are "magic rectangles". Normally, each magic rectangle is blue. However, when the user moves a magic rectangle to a particular area of the plane, the rectangle turns red.
Below is:
- A small intro to ALM
- The full ALM program