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

Theorem nnmul1com 12311
Description: Multiplication with 1 is commutative for natural numbers, without ax-mulcom 11182. Since (𝐴 · 1) is 𝐴 by ax-1rid 11188, this is equivalent to remullid 43236 for natural numbers, but using fewer axioms (avoiding ax-resscn 11175, ax-addass 11183, ax-mulass 11184, ax-rnegex 11189, ax-pre-lttri 11192, ax-pre-lttrn 11193, ax-pre-ltadd 11194). (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 7431 . . . 4 (𝑥 = 1 → (1 · 𝑥) = (1 · 1))
2 id 23 . . . 4 (𝑥 = 1 → 𝑥 = 1)
31, 2eqeq12d 2782 . . 3 (𝑥 = 1 → ((1 · 𝑥) = 𝑥 ↔ (1 · 1) = 1))
4 oveq2 7431 . . . 4 (𝑥 = 𝑦 → (1 · 𝑥) = (1 · 𝑦))
5 id 23 . . . 4 (𝑥 = 𝑦𝑥 = 𝑦)
64, 5eqeq12d 2782 . . 3 (𝑥 = 𝑦 → ((1 · 𝑥) = 𝑥 ↔ (1 · 𝑦) = 𝑦))
7 oveq2 7431 . . . 4 (𝑥 = (𝑦 + 1) → (1 · 𝑥) = (1 · (𝑦 + 1)))
8 id 23 . . . 4 (𝑥 = (𝑦 + 1) → 𝑥 = (𝑦 + 1))
97, 8eqeq12d 2782 . . 3 (𝑥 = (𝑦 + 1) → ((1 · 𝑥) = 𝑥 ↔ (1 · (𝑦 + 1)) = (𝑦 + 1)))
10 oveq2 7431 . . . 4 (𝑥 = 𝐴 → (1 · 𝑥) = (1 · 𝐴))
11 id 23 . . . 4 (𝑥 = 𝐴𝑥 = 𝐴)
1210, 11eqeq12d 2782 . . 3 (𝑥 = 𝐴 → ((1 · 𝑥) = 𝑥 ↔ (1 · 𝐴) = 𝐴))
13 1t1e1ALT 12309 . . 3 (1 · 1) = 1
14 1cnd 11220 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 1 ∈ ℂ)
15 simpl 488 . . . . . . 7 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 𝑦 ∈ ℕ)
1615nncnd 12267 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 𝑦 ∈ ℂ)
1714, 16, 14adddid 11251 . . . . 5 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · (𝑦 + 1)) = ((1 · 𝑦) + (1 · 1)))
18 simpr 490 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · 𝑦) = 𝑦)
1913a1i 11 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · 1) = 1)
2018, 19oveq12d 7441 . . . . 5 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → ((1 · 𝑦) + (1 · 1)) = (𝑦 + 1))
2117, 20eqtrd 2801 . . . 4 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · (𝑦 + 1)) = (𝑦 + 1))
2221ex 418 . . 3 (𝑦 ∈ ℕ → ((1 · 𝑦) = 𝑦 → (1 · (𝑦 + 1)) = (𝑦 + 1)))
233, 6, 9, 12, 13, 22nnind 12269 . 2 (𝐴 ∈ ℕ → (1 · 𝐴) = 𝐴)
24 nnre 12258 . . 3 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
25 ax-1rid 11188 . . 3 (𝐴 ∈ ℝ → (𝐴 · 1) = 𝐴)
2624, 25syl 18 . 2 (𝐴 ∈ ℕ → (𝐴 · 1) = 𝐴)
2723, 26eqtr4d 2804 1 (𝐴 ∈ ℕ → (1 · 𝐴) = (𝐴 · 1))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2146  (class class class)co 7423  cr 11117  1c1 11119   + caddc 11121   · cmul 11123  cn 12251
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pr 5409  ax-un 7745  ax-1cn 11176  ax-icn 11177  ax-addcl 11178  ax-addrcl 11179  ax-mulcl 11180  ax-mulrcl 11181  ax-distr 11185  ax-i2m1 11186  ax-1ne0 11187  ax-1rid 11188  ax-rrecex 11190  ax-cnre 11191
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3928  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-tr 5224  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6309  df-ord 6370  df-on 6371  df-lim 6372  df-suc 6373  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7426  df-om 7872  df-2nd 7996  df-frecs 8287  df-wrecs 8318  df-recs 8367  df-rdg 8406  df-nn 12252
This theorem is used by:  nnmulcom  12312
  Copyright terms: Public domain W3C validator