It is an object of the present invention to provide a compound having a diphenylpyrazole skeleton which inhibits the protease activity of MALT 1 and exerts a therapeutic or preventive effect against autoimmune diseases such as psoriasis. The present invention provides a diphenylpyrazole derivative represented by the following formula or a pharmacologically acceptable salt thereof.本発明は、MALT1のプロテアーゼ活性を阻害し、乾癬等の自己免疫疾患に対して治療効果又は予防効果を発揮するジフェニルピラゾール骨格を有する化合物を提供することを目的としている。本発明は、下式に代表されるジフェニルピラゾール誘導体又はその薬理学的に許容される塩を提供する。