Multitier phonotactics with logic and algebra | Synapse