I'm curious why you didn't get involved as the parent and possibly engage his interest outside of the classroom, or even put him in a different school or situation where he wouldn't be humiliated? I'm sorry for how this is going to sound, but your anecdote reads to me more that you killed his interest in math through your own (in)actions; the school simply serves as a useful copout.