Metamath Proof Explorer


Theorem xrre4

Description: An extended real is real iff it is not an infinty. (Contributed by Glauco Siliprandi, 23-Oct-2021)

Ref Expression
Assertion xrre4 ⊢ A ∈ ℝ * → A ∈ ℝ ↔ A ≠ −∞ ∧ A ≠ +∞

Proof

Step Hyp Ref Expression
1 renemnf ⊢ A ∈ ℝ → A ≠ −∞
2 1 adantl ⊢ A ∈ ℝ * ∧ A ∈ ℝ → A ≠ −∞
3 renepnf ⊢ A ∈ ℝ → A ≠ +∞
4 3 adantl ⊢ A ∈ ℝ * ∧ A ∈ ℝ → A ≠ +∞
5 2 4 jca ⊢ A ∈ ℝ * ∧ A ∈ ℝ → A ≠ −∞ ∧ A ≠ +∞
6 5 ex ⊢ A ∈ ℝ * → A ∈ ℝ → A ≠ −∞ ∧ A ≠ +∞
7 simpl ⊢ A ∈ ℝ * ∧ A ≠ −∞ ∧ A ≠ +∞ → A ∈ ℝ *
8 simprl ⊢ A ∈ ℝ * ∧ A ≠ −∞ ∧ A ≠ +∞ → A ≠ −∞
9 simprr ⊢ A ∈ ℝ * ∧ A ≠ −∞ ∧ A ≠ +∞ → A ≠ +∞
10 7 8 9 xrred ⊢ A ∈ ℝ * ∧ A ≠ −∞ ∧ A ≠ +∞ → A ∈ ℝ
11 10 ex ⊢ A ∈ ℝ * → A ≠ −∞ ∧ A ≠ +∞ → A ∈ ℝ
12 6 11 impbid ⊢ A ∈ ℝ * → A ∈ ℝ ↔ A ≠ −∞ ∧ A ≠ +∞