Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
HETEROARYL COMPOUNDS AND USES THEREOF
Document Type and Number:
WIPO Patent Application WO/2016/090079
Kind Code:
A1
Abstract:
The present invention provides compounds, pharmaceutically acceptable compositions thereof, and methods of using the same. It has now been found that compounds of this invention, and pharmaceutically acceptable compositions thereof, are effective as inhibitors of one or more protein kinases. Such compounds have general formula I or a pharmaceutically acceptable salt thereof, wherein Ring A, Ring B, W, Ry, R3 and R4 are as defined herein.

Inventors:
SCHWARTZ C ERIC (US)
SURAPANENI SEKHAR S (US)
WORM KARIN IRMGARD (US)
Application Number:
PCT/US2015/063599
Publication Date:
June 09, 2016
Filing Date:
December 03, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CELGENE AVILOMICS RES INC (US)
International Classes:
A61K31/506
Domestic Patent References:
WO2009063240A12009-05-22
Foreign References:
US20130090310A12013-04-11
US8796297B22014-08-05
US8399450B22013-03-19
Attorney, Agent or Firm:
BUTEAU, Kristen, C. et al. (Hall & Stewart LLPTwo International Plac, Boston Massachusetts, US)
Download PDF:
Claims:
We claim:

1. A compound of formula I:

I

or a pharmaceutically acceptable salt thereof, wherein:

Ring A is a saturated 4-8 membered monocyclic or bridged heterocyclic ring having one– N(R1)-, a saturated 7-11 membered spirofused heterocyclic ring having one–N(R1)-, or a saturated 8-10 membered bicyclic heterocyclic ring having one–N(R1)-, wherein Ring A is substituted with 0-3 Rv groups;

R1 is–L-Y, wherein:

L is an optionally substituted bivalent C2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one, two, or three methylene units of L are optionally and independently replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO2-, -SO2N(R)-, - O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO2-, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N2)-; and

Y is hydrogen, halogen, -CN, C1-6 aliphatic optionally substituted with oxo, halogen, or CN, or a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, - NO2, halogen, -CN, and C1-6 aliphatic, wherein:

Q is a covalent bond or a bivalent C1-6 saturated or unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO2-; and

Z is hydrogen or C1-6 aliphatic optionally substituted with oxo, halogen, or CN;

Ring B is a saturated 5-7-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 Rx groups; W is–N(R2)CH2- or–NH-;

R2 is selected from hydrogen, C1-6 aliphatic or–C(O)R;

R3 and R4 are each independently selected from hydrogen or halogen;

each R group is independently hydrogen or an optionally substituted group selected from C1– 6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur;

Ry is hydrogen, halogen, -CF3, or C1-4 aliphatic;

each Rx is independently oxo, halogen,–OR, -N(R)2, -S(O)xR, -N(R)(CH2)qN(R)2, - N(R)(CH2)qOR, -O(CH2)qOR, -O(CH2)qN(R)2 , an optionally substituted C2-6 saturated, straight or branched, hydrocarbon chain wherein one or two methylene units are independently replaced by–O-, -N(R)- or–S(O)x-, or an optionally substituted group selected from C1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms

independently selected from nitrogen, oxygen, or sulfur, or a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur;

each Rv is independently selected from halogen or C1–6 aliphatic;

q is 1 or 2; and

each x is 0, 1 or 2. 2. The compound according to claim 1, wherein Ring A is a saturated 4-8 membered monocyclic or bridged heterocyclic ring having one–N(R1)-. 3. The compound according to claim 1, wherein Ring A is a saturated 7-11 membered spirofused heterocyclic ring having one–N(R1)-. 4. The compound according to claim 2, wherein the compound is of formula II-a, II-b, II-c, II-d, II-e, II-f, II-g, II-h, II-i, II-j, II-k or II-l: II-i

II-k

or a pharmaceutically acceptable salt thereof. 5. The compound according to claim 4, wherein the compound is of formula II-b-i, II-b-ii, II-c-i, II-c-ii, II-e-i, II-e-ii, II-f-i, II-f-ii, II-g-i, II-g-ii, II-h-i or II-h-ii :

II-b-i

II-h-i

or a pharmaceutically acceptable salt thereof. 6. The compound according to claim 1, wherein Ring B is a 5-membered heterocyclo ring. 7. The compound according to claim 6, wherein Ring B is pyrrolidino ring. 8. The compound according to claim 1, wherein Ring B is a 6-membered heterocyclo ring. 9. The compound according to claim 8, wherein Ring B is a piperidino ring. 10. The compound according to claim 1, wherein the compound is of formula III-a, III-b, III-c, III-d, III-e, III-f, III-g or III-h:

III-a or a pharmaceutically acceptable salt thereof.

The compound according to claim 10, wherein Ring A is selected from

12. The compound according to claim 3, wherein Ring A is substituted with 0-3 Rv groups and is selected from azaspiro[2.4]heptane, azaspiro[3.3]heptane, azaspiro[2.5]octane, azaspiro[3.4]octane, azaspiro[3.5]nonane, azaspiro[4.4]nonane, azaspiro[4.5]decane, azaspiro[3.7]undecane, azaspiro[4.6]undecane, azaspiro[5.5]undecane. 13. The compound according to claim 12, wherein Ring A is substituted with 0-3 Rv groups and is selected from:

14. The compound according to claim 1, wherein Ry is halogen. 15. The compound according to claim 14, wherein Ry is fluoro. 16. The compound according to claim 1, wherein R2 is hydrogen. 17. The compound according to claim 1, wherein R1 is–L-Y, wherein:

L is an optionally substituted bivalent C2-8 straight or branched, hydrocarbon chain wherein L has at least one double bond and one or two methylene units of L are optionally and

independently replaced by–N(R)C(O)-, -C(O)NR-, -N(R)SO2-, -SO2N(R)-,–S-, -S(O)-, -SO2-, - OC(O)-, -C(O)O-, cyclopropylene,–O-, -N(R)-, or -C(O)-. 18. The compound according to claim 17, wherein:

L is an optionally substituted bivalent C2-8 straight or branched, hydrocarbon chain wherein L has at least one double bond and at least one methylene unit of L is replaced by -C(O)-, - N(R)C(O)-, -C(O)NR-, -N(R)SO2-, -SO2N(R)-,–S-, -S(O)-, -SO2-, -OC(O)-, or–C(O)O-, and one additional methylene unit of L is optionally replaced by cyclopropylene,–O-, -N(R)- , or -C(O)-; and

Y is hydrogen, halogen, -CN or C1-6 aliphatic optionally substituted with oxo, halogen, NO2, or CN. 19. The compound according to claim 18, wherein L is an optionally substituted bivalent C2-8 straight or branched, hydrocarbon chain wherein L has at least one double bond and one methylene unit of L is replaced by -C(O)-, and one additional methylene unit of L is optionally replaced by cyclopropylene,–O-, -N(R)-, or -C(O)-.

20. The compound according to claim 18, wherein L is an optionally substituted bivalent C2-8 straight or branched, hydrocarbon chain wherein L has at least one double bond and one methylene unit of L is replaced by -SO2- 21. The compound according to claim 18, wherein L is substituted with–OH,–CN or halogen. 22. The compound according to claim 1, wherein L is–C(O)CH=CH-, -C(O)CH=C(F)-, - C(O)CH=C(CN)-, -CH(OH)CH=CH-, -CH(OH)C(F)=CH-, -CH(OH)C(CN)=CH-, - CH(OH)CH=C(F)-, or -CH(OH)CH=C(CN)-. 23. The compound according to claim 1, wherein R1 is–L-Y, wherein:

L is an optionally substituted bivalent C2-8 straight or branched, hydrocarbon chain wherein L has at least one triple bond and one or two additional methylene units of L are optionally and independently replaced by–C(O)-, -O-, N(R)-, -N(R)C(O)-, -C(O)NR-, -N(R)SO2-, - SO2N(R)-,–S-, -S(O)-, -SO2-, -OC(O)-, or -C(O)O-. 24. The compound according to claim 23, wherein Y is hydrogen or C1-6 aliphatic optionally substituted with oxo, halogen, NO2, or CN. 25. The compound according to claim 24, wherein L is -C(O)C≡C-. 26. The compound according to claim 1, wherein R1 is selected from:

27. The compound according to claim 1, wherein W is–NH-.

28. The compound according to claim 1, wherein Rv is halogen. 29. The compound according to claim 28, wherein Rv is fluoro. 30. The compound according to claim 1, wherein Rx is an optionally substituted C1-6 aliphatic. 31. The compound according to claim 30, wherein Rx is–CH3, -CH(CH3)2, -C(CH3)3, or– CH2C(CH3)3. 32. The compound according to claim 30, wherein the C1-6 aliphatic is substituted with oxo. 33. The compound according to claim 32, wherein Rx is -C(O)CH3 or -CH2C(O)NH2. 34. The compound according to claim 30, wherein Rx is selected from ,

wherein each R ^ is selected from hydrogen and C1–6 aliphatic optionally substituted with halogen. 35. The compound according to claim 1, wherein Rx is an optionally substituted 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur.

36. The compound according to claim 35, wherein Rx is selected from , , wherein each R is selected from hydrogen and C1–6 aliphatic optionally substituted with halogen. 37. The compound according to claim 1, wherein Rx is an optionally substituted 3-7 membered saturated or partially unsaturated carbocyclic ring.

38. The compound according to claim 37, wherein Rx is selected from and . 39. The compound according to claim 1, wherein Rx is optionally substituted phenyl. 40. The compound according to claim 39, wherein Rx is

41. A method of inhibiting a B cell receptor, comprising contacting a cell with a compound according to claim 1. 42. A method of treating or lessening the severity of a B cell-mediated disorder, comprising administering to a patient in need thereof a compound according to claim 1. 43. A method of inhibiting a T cell receptor, comprising contacting a cell with a compound according to claim 1. 44. A method of treating or lessening the severity of a T cell-mediated disorder, comprising administering to a patient in need thereof a compound according to claim 1.

Description:
HETEROARYL COMPOUNDS AND USES THEREOF CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims priority to United States provisional application serial number 62/088,377, filed December 5, 2014, the entirety of which is hereby incorporated by reference.

BACKGROUND OF THE INVENTION

[0002] The search for new therapeutic agents has been greatly aided in recent years by a better understanding of the structure of enzymes and other biomolecules associated with diseases. One important class of enzymes that has been the subject of extensive study is protein kinases.

[0003] Protein kinases constitute a large family of structurally related enzymes that are responsible for the control of a variety of signal transduction processes within the cell. Protein kinases are thought to have evolved from a common ancestral gene due to the conservation of their structure and catalytic function. Almost all kinases contain a similar 250-300 amino acid catalytic domain. The kinases may be categorized into families by the substrates they phosphorylate (e.g., protein-tyrosine, protein-serine/threonine, lipids, etc.).

[0004] In general, protein kinases mediate intracellular signaling by effecting a phosphoryl transfer from a nucleoside triphosphate to a protein acceptor that is involved in a signaling pathway. These phosphorylation events act as molecular on/off switches that can modulate or regulate the target protein biological function. These phosphorylation events are ultimately triggered in response to a variety of extracellular and other stimuli. Examples of such stimuli include environmental and chemical stress signals (e.g., osmotic shock, heat shock, ultraviolet radiation, bacterial endotoxin, and H 2 O 2 ), cytokines (e.g., interleukin-1 (IL-1) and tumor necrosis factor α (TNF- α)), and growth factors (e.g., granulocyte macrophage-colony-stimulating factor (GM-CSF), and fibroblast growth factor (FGF)). An extracellular stimulus may affect one or more cellular responses related to cell growth, migration, differentiation, secretion of hormones, activation of transcription factors, muscle contraction, glucose metabolism, control of protein synthesis, and regulation of the cell cycle.

[0005] Many diseases are associated with abnormal cellular responses triggered by protein kinase-mediated events as described above. These diseases include, but are not limited to, autoimmune diseases, inflammatory diseases, bone diseases, metabolic diseases, neurological and neurodegenerative diseases, cancer, cardiovascular diseases, allergies and asthma, Alzheimer’s disease, and hormone-related diseases. Accordingly, there remains a need to find protein kinase inhibitors useful as therapeutic agents. SUMMARY OF THE INVENTION

[0006] It has now been found that compounds of this invention, and pharmaceutically acceptable compositions thereof, are effective as inhibitors of one or more protein kinases. Such compounds have general formula I:

or a pharmaceutically acceptable salt thereof, wherein Ring A, Ring B, W, R y , R 3 and R 4 are as defined herein.

[0007] Compounds of the present invention, and pharmaceutically acceptable compositions thereof, are useful for treating a variety of diseases, disorders or conditions associated with abnormal cellular responses triggered by protein kinase-mediated events. Such diseases, disorders, or conditions include those described herein.

[0008] Compounds provided by this invention are also useful for the study of kinases in biological and pathological phenomena; the study of intracellular signal transduction pathways mediated by such kinases; and the comparative evaluation of new kinase inhibitors. DETAILED DESCRIPTION OF CERTAIN EMBODIMENTS

1. General Description of Compounds of the Invention

[0009] In certain embodiments, the present invention provides a compound of formula I:

or a pharmaceutically acceptable salt thereof, wherein:

Ring A is a saturated 4-8 membered monocyclic or bridged heterocyclic ring having one– N(R 1 )-, a saturated 7-11 membered spirofused heterocyclic ring having one–N(R 1 )-, or a saturated 8-10 membered bicyclic heterocyclic ring having one–N(R 1 )-, wherein Ring A is substituted with 0-3 R v groups;

R 1 is–L-Y, wherein:

L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one, two, or three methylene units of L are optionally and independently replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, - N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, - C(=NR)-, -N=N-, or -C(=N 2 )-; and

Y is hydrogen, halogen, -CN, C 1-6 aliphatic optionally substituted with oxo, halogen, or CN, or a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, -NO 2 , halogen, -CN, and C 1-6 aliphatic, wherein:

Q is a covalent bond or a bivalent C 1-6 saturated or unsaturated, straight or

branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or - SO 2 -; and

Z is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, or CN; Ring B is a saturated 5-7-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 R x groups;

W is–N(R 2 )CH 2 - or–NH-;

R 2 is selected from hydrogen, C 1-6 aliphatic or–C(O)R; R 3 and R 4 are each independently selected from hydrogen or halogen;

each R group is independently hydrogen or an optionally substituted group selected from C 1– 6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur;

R y is hydrogen, halogen, -CF 3 , or C 1-4 aliphatic;

each R x is independently oxo, halogen,–OR, -N(R) 2, -S(O) x R, -N(R)(CH 2 ) q N(R) 2 , - N(R)(CH 2 ) q OR, -O(CH 2 ) q OR, -O(CH 2 ) q N(R) 2 , an optionally substituted C 2-6 saturated, straight or branched, hydrocarbon chain wherein one or two methylene units are independently replaced by–O-, -N(R)- or–S(O) x -, or an optionally substituted group selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms

independently selected from nitrogen, oxygen, or sulfur, or a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur;

each R v is independently selected from halogen or C 1–6 aliphatic;

q is 1 or 2; and

each x is 0, 1 or 2. 2. Compounds and Definitions

[0010] Compounds of this invention include those described generally above, and are further illustrated by the classes, subclasses, and species disclosed herein. As used herein, the following definitions shall apply unless otherwise indicated. For purposes of this invention, the chemical elements are identified in accordance with the Periodic Table of the Elements, CAS version, Handbook of Chemistry and Physics, 75 th Ed. Additionally, general principles of organic chemistry are described in“Organic Chemistry”, Thomas Sorrell, University Science Books, Sausalito: 1999, and“March’s Advanced Organic Chemistry”, 5 th Ed., Ed.: Smith, M.B. and March, J., John Wiley & Sons, New York: 2001, the entire contents of which are hereby incorporated by reference. [0011] The term“aliphatic” or“aliphatic group”, as used herein, means a straight-chain (i.e., unbranched) or branched, substituted or unsubstituted hydrocarbon chain that is completely saturated or that contains one or more units of unsaturation, or a monocyclic hydrocarbon or bicyclic hydrocarbon that is completely saturated or that contains one or more units of unsaturation, but which is not aromatic (also referred to herein as“carbocycle”“cycloaliphatic” or“cycloalkyl”), that has a single point of attachment to the rest of the molecule. Unless otherwise specified, aliphatic groups contain 1-6 aliphatic carbon atoms. In some embodiments, aliphatic groups contain 1-5 aliphatic carbon atoms. In other embodiments, aliphatic groups contain 1-4 aliphatic carbon atoms. In still other embodiments, aliphatic groups contain 1-3 aliphatic carbon atoms, and in yet other embodiments, aliphatic groups contain 1-2 aliphatic carbon atoms. In some embodiments,“cycloaliphatic” (or“carbocycle” or“cycloalkyl”) refers to a monocyclic C 3 -C 6 hydrocarbon that is completely saturated or that contains one or more units of unsaturation, but which is not aromatic, that has a single point of attachment to the rest of the molecule. Suitable aliphatic groups include, but are not limited to, linear or branched, substituted or unsubstituted alkyl, alkenyl, alkynyl groups and hybrids thereof such as (cycloalkyl)alkyl, (cycloalkenyl)alkyl or (cycloalkyl)alkenyl.

[0012] The term“lower alkyl” refers to a C 1-4 straight or branched alkyl group. Exemplary lower alkyl groups are methyl, ethyl, propyl, isopropyl, butyl, isobutyl, and tert-butyl.

[0013] The term“heteroatom” means one or more of oxygen, sulfur, nitrogen, phosphorus, or silicon (including any oxidized form of nitrogen, sulfur, phosphorus, or silicon; and the quaternized form of any basic nitrogen or a substitutable nitrogen of a heterocyclic ring, for example N (as in 3,4–dihydro–2H–pyrrolyl– ), NH (as in pyrrolidinyl– NR ^

in N-substituted 2-pyrrolidinyl – or + NR ^ (as in N–substituted 1-pyrrolidinyl–

[0014] The term“unsaturated”, as used herein, means that a moiety has one or more units of unsaturation. In some embodiments, a unit of unsaturation is a carbon-carbon double bond (i.e., -C=C-). In some embodiments, a unit of unsaturation is a carbon-carbon triple bond (i.e., -C≡C- ).

[0015] As used herein, the term“bivalent C 2-8 (or C 2-6 ) unsaturated, straight or branched, hydrocarbon chain” refers to bivalent alkenylene and alkynylene chains that are straight or branched as defined herein and have one or more units of unsaturation.

[0016] The term“alkylene” refers to a straight or branched bivalent alkyl group. Exemplary alkylenes include–CH 2 -, -CH 2 CH 2 -, -CH(CH 3 )-, -CH 2 CH(CH 3 )-, -CH(CH 3 )CH 2 -, etc. In some embodiments, an“alkylene chain” is a polymethylene group, i.e.,–(CH 2 ) n –, wherein n is a positive integer, preferably from 1 to 6, from 1 to 4, from 1 to 3, from 1 to 2, or from 2 to 3. A substituted alkylene chain is a bivalent alkyl group in which one or more hydrogen atoms are replaced with a substituent. Suitable substituents include those described below for a substituted aliphatic group.

[0017] The term“alkenylene” refers to a bivalent alkenyl group. A substituted alkenylene chain is a bivalent alkenyl group containing at least one double bond in which one or more hydrogen atoms are optionally replaced with a substituent. Suitable substituents include those described below for a substituted aliphatic group.

[0018] As used herein, the term“cyclopropylene” refers to a bivalent cyclopropyl group of the following structure:

[0019] The term“halogen” means F, Cl, Br, or I.

[0020] The term“aryl” refers to monocyclic and bicyclic ring systems having a total of five to fourteen ring members, wherein at least one ring in the system is aromatic and wherein each ring in the system contains three to seven ring members. The term“aryl” may be used interchangeably with the term“aryl ring”. In certain embodiments of the present invention, “aryl” refers to an aromatic ring system which includes, but not limited to, phenyl, biphenyl, naphthyl, anthracyl and the like, which may bear one or more substituents. Also included within the scope of the term“aryl”, as it is used herein, is a group in which an aromatic ring is fused to one or more non–aromatic rings, such as indanyl, phthalimidyl, naphthimidyl, phenanthridinyl, or tetrahydronaphthyl, and the like.

[0021] The terms“heteroaryl” and“heteroar–”, used alone or as part of a larger moiety, e.g., “heteroaralkyl”, or“heteroaralkoxy”, refer to groups having 5 to 10 ring atoms, preferably 5, 6, or 9 ring atoms; having 6, 10, or 14 π electrons shared in a cyclic array; and having, in addition to carbon atoms, from one to five heteroatoms. The term“heteroatom” refers to nitrogen, oxygen, or sulfur, and includes any oxidized form of nitrogen or sulfur, and any quaternized form of a basic nitrogen. A heteroaryl group may be mono– or bicyclic. Heteroaryl groups include, without limitation, thienyl, furanyl, pyrrolyl, imidazolyl, pyrazolyl, triazolyl, tetrazolyl, oxazolyl, isoxazolyl, oxadiazolyl, thiazolyl, isothiazolyl, thiadiazolyl, pyridyl, pyridazinyl, pyrimidinyl, pyrazinyl, indolizinyl, purinyl, naphthyridinyl, and pteridinyl. The terms “heteroaryl” and“heteroar–”, as used herein, also include groups in which a heteroaromatic ring is fused to one or more aryl, cycloaliphatic, or heterocyclyl rings. Nonlimiting examples include indolyl, isoindolyl, benzothienyl, benzofuranyl, dibenzofuranyl, indazolyl, benzimidazolyl, benzthiazolyl, quinolyl, isoquinolyl, cinnolinyl, phthalazinyl, quinazolinyl, quinoxalinyl, 4H– quinolizinyl, carbazolyl, acridinyl, phenazinyl, phenothiazinyl, phenoxazinyl, tetrahydroquinolinyl, tetrahydroisoquinolinyl, and pyrido[2,3–b]–1,4–oxazin–3(4H)–one. When a heteroaryl ring is fused to an aryl ring, the term“heteroaro” is used to refer to the heteroaryl ring that is fused to the aryl ring. The term“heteroaryl” may be used interchangeably with the terms“heteroaryl ring”,“heteroaryl group”, or“heteroaromatic”, any of which terms include rings that are optionally substituted.

[0022] As used herein, the terms“heterocycle”,“heterocyclyl”,“heterocyclic radical”, and “heterocyclic ring” are used interchangeably and refer to a stable 5– to 7–membered monocyclic or 7–10–membered bicyclic heterocyclic moiety that is either saturated or partially unsaturated, and having, in addition to carbon atoms, one or more, preferably one to four, heteroatoms, as defined above. When used in reference to a ring atom of a heterocycle, the term“nitrogen” includes a substituted nitrogen. As an example, in a saturated or partially unsaturated ring having 0–3 heteroatoms selected from oxygen, sulfur or nitrogen, the nitrogen may be N (as in 3,4– dihydro–2H–pyrrolyl , NH (as in pyrrolidinyl , NR ^ (as in N-substituted 2-

pyrrolidinyl ) or + NR ^ (as in N–substituted 1-pyrrolidinyl

[0023] A heterocyclic ring can be attached to its pendant group at any heteroatom or carbon atom that results in a stable structure and any of the ring atoms can be optionally substituted. A heterocyclyl group may be mono– or bicyclic. Examples of such saturated or partially unsaturated heterocyclic radicals include, without limitation, tetrahydrofuranyl, tetrahydrothiophenyl pyrrolidinyl, piperidinyl, pyrrolinyl, tetrahydroquinolinyl, tetrahydroisoquinolinyl, decahydroquinolinyl, oxazolidinyl, piperazinyl, dioxanyl, dioxolanyl, diazepinyl, oxazepinyl, thiazepinyl, morpholinyl, and quinuclidinyl. The terms“heterocycle”, “heterocyclyl”, “heterocyclyl ring”, “heterocyclic group”, “heterocyclic moiety”, and “heterocyclic radical”, are used interchangeably herein, and also include groups in which a heterocyclyl ring is fused to one or more aryl, heteroaryl, or cycloaliphatic rings, such as indolinyl, 3H–indolyl, chromanyl, phenanthridinyl, or tetrahydroquinolinyl. For purposes of clarity, a“heterocyclic” ring includes a saturated or partially unsaturated ring having one or more heteroatoms, wherein the ring is either monocyclic or fused to one or more aryl, heteroaryl, or cycloaliphatic rings. When a heterocyclic ring is fused to an aryl ring, the term“heterocyclo” is used to refer to the heterocyclic ring that is fused to the aryl ring. A“saturated heterocyclic ring” refers to a saturated ring having one or more heteroatoms, wherein the ring is monocyclic or fused to one or more saturated cycloaliphatic rings.

[0024] As used herein, the term“partially unsaturated” refers to a ring moiety that includes at least one double or triple bond. The term“partially unsaturated” is intended to encompass rings having multiple sites of unsaturation, but is not intended to include aryl or heteroaryl moieties, as herein defined.

[0025] As described herein, compounds of the invention may contain “optionally substituted” moieties. In general, the term“substituted”, whether preceded by the term “optionally” or not, means that one or more hydrogens of the designated moiety are replaced with a suitable substituent. Unless otherwise indicated, an“optionally substituted” group may have a suitable substituent at each substitutable position of the group, and when more than one position in any given structure may be substituted with more than one substituent selected from a specified group, the substituent may be either the same or different at every position. Combinations of substituents envisioned by this invention are preferably those that result in the formation of stable or chemically feasible compounds. The term“stable”, as used herein, refers to compounds that are not substantially altered when subjected to conditions to allow for their production, detection, and, in certain embodiments, their recovery, purification, and use for one or more of the purposes disclosed herein. [0026] Suitable monovalent substituents on a substitutable carbon atom of an“optionally substituted” group are independently halogen;–(CH 2 ) 0–4 R °;–(CH 2 ) 0–4 OR °; -O(CH 2 ) 0-4 R o ,–O– (CH 2 ) 0–4 C(O)OR°;–(CH 2 ) 0–4 CH(OR °) 2 ;–(CH 2 ) 0–4 SR °;–(CH 2 ) 0–4 Ph, which may be substituted with R°;–(CH 2 ) 0–4 O(CH 2 ) 0–1 Ph which may be substituted with R°;–CH=CHPh, which may be substituted with R°;–(CH 2 ) 0–4 O(CH 2 ) 0–1 -pyridyl which may be substituted with R°;–NO 2 ;–CN; –N 3 ; -(CH 2 ) 0–4 N(R °) 2 ; –(CH 2 ) 0–4 N(R °)C(O)R °; –N(R °)C(S)R °; –(CH 2 ) 0– 4 N(R °)C(O)NR ° 2 ; -N(R °)C(S)NR ° 2 ; –(CH 2 ) 0–4 N(R °)C(O)OR °; – N(R °)N(R °)C(O)R °; -N(R °)N(R °)C(O)NR ° 2 ; -N(R °)N(R °)C(O)OR °; –(CH 2 ) 0–4 C(O)R °; – C(S)R °;–(CH 2 ) 0–4 C(O)OR °;–(CH 2 ) 0–4 C(O)SR °; -(CH 2 ) 0–4 C(O)OSiR ° 3 ;–(CH 2 ) 0–4 OC(O)R °;– OC(O)(CH 2 ) 0–4 SR °, SC(S)SR°;–(CH 2 ) 0–4 SC(O)R °;–(CH 2 ) 0–4 C(O)NR ° 2 ;–C(S)NR ° 2 ;–C(S)SR°; –SC(S)SR°, -(CH 2 ) 0–4 OC(O)NR ° 2 ; -C(O)N(OR °)R °; –C(O)C(O)R °; –C(O)CH 2 C(O)R °; – C(NOR °)R °; -(CH 2 ) 0–4 SSR °;–(CH 2 ) 0–4 S(O) 2 R °;–(CH 2 ) 0–4 S(O) 2 OR °;–(CH 2 ) 0–4 OS(O) 2 R °;– S(O) 2 NR ° 2 ; -(CH 2 ) 0–4 S(O)R °; -N(R °)S(O) 2 NR ° 2 ;–N(R °)S(O) 2 R °;–N(OR °)R °;–C(NH)NR ° 2 ;– P(O) 2 R °; -P(O)R ° 2 ; -OP(O)R ° 2 ;–OP(O)(OR °) 2 ; SiR ° 3 ;–(C 1–4 straight or branched alkylene)O– N(R °) 2 ; or–(C 1–4 straight or branched alkylene)C(O)O–N(R °) 2 , wherein each R ° may be substituted as defined below and is independently hydrogen, C 1–6 aliphatic,–CH 2 Ph,–O(CH 2 ) 0– 1 Ph, -CH 2 -(5-6 membered heteroaryl ring), or a 3–6–membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or, notwithstanding the definition above, two independent occurrences of R °, taken together with their intervening atom(s), form a 3–12–membered saturated, partially unsaturated, or aryl mono– or bicyclic ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, which may be substituted as defined below.

[0027] Suitable monovalent substituents on R ° (or the ring formed by taking two independent occurrences of R ° together with their intervening atoms), are independently halogen, –(CH 2 ) 0–2 R , –(haloR ), –(CH 2 ) 0–2 OH, –(CH 2 ) 0–2 OR , –(CH 2 ) 0– 2 CH(OR ) 2 ; -O(haloR ),–CN,–N 3 ,–(CH 2 ) 0–2 C(O)R ,–(CH 2 ) 0–2 C(O)OH,–(CH 2 ) 0–2 C(O)OR ,– (CH 2 ) 0–2 SR ,–(CH 2 ) 0–2 SH,–(CH 2 ) 0–2 NH 2 ,–(CH 2 ) 0–2 NHR ,–(CH 2 ) 0–2 NR 2 ,–NO 2 ,–SiR 3 ,– OSiR 3 , -C(O)SR ,–(C 1–4 straight or branched alkylene)C(O)OR , or–SSR wherein each R is unsubstituted or where preceded by“halo” is substituted only with one or more halogens, and is independently selected from C 1–4 aliphatic,–CH 2 Ph, –O(CH 2 ) 0–1 Ph, or a 5–6–membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur. Suitable divalent substituents on a saturated carbon atom of R° include =O and =S.

[0028] Suitable divalent substituents on a saturated carbon atom of an “optionally substituted” group include the following: =O, =S, =NNR* 2 , =NNHC(O)R*, =NNHC(O)OR*, =NNHS(O) 2 R*, =NR*, =NOR*,–O(C(R* 2 )) 2–3 O–, or–S(C(R* 2 )) 2–3 S–, wherein each independent occurrence of R* is selected from hydrogen, C 1–6 aliphatic which may be substituted as defined below, or an unsubstituted 5–6–membered saturated, partially unsaturated, or aryl ring having 0– 4 heteroatoms independently selected from nitrogen, oxygen, or sulfur. Suitable divalent substituents that are bound to vicinal substitutable carbons of an“optionally substituted” group include:–O(CR* 2 ) 2–3 O–, wherein each independent occurrence of R* is selected from hydrogen, C 1–6 aliphatic which may be substituted as defined below, or an unsubstituted 5–6–membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur.

[0029] Suitable substituents on the aliphatic group of R* include halogen, –R , -(haloR ), -OH,–OR ,–O(haloR ),–CN,–C(O)OH,–C(O)OR ,–NH 2 ,–NHR ,–NR 2 , or –NO 2 , wherein each R is unsubstituted or where preceded by“halo” is substituted only with one or more halogens, and is independently C 1–4 aliphatic,–CH 2 Ph,–O(CH 2 ) 0–1 Ph, or a 5–6– membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur.

[0030] Suitable substituents on a substitutable nitrogen of an“optionally substituted” group include –R , –NR 2 , –C(O)R , –C(O)OR , –C(O)C(O)R , –C(O)CH 2 C(O)R , – S(O) 2 R , -S(O) 2 NR 2 ,–C(S)NR 2 , –C(NH)NR 2 , or–N(R )S(O) 2 R ; wherein each R is independently hydrogen, C 1–6 aliphatic which may be substituted as defined below, unsubstituted –OPh, or an unsubstituted 3–6–membered saturated, partially unsaturated, or aryl ring having 0– 4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or, notwithstanding the definition above, two independent occurrences of R , taken together with their intervening atom(s) form an unsubstituted 3–12–membered saturated, partially unsaturated, or aryl mono– or bicyclic ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur.

[0031] Suitable substituents on the aliphatic group of R are independently halogen,– R , -(haloR ),–OH,–OR ,–O(haloR ),–CN,–C(O)OH,–C(O)OR ,–NH 2 ,–NHR ,–NR

2, or -NO 2 , wherein each R ^ is unsubstituted or where preceded by“halo” is substituted only with one or more halogens, and is independently C 1–4 aliphatic,–CH 2 Ph,–O(CH 2 ) 0–1 Ph, or a 5–6– membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur. Suitable divalent substituents on a saturated carbon atom of R include =O and =S.

[0032] As used herein, the term“pharmaceutically acceptable salt” refers to those salts which are, within the scope of sound medical judgment, suitable for use in contact with the tissues of humans and lower animals without undue toxicity, irritation, allergic response and the like, and are commensurate with a reasonable benefit/risk ratio. Pharmaceutically acceptable salts are well known in the art. For example, S. M. Berge et al., describe pharmaceutically acceptable salts in detail in J. Pharmaceutical Sciences, 1977, 66, 1–19, incorporated herein by reference. Pharmaceutically acceptable salts of the compounds of this invention include those derived from suitable inorganic and organic acids and bases. Examples of pharmaceutically acceptable, nontoxic acid addition salts are salts of an amino group formed with inorganic acids such as hydrochloric acid, hydrobromic acid, phosphoric acid, sulfuric acid and perchloric acid or with organic acids such as acetic acid, oxalic acid, maleic acid, tartaric acid, citric acid, succinic acid or malonic acid or by using other methods used in the art such as ion exchange. Other pharmaceutically acceptable salts include adipate, alginate, ascorbate, aspartate, benzenesulfonate, benzoate, bisulfate, borate, butyrate, camphorate, camphorsulfonate, citrate, cyclopentanepropionate, digluconate, dodecylsulfate, ethanesulfonate, formate, fumarate, glucoheptonate, glycerophosphate, gluconate, hemisulfate, heptanoate, hexanoate, hydroiodide, 2–hydroxy–ethanesulfonate, lactobionate, lactate, laurate, lauryl sulfate, malate, maleate, malonate, methanesulfonate, 2–naphthalenesulfonate, nicotinate, nitrate, oleate, oxalate, palmitate, pamoate, pectinate, persulfate, 3–phenylpropionate, phosphate, pivalate, propionate, stearate, succinate, sulfate, tartrate, thiocyanate, p–toluenesulfonate, undecanoate, valerate salts, and the like.

[0033] Salts derived from appropriate bases include alkali metal, alkaline earth metal, ammonium and N + (C 1–4 alkyl) 4 salts. Representative alkali or alkaline earth metal salts include sodium, lithium, potassium, calcium, magnesium, and the like. Further pharmaceutically acceptable salts include, when appropriate, nontoxic ammonium, quaternary ammonium, and amine cations formed using counterions such as halide, hydroxide, carboxylate, sulfate, phosphate, nitrate, loweralkyl sulfonate and aryl sulfonate.

[0034] Unless otherwise stated, structures depicted herein are also meant to include all isomeric (e.g., enantiomeric, diastereomeric, and geometric (or conformational)) forms of the structure; for example, the R and S configurations for each asymmetric center, Z and E double bond isomers, and Z and E conformational isomers. Therefore, single stereochemical isomers as well as enantiomeric, diastereomeric, and geometric (or conformational) mixtures of the present compounds are within the scope of the invention. Unless otherwise stated, all tautomeric forms of the compounds of the invention are within the scope of the invention. Additionally, unless otherwise stated, structures depicted herein are also meant to include compounds that differ only in the presence of one or more isotopically enriched atoms. For example, compounds having the present structures including the replacement of hydrogen by deuterium or tritium, or the replacement of a carbon by a 13 C- or 14 C-enriched carbon are within the scope of this invention. Such compounds are useful, for example, as analytical tools, as probes in biological assays, or as therapeutic agents in accordance with the present invention. In some embodiments, the R 1 group of formula I comprises one or more deuterium atoms.

[0035] As used herein, the term“irreversible” or“irreversible inhibitor” refers to an inhibitor (i.e. a compound) that is able to be covalently bonded to a target protein kinase in a substantially non-reversible manner. That is, whereas a reversible inhibitor is able to bind to (but is generally unable to form a covalent bond) the target protein kinase, and therefore can become dissociated from the target protein kinase, an irreversible inhibitor will remain substantially bound to the target protein kinase once covalent bond formation has occurred. Irreversible inhibitors usually display time dependency, whereby the degree of inhibition increases with the time with which the inhibitor is in contact with the enzyme. Methods for identifying if a compound is acting as an irreversible inhibitor are known to one of ordinary skill in the art. Such methods include, but are not limited to, enzyme kinetic analysis of the inhibition profile of the compound with the protein kinase target, the use of mass spectrometry of the protein drug target modified in the presence of the inhibitor compound, discontinuous exposure, also known as“washout,” experiments, and the use of labeling, such as radiolabelled inhibitor, to show covalent modification of the enzyme, as well as other methods known to one of skill in the art. [0036] It will be appreciated that certain reactive functional groups can act as“warheads.” As used herein, the term“warhead” or“warhead group” refers to a functional group present on a compound of the present invention wherein that functional group is capable of covalently binding to an amino acid residue (such as cysteine, lysine, histidine, or other residues capable of being covalently modified) present in the binding pocket of the target protein, thereby irreversibly inhibiting the protein. In some embodiments, the–L-Y group, as defined and described herein, provides such warhead groups for covalently, and irreversibly, inhibiting the protein.

[0037] As used herein, the term“inhibitor” is defined as a compound that binds to and /or inhibits the target protein kinase with measurable affinity. In certain embodiments, an inhibitor has an IC 50 and/or binding constant of less about 50 μM, less than about 1 μM, less than about 500 nM, less than about 100 nM, or less than about 10 nM.

[0038] The terms“measurable affinity” and“measurably inhibit,” as used herein, means a measurable change in the activity of at least one kinase selected from TEC, BTK, ITK, BMX, BLK, EGFR, ErbB2, ErbB4, JAK3, MAP2K7, and/or TXK between a sample comprising a compound of the present invention, or composition thereof, and at least one kinase selected from TEC, BTK, ITK, BMX, BLK, EGFR, ErbB2, ErbB4, JAK3, MAP2K7, and/or TXK, and an equivalent sample comprising at least one kinase selected from TEC, BTK, ITK, BMX, BLK, EGFR, ErbB2, ErbB4, JAK3, MAP2K7, and/or TXK, in the absence of said compound, or composition thereof.

[0039] As used herein, the terms“treatment,”“treat,” and“treating” refer to reversing, alleviating, delaying the onset of, or inhibiting the progress of a disease or disorder, or one or more symptoms thereof, as described herein. In some embodiments, treatment is administered after one or more symptoms have developed. In other embodiments, treatment is administered in the absence of symptoms. For example, treatment is administered to a susceptible individual prior to the onset of symptoms (e.g., in light of a history of symptoms and/or in light of genetic or other susceptibility factors). Treatment is also continued after symptoms have resolved, for example to prevent, delay or lessen the severity of their recurrence. 3. Description of Exemplary Compounds

[0040] According to one aspect, the present invention provides a compound of formula I:

or a pharmaceutically acceptable salt thereof, wherein:

Ring A is a saturated 4-8 membered monocyclic or bridged heterocyclic ring having one– N(R 1 )-, a saturated 7-11 membered spirofused heterocyclic ring having one–N(R 1 )-, or a saturated 8-10 membered bicyclic heterocyclic ring having one–N(R 1 )-, wherein Ring A is substituted with 0-3 R v groups;

R 1 is–L-Y, wherein:

L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one, two, or three methylene units of L are optionally and independently replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, - N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, - C(=NR)-, -N=N-, or -C(=N 2 )-; and

Y is hydrogen, halogen, -CN, C 1-6 aliphatic optionally substituted with oxo, halogen, or CN, or a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, -NO 2 , halogen, -CN, and C 1-6 aliphatic, wherein:

Q is a covalent bond or a bivalent C 1-6 saturated or unsaturated, straight or

branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–NR-, -S-, -O-, -C(O)-, -SO-, or - SO 2 -; and

Z is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, or CN; Ring B is a saturated 5-7-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 R x groups;

W is–N(R 2 )CH 2 - or–NH-;

R 2 is selected from hydrogen, C 1-6 aliphatic or–C(O)R; R 3 and R 4 are each independently selected from hydrogen or halogen;

each R group is independently hydrogen or an optionally substituted group selected from C 1– 6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur;

R y is hydrogen, halogen, -CF 3 , or C 1-4 aliphatic;

each R x is independently oxo, halogen,–OR, -N(R) 2, -S(O) x R, -N(R)(CH 2 ) q N(R) 2 , - N(R)(CH 2 ) q OR, -O(CH 2 ) q OR, -O(CH 2 ) q N(R) 2 , an optionally substituted C 2-6 saturated, straight or branched, hydrocarbon chain wherein one or two methylene units are independently replaced by–O-, -N(R)- or–S(O) x -, or an optionally substituted group selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms

independently selected from nitrogen, oxygen, or sulfur, or a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur;

each R v is independently selected from halogen or C 1–6 aliphatic;

q is 1 or 2; and

each x is 0, 1 or 2.

[0041] As defined generally above, Ring A is a saturated 4-8 membered monocyclic or bridged bicyclic heterocyclic ring having one–N(R 1 )–, a saturated 7-11 membered spirofused heterocyclic ring having one–N(R 1 )–, or a saturated 8-10 membered bicyclic heterocyclic ring having one–N(R 1 )–, wherein Ring A is substituted with 0-3 R v groups. In certain embodiments, Ring A is a saturated 4-8 membered monocyclic or bridged bicyclic heterocyclic ring having one –N(R 1 )–. In some embodiments, Ring A is a saturated 4-membered monocyclic heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 5-membered monocyclic heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 6-membered monocyclic heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 7-membered monocyclic heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 8-membered monocyclic heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 7-membered bridged bicyclic heterocyclic ring having one– N(R 1 )–. In some such embodiments, Ring A is an azabicyclo[2.2.1]heptane. In some embodiments, Ring A is a saturated 8-membered bridged bicyclic heterocyclic ring having one– N(R 1 )–. In some such embodiments, Ring A is an azabicyclo[2.2.2]octane.

[0042] It will be appreciated that, when Ring A is a saturated 4-8 membered monocyclic or bridged bicyclic heterocyclic ring,–N(R 1 )– can be located at a position adjacent to, or one or more atoms away from, the atom to which W is attached. For example, in some embodiments,– N(R 1 )– is located at the alpha ( α)-position of Ring A relative to the atom to which W is attached. In certain embodiments,–N(R 1 )– is located at the beta (β)-, gamma (γ)- or delta (δ)-position of Rin A relative to the atom to which W is attached, according to the following convention:

[0043] In certain preferred embodiments,–N(R 1 )– is located at the beta (β)-position of Ring A relative to the atom to which W is attached. In some embodiments, Ring A is selected from those groups in Table 1A: Table 1A. Exemplary Ring A Groups

[0044] In certain preferred embodiments, Ring A is selected from those groups in Table 1B: Table 1B. Exemplary Ring A Groups

[0045] In some embodiments, Ring A is a saturated 7-11 membered spirofused heterocyclic ring having one–N(R 1 )-. In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring having one–N(R 1 )–. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring having one –N(R 1 )–. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring having one– N(R 1 )–.

[0046] It will be appreciated that a spirofused ring system consists of a proximal ring (i.e., the ring to which the remainder of the molecule is directly attached) and a distal ring (i.e., the ring spirofused to the proximal ring). It will be further appreciated that, when Ring A is a saturated 7-11 membered spirofused heterocyclic ring,–N(R 1 )– can be located in the ring to which W is attached (i.e., the proximal ring of the spirofused ring system). Alternatively,– N(R 1 )– can be located in the ring to which W is not attached (i.e., the distal ring of the spirofused ring system).

[0047] In some embodiments,–N(R 1 )– is located at the alpha ( α)-, alpha' ( α')-, beta ( β)-, beta' (β')-, gamma (γ)-, gamma' (γ')-, delta (δ)-, epsilon (ε)-, zeta (ζ)- or eta (η)-position of the proximal ring of the spirofused ring system according to the following convention:

[0048] In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ-position of the proximal spirofused ring.

[0049] In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the δ-position of the proximal spirofused ring.

[0050] In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the δ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the ε-position of the proximal spirofused ring.

[0051] In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the δ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the ε-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the ζ-position of the proximal spirofused ring.

[0052] In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ'-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the δ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the ε-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the ζ-position of the proximal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the η-position of the proximal spirofused ring.

[0053] In some embodiments,–N(R 1 )– is located at the alpha ( α)-, alpha' ( α')-, beta ( β)-, beta' ( β')-, gamma ( γ)-, gamma' ( γ')-, delta ( δ)-, delta' ( δ')-position of the distal ring of the spirofused ring system according to the following convention:

[0054] In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α- or α'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 7-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β- or β'-position of the distal spirofused ring.

[0055] In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α- or α'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β- or β'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 8-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ-position of the distal spirofused ring. [0056] In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α- or α'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β- or β'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 9-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ- or γ'-position of the distal spirofused ring.

[0057] In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α- or α'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β- or β'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ- or γ'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 10-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the δ-position of the distal spirofused ring.

[0058] In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the α- or α'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the β- or β'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the γ- or γ'-position of the distal spirofused ring. In some embodiments, Ring A is a saturated 11-membered spirofused heterocyclic ring, wherein–N(R 1 )– is at the δ- or δ'-position of the distal spirofused ring.

[0059] In some embodiments, Ring A is substituted with 0-3 R v groups and is selected from azaspiro[2.4]heptane, azaspiro[3.3]heptane, azaspiro[2.5]octane, azaspiro[3.4]octane, azaspiro[2.6]nonane, azaspiro[3.5]nonane, azaspiro[4.4]nonane, azaspiro[2.7]decane, azaspiro[3.6]decane, azaspiro[4.5]decane, azaspiro[2.8]undecane, azaspiro[3.7]undecane, azaspiro[4.6]undecane and azaspiro[5.5]undecane.

[0060] In some embodiments, Ring A is substituted with 0-3 R v groups and is selected from 1-azaspiro[2.4]heptane, 4-azaspiro[2.4]heptane, 5-azaspiro[2.4]heptane, 1-azaspiro[3.3]heptane, 2-azaspiro[3.3]heptane, 1-azaspiro[2.5]octane, 4-azaspiro[2.5]octane, 5-azaspiro[2.5]octane, 6-azaspiro[2.5]octane, 1-azaspiro[3.4]octane, 2-azaspiro[3.4]octane, 5-azaspiro[3.4]octane, 6-azaspiro[3.4]octane, 1-azaspiro[2.6]nonane, 4-azaspiro[2.6]nonane, 5-azaspiro[2.6]nonane, 6-azaspiro[2.6]nonane, 1-azaspiro[3.5]nonane, 2-azaspiro[3.5]nonane, 5-azaspiro[3.5]nonane, 6-azaspiro[3.5]nonane, 7-azaspiro[3.5]nonane, 1-azaspiro[4.4]nonane, 2-azaspiro[4.4]nonane, 1-azaspiro[2.7]decane, 4-azaspiro[2.7]decane, 5-azaspiro[2.7]decane, 6-azaspiro[2.7]decane, 7-azaspiro[2.7]decane, 1-azaspiro[3.6]decane, 2-azaspiro[3.6]decane, 5-azaspiro[3.6]decane, 6-azaspiro[3.6]decane, 7-azaspiro[3.6]decane, 1-azaspiro[4.5]decane, 2-azaspiro[4.5]decane, 6-azaspiro[4.5]decane, 7-azaspiro[4.5]decane, 8-azaspiro[4.5]decane, 1-azaspiro[2.8]undecane, 4-azaspiro[2.8]undecane, 5-azaspiro[2.8]undecane, 6-azaspiro[2.8]undecane, 7-azaspiro[2.8]undecane, 1-azaspiro[3.7]undecane, 2-azaspiro[3.7]undecane, 5-azaspiro[3.7]undecane, 6-azaspiro[3.7]undecane, 7-azaspiro[3.7]undecane, 8-azaspiro[3.7]undecane, 1-azaspiro[4.6]undecane, 2-azaspiro[4.6]undecane, 6-azaspiro[4.6]undecane, 7-azaspiro[4.6]undecane, 8-azaspiro[4.6]undecane, 1-azaspiro[5.5]undecane, 2-azaspiro[5.5]undecane, and 3-azaspiro[5.5]undecane.

[0061] In some embodiments, Ring A is substituted with 0-3 R v groups and is selected from any of the groups in Table 1C, Table 1D, Table 1E, Table 1F or Table 1G:

Table 1C

Attorney Docket No.2007878-0644

cvi cvii cviii cix cx

cxxi Table 1D

i-a i-b ii-a ii-b iii-a

xiv-b xv-a xvi-a xvi-b xvii-b xviii-a xix-a xx-a xvi-b xxvii-a xxviii-a xxviii-b xxix-a xx-a xxxii-a xxxii-b xxxiii-a xxxvi-a xvi-b xxxvii-a xxxvii-b xxxviii-a xxxix-a l-a xlii-a xlii-b xliii-a xliii-b iv-a xliv-b xlv-a xlv-b xlvi-a vi-b xlvii-a xlvii-b xlviii-a

7143184v1 Page 28 of 263 lviii-a lx-a lxi-a

lxi-b lxiii-a lxiv-a lxvii-b lxix-a lxix-b

7143184v1 Page 29 of 263 lxx-a lxxi-a

lxxiv-a lxxiv-b

lxxvii-a lxxvii-b lxxix-b lxxx-a

lxxxii-a lxxxiii-a lxxxv-b lxxxvi-a

7143184v1 Page 30 of 263 Attorney Docket No.2007878-0644 xc-a

xcii-b b xcv-a a xcviii-a ci-a

cv-b

cviii-a

Table 1E

xxi-b-ii xxii-a-ii xxiii-a-i xxiii-a-ii

lii-a-i lii-a-ii liii-a-i a-ii liii-b-i

liii-b-ii liv-a-i liv-a-ii a-i lv-a-ii lviii-a-i lviii-a-ii lviii-b-i lv -ii lix-a-i lxxix-b-i lxx lxxx-a-ii lxxx-b-i lxxx-b-ii lxx i lxxxi-b-i lxxxi-b-ii lxxxii-a-i lxxx i lxxxiii-a-ii lxxxiii-b-i lxxxiii-b-ii lxxx ii lxxxv-a-i lxxxv-a-ii xcviii ii-a-ii xcviii-b-i xcviii-b-ii xcix-a-i Table 1F

clxxxvii clxxxviii cxc cxci cxcii cxciii cxcv cxcvi cxcvii cxcviii cc cci ccvii ccviii ccx ccxi ccxii ccxiii ccxv ccxvi ccxvii ccxviii ccxx ccxxi 7143184v1 Page 46 of 263 ccxxii xxiv ccxxv ccxxvi ccxxvii c xxix ccxxx ccxxxi ccxxxii c xxxiv ccxxxv ccxxxvi ccxxxvii c xxxix ccxl ccxli ccxlii cxliv ccxlv ccxlvi ccxlvii c cxlix ccl ccli cclii ccliii v cclv cclvi cclvii cclviii x cclx cclxi cclxii cclxiii iv cclxv cclxvi cclxvii cclxviii ix cclxx cclxxi cclxxii cclxxiii xiv cclxxv cclxxvi cclxxvii cclxxviii xix cclxxx cclxxxi cclxxxii cclxxxiii cclxxxiv cclxxxv cclxxxvi 7143184v1 Page 48 of 263

7143184v1 Page 49 of 263 cxlv-b cxlvi-a cxlvi-b

Attorney Docket No.2007878-0644

clxxiv-b b clxxvi-a clxxvi-b clxxvii-a -a clxxviii-b clxxix-a clxxix-b b clxxxi-a clxxxi-b clxxxii-a -a clxxxiii-b clxxxiv-a cclxvii-a c cclxviii-a cclxviii-b cclxix-a cclxxx a cclxxxv-b cclxxxvi-a cclxxxvi-b cccx ccxviii-a cccxviii-b cccxix-a ccc cccxx-b cccxxi-a cccxxi-b cccx ccxxiii-a cccxxiii-b cccxxiv-a cccx cccxxv-b cccxxvi-a cccxxvi-b [0062] In certain embodiments, Ring A is substituted with 0-3 R v groups and is selected from:

[0063] As described generally above, in some embodiments, Ring B is a saturated 5-7- membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 R x groups. In some embodiments, Ring B is unsubstituted. In some embodiments, Ring B is substituted with at least one R x group. In some embodiments, Ring B is substituted with one R x group. In some embodiments, Ring B is substituted with two R x groups. In some embodiments, Ring B is substituted with three R x groups. In some embodiments, Ring B is substituted with four R x groups. In some embodiments, Ring B is substituted with five R x groups.

[0064] In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 R x groups. In some such embodiments, at least one nitrogen in Ring B is substituted with R x . In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is unsubstituted. In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is unsubstituted. In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 1-3 R x groups. In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 1 R x group. In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 2 R x groups. In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 3 R x groups.

[0065] In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom. In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 1 nitrogen atom, wherein the 1 nitrogen atom is substituted with R x . In some embodiments, Ring B is a saturated 5-membered heterocyclo ring having 2 nitrogen atoms.

[0066] In some embodiments, Ring B is a saturated 6-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 R x groups. In some such embodiments, at least one nitrogen in Ring B is substituted with R x . In some embodiments, Ring B is a saturated 6-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is unsubstituted.

[0067] In some embodiments, Ring B is a saturated 6-membered heterocyclo ring having 1 nitrogen atom. In some such embodiments, the 1 nitrogen atom is substituted with R x . In some embodiments, Ring B is a saturated 6-membered heterocyclo ring having 2 nitrogen atoms.

[0068] In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is substituted with 0-5 R x groups. In some such embodiments, at least one nitrogen in Ring B is substituted with R x . In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1-2 nitrogen atoms, wherein Ring B is unsubstituted. In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is unsubstituted. In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 1-3 R x groups. In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 1 R x group. In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1 nitrogen atom, wherein Ring B is substituted with 2 R x groups.

[0069] In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 1 nitrogen atom. In some such embodiments, the 1 nitrogen atom is substituted with R x . In some embodiments, Ring B is a saturated 7-membered heterocyclo ring having 2 nitrogen atoms.

[0070] In some embodiments, Ring B is selected from those in Table 2A, where the dotted line represents the π-bond of the aryl ring to which Ring B is fused:

Table 2A

wherein each R x is independently as defined above and described herein.

[0071] In some embodiments, Ring B is selected from those in Table 2B, where the dotted line represents the π-bond of the aryl ring to which Ring B is fused: Table 2B

wherein each R x is independently as defined above and described herein.

[00 In certain embodiments, Ring B is selected from

[0073] In some embodiments, Ring B is selected from

[0074] It will be appreciated that the Ring B groups in Table 2A or Table 2B can be fused to the aryl ring of formula I in either oritentation, such that compounds comprising the Ring B

moiety have one of the following structures, referred to, infra, as III-c and III-e:

[0075] In some embodiments, Ring B is , wherein each of X 1 , X 2 and X 3 is independently selected from–CH 2 -, CH(R x )-, -C(R x ) 2 -, -NH-, or -N(R x )-, provided that at least one of X 1 , X 2 and X 3 is -NH- or -N(R x )-. In some embodiments, one of X 1 , X 2 and X 3 is selected from -NH- or -N(R x )-. In some embodiments, two of X 1 , X 2 and X 3 are independently selected from -NH- or -N(R x )-.

[0076] In some embodiments, Ring B is , wherein each of X 1 , X 2 , X 3 and X 4 is independently selected from–CH 2 -, CH(R x )-, -C(R x ) 2 -, -NH-, or -N(R x )-, provided that at least one X 1 , X 2 , X 3 and X 4 is -NH- or -N(R x )-. In some embodiments, one of X 1 , X 2 , X 3 and X 4 is selected from -NH- or -N(R x )-. In some embodiments, two of X 1 , X 2 , X 3 and X 4 are independently selected from -NH- or -N(R x )-

[0077] In some embodiments, Ring B is , wherein each of X 1 , X 2 , X 3 , X 4 and X 5 is independently selected from–CH 2 -, CH(R x )-, -C(R x ) 2 -, -NH-, or -N(R x )-, provided that at least one X 1 , X 2 , X 3 , X 4 and X 5 is -NH- or -N(R x )-. In some embodiments, one of X 1 , X 2 , X 3 , X 4 and X 5 is selected from -NH- or -N(R x )-. In some embodiments, two of X 1 , X 2 , X 3 , X 4 and X 5 are independently selected from -NH- or -N(R x )-.

[0078] As described generally above, R 1 is–L-Y, wherein:

L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one, two, or three methylene units of L are optionally and independently replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-; and

Y is hydrogen, halogen, -CN, C 1-6 aliphatic optionally substituted with oxo, halogen, or CN, or a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, -NO 2 , halogen, -CN, and C 1-6 aliphatic, wherein:

Q is a covalent bond or a bivalent C 1-6 saturated or unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -; and Z is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, or CN.

[0079] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of L are optionally and independently replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 - , -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-.

[0080] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of L are optionally and independently replaced by–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -O- , -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, or -SO 2 -.

[0081] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of L are optionally and independently replaced by–N(R)-, -O-, -C(O)-, -S-, -SO-, or -SO 2 -.

[0082] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein three methylene units of L are optionally and independently replaced by cyclopropylene, –N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 - , -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-.

[0083] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one or two methylene units of L are optionally replaced by cyclopropylene, –N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-.

[0084] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 - , -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-.

[0085] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one or two methylene units of L are replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -.

[0086] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -C(O)-, and one additional methylene unit of L is optionally replaced by cyclopropylene,–O- or–N(R)-.

[0087] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 - , -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -.

[0088] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -C(O)-, -OC(O)-, or -C(O)O-.

[0089] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one or two methylene units of L are optionally and independently replaced by cyclopropylene,–N(R)-, -O- , -C(O)-, -S-, -SO-, or -SO 2 -.

[0090] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one or two methylene units of L are replaced by cyclopropylene,–N(R)-, -O-, or -C(O)-.

[0091] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -C(O)-, and one additional methylene unit of L is replaced by –N(R)-.

[0092] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -C(O)-, and one additional methylene unit of L is replaced by cyclopropylene.

[0093] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by–N(R)-, -O-, or -C(O)-.

[0094] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -C(O)-.

[0095] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -C(O)-, -OC(O)-, or -C(O)O-, and one or two additional methylene units of L are optionally and independently replaced by–N(R)-, -O-, or -C(O)-.

[0096] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -C(O)-, -OC(O)-, or -C(O)O-, and one additional methylene unit of L is optionally replaced by–N(R)-, -O-, or -C(O)-.

[0097] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one double bond and one methylene unit of L is replaced by -C(O)-, and one additional methylene unit of L is optionally replaced by–N(R)-, -O-, or -C(O)-.

[0098] In some embodiments, L is an optionally substituted bivalent C 2-8 straight or branched, hydrocarbon chain wherein L has at least one double bond and one methylene unit of L is replaced by -SO 2 -.

[0099] In some embodiments, L is -C(O)CH=CH-, -C(O)CH=CHCH 2 N(CH 3 )- , -C(O)CH=CHCH 2 O-, - CH 2 CH 2 NRC(O)CH=CH-, -SO 2 CH=CH-, -SO 2 CH=CHCH 2 -, -C(O)C(=CH 2 )CH 2 -, -CH 2 CH 2 NRC(O)CH=CH-, -C(O)CH=CH-cyclopropylene- or -C(O)C(CN)=CH-cyclopropylene-, wherein R is H or optionally substituted C 1-6 aliphatic; and Y is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, NO 2 , or CN.

[00100] In certain embodiments, L is -C(O)CH=CH-. In some embodiments, L is -C(O)CH=CHCH 2 N(CH 3 )-. In some embodiments, L is -C(O)C(CN)=CH-cyclopropylene-.

[00101] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one or two methylene units of L are optionally replaced by cyclopropylene, –N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-.

[00102] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 - , -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -, -C(=S)-, -C(=NR)-, -N=N-, or -C(=N 2 )-.

[00103] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one or two methylene units of L are replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -.

[00104] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by cyclopropylene,–N(R)-, -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 - , -SO 2 N(R)-, -O-, -C(O)-, -OC(O)-, -C(O)O-, -S-, -SO-, -SO 2 -. [00105] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -C(O)-, -OC(O)-, or -C(O)O-.

[00106] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one or two methylene units of L are optionally and independently replaced by–N(R)-, -O-, -C(O)-, -S-, -SO-, or -SO 2 -.

[00107] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by–N(R)-, -O-, or -C(O)-.

[00108] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by -C(O)-.

[00109] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -C(O)-, -OC(O)-, or -C(O)O-, and one or two additional methylene units of L are optionally and independently replaced by–N(R)-, -O-, or -C(O)-.

[00110] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by -N(R)C(O)-, -C(O)N(R)-, -N(R)SO 2 -, -SO 2 N(R)-, -C(O)-, -OC(O)-, or -C(O)O-, and one additional methylene unit of L is optionally replaced by–N(R)-, -O-, or -C(O)-.

[00111] In some embodiments, L is an optionally substituted bivalent C 2-8 unsaturated, straight or branched, hydrocarbon chain, wherein L has at least one triple bond and one methylene unit of L is replaced by -C(O)-, and one additional methylene unit of L is optionally replaced by–N(R)-, -O-, or -C(O)-.

[00112] In some embodiments, L is an optionally substituted bivalent C 2-8 straight or branched, hydrocarbon chain wherein L has at least one triple bond and one methylene unit of L is replaced by -SO 2 -. [00113] In some embodiments, L is–CH 2 -C≡CCH 2 N(R)-, -CH 2 -C≡C-CH 2 -, -CH 2 C(O)C≡C-, or -C(O)C≡C-; and Y is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, NO 2 , or CN. In certain embodiments, L is -C(O)C≡C-.

[00114] In some embodiments, L is optionally substituted with –OR ^. In certain embodiments, L is optionally substituted with–OR°, wherein R° is hydrogen. In some embodiments, L is optionally substituted with one or more groups selected from–CN, halogen or phenyl. In some embodiments, L is optionally substituted with halogen. In some embodiments, L is optionally substituted with–CN. In some embodiments, L is optionally substituted with phenyl.

[00115] In some embodiments, L is –C(O)CH=CH-, -C(O)C(F)=CH-, -C(O)C(F)=CH- cyclopropylene-, -C(O)CH=C(F)-, -C(O)C(CN)=CH-, -C(O)C(CN)=CH-cyclopropylene-, -C(O)CH=C(CN)-, -CH(OH)CH=CH-, -CH(OH)C(F)=CH-, -CH(OH)C(CN)=CH-, -CH(OH)CH=C(F)-, or -CH(OH)CH=C(CN)-.

[00116] In some embodiments, Y is selected from hydrogen, halogen, -CN, C 1-6 aliphatic optionally substituted with oxo, halogen, or CN, or a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, -NO 2 , halogen, -CN, and C 1-6 aliphatic. In some embodiments, Y is hydrogen. In some embodiments, Y is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, NO 2 or CN. In some embodiments, Y is C 1-6 aliphatic optionally substituted with oxo, halogen, NO 2 or CN. In some embodiments, Y is hydrogen or C 1-6 aliphatic. In some embodiments, Y is C 1-6 aliphatic.

[00117] In some embodiments, Y is selected from halogen, -CN, C 1-6 aliphatic optionally substituted with oxo, halogen, or CN, or a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, -NO 2 , halogen, -CN, and C 1-6 aliphatic.

[00118] In some embodiments, Y is selected from hydrogen, halogen, -CN, or C 1-6 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Y is selected from halogen, -CN, or C 1-6 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Y is halogen. In some embodiments, Y is–CN. In some embodiments, Y is C 1-6 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Y is C 1-5 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Y is C 1-4 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Y is C 1-3 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Y is C 1-2 aliphatic optionally substituted with oxo, halogen, or CN.

[00119] In some embodiments, Y is a 3-10 membered monocyclic or bicyclic, saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur, and wherein said ring is substituted with 1-4 groups independently selected from–Q-Z, oxo, -NO 2 , halogen, -CN, and C 1-6 aliphatic. In some embodiments, Y is a 3-10 membered monocyclic saturated ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some embodiments, Y is a 8-10 membered bicyclic saturated ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur.

[00120] In some embodiments, Y is a 3-6 membered saturated, partially unsaturated, or aryl ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some embodiments, Y is a 3-6 membered saturated ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some embodiments, Y is a 3-membered saturated carbocyclic ring. In some embodiments, Y is a 4-membered saturated carbocyclic ring. In some embodiments, Y is a 5-membered saturated carbocyclic ring. In some embodiments, Y is a 6- membered saturated carbocyclic ring.

[00121] In some embodiments, Y is a 3-membered saturated ring having 1 heteroatom independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, Y is selected from oxiranyl and aziridinyl.

[00122] In some embodiments, Y is a 4-membered saturated ring having 1 heteroatom independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, Y is selected from oxetanyl and azetidinyl.

[00123] In some embodiments, Y is a 5-membered saturated ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, Y is selected from pyrrolidinyl, tetrahydrofuranyl, imidazolidinyl, pyrazolidinyl, oxazolidinyl, isoxazolidinyl, thiazolidinyl, isothiazolidinyl, and dioxolanyl.

[00124] In some embodiments, Y is a 6-membered saturated ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, Y is selected from piperidinyl, oxanyl, thianyl, piperazinyl, morpholinyl, thiomorpholinyl, dioxanyl, and dithianyl.

[00125] In some embodiments, Y is a 6-membered saturated ring having 2 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, Y is selected from piperazinyl, morpholinyl, and thiomorpholinyl.

[00126] In some embodiments, Y is a 3-6 membered partially unsaturated carbocyclic ring. In some embodiments, Y is a 3-membered saturated carbocyclic ring. In some embodiments, Y is a 4-membered saturated carbocyclic ring. In some embodiments, Y is a 5-membered saturated carbocyclic ring. In some embodiments, Y is a 6-membered saturated carbocyclic ring.

[00127] In some embodiments, Y is a 3-6 membered partially unsaturated ring having 1-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some embodiments, Y is selected from imidazolinyl, pyrazolinyl, oxazolinyl, thiazolinyl, pyranyl and thiopyranyl.

[00128] In some embodiments, Y is a 7-10 membered bicyclic partially unsaturated ring having 0-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur.

[00129] In some embodiments, Y is phenyl.

[00130] In some embodiments, Y is a 5-6 membered heteroaryl ring having 1-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some embodiments, Y is a 5- membered heteroaryl ring having 1-3 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, Y is selected from pyrrolyl, furanyl, thiophenyl, imidazolyl, oxazolyl, isoxazolyl, triazolyl, oxadiazolyl, and thiadiaozlyl.

[00131] In some embodiments, Y is a 6-membered heteroaryl ring having 1-3 nitrogen atoms. In some such embodiments, Y is selected from pyridinyl and pyrimidinyl.

[00132] As described generally above, Q is a covalent bond or a bivalent C 1-6 saturated or unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -. In some embodiments, Q is a covalent bond. In some embodiments, Q is a bivalent C 1-6 saturated or unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -. In some embodiments, Q is a bivalent C 1-6 saturated straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -. In some embodiments, Q is a bivalent C 1-5 , C 1-4 , C 1-3 , or C 1-2 saturated straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -. In some embodiments, Q is a bivalent C 1-6 saturated straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -O-, or -C(O)-. In some embodiments, Q is a bivalent C 1-6 unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -. In some embodiments, Q is a bivalent C 1-5 , C 1-4 , C 1-3 , or C 1-2 unsaturated straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -S-, -O-, -C(O)-, -SO-, or -SO 2 -. In some embodiments, Q is a bivalent C 1-6 unsaturated, straight or branched, hydrocarbon chain, wherein one or two methylene units of Q are optionally and independently replaced by–N(R)-, -O-, or -C(O)-.

[00133] As described generally above, Z is hydrogen or C 1-6 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Z is hydrogen. In some embodiments, Z is C 1- 6 aliphatic optionally substituted with oxo, halogen, or CN. In some embodiments, Z is C 1-6 aliphatic substituted with oxo, halogen, or CN. In some embodiments, Z is C 1-6 , C 1-5 , C 1-4 , C 1-3 , or C 1-2 aliphatic substituted with oxo, halogen, or CN.

[00134] Without wishing to be bound by any particular theory, it is believed that such–L-Y groups, i.e. warhead groups, are particularly suitable for covalently binding to a key cysteine residue in the binding domain of certain protein kinases. Thus, in some embodiments, the -L-Y moiety is capable of covalently binding to a cysteine residue thereby irreversibly inhibiting the enzyme.

[00135] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of TEC, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 449.

[00136] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of BTK, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 481.

[00137] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of ITK, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 442. [00138] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of BMX, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 496.

[00139] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of BLK, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 319.

[00140] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of EGFR, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 797

[00141] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of ErbB2, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 805.

[00142] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of ErbB4, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 803.

[00143] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of JAK3, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 909.

[00144] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of MAP2K7, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 202.

[00145] In certain embodiments, the–L-Y moiety is capable of covalently binding to a cysteine residue of TXK, thereby irreversibly inhibiting the enzyme. In some embodiments, the cysteine residue is Cys 350.

[00146] One of ordinary skill in the art will recognize that a variety of warhead groups, as defined herein, are suitable for such covalent bonding.

[00147] In certain embodiments, R 1 is selected from those set forth in Table 3, below, wherein each wavy line indicates the point of attachment to the rest of the molecule. Table 3: Exemplary R 1 Groups

[00148] In certain embodiments, R 1 is selected from . [00149] In certain exemplary embodiments, R 1 is

[00150] As described generally above, R 2 is selected from hydrogen, C 1-6 aliphatic and –C(O)R. In some embodiments, R 2 is hydrogen. In some embodiments, R 2 is selected from C 1-6 aliphatic and–C(O)R. In some embodiments, R 2 is C 1-6 aliphatic. In some embodiments, R 2 is C 1-6 , C 1-5 , C 1-4 , C 1-3 , or C 1-2 aliphatic. In some embodiments, R 2 is–CH 3 . In some embodiments, R 2 is–C(O)R. In some embodiments, R 2 is–C(O)CH 3 .

[00151] As described generally above, W is–N(R 2 )CH 2 - or–NH-. In some embodiments, W is–N(R 2 )CH 2 -. In some embodiments, W is–NHCH 2 -. In some embodiments, W is –N(CH 3 )CH 2 -. In some embodiments, W is–NH-.

[00152] As described generally above, R 3 and R 4 are each independently selected from hydrogen and halogen. In some embodiments, R 3 is hydrogen. In some embodiments, R 3 is halogen. In some such embodiments, R 3 is fluoro. In some embodiments, R 4 is hydrogen. In some embodiments, R 4 is halogen. In some such embodiments, R 4 is fluoro. In some embodiments, each of R 3 and R 4 is hydrogen. In some embodiments, each of R 3 and R 4 is halogen. In some embodiments, R 3 is hydrogen and R 4 is halogen. In some such embodiments, R 4 is fluoro. In some embodiments, R 3 is halogen and R 4 is hydrogen. In some such embodiments, R 3 is fluoro.

[00153] As described generally above, each R group is independently hydrogen or an optionally substituted group selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur, and a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, and sulfur. In some embodiments, R is hydrogen. In some embodiments, R is an optionally substituted group selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur, and a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, and sulfur. [00154] In some embodiments, R is optionally substituted C 1–6 aliphatic. In some embodiments, R is an optionally substituted phenyl. In some embodiments, R is an optionally substituted 3-7 membered saturated or partially unsaturated carbocyclic ring. In some embodiments, R is an optionally substituted a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur. In some embodiments, R is an optionally substituted 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, and sulfur.

[00155] In some embodiments, R is selected from hydrogen and C 1–6 aliphatic.

[00156] In some embodiments, R is selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur, and a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, and sulfur.

[00157] In some embodiments, R is C 1–6 aliphatic. In some embodiments, R is C 1-5 , C 1-4 , C 1-3 , or C 1-2 aliphatic. In some embodiments, R is selected from methyl, ethyl, propyl, isopropyl, butyl, sec-butyl, isobutyl, tert-butyl, pentyl, isopentyl, sec-pentyl, neopentyl, hexyl, 2-methyl-2- pentanyl, 3-methylpentanyl, 2,3-dimethylbutyl, and 2,2-dimethylbutyl.

[00158] In some embodiments, R is a 3-7 membered saturated or partially unsaturated carbocyclic ring.

[00159] In some embodiments, R is a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur.

[00160] In some embodiments, R is phenyl.

[00161] As described generally above, R y is hydrogen, halogen, -CF 3 , or C 1-4 aliphatic. In some embodiments, R y is halogen. In some such embodiments, R y is fluoro or bromo. In certain embodiments, R y is fluoro. In some embodiments, R y is–CF 3 . In some embodiments, R y is C 1-4 aliphatic. In some such embodiments, R y is selected from methyl, ethyl, propyl, isopropyl, butyl, sec-butyl, or tert-butyl.

[00162] As described generally above, each R x is independently oxo, halogen,–OR, -N(R) 2, - S(O) x R, -N(R)(CH 2 ) q N(R) 2 , -N(R)(CH 2 ) q OR, -O(CH 2 ) q OR, -O(CH 2 ) q N(R) 2 , an optionally substituted C 2-6 saturated, straight or branched, hydrocarbon chain wherein one or two methylene units are independently replaced by–O-, -N(R)- or–S(O) x -, or an optionally substituted group selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur, and a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, and sulfur. In some embodiments, R x is oxo.

[00163] In some embodiments, each R x is independently halogen,–OR, -N(R) 2, -S(O) x R, -N(R)(CH 2 ) q N(R) 2 , -N(R)(CH 2 ) q OR, -O(CH 2 ) q OR, -O(CH 2 ) q N(R) 2 , an optionally substituted C 2-6 saturated, straight or branched, hydrocarbon chain wherein one or two methylene units are independently replaced by–O-, -N(R)- or–S(O) x -, or an optionally substituted group selected from C 1–6 aliphatic, phenyl, a 3-7 membered saturated or partially unsaturated carbocyclic ring, a 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur, and a 5-6 membered monocyclic heteroaryl ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, and sulfur.

[00164] In some embodiments, R x is an optionally substituted C 1–6 aliphatic. In some embodiments, R x is an optionally substituted C 1–4 aliphatic or C 1–2 aliphatic. In some embodiemnts, R x is propargyl. In some embodiments, R x is C 1-4 aliphatic substituted with oxo. In some embodiments, R x is–C(O)CH 3 . In some embodiments, R x is C 1-4 aliphatic substituted with -C(O)N( R°) 2 . In some embodiments, R x is–CH 2 C(O)NH 2 . In some embodiments, R x is C 1–6 aliphatic optionally substituted with halogen. In some such embodiments, R x is–CH 2 CF 3 . In some embodiments, R x is C 1–6 aliphatic optionally substituted with one halogen. In some such embodiments, R x is C 1–6 aliphatic optionally substituted with one fluoro. In some embodiments, R x is C 1–6 aliphatic optionally substituted with -OR°. In some such embodiments, R° is selected from hydrogen or C 1-6 aliphatic. In some embodiments, R° is hydrogen. In some embodiments, R° is C 1-6 aliphatic. In some embodiments, R x is–CH 2 CH 2 OH. In some embodiments, R x is– CH 2 CH 2 OCH 3 .

[00165] In some embodiments, R x is C 1–6 aliphatic optionally substituted with R°. In some embodiments, R x is–CH 2 -R°. In some embodiments, R° is C 1-6 aliphatic. In some such embodiments, R° is–CH 3 . In some embodiments, R° is C 1-6 aliphatic substituted with a group selected from–(CH 2 ) 0-4 R ,–(CH 2 ) 0-4 OH,–(CH 2 ) 0-4 OR ,–(CH 2 ) 0-4 NH 2 ,–(CH 2 ) 0-4 NHR ,–(CH 2 ) 0- 4 NR

2, or =O. [00166] In some embodiments, R x is–CH 2 - R°, wherein R° is C 1-6 aliphatic substituted with –(CH 2 ) 0-4 OH. In some embodiments, R° is C 1 aliphatic substituted with–(CH 2 ) 0-4 OH. Thus, in some embodiments, R° is–CH 2 -(CH 2 ) 0-4 OH. In some such embodiments, R° is–CH 2 OH.

[00167] In some embodiments, R x is–CH 2 -R°, wherein R° is C 1-6 aliphatic substituted with =O and–(CH 2 ) 0-4 NH 2 . In some embodiments, R° is C 1 aliphatic substituted with =O and –(CH 2 ) 0-4 NH 2 . Thus, in some embodiments, R° is–C(O)NH 2 .

[00168] In some embodiments, R x is–CH 2 -R°, wherein R° is an optionally substituted 3–6– membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or two independent occurrences of R°, taken together with their intervening atom(s), form a 3–12–membered saturated, partially unsaturated, or aryl mono– or bicyclic ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some embodiments, R° is an optionally substituted 3-6 membered carbocyclic ring. In some embodiments, R x is–CH 2 -R°, wherein R° is an optionally substituted 3-membered carbocyclic ring. In certain embodiments, R x is–CH 2 -R°, wherein R° is cyclopropyl. In some embodiments, R° is cyclobutyl.

[00169] In some embodiments, two independent occurrences of R°, taken together with their intervening atom(s), form a 3–12–membered saturated, partially unsaturated, or aryl mono– or bicyclic ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, two independent occurrences of R°, taken together with their intervening atom(s), form a 4-membered carbocyclic ring. Thus, in some embodiments, two independent occurrences of R°, taken together with their intervening atom(s), form a cyclobutyl ring.

[00170] In some embodiments, two independent occurrences of R°, taken together with their intervening atom(s), form a 4-membered heterocyclic ring having 1 heteroatom selected from nitrogen, oxygen, or sulfur. In some such embodiments, two independent occurrences of R°, taken together with their intervening atom(s), form a 4-membered heterocyclic ring having 1 oxygen atom. Thus, in some embodiments, two independent occurrences of R°, taken together with their intervening atom(s), form an oxetanyl ring.

[00171] In some embodiments, R° is a 3–6–membered saturated, partially unsaturated, or aryl ring having 0–4 heteroatoms independently selected from nitrogen, oxygen, or sulfur wherein R° is substituted with–(CH 2 ) 0–2 R ^ . In some such embodiments, R ^ is C 1-6 aliphatic. In some embodiments, R° is an optionally substituted 4-6-membered saturated heterocyclic ring having 1 heteroatom selected from nitrogen, oxygen or sulfur. In some embodiments, R° is an optionally substituted 4-membered saturated ring having 1 heteroatom selected from nitrogen, oxygen or sulfur. In certain embodiments, R° is oxetanyl.

[00172] In some embodiments, R x is–CH 2 -R°, wherein R° is an optionally substituted 6- membered saturated heterocyclic ring having 1 heteroatom selected from nitrogen, oxygen or sulfur. In certain embodiments, R° is an optionally substituted group selected from piperidinyl and tetrahydropyranyl. In some embodiments, R° is tetrahydropyranyl.

[00173] In some embodiments, R x is C 1–6 aliphatic. In some embodiments, R x is a C 1–4 aliphatic. In certain embodiments, R x is a straight or branched C 1–4 aliphatic chain. In some embodiments, R x is lower alkyl. In some such embodiments, R x is selected from–CH 3 and –CD 3 . In some such embodiments, R x is–CH 3. In some embodiments, R x is–CD 3 . In some embodiments, R x is ethyl. In some embodiments, R x is C 3-5 aliphatic. In some embodiments, R x is isopropyl. In some embodiments, R x is tert-butyl. In some embodiments, R x is neopentyl (–CH 2 C(CH 3 ) 3 ).

[00174] In some embodiments, R x is C 1-6 aliphatic optionally substituted with–OR° or– C(O)NR° 2 . In some embodiments, R x is C 1-6 aliphatic optionally substituted with R°, wherein R° is an optionally substituted 3–6–membered saturated, partially unsaturated, or aryl ring having 0– 4 heteroatoms independently selected from nitrogen, oxygen, or sulfur. In some such embodiments, R° is cyclopropyl. In some embodiments, R x is C 1-6 aliphatic optionally substituted with R°, wherein R° is a 4-membered heterocyclic ring having 1 heteroatom selected from nitrogen, oxygen, or sulfur.

[00175] In some embodiments, R x is an optionally substituted phenyl. In some embodiments, R x is phenyl optionally substituted with halogen. In some such embodiments, R x is phenyl optionally substituted with fluoro.

[00176] In some embodiments, R x is an optionally substituted 3-7 membered saturated or partially unsaturated carbocyclic ring. In some embodiments, R x is cyclopropyl. In some embodiments, R x is an optionally substituted 4-7 membered saturated or partially unsaturated carbocyclic ring. In some embodiments, R x is cyclobutyl. In some embodiments, R x is cyclopentyl.

[00177] In some embodiments, R x is an optionally substituted 4-7 membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur. In some embodiments, R x is an optionally substituted 4-membered heterocyclic ring having 1 heteroatom selected from nitrogen, oxygen, and sulfur. In some such embodiments, R x is oxetanyl.

[00178] In some embodiments, R x is an optionally substituted 5-membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur.

[00179] In some embodiments, R x is an optionally substituted 6-membered heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, and sulfur. In some such embodiments, R x is an optionally substituted group selected from piperidinyl and tetrahydropyranyl.

[00180] In some embodiments, R x is selected from those groups in Table 4A: Table 4A

wherein:

each R is selected from hydrogen and C 1–6 aliphatic optionally substituted with halogen; and each R ^ is selected from hydrogen and C 1–6 aliphatic optionally substituted with halogen.

[00181] In some embodiments, R x is selected from those groups in Table 4A-i:

Table 4A-i

wherein:

each R° is selected from hydrogen and C 1–6 aliphatic optionally substituted with halogen;

each R is selected from hydrogen and C 1–6 aliphatic optionally substituted with halogen; and each R ^ is selected from hydrogen and C 1–6 aliphatic optionally substituted with halogen. [00182] In some embodiments, R° is hydrogen. In certain embodiments, R° is C 1–6 aliphatic. In some embodiments, R° is–CH 3 . In some embodiments, R° is–CD 3 .

[00183] In some embodiments, R is hydrogen. In certain embodiments, R is C 1–6 aliphatic. In some embodiments, R is–CH 3 . In some embodiments, R is–CD 3 .

[00184] In some embodiments, R is hydrogen. In certain embodiments, R is C 1–6 aliphatic. In some embodiments, R is–CH 3 . In some embodiments, R is–CD 3 .

[00185] In certain embodiments, R x is selected from–CH 3 , -CD 3 , -CH(CH 3 ) 2 , -C(CH 3 ) 3 , - CH 2 C(CH 3 ) 3 ,–C(O)CH 3 , -CH 2 C(O)NH 2 , -CH 2 CH 2 OCH 3 , -CH 2 CH 2 OH, -CH 2 CH 2 F, -CH 2 CF 3 , or those groups in Table 4B: Table 4B. Exemplary R x Groups

[00186] In some embodiments, R x is selected from–CH 3 , -CD 3 , -CH(CH 3 ) 2 , -C(CH 3 ) 3 , - CH 2 C(CH 3 ) 3 , -CH 2 C≡CH,–C(O)CH 3 , -CH 2 C(O)NH 2 , -CH 2 CH 2 OCH 3 , -CH 2 CH 2 OH, -CH 2 CH 2 F, -CH 2 CF 3 , oxo ( ), or those groups in Table 4B.

[00187] In certain embodiments, R x is selected from–CH 3 , -CD 3 , -CH(CH 3 ) 2 , -C(CH 3 ) 3 , - CH 2 C(O)NH 2 , -CH 2 CH 2 OH, or those groups in Table 4C: Table 4C [00188] In certain embodiments, R x is selected from oxo, ,–CH 3 , -CD 3 , -CH(CH 3 ) 2 , - C(CH 3 ) 3 , -CH 2 C(O)NH 2 , -CH 2 CH 2 OH, or those groups in Table 4C. [00189] As described generally above, each R v is independently selected from halogen and C 1–6 aliphatic. In some embodiments, R v is halogen. In some such embodiments, R v is fluoro. In some embodiments, R v is C 1–6 aliphatic. In some embodiments, R v is C 1–6 , C 1-5 , C 1-4 , C 1-3 , or C 1-2 aliphatic. In some such embodiments, R v is selected from methyl, ethyl, propyl or isopropyl.

[00190] As described generally above, x is 0, 1 or 2. In some embodiments, x is 0. In some embodiments, x is 1. In some embodiments, x is 2.

[00191] In some embodiments, the present invention provides a compound of formula II-a, II-b, II-c, II-d, II-e, II-f, II-g, II-h, II-i, II-j, II-k or II-l:

or a pharmaceutically acceptable salt thereof, wherein each of Ring B, W, R 1 , R 3 , R 4 , R v , R x and R y are as defined above and described herein.

[00192] In some embodiments, the present invention provides a compound of formula II-b-i, II-b-ii, II-c-i, II-c-ii, II-e-i, II-e-ii, II-f-i, II-f-ii, II-g-i, II-g-ii, II-h-i or II-h-ii:

II-g-ii

II-h-ii

or a pharmaceutically acceptable salt thereof, wherein each of Ring B, W, R 1 , R 3 , R 4 , R v , R x and R y are as defined above and described herein.

[00193] In certain embodiments of formulae II-a, II-b, II-b-i, II-b-ii, II-c, II-c-i, II-c-ii, II-d, II-e, II-e-i, II-e-ii, II-f, II-f-i, II-f-ii, II-g, II-g-i, II-g-ii, II-h, II-h-i, II-h-ii, II-i, II-j, II-k or II- l, Ring B is selecte from:

w herein R x is as defined above and described herein.

[00194] In some embodiments of formulae II-a, II-b, II-b-i, II-b-ii, II-c, II-c-i, II-c-ii, II-d, II-e, II-e-i, II-e-ii, II-f, II-f-i, II-f-ii, II-g, II-g-i, II-g-ii, II-h, II-h-i, II-h-ii, II-i, II-j, II-k or II- l, Ring B is selected from:

P f wherein R x is as defined above and described herein.

[00195] In some embodiments, the present invention provides a compound of formula III-a, III-b, III-c, II -d, III-e, III-f, III-g or III-h:

or a pharmaceutically acceptable salt thereof, wherein each of Ring A, W, R 3 , R 4 , R v , R x and R y are as defined above and described herein.

[00196] In some embodiments, the present invention provides a compound of formula III-a, III-b, III-c, III-d, III-e, III-f, III-g or III-h, or a compound of formula III-i, III-j, III-k, III-l, III-m, III- -o or III-p:

III-o III-p

or a pharmaceutically acceptable salt thereof, wherein each of Ring A, W, R 3 , R 4 , R v , R x and R y are as defined above and described herein. [00197] In some embodiments of formulae III-a, III-b, III-c, III-d, III-e, III-f, III-g or III- Ring A is selected from:

wherein each of R 1 and R v is as defined above and described herein.

[00198] In some embodiments of formulae III-a, III-b, III-c, III-d, III-e, III-f, III-g, III-h, III-i, III-j, III-k, III-l, III-m, III-n, III-o, or III-p, Ring A is selected from:

wherein each of R 1 and R v is as defined above and described herein. [00199] In certain embodiments of formulae III-a, III-b, III-c, III-d, III-e, III-f, III-g or III- Ring A is select from:

wherein each of R 1 and R v is as defined above and described herein.

[00200] In certain embodiments of formulae III-a, III-b, III-c, III-d, III-e, III-f, III-g, III-h, -i, III-j, III-k, -l, III-m, III-n, -o or III-p, Ring A is selected from:

wherein each of R 1 and R v is as defined above and described herein.

[00201] In some embodiments of formulae III-a, III-b, III-c, III-d, III-e, III-f, III-g or III- h, Ring A is substituted with 0-3 R v groups and is selected from:

wherein R 1 is as defined above and described herein.

[00202] In some embodiments of formulae III-a, III-b, III-c, III-d, III-e, III-f, III-g, III-h, III-i, III-j, III-k, III-l, III-m, III-n, III-o or III-p, Ring A is substituted with 0-3 R v groups and is selected from:

wherein R 1 is as defined above and described herein.

[00203] In some embodiments, the present invention provides a compound of formula IV-a or IV-b:

IV-a IV-b wherein each of Ring A, R v , R y and R° is as defined above and described herein.

[00204] In some embodiments the present invention provides a compound of formula IV-c:

wherein each of Ring A, R v , R y and R x is as defined above and described herein.

[00205] In some embodiments of formula IV-c, R x is C 1-6 aliphatic. In some embodiments, R x is optionally substituted methyl. In some emodiments, R x is optionally substituted ethyl. In some embodiments, R x is -CH 3 . In some embodiments, R x is -CD 3 . In some embodiments, R x is ethyl (i.e., -CH 2 CH 3 ). In some embodiments, R x is propyl (for example, cyclopropyl). In some embodiments, R x is isopropyl. In some embodiments, R x is butyl (for example, n-butyl, sec- butyl, tert-butyl or cyclobutyl). In some embodiemtns, R x is pentyl (for example, n-pentyl, isopentyl, neopentyl, etc.). In some embodiments R x is hexyl.

[00206] In some embodiments of formula IV-c, R x is C 1-6 aliphatic optionally substituted with a group selected from–OH, -C(O)NH 2 , or an optionally substituted 6-membered heterocyclic ring.

[00207] In some embodiments of formula IV-c, R x is selected from a 4-6 membered carbocyclic ring or a C 1-4 straight or branched chain aliphatic optionally substituted with a 3-6 membered saturated or partially unsaturated carbocyclic ring or a 5-6 membered heterocyclic ring having 1-4 heteroatoms independently selected from–N(R ^ )-, oxygen or sulfur; wherein R ^ is C 1-6 aliphatic.

[00208] In some embodiments, the present invention provides a compound of formula IV-d:

wherein each of Ring A, R v , R y and R x is as defined above and described herein.

[00209] In some embodiments, the present invention provides a compound of formula IV-e:

wherein t is 1, 2 or 3 and each of Ring A, R v , R y and R° is as defined above and described herein.

[00210] In some embodiments, the present invention provides a compound of formula IV-f:

wherein t is 1, 2 or 3 and each of Ring A, R v , R y and R° is as defined above and described herein.

[00211] In some embodiments, the present invention provides a compound of formula IV-g:

wherein:

t is 1 or 2;

R x is C 1-4 straight or branched chain aliphatic; and

each of R v and R y is as defined above and described herein.

[00212] In some embodiment the present invention provides a compound of formula IV-h:

wherein t is 1 or 2 and each of Ring A, R v , R y and R° is as defined above and described herein.

[00213] In some embodiment the present invention provides a compound of formula IV-i:

wherein t is 1 or 2 and each of Ring A, R v , R y and R° is as defined above and described herein.

[00214] In some embodiments, the present invention provides a compound of formula IV-j:

wherein each of Ring A, Ring B, R v and R y is as defined above and described herein.

[00215] In some embodiments of formula IV-j, Ring B is a 5-7 membered heterocyclo ring having one–N(CH 2 R°)-, wherein R° is as defined above and described herein.

[00216] In some embodiments of formula IV-j, Ring B is a 5-7 membered heterocyclo ring having one–N(CH(R°) 2 )-, wherein R° is as defined above and described herein.

[00217] In some embodiments of formula IV-j, Ring B is a 5-7 membered heterocyclo ring having one–NH- or one–N(R x )-; and R x is selected from a 4-6 membered carbocyclic ring, a 4-5 membered heterocyclic ring having one heteroatom independently selected from nitrogen, oxygen or sulfur, or a C 1-4 straight or branched chain aliphatic optionally substituted with - (CH 2 ) 0-4 OH, -(CH 2 ) 0-4 C(O)NH 2 , a 3-6 membered saturated or partially unsaturated carbocyclic ring, or a 4-6 membered heterocyclic ring having 1-4 heteroatoms independently selected from– N(R ^ )-, oxygen or sulfur, wherein R ^ is C 1-6 aliphatic.

[00218] In some embodiments, the present invention provides a compound of formula IV-k, IV-l or IV-m:

IV-k

wherein t is 1 or 2 and each of Ring A, R v , R y and R x is as defined above and described herein.

[00219] In some embodiments of formula x is selected from–CH 3 , - CH(CH 3 ) 2 , -C(CH 3 ) 3 , -C(O)CH 3 , .

[00220] In some embodiments, the present invention provides a compound of formula V-a or V-

V-a

wherein each of R y and R° is as defined above and described herein.

[00221] In some embodiments, the present invention provides a compound of formula V-c:

wherein each of R y and R x is as defined above and described herein.

[00222] In some embodiments of formula V-c, R x is C 1-6 aliphatic optionally substituted with a group selected from–OH, -C(O)NH 2 , or a 6-membered heterocyclic ring.

[00223] In some embodiments of formula V-c, R x is C 1-6 aliphatic.

[00224] In some embodiments of formula V-c, R x is selected from a 4-6 membered carbocyclic ring or a C 1-4 straight or branched chain aliphatic optionally substituted with a 3-6 membered saturated or partially unsaturated carbocyclic ring or a 5-6 membered heterocyclic ring having 1-4 heteroatoms independently selected from–N(R ^ )-, oxygen or sulfur; wherein R ^ is C 1-6 aliphatic.

[00225] In some embodiments, the present invention provides a compound of formula V-d:

wherein each of R y and R x is as defined above and described herein.

[00226] In some embodiments, the present invention provides a compound of formula V-e:

wherein t is 1, 2 or 3 and each of R y and R° is as defined above and described herein.

[00227] In some embodiments, the present invention provides a compound of formula V-f:

wherein t is 1, 2 or 3 and each of R y and R° is as defined above and described herein.

[00228] In some embodiments, the present invention provides a compound of formula V-g:

wherein:

t is 1 or 2;

R x is C 1-4 straight or branched chain aliphatic; and

R y is as defined above and described herein.

[00229] In some embodiments, the present invention provides a compound of formula V-h:

wherein t is 1 or 2 and each of R y and R° is as defined above and described herein.

[00230] In some embodiments, the present invention provides a compound of formula V-i:

wherein t is 1 or 2 and each of R y and R° is as defined above and described herein.

[00231] In some embodiments, the present invention provides a compound of formula V-j:

wherein each of R y and Ring B is as defined above and described herein.

[00232] In some embodiments of formula V-j, Ring B is a 5-7 membered heterocyclo ring having one–N(CH 2 R°)-, wherein R° is as defined above and described herein.

[00233] In some embodiments of formula V-j, Ring B is a 5-7 membered heterocyclo ring having one–N(CH(R°) 2 )-, wherein R° is as defined above and described herein.

[00234] In some embodiments of formula V-j, Ring B is a 5-7 membered heterocyclo ring having one–NH- or one–N(R x )-; and R x is selected from a 4-6 membered carbocyclic ring, a 4-5 membered heterocyclic ring having one heteroatom independently selected from nitrogen, oxygen or sulfur, or a C 1-4 straight or branched chain aliphatic optionally substituted with - (CH 2 ) 0-4 OH, -(CH 2 ) 0-4 C(O)NH 2 , a 3-6 membered saturated or partially unsaturated carbocyclic ring, or a 4-6 membered heterocyclic ring having 1-4 heteroatoms independently selected from– N(R ^ )-, oxygen or sulfur, wherein R ^ is C 1-6 aliphatic.

[00235] In some embodiments, the present invention provides a compound of formula V-k, V- l or V-

wherein t is 1 or 2 and each of Ring A, R y and R x is as defined above and described herein.

[00236] In some embodiments of formul x is selected from–CH 3 , - CH(CH 3 ) 2 , -C(CH 3 ) 3 , -C(O)CH 3 , .

[00237] It will be appreciated that, when a formula described herein contains more than one R° (e.g., IV-b, IV-f, IV-i, IV-j, V-b, V-f, V-i, V-j, etc.), each R° is, independent of the other, as defined above and described herein. In some embodiments, each R° is the same. In some embodiments, each R° is different.

[00238] In certain embodiments of formulae IV-a, IV-b, IV-e, IV-f, IV-h, IV-i, IV-j, V-a, V- b, V-e, V-f, V-h, V-i and V-j, R° is hydrogen.

[00239] In certain embodiments, it will be appreciated that one or more nitrogen atoms in Ring B are basic nitrogen atoms. For example, it will be appreciated that the Ring B nitrogen atom in formulae IV-a, IV-b, IV-e, IV-f, IV-h, IV-i, V-a, V-b, V-e, V-f, V-h and V-i is a basic nitrogen atom. In some embodiments, the Ring B nitrogen atom in formulae IV-a, IV-b, IV-e, IV-f, IV-h, IV-i, IV-k, IV-l, IV-m, V-a, V-b, V-e, V-f, V-h, V-i, V-k, V-l and V-m is a basic nitrogen atom. In certain embodiments, Ring B comprises at least one basic nitrogen atom. In some embodiments, Ring B comprises one basic nitrogen atom. In some such embodiments, the basic nitrogen is a secondary nitrogen atom. That is, in some embodiments, the basic nitrogen atom in Ring B is not substituted. In some embodiments, the basic nitrogen is a tertiary nitrogen atom. That is, in some embodiments, Ring B comprises a basic nitrogen that is substituted with a moiety that does not substantially reduce or diminish its basicity. Such moieties include aliphatic groups and carbocyclic or heterocyclic rings.

[00240] In certain embodiments of formulae I, II-a, II-b, II-c, II-d, II-e, II-f, II-g, II-h, II-i, II-j, II-k, II-l, III-a, III-c, III-e, III-g, IV-c, IV-d, IV-g, IV-j, V-c, V-d, V-g and V-j, the Ring B nitrogen is a basic nitrogen. In certain embodiments of formulae I, II-a, II-b, II-c, II-d, II-e, II-f, II-g, II-h, II-i, II-j, II-k, II-l, III-a, III-c, III-e, III-g, III-i, III-k, III-m, III-n, III-o, IV-c, IV-d, IV-g, IV-j, IV-k, IV-l, IV-m, V-c, V-d, V-g, V-j, V-k, V-l and V-m, the Ring B nitrogen is a basic nitrogen. That is, in certain embodiments of formulae I, II-a, II-b, II-c, II-d, II-e, II-f, II-g, II-h, II-i, II-j, II-k, II-l, IV-j and V-j, the nitrogen atom in Ring B is either unsubstituted or is substituted with a moiety that does not substantially reduce or diminish its basicity. In certain embodiments of formulae III-a, III-c, III-e, III-g, IV-c, IV-d, IV-g, IV-j, V-c, V-d, V-g and V-j, the Ring B nitrogen is a basic nitrogen such that R x is a moiety which does not substantially reduce or diminish its basicity. In certain embodiments of formulae III-a, III-c, III-e, III-g, III-i, III-k, III-m, III-n, III-o, IV-c, IV-d, IV-g, IV-j, IV-k, IV-l, IV-m, V-c, V-d, V-g, V-j, V-k, V-l and V-m, the Ring B nitrogen is a basic nitrogen such that R x is a moiety which does not substantially reduce or diminish its basicity. [00241] In certain embodiments, the compound of formula I is selected from the compounds in Table 5:

Table

[00242] In certain embodiments, the present invention provides any compound depicted in Table 5, above, or a pharmaceutically acceptable salt thereof.

[00243] In certain embodiments, the present invention provides a compound selected from:

or a pharmaceutically acceptable salt thereof.

[00244] In certain embodiments, the present invention provides a compound selected from:

I -64 I-65

or a pharmaceutically acceptable salt thereof.

[00245] The activity of a compound of formula I, for example, as an inhibitor of BTK, or a mutant thereof, may be assayed in vitro, in vivo or in a cell line. In vitro assays include assays that determine inhibition of either the phosphorylation activity and/or the subsequent functional consequences, or ATPase activity of activated BTK, or a mutant thereof. Alternate in vitro assays quantitate the ability of the inhibitor to bind to BTK. Inhibitor binding may be measured by radiolabeling the inhibitor prior to binding, isolating the inhibitor/BTK complex and determining the amount of radiolabel bound. Alternatively, inhibitor binding may be determined by running a competition experiment where new inhibitors are incubated with BTK-kinase bound to known radioligands. Detailed conditions for assaying a compound utilized in this invention as an inhibitor of BTK-kinase or a mutant thereof, are set forth in the Examples below. 4. Uses, Formulation and Administration

Pharmaceutically Acceptable Compositions

[00246] Among other things, the present invention provides compositions comprising a compound of formula I, or a pharmaceutically acceptable salt or derivative thereof, and a pharmaceutically acceptable carrier, adjuvant, or vehicle. The amount of compound in compositions of this invention is such that is effective to measurably inhibit a protein kinase, particularly BTK, or a mutant thereof, in a biological sample or in a patient. In certain embodiments, a compound or composition of this invention is formulated for administration to a patient in need of such composition. The compounds and compositions, according to the methods of the present invention, may be administered using any amount and any route of administration effective for treating or lessening the severity of any disease or disorder described herein. Compounds of the invention are preferably formulated in dosage unit form for ease of administration and uniformity of dosage. The expression "dosage unit form" as used herein refers to a physically discrete unit of agent appropriate for the patient to be treated. It will be understood, however, that the total daily usage of the compounds and compositions of the present invention will be decided by the attending physician within the scope of sound medical judgment. The specific effective dose level for any particular patient or organism will vary from subject to subject, depending on a variety of factors, including the disorder being treated and the severity of the disorder; the activity of the specific compound employed; the specific composition employed and its route of administration; the species, age, body weight, sex and diet of the patient; the general condition of the subject; the time of administration; the rate of excretion of the specific compound employed; the duration of the treatment; drugs used in combination or coincidental with the specific compound employed, and the like.

[00247] Compositions of the present invention may be administered orally, parenterally, by inhalation or nasal spray, topically (e.g., as by powders, ointments, or drops), rectally, buccally, intravaginally, intraperitoneally, intracisternally or via an implanted reservoir, depending on the severity of the condition being treated. Preferably, the compositions are administered orally, intraperitoneally or intravenously. In certain embodiments, the compounds of the invention are administered orally or parenterally at dosage levels of about 0.01 mg/kg to about 50 mg/kg and preferably from about 1 mg/kg to about 25 mg/kg, of subject body weight per day, one or more times a day, to obtain the desired therapeutic effect.

[00248] The term "parenteral" as used herein includes subcutaneous, intravenous, intramuscular, intra-articular, intra-synovial, intrasternal, intrathecal, intrahepatic, intralesional and intracranial injection or infusion techniques. Sterile injectable forms of the compositions of this invention may be aqueous or oleaginous suspension. These suspensions may be formulated according to techniques known in the art using suitable dispersing or wetting agents and suspending agents. The sterile injectable preparation may also be a sterile injectable solution or suspension in a non-toxic parenterally acceptable diluent or solvent, for example as a solution in 1,3-butanediol. Among the acceptable vehicles and solvents that may be employed are water, Ringer’s solution and isotonic sodium chloride solution. In addition, sterile, fixed oils are conventionally employed as a solvent or suspending medium.

[00249] For this purpose, any bland fixed oil may be employed including synthetic mono- or di-glycerides. Fatty acids, such as oleic acid and its glyceride derivatives are useful in the preparation of injectables, as are natural pharmaceutically-acceptable oils, such as olive oil or castor oil, especially in their polyoxyethylated versions. These oil solutions or suspensions may also contain a long-chain alcohol diluent or dispersant, such as carboxymethyl cellulose or similar dispersing agents that are commonly used in the formulation of pharmaceutically acceptable dosage forms including emulsions and suspensions. Other commonly used surfactants, such as Tweens, Spans and other emulsifying agents or bioavailability enhancers which are commonly used in the manufacture of pharmaceutically acceptable solid, liquid, or other dosage forms may also be used for the purposes of formulation. [00250] Injectable formulations can be sterilized, for example, by filtration through a bacterial-retaining filter, or by incorporating sterilizing agents in the form of sterile solid compositions which can be dissolved or dispersed in sterile water or other sterile injectable medium prior to use.

[00251] In order to prolong the effect of a compound of the present invention, it is often desirable to slow the absorption of the compound from subcutaneous or intramuscular injection. This may be accomplished by the use of a liquid suspension of crystalline or amorphous material with poor water solubility. The rate of absorption of the compound then depends upon its rate of dissolution that, in turn, may depend upon crystal size and crystalline form. Alternatively, delayed absorption of a parenterally administered compound form is accomplished by dissolving or suspending the compound in an oil vehicle. Injectable depot forms are made by forming microencapsule matrices of the compound in biodegradable polymers such as polylactide- polyglycolide. Depending upon the ratio of compound to polymer and the nature of the particular polymer employed, the rate of compound release can be controlled. Examples of other biodegradable polymers include poly(orthoesters) and poly(anhydrides). Depot injectable formulations are also prepared by entrapping the compound in liposomes or microemulsions that are compatible with body tissues.

[00252] Pharmaceutically acceptable compositions of this invention may be orally administered in any orally acceptable dosage form including, but not limited to, capsules, tablets, aqueous suspensions or solutions. In such solid dosage forms the active compound may be admixed with at least one inert diluent such as sucrose, lactose or starch. Such dosage forms may also comprise, as is normal practice, additional substances other than inert diluents, e.g., lubricants and other tableting aids such a magnesium stearate and microcrystalline cellulose.When aqueous suspensions are required for oral use, the active ingredient is combined with emulsifying and suspending agents. If desired, certain sweetening, flavoring or coloring agents may also be added.

[00253] Solid dosage forms for oral administration include capsules, tablets, pills, powders, and granules. In such solid dosage forms, the active compound is mixed with at least one inert, pharmaceutically acceptable excipient or carrier such as sodium citrate or dicalcium phosphate and/or a) fillers or extenders such as starches, lactose, sucrose, glucose, mannitol, and silicic acid, b) binders such as, for example, carboxymethylcellulose, alginates, gelatin, polyvinylpyrrolidinone, sucrose, and acacia, c) humectants such as glycerol, d) disintegrating agents such as agar--agar, calcium carbonate, potato or tapioca starch, alginic acid, certain silicates, and sodium carbonate, e) solution retarding agents such as paraffin, f) absorption accelerators such as quaternary ammonium compounds, g) wetting agents such as, for example, cetyl alcohol and glycerol monostearate, h) absorbents such as kaolin and bentonite clay, and/or i) lubricants such as talc, calcium stearate, magnesium stearate, solid polyethylene glycols, sodium lauryl sulfate, and mixtures thereof. In the case of capsules, tablets and pills, the dosage form may also comprise buffering agents. The active compounds can also be in micro- encapsulated form with one or more excipients as noted above.

[00254] Solid compositions of a similar type may also be employed as fillers in soft and hard- filled gelatin capsules using such excipients as lactose or milk sugar as well as high molecular weight polyethylene glycols and the like. The solid dosage forms of tablets, dragees, capsules, pills, and granules can be prepared with coatings and shells such as enteric coatings (i.e. buffering agents) and other coatings well known in the pharmaceutical formulating art. They may optionally contain opacifying agents and can also be of a composition that they release the active ingredient(s) only, or preferentially, in a certain part of the intestinal tract, optionally, in a delayed manner. Examples of embedding compositions that can be used include polymeric substances and waxes.

[00255] Liquid dosage forms for oral administration include, but are not limited to, pharmaceutically acceptable emulsions, microemulsions, solutions, suspensions, syrups and elixirs. In addition to the active compounds, the liquid dosage forms may contain inert diluents commonly used in the art such as, for example, water or other solvents, solubilizing agents and emulsifiers such as ethyl alcohol, isopropyl alcohol, ethyl carbonate, ethyl acetate, benzyl alcohol, benzyl benzoate, propylene glycol, 1,3-butylene glycol, dimethylformamide, oils (in particular, cottonseed, groundnut, corn, germ, olive, castor, and sesame oils), glycerol, tetrahydrofurfuryl alcohol, polyethylene glycols and fatty acid esters of sorbitan, and mixtures thereof. Besides inert diluents, the oral compositions can also include adjuvants such as wetting agents, emulsifying and suspending agents, sweetening, flavoring, and perfuming agents.

[00256] Alternatively, pharmaceutically acceptable compositions of this invention may be administered in the form of suppositories for rectal or vaginal administration. These can be prepared by mixing the compounds of the present invention with suitable non-irritating excipients or carriers that are solid at room temperature but liquid at body (e.g. rectal or vaginal) temperature and therefore will melt in the rectum or vaginal cavity to release the active compound. Such materials include cocoa butter, a suppository wax (e.g., beeswax) and polyethylene glycols.

[00257] Pharmaceutically acceptable compositions of this invention may also be administered topically, especially when the target of treatment includes areas or organs readily accessible by topical application, including diseases of the eye, the skin, or the lower intestinal tract. Topical application for the lower intestinal tract can be effected in a rectal suppository formulation (see above) or in a suitable enema formulation.

[00258] Dosage forms for topical or transdermal administration of a compound of this invention include ointments, pastes, creams, lotions, gels, powders, solutions, sprays, inhalants or patches. The active component is admixed under sterile conditions with a pharmaceutically acceptable carrier and any needed preservatives or buffers as may be required. Ophthalmic formulations, ear drops, and eye drops are also contemplated as being within the scope of this invention. Additionally, the present invention contemplates the use of transdermal patches, which have the added advantage of providing controlled delivery of a compound to the body. Such dosage forms can be made by dissolving or dispensing the compound in the proper medium. Absorption enhancers can also be used to increase the flux of the compound across the skin. The rate can be controlled by either providing a rate controlling membrane or by dispersing the compound in a polymer matrix or gel.

[00259] For topical applications, provided pharmaceutically acceptable compositions may be formulated in a suitable ointment containing the active component suspended or dissolved in one or more carriers. Carriers for topical administration of compounds of this invention include, but are not limited to, mineral oil, liquid petrolatum, white petrolatum, propylene glycol, polyoxyethylene, polyoxypropylene compound, emulsifying wax and water. Alternatively, provided pharmaceutically acceptable compositions can be formulated in a suitable lotion or cream containing the active components suspended or dissolved in one or more pharmaceutically acceptable carriers. Suitable carriers include, but are not limited to, mineral oil, sorbitan monostearate, polysorbate 60, cetyl esters wax, cetearyl alcohol, 2-octyldodecanol, benzyl alcohol and water. [00260] For ophthalmic use, provided pharmaceutically acceptable compositions may be formulated as micronized suspensions in isotonic, pH adjusted sterile saline, or, preferably, as solutions in isotonic, pH adjusted sterile saline, either with or without a preservative such as benzylalkonium chloride. Alternatively, for ophthalmic uses, the pharmaceutically acceptable compositions may be formulated in an ointment such as petrolatum.

[00261] Pharmaceutically acceptable compositions of this invention may also be administered by nasal aerosol or inhalation. Such compositions are prepared according to techniques well- known in the art of pharmaceutical formulation and may be prepared as solutions in saline, employing benzyl alcohol or other suitable preservatives, absorption promoters to enhance bioavailability, fluorocarbons, and/or other conventional solubilizing or dispersing agents.

[00262] Most preferably, pharmaceutically acceptable compositions of this invention are formulated for oral administration. Uses of Compounds and Pharmaceutically Acceptable Compositions

[00263] Compounds and compositions described herein are generally useful for the inhibition of protein kinase activity of one or more enzymes, and in particular, BTK.

[00264] Protein tyrosine kinases are a class of enzymes that catalyze the transfer of a phosphate group from ATP or GTP to a tyrosine residue located on a protein substrate. A variety of cellular processes are promoted by these signals, including proliferation, carbohydrate utilization, protein synthesis, angiogenesis, cell growth, and cell survival. Bruton’s tyrosine kinase (BTK) [00265] Bruton’s tyrosine kinase (“BTK”), a member of TEC-kinases (e.g., TEC, BTK, ITK, RLK or BMX), is a key signaling enzyme expressed in all hematopoietic cell types except T lymphocytes and natural killer cells. BTK plays an essential role in the B-cell signaling pathway linking cell surface B-cell receptor (BCR) stimulation to downstream intracellular responses.

[00266] BTK is a key regulator of B-cell development, activation, signaling, and survival (Kurosaki, Curr Op Imm, 2000, 276-281; Schaeffer and Schwartzberg, Curr Op Imm 2000, 282- 288). In addition, BTK plays a role in a number of other hematopoietic cell signaling pathways, e.g., Toll like receptor (TLR) and cytokine receptor-mediated TNF-α production in macrophages, IgE receptor (Fc_epsilon_RI) signaling in mast cells, inhibition of Fas/APO-1 apoptotic signaling in B-lineage lymphoid cells, and collagen-stimulated platelet aggregation. See, e.g., C. A. Jeffries, et al., (2003), Journal of Biological Chemistry 278:26258-26264; N. J. Horwood, et al., (2003), The Journal of Experimental Medicine 197: 1603-1611 ; Iwaki et al. (2005), Journal of Biological Chemistry 280(48):40261 -40270; Vassilev et al. (1999), Journal of Biological Chemistry 274(3): 1646-1656, and Quek et al. (1998), Current Biology 8(20): 1137-1140.

[00267] Patients with mutations in BTK have a profound block in B cell development, resulting in the almost complete absence of mature B lymphocytes and plasma cells, severely reduced Ig levels and a profound inhibition of humoral response to recall antigens (reviewed in Vihinen et al (2000) Frontiers in Bioscience 5 : d917-928). Mice deficient in BTK also have a reduced number of peripheral B cells and greatly decreased serum levels of IgM and IgG3. BTK deletion in mice has a profound effect on B cell proliferation induced by anti-IgM, and inhibits immune responses to thymus-independent type II antigens (Ellmeier et al, J Exp Med 192: 1611- 1623 (2000)). BTK also plays a crucial role in mast cell activation through the high-affinity IgE receptor (Fc_epsilon_RI). BTK deficient murine mast cells have reduced degranulation and decreased production of proinflammatory cytokines following Fc_epsilon_RI cross-linking (Kawakami et al. Journal of Leukocyte Biology 65: 286-290).

[00268] BTK has been implicated in a number of disorders, including diabetes. BTK deficiency in non-obese diabetic mice dramatically protects against diabetes and improves B cell-related tolerance, as indicated by failure to generate autoantibodies to insulin (Kendall, et al. J. Immunol. 183: 6403-6412 (2009)). Modulation of BTK and improvement of B cell-related tolerance can therefore be used in treatment of diabetes, particularly T cell-mediated autoimmune diabetes, e.g. type I diabetes.

[00269] BTK is also implicated in various cancers. For example, BTK is upregulated in pancreatic cancer cells compared with normal pancreas cells, and BTK is also upregulated in chronic pancreatitis cells, which is sometimes a precursor to pancreatic cancer (Crnogorac- Jurcevic, et al. Gastroenterology 129: 1454-1463 (2005)). Due to the key role of BTK in regulation of B-cell development, activation, signaling, and survival, BTK is involved in many B cell-related cancers.

[00270] Provided compounds are inhibitors of BTK and are therefore useful for treating one or more disorders associated with activity of BTK. Thus, in some embodiments, the present invention provides a method for treating a BTK-mediated disorder comprising the step of administering to a patient in need thereof a compound of the present invention, or pharmaceutically acceptable composition thereof.

[00271] In some embodiments, the present invention provides a method of inhibiting a B cell receptor comprising contacting a cell with a compound of formula I. In some embodiments, the present invention provides a method of inhibiting BTK comprising contacting a cell with a compound of formula I.

[00272] As used herein, the term“BTK-mediated” disorders or conditions as used herein means any disease or other deleterious condition in which BTK, or a mutant thereof, is known to play a role. Accordingly, another embodiment of the present invention relates to treating or lessening the severity of one or more diseases in which BTK, or a mutant thereof, is known to play a role. Specifically, the present invention relates to a method of treating or lessening the severity of a disease or condition selected from a proliferative disorder or an autoimmune disorder, wherein said method comprises administering to a patient in need thereof a compound or composition according to the present invention. In some embodiments, the present invention provides a method of treating or lessening the severity of a B cell-mediated disorder, comprising administering to a patient in need thereof a compound of formula I. In some embodiments, the present invention provides a method of treating or lessening the severity of a BTK-mediated disorder, comprising administering to a patient in need thereof a compound of formula I.

[00273] In some embodiments, the present invention provides a method of inhibiting a T cell receptor comprising contacting a cell with a compound of formula I.

[00274] In some embodiments, the present invention provides a method of treating or lessening the severity of a T cell-mediated disorder, comprising administering to a patient in need thereof a compound of formula I.

[00275] In certain embodiments, the present invention provides methods of treating or lessening the severity of one or more of a proliferative disease or disorder (e.g., cancer), an autoimmune disease or disorder, an inflammatory disease or disorder or a fibrotic condition. In particular embodiments, the compounds and compositions, according to the present invention, are useful in treating or lessening the severity of an autoimmune disease or disorder and/or an inflammatory disease or disorder.

[00276] In some embodiments, the present invention provides a method for treating or lessening the severity of an autoimmune disease selected from inflammatory bowel disease (IBD), Crohn's disease, ulcerative colitis, arthritis (including inflammatory arthritis), lupus, rheumatoid arthritis, psoriatic arthritis, osteoarthritis, Still's disease, juvenile arthritis, myasthenia gravis, Hashimoto's thyroiditis, Ord's thyroiditis, Graves' disease, Sjogren's syndrome (including anterior scleritis), multiple sclerosis, Guillain-Barre syndrome, mixed connective tissue disease, neuromyelitis optica (Devic’s disease), acute disseminated encephalomyelitis, Addison's disease, opsoclonus myoclonus syndrome, ankylosing spondylitis, non-radiographic spondyloarthritis, antiphospholipid antibody syndrome, aplastic anemia, autoimmune hepatitis, Goodpasture’s syndrome, Henoch-Schöenlein purpura, membranous optic neuritis, scleroderma, morphea, primary biliary cirrhosis, sclerosing cholangitis, Reiter's syndrome, Takayasu's arteritis, temporal arteritis, warm autoimmune hemolytic anemia, antineutrophil cytoplasmic Ab (ANCA)- associated vasculitis (including Churg-Strauss syndrome, microscopic polyangiitis, mixed cryoglobulinemia and Wegener's granulomatosis), osteoporosis, palmoplantar pustulosis, Parkinson’s disease, paroxysmal nocturnal hemoglobinuria, psoriasis, Parsonage-Turner’s syndrome, perivasculitis, pemphigus follaceus, alopecia universalis, molluscum contagiosum, Morvan’s syndrome, Muckle-Wells syndrome, multifocal motor neuropathy, multiple organ dysfunction syndrome, myeloperoxidase deficiency, nasal polyps, Nezelof syndrome, Behcet's disease, chronic fatigue, POEMS syndrome, Proteus syndrome, polymyalgia rheumatic, post- poliomyelitis syndrome, post-surgical adhesions, post-transplant lymphoproliferation, post- stroke inflammation, premature graft loss (transplant rejection), primary biliary cirrhosis, progesterone dermatitis, Parry-Romberg syndrome, progressive massive fibrosis, NASH, prostatitis, pruritis, Rasmussen’s encephalitis, reperfusion syndrome, pyoderma gangrenosum, sarcoidosis, Schnitzler synderome, seborrheic dermatitis, scleritis, episcleritis, rheumatic fever, serum sickness, Sweet’s syndrome, Susac’s syndrome, synovitis, systemic inflammatory response syndrome, Wiskott-Aldrich syndrome, WHIM syndrome, undifferentiated connective tissue disease, sero-negative arthritis, Tolosa-Hunt syndrome, Wolf-Parkinson White syndrome, thrombosis, tendonitis, toxic epidermal necrolysis, tropical spastic paraparesis, Sprue, transient ischemic attack, dysautonomia, endometriosis, osteodystrophia deformans (Paget’s disease of bone), interstitial cystitis, neuromyotonia, vulvodynia, systemic lupus erythematosus (SLE) (including lupus nephritis, neuropsychiatric and childhood-onset SLE), vasculitis, idiopathic thrombocytopenic purpura (ITP) (also known as immune thrombocytopenia or primary immune thrombocytopenia) (including chronic idiopathic thrombocytopenic purpura), cutaneous lupus erythematosus, cytokine storm, cystic fibrosis, dermatitis herpetiformis, diabetic neuropathies, diabetic macular edema, diabetic retinopathy, autoimmune thyroiditis, autoimmune Cushings syndrome, systemic sclerosis, diffuse cerebral sclerosis of Schilder, Lyme neuroborreliosis, DiGeorge syndrome, Viking disease, Dressler syndrome, sicca syndrome, Sjögren’s syndrome, autoimmune hyperlipidemia, autoimmune pancreatitis, autoimmune orchitis, autoimmune oophoritis, autoimmune hypophysitis, autoimmune hypoparathyroidism, autoimmune inner ear disease, relapsing polychondritis, autoimmune lymphoproliferative syndrome, autoimmune metaplastic atrophic gastritis, autoimmune neutropenia, autoimmune peripheral neuropathy, autosomal recessive hyper IgM syndrome, autosplenectomy, endocarditis, Fanconi’s anemia, Felty syndrome, familial Mediterranean fever, fibrodyspalsis ossificans progressive, progeria, Friedreich’s ataxia, clostria difficile gastroenteritis, focal segmental glomerulosclerosis, Evan’s syndrome, epidermolysis bullosa acquisita, eosinophilic pneumonia, eosinophilic gastroenteritis, eosinophilic fasciitis, eosinophilic esophagitis, enthesitis related arthritis, enterohepatitis, endometrosis, Duchenne muscular dystrophy, giant cell arteritis, glaucoma, gout, Goodpasture syndrome, Guillian Barre syndrome, heavy chain disease, light chain disease, Heerfordt’s syndrome, hepatic fibrosis, hepatitis A, hepatitis B, hepatitis C, Hepatitis D, hereditary angioedema, histiocytosis, HIV associated arteritis, Hughes-Stovin syndrome, hyper IgE syndrome, hypercholesterolemia, hyperhydrosis, hydradenitis suppurativa, autoimmune gastritis, pernicious anemia, celiac disease, membranous glomerulonephropathy, pemphigus vulgaris, bullous pemphigoid, encephalitis, myocarditis, nephritis, osteomyelitis, myositis, hepatitis, gastritis, dermatitis, pancreatitis, cholecystitus, irritable bowel syndrome, Barrett’s esophagus, beta thalassemia, Bickerstaff’s encephalitis, Blau syndrome, blepharitis, blepharoconjunctivitis, uveitis, retinitis, cataracts, Buerger’s disease, bronchiolitis obliterans, bronchiolitis, C3 nephropathy, hypogammaglobulinemia, hypersenstitivity angiitis, Waldenstrom’s macroglobulinemia, idiopathic CD4 lymphopenia, Sjogren’s disease, autoimmune polyglandular disease (also known as autoimmune polyglandular syndrome), autoimmune alopecia, glomerulonephritis, IgA nephropathy, dermatomyositis (including juvenile dermatomyositis), autoimmune hemolytic and thrombocytopenic states, atherosclerosis, Parkinson’s disease, Alzheimer’s disease, diabetes (e.g., type I diabetes), Waldenstrom macroglobulinemia, degenerative joint disease, chronic obstructive pulmonary disease, chronic inflammatory demyelinating polyneuropathy, central serous retinopathy, cerebral vasospasm, Chediak Higashi syndrome, chemoprotection, chondrocalcinosis, vitiligo, celiac disease, gluten enteropathy, autoimmune hypopituitarism, autoimmune uveitis, sympathetic ophthalmia, Lambert-Eaton Syndrome, Berger’s disease (IgA nephropathy), IgM nephropathy, Immune mediated nephropathy, polyarteritis nodosa, chronic recurrent multifocal osteomyelitis, Schmidt’s syndrome, chronic kidney disease, chronic allograft nephropathy, chronic fatigue syndrome, fibromyalgia, granulomatous disease, and antiphospholipid syndrome.

[00277] In some embodiments, the autoimmune disease is rheumatoid arthritis. Patients with rheumatoid arthritis can be classified into distinct subsets, including lymphoid, myeloid and fibroid subsets. Dennis et al.,“Synovial phenotypes in rheumatoid arthritis correlate with response to biologic therapeutics,” Arthritis Research & Therapy 2014, 16:R90, 1-18; Setiadi, et. al,“Synovial Subset-Derived Baseline Serum Biomarkers Segregate Rheumatoid Arthritis Patients into Subgroups with Distinct Serum Protein and Clinical Characteristics,” Abstract Number 1307, 2013 ACR/ARHP Annual Meeting. In some embodiments, the present invention provides a method of treating one or more of the lymphoid, myeloid and fibroid subsets of rheumatoid arthritis, comprising administering to a patient in one or more subsets a compound of formula I. Such subsets are classified by the presence of certain biomarkers which are detailed in Dennis et al.,“Synovial phenotypes in rheumatoid arthritis correlate with response to biologic therapeutics,” Arthritis Research & Therapy 2014, 16:R90, 1-18; Setiadi, et. al,“Synovial Subset-Derived Baseline Serum Biomarkers Segregate Rheumatoid Arthritis Patients into Subgroups with Distinct Serum Protein and Clinical Characteristics,” Abstract Number 1307, 2013 ACR/ARHP Annual Meeting, each of which is hereby incorporated by reference.

[00278] In some embodiments, the present invention provides a method for treating or lessening the severity of rheumatoid arthritis in a patient, wherein the patient has one or more biomarkers for the lymphoid subset of rheumatoid arthritis, comprising administering to the patient a compound of formula I. Such biomarkers for the lymphoid subset of rheumatoid arthritis include, for example, high CXCL13 and low soluble ICAM1 expression levels. In some embodiments, the present invention provides a method for treating or lessening the severity of rheumatoid arthritis in a patient, wherein the patient has one or more biomarkers for the myeloid subset of rheumatoid arthritis, comprising administering to the patient a compound of formula I. In some embodiments, the present invention provides a method for treating or lessening the severity of rheumatoid arthritis in a patient, wherein the patient has one or more biomarkers for the fibroid subset of rheumatoid arthritis, comprising administering to the patient a compound of formula I. In some embodiments, the present invention provides a method for treating or lessening the severity of at least one subset of rheumatoid arthritis, comprising administering to the patient a compound of formula I. In some embodiments, the subset of rheumatoid arthritis is lymphoid. In some embodiments, the subset of rheumatoid arthritis is myeloid. In some embodiments, the subset of rheumatoid arthritis is fibroid.

[00279] In some embodiments, the present invention provides a method for treating or lessening the severity of a disease or disorder selected from rejection of transplanted organs or tissues, Acquired Immunodeficiency Syndrome (AIDS, also known as HIV), pelvic inflammatory disease, urethritis, skin sunburn, acne, sinusitis, pneumonitis, meningitis, enteritis, gingivitis, appendicitis, cicatricial pemphagoid, Cogan’s syndrome, CREST syndrome, condylomata accuminata, common variable immunodeficiency, complex regiona pain syndrome, agammaglobulinemia, allergy, tissue graft rejection, hyperacute rejection of transplanted organs, chronic obstructive pulmonary disease (COPD), septic shock, atopic dermatitis, mycosis fungoides, acute inflammatory responses (such as acute respiratory distress syndrome and ischemia/reperfusion injury).

[00280] In some embodiments, the present invention provides a method for treating or lessening the severity of one or more diseases and conditions associated with BTK, wherein the disease or condition is selected from heteroimmune conditions or diseases, which include, but are not limited to graft versus host disease, transplantation, transfusion, anaphylaxis, allergies (e.g., allergies to plant pollens, latex, drugs, foods, insect poisons, animal hair, animal dander, dust mites, or cockroach calyx), type I hypersensitivity, allergic conjunctivitis, allergic rhinitis, contact dermatitis and atopic dermatitis.

[00281] In some embodiments, the present invention provides a method for treating or lessening the severity of an inflammatory disease (i.e., diseases with an inflammatory component) selected from asthma, Dego’s disease, inflammatory bowel disease (including Crohn's disease and ulcerative colitis), autoimmune enteropathy, appendicitis, blepharitis, bronchiolitis, bronchitis, bursitis, cerebral malaria, cervicitis, cholangitis, cholecystitis, colitis, conjunctivitis, cystitis, dacryoadenitis, dermatitis, dermatomyositis, encephalitis, acute hemorrhagic leukoencephalitis, acute radiation syndrome, age-related macular degeneration, endocarditis, endometritis, enteritis, enterocolitis, epicondylitis, epididymitis, fasciitis, fibrositis, gastritis, gastroenteritis, hepatitis, hidradenitis suppurativa, human immunodeficiency virus (HIV)/acquired immunodeficiency syndrome (AIDS), laryngitis, mastitis, meningitis, myelitis myocarditis, myositis, nephritis, oophoritis, orchitis, osteitis, otitis, pancreatitis, parotitis, pericarditis, peritonitis, pharyngitis, pleuritis, phlebitis, pneumonitis, pneumonia, polymyositis, proctitis, prostatitis, pyelonephritis, rhinitis, salpingitis, sepsis, sinusitis, stomatitis, allergic rhinoconjunctivitis, alopecia areata, alopecia totalis, synovitis, tendonitis, tonsillitis, uveitis, vaginitis, vasculitis, or vulvitis, dermatitis, contact dermatitis, eczema, atopic syndrome, urticaria, rosacea, scarring, atopic dermatitis, allergy, chronic graft rejection, Henoch-Schonlein purpura, immunoglobulin A nephropathy, interstitial lung disease, interstitial pulmonary fibrosis, alpha 1 antitrypsin deficiency, amyloidosis, amyotrophic lateral sclerosis (ALS), polymyositis, ulcerative colitis and cryoglobulinemia, atherosclerosis, myocardial infarction and thrombosis.

[00282] In some embodiments, the present invention provides a method for treating or lessening the severity of one or more diseases and conditions associated with BTK, wherein the disease or condition is selected from a cancer.

[00283] In one embodiment, the cancer is a B-cell proliferative disorder, e.g., diffuse large B cell lymphoma, follicular lymphoma, chronic lymphocytic lymphoma, chronic lymphocytic leukemia, small lymphocytic lymphoma, acute lymphocytic leukemia, B-cell prolymphocytic leukemia, lymphoplasmacytic lymphoma/Waldenstrom macroglobulinemia, splenic marginal zone lymphoma, multiple myeloma (also known as plasma cell myeloma), non-Hodgkin’s lymphoma, Hodgkin’s lymphoma, plasmacytoma, extranodal marginal zone B cell lymphoma, nodal marginal zone B cell lymphoma, mantle cell lymphoma, mediastinal (thymic) large B cell lymphoma, intravascular large B cell lymphoma, primary effusion lymphoma, Burkitt lymphoma/leukemia, or lymphomatoid granulomatosis. In some embodiments, the cancer is T- cell proliferative disorder, e.g., extranodal T cell lymphoma, cutaneous T cell lymphomas (inclduing Sezary syndrome and Mycosis fungoides, also known as Alibert-Bazen syndrome), anaplastic large cell lymphoma, angioimmunoblastic T cell lymphoma, peripheral T cell lymphoma, peripheral T cell lymphoma not otherwise specified (PTCL-NOS), adult T cell leukemia/lymphoma (ATLL), blastic NK-cell lymphoma, enteropathy-type T cell lymphoma, hematosplenic gamma-delta T-cell lymphoma, lymphoblastic lymphoma, nasal NK/T cell lymphomas, or treatment-related T cell lymphomas. In some embodiments, the cancer is breast cancer, prostate cancer, or cancer of the mast cells (e.g., mastocytoma, mast cell leukemia, mast cell sarcoma, systemic mastocytosis). In one embodiment, the cancer is bone cancer. In another embodiment, the cancer is of other primary origin and metastasizes to the bone. In certain embodiments, the cancer is colorectal cancer or pancreatic cancer.

[00284] In some embodiments, the present invention provides a method for treating or lessening the severity of a proliferative disease selected from B-cell proliferative disorder, e.g., diffuse large B cell lymphoma (DLBCL), follicular lymphoma, chronic lymphocytic lymphoma, chronic lymphocytic leukemia, small lymphocytic leukemia, small lymphocytic lymphoma, B- cell prolymphocytic leukemia, lymphoplasmacytic lymphoma/Waldenstrom macroglobulinemia, splenic marginal zone lymphoma, plasma cell myeloma, plasmacytoma, extranodal marginal zone B cell lymphoma, extranodal marginal zone B cell lymphoma of mucosa-associated lymphoid tissue (MALT), nodal marginal zone B cell lymphoma, mantle cell lymphoma, mediastinal (thymic) large B cell lymphoma, intravascular large B cell lymphoma, primary effusion lymphoma, burkitt lymphoma/leukemia, hairy cell leukemia, heavy chain diseases (e.g., alpha heavy chain disease, gamma heavy chain disease, mu heavy chain disease), primary cutaneous B cell lymphoma, ALK+ large cell lymphoma, Castleman’s disease, lymphomatoid granulomatosis, breast cancer, prostate cancer, cancer of the mast cells (e.g., mastocytoma, mast cell leukemia, mast cell sarcoma, systemic mastocytosis), multiple myeloma, colorectal cancer, pancreatic cancer, B-cell prolymphocytic leukemia, solitary plasmacytoma of bone, extraosseous plasmacytoma, primary cutaneous follicle center lymphoma, primary mediastinal (thymic) large B-cell lymphoma, intravascular large B-cell lymphoma, primary cutaneous DLBCL and plasmablastic lymphoma.

[00285] In some embodiments, the present invention provides a method for treating or lessening the severity of a proliferative disease selected from T-cell proliferative disorder, e.g., extranodal T cell lymphoma, cutaneous T cell lymphomas (inclduing Sezary syndrome and Mycosis fungoides, also known as Alibert-Bazen syndrome), anaplastic large cell lymphoma, angioimmunoblastic T cell lymphoma, peripheral T cell lymphoma, peripheral T cell lymphoma not otherwise specifided (PTCL-NOS), adult T cell leukemia/ lymphoma (ATLL), blastic NK- cell lymphoma, enteropathy-type T cell lymphoma, hematosplenic gamma-delta T-cell lymphoma, lymphoblastic lymphoma, nasal NK/T cell lymphomas, or treatment-related T cell lymphomas. [00286] In some embodiments, the present invention provides a method for treating or lessening the severity of one or more diseases or conditions associated with BTK including diseases of the bone and joints including, without limitation, rheumatoid arthritis, seronegative spondyloarthropathies (including ankylosing spondylitis, psoriatic arthritis and Reiter’s disease), bone resorption disorders (including Paget’s disease of bone, bone changes secondary to cancer, such as occur in myeloma and metastases from breast cancer, etc.), Behcet’s disease, Sjogren’s syndrome, systemic sclerosis, osteoporosis, bone cancer, and bone metastasis.

[00287] In some embodiments, the present invention provides a method for treating or lessening the severity of one or more diseases and conditions associated with BTK, wherein the disease or condition is selected from a thromboembolic disorder, e.g., myocardial infarct, angina pectoris (including unstable angina), reocclusion after angioplasty, restenosis after angioplasty, reocclusion after aortocoronary bypass, restenosis after aortocoronary bypass, stroke, transitory ischemia, a peripheral arterial occlusive disorder, pulmonary embolism, or deep venous thrombosis.

[00288] In some embodiments, the present invention provides a method for treating or lessening the severity of one or more diseases and conditions associated with BTK, including infectious and noninfectious inflammatory events and autoimmune and other inflammatory diseases. These autoimmune and inflammatory diseases, disorders, and syndromes include inflammatory pelvic disease, urethritis, skin sunburn, sinusitis, pneumonitis, encephalitis, meningitis, myocarditis, nephritis, osteomyelitis, myositis, hepatitis, gastritis, enteritis, dermatitis, gingivitis, appendicitis, pancreatitis, cholocystitus, agammaglobulinemia, psoriasis, allergy, Crohn’s disease, irritable bowel syndrome, ulcerative colitis, Sjogren’s disease, tissue graft rejection, hyperacute rejection of transplanted organs, asthma, allergic rhinitis, chronic obstructive pulmonary disease (COPD), autoimmune polyglandular disease (also known as autoimmune polyglandular syndrome), autoimmune alopecia, pernicious anemia, glomerulonephritis, dermatomyositis, multiple sclerosis, scleroderma, vasculitis, autoimmune hemolytic and thrombocytopenic states, Goodpasture’s syndrome, atherosclerosis, Addison’s disease, Parkinson’s disease, Alzheimer’s disease, type I diabetes, septic shock, systemic lupus erythematosus (SLE), rheumatoid arthritis, psoriatic arthritis, juvenile arthritis, osteoarthritis, chronic idiopathic thrombocytopenic purpura, Waldenstrom macroglobulinemia, myasthenia gravis, Hashimoto’s thyroiditis, immunodeficiency, centromeric instability, and facial anomalies (ICF syndrome), atopic dermatitis, degenerative joint disease, vitiligo, inclusion body myositis, inflammatory pain, IPEX syndrome, interstitial cystitis, irritable bowel syndrome, Isaac’s syndrome, Kawasaki disease, keloids, Kimura disease, Lambert-Eaton syndrome, myasthenia gravis, leukocyte adhesion deficiency, lichen planus, lichen sclerosis, linear IgA disease, mastocytosis, mediastinal fibrosis, Meniere’s disease, meningitis, mesangiocapillary glomerulonephritis, microscopic colitis, Miller-Fisher syndrome, pollinosis (also known as hay fever), autoimmune achlorhydria, idiopathic adrenal atrophy, Raynauds, thyrotoxicosis, autoimmune hypopituitarism, Guillain-Barre syndrome, Behcet’s disease, scleraderma, mycosis fungoides, acute inflammatory responses (such as acute respiratory distress syndrome and ischemia/reperfusion injury), and Graves’ disease. In certain embodiments, the diabetes is type I diabetes.

[00289] In some embodiments, the present invention provides a method for treating or lessening the severity of one or more diseases and conditions associated with BTK, selected from rheumatoid arthritis, multiple sclerosis, B-cell chronic lymphocytic leukemia, acute lymphocytic leukemia, hairy cell leukemia, non-Hodgkin’s lymphoma, Hodgkin’s lymphoma, multiple myeloma, bone cancer, bone metastasis, osteoporosis, irritable bowel syndrome, Crohn’s disease, lupus and renal transplant.

[00290] In some embodiments, the present invention provides a method for treating or lessening the severity of a skin disorder selected from bullous skin diseases (e.g., pemphigus vulgaris including childhood/juvenile pemphigus vulgaris, pemphigus foliaceus, paraneoplastic pemphigus, bullous pemphigoid, mucous membrane pemphigoid and epidermolysis bullosa aquisita).

[00291] In some embodiments, the present invention provides a method for treating or lessening the severity of a platelet disorder, for example, abberant platelet aggregation. See, for example, Liu et al., Blood 2006, 108: 2596-2603, incorporated by reference in its entirety.

[00292] In some embodiments, the present invention provides a method for treating or lessening the severity of a fibrotic condition.

[00293] In certain embodiments, the present invention provides a method for the treatment of a disease or disorder selected from an accumulation of excess extracellular matrix; systemic sclerosis/scleroderma, lupus nephritis, connective tissue disease, wound healing, surgical scarring, spinal cord injury, CNS scarring, acute lung injury, pulmonary fibrosis (such as idiopathic pulmonary fibrosis and cystic fibrosis), chronic obstructive pulmonary disease, adult respiratory distress syndrome, acute lung injury, drug-induced lung injury, glomerulonephritis, chronic kidney disease (including diabetic nephropathy), hypertension-induced nephropathy, alimentary track or gastrointestinal fibrosis, renal fibrosis, hepatic or biliary fibrosis, liver fibrosis (nonalcoholic steatohepatitis, Hepatitis C/hepatocellular carcinoma, etc.), cirrhosis (such as primary biliary cirrhosis and cirrhosis due to fatty liver disease (alcoholic and nonalcoholic steatosis)), radiation-induced fibrosis (such as head and neck, gastrointestinal and pulmonary), primary sclerosing cholangitis, restenosis, cardiac fibrosis (such as endomyocardial fibrosis and atrial fibrosis), opthalmic scarring, fibrosclerosis, fibrotic cancers, fibroids, fibroma, fibroadenomas, fibrosarcomas, transplant arteriopathy, keloid, mediastinal fibrosis, myelofibrosis, retroperitoneal fibrosis, progressive massive fibrosis, nephrogenic systemic fibrosis, Crohn’s disease, arthrofibrosis, adhesive capsulitis and other conditions such as Dupuytren’s Disease, colorectal cancer, tumor metastasis, Myc-mediated solid tumors (such as colon cancer, prostate cancer, myeloma, lymphoma), metabolic disease (such as Type 2 diabetes), metabolic myopathies (such as glycogen and lipid storage disorders), cachexia, hypertension, ankylosing spondylitis, demyelination in multiple sclerosis, cerebral angiopathy and Alzheimer's disease, wherein said method comprises administering to a patient in need thereof a compound of the present invention, or pharmaceutically acceptable composition thereof.

[00294] In some embodiments, the disease or disorder being treated is a fibrotic condition selected from systemic sclerosis/scleroderma, lupus nephritis, connective tissue disease, wound healing, surgical scarring, spinal cord injury, CNS scarring, acute lung injury, pulmonary fibrosis, chronic obstructive pulmonary disease, adult respiratory distress syndrome, acute lung injury, drug-induced lung injury, glomerulonephritis, chronic kidney disease, hypertension- induced nephropathy, alimentary track or gastrointestinal fibrosis, renal fibrosis, hepatic or biliary fibrosis, liver fibrosis, cirrhosis, radiation-induced fibrosis, primary sclerosing cholangitis, restenosis, cardiac fibrosis, opthalmic scarring, fibrosclerosis, fibrotic cancers, fibroids, fibroma, fibroadenomas, fibrosarcomas, transplant arteriopathy and keloid.

[00295] In some embodiments, the disease or disorder being treated is selected from lupus nephritis, connective tissue disease, wound healing, surgical scarring, spinal cord injury, CNS scarring, acute lung injury, pulmonary fibrosis, drug-induced lung injury, chronic kidney disease, hypertension-induced nephropathy, alimentary track or gastrointestinal fibrosis, renal fibrosis, hepatic or biliary fibrosis, liver fibrosis, cirrhosis, radiation-induced fibrosis, primary sclerosing cholangitis, cardiac fibrosis, ophthalmic scarring, fibrosclerosis, fibrotic cancers, fibroids, fibroma, fibroadenomas, fibrosarcomas, transplant arteriopathy, keloid, mediastinal fibrosis, myelofibrosis, retroperitoneal fibrosis, progressive massive fibrosis, nephrogenic systemic fibrosis, arthrofibrosis, adhesive capsulitis, Dupuytren’s Disease, tumor metastasis, Myc- mediated solid tumors, metabolic myopathies, cachexia, hypertension, demyelination in multiple sclerosis, and cerebral angiopathy.

[00296] In some embodiments, the disease or disorder being treated is selected from lupus nephritis, connective tissue disease, wound healing, surgical scarring, spinal cord injury, CNS scarring, acute lung injury, pulmonary fibrosis, drug-induced lung injury, chronic kidney disease, hypertension-induced nephropathy, alimentary track or gastrointestinal fibrosis, renal fibrosis, hepatic or biliary fibrosis, liver fibrosis, radiation-induced fibrosis, cardiac fibrosis, ophthalmic scarring, fibrosclerosis, fibrotic cancers, fibroids, fibroma, fibroadenomas, fibrosarcomas, transplant arteriopathy, keloid, mediastinal fibrosis, myelofibrosis, retroperitoneal fibrosis, progressive massive fibrosis, nephrogenic systemic fibrosis, arthrofibrosis, adhesive capsulitis, Dupuytren’s Disease, Myc-mediated solid tumors, metabolic myopathies, cachexia, hypertension, demyelination in multiple sclerosis, and cerebral angiopathy.

[00297] In some embodiments, the fibrotic condition is pulmonary fibrosis. In certain embodiments, the pulmonary fibrosis is selected from idiopathic pulmonary fibrosis and cystic fibrosis. Idiopathic pulmonary fibrosis (IPF), (also called cryptogenic fibrosing alveolitis) is a fibrotic condition seen most commonly in patients between 40 and 60 years of age. Patients with IPF typically present with progressive shortness of breath and a dry cough. Pulmonary function tests show a restrictive pattern with reduced lung volumes and impairment in gas exchange. Idiopathic pulmonary fibrosis has a poor prognosis, with a mean survival of 4 years from the onset of symptoms.

[00298] Pathologically, the large majority of patients with IPF show typical histological findings of usual interstitial pneumonia and/or desquamative interstitial pneumonia. The earliest histological abnormality in IPF is alveolitis with increased cellularity of the alveolar walls. This inflammatory process can lead to progressive fibrosis. Alveolar wall inflammation and intra- alveolar macrophages in IPF indicate disease activity and are potentially reversible. Fibrosis and honeycombing are irreversible.

[00299] In some embodiments, chronic kidney disease is diabetic nephropathy.

[00300] In some embodiments, liver fibrosis is selected from nonalcoholic steatohepatitis, Hepatitis C/hepatocellular carcinoma.

[00301] In some embodiments, cirrhosis is selected from primary biliary cirrhosis and cirrhosis due to fatty liver disease (alcoholic and nonalcoholic steatosis).

[00302] In some embodiments, radiation-induced fibrosis is selected from head and neck, gastrointestinal and pulmonary fibrosis.

[00303] In some embodiments, cardiac fibrosis is selected from endomyocardial fibrosis and atrial fibrosis.

[00304] In some embodiments, Myc-mediated solid tumors selected from colon cancer, prostate cancer, myeloma, lymphoma.

[00305] In some embodiments, the metabolic disease is Type 2 diabetes.

[00306] In some embodiments, the metabolic myopathy is selected from glycogen and lipid storage disorders.

EXEMPLIFICATION [00307] As depicted in the Examples below, in certain exemplary embodiments, compounds are prepared according to the following general procedures. It will be appreciated that, although the general methods depict the synthesis of certain compounds of the present invention, the following general methods, and other methods known to one of ordinary skill in the art, can be applied to all compounds and subclasses and species of each of these compounds, as described herein.

GE ERAL METHODS:

[00308] Preparation of Intermediate A: (R)-tert-Butyl 3-((2-chloro-5-fluoropyrimidin-4- yl)amino)piperidine-1-carboxylate

[00309] A 4-necked 3L round bottom flask was charged with NMP (0.85 L). 2,4-dichloro-5- fluoropyrimidine (400 g, 2.4 mol) and (R)-tert-butyl 3-aminopiperidine-1-carboxylate (476 g, 1.0 eq) were added at room temperature. After stirring at room temperature for 10 min, the reaction mixture was cooled to 5-10ºC and DIPEA (483 g, 2.15 eq) was added dropwise over 30 min. The resulting mixture was allowed to stir at room temperature for an additional 30 min. TLC and LCMS showed the reaction was complete .The reaction mixture was poured into ice water (2L) and extracted with ethyl acetate (2 L). The organic phase was washed with water (1L x 2), brine (500 mL) and dried with Na 2 SO 4 . The organic solution was concentrated under reduced pressure at 45 ºC to afford (R)-tert-butyl 3-((2-chloro-5-fluoropyrimidin-4-yl)amino)piperidine-1- carboxylate (intermediate A) (700 g, 88%) as a yellow solid, which was used in next step without further purification.

[00310] Preparation of Intermediate B

[00311] (R)-2-Chloro-5-fluoro-N-(piperidin-3-yl)pyrimidin-4-amine [00312] A 500 L round bottom flask was charged with intermediate A (50 g, 0.15 mol) and DCM (50 mL). The resulting mixture was cooled to 0 ºC. TFA (100 mL) was added dropwise and the resulting mixture was allowed to stir at room temperature for 1h. LCMS showed the reaction was complete. The volatiles were evaporated under reduced pressure at 50 ºC. The residue was poured into ice water (200 mL) and extracted with DCM (100 mL x 2). The aqueous layer was basified with 40% NaOH to pH 4-5. A great amount of solid formed. The resulting suspension was stirred at room temperature for 30 min. The solid was collected by filtration, washed with water and dried to afford the free base (R)-2-chloro-5-fluoro-N-(piperidin-3- yl)pyrimidin-4-amine (31.5 g, 90%) as a yellow solid, which was used in the next step without further purification.

[00313] (R)-1-(3-((2-Chloro-5-fluoropyrimidin-4-yl)amino)piperidin-1 -yl)prop-2-en-1- one

[00314] A 500 L round bottom flask was charged with (R)-2-chloro-5-fluoro-N-(piperidin-3- yl)pyrimidin-4-amine (31.5 g, 136.6 mmol) and DCM (300 mL). After stirring to a clear solution, an aqueous solution of K 2 CO 3 (54.9 g, 397 mmol) in 100 mL water was added, followed by addition of acryloyl chloride (12.67 g, 140 mmol) dropwise at 5-10 ºC. The resulting mixture was stirred at room temperature for 30 min. The reaction solution was separated andthe organic layer was washed with water (100 mL), brine (100 mL) and dried with Na 2 SO 4 . The organic solution was concentrated under reduced pressure at 50 ºC to afford (R)-1-(3-((2-chloro- 5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (intermediate B) as a yellow oil (35.5 g, 91%), which was used in the next step without further purification. EXAMPLE 1

[00315] Preparation of (R)-1-(3-((5-Fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1)

[00316] 2,2,2-Trifluoro-1-(isoindolin-2-yl)ethanone (1.2)

[00317] To a solution of isoindoline hydrochloride (1.1, 5.0 g, 32.2 mmol) in DCM (30 ml) was added TFAA (8.1 g, 38.78 mmol) at 0 ºC. The mixture was allowed to stir at room temperature for 1 h. TLC showed the reaction was complete. The volatiles were evaporated and the residue was partitioned between EtOAc and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure to afford crude 2,2,2- trifluoro-1-(isoindolin-2-yl)ethanone (1.2), which was used in next step without further purification.

[00318] LCMS: 216.2 [M+1] + .

[00319] 2,2,2-Trifluoro-1-(5-nitroisoindolin-2-yl)ethanone (1.3) [00320] To the solution of crude 2,2,2-trifluoro-1-(isoindolin-2-yl)ethanone (1.2) in con.H 2 SO 4 (15 mL) was added fuming nitric acid (35.4 mmol) dropwise at 0 ºC. The mixture was allowed to stir at room temperature for 10 min. TLC showed the reaction was complete. The reaction mixture was carefully poured into ice water. The resulting off-white solid was collected by filtration, washed with cold water, and dried to afford crude 2,2,2-trifluoro-1-(5- nitroisoindolin-2-yl)ethanone (1.3) (5.8 g), which was used in the next step without further purification.

[00321] LCMS: 261.1 [M+1]+.

[00322] tert-Butyl 5-nitroisoindoline-2-carboxylate (1.4)

[00323] A mixture of 2,2,2-trifluoro-1-(5-nitroisoindolin-2-yl)ethanone (1.3) (5.8 g, 22.3 mmol), K 2 CO 3 (6.2 g, 44.6 mmol) in MeOH (32 mL) and H 2 O (4 mL) was stirred at room temperature for 30 min. TLC showed the reaction was complete. Boc 2 O (4.9 g, 22.3mmol) was added in portions and the resulting mixture was stirred at room temperature for additional 30 min. TLC showed the reaction was complete. The reaction mixture was partitioned between EtOAc and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by column chromatography (eluted with 20% EtOAc in hexane) to afford tert-butyl 5-nitroisoindoline-2-carboxylate (1.4) (3.8 g, 44.7%, 3 steps).

[00324] LCMS: 209.2 [M-55] + .

[00325] tert-Butyl 5-aminoisoindoline-2-carboxylate (1.5)

[00326] To a solution of tert-butyl 5-nitroisoindoline-2-carboxylate (1.4) (3.8 g, 14.4 mmol) in MeOH (50 mL) was added 10% Pd/C (380 mg). The suspension was degassed under vacuum and purged with H 2 several times. The mixture was stirred under H 2 balloon at 50 ºC overnight. TLC showed the reaction was complete. The suspension was filtered through celite, which was washed three times with MeOH. The combined filtrate was concentrated and the residue was purified by column chromatography (eluted 50% EtOAc in hexanes) to afford tert-butyl 5- aminoisoindoline-2-carboxylate (1.5) (3.1 g, 92.2 %). [00327] LCMS: 235.3[M+1] + .

[00328] (R)-tert-Butyl 5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidin-2- yl)amino)iso-indoline-2-carboxylate (1.6)

[00329] A mixture of tert-butyl 5-aminoisoindoline-2-carboxylate (1.5) (400 mg, 1.71 mmol), 1-[(3R)-3-[(2-chloro-5-fluoro-pyrimidin-4-yl)amino]-1-piperi dyl]prop-2-en-1-one (intermediate B, 486.1 mg, 1.71mmol), Cs 2 CO 3 (1.11g, 3.41mmol), Pd 2 (dba) 3 (156 mg, 0.17 mmol) and DavePhos (168 mg, 0.43 mmol) in t-AmOH (10 mL) was heated to reflux for 2 h under nitrogen atmosphere. TLC showed the reaction was complete. The resulting mixture was cooled to room temperature and partitioned between EtOAc and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by column chromatography (eluted with 50% EtOAc in hexanes) to afford (R)-tert-butyl 5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidin-2- yl)amino)iso-indoline-2- carboxylate (1.6) (700 mg, 85%).

[00330] LCMS: 483.3[M+1] + .

[00331] (R)-1-(3-(5-Fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-ylami no)-piperidin-1-yl) prop-2-en-1-one (

[00332] To a solution of (R)-tert-butyl 5-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)iso-indoline-2-carboxylate (1.6) (600 mg, 1.24 mmol) in DCM (3 mL) was added TFA (6 mL) dropwise at 0 ºC. The mixture was allowed to stir at room temperature for 30 min. TLC showed the reaction was complete. The volatiles were evaporated and the residue was treated with Et 2 O to afford (R)-1-(3-(5-fluoro-2-(isoindolin-5- ylamino)pyrimidin-4-ylamino)-piperidin-1-yl) prop-2-en-1-one (I-1) as the TFA salt (500 mg, 83.9%).

[00333] LCMS: 383.3 [M+1] + . [00334] 1 H NMR (400MHz, CD 3 OD): δ 1.18 (t, 3H), 2.39 (s, 3H), 2.41 (s, 3H), 3.29 (d, 2H), 3.98-4.00 (m, 2H), 4.10-4.14 (m, 4H), 4.60 (br, 1H), 4.75 (s, 1H), 6.33-6.41 (m, 1H), 6.69-6.71 (m, 1H), 6.89-6.95 (m, 1H), 7.24-7.30 (m, 1.5H), 7.35-7.42 (m, 2.5H),7.49 (s, 1H), 7.71-7.74 (m, 0.5H), 7.78-7.87 (m, 2.5H), 7.92 (d, 0.5H), 8.14-8.17 (m, 1.5H), 8.27-8.33 (m, 1H), 8.77 (d, 1H) EXAMPLE 2

[00335] Preparation of (R)-1-(3-((5-Fluoro-2-((2-methylisoindolin-5-yl)amino)pyrimi din-4- yl)amino)piperidin-1-yl)prop-2-en-1-one

[00336] A mixture of (R)-1-(3-(5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-ylami no)- piperidin-1-yl) prop-2-en-1-one (I-1) (150 mg, 0.393 mmol), 30% aq HCHO (157 mg) in MeOH (10 mL) was stirred at room temperature for 15 min. NaBH 3 CN (50 mg, 0.786 mmol) was added to the mixture. The resulting mixture was stirred at room temperature for 0.5 h. TLC showed the reaction was complete and the mixture was concentrated to dryness. The residue was purified by prep-HPLC to afford (R)-1-(3-((5-fluoro-2-((2-methylisoindolin-5-yl)amino)pyrimi din-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-2) as a TFA salt (80.8 mg, 40.3%).

[00337] LCMS: 397.3 [M+1] + .

[00338] 1 H NMR (400MHz, CD 3 OD): δ 1.53-1.64 (m, 1H), 1.77-1.87 (m, 1H), 1.93-1.97 (m, 1H), 2.06-2.17 (m, 1H), 2.81-2.89 (m, 1H), 3.14-3.24 (m, 4H), 3.32 (s, 2H), 4.06-4.16 (m, 2H), 4.42-4.71 (m, 3H), 5.47-5.51 (m, 0.5H), 5.85 (dd, 0.5H), 6.08 (d, 0.5H), 6.28 (d, 0.5H), 6.35-6.43 (m, 0.5H), 6.88 (dd, 0.5H), 7.42 (q, 1H), 7.53-7.62 (m, 1H), 7.68 (s, 1H), 7.94-8.01 (m, 1H). EXAMPLE 3

[00339] Preparation of (R)-1-(3-((2-((2-Acetylisoindolin-5-yl)amino)-5-fluoropyrimi din-4- yl)amino)-piperidin-1-yl)prop-2-en-1-one (I-3)

[00340] To a solution of (R)-1-(3-(5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-ylami no)- piperidin-1-yl) prop-2-en-1-one (I-1) (100 mg, 0.21 mmol) and TEA (42 mg, 0.42 mmol) in DCM (5 mL) was added a solution of acetyl chloride (15 mg, 0.19 mmol) in DCM (5 mL) dropwise at 0 ºC. The resulting mixture was allowed to stir at room temperature for 0.5h. TLC showed the reaction was complete. The mixture was quenched with 2N NaHCO 3 and extracted with DCM, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by prep-TLC to afford (R)-1-(3-((2-((2-acetylisoindolin-5-yl)amino)-5- fluoropyrimidin-4-yl)amino)-piperidin-1-yl)prop-2-en-1-one (I-3) (32 mg, 36%) as an off-white solid.

[00341] LCMS: 425.3 [M+1] +

[00342] 1 H NMR (400MHz, CD 3 OD): δ 1.45-1.55 (m, 1H), 1.60-1.67 (m, 1H), 1.79-1.80 (m, 1H), 2.00-2.07 (m, 4H), 2.63-2.70 (m, 0.5H), 2.84-2.93 (m, 0.5H), 3.03-3.10 (m, 1H), 3.96-4.22 (m, 2.5H), 4.51-4.71 (m, 4.5H), 5.31-5.36 (d, 0.5H), 5.67-5.71 (m, 0.5H), 5.94-6.17 (m, 1H), 6.27-6.41 (m, 0.5H), 6.69-6.78 (m, 0.5H), 7.07-7.09 (m, 1H),7.24-7.34 (m, 1H), 7.54-7.67 (m, 2H). EXAMPLE 4

[00343] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(2-methoxyethyl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-4)

[00344] A mixture of (R)-1-(3-(5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-ylami no)- piperidin-1-yl) prop-2-en-1-one (I-1) (100 mg, 0.2 mmol), 1-bromo-2-methoxyethane (44 mg, 0.31 mmol), NaI (3.9 mg, 0.026 mmol) and K 2 CO 3 (72 mg, 0.52 mmol) in CH 3 CN (15 ml) was stirred at 50 ºC overnight. TLC showed the reaction was complete. The resulting mixture was cooled to room temperature and partitioned between EtOAc and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure The crude product was purified by column chromatography (eluted with 5% MeOH in DCM) to afford (R)-1-(3-((5-fluoro-2-((2-(2-methoxyethyl)isoindolin-5-yl)am ino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-4) (15 mg, 17%) as a yellow solid.

[00345] LCMS: 441.3 [M+1] +

[00346] 1 H NMR (400MHz, CD 3 OD): δ 1.47-1.50 (m, 1H), 1.60-1.67 (m, 1H), 1.78-1.83 (m, 1H), 1.99-2.03 (m, 1H), 2.65-2.77 (m, 0.5H), 2.88-2.98 (m, 2.5H), 3.04-3.14 (m, 1H), 3.30 (s, 3H), 3.53 (t, 2H), 3.89-3.98 (m, 6H), 4.14 (d, 0.5H), 4.58 (d, 0.5H), 5.40 (d, 0.5H), 5.70 (d, 0.5H), 5.98 (d, 0.5H), 6.16 (d, 0.5H), 6.36-6.43 (m, 0.5H), 6.71-6.78 (m, 0.5H), 7.02 (d, 1H), 7.25 (t, 1H), 7.52-7.65 (m, 2H). EXAMPLE 5

[00347] Preparation of (R)-1-(3-((5-fluoro-2-((2-(piperidin-4-yl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-5)

[00348] (R)-tert-Butyl 4-(5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidin -2- yl)amino)-isoindolin-2-yl)piperidine-1-carboxylate (5.1)

[00349] A mixture of (R)-1-(3-(5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-ylami no)- piperidin-1-yl) prop-2-en-1-one (I-1) (600 mg, 1.21 mmol), tert-butyl 4-oxopiperidine-1- carboxylate (450 mg, 2.26 mmol) and TEA (101mg, 1 mmol) in MeOH (15 mL) was stirred at room temperature for 15 min. NaBH 3 CN (400 mg, 6.45 mmol) was added. The resulting mixture was stirred at room temperature for additional 0.5h. TLC showed the reaction was complete. The reaction mixture was partitioned between EtOAc and water. The organic phase was washed with brine and the mixture was concentrated to dryness. The residue was purified by column chromatography (eluted with 5% MeOH in DCM) to afford (R)-tert-butyl 4-(5-((4-((1- acryloylpiperidin-3-yl)amino)-5-fluoropyrimidin-2-yl)amino)- isoindolin-2-yl)piperidine-1- carboxylate (5.1) (400 mg, 58.4%).

[00350] LCMS: 566.3[M+1] + .

[00351] (R)-1-(3-((5-fluoro-2-((2-(piperidin-4-yl)isoindolin-5-yl)am ino)pyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-5)

[00352] A mixture of (R)-tert-butyl 4-(5-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)-isoindolin-2-yl)piperidine-1-car boxylate (5.1) (400 mg, 0.71 mmol) and TFA (6 mL) in DCM (3 mL) was stirred at room temperature for 30 min. TLC showed the reaction was complete. The volatiles were removed and the residue was triturated with diethyl ether to afford (R)-1-(3-((5-fluoro-2-((2-(piperidin-4-yl)isoindolin-5- yl)amino)pyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-5) TFA salt (300 mg, 73.2%) as a yellow solid.

[00353] LCMS: 466.3 [M+1] + .

[00354] 1 H NMR (400MHz, CD 3 OD): δ 1.56-1.66 (m, 1H), 1.77-1.87 (m, 1H), 1.93-2.14 (m, 4H), 2.49-2.52 (m, 2H), 2.85-2.91 (m, 1H), 3.10-3.27 (m, 3H), 3.63-3.67 (m, 2H), 3.79 (br, 1H), 4.05-4.17 (m, 2H), 4.41-4.47 (m, 0.5H), 4.67-4.84 (m, 3.5H), 5.51 (d, 0.5H), 5.83 (d, 0.5H), 6.10 (d, 0.5H), 6.26 (d, 0.5H), 6.46(dd, 0.5H), 6.87 (dd, 0.5H), 7.42 (t, 1H), 7.51-7.62 (m, 1H),7.67- 7.71 (m, 1H), 7.94-7.99(m, 1H). EXAMPLE 6

[00355] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(piperidin-4-ylmethyl)isoindolin-5 - yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-6)

[00356] (R)-tert-Butyl 4-((5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2- yl)amino)-isoindolin-2-yl)methyl)piperidine-1-carboxylate (6.1)

[00357] A solution of (R)-1-(3-(5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-ylami no)- piperidin-1-yl) prop-2-en-1-one (I-1) (400 mg, 0.81 mmol), tert-butyl 4-formylpiperidine-1- carboxylate (356 mg, 1.67 mmol) and TEA (81 mg, 0.81 mmol) in MeOH (10 mL) was stirred at room temperature for 30 min. NaBH 3 CN (105 mg, 1.67 mmol) was added. The resulting mixture was stirred at room temperature for an additional 20 min. TLC showed the reaction was complete. The resulting mixture was partitioned between ethyl acetate and water and the organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by column chromatography (eluted with 10% EtOAc in hexane) to afford (R)-tert-butyl 4-((5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2- yl)amino)-isoindolin-2-yl)methyl)piperidine-1-carboxylate (6.1) (350 mg, 72.5%) as a light yellow solid.

[00358] LCMS: 580.4[M+1] +

[00359] (R)-1-(3-(5-Fluoro-2-(2-(piperidin-4-ylmethyl)isoindolin-5-y lamino) pyrimidin-4- ylamino)piperidin-1-yl)prop-2-en-1-one (I-6)

[00360] A mixture of (R)-tert-butyl 4-((5-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)-isoindolin-2-yl)methyl)piperidin e-1-carboxylate (6.1) (350 mg, 0.60 mmol) in DCM (3 mL) and TFA (6 mL) was stirred at room temperature for 30 min. TLC showed the reaction was complete. The volatiles were removed and the residue was triturated with diethyl ether to afford (R)-1-(3-(5-fluoro-2-(2-(piperidin-4-ylmethyl)isoindolin-5-y lamino) pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-6) (330 mg, 94.5%) as a TFA salt.

[00361] LCMS: 480.3 [M+1] +

[00362] 1 H NMR (400MHz, CD 3 OD): δ 1.55-1.66 (m, 3H), 1.80-1.97 (m, 2H), 2.12-2.16 (m, 3H), 2.28-2.30 (m, 1H), 2.48-2.72 (m, 1H), 2.85-2.92 (m, 1H), 3.06-3.16 (m, 3H), 3.38-3.52 (m, 4H), 3.88-4.18 (m, 2H), 4.43-4.80 (m, 4H), 5.53 (d, 0.5H), 5.83 (d, 0.5H), 6.09-6.13 (m, 0.5H), 6.24-6.29 (m, 0.5H), 6.43-6.50 (m, 0.5H), 6.83-6.90 (m, 0.5H), 7.40-7.45 (m, 1H), 7.53-7.71 (m, 2H), 7.94-8.00 (m, 1H). EXAMPLE 7

[00363] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(1-methylpiperidin-4-yl)isoindolin -5- yl)amino)-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-on e (I-7)

[00364] A mixture of (R)-1-(3-((5-fluoro-2-((2-(piperidin-4-yl)isoindolin-5- yl)amino)pyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-5) (100 mg, 0.173 mmol), TEA (18 mg, 0.18 mmol) and 30% HCHO (80 mg, 0.8 mmol) in MeOH (5 mL) was stirred at room temperature for 15 min. NaBH 3 CN (43.6 mg, 0.69 mmol) was added and the resulting mixture was stirred at room temperature for additional 0.5h. TLC showed the reaction was complete. The reaction mixture was partitioned between DCM and water and the organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep-HPLC to afford (R)-1-(3-((5-fluoro-2-((2-(1-methylpiperidin-4- yl)isoindolin-5-yl)amino)-pyrimidin-4-yl)amino)piperidin-1-y l)prop-2-en-1-one (I-7) (35 mg, 34.1%) as TFA salt.

[00365] LCMS: 480.3 [M+1] +

[00366] 1 H NMR (400MHz, CD 3 OD): δ 1.47-1.51 (m, 1H), 1.66-1.75 (m, 1H), 1.80-1.84 (m, 1H), 1.99-2.09 (m, 3H), 2.38-2.43 (m, 2H), 2.75-2.83 (m, 4H), 2.98-3.14 (m, 3H), 3.62-3.71 (m, 3H), 3.88-4.06 (m, 2H), 4.30-4.33 (m, 0.5H), 4.41-4.57 (m, 1H), 4.69 (s, 3.5H), 5.40 (d, 0.5H), 5.71 (d, 0.5H), 5.99 (d, 0.5H), 6.14 (d, 0.5H), 6.33 (q, 0.5H), 6.75 (q, 0.5H), 7.33 (q, 1H), 7.42- 7.49 (m, 1H), 7.53-7.56 (m, 1H), 7.82-7.89 (m, 1H). EXAMPLE 8

[00367] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(oxetan-3-yl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-8)

[00368] A solution of (R)-1-(3-(5-fluoro-2-(2-(piperidin-4-ylmethyl)isoindolin-5-y lamino) pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-6) (100 mg, 0.168 mmol), TEA (17 mg, 0.17mmol) and 30% HCHO (100 mg, 1 mmol) in MeOH (3mL) was stirred at room temperature for 20 min. NaBH 3 CN (21.9 mg, 0.348 mmol) was added and the resulting mixture was stirred at room temperature for additional 1h. TLC showed the reaction complete. The reaction mixture was partitioned between DCM and water and the organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep-TLC to afford (R)-1-(3-((5-fluoro-2-((2-(oxetan-3-yl)isoindolin-5-yl)amino )pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-8) (28 mg, 33.7%) as a white solid.

[00369] LCMS: 494.4 [M+1] +

[00370] 1 H NMR (400MHz, CD 3 OD): δ 1.36-1.50 (m, 3H), 1.59-1.66 (m, 1H), 1.78-2.01 (m, 5H), 2.54-2.87 (m, 8H), 3.03-3.09 (m, 1H), 3.35-3.38 (m, 2H), 3.76-4.06 (m, 6H), 4.19-4.24 (m, 0.5H), 4.58-4.62 (m, 0.5H), 5.38-5.41 (m, 0.5H), 5.68-5.71 (m, 0.5H), 5.96-6.05 (m, 0.5H), 6.13- 6.18 (m, 0.5H), 6.37-6.44 (d, 0.5H), 6.71-6.78 (m, 0.5H), 7.00-7.03 (m, 1H), 7.16-7.29 (m, 1H), 7.54-7.66 (m, 2H). EXAMPLE 9

[00371] Preparation of (R)-1-(3-(2-(2-(1-Acetylpiperidin-4-yl)isoindolin-5-ylamino) -5- fluoropyrimidin -4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-9)

[00372] To a solution of (R)-1-(3-((5-fluoro-2-((2-(piperidin-4-yl)isoindolin-5- yl)amino)pyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-5) (150 mg, 0.259 mmol) and TEA (54 mg, 0.54 mmol) in DCM (10 mL) was added acetyl chloride (188 mg, 0.24 mmol) at 0 ºC. The resulting mixture was allowed to stirred at room temperature for additional 15 min. The reaction mixture was partitioned between DCM and water and the organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep-TLC to afford (R)-1-(3-(2-(2-(1-acetylpiperidin-4-yl)isoindolin-5- ylamino)-5-fluoropyrimidin -4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-9) (50 mg, 38%) as a yellow solid.

[00373] LCMS: 508.3 [M+1] +

[00374] 1 H NMR (400MHz, CD 3 OD): δ 1.36-1.81 (m, 4H), 1.90-1.94 (m, 1H), 2.04- 2.14 (m, 6H), 2.69-2.83 (m, 2.5H), 2.97-3.04 (m, 0.5H), 3.15-3.24 (m, 2H), 3.89-3.99 (m, 5H), 4.06-4.15 (m, 2H), 4.28 (d, 0.5H), 4.51 (d, 1H), 4.69-4.73 (m, 0.5H), 5.51 (d, 0.5H), 5.81 (d, 0.5H), 6.11 (d, 0.5H), 6.28 (d, 0.5H), 6.52 (q, 0.5H), 6.86 (q, 0.5H), 7.13 (d, 1H), 7.35 (t, 1H), 7.67 (d, 1H), 7.76 (q, 1H). EXAMPLE 10

[00375] Preparation of (R)-1-(3-(2-(2-Acetylisoindolin-5-ylamino)-5-fluoropyrimidin -4- ylamino) piperidin-1-yl)prop-2-en-1-one (I-10)

[00376] To a solution of (R)-1-(3-(5-fluoro-2-(2-(piperidin-4-ylmethyl)isoindolin-5-y lamino) pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-6) (100 mg, 0.168 mmol) and TEA (35 mg, 0.348 mmol) in DCM (5 mL) was added a solution of acetyl chloride (13 mg, 0.174 mmol) in DCM (1 mL) dropwise at 0 ºC. The resulting mixture was allowed to stir at room temperature for additional 30 min. TLC showed the reaction was complete. The reaction mixture was partitioned between DCM and water and the organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep- TLC to afford (R)-1-(3-(2-(2-acetylisoindolin-5-ylamino)-5-fluoropyrimidin -4-ylamino) piperidin-1-yl)prop-2-en-1-one (I-10) (30 mg, 34.2%) as a white solid.

[00377] LCMS: 522.3 [M+1] + .

[00378] 1 H NMR (400MHz, CD 3 OD): δ 1.04-1.80 (m, 2H), 1.46-1.53 (m, 1H), 1.59-1.66 (m, 1H), 1.75-1.85 (m, 4H), 2.00 (br, 4H), 2.37-2.70 (m, 4H), 2.88-3.10 (m, 3H), 3.83-4.00 (m, 6H), 4.14-4.18 (m, 0.5H), 4.42-4.46 (m, 1H), 4.59-4.62 (m, 0.5H), 5.38-5.41 (m, 0.5H), 5.68-5.71 (m, 0.5H), 5.96-6.01 (m, 0.5H), 6.14-6.18 (m, 0.5H), 6.37-6.44 (m, 0.5H), 6.74-6.78 (m, 0.5H), 7.02- 7.04 (m, 1H), 7.21-7.28 (m, 1H), 7.54-7.58 (m, 1H), 7.64-7.66 (m, 1H). EXAMPLE 11

[00379] Preparation of (R)-1-(3-(5-Fluoro-2-(2-((tetrahydro-2H-pyran-4- yl)methyl)isoindolin-5- ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-11)

[00380] A solution of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (150 mg, 0.302 mmol), TEA (30 mg, 0.3 mmol) and tetrahydro- 2H-pyran-4-carbaldehyde (114 mg, 1mmol) in MeOH (10 mL) was stirred at room temperature for 20 min. NaBH 3 CN (44 mg, 0.71 mmol) was added and the resulting mixture was stirred at room temperature for additional 1h. TLC showed the reaction was complete. The reaction mixture was partitioned between DCM and water and the organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep-TLC to afford (R)-1-(3-(5-fluoro-2-(2-((tetrahydro-2H-pyran- 4-yl)methyl)isoindolin-5- ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-11) (40 mg, 27.6%) as a yellow solid.

[00381] LCMS: 481.3 [M+1] + . [00382] 1 H NMR (400MHz, CD 3 OD): δ 1.31-1.40 (m, 2H), 1.55-1.65 (m, 1H), 1.72-1.80 (m, 2H), 1.91-1.96 (m, 3H), 2.11-2.14 (m, 1H), 2.76-2.84 (m, 2.5H), 2.98-3.04 (m, 0.5H), 3.15-3.25 (m, 1H), 3.46-3.52 (m, 2H), 3.97-4.30 (m, 8.5H), 4.70-4.74 (m, 0.5H), 5.50 (d, 0.5H), 5.82 (d, 0.5H), 6.10 (d, 0.5H), 6.28 (d, 0.5H), 6.52 (q, 0.5H), 6.86 (q, 0.5H), 7.16 (d, 1H), 7.35-7.41 (m, 1H), 7.67-7.78 (m, 2H). EXAMPLE 12

[00383] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(tetrahydro-2H-pyran-4-yl)isoindol in-5- yl)amino)-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-on e (I-12)

[00384] A mixture of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (100 mg, 0.20 mmol), TEA (20 mg, 0.2 mmol) and dihydro-2H-pyran -4(3H)-one (75 mg, 0.75 mmol) in MeOH (10 mL) was stirred at room temperature for 20 min. NaBH 3 CN (21.9 mg, 0.35 mmol) was added and the resulting mixture was stirred at room temperature for an additional 1h. TLC showed the reaction was complete. The reaction mixture was partitioned between DCM and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep-TLC to afford (R)-1-(3-((5-fluoro-2-((2-(tetrahydro-2H-pyran-4- yl)isoindolin-5-yl)amino)-pyrimidin-4-yl)amino)piperidin-1-y l)prop-2-en-1-one (I-12) (15 mg, 16.1%) as a yellow solid.

[00385] LCMS: 467.4 [M+1] +

[00386] 1 H NMR (400MHz, CD 3 OD): δ 1.47-1.66 (m, 4H), 1.78-1.84 (m, 1H), 1.89 (d, 2H), 1.99-2.03 (m, 1H), 2.64-2.93 (m, 2H), 3.03-3.13 (m, 1H), 3.33-3.40 (m, 2H), 3.90-4.00 (m, 7H), 4.14-4.18 (m, 0.5H), 4.59-4.63 (m, 0.5H), 5.40 (d, 0.5H), 5.69 (d, 0.5H), 5.97-6.04 (m, 0.5H), 6.14-6.18 (m, 0.5H), 6.41 (q, 0.5H), 6.75 (q, 0.5H), 7.05 (d, 1H), 7.26 (t, 1H), 7.57-7.66 (m, 2H). EXAMPLE 13

[00387] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(oxetan-3-yl)isoindolin-5- yl)amino)pyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-13)

[00388] A solution of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (100 mg, 0.2 mmol), TEA (20 mg, 0.2 mmol) and oxetan-3-one (37.6 mg, 0.522 mmol) in MeOH (3 mL) was stirred at room temperature for 20 min. NaBH 3 CN (21.9 mg, 0.35 mmol) was added and the resulting mixture was stirred at room temperature for additional 6h. TLC showed the reaction was complete. The reaction mixture was partitioned between DCM and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The residue was purified by prep- TLC to afford (R)-1-(3-((5-fluoro-2-((2-(oxetan-3-yl)isoindolin-5-yl)amino )pyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-13) (32 mg, 36.5%) as a white solid.

[00389] LCMS: 439.2 [M+1] +

[00390] 1 H NMR (400MHz, CDCl 3 ): δ 1.68-2.09 (m, 4H), 3.28-3.43 (m, 2H), 3.67 (br, 0.5H), 3.94-4.23 (m, 7H), 4.74-4.80 (m, 3.5H), 4.88 (br, 0.5H), 5.11(br, 0.5H), 5.56(d, 0.5H), 5.75 (d, 0.5H), 6.24-6.62 (m, 2H), 6.87-7.14 (m, 1H), 7.12-7.14 (m, 1H), 7.26-7.35 (m, 2H), 7.50-7.59 (m, 1H), 7.81 (s, 1H). EXAMPLE 14

[00391] Preparation of (R)-1-(3-((5-Fluoro-2-((2-neopentylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-14)

[00392] To a solution of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (78 mg, 0.20 mmol) in DCM (10 mL) was added DIPEA, pivaldehyde (72 mg, 0.83 mmol) and sodium triacetoxyborohydride (89 mg, 0.42 mmol). The reaction mixture was stirred at room temperature for 2h. TLC showed the reaction was complete. The reaction mixture was quenched with water and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane / methanol : 20/1) to afford (R)-1-(3-((5-fluoro-2-((2-neopentylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-14) as a yellow solid (20.3 mg, 22%).

[00393] LCMS: 453.3 [M+1] +

[00394] 1 H NMR (400 MHz, DMSO-d 6 ): δ 0.913 (s, 9H), 1.37-1.340 (m, 1H), 1.59-1.66 (m, 1H), 1.80-1.83 (m, 1H), 1.97-2.00 (m, 1H), 2.45 (s, 2.5H), 2.66-2.79 (m, 1H), 2.97-3.03 (m, 0.5H), 3.09-3.15 (m, 0.5H), 3.89 (s, 3.5H), 3.99 (br, 2H), 4.21 (d, 0.5H), 4.46 (d, 0.5H), 5.50 (d, 0.5H), 5.69 (d, 0.5H), 6.01-6.15 (m, 1H), 6.59-6.61 (m, 0.5H), 6.81-6.87 (m, 0.5H), 7.00 (d, 1H), 7.32-7.37 (m, 2H), 7.65 (d, 1H), 7.88 (d, 1H). EXAMPLE 15

[00395] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(oxetan-3-ylmethyl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-15)

[00396] To a stirred solution of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (17mg, 0.31mmol) in acetonitrile (15 mL) was added K 2 CO 3 (86.5 mg, 0.62 mmol) and oxetan-3-ylmethyl 4-methylbenzenesulfonate. The reaction mixture was stirred at 40 °C overnight under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with water and extracted with EtOAc. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane: methanol/20:1) to afford (R)-1-(3-((5-fluoro-2-((2-(oxetan-3- ylmethyl)isoindolin-5-yl)amino)pyrimidin-4-yl)amino)piperidi n-1-yl)prop-2-en-1-one (I-15) as a yellow solid (26 mg, 18.8%). [00397] LCMS: 453.4 [M+1] +

[00398] 1 H NMR (400 MHz, DMSO-d 6 ): δ1.35-1.42 (m, 1H), 1.60-1.66 (m, 1H), 1.80-1.83 (m, 1H), 1.96-1.99 (m, 1H), 2.66-2.76 (m, 1H), 2.93-2.97 (m, 2H), 3.00-3.04 (m, 0.5H), 3.12- 3.19 (m, 1.5H), 3.69 (d, 4H), 3.99-4.03 (m, 2H), 4.23 (d, 0.5H), 4.30-4.31 (m, 2H), 4.45 (d, 0.5H), 4.67 (t, 2H), 5.48 (d, 0.5H), 5.73 (t, 0.5H), 6.01-6.15 (m, 1H), 6.59-6.66 (m, 0.5H), 6.84- 6.91 (m, 0.5H), 7.00 (d, 1H). EXAMPLE 16

[00399] Preparation of (R)-1-(3-(5-Fluoro-2-(2-isopropylisoindolin-5-ylamino)pyrimi din- 4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-16)

[00400] 2-Iodoacetamide (78 mg, 0.42 mmol) was added to a mixture of (R)-1-(3-((5-fluoro- 2-(isoindolin-5-ylamino)pyrimidin-4-yl)amino)piperidin-1-yl) prop-2-en-1-one (I-1) (160 mg, 0.42 mmol) and K 2 CO 3 (232 mg, 1.68 mmol) in CH 3 CN (8 mL). The resulting mixture was heated at 80 °C for 1 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 15/1) to afford (R)-1-(3-(5-fluoro-2-(2- isopropylisoindolin-5-ylamino)pyrimidin-4-ylamino)piperidin- 1-yl)prop-2-en-1-one (I-16) as a yellow solid (46 mg, 26%).

[00401] LCMS: 440.2[M+1] + .

[00402] 1 H NMR (400 MHz, DMSO-d 6 ): δ1.40-1.42 (m, 1H), 1.60-1.67 (m, 1H), 1.79-1.83 (m, 1H), 1.97- 2.00 (m, 1H), 2.67-2.79 (m, 1H), 2.98-3.05 (m, 0.5H), 3.13-3.14 (m, 0.5H), 3.24- 3.25 (m, 1H), 3.88 (s, 4H), 3.99-4.00 (m, 2H), 4.17-4.20 (m, 0.5H), 4.44-4.47 (m, 0.5H), 5.46- 5.49 (m, 0.5H), 5.69-5.72 (m, 0.5H), 6.00-6.15 (m, 1H), 6.56-6.62 (m, 0.5H), 6.81-6.88 (m, 0.5H), 7.03-7.10 (m, 2H), 7.30-7.41 (m, 2H), 7.67 (d, J = 32 Hz, 1H), 7.90 (d, J = 3.6 Hz, 1H), 9.04 (s, 1H). EXAMPLE 17

[00403] Preparation of (R)-1-(3-((5-Fluoro-2-((2-isopropylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-17)

[00404] A mixture of acetone (13 mg, 0.22 mmol) and (R)-1-(3-((5-fluoro-2-(isoindolin-5- ylamino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (79 mg, 0.21 mmol) in MeOH (8 mL) was stirred at 25 °C for 3 h. NaBH 3 CN (26 mg, 0.42 mmol) was added. The mixture was stirred for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 10/1) to afford (R)-1-(3-((5-fluoro-2-((2-isopropylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-17) as a yellow solid (48 mg, 55%).

[00405] LCMS: 425.2 [M+1] + .

[00406] 1 H NMR (400 MHz, DMSO-d 6 ): δ1.12 (d, J = 5.6 Hz, 6H), 1.40-1.43 (m, 1H), 1.62- 1.65 (m, 1H), 1.80-1.84 (m, 1H), 1.97-2.00 (m, 1H), 2.69-2.80 (m, 2H), 3.00-3.04 (m, 0.5H), 3.14-3.17 (m, 0.5H), 3.89-4.03 (m, 6H), 4.20-4.24 (m, 0.5H), 4.46-4.50 (m, 0.5H), 5.52 (d, J = 10.4 Hz, 0.5H), 5.69-5.76 (m, 0.5H), 6.07-6.16 (m, 1H), 6.62-6.69 (m, 0.5H), 6.83-6.89 (m, 0.5H), 7.04-7.06 (m, 1H), 7.38-7.39 (m, 1H), 7.68-7.75 (m, 1H), 7.90 (d, J = 3.6 Hz, 1H), 9.07- 9.08 (m, 1H). EXAMPLE 18

[00407] Preparation of (R)-1-(3-((2-((2-Cyclobutylisoindolin-5-yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-18)

[00408] To a solution of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (150.0 mg, 0.39 mmol) in DCM (10 mL) was added cyclobutanone (110 mg, 1.57 mmol) and NaBH(OAc) 3 (83.13 mg, 0.39 mmol). The mixture was stirred at 25°C for 4 h. TLC showed the reaction was complete. The mixture was quenched with water, extracted with DCM, washed with water and brine and concentrated in vacuo to afford the crude product, which was purified by column chromatography (DCM/MeOH=30/1) to afford (R)-1-(3-((2-((2-cyclobutylisoindolin-5-yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-18) as a yellow solid (60 mg, 35%).

[00409] LCMS: 437.3[M+1]+

[00410] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.31 (br, 1H), 1.64-1.73 (m, 3H),1.80-1.83 (m, 1H),1.91-1.99 (m, 5H), 2.68-2.78 (m, 1H), 3.01 (t, 0.5H), 3.13 (t, 0.5H), 3.25 (t, 1H), 3.70 (s, 4H), 3.99 (br, 2H), 4.20 (d, 0.5H), 4.47 (d, 0.5H), 5.50 (d, 0.5H), 5.70 (d, 0.5H), 6.03 (d, 0.5H), 6.13 (d, 0.5H), 6.59-6.66 (m, 0.5H), 6.85 (dd, 0.5H), 7.02 (d, 1H), 7.32-7.37 (m, 2H), 7.67 (d, 1H), 7.89 (d, 1H), 9.03 (br, 1H). EXAMPLE 19

[00411] Preparation of (R)-1-(3-((2-((2-(cyclopropylmethyl)isoindolin-5-yl)amino)-5 - fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-19)

[00412] To a solution of (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-1) (75 mg, 0.20 mmol) in DCM (20 mL) was added cyclopropane- carbaldehyde (55 mg, 0.78 mmol). The mixture was stirred at 25 °C for 0.5 h. NaBH(OAc) 3 (83.1 mg, 0.39 mmol) was added into the mixture. The reaction was stirred at 25 °C for 4h. TLC showed the reaction complete. The mixture was quenched with water, extracted with DCM, washed with water and brine and concentrated in vacuo to afford the crude product. The crude compound was purified by HPLC to afford (R)-1-(3-((2-((2- (cyclopropylmethyl)isoindolin-5-yl)amino)-5-fluoropyrimidin- 4-yl)amino)piperidin-1-yl)prop-2- en-1-one (I-19) as a white solid (5.7 mg, 6.7%).

[00413] LCMS: 437.2 [M+1]+

[00414] 1 H NMR (400MHz, CD 3 OD): δ 0.51 (br, 2H), 0.82 (br, 2H), 1.22 (br, 1H), 1.57-1.61 (m, 1H), 1.79-1.83 (m, 1H), 1.93-1.98 (m, 1H), 2.14 (br, 1H), 2.87 (dd, 1H), 3.19 (dd, 1H), 3.33- 3.37 (m, 2.5H), 4.07-4.16 (m, 2H), 4.44-4.72 (m, 3H), 5.51 (br, 0.5H), 5.82(d, 0.5H), 6.09 (d, 0.5H), 6.27 (d, 0.5H), 6.43 (br, 0.5H), 6.87 (dd, 0.5H), 7.42 (t, 1H), 7.58 (d, 1H), 7.71 (s, 1H), 7.96(dd, 1H). EXAMPLE 20

[00415] Preparation of (R)-1-(3-((5-Fluoro-2-((2-deuteromethylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-20)

[00416] 2-Deuteromethyl-5-nitroisoindoline (20.2)

[00417] A mixture of 6.10 mmol) and CD 3 OTs (692 mg, 3.66 mmol) in DMF (15 mL) was stirred at 100 ºC for 2 h. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and water. The organic phase was washed with brine and dried over anhydrous Na 2 SO 4 . The crude product was purified by column chromatography (eluted with 50% EtOAc in hexanes) to afford 2-deuteromethyl-5-nitroisoindoline (20.2) (140 mg, 42.3%).

[00418] LCMS: 182.3[M+1] + .

[00419] 2-Deuteromethylisoindolin-5-amine (20.3)

[00420] The mixture of 2-deuteromethyl-5-nitroisoindoline (20.2) (140 mg, 0.77 mmol) and Pd/C (10%, 14 mg) in MeOH (10 mL) was stirred at 50 ºC for 2 h under H 2 atmosphere. TLC showed the reaction was complete. The reaction solution was filtered through celite, which was washed with MeOH. The combined organic phase was concentrated to afford 2- deuteromethylisoindolin-5-amine (20.3) (80 mg, 69%).

[00421] (R)-1-(3-((5-Fluoro-2-((2-deuteromethylisoindolin-5-yl)amino )pyrimidin-4- yl)amino)-piperidin-1-yl)prop-2-en-1-one (I-20)

[00422] A mixture of 2-deuteromethylisoindolin-5-amine (20.3) (80 mg, 0.53 mmol), (R)-1- (3-(2-chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-yl)prop -2-en-1-one (intermediate B) (180 mg, 0.64 mmol), Pd 2 (dba) 3 (73 g, 0.79 mmol), DavePhos (32 mg, 0.79 mmol) and Cs 2 CO 3 (345 g, 1.1 mmol) in t-AmOH (10 mL) was stirred at 100 ºC for 1.5 h under nitrogen atmosphere. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and H 2 O. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by prep-HPLC to afford (R)-1-(3-((5-fluoro-2-((2-deuteromethylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)-piperidin-1-yl)prop-2-en-1-on e (I-20) (83.2 mg, 30%) as a TFA salt.

[00423] LCMS: 400.3 [M+1] +

[00424] 1 H NMR (400 MHz, CD 3 OD): δ 1.55-1.65 (m, 1H), 1.77-1.87 (m, 1H), 1.93-1.98 (m, 1H), 2.11-2.17 (m, 1H), 2.82-2.92 (m, 1H), 3.08-3.24 (m, 1H), 4.07-4.16 (m, 2H), 4.43-4.71 (m, 3H), 5.49 (d, 0.5H), 5.85 (d, 0.5H), 6.08 (d, 0.5H), 6.29 (d, 0.5H), 6.40 (m, 0.5H), 6.87 (dd, 0.5H), 7.40-7.44 (m, 1H), 7.56-7.58 (m, 1H), 7.69 (s, 1H), 7.99 (br ,1H). EXAMPLE 21

[00425] Preparation of (R)-1-(3-((2-((2-cyclopropylisoindolin-5-yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-21)

[00426] 2-Cyclopropyl-5-nitroisoindoline (21.1)

[00427] To a solution of 5-nitroisoindoline (20.1, 150 mg, 0.91 mmol), HOAc (110 mg, 1.83 mmol), and (1-ethoxycyclopropoxy)-trimethyl-silane (640 mg, 3.64 mmol) in THF (25 mL) and MeOH (2.5mL) was added NaBH 3 CN (86 mg, 1.37 mmol) at 20 ºC. The mixture was allowed to stir at 60 ºC for 18 h. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and quenched with 1N HCl and extracted with EtOAc. The aqueous layer was basified to pH=10 with solid K 2 CO 3 and extracted with DCM. The combined organic phase was washed with water, brine, dried over Na 2 SO 4 and concentrated to afford 2-cyclopropyl-5- nitroisoindoline (21.1) (90 mg, 48.2%).

[00428] LCMS: 205.2 [M+1] + .

[00429] 2-Cyclopropylisoindolin-5-amine (21.2)

[00430] A mixture of 2-cyclopropyl-5-nitroisoindoline (21.1) (90 mg, 0.44 mmol) and Pd/C (10%, 15 mg) in MeOH (10 mL) was stirred at 50 ºC for 15 h under H 2 atmosphere. TLC showed the reaction was complete. The reaction solution was filtered through celite, which was washed with MeOH. The combined organic phase was concentrated to afford 2-cyclopropylisoindolin-5- amine (21.2) (50 mg, 65.1%). [00431] (R)-1-(3-((2-((2-Cyclopropylisoindolin-5-yl)amino)-5-fluorop yrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-21)

[00432] A mixture of 2-cyclopropylisoindolin-5-amine (21.2) (50 mg, 0.18 mmol), 1-[(3R)-3- [(2-chloro-5-fluoro-pyrimidin-4-yl) amino]-1-piperidyl] prop-2-en-1-one (intermediate B, 33 mg, 0.18 mmol), Cs 2 CO 3 (110 mg, 0.36 mmol), Pd 2 (dba) 3 (16 mg, 0.02 mmol) and DavePhos (16 mg, 0.04 mmol) in t-AmOH (10 mL) was stirred at 100 ºC for 2 h under nitrogen atmosphere. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and H 2 O. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by prep-HPLC to afford (R)-1-(3-((2-((2-cyclopropylisoindolin-5-yl)amino)-5- fluoropyrimidin-4-yl) amino)piperidin-1-yl)prop-2-en-1-one (I-21) (30 mg, 40.4%).

[00433] LCMS: 423.3 [M+1] + .

[00434] 1 H NMR (400MHz, CD 3 OD): δ 0.56-0.61 (m, 4H), 1.58-1.80 (m, 2H), 1.91-1.98 (m, 1H), 2.12-2.18 (m, 2H), 2.77-2.83 (m, 0.5H), 3.01-3.07 (m, 0.5H), 3.16-3.33 (m, 2H), 4.00-4.11 (m, 5H), 4.26 (d, 0.5H), 4.72 (d, 0.5H), 5.51 (d, 0.5H), 5.81 (d, 0.5H), 6.09 (d, 0.5H), 6.29 (d, 0.5H), 6.47-6.55 (m, 0.5H), 6.83-6.89 (m, 0.5H), 7.12 (d, 1H), 7.31-7.36 (m, 1H), 7.60 (s, 0.5H), 7.70-7.76 (m, 1.5H). EXAMPLE 22

[00435] Preparation of (R)-1-(3-((5-fluoro-2-((2-(2,2,2-trifluoroethyl)isoindolin-5 - yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-22)

[00436] 5-Nitro-2-(2,2,2-trifluoroethyl)isoindoline (22.1)

[00437] A mixture of 2,2,2-trifluoro-1-(5-nitroisoindolin-2-yl)ethanone (1.3) (500 mg, 1.92 mmol) and BH 3 -THF complex (1 M, 15 mL, 15 mmol) in dry THF (20 mL) was stirred at reflux for 3 h. TLC showed the reaction was complete. The reaction mixture was carefully quenched at 0ºC with 2N HCl until gas evolution ceased, then basified with 2N NaOH to pH 10-11. The resulting mixture was extracted with EtOAc and dried over anhydrous Na 2 SO 4 . The crude product was purified by column chromatography to afford 5-nitro-2-(2,2,2- trifluoroethyl)isoindoline (22.1) (350 mg, 74%).

[00438] LCMS: 247.1 [M+1] +

[00439] 2-(2,2,2-Trifluoroethyl)isoindolin-5-amine (22.2)

[00440] A mixture of 5-nitro-2-(2,2,2-trifluoroethyl)isoindoline (22.1) (350 mg, 1.42 mmol) and Pd/C (10%, 50 mg) in MeOH (20 mL) was stirred at 50 ºC for 16 h under H 2 atmosphere. TLC showed the reaction was complete. The reaction solution was filtered through celite, which was washed with MeOH. The combined organic phase was concentrated. The crude compound was purified by column chromatography (eluted with 50% EtOAc in hexanes) to afford 2-(2,2,2- trifluoroethyl)isoindolin-5-amine (22.2) (220 mg, 71.7%).

[00441] LCMS: 217.2 [M+1] + .

[00442] (R)-1-(3-((5-fluoro-2-((2-(2,2,2-trifluoroethyl)isoindolin-5 -yl)amino)-pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-22)

[00443] A solution of 2-(2,2,2-trifluoroethyl)isoindolin-5-amine (22.2) (100 mg, 0.46 mmol), 1-[(3R)-3-[(2-chloro-5-fluoro-pyrimidin-4-yl)amino]-1-piperi dyl]prop-2-en-1-one (intermediate B) (130 mg, 0.46 mmol), Cs 2 CO 3 (300 mg, 0.92mmol), Pd 2 (dba) 3 (42 mg, 0.046mmol) and DavePhos (42 mg, 0.10 mmol) in t-AmOH (15 mL) was stirred at 100 ºC for 2 h under nitrogen atmosphere. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and H 2 O. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by prep-HPLC to afford (R)-1-(3-((5-fluoro-2-((2-(2,2,2-trifluoroethyl)isoindolin-5 - yl)amino)-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-on e (I-22) (80 mg, 37.4%).

[00444] LCMS: 465.2 [M+1] +

[00445] 1 H NMR (400MHz, CD 3 OD): δ 1.68-2.11 (m, 4H), 3.33-3.48 (m, 4H), 3.65 (br, 0.5H), 3.95-4.12 (m, 6.5H), 4.90 (br, 0.5H), 5.23 (br, 0.5H), 5.54 (d, 0.5H), 5.75 (d, 0.5H), 6.24- 6.46 (m, 1.5H), 6.57-6.65 (m,0.5H), 6.92 (s, 0.5H), 7.12-7.19 (m, 1H), 7.26-7.33 (m, 1.5H), 7.48-7.56 (m,1H), 7.78-7.81 (m, 1H). EXAMPLE 23

[00446] Preparation of (R)-1-(3-((5-fluoro-2-((2-(2-hydroxyethyl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-23)

[00447] 5-Nitroisoindoline (23.1)

[00448] A mixture of 1.3 (500 mg, 1.92 mmol) and K 2 CO 3 (530 mg, 3.84 mmol) in MeOH (9 mL), H 2 O (1 mL) was stirred at room temperature for 1 h. TLC showed the reaction was complete. The volatiles were removed and the residue was purified by column chromatography to afford 5-nitroisoindoline (23.1) (250 mg, 79.2%). [00449] 2-(2-((tert-Butyldimethylsilyl)oxy)ethyl)-5-nitroisoindoline (23.2)

[00450] A mixture of 5-nitroisoindoline (23.1) (100 mg, 0.61 mmol), HOAc (0.05 mL, 0.91 mmol) and 2-[tert-butyl (dimethyl) silyl]oxyacetaldehyde (160 mg, 0.91 mmol) in MeOH (10 mL) was stirred at room temperature for 20 min. NaBH 3 CN (58 mg, 0.91mmol) was added and the resulting mixture was stirred at room temperature overnight. TLC showed the reaction was complete. The resulting mixture was partitioned between DCM and 0.5 N NaHCO 3 . The organic phase was washed with brine and dried over anhydrous Na 2 SO 4 . The crude product was purified by column chromatography to afford 2-(2-((tert-butyldimethylsilyl)oxy)ethyl)-5-nitroisoindoline (23.2) (150 mg, 76.4%).

[00451] LCMS: 323.3 [M+1] + .

[00452] 2-(2-((tert-Butyldimethylsilyl)oxy)ethyl)isoindolin-5-amine (23.3)

[00453] The mixture of 2-(2-((tert-butyldimethylsilyl)oxy)ethyl)-5-nitroisoindoline (23.2) (150 mg, 0.46 mmol) and Pd/C (10%, 30 mg) in MeOH (15 mL) was stirred at 50 ºC for 16 h under H 2 atmosphere. TLC showed the reaction was complete. The reaction solution was filtered through celite, which was washed with MeOH. The combined organic phase was concentrated to afford 2-(2-((tert-butyldimethylsilyl)oxy)ethyl)isoindolin-5-amine (23.3) (120 mg, 88.2%).

[00454] LCMS: 293.3 [M+1] + .

[00455] (R)-1-(3-((2-((2-(2-((tert-Butyldimethylsilyl)oxy)ethyl)isoi ndolin-5-yl)amino)-5- fluoro-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (23.4)

[00456] A mixture of 2-(2-((tert-butyldimethylsilyl)oxy)ethyl)isoindolin-5-amine (23.3) (120 mg, 0.41 mmol), 1-[(3R)-3-[(2-chloro-5-fluoro-pyrimidin-4-yl) amino]-1-piperidyl] prop-2-en-1- one (intermediate B, 116 mg, 0.41 mmol), Cs 2 CO 3 (270 mg, 0.82 mmol), Pd 2 (dba) 3 (38 mg, 0.041 mmol) and DavePhos (38 mg, 0.092 mmol) in t-AmOH (10 mL) was stirred at 100 ºC for 2 h under nitrogen atmosphere. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and H 2 O. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by column chromatography to afford (R)-1-(3-((2-((2-(2-((tert- butyldimethylsilyl)oxy)ethyl)isoindolin-5-yl)amino)-5-fluoro -pyrimidin-4-yl)amino)piperidin-1- yl)prop-2-en-1-one (23.4) (150 mg, 68.1%).

[00457] LCMS: 541.4[M+1] +

[00458] (R)-1-(3-((5-Fluoro-2-((2-(2-hydroxyethyl)isoindolin-5-yl)am ino)-pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-23)

[00459] A solution of (R)-1-(3-((2-((2-(2-((tert-butyldimethylsilyl)oxy)ethyl)isoi ndolin-5- yl)amino)-5-fluoro-pyrimidin-4-yl)amino)piperidin-1-yl)prop- 2-en-1-one (23.4) (150 mg, 0.28 mmol) and TBAF (145 mg, 0.56 mmol) in THF (10 mL) was stirred at room temperature for 1 h. TLC showed the reaction was complete. The resulting mixture was partitioned between DCM and water. The organic phase was washed with brine, dried over anhydrous Na 2 SO 4 and concentrated under reduced pressure. The crude compound was purified by column chromatography to afford (R)-1-(3-((5-fluoro-2-((2-(2-hydroxyethyl)isoindolin-5-yl)am ino)- pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-23) (50 mg, 42.4%).

[00460] LCMS: 427.3 [M+1] + .

[00461] 1 H NMR (400MHz, CD 3 OD): δ 1.55-1.64 (m, 1H), 1.77-1.82 (m, 1H), 1.93-1.97 (m, 1H), 2.11-2.15 (m, 1H), 2.85 (t, 1H), 3.12-3.24 (m, 1H), 3.53-3.57 (m, 2H), 3.92-4.16 (m, 4H), 4.42-4.86 (m, 5H), 5.51 (d, 0.5H), 5.84 (d, 0.5H), 6.08 (d, 0.5H), 6.29 (d, 0.5H), 6.42 (br, 0.5H), 6.83-6.90 (m, 0.5H), 7.40-7.43 (m, 1H), 7.55-7.58 (m, 1H), 7.70 (s, 1H), 7.98 (s, 1H). EXAMPLE 24

[00462] Preparation of (R)-1-(3-((5-fluoro-2-((2-(4-fluorophenyl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-24)

[00463] 2-(4-Fluorophenyl)-5-nitroisoindoline (24.2)

[00464] 4-Fluoroaniline (72 mg, 0.65 mmol) was added to the solution of 1,2- bis(bromomethyl)-4-nitrobenzene (24.1, 200 mg, 0.65 mmol) and DIPEA (167 mg, 1.3 mmol) in toluene (10 mL). The resulting mixture was heated at 110 °C overnight. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (hexanes/EA: 20/1) to afford 2-(4-fluorophenyl)-5-nitroisoindoline (24.2) as a yellow solid (150 mg, 80%).

[00465] 1 H NMR (400 MHz, DMSO): 4.69 (s, 4H), 6.72-6.64 (m, 2H), 7.17-7.09 (m, 2H), 7.68 (d, J = 8.39 Hz, 1H), 8.22 (dd, J = 8.30, 2.13 Hz, 1H), 8.29 (d, J = 1.84 Hz, 1H).

[00466] 2-(4-Fluorophenyl)-5-nitroisoindoline (24.3)

[00467] Pd/C (100 mg) was added to a solution of 2-(4-fluorophenyl)-5-nitroisoindoline (24.2) (150 mg, 0.58 mmol) in MeOH (15 mL). The reaction mixture was stirred at room temperature overnight under H 2 . The reaction mixture was filtered and concentrated to afford 2- (4-fluorophenyl)-5-nitroisoindoline (24.3) as a yellow solid (100 mg, 75%).

[00468] LCMS: 229.2[M+1] + .

[00469] (R)-1-(3-(5-Fluoro-2-(2-(4-fluorophenyl)isoindolin-5-ylamino )pyrimidin-4- ylamino)-piperidin-1-yl)prop-2-en-1-one (I-24)

[00470] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 137 mg, 0.48mmol) and Cs 2 CO 3 (280 mg, 0.86mmol) were added to a solution of 2-(4-fluorophenyl)-5-nitroisoindoline (24.3) (100 mg, 0.43 mmol) in t-AmOH (10 mL). Pd 2 (dba) 3 (40mg, 0.04 mmol) and DavePhos (25mg, 0.04mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 10/1) to afford (R)-1-(3-(5-fluoro-2-(2-(4- fluorophenyl)isoindolin-5-ylamino)pyrimidin-4-ylamino)-piper idin-1-yl)prop-2-en-1-one (I-24) as a brown solid (80 mg, 40%).

[00471] LCMS: 477.4[M+1] + .

[00472] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.52-1.40 (m, 1H), 1.71-1.61 (m, 1H), 1.87-1.79 (m, 1H), 2.02-1.99 (m, 1H), 2.84-2.67 (m, 1H), 3.00 (s, 0.5H), 3.20-3.12 (m, 0.5H), 4.04 (m, 2H), 4.29-4.18 (m, 0.5H), 4.47 (s, 4.5H), 5.55-5.48 (m, 0.5H), 5.77-5.68 (m, 0.5H), 6.18-6.01 (m, 1H), 6.72-6.57 (m, 2.5H), 6.96-6.86 (m, 1H), 7.08 (t, J = 8.82 Hz, 2H), 7.19 (d, J = 8.27 Hz, 1H), 7.47 (s, 2H), 7.98-7.83 (m, 2H), 9.16 (s, 1H). EXAMPLE 25

[00473] Preparation of (R)-1-(3-((2-((2-(tert-butyl)isoindolin-5-yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-25)

[00474] 1,2-Bis(bromomethyl)-4-nitrobenzene (24.1) [00475] KNO 3 (920 mg, 9.1 mmol) was slowly added to the solution of 1,2- bis(bromomethyl)benzene (25.1) 2.0 g, 7.6 mmol) in H 2 SO 4 (10 mL) at 0 °C. The mixture was stirred at 0 °C for 2 hand then poured into ice water and filtered to afford 1,2-bis(bromomethyl)- 4-nitrobenzene (24.1) as a yellow solid (1.0 g, 43%).

[00476] 1 H NMR (400 MHz, DMSO-d 6 ): δ 4.92 (s, 2H), 4.96 (s, 2H), 7.79 (d, J = 8.52 Hz, 1H), 8.20 (dd, J = 8.49, 2.48 Hz, 1H), 8.41 (d, J = 2.45 Hz, 1H).

[00477] 2-tert-Butyl-5-nitroisoindoline (25.2)

[00478] 2-Methylpropan-2-amine (71 mg, 0.97 mmol) was added to a solution of 1,2- bis(bromomethyl)-4-nitrobenzene (24.1) (300 mg, 0.97 mmol) and K 2 CO 3 (267 mg, 1.94 mmol) in CH 3 CN (5 mL). The resulting mixture was heated at 90 °C for 2 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 20/1) to afford 2-tert-butyl-5-nitroisoindoline (25.2) as a yellow solid (160 mg, 74%).

[00479] LCMS: 221.2 [M+1] + .

[00480] 2-tert-Butylisoindolin-5-amine (25.3)

[00481] Pd/C (100 mg) was added to a solution of 2-tert-butyl-5-nitroisoindoline (25.2) (160 mg, 0.73mmol) in MeOH (15 mL). The reaction mixture was stirred at room temperature overnight under H 2 . The reaction mixture was filtered and concentrated to afford 2-tert- butylisoindolin-5-amine (25.3) as a yellow solid (130 mg, 94%).

[00482] LCMS: 191.3[M+1] + .

[00483] (R)-1-(3-(2-(2-tert-Butylisoindolin-5-ylamino)-5-fluoropyrim idin-4- ylamino)piperidin-1-yl) prop-2-en-1-one (I-25)

[00484] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B) (234 mg, 0.82 mmol) and Cs 2 CO 3 (443 mg, 1.36 mmol) were added to a solution of 2-tert-butylisoindolin-5-amine (25.3) (130 mg, 0.68 mmol) in t-AmOH (10 mL). Pd 2 (dba) 3 (62 mg, 0.07 mmol) and DavePhos (53 mg, 0.14 mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 10/1) to afford (R)-1-(3-(2-(2-tert-Butylisoindolin- 5-ylamino)-5-fluoropyrimidin-4-ylamino)piperidin-1-yl) prop-2-en-1-one (I-25) as a yellow solid (75 mg, 25%).

[00485] LCMS: 439.2 [M+1] + .

[00486] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.23 (s, 9H), 1.52-1.40 (m, 1H), 1.74-1.60 (m, 1H), 1.89-1.78 (m, 1H), 2.05-1.94 (m, 1H), 2.82-2.66 (m, 1H), 3.18-2.99 (m, 1H), 4.55-4.02 (m, 7H), 5.57-5.46 (m, 0.5H), 5.75-5.65 (m, 0.5H), 6.20-6.01 (m, 1H), 6.73-6.61 (m, 0.5H), 6.93- 6.82 (m, 0.5H), 7.17-7.05 (m, 1H), 7.56-7.32 (m, 2H), 7.83-7.70 (m, 1H), 7.91 (d, J = 3.57 Hz, 1H), 9.27-9.06 (m, 1H). EXAMPLE 26

[00487] Preparation of 1-(6-((5-Fluoro-2-((2-methylisoindolin-5-yl)amino)pyrimidin- 4- yl)amino)-2-azaspiro[3.3]heptan-2-yl)prop-2-en-1-one (I-26)

[00488] tert-Butyl 6-((methylsulfonyl)oxy)-2-azaspiro[3.3]heptane-2-carboxylate (26.2)

[00489] To a solution of tert-butyl 6-hydroxy-2-azaspiro[3.3]heptane-2-carboxylate (26.1) (500 mg, 2.34 mmol) and TEA (472 mg, 4.68 mmol) in DCM (5 mL) was added MsCl (322 mg, 2.81 mmol) dropwise at 0 °C. The resulting mixture was stirred at 0 °C for 2 h. TLC showed complete reaction. The mixture was poured into water and extracted with DCM. The organic phase was washed with water and brine, dried over Na 2 SO 4 and concentrated to afford tert-butyl 6-((methylsulfonyl)oxy)-2-azaspiro[3.3]heptane-2-carboxylate (26.2) (700 mg, crude), which was used in next step without further purification.

[00490] tert-Butyl 6-azido-2-azaspiro[3.3]heptane-2-carboxylate (26.3)

[00491] A mixture of tert-butyl 6-((methylsulfonyl)oxy)-2-azaspiro[3.3]heptane-2- carboxylate (26.2) (700 mg, crude), NaN 3 (456 mg, 7.02 mmol) and 15-crown-5 (50 mg) in DMF (10 mL) was stirred at 70 °C overnight. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and water. The organic phase was washed with water and brine, dried over Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by column chromatography to afford tert-butyl 6- azido-2-azaspiro[3.3]heptane-2-carboxylate (26.3) (500 mg, 90%, 2 steps) as a yellow oil.

[00492] tert-Butyl 6-amino-2-azaspiro[3.3]heptane-2-carboxylate (26.4)

[00493] A mixture of tert-butyl 6-azido-2-azaspiro[3.3]heptane-2-carboxylate (26.3) (500 mg, 2.10 mmol) and 10% Pd/C (50 mg) in MeOH (10 mL) was stirred at room temperature under hydrogen atmosphere overnight. TLC showed complete reaction. Pd/C was removed by filtration and washed with MeOH. The filtrate was concentrated to afford tert-butyl 6-amino-2- azaspiro[3.3]heptane-2-carboxylate (26.4) (400 mg, crude) as a light yellow oil, which was used in the next step without further purification.

[00494] tert-Butyl 6-((2-chloro-5-fluoropyrimidin-4-yl)amino)-2-azaspiro[3.3]he ptane-2- carboxylate (26.5)

[00495] A mixture of tert-butyl 6-amino-2-azaspiro[3.3]heptane-2-carboxylate (26.4) (400 mg, 1.89 mmol), 2,4-dichloro-5-fluoropyrimidine (315 mg, 1.89 mmol) and K 2 CO 3 (525 mg, 3.98 mmol) in DMF (10 mL) was stirred at 50 °C for 2 h. TLC showed the reaction was complete. The reaction mixture was cooled to room temperature and partitioned between EtOAc and water. The organic phase was washed with water and brine, dried over Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by column chromatography to afford tert-butyl 6-((2-chloro-5-fluoropyrimidin-4-yl)amino)-2-azaspiro[3.3]he ptane-2- carboxylate (26.5) (600 mg, 92.3%) as a white solid.

[00496] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.44 (s, 9H), 2.13-2.19 (m, 2H), 2.71-2.77 (m, 2H), 3.89 (s, 2H), 4.02 (s, 2H), 4.44-4.53 (m, 1H), 5.33 (br, 1H), 7.89 (d, 1H).

[00497] 1-(6-(2-Chloro-5-fluoropyrimidin-4-ylamino)-2-azaspiro[3.3]h eptan-2-yl)prop-2- en-1-one (26.6)

[00498] A solution of tert-butyl 6-(2-chloro-5-fluoropyrimidin-4-ylamino)-2- azaspiro[3.3]heptane-2- carboxylate (26.5, 130 mg, 0.38 mmol) and TFA (2 mL) in DCM (2 mL) was stirred at room temperature for 30 min. The mixture was concentrated and the residue was dissolved in DCM. Saturated NaHCO 3 solution (2 mL) was added and the mixture was stirred at 0 ºC. Acryloyl chloride (31.0 mg 0.34 mmol) was added slowly at 0 ºC. The reaction solution was stirred at 0 ºC for 1h and TLC showed the reaction was complete. The mixture was poured into water and extracted with DCM. The organic layer was washed with water and brine, dried over Na 2 SO 4 and concentrated under reduced pressure. The crude product was purified by column chromatography to afford 1-(6-(2-chloro-5-fluoropyrimidin-4-ylamino)-2- azaspiro[3.3]heptan-2-yl)prop-2-en-1-one (26.6) as a yellow oil (92 mg, 81.6%).

[00499] 1 H NMR (400 MHz, CDCl 3 ): δ 2.22-2.76 (m, 2H), 2.75-2.82 (m, 2H), 4.05 (s, 1H), 4.18 (d, 2H), 4.31 (s, 1H), 4.49-4.57 (m, 1H), 5.43 (dd, 1H), 5.68 (t, 1H), 6.12-6.22 (m 1H), 6.33 (d, 1H), 7.90 (d, 1H)

[00500] 1-(6-(5-Fluoro-2-(2-methylisoindolin-5-ylamino)pyrimidin-4-y lamino)-2- azaspiro[3.3]hept -2-yl)prop-2-en-1-one (I-26)

[00501] A stirred solution of 1-(6-(2-chloro-5-fluoropyrimidin-4-ylamino)-2- azaspiro[3.3]heptan-2-yl)prop-2-en-1-one (26.6) (100 mg, 0.33 mmol), 2-methylisoindolin-5- amine (50 mg, 0.33 mmol), DavePhos (26.5 mg, 0.06 mmol), Pd 2 (dba) 3 (30.8 mg, 0.034 mmol) and Cs 2 CO 3 (219 mg, 0.69 mmol) in tert-amyl alcohol (15 mL) was heated at 100 °C overnight under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM / MeOH: 20/1) to afford 1-(6-(5-fluoro-2-(2-methylisoindolin-5- ylamino)pyrimidin-4-ylamino)-2-azaspiro[3.3]heptan-2-yl)prop -2-en-1-one (I-26) as a white solid (21.2 mg, 15.4%).

[00502] LCMS: 409.2 [M+1] + [00503] 1 H NMR (400 MHz, CD 3 OD): 2.38-2.46 (m, 2H), 2.65-2.71 (m, 2H), 3.17 (d, 3H), 4.01 (s, 1H), 4.15 (s, 1H), 4.28 (s, 1H), 4.39 (s, 1H), 4.46-4.61 (m, 3H), 4.94 (s, 2H), 5.76 (d, 1H), 6.23-6.35 (m, 2H), 7.48 (d, 1H), 7.60-7.68 (m, 2H), 7.92 (t, 1H). EXAMPLE 27

[00504] Preparation of (R)-1-(3-((5-Fluoro-2-((1,2,3,4-tetrahydroisoquinolin-6- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-27)

[00505] (R)-tert-Butyl 6-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidin-2- yl)amino)-3,4-dihydroisoquinoline-2(1H)-carboxylate (27.2)

[00506] To a solution of tert-butyl 6-amino-3,4-dihydro-1H-isoquinoline-2-carboxylate (27.1) (1.0 g, 4.03 mmol) in toluene (15 mL) was added 1-[(3R)-3-[(2-chloro-5-fluoro-pyrimidin-4- yl)amino] -1-piperidyl]prop-2-en-1-one (intermediate B) (1.38 g, 4.83 mmol), Cs 2 CO 3 (2.62 g, 8.05 mmol), Pd 2 (dba) 3 (0.37 g, 0.40 mmol) and DavePhos (0.16 g, 0.40 mmol). The mixture was stirred at 100 °C overnight. TLC showed the reaction was complete. The mixture was quenched with water, extracted with EtOAc, washed with brine, dried over Na 2 SO 4 and concentrated in vacuo to afford the crude product. The crude compound was purified by column chromatography (DCM / EtOAc = 5/1) to afford (R)-tert-butyl 6-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)-3,4-dihydroisoquinoline-2(1H)-ca rboxylate (27.2) as a yellow solid (800 mg, 40%).

[00507] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.42 (s, 9H), 1.64-1.66 (m, 1.5H),1.81-1.84 (m, 1H), 1.97-2.00 (m, 1H), 2.64-2.67 (m, 2.5H), 2.71-2.79 (m, 1H), 2.98-3.05 (m, 1H), 3.12-3.16 (m, 0.5H), 3.49 (s, 2H), 3.99-4.04 (m, 2H), 4.19-4.23 (m, 0.5H), 4.38 (br, 2H), 4.45 (d, 0.5H), 5.45 (d, 0.5H), 5.71 (d, 0.5H), 6.01 (dd, 0.5H), 6.12 (dd, 0.5H), 6.59 (dd, 0.5H), 6.86 (dd, 0.5H), 6.96 (d, 1H), 7.37 (dd, 2H), 7.63 (br, 1H), 7.90 (d, 1H), 9.04 (s, 1H).

[00508] (R)-1-(3-((5-Fluoro-2-((1,2,3,4-tetrahydroisoquinolin-6-yl)a mino)pyrimidin-4- yl)amino)-piperidin-1-yl)prop-2-en-1-one (I-27)

[00509] To a solution of (R)-tert-butyl 6-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)-3,4-dihydroisoquinoline-2(1H)-ca rboxylate (27.2) (100 mg, 0.20 mmol) in DCM (3 mL) was added 2,2,2-trifluoroacetic acid (3 mL) . The mixture was stirred at room temperature for 1h. TLC showed that the reaction was complete. The mixture was concentrated to remove the excess TFA and washed with Et 2 O. The mixture was concentrated in vacuo to afford the TFA salt of (R)-1-(3-((5-fluoro-2-((1,2,3,4-tetrahydroisoquinolin-6- yl)amino)pyrimidin-4-yl)amino)-piperidin-1-yl)prop-2-en-1-on e (I-27) as a white solid (100 mg, 97%).

[00510] LCMS: 397.3 [M+1] +

[00511] 1 H NMR (400MHz, CD 3 OD): δ 1.56-1.60 (m, 1H), 1.80-1.83 (m, 1H), 1.93-1.98 (m, 1H), 2.15 (t, 1H), 2.81 (t, 0.5H), 2.93 (t, 0.5H), 3.00-3.13 (m, 2.5H), 3.23 (t, 0.5H), 3.50 (t, 2H), 4.06-4.17 (m, 2H), 4.36 (s, 2H), 4.47 (d, 0.5H), 4.64 (d, 0.5H), 5.45 (d, 0.5H), 5.83 (d, 0.5H), 6.15 (d, 0.5H), 6.24-6.32 (m, 1H), 6.85 (dd, 0.5H), 7.25 (t, 1H), 7.39-7.55 (m, 2H), 7.97 (dd, 1H). EXAMPLE 28

[00512] Preparation of (R)-1-(3-((5-Fluoro-2-((2-methyl-1,2,3,4-tetrahydroisoquinol in-6- yl)amino)-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-on e (I-28)

[00513] To a solution of (R)-1-(3-((5-fluoro-2-((1,2,3,4-tetrahydroisoquinolin-6- yl)amino)pyrimidin-4-yl)amino)-piperidin-1-yl)prop-2-en-1-on e (I-27) (79 mg, 0.20 mmol) in DCM (5 mL) was added DIPEA (51.4 mg, 0.40 mmol) to adjust pH=9 followed by addition of formaldehyde (64.7 mg, 0.80 mmol). The mixture was stirred at room temperature for 30 min. NaBH(OAc) 3 (84.46 mg, 0.40 mmol) was added. The mixture was stirred at room temperature for 3 h. TLC showed that the reaction was complete. The mixture was quenched with water, extracted with DCM, washed with water and concentrated in vacuo to afford the crude product. The crude compound was purified by column chromatography to afford (R)-1-(3-((5-fluoro-2- ((2-methyl-1,2,3,4-tetrahydroisoquinolin-6-yl)amino)-pyrimid in-4-yl)amino)piperidin-1-yl)prop- 2-en-1-one (I-28) as a yellow solid (30.8 mg, 38%).

[00514] LCMS: 411.3 [M+1] +

[00515] 1 H NMR (400MHz, DMSO-d 6 ): δ1.41 (br, 1H), 1.63 (br, 1H),1.79-1.84 (m, 1H), 1.99 (d, 1H), 2.34 (s, 3H), 2.57 (s, 2H), 2.67-2.80 (m, 3H), 3.08-3.13 (m, 1H),3.42 (s, 2H), 4.01 (d, 2H), 4.19 (d, 0.5H), 4.43 (d, 0.5H), 5.47 (d, 0.5H), 5.71 (d, 0.5H), 6.06 (dd, 1H), 6.60 (dd, 0.5H), 6.85 (d, 1H), 7.33 (dd, 2H), 7.56 (d, 1H), 7.89 (d, 1H), 8.96 (s, 1H). EXAMPLE 29

[00516] Preparation of (R)-1-(3-((5-Fluoro-2-((2-isopropyl-1,2,3,4-tetrahydroisoqui nolin- 6-yl)amino)-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1- one (I-29)

[00517] To

yl)amino)pyrimidin-4-yl)amino)-piperidin-1-yl)prop-2-en-1 -one (I-27) (127 mg, 0.32 mmol) was added DIPEA (82.6 mg, 0.64 mmol) to adjust pH=9 followed by addition acetone (74.42 mg, 1.28 mmol). The mixture was stirred at room temperature for 0.5 h. NaBH(OAc) 3 (135.78 mg, 0.64 mmol) was added and the mixture was stirred at room temperature for 3 h . TLC showed the reaction was complete. The mixture was quenched with water, extracted with DCM, washed with brine and concentrated in vacuo to afford the crude product. The crude was purified by column chromatography (DCM/ MeOH = 20/1) to afford (R)-1-(3-((5-fluoro-2-((2-isopropyl-1,2,3,4- tetrahydroisoquinolin-6-yl)amino)-pyrimidin-4-yl)amino)piper idin-1-yl)prop-2-en-1-one (I-29) as a yellow solid (19.4 mg, 14%).

[00518] LCMS: 439.3 [M+1] +

[00519] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.14-1.23 (m, 8H), 1.41 (br, 1H), 1.61-1.65 (m, 1H), 1.81 (d, 1H), 1.97 (d, 1H), 2.73-3.17 (m, 7H), 4.02 (d, 2H), 4.17 (d, 0.5H), 4.43 (d, 0.5H), 5.49 (d, 0.5H), 5.71 (d, 0.5H), 6.12 (dd, 1H), 6.63 (t, 0.5H), 6.82-6.93 (m, 1.5H), 7.39-7.66 (m, 3H), 7.90 (s, 1H), 9.05 (s, 1H). EXAMPLE 30

[00520] Preparation of (R)-1-(3-((2-((2-Acetyl-1,2,3,4-tetrahydroisoquinolin-6-yl)a mino)- 5-fluoro-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-30)

[00521] To a solution of (R)-1-(3-((5-fluoro-2-((1,2,3,4-tetrahydroisoquinolin-6- yl)amino)pyrimidin-4-yl)amino)-piperidin-1-yl)prop-2-en-1-on e (I-27) (79 mg, 0.20 mmol) in DCM (5 mL) was added DIPEA (77.1 mg, 0.60 mmol) and acetyl chloride (15.6 mg, 0.20 mmol) at 0 °C .The mixture was stirred at 0 °C for 0.5 h .TLC showed that the reaction was complete . The mixture was quenched with water , extracted with DCM ,washed with water and brine and concentrated in vacuo to afford the crude product .The crude compound was purified by column chromatography (DCM/MeOH= 50/1) to afford (R)-1-(3-((2-((2-acetyl-1,2,3,4- tetrahydroisoquinolin-6-yl)amino)-5-fluoro-pyrimidin-4-yl)am ino)piperidin-1-yl)prop-2-en-1- one (I-30) as a white solid (26.5 mg , 30 %).

[00522] LCMS: 439.3 [M+1]+

[00523] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.42 (br, 1H), 1.65 (br, 1H),1.81-1.84 (m, 1H),1.97-2.01 (m, 1H), 2.06 (d, 3H), 2.62 (br, 1H), 2.71-2.80 (m, 2H), 3.02-3.12 (m, 1H),3.58 (d, 2H),4.00-4.04 (m, 2H), 4.21 (d, 0.5H), 4.47-4.53 (m, 2.5H),5.45 (t, 0.5H),5.71 (d, 0.5H),6.01 (dd, 0.5H), 6.12 (d, 0.5H), 6.56-6.60 (m, 0.5H), 6.86 (dd, 0.5H), 6.97-7.00 (m, 1H), 7.33-7.41 (m, 2H),7.63 (dd, 1H), 7.91 (d, 1H), 9.04 (d, 1H). EXAMPLE 31

[00524] Preparation of (R)-1-(3-(5-Fluoro-2-(2-(oxetan-3-yl)-1,2,3,4- tetrahydroisoquinolin-6-ylamino)-pyrimidin-4-ylamino)piperid in-1-yl)prop-2-en-1-one (I- 31)

[00525] A mixture of (R)-tert-butyl 6-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)-3,4-dihydroisoquinoline-2(1H)-ca rboxylate (27.2) (100 mg, 0.2 mmol) in TFA (3 mL) was stirred at room temperature for 30 min. The reaction mixture was concentrated to dryness and diluted with DCM (10 mL). DIPEA (1 mL) and NaBH(OAc) 3 (85 mg, 0.4 mmol) were added. The mixture was stirred at 0 °C for 30 min followed by the addition of oxetan-3-one (58 mg, 0.8 mmol). The suspension was stirred at 0 °C for 3 h. The reaction mixture was quenched with water and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM/ methanol : 10/1) to afford (R)-1-(3-(5- fluoro-2-(2-(oxetan-3-yl)-1,2,3,4-tetrahydroisoquinolin-6-yl amino)-pyrimidin-4- ylamino)piperidin-1-yl)prop-2-en-1-one (I-31) as a yellow solid (17 mg, 18.9%).

[00526] LCMS:453.2[M+1] + .

[00527] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.38~1.43 (m, 1H), 1.61~1.64 (m, 1H), 1.80~1.84 (m, 1H), 1.98 ~2.00 (m, 1H), 2.45 (t, 2H), 2.70~2.79 (m, 3H), 2.99~3.05 (m, 0.5H), 3.13~3.18 (m, 0.5H), 3.29~3.37 (m, 3H), 3.54 (t, 1H), 4.01 (br, 2H), 4.15~4.20 (m, 0.5H), 4.41~4.52 (m, 2.5H), 4.60 (t, 2H), 4.70 (dd, 0.5H), 5.69 (dd, 0.5H), 6.06 (dd, 1H), 5.60 (dd, 0.5H), 6.82~6.88 (m, 1.5H), 7.34 (dd, 2H), 7.57 (d, 1H), 7.89 (d, 1H), 8.97 (s, 1H). EXAMPLE 32

[00528] Preparation of (R)-1-(3-(5-Fluoro-2-(2-(oxetan-3-ylmethyl)-1,2,3,4- tetrahydroisoquinolin-6-ylamino)pyrimidin-4-ylamino)piperidi n-1-yl)prop-2-en-1-one (I- 32)

[00529] A mixture of (R)-tert-butyl 6-((4-((1-acryloylpiperidin-3-yl)amino)-5- fluoropyrimidin-2-yl)amino)-3,4-dihydroisoquinoline-2(1H)-ca rboxylate (27.2) (100 mg, 0.2 mmol) in TFA (3 mL) was stirred at room temperature for 30 min. The reaction mixture was concentrated to dryness and diluted with CH 3 CN (10 mL). K 2 CO 3 (60 mg, 0.4 mmol) and oxetan-3-ylmethyl-4-methylbenzenesulfonate (50 mg, 0.2 mmol) were added. The mixture was stirred at room temperature overnight. The reaction mixture was quenched with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM/methanol: 10/1) to afford (R)-1-(3-(5-fluoro-2-(2-(oxetan-3-ylmethyl)- 1,2,3,4-tetrahydroisoquinolin-6-ylamino)pyrimidin-4-ylamino) piperidin-1-yl)prop-2-en-1-one (I-32) as a yellow solid (20 mg, 21.5%).

[00530] LCMS:467.2 [M+1] + .

[00531] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.38-1.43 (m, 1H), 1.61-1.65 (m, 1H), 1.79-1.84 (m, 1H), 1.97-2.01 (m, 1H), 2.56 (br, 2H), 2.66-2.75 (m, 5H), 3.02-3.18 (m, 1H), 3.25 (t, 1H), 3.39 (s, 2H), 4.00 (dd, 2H), 4.19 (dd, 0.5H), 4.29 (t, 2H), 4.41-4.44 (m, 0.5H), 4.66 (dd, 2H), 5.47 (d, 0.5H), 5.71 (dd, 0.5H), 6.02 (dd, 0.5H), 6.10 (dd, 0.5H), 6.60 (dd, 0.5H), 6.82-6.88 (m, 1.5H), 7.28 (t, 1H), 7.35 (d, 1H), 7.55 (d, 1H), 7.90 (d, 1H), 8.95 (s, 1H). EXAMPLE 33

[00532] Preparation of (R)-1-(3-((5-fluoro-2-((1,2,3,4-tetrahydroisoquinolin-7- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-33)

1 P 1 4 f 263 [00533] tert-Butyl 7-nit -3,4-dihydroisoquinoline-2(1H)-carboxylate (33.2)

[00534] To a solution of 7-nitro-1,2,3,4-tetrahydroisoquinoline (33.1) (4 g, 22.44 mmol) in THF (100 mL) was added TEA (2.27 g, 22.45 mmol) and tert-butoxycarbonyl tert-butyl carbonate (5.4 g, 24.74 mmol) . The reaction mixture was stirred at room temperature for 2h. TLC showed the reaction was complete. The reaction mixture was quenched with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM) to afford tert-butyl 7-nitro-3,4-dihydroisoquinoline-2(1H)-carboxylate (33.2) as a yellow liquid (4.4 g, 70.4%).

[00535] LCMS: 279.1 [M+1] + .

[00536] 1 HNMR (400 MHz, CDCl 3 ): δ 1.50 (s, 9H), 2.93 (t, 2H), 3.69 (t, 2H), 4.66 (s, 2H), 7.29 (t, 1H), 8.03-8.02 (m, 2H).

[00537] tert-Butyl 7-amino-3,4-dihydroisoquinoline-2(1H)-carboxylate (33.3)

[00538] A solution of tert-butyl 7-nitro-3,4-dihydroisoquinoline-2(1H)-carboxylate (33.2) (4.4 g, 15.81 mmol) and Pd/C (500 mg, 4.69 mmol) in MeOH (100 mL) was stirred at room temperature for 3h under H 2 . The reaction mixture was filtered. The filtrate was concentrated to afford tert-butyl 7-amino-3,4-dihydroisoquinoline-2(1H)-carboxylate (33.3) as a yellow liquid (3.8 g, 96.8%).

[00539] 1 H NMR (400 MHz, CDCl 3 ): δ 1.48 (s, 9H), 2.71 (t, 2H), 3.58 (s, 4H), 4.47 (s, 2H), 6.44 (s, 1H), 6.52 (dd, 1H), 6.91 (d, 1H).

[00540] (R)-tert-Butyl 7-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoropyrimidin-2- ylamino)-3,4-dihydroisoquinoline-2(1H)-carboxylate (33.4)

[00541] A stirred solution of tert-butyl 7-amino-3,4-dihydroisoquinoline-2(1H)-carboxylate (33.3) (2.06 g, 8.28 mmol), DavePhos (652 mg, 1.65 mmol), (R)-1-(3-(2-chloro-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (intermediate B, 2.36 g, 8.28 mmol), Pd 2 (dba) 3 (762 mg, 0.83 mmol) and Cs 2 CO 3 (5.41 g,16.10 mmol) in tert-amyl alcohol (200 mL) was heated at 100 °C overnight under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM / MeOH=20/1) to afford (R)-tert- butyl 7-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoropyrimidin-2-yla mino)-3,4- dihydroisoquinoline-2(1H)-carboxylate (33.4) as a yellow solid (3.5 g, 85%).

[00542] LCMS: 497.5 [M+1] + .

[00543] (R)-1-(3-(5-Fluoro-2-(1,2,3,4-tetrahydroisoquinolin-7-ylamin o)pyrimidin-4- ylamino)-piperidin-1-yl)prop-2-en-1-one (I-33)

[00544] To a so u on o -tert- u y - - -acry oy p peridin-3-ylamino)-5- fluoropyrimidin-2-ylamino)-3,4-dihydroisoquinoline-2(1H)-car boxylate (33.4) (150 mg, 0.30 mmol) in DCM (20 mL) was added TFA (2.5 mL). The reaction mixture was stirred at room temperature for 1h. TLC showed the reaction was complete. The reaction solution was concentrated to remove the excess TFA and DCM. The residue was washed with Et 2 O three times and dried to afford the TFA salt of (R)-1-(3-(5-fluoro-2-(1,2,3,4-tetrahydroisoquinolin-7- ylamino)pyrimidin-4-ylamino)-piperidin-1-yl)prop-2-en-1-one (I-33) as a yellow solid (100 mg, 83%).

[00545] LCMS: 397.2 [M+1] + .

[00546] 1 H NMR (400 MHz, CD 3 OD): δ 1.57-1.60 (m, 1H), 1.77-1.83 (m, 1H), 1.93-1.98 (m, 1H), 2.11-2.14 (m, 1H), 2.84-2.94 (m, 1H), 3.04-3.16 (m, 2.5H), 3.19-3.26 (m, 0.5H), 3.48-3.59 (m, 2H), 4.04-4.46 (m, 4.5H), 4.62 (d, 0.5H), 5.46 (d, 0.5H), 5.82 (d, 0.5H), 6.06 (d, 0.5H), 6.24- 6.37 (m, 1H), 684(dd, 0.5H), 7.27 (t, 1H), 7.38-7.53 (m, 2H). EXAMPLE 34

[00547] Preparation of (R)-1-(3-((5-Fluoro-2-((2-methyl-1,2,3,4-tetrahydroisoquinol in-7- yl)amino)-pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-on e (I-34)

[00548] A mixture of formaldehyde (0.3 mL) and (R)-1-(3-(5-fluoro-2-(1,2,3,4- tetrahydroisoquinolin-7-ylamino)pyrimidin-4-ylamino)-piperid in-1-yl)prop-2-en-1-one (I-33) (80 mg, 0.20 mmol) in MeOH (8 mL) was stirred at 25 °C for 1 h. NaBH 3 CN (25 mg, 0.40 mmol) was added. The mixture was stirred for 30 min. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by prep-HPLC to afford the TFA salt of (R)-1-(3-((5-fluoro-2-((2-methyl-1,2,3,4- tetrahydroisoquinolin-7-yl)amino)-pyrimidin-4-yl)amino)piper idin-1-yl)prop-2-en-1-one (I-34) as a white solid (70 mg, 66% yield).

[00549] LCMS: 411.3[M+1] + .

[00550] 1 H NMR (400 MHz, CD 3 OD): δ 1.55-1.65 (m, 1H), 1.78-1.84 (m, 1H), 1.94-1.97 (m, 1H), 2.11 -2.15 (m, 1H), 2.85-2.94 (m, 1.5H), 3.07 (d, J = 6.4 Hz, 3H), 3.20-3.25 (m, 3H), 4.44- 4.46 (m, 0.5H), 4.05-4.17 (m, 2H), 4.36-4.64 (m, 3H), 5.49-5.51 (m, 0.5H), 5.82-5.85 (m, 0.5H), 6.05-6.10 (m, 0.5H), 6.25-6.30 (m, 0.5H), 6.38-6.42 (m, 0.5H), 6.84-6.90 (m, 0.5H), 7.29-7.56 (m, 3H), 7.94-8.00 (m, 1H). EXAMPLE 35

[00551] Preparation of (R)-1-(3-(5-Fluoro-2-(2-(oxetan-3-yl)-1,2,3,4- tetrahydroisoquinolin-7-ylamino)-pyrimidin-4-ylamino)piperid in-1-yl)prop-2-en-1-one (I- 35)

[00552] A mixture of (R)-1-(3-(5-fluoro-2-(1,2,3,4-tetrahydroisoquinolin-7- ylamino)pyrimidin-4-ylamino)-piperidin-1-yl)prop-2-en-1-one (I-33) (99 mg, 0.25 mmol) and oxetan-3-one (72 mg, 1 mmol) in DCM (10 mL) was stirred at 25 °C for 1 h. NaBH 3 CN (25 mg, 0.40 mmol) was added. The mixture was stirred overnight. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM/methanol: 10/1) to afford (R)-1-(3-(5-fluoro-2-(2-(oxetan-3-yl)- 1,2,3,4-tetrahydroisoquinolin-7-ylamino)-pyrimidin-4-ylamino )piperidin-1-yl)prop-2-en-1-one (I-35) as a yellow solid (50 mg, 44%).

[00553] LCMS: 453 [M+1] + .

[00554] 1 H NMR (400 MHz, DMSO-d 6 ): 1.37-1.40 (m, 1H), 1.62-1.63 (m, 1H), 1.81-1.84 (m, 1H), 1.97-1.98 (m, 1H), 2.70 (s, 4H), 3.00-3.10 (m, 1H), 3.23-3.30 (m, 1H), 3.59-3.36 (m, 2H), 3.51-3.53 (m, 1H), 4.00-4.04 (m, 2H), 4.23-4.25 (m, 0.5H), 4.44-4.45 (m, 0.5H), 4.50 (s, 2H), 4.60 (s, 2H), 5.47-5.50 (m, 0.5H), 5.70-5.73 (m, 0.5H), 6.00-6.16 (m, 1H), 6.58-6.62 (m, 0.5H), 6.83-6.87 (m, 0.5H), 6.90-6.92 (d, J = 8.40 Hz, 1H), 7.23-7.45 (m, 2H), 7.51-7.60 (m, 1H), 7.89 (d, J = 3.20 Hz, 1H), 8.98 (s, 1H). EXAMPLE 36

[00555] Preparation of (R)-1-(3-(5-Fluoro-2-(2-(oxetan-3-ylmethyl)-1,2,3,4- tetrahydroisoquinolin-7-ylamino)pyrimidin-4-ylamino)piperidi n-1-yl)prop-2-en-1-one (I- 36)

I -36

[00556] To a solution of (R)-1-(3-(5-fluoro-2-(1,2,3,4-tetrahydroisoquinolin-7- ylamino)pyrimidin-4-ylamino)-piperidin-1-yl)prop-2-en-1-one (I-33) (100 mg, 0.25 mmol) in CH 3 CN (150 mL) was added K 2 CO 3 (277 mg, 0.50 mmol) and oxetan-3-ylmethyl 4- methylbenzenesulfonate (91.65 mg, 0.37 mmol). The reaction mixture was stirred at 55 ºC overnight under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (DCM:MeOH=10:1) to afford (R)-1-(3-(5-fluoro-2-(2- (oxetan-3-ylmethyl)-1,2,3,4-tetrahydroisoquinolin-7-ylamino) pyrimidin-4-ylamino)piperidin-1- yl)prop-2-en-1-one (I-36) as a yellow solid (60 mg, 50.9%).

[00557] LCMS: 467.1 [M+1] + .

[00558] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.40-1.43 (m, 1H), 1.60-1.64 (m, 1H), 1.65-1.86 (m, 1H), 1.98-2.00 (m, 1H), 2.58-2.75 (m, 6H), 2.99-3.14 (m, 1H), 3.23-3.26 (m, 1H), 3.38-3.39 (m, 3H), 4.00-4.03 (m, 2H), 4.22-4.28 (m, 2.5H), 4.43 (d, 0.5H), 4.63-4.68 (m, 2H), 5.48 (d, 0.5H), 5.70 (d, 0.5H), 6.11 (dd, 1H), 6.60 (dd, 0.5H), 6.83-6.89 (m, 1.5H), 7.24-7.39 (m, 2H), 7.49 (s, 1H),7.88 (d, 1H). EXAMPLE 37

[00559] Preparation of (R)-1-(3-((5-Fluoro-2-((7-fluoro-2-methylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperi in-1-yl)prop-2-en-1-one (I-37

[00560] 1,2-Bis(bromomethyl)-3-fluorobenzene (37.2)

[00561] To a solution of 1-fluoro-2,3-dimethylbenzene (37.1, 5 g, 40.3 mmol) in CCl 4 (100 mL) was added NBS (15.3 g, 400 mmol) and AIBN (78 mg, 4 mmol). The mixture was allowed to stir at 80 ºC for 3 h. The reaction was cooled to room temperature and filtered. The crude product was purified by column chromatography (hexane) to afford 1,2-bis(bromomethyl)-3- fluorobenzene (37.2) (6 g, 53%).

[00562] 4-Fluoro-2-methylisoindoline (37.3) [00563] To 1,2-bis(bromomethyl)-3-fluorobenzene (37.2) (3 g, 10.6 mmol) was added methylamine methanolic solution (30% wt/wt, 30 mL). The mixture was allowed to stir at room temperature for 3 h. The reaction was concentrated in vacuo. The crude product was purified by column chromatography (hexane/ethyl acetate: 1/1) to afford 4-fluoro-2-methylisoindoline (37.3) as a yellow solid (500 mg, 31%).

[00564] 4-Fluoro-2-methyl- -nitroisoindoline (37.4) [00565] Fuming HNO 3 (210 mg, 3.3 mmol) was added to the solution of 37.3 (500 mg, 3.3 mmol) in H 2 SO 4 (15 mL) at 0ºC. The reaction mixture was stirred at 0 ºC for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (hexane/ethyl acetate: 1/1) to afford 4- fluoro-2-methyl-6-nitroisoindoline (37.4) as a yellow solid (150 mg, 38.7%).

[00566] LCMS: 235.3 [M+1] + .

[00567] 1 H NMR (400 MHz, CDCl 3 ) δ 2.62 (s, 3H), 3.99 (s, 2H), 4.04 (s, 2H), 7.10 (d, J = 8.0Hz, 1H), 7.93-8.00 (m, 1H).

[00568] 7-Fluoro-2-methylisoindolin-5-amine (37.5)

[00569] 4-Fluoro-2-methyl-6-nitroisoindoline (37.4) (150 mg, 0.77 mmol) was dissolved in MeOH (10 mL). Pd/C (10mg) was added to the mixture. The reaction was stirred under H 2 overnight. The reaction solution was filtered and the filtrate was concentrated to afford 7-fluoro- 2-methylisoindolin-5-amine (37.5) as a yellow solid (100 mg, 78.2%). [00570] (R)-1-(3-(5-Fluoro-2-(7-fluoro-2-methylisoindolin-5-ylamino) pyrimidin-4- ylamino)piperidin-1-yl)prop-2-en-1-one (I-37) [00571] A suspension of 7-fluoro-2-methylisoindolin-5-amine (37.5) (60 mg, 0.36 mmol), Davephos (18 mg, 0.04 mmol), (R)-1-(3-(2-chloro-5-fluoropyrimidin-4-ylamino)piperidin-1- yl)prop-2-en-1-one (intermediate B, 142 mg, 0.5 mmol), Pd 2 (dba) 3 (44 mg, 0.04 mmol) and Na 2 CO 3 (105 mg, 1.0 mmol) in 2-methyl-2-butanol (20 mL) was heated at 100 °C under nitrogen for 7 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 20/1) to afford (R)-1-(3-(5-fluoro-2-(7-fluoro-2- methylisoindolin-5-ylamino)pyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (I-37) as a yellow solid (60mg, 40%).

[00572] LCMS: 415.3 [M+1] + .

[00573] 1 H NMR (400 MHz, DMSO-d 6 ) δ 1.30-1.36 (m, 1H), 1.55-1.59 (m, 1H), 1.75-1.79 (m, 1H), 1.90-1.95 (m, 1H), 2.46 (s, 3H), 2.71-2.77 (m, 1H), 2.95-3.11 (m, 1H), 3.78-3.97 (m, 6H), 4.10-4.16 (m, 0.5H), 4.36-4.40 (m, 0.5H), 5.49-5.52 (m, 0.5H), 5.68-5.70 (m, 0.5H), 5.99- 6.14 (m, 1H), 6.50-6.57 (m, 0.5H), 6.79-6.83 (m, 0.5H), 6.91 (d, J = 8.00 Hz, 1H), 7.33 (d, J = 7.66 Hz, 1H), 7.50-7.60 (m, 1H), 7.84 (m, 1H), 8.36 (s, 1H).

EXAMPLE 38

[00574] Preparation of (R)-1-(3-((5-Fluoro-2-((2-methyl-2,3,4,5-tetrahydro-1H- benzo[c]azepin-7-yl)amino)pyrimidin-4-yl)amino)piperidin-1-y l)prop-2-en-1-one (I-38)

[00575] (Z)-6-Bromo-3,4-dihydronaphthalen-1(2H)-one oxime (38.2)

[00576] To a solution of 6-bromo-3,4-dihydronaphthalen-1(2H)-one (38.1, 5 g, 0.022 mol) in EtOH (30 mL) was added NH 2 OH*HCl (1.86 g, 0.027 mol) and NaOAc (3.66 g, 0.045 mol). The mixture was heated at reflux for 2 h. TLC showed the reaction was complete. The mixture was quenched with water and filtered. The solid was washed with water and dried to afford (Z)-6- bromo-3,4-dihydronaphthalen-1(2H)-one oxime (38.2) as a white solid (4.8 g, 90 %).

[00577] LCMS: 241.0 [M+1] + .

[00578] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.72-1.75 (m, 2H), 2.64 (t, 2H), 2.71 (t, 2H), 7.37 (dd, 1H), 7.42 (d, 1H), 7.76 (d, 1H), 11.22 (s, 1H).

[00579] 7-Bromo-2,3,4,5-tetrahydro-1H-benzo c]azepin-1-one (38.3)

[00580] A solution of (Z)-6-bromo-3,4-dihydronaphthalen-1(2H)-one oxime (38.2, 4.8 g, 0.02 mol) in SOCl 2 (15 mL) was heated at 50ºC for 4 h . TLC showed that the reaction was complete. The mixture was concentrated to remove SOCl 2 and adjusted to pH=7 with aqueous sat. NaHCO 3 solution. The resulting mixture was extracted with EtOAc, washed with water and brine and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (hexane/EtOAc= 1/1) to afford 7-bromo-2,3,4,5-tetrahydro-1H- benzo[c]azepin-1-one (38.3) as a green solid (1.4 g, 29 %).

[00581] LCMS: 239.9 [M+1] + .

[00582] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.86-1.88 (m, 2H), 2.73 (t, 2H), 2.87-2.92 (m, 2H), 7.42-7.44 (m, 1H), 7.52-7.55 (m, 2H), 8.13 (br, 1H).

[00583] 7-Bromo-2-methyl dro-1H-benzo[c]azepin-1-one (38.4)

[00584] To a solution of 7-bromo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (38.3, 1 g, 4.18 mmol) in DMF (15 mL) was added NaH (60%, 334 mg, 8.35 mmol) at room temperature. The mixture was stirred for 30 min followed by addition of MeI (1.19 g, 8.39 mmol). The mixture was stirred for 2h. TLC showed the reaction was complete. The mixture was quenched with water and extracted with EtOAc. The organic solution was washed with water and brine and concentrated in vacuo to afford 7-bromo-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (38.4) as a brown solid (1.06 g, 100%).

[00585] LCMS: 254.0[M+1]+

[00586] tert-Butyl (2-methyl-1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)ca rbamate (38.5)

[00587] To a solution of 7-bromo-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (38.4, 1.06 g, 4.17 mmol) in 1,4-dioxane (15 mL) was added NH 2 Boc (1.52 g, 12.99 mmol), Pd 2 (dba) 3 (200 mg, 0.219 mmol ), Xantphos (125 mg, 0.216 mmol) and Cs 2 CO 3 (2.8 g, 8.62 mmol) at room temperature. The mixture was stirred at 100ºC for 4h. TLC showed the reaction was complete. The mixture was quenched with water and extracted with EtOAc. The organic layer was washed with water and brine and concentrated in vacuo to afford the crude product. The material was purified by column chromatography (DCM/MeOH =50/1) to afford tert- butyl (2-methyl-1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)ca rbamate (38.5) as a yellow solid (600 mg, 50%).

[00588] LCMS: 291.2[M+1] + .

[00589] 7-Amino-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (38.6)

[00590] To a solution of tert-butyl 2-methyl-1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7- ylcarbamate (38.5, 160 mg, 0.55 mmol) in DCM (4 mL) was added TFA (4 mL) at room temperature. The mixture was stirred for 30 min. TLC showed the reaction was complete. The mixture was concentrated to remove the solvent and adjusted to pH=7 with aqueous NaHCO 3 and extracted with EtOAc. The organic layer was washed with water and brine and concentrated in vacuo to afford 7-amino-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (38.6) as a yellow solid (100 mg, 96%).

[00591] 1 H NMR (400MHz, DMSO-d 6 ): δ 1.90-1.95 (m, 2H), 2.49-2.51 (m, 4H), 2.96 (s, 3H), 3.11-3.15 (m, 2H), 5.44 (d, 2H), 6.32 (d, 1H), 6.42 (dd, 1H), 7.17 (d, 1H).

[00592] 2-Methyl-2,3,4,5-tetrahydro-1H-benzo[c azepin-7-amine (38.7)

[00593] To a solution of 7-amino-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (38.6, 100 mg, 0.526 mmol) in dry THF (10 mL) was added LAH (90 mg, 2.37 mmol) at 0ºC. The mixture was stirred for 30 min then refluxed for 4h. TLC showed the reaction was complete. The mixture was quenched with water and extracted with EtOAc. The organic layer was washed with water and brine and concentrated in vacuo to afford 2-methyl-2,3,4,5-tetrahydro-1H- benzo[c]azepin-7-amine (38.7) as a brown solid (50 mg, 54 %).

[00594] (R)-1-(3-((5-Fluoro-2-((2-methyl-2,3,4,5-tetrahydro-1H-benzo [c]azepin-7- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-38)

[00595] To a solution of 2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-amine (38.7, 50 mg, 0.284 mmol) in t-AmOH (15 mL) was added (R)-1-(3-(2-chloro-5-fluoropyrimidin-4- ylamino) piperidin-1-yl)prop-2- en-1-one (intermediate B, 97 mg, 0.34 mmol), Pd 2 (dba) 3 (26 mg, 0.028 mmol, Davephos (11 mg , 0.028 mmol) and Na 2 CO 3 (211 mg, 1.99 mmol) at room temperature. The mixture was stirred at 100 ºC for 4h. TLC showed the reaction was complete. The mixture was quenched with water and extracted with EtOAc. The organic layer was washed with water and brine and concentrated in vacuo to get the crude product. The material was purified by prep. HPLC to afford (R)-1-(3-((5-Fluoro-2-((2-methyl-2,3,4,5-tetrahydro-1H- benzo[c]azepin-7-yl)amino)pyrimidin-4-yl)amino)piperidin-1-y l)prop-2-en-1-one (I-38) in the form of TFA salt as a yellow solid (27.6 mg, 23%).

[00596] LCMS: 425.2 [M+1] + .

[00597] 1 H NMR (400MHz, CD 3 OD): δ 1.56-1.59 (m, 1H), 2.73 (t, 2H), 1.79-1.82 (m, 1H), 1.94-1.98 (m, 2H), 2.14-2.16 (br, 2H), 2.83-3.26 (m, 8H), 3.49-352 (m, 1H), 3.66-3.69 (m, 1H), 4.06-4.20 (m, 2H), 4.44-4.51 (m, 2.5H), 4.63-4.66 (m, 0.5H), 5.48-5.49 (m, 0.5H), 2.62 (br, 1H), 5.83 (d, 0.5H), 6.08 (d, 0.5H), 6.26 (d, 0.5H), 6.43 (d, 0.5H), 6.86 (dd, 0.5H), 7.39 (d, 1H), 7.50- 7.68 (m, 2H), 7.97 (dd, 1H). EXAMPLE 39

[00598] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(2-fluoroethyl)isoindolin-5- yl)amino)p rimidin-4- l)amino)piperidin-1- l)prop-2-en-1-one (I-39)

[00599] To (R)-1-(3-((5-fluoro-2-(isoindolin-5-ylamino)pyrimidin-4-yl)a mino)piperidin-1- yl)prop-2-en-1-one (I-1) 100.mg, 0.26 mmol) in CH 3 CN (10mL) was added 1-fluoro-2-iodo- ethane (136.46mg, 0.7800mmol) and K 2 CO 3 (108.26mg, 0.78 mmol). The mixture was stirred at 90 ^C for 3h. The reaction was concentrated to dryness and the residue redissolved in EtOAc ( 50ml), washed with 2 x 50ml water then 1 x 50ml saturated brine solution. The organic layer was separated, dried over Na 2 SO 4 and concentrated to dryness. The crude product was purified by column chromatography (dichloromethane/methanol: 85/5) to afford (R)-1-(3-((5-fluoro-2-((2- (2-fluoroethyl)isoindolin-5-yl)amino)pyrimidin-4-yl)amino)pi peridin-1-yl)prop-2-en-1-one (I- 39) as a yellow solid (45 mg, 40%)

[00600] LCMS: 429.2[M+1] + .

[00601] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.67-2.01 (m, 4H), 2.67-2.79 (m, 1H), 2.98-3.15 (m, 3H), 3.88 (br, 4H) 4.01 (b, 3H), 4.21 (br, 0.5H), 4.44 (br, 0.5H), 4.53 (br, 1H), 4.65 (br, 1H), 5.48-5.51 (d, 0.5H), 5.69-5.71 (d, 0.5H), 6.01-6.15 (dd, 1H), 6.61-6.68 (m, 0.5H), 6.82-6.89 (m, 0.5H), 7.04 (d, 1H), 7.36-7.41 (m, 2H), 7.88 (d, 1H), 7.90 (d,1H), 9.05-9.06 (m, 1H). EXAMPLE 40

[00602] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(4-methyltetrahydro-2H-pyran-4- yl)isoindolin-5-yl amino rimidin-4- l amino i eridin-1-yl)prop-2-en-1-one (I-40)

[00603] 2-(4-Methyltetrahydro-2H-pyr -yl)-5-nitroisoindoline (40.2)

[00604] A solution of 1,2-bis(bromomethyl)-4-nitrobenzene (40.1, 200 mg, 0.65 mmol), K 2 CO 3 (276 mg, 2.0 mmol) and 4-methyltetrahydro-2H-pyran-4-amine (99 mg, 0.65 mmol) in CH 3 CN (15 mL) was stirred at 85 ºC overnight. The reaction mixture was concentrated and purified by column chromatography (0 to 50% ethyl acetate in hexanes) to afford 2-(4- methyltetrahydro-2H-pyran-4-yl)-5-nitroisoindoline (40.2) as a yellow solid (150 mg, 88%).

[00605] LCMS: 263.1[M+1] + .

[00606] 2-(4-Methyltetrahydro-2H-pyran-4-yl)isoindolin-5-amine (40.3)

[00607] 2-(4-Methyltetrahydro-2H-pyran-4-yl)-5-nitroisoindoline (40.2) (150 mg, 0.57 mmol) was dissolved in MeOH (10 mL) and Pd/C (10 mg) was added to the mixture. The reaction was stirred under H 2 overnight. The reaction solution was filtered and the filtrate was concentrated to afford 2-(4-methyltetrahydro-2H-pyran-4-yl)isoindolin-5-amine (40.3) as a yellow oil (100 mg, 75.6%)

[00608] LCMS: 233.2[M+1] + .

[00609] (R)-1-(3-(5-Fluoro-2-(2-(4-methyltetrahydro-2H-pyran-4-yl)is oindolin-5- ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-40)

[00610] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 184 mg, 0.65 mmol), Cs 2 CO 3 (278 mg, 0.86 mmol) were added to the solution of 2-(4-methyltetrahydro-2H-pyran-4-yl)isoindolin-5-amine (40.3) (100 mg, 0.43 mmol) in t- amyl alcohol (8 mL). Pd 2 (dba) 3 (28 mg, 0.03 mmol) and Davephos (24 mg, 0.06 mmol) were added under N 2 . The resulting mixture was heated at 100 °C for 3 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by column chromatography (dichloromethane/methanol: 10/1) to afford (R)-1-(3-(5-fluoro-2-(2-(4-methyltetrahydro-2H- pyran-4-yl)isoindolin-5-ylamino)pyrimidin-4-ylamino)piperidi n-1-yl)prop-2-en-1-one (I-40) as a yellow solid (50 mg, 24%).

[00611] LCMS: 481.2[M+1] + . [00612] 1 H NMR (400 MHz, DMSO): δ 0.96 (s, 3H), 1.35-1.54 (m, 3H), 1.55-1.75 (m, 3H), 1.78-1.86 (m, 1H), 1.93-2.04 (m, 1H), 2.63-2.79 (m, 1H), 2.98-3.14 (m, 1H), 3.50-3.53 (m, 2H), 3.61-3.73 (m, 2H), 3.83 (s, 4H), 4.01-4.04 (m, 2H), 4.22-4.26 (m, 0.5H), 4.46-4.50 (m, 0.5H), 5.47-5.53 (m, 0.5H), 5.68-5.78 (m, 0.5H), 6.02-6.14 (m, 1H), 6.61-6.68 (m, 0.5H), 6.82-6.86 (m, 0.5H), 7.02-7.04 (m, 1H), 7.34-7.41 (m, 2H), 7.69-7.72 (m, 1H), 7.89 (d, J = 3.6 Hz, 1H), 9.03 (s, 1H). EXAMPLE 41

[00613] Preparation of (R)-1-(3-((5-Fluoro-2-((1,1,2,3,3-pentamethylisoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-41)

[00614] 1,1,2,3,3-Pentamethylisoindoline (41.2)

[00615] ZrCl 4 (8.7 g, 37.3 mmol) was added slowly to a solution of 2-methylisoindoline-1,3- dione (41.1, 3.0 g, 18.6 mmol) in THF (50 mL) at -20 ºC. The mixture was stirred at -20 °C for 1h. MeMgBr (1 M, 111.6 mL, 111.6 mmol) was added slowly to the reaction at -20 ºC. The mixture was stirred at room temperature overnight. The reaction mixture was poured into 5N NaOH solution (while keeping pH 14) and extracted with DCM. The organic solution was concentrated to afford 1,1,2,3,3-pentamethylisoindoline (41.2) as a brown oil (1.0 g, 28%).

[00616] 1,1,2,3,3-Pentamethyl-5-nitroisoindoline (41.3) [00617] KNO 3 (1.1 g, 10.6 mmol) was added slowly to the solution of 1,1,2,3,3- pentamethylisoindoline (41.2) (1.0 g, 5.3 mmol) in H 2 SO 4 (20 mL) at 0 ºC. The mixture was stirred at 0 °C for 2 h. The reaction mixture was poured into cold 5N NaOH solution (keeping pH 14). The aqueous solution was extracted with DCM. The crude product was purified by column chromatography (dichloromethane/methanol: 40/1) to afford 1,1,2,3,3-pentamethyl-5- nitroisoindoline (41.3) as a brown solid (200 mg, 16% yield).

[00618] LCMS: 235.1 [M+1] + .

[00619] 1 H NMR (400 MHz, CDCl 3 ): δ 1.37-1.39 (m, 12H), 2.44 (s, 3H), 7.28 (d, J = 8.3 Hz, 1H), 8.00 (d, J = 2.04 Hz, 1H), 8.14 (dd, J = 8.30, 1.98 Hz, 1H).

[00620] 1,1,2,3,3-Pentamethylisoindolin-5-amine (41.4)

[00621] Pd/C (50 mg) was added to the solution of 1,1,2,3,3-pentamethyl-5-nitroisoindoline (41.3) (200 mg, 0.85 mmol) in MeOH (15 mL). The reaction mixture was stirred at 50°C for 1 h under H 2 . The reaction mixture was filtered and the filtrate was concentrated to afford 1,1,2,3,3- pentamethylisoindolin-5-amine (41.4) as a yellow solid (100 mg, 57%).

[00622] (R)-1-(3-(5-Fluoro-2-(1,1,2,3,3-pentamethylisoindolin-5-ylam ino)pyrimidin-4- ylamino) piperidin-1-yl)prop-2-en-1-one (I-41)

[00623] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 167 mg, 0.59 mmol) and Cs 2 CO 3 (320 mg, 0.98 mmol) were added to a solution of 1,1,2,3,3-pentamethylisoindolin-5-amine (41.4) (100 mg, 0.49 mmol) in t-AmOH (10 mL). Pd 2 (dba) 3 (45 mg, 0.05 mmol) and DavePhos (38 mg, 0.10 mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated in vacuo. The crude product was purified by Prep- HPLC to afford (R)-1-(3-(5-fluoro-2-(1,1,2,3,3-pentamethylisoindolin-5-ylam ino)pyrimidin-4- ylamino) piperidin-1-yl)prop-2-en-1-one (I-41) as a white solid (70 mg, 32%).

[00624] LCMS: 453.3 [M+1] + .

[00625] 1 H NMR (400 MHz, CD 3 OD): δ 1.71 (m, 15H), 2.22-2.09 (m, 1H), 2.80-2.71 (m, 0.5H), 2.91-2.98 (m, 3.5H), 3.19-3.32 (m, 1H), 4.09-4.17 (m, 2H), 4.69-4.40 (m, 1H), 5.43-5.29 (m, 0.5H), 5.87-5.80 (m, 0.5H), 6.00-5.92 (m, 0.5H), 6.32-6.14 (m, 1H), 6.90-6.79 (m, 0.5H), 7.44 (d, J = 8.19 Hz, 1H), 7.58-7.49 (m, 1H), 7.75-7.62 (m, 1H), 8.06-7.94 (m, 1H). EXAMPLE 42

[00626] Preparation of (R)-1-(3-((2-((2-cyclobutyl-1,2,3,4-tetrahydroisoquinolin-6- yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2 -en-1-one (I-42)

[00627]

yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1- one (I-27) (120 mg, 0.2 mmol) and cyclobutanone (40 mg, 0.6 mmol) in DCM (5 mL) was stirred at ambient temperature for 5 h. The reaction mixture was adjusted to pH 7 with the addition of triethylamine, and the mixture was stirred at ambient temperature for 30 min. Sodium triacetoxyborohydride (128 mg, 0.6 mmol) was added, and the reaction solution was stirred at ambient temperature for 1 h. TLC showed the reaction was complete. The reaction mixture was added to water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford (R)-1-(3-((2-((2-cyclobutyl-1,2,3,4- tetrahydroisoquinolin-6-yl)amino)-5-fluoropyrimidin-4-yl)ami no)piperidin-1-yl)prop-2-en-1-one (I-42) as a yellow solid (60 mg, 66%, 2 steps).

[00628] LCMS: 451.3[M+1] + .

[00629] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.39-1.44 (m, 1H), 1.63-1.85 (m, 4H), 1.98-2.18 (m, 6H), 2.70-3.17 (m, 8H), 4.01 (d, 2H), 4.20 (d, 0.5H), 4.44 (d, 0.5H), 5.49 (d, 0.5H), 5.71 (d, 0.5H), 6.01-6.14 (m, 1H), 6.89-6.66 (m, 0.5H), 6.52-6.89 (m, 0.5H), 6.97 (s, 1H), 7.41 (br, 2H), 7.64 (d, 1H), 7.91 (d, 1H), 9.10 (s, 1H). EXAMPLE 43

[00630] Preparation of (R)-1-(3-((2-((2-(cyclopropylmethyl)-1,2,3,4-tetrahydroisoqu inolin- 6-yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop -2-en-1-one (I-43)

[00631] A

yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1- one (I-27) (120 mg, 0.2 mmol) and cyclopropanecarbaldehyde (28 mg, 0.4 mmol) in DCM (5 mL) was stirred at ambient temperature. The reaction mixture was adjusted to pH 7 with the addition of triethylamine, and the mixture was stirred at ambient temperature for 30 min. Sodium triacetoxyborohydride (128 mg, 0.6 mmol) was added, and the reaction solution was stirred at ambient temperature for 1 h. TLC showed the reaction was complete. The reaction mixture was added to water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford (R)-1-(3-((2-((2-(cyclopropylmethyl)-1,2,3,4- tetrahydroisoquinolin-6-yl)amino)-5-fluoropyrimidin-4-yl)ami no)piperidin-1-yl)prop-2-en-1-one (I-43) as a yellow solid. (60 mg, 57%)

[00632] LCMS: 451.3[M+1] + .

[00633] 1 H NMR (400 MHz, CD 3 OD): δ 0.42-0.49 (m, 2H), 0.76-0.82 (m, 2H), 1.57-1.67 (m, 1H), 1.70-1.79 (m, 1H), 1.93 (dt, 1H), 2.13 (br, 1H), 2.80 (dd, 0.5H), 2.85-3.24 (m, 5.5H), 3.50 (br, 2H), 4.07-4.15 (m, 2H), 4.32 (br, 2H), 4.72 (d, 0.5H), 5.48 (dd, 0.5H), 5.81 (dd, 0.5H), 6.07 (dd, 0.5H), 6.27 (dd, 0.5H), 6.48 (dd, 0.5H), 6.86 (dd, 0.5H), 7.08 (d, 1H), 7.38 (d, 0.5H), 7.45 (d, 0.5H), 7.66 (s, 1H), 7.79 (dd, 1H). EXAMPLE 44

[00634] Preparation of (R)-1-(3-((2-((2-cyclopropyl-1,2,3,4-tetrahydroisoquinolin-6 - yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2 -en-1-one (I-44)

[00635] tert-Butyl 6-((4-methoxybenzyl)amino)-3,4-dihydroisoquinoline-2(1H)- carboxylate (44.1) [00636] To a solution of tert-butyl 6-amino-3,4-dihydroisoquinoline-2(1H)-carboxylate (27.1) (2.0 g, 8.05 mmol) in DMF (20 mL) was added to 1-(chloromethyl)-4-methoxybenzene (1.5 g, 9.58 mmol) and K 2 CO 3 (1.11 g, 8.05 mmol). The reaction mixture was stirred at 100 °C for 3 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (hexane/ethyl acetate: 8/1) to afford tert-butyl 6-((4-methoxybenzyl)amino)-3,4-dihydroisoquinoline-2(1H)-car boxylate (44.1) as a white solid (1.1 g, 37%).

[00637] LCMS: 369.2 [M+1] + .

[00638] N-(4-Methoxybenzyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (44.2)

[00639] To a solution of tert-butyl 6-((4-methoxybenzyl)amino)-3,4-dihydroisoquinoline- 2(1H)-carboxylate (44.1) (565 mg, 1.53 mmol) in DCM(3 mL) was added TFA (3 mL). The reaction mixture was stirred at ambient temperature for 1 h. TLC showed the reaction was complete. The excess DCMand TFA were removed. The reaction mixture was quenched with the addition of a saturated NaHCO 3 aqueous solution and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (44.2) was used in the next step without further purification (405 mg, 98%).

[00640] 2-Cyclopropyl-N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquino lin-6-amine (44.3)

[00641] To a solution of N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (44.2) (405 mg, 1.51 mmol) in methanol (20 mL) was added (1-ethoxycyclopropoxy)trimethylsilane (316 mg, 1.81 mmol), CH 3 COOH (3 mL, 1.51 mmol), and NaBH 3 CN (285 mg, 1.51 mmol). The reaction mixture was stirred at 65 °C for 6 h under N 2 . TLC showed the reaction was complete. The reaction mixture was filtered, and the filtrate was washed with sodium hydroxide and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford to crude product. The crude product was purified by column chromatography (hexane/ethyl acetate: 1/3) to afford 2-cyclopropyl-N-(4- methoxybenzyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (44.3) as a colorless oil (200 mg, 43%).

[00642] LCMS: 309.1 [M+1] + .

[00643] 1 HNMR (400 MHz, CDCl 3 ): δ 0.50 (two singlets, 4H), 1.74-1.79 (m, 1H), 2.78 (t, 2H), 2.88 (t, 2H), 3.69 (s, 2H), 3.79 (s, 3H), 4.21 (s, 2H), 6.37 (d, 1H), 6.44 (dd, 1H), 6.82-6.87 (m, 3H), 7.25 (s, 1H), 7.27 (s, 1H).

[00644] 2-Cyclopropyl-1,2,3,4-tetrahydroisoquinolin-6-amine (44.4)

[00645] A solution of 2-cyclopropyl-N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquino lin-6- amine (44.3) (200 mg, 0.65 mmol) in TFA (6 mL) was stirred at 80 °C overnight. TLC showed the reaction was complete. The excess TFA was removed. The reaction mixture was quenched with the addition of a saturated NaHCO 3 solution and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and, concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/methanol: 40/1) to afford 2-cyclopropyl-1,2,3,4-tetrahydroisoquinolin-6-amine (44.4) as a yellow solid (80 mg, 65%).

[00646] 1 HNMR (400 MHz, CDCl 3 ): δ 0.50 (two singlets, 4H), 1.74-1.80 (m, 1H), 2.78 (t, 2H), 2.88 (t, 2H), 3.50 (br, 2H), 3.69 (s, 2H), 6.43 (d, 1H), 6.48 (dd, 1H), 6.82 (d, 1H).

[00647] (R)-1-(3-((2-((2-Cyclopropyl-1,2,3,4-tetrahydroisoquinolin-6 -yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-44)

[00648] To a solution of 2-cyclopropyl-1,2,3,4-tetrahydroisoquinolin-6-amine (44.4) (79 mg, 0.42 mmol) in tert-amyl alcohol (5 mL) was added (R)-1-(3-((2-chloro-5-fluoropyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (intermediate B, 120 mg, 0.42 mmol), Davephos (33 mg, 0.08 mmol), tris(dibenzylideneacetone)dipalladium(0) (39 mg, 0.04 mmol), and Cs 2 CO 3 (276 mg, 0.85 mmol). The reaction mixture was stirred at 100 °C for 3 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/methanol: 30/1) to afford (R)-1-(3-((2-((2- cyclopropyl-1,2,3,4-tetrahydroisoquinolin-6-yl)amino)-5-fluo ropyrimidin-4-yl)amino)piperidin- 1-yl)prop-2-en-1-one (I-44) as a yellow solid (70 mg, 38%).

[00649] LCMS: 437.3 [M+1] + .

[00650] 1 HNMR (400 MHz, DMSO-d 6 ): δ 0.36 (s, 2H), 0.44-0.47 (m, 2H), 1.37-1.42 (m, 1H), 1.60-1.67 (m, 1H), 1.72-1.84 (m, 2H), 1.99 (br, 1H), 2.64 (d, 2H), 2.72-2.78 (m, 3H), 3.01 (t, 0.5H), 3.14 (t, 0.5H), 3.59 (t, 2H), 4.00 (br, 2H), 4.18 (d, 0.5H), 4.43 (d, 0.5H), 5.47 (d, 0.5H), 5.71 (d, 0.5H), 6.04 (dd, 1H), 6.60 (dd, 0.5H), 6.86 (dd, 1.5H), 7.28 (t, 1H), 7.37 (d, 1.0H), 7.54 (two singlets, 1H), 7.88 (d, 1H), 8.95 (s, 1H). EXAMPLE 45

[00651] Preparation of (R)-1-(3-((2-((2-(tert-butyl)-1,2,3,4-tetrahydroisoquinolin- 6- yl)amino)- -fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-45)

[00652] 1-(6-((4-Methoxybenzyl)amino)-3,4-dihydroisoquinolin-2(1H)-y l)ethanone (45.1)

[00653] To a solution of N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (44.2) (500 mg, 1.86 mmol) in DCM (30 mL) was added acetyl chloride (176 mg, 2.24 mmol) and triethylamine (500 mg, 4.95 mmol). The reaction mixture was stirred at ambient temperature for 0.5 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (hexane/ethyl acetate: 1/1) to afford 1-(6-((4-methoxybenzyl)amino)-3,4-dihydroisoquinolin-2(1H)-y l)ethanone (45.1) as a yellow oil (570 mg, 99%).

[00654] LCMS: 311.1 (M+1)

[00655] 2-(tert-Buty -N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (45.2)

[00656] To a solution of 1-(6-((4-methoxybenzyl)amino)-3,4-dihydroisoquinolin-2(1H)- yl)ethanone (45.1) (570 mg, 1.84 mmol) in THF (30 mL) was added ZrCl 4 (714 mg, 3.67 mmol). The reaction mixture was stirred at -10 °C for 1.5 h under N 2 . A solution of methylmagnesium bromide in THF (9.2 mL, 11 mmol) was added. The reaction mixture was stirred at ambient temperature for 6 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of a 30% NaOH solution and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/methanol: 20/1) to afford 2-(tert-butyl)-N-(4-methoxybenzyl)-1,2,3,4- tetrahydroisoquinolin-6-amine (45.2) as a yellow solid (70 mg, 12%).

[00657] LCMS: 325.2 [M+1] + .

[00658] 2-(tert-Butyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (45.3)

[00659] A solution of 2-(tert-butyl)-N-(4-methoxybenzyl)-1,2,3,4-tetrahydroisoquin olin-6- amine (45.2) (70 mg, 0.22 mmol) in TFA (6 mL) was stirred at 80 °C overnight. TLC showed the reaction was complete. The excess TFA was removed. The reaction mixture was quenched with the addition of a saturated NaHCO 3 solution and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated in vacuo to afford the crude product. The crude product, 2-(tert-butyl)-1,2,3,4- tetrahydroisoquinolin-6-amine (45.3) was used in the next step without further purification (40 mg, 90%).

[00660] LCMS: 205.1 [M+1] + .

[00661] (R)-1-(3-((2-((2-(tert-Butyl)-1,2,3,4-tetrahydroisoquinolin- 6-yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-45)

[00662] To a solution of 2-(tert-butyl)-1,2,3,4-tetrahydroisoquinolin-6-amine (45.3) (39 mg, 0.19 mmol) in tert-amyl alcohol (5 mL) was added (R)-1-(3-((2-chloro-5-fluoropyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (intermediate B, 55 mg, 0.19 mmol), Davephos (15 mg, 0.04 mmol), tris(dibenzylideneacetone)dipalladium(0) (18 mg, 0.02 mmol), and Cs 2 CO 3 (128 mg, 0.39 mmol). The reaction mixture was stirred at 100 °C for 3 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/methanol: 20/1) to afford (R)-1-(3-((2-((2-(tert- butyl)-1,2,3,4-tetrahydroisoquinolin-6-yl)amino)-5-fluoropyr imidin-4-yl)amino)piperidin-1- yl)prop-2-en-1-one (I-45) as a yellow solid (15 mg, 17.4%).

[00663] LCMS: 453.2 [M+1] + .

[00664] 1 HNMR (400 MHz, CD 3 OD): δ 1.22 (s, 9H), 1.40-1.70 (m, 2H), 1.75-1.85 (m, 1H), 2.00-2.10 (m, 1H), 2.65-3.15 (m, 6H), 3.75-4.10 (m, 4H), 4.16 (d, 0.5H), 4.57 (d, 0.5H), 5.38 (d, 0.5H), 5.69 (d, 0.5H), 5.97 (d, 0.5H), 6.14 (d, 0.5H), 6.38 (dd, 0.5H), 6.74 (dd, 0.5H), 6.92 (d, 1H), 7.22 (dd, 1H), 7.45 (d, 1H), 7.63-7.66 (m, 1H). EXAMPLE 46

[00665] Preparation of (R)-1-(3-((2-((2-cyclobutyl-1,2,3,4-tetrahydroiso quinolin-7- yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2 -en-1-one (I-46)

[00666] 2-Cyclobutyl-7-nitro-1,2,3,4-tetrahydroisoquinoline (46.1) [00667] A solution of 7-nitro-1,2,3,4-tetrahydroisoquinoline (33.1) (200 mg, 1.12 mmol) and cyclobutanone (118 mg, 1.68 mmol) in methanol (15 mL) was stirred at ambient temperature for 2 h. NaBH 3 CN (141 mg, 2.24 mmol) was added, and the mixture was stirred at ambient temperature for 20 min. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/methanol: 10/1) to afford 2-cyclobutyl-7-nitro-1,2,3,4- tetrahydroisoquinoline (46.1) as a yellow oil (170 mg, 65%).

[00668] LCMS: 233.1[M+1] + .

[00669] 2-Cyclobutyl-1,2,3,4-tetrahydroisoquinolin-7-amine (46.2)

[00670] A mixture of 2-cyclobutyl-7-nitro-1,2,3,4-tetrahydroisoquinoline (46.1) (170 mg, 0.73 mol) and Pd/C (70 mg) in MeOH (10 mL) was stirred at ambient temperature under H 2 overnight. The mixture was filtered, and the filtrate was concentrated to afford 2-cyclobutyl- 1,2,3,4-tetrahydroisoquinolin-7-amine (46.2) as a colorless oil (136 mg, 92%), which was used in the next step without further purification.

[00671] LCMS: 203.2[M+1] + .

[00672] (R)-1-(3-(2-(2-Cyclobutyl-1,2,3,4-tetrahydroisoquinolin-7-yl amino)-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-46)

[00673] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 229 mg, 0.80 mmol) and Cs 2 CO 3 (438 mg, 1.34 mmol) were added to the solution of 2-cyclobutyl-1,2,3,4-tetrahydroisoquinolin-7-amine (46.2) (136 mg, 0.67 mmol) in tert-amyl alcohol(10 mL). Tris(dibenzylideneacetone)dipalladium(0) (61 mg, 0.07 mmol) and DavePhos (53 mg, 0.13 mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 3 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(2-(2-cyclobutyl-1,2,3,4- tetrahydroisoquinolin-7-ylamino)-5-fluoropyrimidin-4-ylamino )piperidin-1-yl)prop-2-en-1-one (I-46) as an off-white solid (60 mg, 20%).

[00674] LCMS: 451.2[M+1] + .

[00675] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.38-1.42 (m, 1H), 1.60-1.70 (m, 3H), 1.81-1.85 (m, 3H), 1.99-2.03 (m, 3H), 2.40-2.46 (m, 2H), 2.68-2.82 (m, 4H), 3.01-3.09 (m, 1H), 3.27-3.29 (m, 2H), 3.99-4.03 (m, 2H), 4.24-4.27 (m, 0.5H), 4.43-4.46 (m, 0.5H), 5.47-5.50 (m, 0.5H), 5.70- 5.72 (m, 0.5H), 6.00-6.15 (m, 1H), 6.58-6.62 (m, 0.5H), 6.82-6.91 (m, 1.5H), 7.24-7.40 (m, 2H), 7.56 (s, 1H), 7.88 (d, 1H), 8.98 (s, 1H). EXAMPLE 47

[00676] Preparation of (R)-1-(3-(2-(2-(Cyclopropylmethyl)-1,2,3,4-tetrahydroisoquin olin- 7-ylamino)-5-fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2 -en-1-one (I-47)

[00677] To a solution of (R)-1-(3-(5-fluoro-2-(1,2,3,4-tetrahydroisoquinolin-7- ylamino)pyrimidin-4-ylamino)-piperidin-1-yl)prop-2-en-1-one (I-33) in methanol (10 mL) was added cyclopropanecarbaldehyde (53 mg, 0.76 mmol) and the pH adjusted to 7 with that addition of triethylamine. The mixture was stirred at ambient temperature for 2 h. To the mixture was added NaBH 3 CN (71 mg, 1.14 mmol), and the reaction mixture was stirred at ambient temperature for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/methanol: 10/1) to afford (R)-1-(3-(2-(2-(cyclopropylmethyl)-1,2,3,4- tetrahydroisoquinolin-7-ylamino)-5-fluoropyrimidin-4-ylamino )piperidin-1-yl)prop-2-en-1-one (I-47) as a white solid (40 mg, 22%, 2 steps). [00678] Mp: 80-82 °C.

[00679] LCMS: 451.3 [M+1] + .

[00680] 1 H NMR (400 MHz, DMSO-d 6 ): δ 0.14-0.15 (m, 2H), 0.49-0.51 (m, 2H), 0.90-0.92 (m, 1H), 1.39-1.42 (m, 1H), 1.62-1.65 (m, 1H), 1.80-1.85 (m, 1H), 1.98-2.00 (m, 1H), 2.30-2.35 (m, 2H), 2.67-2.77 (m, 4H), 2.99-3.12 (m, 1H), 3.51-3.54 (m, 2H), 3.99-4.01 (m, 2H), 4.18-4.22 (m, 0.5H), 4.40-4.44 (m, 0.5H), 5.47-5.49 (m, 0.5H), 5.68-5.70 (m, 0.5H), 6.00-6.14 (m, 1H), 6.58-6.64 (m, 0.5H), 6.81-6.92 (m, 1.5H), 7.27-7.39 (m, 2H), 7.52 (s, 1H), 7.89 (d, 1H), 8.96 (s, 1H). EXAMPLE 48

[00681] Preparation of (R)-1-(3-((2-((2-cyclopropyl-1,2,3,4-tetrahydroisoquinolin-7 - yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2 -en-1-one (I-48)

[00682] 2-Cyclopropyl-7-nitro-1,2,3,4-tetrahydroisoquinoline (48.1)

[00683] (1-Ethoxycyclopropoxy)trimethylsilane (977 mg, 5.6 mmol) was slowly added to the solution of 7-nitro-1,2,3,4-tetrahydroisoquinoline (33.1) (460 mg, 2.6 mmol), NaBH 3 CN (980 mg, 15.6 mmol), and acetic acid (1.6 g, 25.9 mmol) in MeOH (20 mL) at 0 °C. The resulting mixture was heated at 65 °C for 4 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/5) to afford 2-cyclopropyl-7-nitro-1,2,3,4- tetrahydroisoquinoline (48.1) as a yellow solid (500 mg, 88%). [00684] LCMS: 219.1 [M+1] + .

[00685] 2-Cyclopropyl-1,2,3,4-tetrahydroisoquinolin-7-amine (48.2)

[00686] Fe (770 mg, 13.7 mmol) and NH 4 Cl (742 mg, 13.7 mmol) were added to the solution of 2-cyclopropyl-7-nitro-1,2,3,4-tetrahydroisoquinoline (48.1) (500 mg, 2.3 mmol) in EtOH (20 mL) and H 2 O (2 mL). The mixture was stirred at 90 °C for 1 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/1) to afford 2-cyclopropyl-1,2,3,4- tetrahydroisoquinolin-7-amine (48.2) as a yellow solid (300 mg, 69%).

[00687] LCMS: 189.1 [M+1] + .

[00688] (R)-1-(3-(2-(2-Cyclopropyl-1,2,3,4-tetrahydroisoquinolin-7-y lamino)-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-48)

[00689] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 400 mg, 1.4 mmol) and Cs 2 CO 3 (913 mg, 2.8 mmol) were added to the solution of 2-cyclopropyl-1,2,3,4-tetrahydroisoquinolin-7-amine (48.2) (180 mg, 0.95 mmol) in tert-amyl alcohol (10 mL). Tris(dibenzylideneacetone)dipalladium(0) (128 mg, 0.14 mmol) and DavePhos (55 mg, 0.14mmol) were added under N 2 , and the reaction mixture was stirred at 100 °C overnight. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(2-(2-cyclopropyl-1,2,3,4- tetrahydroisoquinolin-7-ylamino)-5-fluoropyrimidin-4-ylamino )piperidin-1-yl)prop-2-en-1-one (I-48) as a yellow solid (150 mg, 36%). [00690] Mp: 105-107 °C.

[00691] LCMS: 437.2 [M+1] + .

[00692] 1 H NMR (400 MHz, DMSO-d 6 ): δ 0.38-0.49 (m, 4H), 1.41-1.46 (m, 1H), 1.60-1.85 (m, 3H), 1.99-2.01 (m, 1H), 2.60-2.78 (m, 5H), 3.00-3.14 (m, 1H), 3.60 (s, 2H), 4.00-4.02 (m, 2H), 4.22-4.25 (m, 0.5H), 4.44-4.47 (m, 0.5H), 5.46-5.49 (m, 0.5H), 5.68-5.70 (m, 0.5H), 6.00- 6.15 (m, 1H), 6.57-6.64 (m, 0.5H), 6.82-6.90 (m, 1.5H), 7.28-7.38 (m, 2H), 7.52 (d, 1H), 7.89 (d, 1H), 8.96 (s, 1H). EXAMPLE 49

[00693] Preparation of (R)-1-(3-((2-((2-(tert-butyl)-1,2,3,4-tetrahydroisoquinolin- 7- yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2 -en-1-one (I-49)

[00694] 1-(7-Nitro-3,4-dihydroisoquinolin-2(1H)-yl)ethanone (49.1)

[00695] Acetyl chloride (1.3 g, 16.6 mmol) was slowly added to a solution of 7-nitro-1,2,3,4- tetrahydroisoquinoline (33.1) (2.0 g, 11.2 mmol) and triethylamine (2.3 g, 22.4 mmol) in THF (20 mL) at 0 °C, and the reaction mixture was stirred at ambient temperature for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford 1-(7-nitro-3,4-dihydroisoquinolin-2(1H)-yl)ethanone (49.1) as a brown solid (2.4 g, 97%).

[00696] LCMS: 221.2 [M+1] + .

[00697] 1-(7-Amino-3,4-dihydroisoquinolin-2(1H)-yl)ethanone (49.2)

[00698] Fe (6.1 g, 109 mmol) and NH 4 Cl (5.9 g, 109 mmol) were added to a solution of 1-(7- nitro-3,4-dihydroisoquinolin-2(1H)-yl)ethanone (49.1) (2.4 g, 10.9 mmol) in EtOH (50 mL) and H 2 O (3 mL). The mixture was stirred at 90 °C for 1 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were ashed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford 1-(7-amino-3,4-dihydroisoquinolin-2(1H)-yl)ethanone (49.2) as a brown solid (2.0 g, 96%).

[00699] tert-Butyl 2-acetyl-1,2,3,4-tetrahydroisoquinolin-7-ylcarbamate (49.3)

[00700] A solution of 1-(7-amino-3,4-dihydroisoquinolin-2(1H)-yl)ethanone (49.2) (2.0 g, 10.5 mmol), di-tert-butyl dicarbonate (2.7 g, 12.6 mmol), and triethylamine (2.1 g, 21.0 mmol) in THF (10 mL) was stirred at 40 °C for 1 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford tert-butyl 2-acetyl-1,2,3,4-tetrahydroisoquinolin-7-ylcarbamate (49.3) as a white solid (1.4 g, 46%).

[00701] LCMS: 291.0 [M+1] + .

[00702] tert-Butyl (2-(tert-butyl)-1,2,3,4-tetrahydroisoquinolin-7-yl)carbamate (49.4)

[00703] ZrCl 4 (1.48 g, 2.07 mmol) was slowly added to the solution of tert-butyl 2-acetyl- 1,2,3,4-tetrahydroisoquinolin-7-ylcarbamate (49.3) (300 mg, 1.03 mmol) in THF (10 mL) at - 20 °C. The reaction mixture was stirred at -20 °C for 1 h. Methylmagnesium bromide (6 mL, 1M) was slowly added to the reaction, and the reaction mixture was stirred at ambient temperature overnight. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford tert-butyl (2-(tert-butyl)-1,2,3,4- tetrahydroisoquinolin-7-yl)carbamate (49.4) as a brown solid (40 mg, 13%).

[00704] LCMS: 305.1 [M+1] + .

[00705] 2-tert-Butyl-1,2,3,4-tetrahydroisoquinolin-7-amine (49.5)

[00706] A solution of tert-butyl (2-(tert-butyl)-1,2,3,4-tetrahydroisoquinolin-7-yl)carbamate (49.4) (40 mg, 0.13 mmol) in TFA (2 mL) was stirred at ambient temperature for 30 min. The reaction mixture was evaporated to afford the crude product, 2-tert-butyl-1,2,3,4- tetrahydroisoquinolin-7-amine (49.5), which was used in the next step without further purification.

[00707] (R)-1-(3-(2-(2-tert-Butyl-1,2,3,4-tetrahydroisoquinolin-7-yl amino)-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-49)

[00708] (R)-1-(3-(2-chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (44.9 mg, 0.16 mmol) and Cs 2 CO 3 (85.7 mg, 0.26 mmol) were added to the solution of 2-tert-butyl- 1,2,3,4-tetrahydroisoquinolin-7-amine (49.5) in tert-amyl alcohol (3 mL). Tris(dibenzylideneacetone)dipalladium(0) (12 mg, 0.013 mmol) and DavePhos (10mg, 0.026mmol) were added under N 2 , and the reaction mixture was stirred at 100 °C for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(2-(2-tert-butyl-1,2,3,4-tetrahydroisoquinolin-7- ylamino)-5-fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-e n-1-one (I-49) as a yellow solid (25 mg, 42%).

[00709] Mp: 118-121 °C.

[00710] LCMS: 453.4 [M+1] + .

[00711] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.07 (s, 9H), 1.40-1.43 (m, 1H), 1.57-1.67 (m, 1H), 1.82-1.85 (m, 1H), 1.99-2.01 (m, 1H), 2.64-2.77 (m, 5H), 2.99-3.09 (m, 1H), 3.54-3.60 (m, 2H), 3.98-4.04 (m, 2H), 4.24-4.44 (m, 1H), 5.45-5.48 (m, 0.5H), 5.68-5.71 (m, 0.5H), 5.99-6.14 (m, 1H), 6.56-6.63 (m, 0.5H), 6.80-6.89 (m, 1.5H), 7.19-7.41 (m, 2H), 7.52-7.58 (m, 1H), 7.88 (d, 1H), 8.95 (s, 1H). EXAMPLE 50

[00712] Preparation of (R)-1-(3-((5-Fluoro-2-((2-(oxetan-3-ylmethyl)-2,3,4,5-tetrah ydro- 1H-benzo[c]azepin-7-yl)amino)pyrimidin-4-yl)amino)piperidin- 1-yl)prop-2-en-1-one (I-50)

[00713] (E)-6-Bromo-3,4-dihydronaphthalen-1(2H)-one oxime (50.2)

[00714] A solution of 6-bromo-3,4-dihydronaphthalen-1(2H)-one (50.1) (5 g, 22.2 mmol), hydroxylamine (0.81 g, 24.4 mmol), and NaOAc (3.64 g, 44.4 mmol) in ethanol (40 ml) was refluxed for 2 h. TLC showed the reaction was complete. The mixture was poured into water and filtered, and the solid was dried to afford (E)-6-bromo-3,4-dihydronaphthalen-1(2H)-one oxime (50.2) as a yellow solid (5.2 g, 97%).

[00715] 7-Bromo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (50.3)

[00716] A solution of (E)-6-bromo-3,4-dihydronaphthalen-1(2H)-one oxime (50.2) (5.2 g, 21.7 mmol) in sulfurous dichloride (15 mL) was heated at 50 °C for 2 h. TLC showed the reaction was complete. The reaction mixture was concentrated and poured into a sodium bicarbonate solution and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford 7-bromo-2,3,4,5- tetrahydro-1H-benzo[c]azepin-1-one (50.3) as a green solid (2.4 g, 46%).

[00717] LCMS: 239.9 [M+1] + .

[00718] 1 HNMR (DMSO-d 6 ): δ 1.85-1.91 (m, 2H), 2.74 (t, 2H), 2.90 (q, 2H), 7.42-7.44 (m, 1H), 7.53-7.55 (m, 2H), 8.13 (t, 1H).

[00719] tert-Butyl (1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)carbamate (50.4)

[00720] A solution of 7-bromo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (50.3) (1 g, 4.16 mmol), tert-butyl carbamate (1.38 g, 11.8 mmol), tris(dibenzylideneacetone)dipalladium(0) (72 mg, 0.08 mmol), Xantphos (45mg, 0.08mmol), and Cs 2 CO 3 (2.56g, 7.87mmol) in dioxane (15 mL) was stirred at 100 °C for 4 h under N 2 . TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford tert- butyl (1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)carbamate (50.4) as a brown solid (450 mg, 39%).

[00721] LCMS: 277.2 [M+1] + .

[00722] 7-Amino-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (50.5)

[00723] A solution of tert-butyl (1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)carbamate (50.4) (450 mg, 1.63 mmol) and TFA (3 mL) in DCM (3 mL) was stirred at room temperature for 30 min. TLC showed the reaction was complete. The mixture was concentrated and poured into a sodium bicarbonate solution and was extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford 7-amino-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (50.5) as a brown solid (300 mg, 100%).

[00724] LCMS: 177.1 [M+1] + .

[00725] 1 HNMR (DMSO-d 6 ): δ 1.79-1.85 (m, 2H), 2.57 (t, 2H), 2.90 (t, 3H), 5.48 (s, 2H), 6.34 (s, 1H), 6.43 (dd, 1H), 7.19 (d, 1H), 7.57 (t, 1H).

[00726] 2,3,4,5-Tetrahydro-1H-benzo[c]azepin-7-amine (50.6)

[00727] A solution of 7-amino-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (50.5) (300 mg, 1.7 mmol) and LiAlH 4 (258 mg, 6.8 mmol) in THF (10 ml) was heated at reflux overnight. TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford 2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-amine (50.6) as a yellow solid (100 mg, 36%).

[00728] tert-Butyl 7-amin -1,3,4,5-tetrahydro-2H-benzo[c]azepine-2-carboxylate (50.7)

[00729] A solution of 2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-amine (50.6) (100 mg, 0.62 mmol), di-tert-butyl dicarbonate (121 mg, 0.55 mmol), and N,N-diisopropylethylamine (DIPEA) (159 mg, 1.23 mmol) in THF (5 mL) was stirred at ambient temperature for 2 h. TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford tert-butyl 7-amino-1,3,4,5-tetrahydro-2H-benzo[c]azepine-2- carboxylate (50.7) as a yellow solid (150 mg, 93%).

[00730] LCMS: 263.1 [M+1] + .

[00731] (R)-tert-Butyl 7-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyri-midin-2 - yl)amino)-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (50.8)

[00732] A solution of tert-butyl 7-amino-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (50.7) (150 mg, 0.57 mmol), (R)-1-(3-((2-chloro-5-fluoropyrimidin-4-yl)amino)piperidin-1 - yl)prop-2-en-1-one (intermediate B, 195 mg, 0.69 mmol), tris(dibenzylideneacetone)dipalladium(0) (52 mg, 0.06 mmol), Davephos (23 mg, 0.06 mmol), and Cs 2 CO 3 (372 mg, 1.14 mmol) in isopropanol (10 mL) was heated at reflux under N 2 for 2 h. TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford (R)-tert-butyl 7-((4-((1-acryloylpiperidin-3- yl)amino)-5-fluoropyri-midin-2-yl)amino)-4,5-dihydro-1H-benz o[c]azepine-2(3H)-carboxylate (50.8) as a yellow solid (200 mg, 69%).

[00733] LCMS: 511.7 [M+1] + .

[00734] (R)-1-(3-((5-Fluoro-2-((2,3,4,5-tetrahydro-1H-benzo[c]azepin -7- yl)amino)pyrimidin-4- l)amino)piperidin-1- l)prop-2-en-1-one (50.9)

[00735] A solution of (R)-tert-butyl 7-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyri- midin-2-yl)amino)-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carbo xylate (50.8) (200 mg, 0.39 mmol) and TFA (5 mL) in DCM (5 mL) was stirred at ambient temperature for 30 min. TLC showed the reaction was complete. The mixture was concentrated to afford (R)-1-(3-((5-fluoro-2- ((2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)amino)pyrimidin- 4-yl)amino)piperidin-1-yl)prop-2- en-1-one (50.9) as a yellow oil, which was used in the next step without further purification.

[00736] (R)-1-(3-((5-Fluoro-2-((2-(oxetan-3-ylmethyl)-2,3,4,5-tetrah ydro-1H- benzo[c]azepin-7- l)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-50)

[00737] A solution of (R)-1-(3-((5-fluoro-2-((2,3,4,5-tetrahydro-1H-benzo[c]azepin -7- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (50.9) (0.39 mmol) and oxetan- 3-ylmethyl-4-methyl benzenesulfonate (142 mg, 0.58 mmol), K 2 CO 3 (83 mg, 0.78 mmol), and NaI (58 mg, 0.39 mmol) in MeCN (5 mL) was heated at reflux overnight. TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford (R)-1-(3-((5-fluoro-2-((2-(oxetan-3-ylmethyl)-2,3,4,5-tetrah ydro-1H- benzo[c]azepin-7-yl)amino)pyrimidin-4-yl)amino)piperidin-1-y l)prop-2-en-1-one (I-50) as a yellow solid (50 mg, 27%). [00738] LCMS: 481.4 [M+1] + .

[00739] 1 HNMR (DMSO-d 6 ): δ 1.39 (br, 1H), 1.55-1.67 (m, 3H), 1.80-1.84 (m, 1H), 1.97- 2.01 (m, 1H), 2.54 (s, 2H), 2.69-2.77 (m, 2H), 2.94-3.13 (m, 4H), 3.69 (s, 2H), 4.02 (d, 2H), 4.16-4.24 (m, 2.5H), 4.43 (d, 0.5H), 4.58 (t, 2H), 5.48 (d, 0.5H), 5.71 (d, 0.5H), 6.02 (d, 0.5H), 6.13 (d, 0.5H), 6.63 (dd, 0.5H), 6.86 (dd, 0.5H), 6.95 (d, 1H), 7.30 (t, 1H), 7.40 (t, 1H), 7.53 (s, 1H), 7.89 (s, 1H), 9.00 (s, 1H). EXAMPLE 51

[00740] Preparation of (R)-1-(3-((2-((2-Cyclopropyl-2,3,4,5-tetrahydro-1H- benzo[c]azepin-7-yl)amino)-5-fluoropyrimidin-4-yl)amino)pipe ridin-1-yl)prop-2-en-1-one (I-51)

[00741] tert-butyl 7-(((benzyloxy)carbonyl)amino)-1,3,4,5-tetrahydro-2H- benzo[c]azepine-2-carboxylate (51.1)

[00742] A solution of tert-butyl 7-amino-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (50.7) (1 g, 3.81 mmol), CbzCl (975 mg, 5.71 mmol) and triethylamine (770 mg, 7.62 mmol) in THF (15 ml) was stirred at 0 °C for 2 h. TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford tert- butyl 7-(((benzyloxy)carbonyl)amino)-1,3,4,5-tetrahydro-2H-benzo[c ]azepine-2-carboxylate (51.1) as a colorless oil (1.1 g, 73%).

[00743] LCMS: 419.2 [M+1] + .

[00744] Benzyl (2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)carbamate (51.2)

[00745] A solution of tert-butyl 7-(((benzyloxy)carbonyl)amino)-1,3,4,5-tetrahydro-2H- benzo[c]azepine-2-carboxylate (51.1) (1.1 g, 2.77 mmol) and TFA (5 mL) in DCM (5 mL) was stirred at ambient temperature for 30 min. TLC showed the reaction was complete. The mixture was concentrated, and the residue was added to a sodium bicarbonate solution. The resulting solution was extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford benzyl (2,3,4,5- tetrahydro-1H-benzo[c]azepin-7-yl)carbamate (51.2) as a white solid (600 mg, 73%).

[00746] Benzyl (2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)car bamate (51.3)

[00747] A mixture of benzyl (2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)carbamate (51.2) (200 mg, 0.67 mmol), (1-ethoxycyclopropoxy)trimethylsilane (235mg, 1.35 mmol), acetic acid (202 mg, 3.37 mmol), sodium cyanoborohydride (128 mg, 2.02 mmol), and molecular sieves in MeOH (10 mL) was stirred at 60 °C for 4 h. TLC showed the reaction was complete. The mixture was filtered and concentrated. The residue was dissolved in DCM and the combined organic layers were washed with a 2 N sodium hydroxide solution, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford benzyl (2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7- yl)carbamate (51.3) as a white solid (100 mg, 44%).

[00748] LCMS: 337.4 [M+1] + .

[00749] 2-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-amine (51.4)

[00750] A solution of benzyl (2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7- yl)carbamate (51.3) (100 mg, 0.3 mmol) and Pd/C (20 mg) in MeOH (10 mL) was stirred at ambient temperature under H 2 overnight. The mixture was filtered, and the filtrate was concentrated to afford 2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-amine (51.4) as a colorless oil (50 mg, 83%).

[00751] (R)-1-(3-((2-((2-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]a zepin-7-yl)amino)- 5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-51)

[00752] A mixture of 2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-amine (51.4) (30 mg, 0.15 mmol), (R)-1-(3-((2-chloro-5-fluoropyrimidin-4-yl)amino)piperidin-1 -yl)prop-2-en-1- one (intermediate B, 51 mg, 0.18 mmol), tris(dibenzylideneacetone)dipalladium(0) (14 mg, 0.015 mmol), Davephos (6 mg, 0.015mmol), and Cs 2 CO 3 (97 mg, 0.30 mmol) in tert-amyl alcohol (5 mL) was heated at 100 °C for 2 h. TLC showed the reaction was complete. The mixture was poured into water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography to afford (R)-1-(3-((2-((2-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]a zepin-7-yl)amino)-5- fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-51) as a yellow solid (17.1 mg, 26%).

[00753] LCMS: 451.3 [M+1] + .

[00754] 1 HNMR (DMSO-d 6 ): δ 0.31 (two singlets, 4H), 1.39 (br, 1H), 1.62 (br, 4H), 1.80-1.83 (m, 1H), 1.97-2.01 (m, 1H), 2.67-2.78 (m, 3H), 3.0-3.17 (m, 3H), 3.75 (s, 2H), 4.02 (d, 2H), 4.23 (d, 0.5H), 4.44 (d, 0.5H), 5.48 (d, 0.5H), 5.71 (d, 0.5H), 6.02 (d, 0.5H), 6.13 (d, 0.5H), 6.63 (dd, 0.5H), 6.86 (dd, 0.5H), 6.93 (d, 1H), 7.31 (t, 1H), 7.40 (br, 1H), 7.52 (d, 1H), 7.89 (s, 1H), 8.99 (s, 1H). EXAMPLE 52

[00755] Preparation of (R)-7-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2- yl)amino)-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-on e (I-52)

[00756] 7-Bromo-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.2)

[00757] A solution of 7-bromo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.1) (1 g, 4.16 mmol) in DMF (15 ml) was stirred at 0 °C. Sodium hydride (333 mg, 8.33 mmol) was added slowly and the mixture was stirred at 0 °C for 30 min. Iodomethane (1.18 g, 8.33 mmol) was added, and the solution was stirred at ambient temperature overnight. TLC showed the reaction was complete. The mixture was added to water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford 7-bromo-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.2) as a brown solid (1.1 g, quantitative).

[00758] LCMS: 256.0 [M+1] + .

[00759] tert-Butyl (2-methyl-1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)ca rbamate (52.3)

[00760] A mixture of 7-bromo-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.2) (1 g, 3.94 mmol), tert-butyl carbamate (1.38 g, 11.8 mmol), Tris(dibenzylideneacetone)dipalladium(0) (72 mg, 0.08 mmol), Xantphos (45 mg, 0.08 mmol), and Cs 2 CO 3 (2.56 g, 7.87 mmol) in dioxane (15 mL) was stirred at 100 °C for 4 h under N 2 . TLC showed the reaction was complete. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 60/1) to afford tert-butyl (2- methyl-1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7-yl)carba mate (52.3) as a yellow solid (500 mg, 44%).

[00761] LCMS: 291.2 [M+1] + .

[00762] 7-Amino-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.4)

[00763] A solution of tert-butyl (2-methyl-1-oxo-2,3,4,5-tetrahydro-1H-benzo[c]azepin-7- yl)carbamate (52.3) (180 mg, 0.62 mmol) and TFA (4 mL) in DCM (4 mL) was stirred at ambient temperature for 30 min. The mixture was concentrated in vacuo, and the residue was poured into a sodium bicarbonate solution and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over anhydrous sodium sulfate, and concentrated to afford 7-amino-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.4) as a yellow solid (100 mg, 85%).

[00764] (R)-7-((4-((1-Acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2-yl)amino)-2- methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (I-52)

[00765] A mixture of 7-amino-2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (52.4) (100 mg, 0.53 mmol), 1-[(3R)-3-[(2-chloro-5-fluoro-pyrimidin-4-yl)amino]-1-piperi dyl]prop-2- en-1-one (intermediate B, 180 mg, 0.63mmol), tris(dibenzylideneacetone)dipalldium(0) (48 mg, 0.05 mmol), Davephos (21 mg, 0.05 mmol), and Na 2 CO 3 (390 mg, 3.68 mmol) in tert-amyl alcohol (15 mL) was stirred at 100 °C for 4 h under N 2 . TLC showed the reaction was complete. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 50/1) to afford (R)-7-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2-yl)amino)-2- methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (I-52) as a yellow solid (31 mg, 13%).

[00766] LCMS: 439.5 [M+1] + .

[00767] 1 HNMR (DMSO-d 6 ): δ 1.41 (br, 1H), 1.58-1.73 (m, 1H), 1.81-2.01 (m, 4H), 2.56 (t, 2H), 2.67-2.80 (m, 1H), 3.02 (br, 3.5H), 3.12-3.18 (m, 2.5H), 4.03 (br, 2H), 4.21 (d, 0.5H), 4.46 (d, 0.5H), 5.46 (d, 0.5H), 5.70 (d, 0.5H), 5.99 (d, 0.5H), 6.12 (d, 0.5H), 6.62 (dd, 0.5H), 6.84 (dd, 0.5H), 7.32 (d, 1H), 7.45-7.55 (m, 2H), 7.64 (s, 1H), 7.95 (s, 1H), 9.32 (s, 1H). EXAMPLE 53

[00768] Preparation of (R)-1-(3-((5-fluoro-2-((2,3,4,5-tetrahydro-1H-benzo[c]azepin -8- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-53)

[00769] (E)-7-Nitro-3,4-dihydronaphthalen-1(2H)-one oxime (53.2)

[00770] A solution of 7-nitro-3,4-dihydronaphthalen-1(2H)-one (53.1) (1.5 g, 7.85 mmol), NaOAc (1.3 g, 15.8 mmol), and hydroxylamine hydrochloride (6.5 g, 93.6 mmol) in ethanol (25 mL) was stirred at 90 °C for 4 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford (E)-7-nitro-3,4-dihydronaphthalen-1(2H)-one oxime (53.2) as a yellow solid (1.58 g, 97%).

[00771] 8-Nitro-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (53.3)

[00772] A solution of (E)-7-nitro-3,4-dihydronaphthalen-1(2H)-one oxime (53.2) (7 g, 33.9 mmol) in SOCl 2 (20 mL) was stirred at 50 °C for 6 h. After cooling to ambient temperature, the reaction mixture was concentrated, diluted with water, and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/1) to afford 8-nitro-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (53.3) as a yellow solid (2 g, 28%).

[00773] LCMS: 207.0 [M+1] + .

[00774] 8-Amino-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (53.4)

[00775] A mixture of 8-nitro-2,3,4,5-tetrahydro-1H-benzo[c]azepin-1-one (53.3) (1.5 g, 7.27 mol) and Pd/C (500 mg) in MeOH (20 mL) was stirred at ambient temperature overnight under H 2 . The mixture was filtered and concentrated to afford 8-amino-2,3,4,5-tetrahydro-1H- benzo[c]azepin-1-one (53.4) as a colorless oil (1.15 g, 90%).

[00776] LCMS: 177.1 [M+1] + .

[00777] te -Butyl 8-amino-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (53.6)

[00778] LiAlH 4 (1.6 g, 43.6 mmol) was slowly added into a solution of 8-amino-2,3,4,5- tetrahydro-1H-benzo[c]azepin-1-one (53.4) (1.28 g, 7.27 mmol) in THF (30 mL) at 0 °C. The reaction was stirred at 70 °C for 3 h. Sodium sulfate decahydrate was added to the reaction. The resulting mixture was filtered, and the combined organic layers were dried with sodium sulfate before concentrating to dryness. The residue was added into a solution of di-tert-butyl dicarbonate (1.59 g, 7.27 mmol) and triethylamine (734 mg, 7.27 mmol) in DCM (10 mL). The reaction was stirred at ambient temperature for 1 h. The reaction mixture was diluted with water and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/1) to afford tert-butyl 8-amino-4,5- dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (53.6) as a yellow solid (500 mg, 26%, 2 steps).

[00779] LCMS: 207.2 [M+1- t Bu] + .

[00780] (R)-tert-Butyl 8-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoropyrimidin-2- ylamino)-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (53.7)

[00781] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 542 mg, 1.9 mmol) and Cs 2 CO 3 (1.2 g, 3.8 mmol) were added to a solution of tert-butyl 8-amino-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (53.6) (500 mg, 1.9 mmol) in tert-amyl alcohol (10 mL). Tris(dibenzylideneacetone)dipalladium(0) (174 mg, 0.19 mmol) and DavePhos (150 mg, 0.38 mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-tert-butyl 8-(4-(1-acryloylpiperidin-3- ylamino)-5-fluoropyrimidin-2-ylamino)-4,5-dihydro-1H-benzo[c ]azepine-2(3H)-carboxylate (53.7) as a yellow solid (850 mg, 87%).

[00782] LCMS: 511.6 [M+1] + .

[00783] (R)-1-(3-(5-Fluoro-2-(2,3,4,5-tetrahydro-1H-benzo[c]azepin-8 - ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-53)

[00784] A solution of (R)-tert-butyl 8-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoropyrimidin- 2-ylamino)-4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (53.7) (100 mg, 0.19 mmol) in TFA (2 mL) was stirred at room temperature for 30 min. After evaporation, the crude product was washed with diethyl ether and filtered to afford the TFA salt of (R)-1-(3-(5-fluoro-2-(2,3,4,5- tetrahydro-1H-benzo[c]azepin-8-ylamino)pyrimidin-4-ylamino)p iperidin-1-yl)prop-2-en-1-one (I-53) as a red solid (90 mg, 88%).

[00785] LCMS: 411.3 [M+1] + . [00786] 1 H NMR (400 MHz, CD 3 OD): δ 1.53-1.62 (m, 1H), 1.75-1.85 (m, 1H), 1.93-2.04 (m, 3H), 2.10-2.18 (m, 1H), 2.84-2.92 (m, 1H), 3.02-3.10 (m, 2H), 3.14-3.25 (m, 1H), 3.48-3.52 (m, 2H), 4.03-4.16 (m, 2H), 4.34-4.43 (m, 2.5H), 4.60-4.64 (m, 0.5H), 5.46-5.49 (m, 0.5H), 5.81- 5.84 (m, 0.5H), 6.07-6.11 (m, 0.5H), 6.23-6.28 (m, 0.5H), 6.40-6.46 (m, 0.5H), 6.81-6.88 (m, 0.5H), 7.28-7.33 (m, 1H), 7.46-7.52 (m, 1H), 7.59-7.61 (m, 1H), 7.91-7.95 (m, 1H). EXAMPLE 54

[00787] Preparation of (R)-1-(3-(2-(2-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]aze pin- 8-ylamino)-5-fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2 -en-1-one (I-54)

[00788] tert-Butyl 8-(benzyloxycarbonylamino)-4,5-dihydro-1H-benzo[c]azepine-2( 3H)- carboxylate (54.1)

[00789] CbzCl (243 mg, 1.4 mmol) was slowly added into a solution of tert-butyl 8-amino- 4,5-dihydro-1H-benzo[c]azepine-2(3H)-carboxylate (53.6) (250 mg, 0.95 mmol) and triethylamine (192 mg, 1.9 mmol) in THF (10 mL) at ambient temperature. The reaction was stirred at ambient temperature for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/5) to afford tert-butyl 8- (benzyloxycarbonylamino)-4,5-dihydro-1H-benzo[c]azepine-2(3H )-carboxylate (54.1) as a yellow oil (290 mg, 77%).

[00790] Benzyl 2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-ylcarbamate (54.2)

[00791] A solution of tert-butyl 8-(benzyloxycarbonylamino)-4,5-dihydro-1H- benzo[c]azepine-2(3H)-carboxylate (54.1) (200 mg, 0.50 mmol) in TFA (2 mL) was stirred at ambient temperature for 30 min. After evaporation, the crude benzyl 2,3,4,5-tetrahydro-1H- benzo[c]azepin-8-ylcarbamate (54.2) was used in the next step without further purification.

[00792] Benzyl 2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-ylcarba mate (54.3)

[00793] (1-Ethoxycyclopropoxy)trimethylsilane (139 mg, 0.88 mmol) was slowly added to the solution of benzyl 2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-ylcarbamate (54.2), NaBH 3 CN (82 mg, 1.3 mmol), and acetic acid (131 mg, 2.2 mmol) in MeOH (10 mL) at 0 °C. The resulting mixture was heated at 65 °C for 4 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford benzyl 2-cyclopropyl-2,3,4,5-tetrahydro- 1H-benzo[c]azepin-8-ylcarbamate (54.3) as a yellow oil (120 mg, 71%).

[00794] LCMS: 337.2 [M+1] + .

[00795] 2-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-amine (54.4)

[00796] A mixture of benzyl 2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8- ylcarbamate (54.3) (120 mg, 0.36 mmol) and Pd/C (60 mg) in MeOH (10 mL) was stirred at ambient temperature overnight under H 2 . The mixture was filtered and concentrated to afford 2- cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-amine (54.4) as a yellow oil (60 mg, 83%).

[00797] (R)-1-(3-(2-(2-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]aze pin-8-ylamino)-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-54)

[00798] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 70 mg, 0.25 mmol) and Cs 2 CO 3 (160 mg, 0.49 mmol) were added to a solution of 2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-amine (54.4) (50 mg, 0.25 mmol) in tert-amyl alcohol (10 mL). Tris(dibenzylideneacetone)dipalladium(0) (23 mg, 0.025 mmol) and DavePhos (19 mg, 0.049 mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by prep-HPLC to afford (R)-1-(3-(2-(2-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[c]aze pin-8-ylamino)-5-fluoropyrimidin- 4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-54) (TFA salt) as a yellow solid (50 mg, 44%).

[00799] LCMS: 451.2 [M+1] + .

[00800] 1 H NMR (400 MHz, CD 3 OD): δ 1.03-1.05 (m, 4H), 1.54-1.61 (m, 1H), 1.76-2.14 (m, 6H), 2.84-3.34 (m, 4H), 3.72-3.77 (m, 2H), 4.03-4.15 (m, 2H), 4.41-4.67 (m, 3H), 5.49-5.52 (m, 0.5H), 5.80-5.84 (m, 0.5H), 6.08-6.13 (m, 0.5H), 6.23-6.27 (m, 0.5H), 6.39-6.45 (m, 0.5H), 6.81- 6.87 (m, 0.5H), 7.31-7.36 (m, 1H), 7.46-7.67 (m, 2H), 7.93-7.98 (m, 1H). EXAMPLE 55

[00801] Preparation of (R)-1-(3-((5-fluoro-2-((2-methyl-2,3,4,5-tetrahydro-1H- benzo[c]azepin-8-yl)amino)pyrimidin-4-yl)amino)piperidin-1-y l)prop-2-en-1-one (I-55)

[00802] Benzyl (2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-yl)carbamat e (55.1)

[00803] To a solution of benzyl (2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-yl)carbamate (54.2) in methanol (10 mL) was added HCHO (0.5 mL, 37% in H 2 O). The mixture was stirred at room temperature for 3 h. To the mixture was added NaBH 3 CN (153 mg, 2.4 mmol), and the reaction mixture was stirred at ambient temperature for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford benzyl (2-methyl-2,3,4,5- tetrahydro-1H-benzo[c]azepin-8-yl)carbamate (55.1) as a yellow oil (160 mg, 68%, 2 steps).

[00804] LCMS: 311.3 [M+1] + .

[00805] 2-Methyl-2,3,4 -tetrah dro-1H-benzo[c]azepin-8-amine (55.2)

[00806] A solution of benzyl 2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-ylcarbamate (55.1) (200 mg, 0.64 mol) and Pd(OH) 2 (50 mg) in MeOH (10 mL) was stirred at ambient temperature overnight under H 2 . The mixture was filtered and concentrated to afford 2-methyl- 2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-amine (55.2) as a colorless oil (108 mg, 95%).

[00807] LCMS: 177.1 [M+1] + .

[00808] (R)-1-(3-(5-Fluoro-2-(2-methyl-2,3,4,5-tetrahydro-1H-benzo[c ]azepin-8- ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-55)

[00809] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 273 mg, 0.96 mmol) and Cs 2 CO 3 (480 mg, 1.48 mmol) were added to the solution of 2-methyl-2,3,4,5-tetrahydro-1H-benzo[c]azepin-8-amine (55.2) (130 mg, 0.74 mmol) in tert-amyl alcohol (10 mL). Tris(dibenzylideneacetone)dipalladium(0) (67 mg, 0.07 mmol) and DavePhos (58 mg, 0.15mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(5-fluoro-2-(2-methyl-2,3,4,5- tetrahydro-1H-benzo[c]azepin-8-ylamino)pyrimidin-4-ylamino)p iperidin-1-yl)prop-2-en-1-one (I-55) as a white solid (70 mg, 22%).

[00810] LCMS: 425.3 [M+1] + .

[00811] 1 H NMR (400 MHz, CD 3 OD): δ 1.52-1.62 (m, 1H), 1.77-1.96 (m, 3H), 2.11-2.17 (m, 2H), 2.83-3.25 (m, 7H), 3.50-3.68 (m, 2H), 4.04-4.16 (m, 2H), 4.47-4.64 (m, 3H), 5.45-5.48 (m, 0.5H), 5.81-5.84 (m, 0.5H), 6.06-6.10 (m, 1H), 6.23-6.40 (m, 1H), 6.81-6.88 (m, 0.5H), 7.30- 7.68 (m, 3H), 7.94-7.99 (m, 1H). EXAMPLE 56

[00812] Preparation of (R)-1-(3-(5-Fluoro-2-(2-(oxetan-3-ylmethyl)-2,3,4,5-tetrahyd ro-1H- benzo[c]azepin-8-ylamino)pyrimidin-4-ylamino)piperid (I-56)

[00813] A mixture of (R)-1-(3-(5-fluoro-2-(2,3,4,5-tetrahydro-1H-benzo[c]azepin-8 - ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-53) (200 mg, 0.49 mmol), oxetan-3-ylmethyl 4-methylbenzenesulfonate (177 mg, 0.73 mmol), and Cs 2 CO 3 (318 mg, 0.97 mmol) in acetonitrile (MeCN) (8 mL) was stirred at 90 °C for 5 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(5-fluoro-2-(2-(oxetan-3-ylmethyl)-2,3,4,5-tetrahyd ro-1H-benzo[c]azepin-8- ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-56) as a white solid (30 mg, 13%).

[00814] Mp: 103-105 °C.

[00815] LCMS: 481.2 [M+1] + .

[00816] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.38-1.44 (m, 1H), 1.52-1.68 (m, 3H), 1.80-1.85 (m, 1H), 1.98-2.02 (m, 1H), 2.40-2.46 (m, 1H), 2.54-2.56 (m, 1H), 2.67-3.15 (m, 7H), 3.68-3.69 (m, 2H), 3.99-4.01 (m, 2H), 4.18-4.19 (m, 2.5H), 4.38-4.42 (m, 0.5H), 4.58 (t, 2H), 5.47-5.49 (m, 0.5H), 5.69-5.72 (m, 0.5H), 6.00-6.14 (m, 1H), 6.58-6.65 (m, 0.5H), 6.82-6.88 (m, 0.5H), 6.94 (d, 1H), 7.34-7.45 (m, 3H), 7.90 (s, 1H), 8.94 (s, 1H). EXAMPLE 57

[00817] Preparation of (R)-1-(3-((5-fluoro-2-((2,3,4,5-tetrahydro-1H-benzo[d]azepin -7- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-57)

[00818] 2,2'-(4-Nitro-1,2-phenylene)diacetic acid (57.2)

[00819] HNO 3 (3.2 g, 51.5 mmol) was slowly added to a solution of 2,2'-(1,2- phenylene)diacetic acid (57.1) (10 g, 51.5 mmol) in H 2 SO 4 (40 mL) at 0 °C. The reaction was stirred at 0 °C for 4 h. The reaction mixture was carefully added to ice water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford 2,2'-(4-nitro-1,2-phenylene)diacetic acid (57.2) as a yellow solid (10.9 g, 88%).

[00820] 2,2'-(4-Nitro-12-phenylene)diethanol (57.3)

[00821] BH 3 -THF (91.2 mL, 91.2 mmol) was slowly added to a solution of 2,2'-(4-nitro-1,2- phenylene)diacetic acid (57.2) (10.9 g, 45.6 mmol) in THF (100 mL) at 0 °C. The reaction was stirred at 0 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate /hexane: 1/10) to afford 2,2'-(4-nitro-1,2-phenylene)diethanol (57.3) as a yellow oil (7.5 g, 78%).

[00822] LCMS: 212.0 [M+1] + .

[00823] 2,2'-(4-Nitro-1,2-phenylene)bis(ethane-2,1-diyl) dimethanesulfonate (57.4)

[00824] Methanesulfonyl chloride (12.2 g, 106.5 mmol) was slowly added to a solution of 2,2'-(4-nitro-1,2-phenylene)diethanol (57.3) (7.5 g, 35.5 mmol) and triethylamine (10.7 g, 106.5 mmol) in DCM (100 mL) at 0 °C. The reaction was stirred at 0 °C for 3 h. The reaction mixture was diluted with water and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/20) to afford 2,2'-(4-nitro-1,2-phenylene)bis(ethane-2,1-diyl) dimethanesulfonate (57.4) as a yellow oil (11 g, 85%).

[00825] LCMS: 367.9 [M+1] + .

[00826] 2-(2-Azidoethyl)-4-nitrophenethyl methanesulfonate and 2-(2-azidoethyl)-5- nitrophenethyl methanesulfonate (57.5)

[00827] A solution of 2,2'-(4-nitro-1,2-phenylene)bis(ethane-2,1-diyl) dimethanesulfonate (57.4) (11 g, 29.9 mmol) and NaN 3 (1.2 g, 18.5 mmol) in DMF (100 mL) was stirred at ambient temperature overnight. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude products. The crude products were purified by column chromatography (ethyl acetate/hexane: 1/1) to afford a mixture of 2-(2-azidoethyl)-4- nitrophenethyl methanesulfonate and 2-(2-azidoethyl)-5-nitrophenethyl methanesulfonate (57.5) as a yellow oil (3.6 g, 38%).

[00828] 7-Nitro-2,3,4,5-tetrahydro-1H-benzo[d]azepine (57.6) 57.5

[00829] A mixture of 2-(2-azidoethyl)-4-nitrophenethyl methanesulfonate and 2-(2- azidoethyl)-5-nitrophenethyl methanesulfonate (57.5) (2 g, 6.4 mol) and Pd/C (70 mg) in MeOH (50 mL) was stirred at ambient temperature overnight under H 2 . The mixture was filtered and concentrated to afford 7-nitro-2,3,4,5-tetrahydro-1H-benzo[d]azepine (57.6) as a yellow oil (800 mg, 65%).

[00830] LCMS: 193.1 [M+1] + .

[00831] tert-Butyl 7-nit -4,5-dihydro-1H-benzo[d]azepine-3(2H)-carboxylate (57.7)

[00832] A solution of 7-nitro-2,3,4,5-tetrahydro-1H-benzo[d]azepine (57.6) (800 mg, 4.2 mmol) and di-tert-butyl dicarbonate (1.4 g, 6.2 mmol) in DCM (20 mL) was stirred at ambient temperature for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/5) to afford tert-butyl 7-nitro-4,5-dihydro-1H- benzo[d]azepine-3(2H)-carboxylate (57.7) as a yellow solid (1 g, 82%). [00833] LCMS: 237.1 [M+1 - t Bu] + .

[00834] tert-Butyl 7-amino-4,5-dihydro-1H-benzo[d]azepine-3(2H)-carboxylate (57.8)

[ 00835] Fe (862 mg, 15.4 mmol) and NH4Cl (831 mg, 15.4 mmol) were added to the solution of tert-butyl 7-nitro-4,5-dihydro-1H-benzo[d]azepine-3(2H)-carboxylate (57.7) (750 mg, 2.6 mmol) in EtOH (20 mL) and H 2 O (2 mL). The mixture was stirred at 90 °C for 1 h. After cooling to ambient temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford tert-butyl 7-amino-4,5-dihydro-1H-benzo[d]azepine-3(2H)- carboxylate (57.8) as a yellow solid (650 mg, 96%).

[00836] (R)-tert-Butyl 7-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoro pyrimi-din-2- ylamino)-4,5-dihydro-1H-benzo[d]azepine-3(2H)-carboxylate (57.9)

[00837] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 1.1 g, 3.5 mmol) and Cs 2 CO 3 (1.6 g, 5.0 mmol) were added to the solution of tert-butyl 7-amino-4,5-dihydro-1H-benzo[d]azepine-3(2H)-carboxylate (57.8) (650 mg, 2.5 mmol) in tert-amyl alcohol (10 mL). Tris(dibenzylideneacetone)dipalladium(0) (226 mg, 0.25 mmol) and DavePhos (194 mg, 0.50 mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 2 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford (R)-tert-butyl 7-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoro pyrimi-din-2-ylamino)-4,5-dihydro-1H-benzo[d]azepine-3(2H)-c arboxylate (57.9) as a yellow solid (1.1 g, 87%).

[00838] LCMS: 511.5 [M+1] + . [00839] (R)-1-(3-(5-Fluoro-2-(2,3,4,5-tetrahydro-1H-benzo[d]azepin-7 - ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-57)

[00840] A solution of (R)-tert-butyl 7-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoro pyrimi-din- 2-ylamino)-4,5-dihydro-1H-benzo[d]azepine-3(2H)-carboxylate (57.9) (100 mg, 0.19 mmol) in TFA (5 mL) was stirred at ambient temperature for 30 min. After evaporation, the crude product was washed with diethyl ether and filtered to afford the TFA salt of (R)-1-(3-(5-fluoro-2-(2,3,4,5- tetrahydro-1H-benzo[d]azepin-7-ylamino)pyrimidin-4-ylamino)p iperidin-1-yl)prop-2-en-1-one (I-57) as a red solid (60 mg, 58%).

[00841] LCMS: 411.2 [M+1] + :

[00842] 1 H NMR (400 MHz, CD 3 OD): δ 1.53-1.59 (m, 1H), 1.76-1.82 (m, 1H), 1.93-1.97 (m, 1H), 2.11-2.18 (m, 1H), 2.90-3.30 (m, 10H), 4.05-4.17 (m, 2H), 4.45-4.48 (m, 0.5H), 4.61-4.65 (m, 0.5H), 5.44-5.46 (m, 0.5H), 5.82-5.84 (m, 0.5H), 6.01-6.06 (m, 0.5H), 6.25-6.30 (m, 1H), 6.82-6.88 (m, 0.5H), 7.23-7.32 (m, 1.5H), 7.39-7.43 (m, 1H), 7.50-7.51 (m, 0.5H), 7.91-7.98 (m, 1H). EXAMPLE 58

[00843] Preparation of (R)-1-(3-(5-Fluoro-2-(3-methyl-2,3,4,5-tetrahydro-1H- benzo[d]azepin-7-ylamino)pyrimidin-4-ylamino)piperidin-1-yl) prop-2-en-1-one (I-58)

[00844] To a solution of (R)-1-(3-(5-fluoro-2-(2,3,4,5-tetrahydro-1H-benzo[d]azepin-7 - ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-57) (200 mg, 0.49 mmol) in methanol (20 mL) was added paraformaldehyde ((CH 2 O)n) (73 mg, 2.4 mmol). The mixture was stirred at ambient temperature for 1 h. To the mixture was added NaBH 3 CN (122 mg, 1.9 mmol), and the mixture was stirred at ambient temperature for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(5-fluoro-2-(3- methyl-2,3,4,5-tetrahydro-1H-benzo[d]azepin-7-ylamino)pyrimi din-4-ylamino)piperidin-1- yl)prop-2-en-1-one (I-58) as an off-white solid (50 mg, 24%).

[00845] Mp: 102-104 °C.

[00846] LCMS: 425.2 [M+1] + .

[00847] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.37-1.40 (m, 1H), 1.59-1.64 (m, 1H), 1.80-1.84 (m, 1H), 1.97-2.00 (m, 1H), 2.28 (s, 3H), 2.45-2.47 (m, 4H), 2.72-2.75 (m, 5H), 2.98-3.12 (m, 1H), 4.01 (d, 2H), 4.21-4.24 (m, 0.5H), 4.41-4.45 (m, 0.5H), 5.47 (dd, 0.5H), 5.71 (dd, 0.5H), 6.02 (d, 0.5H), 6.12 (d, 0.5 H), 6.58 (dd, 0.5H), 6.83-6.92 (m, 1.5H), 7.27-7.30 (m, 1H), 7.36- 7.40 (m, 1H), 7.51 (d, 1H), 7.88 (d, 1H), 8.96 (s, 1H). EXAMPLE 59

[00848] Preparation of (R)-1-(3-(5-Fluoro-2-(3-(oxetan-3-ylmethyl)-2,3,4,5-tetrahyd ro-1H- benzo[d]azepin-7-ylamino)pyrimidin-4-ylamino)piperidin-1-yl) prop-2- en-1-one (I-59)

[00849] To a solution of 1-[(3R)-3-[[5-fluoro-2-(2,3,4,5-tetrahydro-1H-3-benzazepin-7 - ylamino)pyrimidin-4-yl]amino]-1-piperidyl]prop-2-en-1-one (I-57) (200 mg, 0.49mmol) in MeCN (20mL) was added oxetan-3-ylmethyl 4-methylbenzene sulfonate (118 mg, 0.49 mmol) and K 2 CO 3 (103 mg, 0.97 mmol). The mixture was stirred at 80 °C overnight. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(5-fluoro-2-(3-(oxetan-3-ylmethyl)-2,3,4,5-tetrahyd ro-1H-benzo[d]azepin-7- ylamino)pyrimidin-4-ylamino)piperidin-1-yl)prop-2- en-1-one (I-59) as an off-white solid (55 mg, 24%). [00850] Mp: 104-106 °C

[00851] LCMS: 481.3 [M+1] + .

[00852] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.36-1.40 (m, 1H), 1.61-1.64 (m, 1H), 1.80-1.83 (m, 1H), 1.91-2.00 (m, 1H), 2.44-2.49 (m, 4H), 2.67-2.74 (m, 6H), 2.97-3.20 (m, 2H), 4.00-4.03 (m, 2H), 4.21-4.27 (m, 2.5H), 4.41-4.45 (m, 0.5H), 4.62-4.65 (m, 2H), 5.46-5.49 (m, 0.5H), 5.69- 5.72 (m, 0.5H), 5.99-6.15 (m, 1H), 6.56-6.62 (m, 0.5H), 6.83-6.92 (m, 1.5H), 7.27-7.30 (m, 1H), 7.36-7.40 (m, 1H), 7.46-7.50 (m, 1H), 7.88 (d, 1H), 8.94 (s, 1H). EXAMPLE 60

[00853] Preparation of (R)-1-(3-((2-((3-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[d]a zepin- 7-yl)amino)-5-fluoropyrimidin-4-yl)amino)piperidin-1-yl)prop -2-en-1-one (I-60)

[00854] 3-Cyclopropyl-7-nitro-2,3,4,5-tetrahydro-1H-benzo[d]azepine (60.1)

[00855] (1-Ethoxycyclopropoxy)trimethylsilane (400 mg, 2.3 mmol) was slowly added to the solution of 7-nitro-2,3,4,5-tetrahydro-1H-benzo[d]azepine (57.6) (200 mg, 1.0 mmol), NaBH 3 CN(400 mg, 6.4 mmol), and acetic acid (637 mg, 10.6 mmol) in MeOH (20 mL) at 0 °C. The resulting mixture was heated at 65 °C for 4 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/5) to afford 3-cyclopropyl-7-nitro- 2,3,4,5-tetrahydro-1H-benzo[d]azepine (60.1) as a yellow solid (200 mg, 83%).

[00856] LCMS: 233.1 [M+1] + :

[00857] 3-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[d]azepin-7-amine (60.2)

[00858] Fe (289 mg, 5.2 mmol) and NH 4 Cl (279 mg, 13.7 mmol) were added to the solution of 3-cyclopropyl-7-nitro-2,3,4,5-tetrahydro-1H-benzo[d]azepine (60.1) (200 mg, 0.86 mmol) in EtOH (20 mL) and H 2 O (2 mL). The mixture was stirred at 90 °C for 1 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/1) to afford the title compound 3-cyclopropyl-2,3,4,5- tetrahydro-1H-benzo[d]azepin-7-amine (60.2) as a yellow solid (80 mg, 46%).

[00859] LCMS: 203.1 [M+1] + .

[00860] (R)-1-(3-(2-(3-Cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[d]aze pin-7-ylamino)-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-60)

[00861] (R)-1-(3-(2-chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 169 mg, 0.95 mmol) and Cs 2 CO 3 (258 mg, 0.79 mmol) were added to the solution of (60.2) (80 mg, 0.40 mmol) in tert-amyl alcohol (10 mL). Tris(dibenzylideneacetone)dipalladium(0) (36 mg, 0.04 mmol) and DavePhos (31 mg, 0.08mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 4 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-1-(3-(2-(3-cyclopropyl-2,3,4,5-tetrahydro-1H-benzo[d]aze pin-7-ylamino)-5- fluoropyrimidin-4-ylamino)piperidin-1-yl)prop-2-en-1-one (I-60) as an off-white solid (80 mg, 45%).

[00862] LCMS: 451.3 [M+1] + .

[00863] 1 H NMR (400 MHz, CD 3 OD): δ 1.05-1.13 (m, 4H), 1.54-1.61 (m, 1H), 1.77-1.84 (m, 3H), 1.94-1.98 (m, 1H), 2.11-2.19 (m, 1H), 2.75-3.22 (m, 9H), 3.87-3.92 (m, 2H), 4.05-4.16 (m, 2H), 4.46-4.50 (m, 0.5H), 4.61-4.65 (m, 0.5H), 5.42-5.45 (m, 0.5H), 5.81-5.85 (m, 0.5H), 5.98- 6.20 (m, 1H), 6.25-6.30 (m, 0.5H), 6.83-6.90 (m, 0.5H), 7.25-7.55 (m, 3H), 7.91-7.99 (m, 1H). EXAMPLE 61

[00864] Preparation of (R)-5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2- yl)amino)-2-methylisoindolin-1-one (I-61)

[00865] Methyl 2-methyl-4-nitrobenzoate (61.2)

[00866] SOCl 2 (2.6 g, 22.0 mmol) was slowly added to the solution of 2-methyl-4- nitrobenzoic acid (61.1) (2.0 g, 11.0 mmol) in MeOH (20 mL) at 0 °C. The resulting mixture was heated at 80 °C for 2 h. After cooling to room temperature, the reaction mixture was concentrated to afford methyl 2-methyl-4-nitrobenzoate (61.2) as a yellow oil (2.0 g, 93%).

[00867] Methyl 2-(bromomethyl)-4-nitrobenzoate (61.3)

[00868] Azobisisobutyronitrile (AIBN) (0.17 g, 1.02 mmol) was added to the solution of methyl 2-methyl-4-nitrobenzoate (61.2) (2.0 g, 10.2 mmol) and N-bromosuccinimide (NBS) (2.7 g, 15.2 mmol) in CCl 4 (50 mL). The mixture was stirred at 80 °C overnight. After cooling to room temperature, the reaction mixture was filtered and, the filtrate was concentrated to afford methyl 2-(bromomethyl)-4-nitrobenzoate (61.3) as a white solid (1.1 g, 39%).

[00869] LCMS: 314.0 [M+CH 3 CN] + .

[00870] 2-Methyl-5-nitroisoindolin-1-one (61.4)

[00871] A solution of methyl 2-(bromomethyl)-4-nitrobenzoate (61.3) (1.0 g, 3.6 mmol) and MeNH 2 /MeOH (2M; 2 mL) in MeOH (5 mL) was stirred at ambient temperature for 2h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude produce. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/10) to afford 2-methyl-5-nitroisoindolin-1-one (61.4) as a white solid (400 mg, 57%).

[00872] LCMS: 193.1 [M+1] + .

[00873] 5-Amino-2-meth lisoindolin-1-one (61.5)

[00874] Fe (350 mg, 6.2 mmol) and NH 4 Cl (337 mg, 6.2 mmol) were added to the solution of 2-methyl-5-nitroisoindolin-1-one (61.4) (200 mg, 1.0 mmol) in EtOH (10 mL) and H 2 O (1 mL). The mixture was stirred at 90 °C for 1 h. After cooling to room temperature, the reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (ethyl acetate/hexane: 1/10) to afford 5-amino-2-methylisoindolin-1-one (61.5) as a brown solid (50 mg, 30%).

[00875] LCMS: 163.1 [M+1] + .

[00876] (R)-5-(4-(1-Acryloylpiperidin-3-ylamino)-5-fluoropyrimidin-2 -ylamino)-2- methylisoindolin-1-one (I-61)

[00877] (R)-1-(3-(2-Chloro-5-fluoropyrimidin-4-ylamino)piperidin-1-y l)prop-2-en-1-one (intermediate B, 130 mg, 0.46 mmol) and Cs 2 CO 3 (295 mg, 0.91 mmol) were added to the solution of 5-amino-2-methylisoindolin-1-one (61.5) (44 mg, 0.27 mmol) in tert-amyl alcohol (4 mL). Tris(dibenzylideneacetone)dipalladium(0) (41 mg, 0.046 mmol) and DavePhos (18 mg, 0.046mmol) were added under N 2 . The reaction mixture was stirred at 100 °C for 1 h. The reaction mixture was diluted with water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford (R)-5-(4-(1-acryloylpiperidin-3-ylamino)-5-fluoropyrimidin-2 -ylamino)-2- methylisoindolin-1-one (I-61) as a yellow solid (50 mg, 45%).

[00878] Mp: 120-122 °C

[00879] LCMS: 411.3 [M+1] + .

[00880] 1 H NMR (400 MHz, DMSO-d 6 ): δ 1.42-1.48 (m, 1H), 1.65-1.70 (m, 1H), 1.81-1.85 (m, 1H), 1.99-2.01 (m, 1H), 2.65-2.84 (m, 1H), 2.99-3.05 (m, 3.5H), 3.12-3.18 (m, 0.5H), 4.02- 4.05 (m, 2H), 4.18-4.38 (m, 2.5H), 4.50-4.54 (m, 0.5H), 5.45 (d, 0.5H), 5.72-5.75 (m, 0.5H), 6.00 (d, 0.5H), 6.15 (dd, 1H), 6.60-6.66 (m, 0.5H), 6.86-6.93 (m, 0.5H), 7.45-7.64 (m, 3H), 7.96- 8.10 (m, 2H), 9.51 (d, J = 8 Hz, 1H). EXAMPLE 62

[00881] Preparation of (R)-6-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2- yl)amino)-2-methylisoindolin-1-one (I-62)

[ 00882] Methyl 2-methyl-5-nitrobenzoate (62.2)

62.1

[00883] To a solution of 2-methyl-5-nitrobenzoic acid (62.1) (3.0 g, 16.6 mmol) in methanol (30 mL) was added thionyl chloride (10 mL). The reaction mixture was stirred at 70 °C for 3 h. TLC showed the reaction was complete. The excess thionyl chloride was removed. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude methyl 2-methyl-5-nitrobenzoate (62.2) was used in the next step without further purification (3.18 g, 98%).

[00884] 1 HNMR (400 MHz, CDCl 3 ): δ 2.72 (s, 3H), 3.95 (s, 3H), 7.43 (d, 1H), 8.23 (dd, 1H), 8.78 (d, 1H).

[00885] Methyl 2-(bromomethyl)-5-nitrobenzoate (62.3)

[00886] To a solution of methyl 2-methyl-5-nitrobenzoate (62.2) (1.5 g, 7.7 mmol) in carbon tetrachloride (30 mL) was added N-bromosuccinimide (NBS) (1.5 g, 8.42 mmol) and azobisisobutyronitrile (AIBN) (124 mg, 0.76 mmol). The reaction mixture was stirred at 90 °C for 5 h. TLC showed the reaction was complete. The reaction mixture was filtered, and the filtrate was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM) to afford methyl 2-(bromomethyl)-5-nitrobenzoate (62.3) as a yellow solid (1.9 g, 90%).

[00887] LCMS: 314.0 [M+1] + .

[00888] 2-Methyl-6-nitroisoindolin-1-one (62.4)

[ 00889] To a solution of methyl 2-(bromomethyl)-5-nitrobenzoate (62.3) (500 mg, 1.82 mmol) in chloroform (15 mL) was added methylamine in methanol solution (2M; 2 mL). The reaction mixture was stirred at 70 °C for 6 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (hexane/ethyl acetate: 2/1) to afford 2-methyl-6-nitroisoindolin-1-one (62.4) as a red solid (146 mg, 42%).

[00890] 1 HNMR (400 MHz, CDCl 3 ): δ 3.24 (s, 3H), 4.50 (s, 2H), 7.62 (d, 1H), 8.41 (dd, 1H), 8.67 (d, 1H).

[00891] 6-Amino-2-methylisoindolin-1-one (62.5)

[00892] To a solution of 2-methyl-6-nitroisoindolin-1-one (62.4) (146 mg, 0.76 mmol) in methanol (14 mL) was added 15mg Pd/C. The reaction mixture was stirred at ambient temperature for 3 h under H 2 . TLC showed the reaction was complete. The reaction mixture was filtered, and the filtrate was concentrated to afford 6-amino-2-methylisoindolin-1-one (62.5) as a yellow solid (106 mg, 86%).

[00893] 1 HNMR (400 MHz, CDCl 3 ): δ 3.16 (s, 3H), 3.82 (br, 2H), 4.25 (s, 2H), 6.83 (dd, 1H), 7.11 (d, 1H), 7.18 (d, 1H). [00894] ((R)-6-((4-((1-Acryloylpiperidin-3-yl)amino)-5-fluoropyrimid in-2-yl)amino)-2- methylisoindolin-1-one (I-62)

[00895] To a solution of 6-amino-2-methylisoindolin-1-one (62.5) (106 mg, 0.65 mmol) in tert-amyl alcohol (15 mL) was added (R)-1-(3-((2-chloro-5-fluoropyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (intermediate B, 186 mg, 0.62 mmol), Davephos (51 mg, 0.13 mmol), tris(dibenzylideneacetone)dipalladium(0) (59 mg, 0.07 mmol), and Cs 2 CO 3 (426 mg, 1.31 mmol). The reaction mixture was stirred at 100 °C for 3 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford ((R)-6-((4-((1- acryloylpiperidin-3-yl)amino)-5-fluoropyrimidin-2-yl)amino)- 2-methylisoindolin-1-one (I-62) as a yellow solid (140 mg, 52%).

[00896] LCMS: 411.4 [M+1] + .

[00897] 1 HNMR (400 MHz, DMSO-d 6 ): δ 1.49-1.63 (m, 2H), 1.80 (d, 1H), 1.98-2.03 (m, 1H), 2.77-2.88 (m, 1H), 3.04 (s, 3.5H), 3.18-3.24 (m, 0.5H), 3.94-4.13 (m, 2.5H), 4.34 (d, 2.5H), 5.47 (d, 0.5H), 5.68 (d, 0.5H), 6.04 (dd, 1H), 6.58-6.64 (m, 0.5H), 6.79-6.86 (m, 0.5H), 7.37 (t, 2H), 7.78-7.82 (m, 1H), 7.95 (d, 1H), 8.13 (s, 1H), 9.30 (s, 1H). EXAMPLE 63

[00898] Preparation of (R)-5-((4-((1-Acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2- yl)amino)-2-methylisoindoline-1,3-dione (I-63)

[00899] A mixture of (R)-1-(3-((2-chloro-5-fluoropyrimidin-4-yl)amino)piperidin-1 -yl)prop- 2-en-1-one (intermediate B, 100 mg, 0.35 mmol), 5-amino-2-methylisoindoline-1,3-dione (63.1) (62 mg, 0.35 mmol), Cs 2 CO 3 (229 mg, 0.7 mmol), tris(dibenzylideneacetone)dipalladium(0) (32 mg, 0.035 mmol), and Davephos (14 mg, 0.035 mmol) in tert-amyl alcohol (10 mL) was stirred at 100 °C for 3 h. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate and concentrated to dryness to afford the crude product. The crude product was purified by column chromatography (hexanes/ethyl acetate: 1/1) to afford (R)-5-((4-((1-acryloylpiperidin-3-yl)amino)-5-fluoropyrimidi n-2-yl) amino)-2-methylisoindoline-1,3-dione (I-63) as a yellow solid (50 mg, 33%).

[00900] LCMS: 425.5 [M+1] + .

[00901] 1 HNMR (400 MHz, DMSO-d 6 ): δ 1.52-1.70 (m, 2H), 1.80-1.84 (m, 1H), 2.01-2.05 (m, 1H), 2.73-2.83 (m, 1H), 2.99 (s, 3H), 3.01-3.07 (m, 0.5H), 3.16-3.22 (m, 0.5H), 3.98-4.07 (m, 2H), 4.15-4.19 (m, 0.5H), 4.42-4.47 (m, 0.5H), 5.46 (d, 0.5H), 5.68 (d, 0.5H), 6.03 (dd, 1H), 6.59-6.66 (m, 0.5H), 6.83 (dd, 0.5H), 7.59 (d, 1H), 7.68 (d, 1H), 7.96 (dd, 1H), 8.02 (d, 1H), 8.35 (d, 1H), 9.90 (s, 1H). EXAMPLE 64

[00902] Preparation of (R)-1-(3-((2-((2-methylisoindolin-5-yl)amino)-5- (trifluoromethyl)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2- en-1-one (I-64)

[00903] (R)-tert-Butyl 3-((2-chloro-5-(trifluoromethyl)pyrimidin-4-yl)amino)piperid ine- 1-carboxylate (64.2)

[00904] A mixture of 2,4-dichloro-5-(trifluoromethyl)pyrimidine (64.1) (5 g, 23 mmol), (R)- tert-butyl 3-aminopiperidine-1-carboxylate (5.1 g, 25.5 mmol) and triethylamine (4.65 g, 46 mmol) in MeCN (35 mL) was stirred at ambient temperature for 2 h. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organics were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by column chromatography (hexanes/ethyl acetate: 5/1) to afford (R)-tert-butyl 3-((2-chloro-5-(trifluoromethyl)pyrimidin-4-yl)amino)piperid ine-1- carboxylate (64.2) (1.93 g, 22%).

[00905] 1 HNMR (400 MHz, CDCl 3 ): δ 1.45 (s, 9H), 1.63 (br, 2H), 1.86 (s, 2H), 3.21-3.22 (m, 1H), 3.50-4.00 (m, 3H), 4.29 (s, 1H), 8.27 (s, 1H).

[00906] (R)-1-(3-((2-Chloro-5-(trifluoromethyl)pyrimidin-4-yl)amino) piperidin-1- yl)prop-2-en-1-one (64.3)

[00907] A suspension of (R)-tert-butyl 3-((2-chloro-5-(trifluoromethyl)pyrimidin-4- yl)amino)piperidine-1-carboxylate (64.2) (1.9 g, 5 mmol) in DCM/TFA (10 mL/5 mL) was stirred at ambient temperature for 30 min. The reaction mixture was concentrated, and a saturated NCHO 3 aqueous solution was added to the residue. The resulting mixture was extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude intermediate. The crude intermediate was diluted with DCM (10 mL). Acryloyl chloride (406 mg, 4.4 mmol) and triethylamine (907 mg, 10 mmol) were added to the mixture, and the reaction mixture was stirred at ambient temperature for 10 min. The mixture was quenched with the addition of water and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by column chromatography (hexanes/ethyl acetate: 1/1) to afford (R)-1-(3-((2-chloro-5- (trifluoromethyl)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2- en-1-one (64.3) (1.03 g, 62%) as a white solid.

[00908] 1 HNMR (400 MHz, CDCl 3 ): δ 1.69 (s, 2H), 2.09 (br, 1H), 2.54-2.76 (m, 0.7H), 3.22- 4.34 (m, 5.3H), 5.32-5.34 (m, 0.3H), 5.73 (br, 1H), 6.07 (br, 0.2H), 6.30-6.36 (m, 0.8H), 6.58- 6.65 (m, 0.8H), 8.21-8.29 (m, 1H).

[00909] (R)-1-(3-((2-((2-Methylisoindolin-5-yl)amino)-5-(trifluorome thyl)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-64)

[00910] A mixture of (R)-1-(3-((2-chloro-5-(trifluoromethyl)pyrimidin-4-yl)amino) piperidin- 1-yl)prop-2-en-1-one (64.3) (100 mg, 0.3 mmol), 2-methylisoindolin-5-amine HCl salt (64.4) (50 mg, 0.27 mmol), and TFA (0.05 mL) in isopropanol (10 mL) was stirred at 90 °C for 1 h. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by HPLC to afford the TFA salt of (R)-1-(3-((2-((2-methylisoindolin-5-yl)amino)-5-(trifluorome thyl)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-64) as a white solid (50 mg, 33%). [00911] LCMS: 447.2 [M+1] + .

[00912] 1 HNMR (400 MHz, DMSO-d 6 ): δ 1.56-1.61 (m, 1H), 1.90 (t, 2H), 2.03-2.12 (m, 1H), 2.85~2.91 (m, 0.5H), 3.05-3.19 (m, 4H), 3.25-3.28 (m, 0.5H), 4.00-4.10 (m, 1H), 4.28-4.53 (m, 4H), 5.47-5.50 (m, 0.5H), 5.85 (d, 0.5H), 6.05 (dd, 0.5H), 6.29 (d, 0.5H), 6.36-6.41 (m, 0.5H), 6.86 (dd, 0.5H), 6.37-6.40 (m, 1H), 7.55-7.64 (m, 1H), 7.75 (br, 1H), 8.29 (d, 1H). EXAMPLE 65

Preparation of (R)-1-(3-((2-(Isoindolin-5-ylamino)-5-(trifluoromethyl)pyrim idin-4- yl)amino)piperidi -1-yl)prop-2-en-1-one (I-65)

[00913] A mixture of (R)-1-(3-((2-chloro-5-(trifluoromethyl)pyrimidin-4-yl) amino)piperidin- 1-yl)prop-2-en-1-one (64.2) (100 mg, 0.3 mmol), tert-butyl 5-aminoisoindoline-2-carboxylate (1.5) (64 mg, 0.27 mmol), Cs 2 CO 3 (177 mg, 0.54 mmol), tris(dibenzylideneacetone)dipalladium(0) (25 mg, 0.03 mmol), and Davephos (10 mg, 0.03 mmol) in tert-amyl alcohol (10 mL) was stirred at 100 °C for 3 h. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by column chromatography (hexanes/ethyl acetate: 1/1) to afford (R)-1-(3-((2-(isoindolin-5-ylamino)-5-(trifluoromethyl)pyrim idin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-65).

[00914] The product was taken up in DCM/TFA (5 mL/3 mL) and stirred at room temperature for 30 min. The mixture was concentrated to dryness to afford the TFA salt of (R)-1-(3-((2- (isoindolin-5-ylamino)-5-(trifluoromethyl)pyrimidin-4-yl)ami no)piperidin-1-yl)prop-2-en-1-one (I-65) as a white solid (35 mg, 21%).

[00915] LCMS: 433.1 [M+1] + .

[00916] 1 HNMR (400 MHz, CD 3 OD): δ 1.58-1.61 (m, 1H), 1.86-1.91 (m, 2H), 2.03-2.09 (m, 1H), 2.88-2.96 (m, 0.5H), 3.04-3.10 (m, 0.5H), 3.15-3.22 (m, 0.5H), 3.26-3.27 (m, 0.5H), 3.98- 4.10 (m, 1H), 4.29-4.39 (m, 1.5H), 4.49-4.63 (m, 4.5H), 5.47 (d, 0.5H), 5.84 (d, 0.5H), 6.05 (d, 0.5H), 6.28 (d, 0.5H), 6.40 (dd, 0.5H), 6.86 (dd, 0.5H), 7.36-7.39 (m, 1H), 7.58 (dd, 1H), 7.81 (s, 1H), 8.24 (d, 1H). EXAMPLE 66

[00917] Preparation of 1-(6-((5-fluoro-2-((2-methylisoindolin-5-yl)amino)pyrimidin- 4- yl)amino)-2-azabicyclo[2.2.1]heptan-2-yl)prop-2-en-1-one (I-66)

[00918] tert-Butyl 6-((2-chloro-6-fluoropyrimidin-4-yl)amino)-2- azabicyclo[2.2.1]heptane-2-carboxylate (66.2)

[00919] A mixture of tert-butyl 6-amino-2-azabicyclo[2.2.1]heptane- 2-carboxylate (66.1) (500 mg, 2.35 mmol), 2,4-dichloro-6-fluoropyrimidine (393 mg, 2.35 mmol), and K 2 CO 3 (650 mg, 4.71 mmol) in DMF (10 mL) was stirred at ambient temperature for 3 h. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by column chromatography (hexanes/ethyl acetate: 2/1) to afford tert-butyl 6-((2-chloro-6-fluoropyrimidin-4-yl)amino)-2- azabicyclo[2.2.1]heptane-2-carboxylate (66.2) (600 mg, 74%) as a white solid.

[00920] 1 HNMR (400 MHz, DMSO-d 6 ): δ 1.07-1.40 (m, 9H), 1.58-1.61 (m, 3H), 1.95-2.02 (m, 1 H), 2.49 (s, 1H), 3.10-3.18 (m, 2H), 4.13-4.33 (m, 2H), 7.88 (d, 0.2H), 8.03-8.13 (m, 1H), 8.24 (d, 0.8H). [00921] 1-(6-((2-Chloro-6-fluoropyrimidin-4-yl)amino)-2-azabicyclo[2 .2.1]heptan-2- yl)prop-2-en-1-one (66.3)

[ 00922] A suspension of tert-butyl 6-((2-chloro-6-fluoropyrimidin-4-yl)amino)-2- azabicyclo[2.2.1]heptane-2-carboxylate (66.2) (600 mg, 1.75 mmol) in DCM/TFA (10 mL/5 mL) was stirred at ambient temperature for 30 min. The reaction mixture was concentrated to afford the crude residue, and the crude residue was diluted with DCM/NaHCO 3 (10 mL/5 mL). Acryloyl chloride (142 mg, 1.58 mmol) was added to the resulting mixture, and the reaction mixture was stirred at ambient temperature for 10 min. The mixture was quenched with the addition of water and extracted with DCM. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 10/1) to afford 1-(6-((2-chloro-6-fluoropyrimidin-4-yl)amino)-2-azabicyclo[2 .2.1]heptan-2-yl)prop-2-en- 1-one (66.3) (117 mg, 22%).

[00923] 1 HNMR (400 MHz, DMSO-d 6 ): δ 1.54-1.58 (m, 1H), 1.67-1.79 (m, 2H), 2.04-2.05 (m, 1H), 2.53-2.58 (m, 1H), 3.27 (s, 0.5H), 3.31-3.34 (m, 1H), 3.47 (s, 0.5H), 4.29-4.37 (m, 1H), 4.52 (s, 0.7H), 4.67 (s, 0.3H), 5.28 (dd, 0.7H), 5.62 (dd, 0.3H), 5.91 (d, 0.2H), 5.95 (d, 0.5H), 6.00-6.07 (m, 1H), 6.47 (dd, 0.3H), 7.90 (d, 0.3H), 8.05, 8.09 (two doublets, 1H), 8.20 (d, 0.7H).

[00924] 1-(6-((6-Fluoro-2-((2-methylisoindolin-5-yl)amino)pyrimidin- 4-yl)amino)-2- azabicyclo[2.2.1]heptan-2-yl)prop-2-en-1-one (I-66)

[00925] A mixture of 1-(6-((2-chloro-6-fluoropyrimidin-4-yl)amino)-2- azabicyclo[2.2.1]heptan-2-yl)prop-2-en-1-one (66.3) (50 mg, 0.17 mmol), 2-methylisoindolin-5- amine (32 mg, 0.22 mmol), Cs 2 CO 3 (110 mg, 0.34 mmol), tris(dibenzylideneacetone)dipalladium(0) (15 mg, 0.017 mmol), and Davephos (7 mg, 0.017 mmol) in tert-amyl alcohol (10 mL) was stirred at 100 °C for 3 h. The mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated to dryness to afford the crude product. The crude product was purified by HPLC to afford 1-(6-((6-fluoro-2-((2- methylisoindolin-5-yl)amino)pyrimidin-4-yl)amino)-2-azabicyc lo[2.2.1]heptan-2-yl)prop-2-en- 1-one (I-66) as a yellow solid (28 mg, 31%).

[00926] LCMS: 409.1 [M+1] + .

[00927] 1 HNMR (400 MHz, CD 3 OD): δ 1.55-1.65 (m, 1H), 1.77 (s, 1H), 1.88 (s, 1H), 2.24- 2.31 (m, 1H), 2.71, 2.76 (two singlets, 1H), 3.17 (s, 3H), 3.38-3.55 (m, 1.5H), 3.64-3.67 (m, 0.5H), 4.48-4.68 (m, 3H), 4.84-4.95 (m, 3H), 5.50 (dd, 0.5H), 5.77 (dd, 0.5H), 6.17-6.26 (m, 1.5H), 6.55 (dd, 0.5H), 7.47 (t, 1H), 7.61-7.63 (m, 1H), 7.71 (d, 1H), 7.92 (dd, 1H). EXAMPLE 67

[00928] Preparation of (R)-1-(3-((5-fluoro-2-((2-(prop-2-yn-1-yl)isoindolin-5- yl)amino)pyrimidin-4-yl)amino)piperidin-1-yl)prop-2-en-1-one (I-67)

[ 00929] 5-Nitro-2-(prop-2-yn-1-yl)isoindoline (67.2)

[00930] To a solution of 5-nitroisoindoline (67.1) (800 mg, 4.87 mmol) in N-methyl-2- pyrrolidone (NMP) (30 mL) was added 3-bromoprop-1-yne (1.0 g, 8.4 mmol) and K 2 CO 3 (1.6 g, 11.6 mmol). The reaction mixture was stirred at ambient temperature for 3 h. TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (hexane/ethyl acetate: 1/1) to afford 5-nitro-2- (prop-2-yn-1-yl)isoindoline (67.2) as a yellow solid (438 mg, 44%).

[00931] 1 HNMR (400 MHz, CDCl 3 ): δ 2.33 (t, 1H), 3.66 (d, 2H), 4.14 (s, 4H), 7.35 (d, 1H), 8.07 (d, 1H), 8.11 (dd, 1H).

[00932] 2-(Prop-2-yn-1-yl)isoindolin-5-amine (67.3) [00933] To a solution of 5-nitro-2-(prop-2-yn-1-yl)isoindoline (67.2) (400 mg, 1.98 mmol) in ethanol (15 mL) and water (15 mL) was added NH 4 Cl (317 mg, 5.87 mmol) and Fe (332 mg, 5.94 mmol). The reaction mixture was stirred at 90 °C for 1 h. TLC showed the reaction was complete. The reaction mixture was filtered, and the filtrate was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (hexane/ethyl acetate: 1/2) to afford 2- (prop-2-yn-1-yl)isoindolin-5-amine (67.3) as a white solid (250 mg, 73%).

[00934] 1 HNMR (400 MHz, CDCl 3 ): δ 2.27 (t, 1H), 3.59 (d, 4H), 3.96 (d, 4H), 6.52-6.55 (m, 2H), 6.97 (d, 1H).

[00935] (R)-1-(3-((5-Fluoro-2-((2-(prop-2-yn-1-yl)isoindolin-5-yl)am ino)pyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (I-67)

[00936] To a solution of 2-(prop-2-yn-1-yl)isoindolin-5-amine (67.3) (222 mg, 1.29 mmol) in tert-amyl alcohol (20 mL) was added (R)-1-(3-((2-chloro-5-fluoropyrimidin-4- yl)amino)piperidin-1-yl)prop-2-en-1-one (intermediate B, 368 mg, 1.29 mmol), Davephos (102 mg, 0.26 mmol), tris(dibenzylideneacetone)dipalladium(0) (102 mg, 0.11 mmol), and Cs 2 CO 3 (842 mg, 2.58 mmol). The reaction mixture was stirred at 100 °C for 3 h under N 2 . TLC showed the reaction was complete. The reaction mixture was quenched with the addition of water and extracted with ethyl acetate. The combined organic layers were washed with water and brine, dried over sodium sulfate, and concentrated in vacuo to afford the crude product. The crude product was purified by column chromatography (DCM/MeOH: 20/1) to afford (R)-1-(3-((5- fluoro-2-((2-(prop-2-yn-1-yl)isoindolin-5-yl)amino)pyrimidin -4-yl)amino)piperidin-1-yl)prop-2- en-1-one (I-67) as a yellow solid (100 mg, 18%).

[00937] LCMS: 421.4 [M+1] + .

[00938] 1 HNMR (400 MHz, DMSO-d 6 ): δ 1.38-1.42 (m, 1H), 1.61-1.67 (m, 1H), 1.81-1.84 (m, 1H), 1.97-2.00 (m, 1H), 2.68-2.83 (m, 1H), 2.99 (t, 0.5H), 3.12-3.16 (m, 0.5H), 3.19 (t, 1H), 3.52 (d, 2H), 3.84 (br, 4H), 4.00 (d, 2H), 4.17 (d, 0.5H), 4.45 (d, 0.5H), 5.50 (d, 0.5H), 5.71 (d, 0.5H), 6.08 (dd, 1H), 6.61 (dd, 1H), 6.84 (dd, 1H), 7.03 (d, 1H), 7.35 (d, 1.5H), 7.40 (d, 0.5H), 7.65 (two singlets, 1H), 7.89 (d, 1H); 9.01 (s, 1H). EXAMPLE 68

[00939] Omnia Assay Protocol for Potency Assessment Against BTK

[00940] The protocol below describes an assay to measure potency of compounds against the activated BTK enzyme. The mechanics of the assay platform are best described by the vendor (Life Technologies, Carlsbad, CA) on their website at the following URLs:

www.lifetechnologies.com/us/en/home/life-science/drug-dis covery/target-and-lead- identification-and-validation/kinasebiology/kinase-activity- assays/omnia-kinase-assays/omnia- kinase-principle.html and tools.lifetechnologies.com/content/sfs/manuals/omnia_kinase_ assay_man.pdf

[00941] Briefly, 10X stocks of BTK (PV3363) from Life Technologies, 1.13X ATP (AS00lA) and Sox conjugated peptide substrates, Y5-Sox, (KZN305l) were prepared in 1X kinase reaction buffer consisting of 20 mM Tris, pH 7.5, 5 mM MgCl 2 , 1 mM EGTA, 5 mM β- glycerophosphate, 5% glycerol (10X stock, KB002A) and 0.2 mM DTT (DS00lA).5 μL of each enzyme were pre-incubated in a Corning (#3574) 384-well, white, non-binding surface microtiter plate (Corning, NY) for 30 min. at room temperature with a 0.5 μL volume of 50% DMSO or serially diluted compounds prepared in 50% DMSO. Kinase reactions were started with the addition of 45 μL of the ATP/Tyr-Sox peptide substrate Y5 mix and monitored every 71 seconds for 60 minutes at λ ex 360/ λ em 485 in a Synergy4 plate reader from BioTek (Winooski, VT). At the conclusion of each assay, progress curves from each well were examined for linear reaction kinetics and fit statistics (R2, 95% confidence interval, absolute sum of squares). Initial velocity (0 minutes to ~30 minutes) from each reaction was determined from the slope of a plot of relative fluorescence units vs time (minutes) and then plotted against inhibitor concentration to estimate IC 50 from log[Inhibitor] vs Response, Variable Slope model in GraphPad Prism from GraphPad Software (San Diego, CA).

[00942] Reagent conditions for the assay are:

[00943] [BTK] = 5 nM, [ATP] = 40 μM, [Y5-Sox] = 10 μM (ATP KMapp ~ 36 μM).

[00944] Table 6, under the column“IC 50 ”, shows the degree of inhibition of BTK activity by compounds of the invention in the BTK inhibition assay. The compound numbers correspond to the compound numbers in the examples. Compounds having an activity designated as "A" provided an IC 50 <10 nM; compounds having an activity designated as "B" provided an IC 50 10- 100 nM; compounds having an activity designated as "C" provided an IC 50 of 101-1000 nM. EXAMPLE 69

[00945] BTK Ramos Cellular Assay

[00946] BTK activity in Ramos cells, in the presence of a compound of the invention, can be measured by 3 different methods: 1) inhibition of autophosphorylation of BTK; 2) inhibition of phosphorylation of the immediate BTK surrogate PLC γ2; and 3) BTK occupancy. All three of these methods are directly comparable to each other. In this instance, BTK occupancy was chosen and is described below.

[00947] Compounds of this invention were assayed in Ramos human Burkitt lymphoma cells. Ramos cells were grown in suspension in T175 flasks, spun down, resuspended to a concentration of 2 x 10 6 cells per mL in serum-free media and incubated for 1 hour. Compound was added to Ramos cells to a final concentration of 500, 166.7, 55.6, 18.5, 6.2, 2.1, and 0.7 nM. Ramos cells were incubated with compound for 1 hour, washed with PBS and lysed in 100 μL of BioRad lysis Buffer. Cell lysates were incubated with a biotinylated covalent probe (compound I-215 disclosed in U.S. published application number 2010/0029610, incorporated by reference in its entirety) at a final concentration of 1 μM in a PBS, 0.05% Tween-20, 1% BSA solution for 1 h at room temperature. Standards and samples were transferred to a streptavidin-coated 96- well ELISA plate and mixed while shaking for 1 h at room temperature. The α-Btk antibody (BD 611116, 1:1000 dilution in PBS + 0.05% Tween-20+0.5% BSA) was then added and incubated for 1 h at room temperature. After wash, goat α-mouse-HRP (1:5000 dilution in PBS + 0.05% Tween-20 + 0.5% BSA) was added and incubated for 1 h at room temperature. The ELISA was developed with addition of tetramethyl benzidine (TMB) followed by Stop Solution and read at OD 450 nm. The standard curve (11.7-3000 pg/µL) was generated with human full-length recombinant Btk protein and plotted using a 4 parameter curve fit in Gen5 software. Uninhibited Btk detected from samples was normalized to μg total protein as determined by BCA protein analysis (Pierce Cat.23225).

[00948] The results of this assay show the concentration of compound producing 50% occupancy of BTK. This level of occupancy empirically translates to a level of 50% inhibition of BTK activity (both as measured by autophosphorylation and by phosphorylation of PLC γ2). Thus,Table 6, under the column“EC 50 ,” shows the concentration of compounds of the invention that produce 50% inhibition of BTK activity. The compound numbers correspond to the compound numbers in the examples. Compounds having an activity designated as "A" provided an EC 50 <10 nM; compounds having an activity designated as "B" provided an EC 50 10-100 nM; compounds having an activity designated as "C" provided an EC 50 of 101-1000 nM;“nd” designates“not determined”.