Zulip Chat Archive
Stream: new members
Topic: Split ne into lt, gt cases
Icaro Costa (Jan 07 2025 at 14:33):
How do I split $r\neq$ into two cases $r > 1$ and $r < 1$?
example {a r : ℝ} (n : ℕ) (h : r ≠ 1) : ∑ i ∈ range (n+1), a * r^i = (a * r^(n+1) - a) / (r-1) := by
cases le_or_gt_of_ne h
Notification Bot (Jan 07 2025 at 14:35):
A message was moved here from #new members > Variable Macro For bv_decide by Ruben Van de Velde.
Ruben Van de Velde (Jan 07 2025 at 14:36):
Please share a #mwe
Last updated: May 02 2025 at 03:31 UTC