Reagents and conditions: (a) boronic acid or boronic acid pinacol ester, THF/H2O, Pd(dppf)Cl2, Na2CO3, 80 °C, 3.5–26 h or DME, Pd(dppf)Cl2, 1 M aqueous Na2CO3, 150 °C, microwave irradiation, 15 min (for the introduction of 1-(4-fluorophenyl)-1H-pyrazol-4-yl); (b) N-chlorosuccinimide, CH3CN, reflux, 3.5–7 h; (c) EtOH, 1,3-dimethyl-1H-pyrazole-4-carbaldehyde, 1 M aqueous Na2S2O4, 80 °C, 16–20 h.