# US 2024/0199644 A1 · Fused Ring Derivatives Useful as KRAS G12D Inhibitors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0199644 A1
- Document ID: US20240199644A1
- Status: Published application
- Kind: A1
- Application number: 18/280,487
- Filed: 2022-03-07
- Published: 2024-06-20
- Earliest claimed: 2021-03-07
- Applicants: Jacobio Pharmaceuticals Co., Ltd.
- Inventors: Huifeng HAN; Panliang GAO; Cunbo MA; Peng WANG; Wei LONG; Hao ZHANG; Lei ZHANG; Dan LIU
- Web page: https://patentgrep.com/patent/US20240199644A1

## CPC

- A61P 35/00: Antineoplastic agents
- C07D 498/16: Peri-condensed systems
- A61K 31/553: having at least one nitrogen and one oxygen as ring hetero atoms, e.g. loxapine, staurosporine
- C07D 498/22: in which the condensed system contains four or more hetero rings
- C07D 519/00: Heterocyclic compounds containing more than one system of two or more relevant hetero rings condensed among themselves or condensed with a common carbocyclic ring system not provided for in groups C07D453/00 or C07D455/00
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61K: PREPARATIONS FOR MEDICAL, DENTAL OR TOILETRY PURPOSES (devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms A61J3/00; chemical aspects of, or use of materials for deodorisation of air, for disinfection or sterilisation, or for bandages, dressings, absorbent pads or surgical articles A61L; soap compositions C11D)

## Abstract

The invention relates to a KRAS G12D inhibitors of formula (I) or formula (IV), a composition containing the inhibitor and the use thereof

## Claims

### Claim at position 1

1-34. (canceled)

### Claim 35

