Provided is a heterocyclic amide compound that may have a PRS inhibitory action and is expected to be useful as a prophylactic or therapeutic agent for PRS associated diseases and the like including cancer. A compound represented by the following formula (I):
wherein a group represented by
is a group represented by the following formula (II) or the following formula (III):
and other symbols are as described in the DESCRIPTION, or a salt thereof.
The present invention provides an agent for the prophylaxis or treatment of autoimmune diseases (e.g., psoriasis, rheumatoid arthritis, inflammatory bowel disease, Sjogren's syndrome, Behcet's disease, multiple sclerosis, systemic lupus erythematosus etc.) and the like, which has a superior Tyk2 inhibitory action.
The present invention relates to a compound represented by the formula
wherein each symbol is as defined in the specification, or a salt thereof.