Theorem: extraction_ge (LCTutorial/Solutions/Topics/SequenceLimits.lean)

State before:
φ : ℕ → ℕ
⊢ extraction φ → ∀ (N N' : ℕ), ∃ n ≥ N', φ n ≥ N
Tactic:
intro h N N'
State after:
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ ∃ n ≥ N', φ n ≥ N

State before:
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ ∃ n ≥ N', φ n ≥ N
Tactic:
use max N N'
State after:
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ max N N' ≥ N' ∧ φ (max N N') ≥ N

State before:
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ max N N' ≥ N' ∧ φ (max N N') ≥ N
Tactic:
constructor
State after:
case left
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ max N N' ≥ N'

case right
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ φ (max N N') ≥ N

State before:
case left
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ max N N' ≥ N'

case right
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ φ (max N N') ≥ N
Tactic:
apply le_max_right
State after:
case right
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ φ (max N N') ≥ N

State before:
case right
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ φ (max N N') ≥ N
Tactic:
calc
  N ≤ max N N' := by apply le_max_left
  _ ≤ φ (max N N') := by apply id_le_extraction' h
State after:
no goals

State before:
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ N ≤ max N N'
Tactic:
apply le_max_left
State after:
no goals

State before:
φ : ℕ → ℕ
h : extraction φ
N N' : ℕ
⊢ max N N' ≤ φ (max N N')
Tactic:
apply id_le_extraction' h
State after:
no goals