A compound of formula (I) or formula (IV), a stereoisomer thereof, an atropisomer thereof, a pharmaceutically acceptable salt thereof, a pharmaceutically acceptable salt of the stereoisomer thereof, or a pharmaceutically acceptable salt of the atropisomer thereof:
wherein,
R1 is selected from hydrogen, halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein, said —C1-6alkyl, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
Y1 is selected from NH, O, S, SO, SO2, NHCO, CONH, NHSO2 or SO2NH; when Y1 is selected from NH, NHCO, CONH, NHSO2 or SO2NH, each of which is optionally substituted with RS2;
X1 is selected from CR3 or N;
n1, n2, n3, n4, n5 and n6 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
R3 is selected from hydrogen, halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein said —C1-6alkyl, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
X2 is selected from CR21R22, NR23, O, S, SO or SO2;
R21 and R22 are each independently selected from hydrogen, halogen, —C1-6alkyl, —OH, —OC1-6alkyl, —SH, —SC1-6alkyl, —NH2, —NH(C1-6alkyl) or —N(C1-6alkyl)2;
R23 is selected from hydrogen or —C1-6alkyl;
R2 is selected from
-L-(3-12 membered heterocyclyl), -L-(3-12 membered cycloalkyl), -L-(6-12 member aryl), -L-(5-12 membered heteroaryl) or -L-NR24R25;
Each L is independently selected from a bond or C1-10alkylene optionally substituted with one or more RS9;
R24 and R25 are each independently selected from hydrogen or —C1-10alkyl optionally substituted with one or more RS10;
Said 3-12 membered heterocyclyl in -L-(3-12 membered heterocyclyl) is optionally substituted with one or more RS11;
Said 3-12 membered cycloalkyl in -L-(3-12 membered cycloalkyl) is optionally substituted with one or more RS12;
Said 6-12 member aryl in -L-(6-12 member aryl) is optionally substituted with one or more RS13;
Said 5-12 membered heteroaryl in -L-(5-12 membered heteroaryl) is optionally substituted with one or more RS14;
Y2 is selected from O, S, SO, SO2, C═O, NH or CH2, when Y2 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS3;
m1, m2, m3, m4 or m5 is independently selected from 0, 1, 2, 3, 4, 5 or 6;
m6 or m7 is independently selected from 0, 1, 2, 3, 4, 5 or 6;
Y3 and Y4 are each independently selected from O, S, SO, SO2, C═O, NH or CH2, when Y3 and Y4 is selectd from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS4;
w1 and w2 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
w3, w4, w5, w6 and w7 are each independently selected from 0, 1, 2, 3, 4, 5 or 6; provided that w6 and w7 are not 0 at the same time;
Y5 is selected from O, S, SO, SO2, C═O, NH or CH2, when Y5 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS5;
p1 and p2 are each independently selected from 0, 1, 2, 3, 4, 5, or 6, provided that p1 and p2 are not 0 at the same time;
p3 and p4 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
Y6 is selected from O, S, NH or CH2, when Y6 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS6;
s1 and s2 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
s3 and s4 are each independently selected from 0, 1, 2, 3, 4, 5, or 6, provided that s3 and s4 are not 0 at the same time;
r1 and r2 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
r3 and r4 are each independently selected from 0, 1, 2, 3, 4, 5, or 6;
v is selected from 0, 1, 2, 3, 4, 5 or 6;
ring A is selected from a 3-10 membered carbocyclic ring, a 3-10 membered heterocyclic ring, a 6-10 membered aryl ring or a 5-10 membered heteroaryl ring, said heterocyclic or heteroaryl ring at each occurrence is independently contains 1, 2, 3 or 4 heteroatoms selected from N, O or S;
Ring B and ring C are each independently selected from a 3-10 membered heterocyclic ring which is optionally further contains 1, 2, or 3 heteroatoms selected from N, O or S except the fused N atom;
RS1, RS2, RS3, RS4, RS5, RS6, RS7, RS8, RS9, RS10, RS11, RS12, RS13 and RS14 are each independently selected from halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NO2, —N3, oxo, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —O(C1-6alkyl), —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —OC(═O)O(C1-6alkyl), —NHC(═O)(OC1-6alkyl), —N(C1-6alkyl)C(═O)(OC1-6alkyl), —OC(═O)NH(C1-6alkyl), —OC(═O)N(C1-6alkyl)2, —NHC(═O)NH2, —NHC(═O)NH(C1-6alkyl), —NHC(═O)N(C1-6alkyl)2, —N(C1-6alkyl)C(═O)NH2, —N(C1-6alkyl)C(═O)NH(C1-6alkyl), —N(C1-6alkyl)C(═O)N(C1-6alkyl)2, —S(═O)(OC1-6alkyl), —OS(═O)(C1-6alkyl), —S(═O)NH2, —S(═O)NH(C1-6alkyl), —S(═O)N(C1-6alkyl)2, —NHS(═O)(C1-6alkyl), —N(C1-6alkyl)S(═O)(C1-6alkyl), —S(═O)2(OC1-6alkyl), —OS(═O)2(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), —OS(═O)2O(C1-6alkyl), —NHS(═O)2O(C1-6alkyl), —N(C1-6alkyl)S(═O)2O(C1-6alkyl), —OS(═O)2NH2, —OS(═O)2NH(C1-6alkyl), —OS(═O)2N(C1-6alkyl)2, —NHS(═O)2NH2, —NHS(═O)2NH(C1-6alkyl), —NHS(═O)2N(C1-6alkyl)2, —N(C1-6alkyl)S(═O)2NH2, —N(C1-6alkyl)S(═O)2NH(C1- 6alkyl), —N(C1-6alkyl)S(═O)2N(C1-6alkyl)2, —PH(C1-6alkyl), —P(C1-6alkyl)2, —P(═O)H(C1-6alkyl), —P(═O)(C1-6alkyl)2, 3-6 membered cycloalkyl, 3-6 membered cycloalkenyl, 3-6 membered cycloalkynyl, 3-6 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein, said —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, 3-6 membered cycloalkyl, 3-6 membered cycloalkenyl, 3-6 membered cycloalkynyl, 3-6 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more RSa;
Each of RSa is independently selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NO2, —N3, oxo, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —SH, —S(C1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —OC(═O)O(C1-6alkyl), —NHC(═O)(OC1-6alkyl), —N(C1-6alkyl)C(═O)(OC1-6alkyl), —OC(═O)NH(C1-6alkyl), —OC(═O)N(C1-6alkyl)2, —NHC(═O)NH2, —NHC(═O)NH(C1-6alkyl), —NHC(═O)N(C1-6alkyl)2, —N(C1-6alkyl)C(═O)NH2, —N(C1-6alkyl)C(═O)NH(C1-6alkyl), —N(C1-6alkyl)C(═O)N(C1-6alkyl)2, —S(═O)(OC1-6alkyl), —OS(═O)(C1-6alkyl), —S(═O)NH2, —S(═O)NH(C1-6alkyl), —S(═O)N(C1-6alkyl)2, —NHS(═O)(C1-6alkyl), —N(C1-6alkyl)S(═O)(C1-6alkyl), —S(═O)2(OC1-6alkyl), —OS(═O)2(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), —OS(═O)2O(C1-6alkyl), —NHS(═O)2O(C1-6alkyl), —N(C1-6alkyl)S(═O)2O(C1-6alkyl), —OS(═O)2NH2, —OS(═O)2NH(C1-6alkyl), —OS(═O)2N(C1-6alkyl)2, —NHS(═O)2NH2, —NHS(═O)2NH(C1-6alkyl), —NHS(═O)2N(C1-6alkyl)2, —N(C1-6alkyl)S(═O)2NH2, —N(C1-6alkyl)S(═O)2NH(C1-6alkyl), —N(C1-6alkyl)S(═O)2N(C1-6alkyl)2, —PH(C1-6alkyl), —P(C1-6alkyl)2, —P(═O)H(C1-6alkyl), —P(═O)(C1-6alkyl)2, 3-6 membered cycloalkyl, 3-6 membered heterocyclyl, phenyl or 5-6 membered heteroaryl; wherein said 3-6 membered cycloalkyl, 3-6 membered heterocyclyl, phenyl or 5-6 membered heteroaryl is independently optionally substituted with 1, 2, or 3 RSb;
Each of RSb is independently selected from halogen; —C1-6alkyl; haloC1-6alkyl; —CN; —OH; —NH2; —NH(C1-6alkyl); —NH(C1-6alkyl)2; —OC1-6alkyl; or —C1-6alkyl substituted with 1, 2 or 3 substituents selected form halogen, haloC1-6alkyl, —CN, —OH, —NH2, —NH(C1-6alkyl), —NH(C1-6alkyl)2 or —OC1-6alkyl;
q1, q2, q3, q4, q5 and q6 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
R2a, R2b, R2c, R2d and R2e are each independently selected from is selected from halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein, said —C1-6alkyl, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
t1, t2, t3, t4 and is are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
R61, R62, R71, R72, R73, R74, R81, R82, R83, R84, R91, R92, R93, R94, R101, R102, R103, R104, R111, R112, R113 and R114 are each independently selected from are independently selected from hydrogen, halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein, said —C1-6alkyl, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —O(C1-6alkyl), —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
R4 is selected from phenyl, naphthyl, 5 membered heteroaryl, 6 membered heteroaryl, 9 membered heteroaryl or 10 membered heteroaryl, wherein said R4 is independently optionally substituted with 1, 2, 3, 4, 5, or 6 R4a;
Each of R4a is independently selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, oxo, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl, 5-10 membered heteroaryl or R41, wherein said —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is independently optionally substituted with 1, 2 or 3 R4b;
Each of R4b is independently selected from halogen; —C1-6alkyl; haloC1-6alkyl; —CN; oxo; —OH; —NH2; —NH(C1-6alkyl); —NH(C1-6alkyl)2; 13 OC1-6alkyl; or —C1-6alkyl substituted with 1, 2 or 3 substituents selected form halogen, haloC1-6alkyl, —CN, —OH, —NH2, —NH(C1-6alkyl), —NH(C1-6alkyl)2 or —OC1-6alkyl;
R41 is selected from
R4c is selected from hydrogen, —C1-30alkyl, —C2-30alkenyl, —C2-30alkynyl, —C0-6alkylene-(3-20 membered carbocyclyl), —C0-6alkylene-(3-20 membered heterocyclyl), —C0-6alkylene-(6-10 membered aryl) or —C0-6alkylene-(5-10 membered heteroaryl), each of which is independently substituted with one or more R4j;
R4d and R4e are each selected from hydrogen, —C1-30alkyl, —C2-30alkenyl, —C2-30alkynyl, —C(═O)C1-6alkyl, —C0-6alkylene-(3-20 membered carbocyclyl), —C0-6alkylene-(3-20 membered heterocyclyl), —C0-6alkylene-(6-10 membered aryl) or —C0-6alkylene-(5-10 membered heteroaryl), each of which is independently substituted with one or more R4j;
R4f and R4g are each selected from hydrogen, —C1-30alkyl, —C2-30alkenyl, —C2-30alkynyl, —C(═O)C1-6alkyl, —C0-6alkylene-(3-20 membered carbocyclyl), —C0-6alkylene-(3-20 membered heterocyclyl), —C0-6alkylene-(6-10 membered aryl) or —C0-6alkylene-(5-10 membered heteroaryl), each of which is independently substituted with one or more R4j;
R4h, R4i, R4m, R4n and R4p are each selected from hydrogen, halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein, said —C1-6alkyl, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
Optionally, R4f and R4g together with the atoms to which they are respectively attached form a 4-10 membered heterocyclyl ring, said 4-10 membered heterocyclyl ring optionally further contains 1 or 2 heteratoms selected from N, O, S, S(═O) or S(═O)2 and optionally substituted with one or more R4j;
Optionally, R4f and R4h together with the atoms to which they are respectively attached form a 4-10 membered heterocyclyl ring, said 4-10 membered heterocyclyl ring optionally further contains 1 or 2 heteratoms selected from N, O, S, S(═O) or S(═O)2 and optionally substituted with one or more R4j;
R4j at each occurrence is independently selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, oxo, —NO2, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —O(C1-6alkyl), —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl, or 5-10 membered heteroaryl, wherein said —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is independently optionally substituted with 1, 2 or 3 substituents selected from halogen; —C1-6alkyl; haloC1-6alkyl; —CN; oxo; —OH; —NH2; —NH(C1-6alkyl); —NH(C1-6alkyl)2; —OC1-6alkyl; or —C1-6alkyl substituted with 1, 2 or 3 substituents selected form halogen, haloC1-6alkyl, —CN, —OH, —NH2, —NH(C1-6alkyl), —NH(C1-6alkyl)2 or —OC1-6alkyl;
R5 is selected from hydrogen or
R51 and R52 are each independently selected from are independently selected from hydrogen, halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl; wherein, said —C1-6alkyl, —C2-6alkenyl, —C2-6alkynyl, 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, oxo, —OH, —SH, —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
R53 is selected from hydrogen, —C1-30alkyl, —C2-30alkenyl, —C2-30alkynyl, —C(═O)C1-6alkyl, —C0-6alkylene-(3-20 membered carbocyclyl), —C0-6alkylene-(3-20 membered heterocyclyl), —C0-6alkylene-(6-10 membered aryl) or —C0-6alkylene-(5-10 membered heteroaryl), each of which is independently substituted with one or more R5a;
R5a at each occurrence is independently selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —C2-6alkenyl, —C2-6alkynyl, —CN, oxo, —NH2, —NH(C1-6alkyl), —N(C1-6alkyl)2, —OH, —O(C1-6alkyl), —SH, —S(C1-6alkyl), —S(haloC1-6alkyl), —S(═O)(C1-6alkyl), —S(═O)2(C1-6alkyl), —C(═O)(C1-6alkyl), —C(═O)OH, —C(═O)(OC1-6alkyl), —OC(═O)(C1-6alkyl), —C(═O)NH2, —C(═O)NH(C1-6alkyl), —C(═O)N(C1-6alkyl)2, —NHC(═O)(C1-6alkyl), —N(C1-6alkyl)C(═O)(C1-6alkyl), —S(═O)2NH2, —S(═O)2NH(C1-6alkyl), —S(═O)2N(C1-6alkyl)2, —NHS(═O)2(C1-6alkyl), —N(C1-6alkyl)S(═O)2(C1-6alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-10 membered heteroaryl;
z1 and z2 are each independently selected from 0, 1, 2, 3, 4, 5 or 6;
Each of (heterocyclyl and heteroaryl) at each occurrence is independently contain 1, 2, 3 or 4 heteroatoms selected from N, O, S, S(═O) or S(═O)2.

### Claim 36 (depends on 35)

The compound of claim 35, wherein, the compound is any one of the formulas in the Table 1 in the description of the present invention.

### Claim 37 (depends on 35)

The compound of claim 35, wherein, R1 is selected from hydrogen, —F, —Cl, —Br, —C1-3alkyl, haloC1-3alkoxy, —C2-3alkenyl, —C2-3alkynyl, —CN, oxo, —NH2, —NH(C1-3alkyl), —N(C1-3alkyl)2, —OH, —O(C1-3alkyl), —SH, —S(C1-3alkyl), —S(═O)(C1-3alkyl), —S(═O)2(C1-3alkyl), —C(═O)(C1-3alkyl), —C(═O)OH, —C(═O)(OC1-3alkyl), —OC(═O)(C1-3alkyl), —C(═O)NH2, —C(═O)NH(C1-3alkyl), —C(═O)N(C1-3alkyl)2, —NHC(═O)(C1-3alkyl), —N(C1-3alkyl)C(═O)(C1-3alkyl), —S(═O)2NH2, —S(═O)2NH(C1-3alkyl), —S(═O)2N(C1-3alkyl)2, —NHS(═O)2(C1-3alkyl), —N(C1-3alkyl)S(═O)2(C1-3alkyl), 6-10 membered cycloalkyl, 6-10 membered heterocyclyl, 6-8 membered aryl or 5-8 membered heteroaryl.

### Claim 38 (depends on 35)

The compound of claim 35, wherein, R1 is selected from —H, —F, —Cl, —CH3, —CH2CH3, —CN, —COOH, —CH2OH, —OH, —OCH3, —OCH2CH3, —CF3, —CHF2, —NH2, —NHCH3, —N(CH3)2, —CH2NH2, —CH2CH2NH2, —CH2OH, —CH2CH2OH, —SH, —S—CH3, —CH2SH, —CH2CH2SH, —CH=CH2, —C≡CH, —CHCH═CH2, —OCF3, —OCHF2, —C(═O)NH2, —C(═O)OCH3,

### Claim 39 (depends on 35)

The compound of claim 35, wherein, R3 is selected from hydrogen, —F, —Cl, —Br, —C1-3alkyl, haloC1-3alkoxy, —C2-3alkenyl, —C2-3alkynyl, —CN, oxo, —NH2, —NH(C1-3alkyl), —N(C1-3alkyl)2, —OH, —O(C1-3alkyl), —SH, —S(C1-3alkyl), —S(haloC1-3alkyl), —S(═O)(C1-3alkyl), —S(═O)2(C1-3alkyl), —C(═O)(C1-3alkyl), —C(═O)OH, —C(═O)(OC1-3alkyl), —OC(═O)(C1-3alkyl), —C(═O)NH2, —C(═O)NH(C1-3alkyl), —C(═O)N(C1-3alkyl)2, —NHC(═O)(C1-3alkyl), —N(C1-3alkyl)C(═O)(C1-3alkyl), —S(═O)2NH2, —S(═O)2NH(C1-3alkyl), —S(═O)2N(C1-3alkyl)2, —NHS(═O)2(C1-3alkyl), —N(C1-3alkyl)S(═O)2(C1-3alkyl), 3-10 membered cycloalkyl, 3-10 membered heterocyclyl, 6-10 membered aryl or 5-8 membered heteroaryl.

### Claim 40 (depends on 35)

The compound of claim 35, wherein, the moiety of —X2—R2 or —O—R2 is selected from
Y2 is selected from O, S, SO, SO2, C═O, NH or CH2, when Y2 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS3;
m1, m2, m3, m4 or m5 is independently selected from 0, 1, 2, 3, 4, 5 or 6;
Y3 and Y4 are each independently selected from O, S, SO, SO2, C═O, NH or CH2, when Y3 and Y4 is selectd from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS4;
w3, w4, w5, w6 and w7 are each independently selected from 0, 1, 2, 3, 4, 5 or 6; provided that w6 and w7 are not 0 at the same time;
Y5 is selected from O, S, SO, SO2, C═O, NH or CH2, when Y5 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS5;
p1 and p2 are each independently selected from 0, 1, 2, 3, 4, 5, or 6, provided that p1 and p2 are not 0 at the same time;
Y6 is selected from O, S, NH or CH2, when Y6 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS6;
s3 and s4 are each independently selected from 0, 1, 2, 3, 4, 5, or 6, provided that s3 and s4 are not 0 at the same time;
r3 and r4 are each independently selected from 0, 1, 2, 3, 4, 5, or 6;
ring A at each occurrence is independently selected from a 4 membered carbocyclic ring, 5 membered carbocyclic ring, a, 6 membered carbocyclic ring, a 4 membered heterocyclic ring including 1 ring member selected from N, a 5 membered heterocyclic ring including 1 to 2 ring members selected from N, or O, a 6 membered heterocyclic ring including 1 to 2 ring members selected from N, O or S, a phenyl ring, a 5 membered heteroaryl ring including 1 to 2 ring members selected from N, O, or S, or a 6 membered heteroaryl ring including 1 ring member selected from N.

### Claim 41 (depends on 35)

The compound of claim 35, wherein:
Y2 is selected from O, C═O, NH or CH2, when Y2 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS3;
m1 is selected from 0, 1, 2 or 3; m2 is selected from 0, 1, 2 or 3; m3 is selected from 0, 1, 2 or 3; m4 is selected from 0, 1, 2 or 3; m5 is selected from 0, 1, 2 or 3;
Y3 and Y4 are each independently selected from O, S, SO2, NH or CH2, when Y3 and Y4 is selectd from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS4;
w3 is selected from 0, 1, 2 or 3; w4 is selected from 0, 1, 2 or 3; w5 is selected from 0, 1, 2 or 3; w6 is selected from 0, 1, 2 or 3; w7 is selected from 0, 1, 2 or 3; provided that w6 and w7 is not 0 at the same time;
Y5 is selected from O, S, SO2, NH, CH2 or C═O, when Y5 is selected from NH or CH2, the NH or CH2 is optionally substituted with 1 or 2 RS5;
p1 is selected from 1, 2, 3 or 4; p2 is selected from 1, 2, 3 or 4;
Y6 is selected from O, S or NH, when Y6 is selected from NH or CH2, the NH or CH2 is optionally substituted with RS6;
s1 is selected from 1, 2, 3 or 4; s2 is selected from 1, 2, 3 or 4;
r3 is selected from 1, 2 or 3; r4 is selected from 1, 2 or 3;
ring A at each occurrence is independently selected from a 4 membered carbocyclic ring, 5 membered carbocyclic ring, a, 6 membered carbocyclic ring, a 4 membered heterocyclic ring including 1 ring member selected from N, a 5 membered heterocyclic ring including 1 to 2 ring members selected from N, or O, a 6 membered heterocyclic ring including 1 to 2 ring members selected from N, O or S, a phenyl ring, a 5 membered heteroaryl ring including 1 to 2 ring members selected from N, O, or S, or a 6 membered heteroaryl ring including 1 ring member selected from N.

### Claim 42 (depends on 35)

The compound of claim 35, wherein:
Each of RS3 is independently selected from —F, —Cl, —CH3, —CH2CH3, —CH2CH2CH3, —CH(CH3)2, —CH2Cl, —CHCl2, —CCl3, —CH2F, —CHF2, —CF3, —CN, oxo, —NH2, —NH(CH3), —N(CH3)2, —OH, —O—CH3, —O—CH2CH3, —SH, —S—CH3, —S—CH2CH3, —COOH, —COO(CH3), —COO(CH2CH3), —CH2OH, —CH2CH2OH, —CH(CH3)OH, —CH2NH2, —CH2CH2NH2, or —CH(CH3)NH2; preferably, each of RS3 is independently selected from —F, —CH3, —CH2CH3, —CF3, —CN, oxo, —NH2, —OH, —O—CH3, —COOH, —COO(CH3), —CH2OH, or —CH2NH2;
q1 is selected from 0, 1, or 2;
Each of RS4 is independently selected from —F, —Cl, —CH3, —CH2CH3, —CH2CH2CH3, —CH(CH3)2, —CH2Cl, —CHCl2, —CCl3, —CH2F, —CHF2, —CF3, —CN, oxo, —NH2, —NH(CH3), —N(CH3)2, —OH, —O—CH3, —O—CH2CH3, —SH, —S—CH3, —S—CH2CH3, —COOH, —COO(CH3), —COO(CH2CH3), —CH2OH, —CH2CH2OH, —CH(CH3)OH, —CH2NH2, —CH2CH2NH2, or —CH(CH3)NH2; preferably, each of RS4 is independently selected from —F, —CH3, —CH2CH3, —CF3, —CN, oxo, —NH2, —OH, —O—CH3, —COOH, —COO(CH3), —CH2OH, or —CH2NH2;
q2 is selected from 0, 1, or 2;
Each of RS5 is independently selected from —F, —Cl, —CH3, —CH2CH3, —CH2CH2CH3, —CH(CH3)2, —CH2Cl, —CHCl2, —CCl3, —CH2F, —CHF2, —CF3, —CN, oxo, —NH2, —NH(CH3), —N(CH3)2, —OH, —O—CH3, —O—CH2CH3, —SH, —S—CH3, —S—CH2CH3, —COOH, —COO(CH3), —COO(CH2CH3), —CH2OH, —CH2CH2OH, —CH(CH3)OH, —CH2NH2, —CH2CH2NH2, or —CH(CH3)NH2, preferably, each of RS5 is independently selected from —F, —CH3, —CH2CH3, —CF3, —CN, oxo, —NH2, —OH, —O—CH3, —OCH2—COO(CH2CH3), —COOH, —COO(CH3), —CH2OH, or —CH2NH2;
q3 is selected from 0, 1, or 2;
Each of RS6 is independently selected from —F, —Cl, —CH3, —CH2CH3, —CH2CH2CH3, —CH(CH3)2, —CH2Cl, —CHCl2, —CCl3, —CH2F, —CHF2, —CF3, —CN, oxo, —NH2, —NH(CH3), —N(CH3)2, —OH, —O—CH3, —O—CH2CH3, —SH, —S—CH2CH3, —COOH, —COO(CH3), —COO(CH2CH3), —CH2OH, —CH2CH2OH, —CH(CH3)OH, —CH2NH2, —CH2CH2NH2, or —CH(CH3)NH2, preferably, each of RS6 is independently selected from —F, —CH3, —CH2CH3, —CF3, —CN, oxo, —NH2, —OH, —O—CH3, —OCH2—COO(CH2CH3), —COOH, —COO(CH3), —CH2OH, or —CH2NH2;
q4 is selected from 0, 1, or 2; Each of RS7 is independently selected from —F, —Cl, —CH3, —CH2CH3, —CH2CH2CH3, —CH(CH3)2, —CH2Cl, —CHCl2, —CCl3, —CH2F, —CHF2, —CF3, —CN, oxo, —NH2, —NH(CH3), —N(CH3)2, —OH, —O—CH3, —O—CH2CH3, —SH, —S—CH2CH3, —COOH, —COO(CH3), —COO(CH2CH3), —CH2OH, —CH2CH2OH, —CH(CH3)OH, —CH2NH2, —CH2CH2NH2, or —CH(CH3)NH2, preferably, each of RS7 is independently selected from —F, —CH3, —CH2CH3, —CF3, —CN, oxo, —NH2, —OH, —O—CH3, —COOH, —COO(CH3), —CH2OH, or —CH2NH2;
q5 is selected from 0, 1, or 2;
Each of RS8 at each occurrence is independently selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —CN, oxo, —NRN1RN2, —ORN1, —C(═O)RN1, —C(═O)ORN1, —OC(═O)RN1, —C(═O)NRN1RN2, —NRN1C(═O)RN2, —OC(═O)ORN1, —NRN1C(═O)ORN2, —OC(═O)NRN1RN2, —NRN1C(═O)NRN1RN2, 3-8 membered cycloalkyl, 4-8 membered heterocyclyl containing 1, 2 or 3 heteroatoms selected from N, O or S, phenyl or 5-6 membered heteroaryl containing 1, 2 or 3 heteroatoms selected from N, O or S, wherein said —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, 3-8 membered cycloalkyl, 4-8 membered heterocyclyl, phenyl or 5-6 membered heteroaryl is optionally independently substituted with 1, 2 or 3 substituents selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —CN, oxo, —NRN1RN2, —ORN1, —C(═O)RN1, —C(═O)ORN1, —OC(═O)RN1, —C(═O)NRN1RN2, —NRN1C(═O)RN2, —OC(═O)ORN1, —NRN1C(═O)ORN2, —OC(═O)NRN1RN2, —NRN1C(═O)NRN1RN2, 3-6 membered cycloalkyl, 4-6 membered heterocyclyl, phenyl or 5-6 membered heteroaryl;
Each of (RN1 or RN2) in RS8 is independently selected from hydrogen or —C1-6alkyl;
Optionally, (RN1 and RN2) in RS8 together with the nitrogen atom to which they are both attached form a 3-6 membered heterocyclic ring which is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, —OH, —SH, —SC1-6alkyl, —NH2, —NH(C1-6alkyl) or —N(C1-6alkyl)2;
q6 is selected from 0, 1, 2 or 3;
Each of RS11 is selected from —C1-3alkyl.

### Claim 43 (depends on 35)

The compound of claim 35, wherein, the moiety of —X—R2 or —O—R2 is selected from any one of the structures in the Table 2 in the description of the present invention.

### Claim 44 (depends on 35)

The compound of claim 35, wherein, each of RS8 at each occurrence is independently selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —CN, oxo, —NRN1RN2, —C(═O)RN1, —C(═O)ORN1, —OC(═O)RN1, —C(═O)NRN1RN2, —NRN1C(═O)RN2, —OC(═O)ORN1, —NRN1C(═O)ORN2, —OC(═O)NRN1RN2, —NRN1C(═O)NRN1RN2, 3-8 membered cycloalkyl, 4-8 membered heterocyclyl containing 1, 2 or 3 heteroatoms selected from N, O or S, phenyl or 5-6 membered heteroaryl containing 1, 2 or 3 heteroatoms selected from N, O or S, wherein said —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, 3-8 membered cycloalkyl, 4-8 membered heterocyclyl, phenyl or 5-6 membered heteroaryl is optionally independently substituted with 1, 2 or 3 substituents selected from halogen, —C1-6alkyl, haloC1-6alkyl, haloC1-6alkoxy, —CN, oxo, —NRN1RN2, —C(═O)RN1, —C(═O)ORN1, —OC(═O)RN1, —C(═O)NRN1RN2, —NRN1C(═O)RN2, —OC(═O)ORN1, —NRN1C(═O)ORN2, —OC(═O)NRN1RN2, —NRN1C(═O)NRN1RN2, 3-6 membered cycloalkyl, 4-6 membered heterocyclyl, phenyl or 5-6 membered heteroaryl;
Each of (RN1 or RN2) in RS8 is independently selected from hydrogen or —C1-6alkyl;
Optionally, (RN1 and RN2) in RS8 together with the nitrogen atom to which they are both attached form a 3-6 membered heterocyclic ring which is optionally substituted with one or more substituents selected from halogen, —C1-6alkyl, —OH, —SH, —SC1-6alkyl, —NH2, —NH(C1-6alkyl) or —N(C1-6alkyl)2;
q6 is selected from 0, 1, 2 or 3.

### Claim 45 (depends on 35)

The compound of claim 35, wherein, each of RS8 at each occurrence is independently selected from —F; methyl; —CF3; —CN; oxo; —OH; —NH2; —OCH3; —NHC(═O)CH3; —NHC(═O)OCH3; —OC(═O)N(CH3)2; —NHC(═O)N(CH3)2;
or methyl substituted with —F, —Cl, methyl, —CF3, —CN, oxo, —OH, —NH2, —OCH3, —NHC(═O)CH3, —NHC(═O)OCH3, —OC(═O)N(CH3)2, —NHC(═O)N(CH3)2,

### Claim 46 (depends on 35)

The compound of claim 35, wherein, each of RS8 at each occurrence is independently selected from —F, methyl, —CF3, —CN, oxo, —OH, —NH2, —OCH3, —NHC(═O)CH3, —NHC(═O)OCH3, —OC(═O)N(CH3)2, —NHC(═O)N(CH3)2,

### Claim 47 (depends on 35)

The compound of claim 35, wherein, the moiety of —X—R2 or —O—R2 is selected from

### Claim 48 (depends on 35)

The compound of claim 35, wherein, R4 is selected from
wherein said R4 is independently optionally substituted with 1, 2, 3, 4, 5 or 6 R4a;
Each of R4a is independently selected from —F, —Cl, —C1-3alkyl, haloC1-3alkyl, haloC1-3alkoxy, —C2-3alkenyl, —C2-3alkynyl, —CN, —NH2, —NH(C1-3alkyl), —N(C1-3alkyl)2, —OH, —O(C1-3alkyl), —SH, —S(C1-3alkyl), 3-6 membered cycloalkyl or 3-6 membered heterocyclyl, wherein said —C1-3alkyl, haloC1-3alkyl, haloC1-3alkoxy, —C2-3alkenyl, —C2-6alkynyl, 3-6 membered cycloalkyl or 3-6 membered heterocyclyl is independently optionally substituted with 1, 2 or 3 R4b;
Each of R4b is independently selected from —F; —C1-3alkyl; haloC1-3alkyl; —CN; —OH; —NH2; —NH(C1-3alkyl); —NH(C1-3alkyl)2; —OC1-3alkyl; or —C1-3alkyl substituted with 1, 2 or 3 substituents selected form —F, haloC1-3alkyl, —CN, —OH, —NH2, —NH(C1-3alkyl), —NH(C1-3alkyl)2 or —OC1-3alkyl.

### Claim 49 (depends on 35)

The compound of claim 35, wherein, R4 is selected from
wherein said R4 is independently optionally substituted with 1, 2 or 3 R4a;
Each of R4a is independently selected from —F, —Cl, methyl, ethyl, isopropyl, —CH═CH2, —C≡CH, —C≡CCH3, —C≡CD, —CH2C≡CH, —CHF2, —CF3, —CH2CF3, —CH2CHF2, —CH2CH2F, —CH2CH2CH2F, —OCF3, —CN, —CH2CH2CN, —NH2, —N(CH3)2, —NHCH2CH3, —CH2—N(CH3)2, —OH, —CH2OH, —CH2CH2OH, —OCH3, —OC(CH3)2, —CH2CH(CH3)2, —CH(CH3)CH2CH3, —CH2OCH3, —SH, —SCH3, —SCF3, —OCHF2, —CH(CF3)OCH3, —C(CH3)2OH, —CF(CH3)2, —OCH(CH3)2, cyclopropyl,

### Claim 50 (depends on 35)

A pharmaceutical composition comprising a compound, a stereoisomer thereof, an atropisomer thereof, a pharmaceutically acceptable salt thereof, a pharmaceutically acceptable salt of the stereoisomer thereof or a pharmaceutically acceptable salt of the atropisomer thereof of claim 35, and at least one pharmaceutically acceptable excipient.

### Claim 51 (depends on 35)

A method of treating a subject having a cancer related to KRAS G12D mutant protein, said method comprising administering to the subject a therapeutically effective amount of a compound, a stereoisomer thereof, an atropisomer thereof, a pharmaceutically acceptable salt thereof, a pharmaceutically acceptable salt of the stereoisomer thereof or a pharmaceutically acceptable salt of the atropisomer thereof of claim 35.

### Claim 52 (depends on 51)

The method for treating cancer of claim 51, wherein the cancer is selected from pancreatic cancer, colorectal cancer, endometrial cancer or lung cancer.

### Claim 53 (depends on 52)

The method for treating cancer of claim 52, the lung cancer is selected from non-small cell lung cancer or small cell lung cancer.
