Theorem: tends_to_thirtyseven (FM2023Exrcise/section02_reals/sheet3.lean)

State before:
⊢ tends_to (fun x => 37) 37
Tactic:
rw [tends_to_def]
State after:
⊢ ∀ (ε : ℝ), 0 < ε → ∃ B, ∀ (n : ℕ), B ≤ n → |37 - 37| < ε

State before:
⊢ ∀ (ε : ℝ), 0 < ε → ∃ B, ∀ (n : ℕ), B ≤ n → |37 - 37| < ε
Tactic:
intro ε hε
State after:
ε : ℝ
hε : 0 < ε
⊢ ∃ B, ∀ (n : ℕ), B ≤ n → |37 - 37| < ε

State before:
ε : ℝ
hε : 0 < ε
⊢ ∃ B, ∀ (n : ℕ), B ≤ n → |37 - 37| < ε
Tactic:
use 0
State after:
case h
ε : ℝ
hε : 0 < ε
⊢ ∀ (n : ℕ), 0 ≤ n → |37 - 37| < ε

State before:
case h
ε : ℝ
hε : 0 < ε
⊢ ∀ (n : ℕ), 0 ≤ n → |37 - 37| < ε
Tactic:
intro n _
State after:
case h
ε : ℝ
hε : 0 < ε
n : ℕ
a✝ : 0 ≤ n
⊢ |37 - 37| < ε

State before:
case h
ε : ℝ
hε : 0 < ε
n : ℕ
a✝ : 0 ≤ n
⊢ |37 - 37| < ε
Tactic:
norm_num
State after:
case h
ε : ℝ
hε : 0 < ε
n : ℕ
a✝ : 0 ≤ n
⊢ 0 < ε

State before:
case h
ε : ℝ
hε : 0 < ε
n : ℕ
a✝ : 0 ≤ n
⊢ 0 < ε
Tactic:
apply hε
State after:
no goals