Evaluating embedding quality by testing metric properties (Z3 solver)