@@ -287,10 +287,10 @@ lemma john_nirenberg_aux2 {L : Grid X} (mL : L ∈ Grid.maxCubes (MsetA l k n))
287287 simp_rw [stackSize, Q₁, mem_setOf_eq]
288288 congr
289289 have lcast : (2 : ℝ≥0 ∞) ^ (n + 1 ) = ((2 ^ (n + 1 ) : ℕ) : ℝ).toNNReal := by
290- rw [toNNReal_coe_nat, ENNReal.coe_natCast]; norm_cast
290+ rw [Real. toNNReal_coe_nat, ENNReal.coe_natCast]; norm_cast
291291 have rcast : ∑ q ∈ Q₁, (𝓘 q : Set X).indicator (1 : X → ℝ≥0 ∞) x =
292292 (((∑ q ∈ Q₁, (𝓘 q : Set X).indicator (1 : X → ℕ) x) : ℕ) : ℝ).toNNReal := by
293- rw [toNNReal_coe_nat, ENNReal.coe_natCast, Nat.cast_sum]; congr!; simp [indicator]
293+ rw [Real. toNNReal_coe_nat, ENNReal.coe_natCast, Nat.cast_sum]; congr!; simp [indicator]
294294 rw [lcast, rcast, ENNReal.coe_le_coe]
295295 exact Real.toNNReal_le_toNNReal (Nat.cast_le.mpr this)
296296 _ ≤ ∫⁻ x, ∑ q ∈ Q₁, (𝓘 q : Set X).indicator 1 x := setLIntegral_le_lintegral _ _
@@ -841,7 +841,7 @@ lemma third_exception_aux :
841841 refine lintegral_mono fun x ↦ ?_
842842 simp_rw [← ENNReal.coe_natCast, show (2 : ℝ≥0 ∞) = (2 : ℝ≥0 ) by rfl,
843843 ← ENNReal.coe_zpow two_ne_zero, ← ENNReal.coe_mul, ENNReal.coe_le_coe,
844- ← toNNReal_coe_nat]
844+ ← Real. toNNReal_coe_nat]
845845 have c2 : (2 : ℝ≥0 ) ^ (9 * a - j : ℤ) = ((2 : ℝ) ^ (9 * a - j : ℤ)).toNNReal := by
846846 refine ((fun h ↦ (Real.toNNReal_eq_iff_eq_coe h).mpr) ?_ rfl).symm
847847 positivity
0 commit comments