Your logic is wrong, very wrong...
Tank Destroyer - it's role on the field, not design.
By design you can mean Tank, Assault gun, Self-Proppeled Gun or Armored Gun.
This shows us that tank destroyer can be tank as well as assault gun.
So do want to tell me that Tiger, legendary tank, unit which sowed terror in crews of the allied tanks is not tank destroyer?
Open your mind! Do not categorize so easy!
No, indeed my logic is spot on. I'm afraid it is you who are mistaken. A tank destroyer is a tank specifically designed to specialize in destroying tanks. A Tiger, while exceptional at destroying tanks, was designed to have multiple roles as a heavy tank, i.e., it is not a tank destroyer. So yes, I am telling you that the Tiger is not a tank destroyer in that sense.
The StuG series, for example, is a series of assault guns. There were many variants of them. Some were infantry support guns, howitzers, etc. The ones outfitted with high velocity anti-tank guns are tank destroyers because they are specifically
designed to destroy tanks, even though they are assault guns.
Also, when you say tank destroyers are designated as such by their role on the field and not their design, you don't seem to understand that tanks are designed to have a role. They don't just randomly slop tanks together and go "Well, let's just throw these on the battlefield and see what they excel at."