generalized duality map