Provided are a polycyclic compound as shown in formula (I) and use thereof in an AR and BET dual inhibitor. Specifically, provided are a compound as shown in formula (I) or use of an optical isomer, a solvate, a pharmacologically acceptable salt, a prodrug, a tautomer, a mesomer, a racemate, an enantiomer, a diastereoisomer, a mixture form, a metabolite, a metabolic precursor, or an isotope substitution form thereof in preparation of the AR and BET dual inhibitor. Experimental results show that the compound can not only inhibit transcription of PSA and FKBP5 downstream of the AR, but also inhibit the transcriptional activity of anthracythramine-resistance AR-F876L mutants, and can lower the expression of protein c-Myc downstream of BRD4. Moreover, the compound has better binding affinity to AR and BET proteins, which indicates that the compound can simultaneously inhibit the activity of the AR and BET proteins and thus has good application prospect in preparation of drugs for preventing and/or treating diseases related to the BET protein.L'invention concerne un composé polycyclique tel que représenté dans la formule (I) et son utilisation dans un inhibiteur double d'AR et de BET. L'invention concerne spécifiquement un composé tel que présenté dans la formule (I) ou l'utilisation d'un isomère optique, d'un solvate, d'un sel pharmacologiquement acceptable, d'un promédicament, d'un tautomère, d'un mésomère, d'un racémate, d'un énantiomère, d'un diastéréoisomère, d'une forme de mélange, d'un métabolite, d'un précurseur métabolique, ou d'une forme de substitution d'isotope de celui-ci dans la préparation de l'inhibiteur double d'AR et de BET. Les résultats expérimentaux mettent en évidence que le composé peut non seulement inhiber la transcription de PSA et de FKBP5 en aval de l'AR, mais aussi inhiber l'activité transcriptionnelle de mutants AR-F876L présentant une résistance à l'anthracythmie, et peut abaisser l'expression de la protéine c-Myc en aval de BRD4. De plus,