Anfonwch hwn fel neges destun: The automatic detection of token structures and invariants using SAT checking