pub fn canonical_expression_key(expression: &Expression) -> Option<String>Expand description
Generates a canonical string key for an expression to identify equivalent forms.
This handles commutativity for addition and multiplication to ensure that
e.g., x + 1 and 1 + x produce the same key.