A method for producing a compound represented by formula comprising: a step of converting a compound represented by formula into a compound represented by formula; and a step of reacting the compound represented by formula with a halogenating agent to convert into the compound represented by formula: wherein each of R 1 and R 2 independently represents a hydrogen atom, or an unsubstituted or substituted alkyl group, and R 1 and R 2 may form a ring together, R 6 represents an unsubstituted or substituted alkylcarbonyl group, an unsubstituted or substituted arylcarbonyl group, an unsubstituted or substituted heteroarylcarbonyl group, an unsubstituted or substituted alkoxycarbonyl group, an unsubstituted or substituted alkylsulfonyl group, or an unsubstituted or substituted arylsulfonyl group, R 7 represents an unsubstituted or substituted alkylcarbonyl group, an unsubstituted or substituted arylcarbonyl group, an unsubstituted or substituted heteroarylcarbonyl group, an unsubstituted or substituted alkoxycarbonyl group, an unsubstituted or substituted alkylsulfonyl group, or an unsubstituted or substituted arylsulfonyl group, A represents a hydroxyl group, a thiol group, an amino group, a nitro group, a halogen atom or an organic group, X represents a halogen atom. m represents any one of integers of 1 to 4, and k represents any one of integers of 0 to 3, wherein k + m ≤ 4. a step of converting a compound represented by formula into a compound represented by formula; and a step of reacting the compound represented by formula with a halogenating agent to convert into the compound represented by formula: wherein each of R 1 and R 2 independently represents a hydrogen atom, or an unsubstituted or substituted alkyl group, and R 1 and R 2 may form a ring together, R 6 represents an unsubstituted or substituted alkylcarbonyl group, an unsubstituted or substituted arylcarbonyl group, an unsubstituted or substituted heteroarylcarbonyl group, an unsubstituted or substituted alkoxycarbonyl group, an unsubstituted or substituted alkylsulfonyl group, or an unsubstituted or substituted arylsulfonyl group, R 7 represents an unsubstituted or substituted alkylcarbonyl group, an unsubstituted or substituted arylcarbonyl group, an unsubstituted or substituted heteroarylcarbonyl group, an unsubstituted or substituted alkoxycarbonyl group, an unsubstituted or substituted alkylsulfonyl group, or an unsubstituted or substituted arylsulfonyl group, A represents a hydroxyl group, a thiol group, an amino group, a nitro group, a halogen atom or an organic group, X represents a halogen atom. m represents any one of integers of 1 to 4, and k represents any one of integers of 0 to 3, wherein k + m ≤ 4. wherein each of R 1 and R 2 independently represents a hydrogen atom, or an unsubstituted or substituted alkyl group, and R 1 and R 2 may form a ring together, R 6 represents an unsubstituted or substituted alkylcarbonyl group, an unsubstituted or substituted arylcarbonyl group, an unsubstituted or substituted heteroarylcarbonyl group, an unsubstituted or substituted alkoxycarbonyl group, an unsubstituted or substituted alkylsulfonyl group, or an unsubstituted or substituted arylsulfonyl group, R 7 represents an unsubstituted or substituted alkylcarbonyl group, an unsubstituted or substituted arylcarbonyl group, an unsubstituted or substituted heteroarylcarbonyl group, an unsubstituted or substituted alkoxycarbonyl group, an unsubstituted or substituted alkylsulfonyl group, or an unsubstituted or substituted arylsulfonyl group, A represents a hydroxyl group, a thiol group, an amino group, a nitro group, a halogen atom or an organic group, X represents a halogen atom. m represents any one of integers of 1 to 4, and k represents any one of integers of 0 to 3, wherein k + m ≤ 4.