MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nnmul1com Structured version   Visualization version   GIF version

Theorem nnmul1com 12263
Description: Multiplication with 1 is commutative for natural numbers, without ax-mulcom 11130. Since (𝐴 · 1) is 𝐴 by ax-1rid 11136, this is equivalent to remullid 43003 for natural numbers, but using fewer axioms (avoiding ax-resscn 11123, ax-addass 11131, ax-mulass 11132, ax-rnegex 11137, ax-pre-lttri 11140, ax-pre-lttrn 11141, ax-pre-ltadd 11142). (Contributed by SN, 5-Feb-2024.)
Assertion
Ref Expression
nnmul1com (𝐴 ∈ ℕ → (1 · 𝐴) = (𝐴 · 1))

Proof of Theorem nnmul1com
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7398 . . . 4 (𝑥 = 1 → (1 · 𝑥) = (1 · 1))
2 id 22 . . . 4 (𝑥 = 1 → 𝑥 = 1)
31, 2eqeq12d 2777 . . 3 (𝑥 = 1 → ((1 · 𝑥) = 𝑥 ↔ (1 · 1) = 1))
4 oveq2 7398 . . . 4 (𝑥 = 𝑦 → (1 · 𝑥) = (1 · 𝑦))
5 id 22 . . . 4 (𝑥 = 𝑦𝑥 = 𝑦)
64, 5eqeq12d 2777 . . 3 (𝑥 = 𝑦 → ((1 · 𝑥) = 𝑥 ↔ (1 · 𝑦) = 𝑦))
7 oveq2 7398 . . . 4 (𝑥 = (𝑦 + 1) → (1 · 𝑥) = (1 · (𝑦 + 1)))
8 id 22 . . . 4 (𝑥 = (𝑦 + 1) → 𝑥 = (𝑦 + 1))
97, 8eqeq12d 2777 . . 3 (𝑥 = (𝑦 + 1) → ((1 · 𝑥) = 𝑥 ↔ (1 · (𝑦 + 1)) = (𝑦 + 1)))
10 oveq2 7398 . . . 4 (𝑥 = 𝐴 → (1 · 𝑥) = (1 · 𝐴))
11 id 22 . . . 4 (𝑥 = 𝐴𝑥 = 𝐴)
1210, 11eqeq12d 2777 . . 3 (𝑥 = 𝐴 → ((1 · 𝑥) = 𝑥 ↔ (1 · 𝐴) = 𝐴))
13 1t1e1ALT 12261 . . 3 (1 · 1) = 1
14 1cnd 11168 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 1 ∈ ℂ)
15 simpl 486 . . . . . . 7 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 𝑦 ∈ ℕ)
1615nncnd 12219 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 𝑦 ∈ ℂ)
1714, 16, 14adddid 11199 . . . . 5 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · (𝑦 + 1)) = ((1 · 𝑦) + (1 · 1)))
18 simpr 488 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · 𝑦) = 𝑦)
1913a1i 11 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · 1) = 1)
2018, 19oveq12d 7408 . . . . 5 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → ((1 · 𝑦) + (1 · 1)) = (𝑦 + 1))
2117, 20eqtrd 2796 . . . 4 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · (𝑦 + 1)) = (𝑦 + 1))
2221ex 416 . . 3 (𝑦 ∈ ℕ → ((1 · 𝑦) = 𝑦 → (1 · (𝑦 + 1)) = (𝑦 + 1)))
233, 6, 9, 12, 13, 22nnind 12221 . 2 (𝐴 ∈ ℕ → (1 · 𝐴) = 𝐴)
24 nnre 12210 . . 3 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
25 ax-1rid 11136 . . 3 (𝐴 ∈ ℝ → (𝐴 · 1) = 𝐴)
2624, 25syl 17 . 2 (𝐴 ∈ ℕ → (𝐴 · 1) = 𝐴)
2723, 26eqtr4d 2799 1 (𝐴 ∈ ℕ → (1 · 𝐴) = (𝐴 · 1))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1559  wcel 2141  (class class class)co 7390  cr 11065  1c1 11067   + caddc 11069   · cmul 11071  cn 12203
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5243  ax-nul 5253  ax-pr 5387  ax-un 7712  ax-1cn 11124  ax-icn 11125  ax-addcl 11126  ax-addrcl 11127  ax-mulcl 11128  ax-mulrcl 11129  ax-distr 11133  ax-i2m1 11134  ax-1ne0 11135  ax-1rid 11136  ax-rrecex 11138  ax-cnre 11139
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3076  df-rex 3086  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4580  df-pr 4582  df-op 4586  df-uni 4863  df-iun 4948  df-br 5098  df-opab 5160  df-mpt 5179  df-tr 5205  df-id 5538  df-eprel 5543  df-po 5551  df-so 5552  df-fr 5596  df-we 5598  df-xp 5649  df-rel 5650  df-cnv 5651  df-co 5652  df-dm 5653  df-rn 5654  df-res 5655  df-ima 5656  df-pred 6282  df-ord 6343  df-on 6344  df-lim 6345  df-suc 6346  df-iota 6471  df-fun 6517  df-fn 6518  df-f 6519  df-f1 6520  df-fo 6521  df-f1o 6522  df-fv 6523  df-ov 7393  df-om 7841  df-2nd 7965  df-frecs 8255  df-wrecs 8286  df-recs 8335  df-rdg 8374  df-nn 12204
This theorem is referenced by:  nnmulcom  12264
  Copyright terms: Public domain W3C validator