Rigidity problem related to geometry and dynamics