Mathematical Foundations of Compositional Language Models | Synapse