I should have checked whether or not machoke could learn that beforehand. Thank you very much for being considerate enough to attach the TM and PP max to my pokemon!
ok I'm going into wifi btw machoke can't learn stone edge so i attached the tm to him so you can teach it to him when it evolves into machamp. i attacked a pp max on gyarados to use on stone edge after it's taught. :)