How are cognitive functions structured and computed in the brain? This course investigates how grammars are organized in neural networks and capture linguistic patterns. Topics include formal grammars, optimization, typologies, and tensor product representations of cognitive architectures.