Behold the power of the Ultimate Decision Procedure for substitution lemmas #Autosubst (ps.uni-saarland.de/autosubst/)!
And it's just a dozen rewrite rules!
Yes, the syntax is a bit scary. Proving these lemmas by hand is just more so!
read image description
ALT
read image description
ALT
2
11

