@@ -1783,16 +1783,16 @@ lemma mul_rpow_eq_ite (x y : ℝ≥0∞) (z : ℝ) :
17831783begin
17841784 rcases eq_or_ne z 0 with rfl|hz, { simp },
17851785 replace hz := hz.lt_or_lt,
1786- wlog hxy : x ≤ y := le_total x y using [x y, y x] tactic.skip ,
1787- { rcases eq_or_ne x 0 with rfl|hx0 ,
1788- { induction y using with_top.rec_top_coe; cases hz with hz hz; simp [*, hz.not_lt] } ,
1789- rcases eq_or_ne y 0 with rfl|hy0, { exact (hx0 (bot_unique hxy)).elim },
1790- induction x using with_top.rec_top_coe , { cases hz with hz hz; simp [hz, top_unique hxy] },
1791- induction y using with_top.rec_top_coe, { cases hz with hz hz; simp * },
1792- simp only [*, false_and, and_false, false_or, if_false] ,
1793- norm_cast at * ,
1794- rw [coe_rpow_of_ne_zero (mul_ne_zero hx0 hy0), nnreal.mul_rpow] } ,
1795- { convert this using 2 ; simp only [mul_comm, and_comm, or_comm] }
1786+ wlog hxy : x ≤ y,
1787+ { convert this y x z hz (le_of_not_le hxy) using 2 ; simp only [mul_comm, and_comm, or_comm], } ,
1788+ rcases eq_or_ne x 0 with rfl|hx0 ,
1789+ { induction y using with_top.rec_top_coe; cases hz with hz hz; simp [*, hz.not_lt] },
1790+ rcases eq_or_ne y 0 with rfl|hy0 , { exact (hx0 (bot_unique hxy)).elim },
1791+ induction x using with_top.rec_top_coe, { cases hz with hz hz; simp [hz, top_unique hxy] },
1792+ induction y using with_top.rec_top_coe, { cases hz with hz hz; simp * } ,
1793+ simp only [*, false_and, and_false, false_or, if_false] ,
1794+ norm_cast at * ,
1795+ rw [coe_rpow_of_ne_zero (mul_ne_zero hx0 hy0), nnreal.mul_rpow]
17961796end
17971797
17981798lemma mul_rpow_of_ne_top {x y : ℝ≥0 ∞} (hx : x ≠ ⊤) (hy : y ≠ ⊤) (z : ℝ) :
0 commit comments