reorganisation of prod_eq.v