Metamath Proof Explorer


Theorem oexpreposd

Description: The exponential of a real number with an odd exponent is positive iff the real number itself is positive. For a different representation of the odd exponent see expgt0b . (Contributed by SN, 4-Mar-2023) (Proof shortened by AV, 19-Nov-2026)

Ref Expression
Hypotheses oexpreposd.n ⊢ φ → N ∈ ℝ
oexpreposd.m ⊢ φ → M ∈ ℕ
oexpreposd.1 ⊢ φ → ¬ M 2 ∈ ℕ
Assertion oexpreposd ⊢ φ → 0 < N ↔ 0 < N M

Proof

Step Hyp Ref Expression
1 oexpreposd.n ⊢ φ → N ∈ ℝ
2 oexpreposd.m ⊢ φ → M ∈ ℕ
3 oexpreposd.1 ⊢ φ → ¬ M 2 ∈ ℕ
4 2 nnzd ⊢ φ → M ∈ ℤ
5 evend2 ⊢ M ∈ ℤ → 2 ∥ M ↔ M 2 ∈ ℤ
6 4 5 syl ⊢ φ → 2 ∥ M ↔ M 2 ∈ ℤ
7 2 nngt0d ⊢ φ → 0 < M
8 2 nnred ⊢ φ → M ∈ ℝ
9 2rp ⊢ 2 ∈ ℝ +
10 9 a1i ⊢ φ → 2 ∈ ℝ +
11 8 10 gt0divd ⊢ φ → 0 < M ↔ 0 < M 2
12 7 11 mpbid ⊢ φ → 0 < M 2
13 12 anim1ci ⊢ φ ∧ M 2 ∈ ℤ → M 2 ∈ ℤ ∧ 0 < M 2
14 elnnz ⊢ M 2 ∈ ℕ ↔ M 2 ∈ ℤ ∧ 0 < M 2
15 13 14 sylibr ⊢ φ ∧ M 2 ∈ ℤ → M 2 ∈ ℕ
16 15 ex ⊢ φ → M 2 ∈ ℤ → M 2 ∈ ℕ
17 6 16 sylbid ⊢ φ → 2 ∥ M → M 2 ∈ ℕ
18 3 17 mtod ⊢ φ → ¬ 2 ∥ M
19 1 2 18 expgt0b ⊢ φ → 0 < N ↔ 0 < N M