I have a somewhat general question regarding the notation of mathematical expressions. I am interested in further information, that is if you know a book, a pdf, or just a wikipedia page about my question that would help a lot. Of course, if you know a specific answer feel free to share.
My question is: Is there a normal form / convention for the notation of mathematical expressions? As an example:
- $\frac{\sqrt{x^2+2xy+y^2}}{z}$
- $\frac{x+y}{z}$
- $\frac{x}{z}+\frac{y}{\sqrt{z^2}}$
Those three expressions are mathematically equal but semantically different. Is there a normal form i.e. a rule set that - when given a those three expressions - defines one "normalized" way to write them down? And if there is, is there an associated normalization algorithm that would, with absolute certainty, convert these three examples (that are mathematically equal) into the same (syntactically equal) expression? The resulting expression does not necessarily have to be the "simplest form" that contains the least amount of symbols or whatever. I am also aware that there are probably many different "normal forms". I am just searching for one of them.
Normal forms exist in expression logic (disjunctive, conjunctive,...). I am searching for something analogous for math expressions.
Thanks for the help in advance :)
Edit: I realized that my question is a bit to general. Maybe it is easier to first limit the expressions to algebraic expressions, that is expressions involving integer constants, variables, and the operations
- addition
- subtraction
- multiplication
- division
- exponentiation by a rational