Metamath Proof Explorer


Theorem exp11nnd

Description: The function elevating nonnegative reals to a positive integer is one-to-one. Similar to sq11d for positive real bases and positive integer exponents. The base cannot be generalized much further, since if N is even then we have A ^ N = -u A ^ N . (Contributed by SN, 14-Sep-2023)

Ref Expression
Hypotheses exp11nnd.1 ⊢ φ → A ∈ ℝ +
exp11nnd.2 ⊢ φ → B ∈ ℝ +
exp11nnd.3 ⊢ φ → N ∈ ℕ
exp11nnd.4 ⊢ φ → A N = B N
Assertion exp11nnd ⊢ φ → A = B

Proof

Step Hyp Ref Expression
1 exp11nnd.1 ⊢ φ → A ∈ ℝ +
2 exp11nnd.2 ⊢ φ → B ∈ ℝ +
3 exp11nnd.3 ⊢ φ → N ∈ ℕ
4 exp11nnd.4 ⊢ φ → A N = B N
5 1 rpred ⊢ φ → A ∈ ℝ
6 3 nnnn0d ⊢ φ → N ∈ ℕ 0
7 5 6 reexpcld ⊢ φ → A N ∈ ℝ
8 2 rpred ⊢ φ → B ∈ ℝ
9 8 6 reexpcld ⊢ φ → B N ∈ ℝ
10 7 9 lttri3d ⊢ φ → A N = B N ↔ ¬ A N < B N ∧ ¬ B N < A N
11 4 10 mpbid ⊢ φ → ¬ A N < B N ∧ ¬ B N < A N
12 1 2 3 ltexp1d ⊢ φ → A < B ↔ A N < B N
13 12 notbid ⊢ φ → ¬ A < B ↔ ¬ A N < B N
14 2 1 3 ltexp1d ⊢ φ → B < A ↔ B N < A N
15 14 notbid ⊢ φ → ¬ B < A ↔ ¬ B N < A N
16 13 15 anbi12d ⊢ φ → ¬ A < B ∧ ¬ B < A ↔ ¬ A N < B N ∧ ¬ B N < A N
17 11 16 mpbird ⊢ φ → ¬ A < B ∧ ¬ B < A
18 5 8 lttri3d ⊢ φ → A = B ↔ ¬ A < B ∧ ¬ B < A
19 17 18 mpbird ⊢ φ → A = B