A production method for a compound represented by formula comprising reacting a compound represented by formula with a halogenating agent in the presence of at least 0.5 equivalents, relative to the compound represented by formula, of a nitrogen atom-containing polar aprotic solvent, wherein in formula: R represents a hydrogen atom or a methyl group; Y 1 represents a chemical single bond, -O-, -S-, -O-C(=O)-, -C(=O)-O-, -O-C(=O)-O-, -NR 1 -C(=O)-, or -C(=O)-NR 1 -, Y 2 represents -O-, -S-, -O-C(=O)-, -C(=O)-O-, -O-C(=O)-O-, -NR 1 -C(=O)-, or -C(=O)-NR 1 -, where R 1 represents a hydrogen atom or an alkyl group having a carbon number of 1-6; G 1 represents an optionally substituted divalent chain aliphatic group having a carbon number of 1-20 that may be interrupted by -O-, -S-, -O-C(=O)-, -C(=O)-O-, -O-C(=O)-O-, -NR 2 -C(=O)-, -C(=O)-NR 2 -, -NR 2 -, or -C(=O)-, but is not interrupted by two or more adjacent -O- or -S-, where R 2 represents a hydrogen atom or an alkyl group having a carbon number of 1-6, wherein substituents for the divalent chain aliphatic group G 1 include halogen atoms such as a fluorine atom, a chlorine atom, a bromine atom, and an iodine atom; and alkoxy groups having a carbon number of 1-6 such as a methoxy group, an ethoxy group, an n-propoxy group, an isopropoxy group, an n-butoxy group, a sec-butoxy group, a t-butoxy group, an n-pentyloxy group, and an n-hexyloxy group; A 1 and A 2 each represent, independently of one another, an optionally substituted divalent aromatic hydrocarbon group having a carbon number of 3-12 or an optionally substituted divalent alicyclic hydrocarbon group having a carbon number of 3-12, wherein substituents include a halogen atom, a cyano group, a hydroxyl group, an alkyl group having a carbon number of 1-6, an alkoxy group having a carbon number of 1-6, a nitro group, and a -C(=O)-OR 7 group, wherein R 7 represents an alkyl group having a carbon number of 1-6; and n represents 1, and in formula, R, G 1, Y 1, Y 2, A 1, A 2, and n represent the same as above, and X represents a halogen atom. R represents a hydrogen atom or a methyl group; Y 1 represents a chemical single bond, -O-, -S-, -O-C(=O)-, -C(=O)-O-, -O-C(=O)-O-, -NR 1 -C(=O)-, or -C(=O)-NR 1 -, Y 2 represents -O-, -S-, -O-C(=O)-, -C(=O)-O-, -O-C(=O)-O-, -NR 1 -C(=O)-, or -C(=O)-NR 1 -, where R 1 represents a hydrogen atom or an alkyl group having a carbon number of 1-6; G 1 represents an optionally substituted divalent chain aliphatic group having a carbon number of 1-20 that may be interrupted by -O-, -S-, -O-C(=O)-, -C(=O)-O-, -O-C(=O)-O-, -NR 2 -C(=O)-, -C(=O)-NR 2 -, -NR 2 -, or -C(=O)-, but is not interrupted by two or more adjacent -O- or -S-, where R 2 represents a hydrogen atom or an alkyl group having a carbon number of 1-6, wherein substituents for the divalent chain aliphatic group G 1 include halogen atoms such as a fluorine atom, a chlorine atom, a bromine atom, and an iodine atom; and alkoxy groups having a carbon number of 1-6 such as a methoxy group, an ethoxy group, an n-propoxy group, an isopropoxy group, an n-butoxy group, a sec-butoxy group, a t-butoxy group, an n-pentyloxy group, and an n-hexyloxy group; A 1 and A 2 each represent, independently of one another, an optionally substituted divalent aromatic hydrocarbon group having a carbon number of 3-12 or an optionally substituted divalent alicyclic hydrocarbon group having a carbon number of 3-12, wherein substituents include a halogen atom, a cyano group, a hydroxyl group, an alkyl group having a carbon number of 1-6, an alkoxy group having a carbon number of 1-6, a nitro group, and a -C(=O)-OR 7 group, wherein R 7 represents an alkyl group having a carbon number of 1-6; and n represents 1, and in formula, R, G 1, Y 1, Y 2, A 1, A 2, and n represent the same as above, and X represents a halogen atom.