bit more progress on equality types theorem