@Carl Love Thank you alot for your effort, but I need something which also works with variables.
I have gotten alot of vectors form my analysis. I want to reduce them such that I am only left with the most general forms.
E.G. I have the vectors b_1=(0,0,a_3,0),b_2=(a_1,a_2,0,0),b_3=(a_1,a_2,a_3,0) and b_4=(0,0,0,a_4). I want to loop through the elements and delte all the elements that are a special case of another vector. So comparison of b_1 and b_2 should give false, b_1 and b_3 should give true (hence b_1 is a special case of b_3), so I would delete b_1, b_2 and b_3 should give true so I would delete b_2, b_3 and b_4 gives false and b_4 and b_3 gives false. So I would be left with only b_3 and b_4. I have up to 4000 such vectors and I want to reduce them programatically.