Wireworld logic