GO:0004419:   hydroxymethylglutaryl-CoA lyase activity
Catalysis of the reaction: (S)-3-hydroxy-3-methylglutaryl-CoA = acetoacetate + acetyl-CoA.