compound, and pharmaceutical composition. there is disclosed a compound represented by the general formula (i), a pharmaceutically acceptable salt thereof, or a solvate of the compound or the pharmaceutically acceptable salt, which has an inhibitory activity on the production of fir or an inhibitory activity of bace 1, and is therefore useful as a prophylactic or therapeutic agent for fir-induced neurodegenerative diseases typified by dementia of the alzheimer's type. wherein ring a represents a C6-14 aryl group or the like; l represents -nrcco- [where rc represents a hydrogen atom or the like] or similar; ring b represents a C6-14 aryl group or the like; x represents a C1-3 alkylene group or the like; y represents a single or similar bond; z represents a C1-3 alkylene group or the like; r1 and r2 independently represent a hydrogen atom or the like; and r3r4, r5 and r6 independently represent a hydrogen atom, a halogen atom or the like.composto, e, composição farmacêutica. é divulgado um composto representado pela fórmula geral (i), um sal deste farmaceuticamente aceitável, ou um solvato do 5 composto ou o sal farmaceuticamente aceitável, que tem uma atividade inibitória da produção de abeta ou uma atividade inibidora de bace 1, e é portanto útil como um agente profilático ou terapêutico para as doenças neurodegenerativas induzida por abeta tipificadas pela demência do tipo de alzheimer. em que o anel a representa um grupo arila c6_14 ou semelhante; l representa -nrcco- [em que rc representa um átomo de hidrogênio ou semelhante] ou semelhante; o anel b representa um grupo arila c6_14 ou semelhante; x representa um grupo alquileno c1_3 ou semelhante; y representa uma ligação simples ou semelhante; z representa um grupo alquileno c1_3 ou semelhante; r1 e r2 independentemente representam um átomo de hidrogênio ou semelhante; e r3r4, r5 e r6 independentemente representa um átomo de hidrogênio, um átomo de halogênio ou semelhante.