-- File: optlib/Optlib/Algorithm/Nesterov/NesterovAccelerationSecond.lean
Theorem statement:
theorem extracted_formal_statement_117.{u_1} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E]
  [inst_2 : CompleteSpace E] {f h : E → ℝ} {f' : E → E} {x0 : E} [p : Nesterov_second_fix_stepsize f h f' x0] (n : ℕ+)
  (h_original_goal :
    (1 + (↑↑n + 1) - 2) * (1 + (↑↑n + 1)) ^ 2 /
        ((1 + (↑↑n + 1)) * ↑(Nesterov_second_fix_stepsize.l f h f' x0) * 2 ^ 2) ≤
      (1 + ↑↑n) ^ 2 / (↑(Nesterov_second_fix_stepsize.l f h f' x0) * 2 ^ 2)) :
  (1 + (↑↑n + 1) - 2) * (1 + (↑↑n + 1)) ^ 2 / (1 + (↑↑n + 1)) / ↑(Nesterov_second_fix_stepsize.l f h f' x0) / 2 ^ 2 ≤
    (1 + ↑↑n) ^ 2 / ↑(Nesterov_second_fix_stepsize.l f h f' x0) / 2 ^ 2 := sorry

Tactic state before:
E : Type u_1
inst✝² : NormedAddCommGroup E
inst✝¹ : InnerProductSpace ℝ E
inst✝ : CompleteSpace E
f✝ h✝ : E → ℝ
f'✝ : E → E
x0✝ : E
f h : E → ℝ
f' : E → E
x0 : E
p : Nesterov_second_fix_stepsize f h f' x0
n : ℕ+
⊢ (1 + (↑↑n + 1) - 2) * (1 + (↑↑n + 1)) ^ 2 / ((1 + (↑↑n + 1)) * ↑(Nesterov_second_fix_stepsize.l f h f' x0) * 2 ^ 2) ≤
    (1 + ↑↑n) ^ 2 / (↑(Nesterov_second_fix_stepsize.l f h f' x0) * 2 ^ 2)

Tactic: rw [← div_div, ← div_div, ← div_div]

Tactic state after:
[E : Type u_1
 inst✝² : NormedAddCommGroup E
 inst✝¹ : InnerProductSpace ℝ E
 inst✝ : CompleteSpace E
 f✝ h✝ : E → ℝ
 f'✝ : E → E
 x0✝ : E
 f h : E → ℝ
 f' : E → E
 x0 : E
 p : Nesterov_second_fix_stepsize f h f' x0
 n : ℕ+
 ⊢ (1 + (↑↑n + 1) - 2) * (1 + (↑↑n + 1)) ^ 2 / (1 + (↑↑n + 1)) / ↑(Nesterov_second_fix_stepsize.l f h f' x0) / 2 ^ 2 ≤
     (1 + ↑↑n) ^ 2 / ↑(Nesterov_second_fix_stepsize.l f h f' x0) / 2 ^ 2]

Premises used:
div_div : ∀ {α : Type u_1} [inst : DivisionCommMonoid α] (a b c : α), a / b / c = a / (b * c)