You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as (2E,5R)-5-(4-chlorophenyl)-N,N-diethyl-7-methyl-2-[(2-methyl-1-prop-2-enylindol-3-yl)methylidene]-3-oxo-5H-[1,3]thiazolo[3,2-a]pyrimidine-6-carboxamide using the IUPAC nomenclature.
user
C31H31ClN4O2S
assistant