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

Theorem nnmul1com 12376
Description: Multiplication with 1 is commutative for natural numbers, without ax-mulcom 11245. Since (𝐴 · 1) is 𝐴 by ax-1rid 11251, this is equivalent to remullid 43453 for natural numbers, but using fewer axioms (avoiding ax-resscn 11238, ax-addass 11246, ax-mulass 11247, ax-rnegex 11252, ax-pre-lttri 11255, ax-pre-lttrn 11256, ax-pre-ltadd 11257). (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 7420 . . . 4 (𝑥 = 1 → (1 · 𝑥) = (1 · 1))
2 id 23 . . . 4 (𝑥 = 1 → 𝑥 = 1)
31, 2eqeq12d 2777 . . 3 (𝑥 = 1 → ((1 · 𝑥) = 𝑥 ↔ (1 · 1) = 1))
4 oveq2 7420 . . . 4 (𝑥 = 𝑦 → (1 · 𝑥) = (1 · 𝑦))
5 id 23 . . . 4 (𝑥 = 𝑦 → 𝑥 = 𝑦)
64, 5eqeq12d 2777 . . 3 (𝑥 = 𝑦 → ((1 · 𝑥) = 𝑥 ↔ (1 · 𝑦) = 𝑦))
7 oveq2 7420 . . . 4 (𝑥 = (𝑦 + 1) → (1 · 𝑥) = (1 · (𝑦 + 1)))
8 id 23 . . . 4 (𝑥 = (𝑦 + 1) → 𝑥 = (𝑦 + 1))
97, 8eqeq12d 2777 . . 3 (𝑥 = (𝑦 + 1) → ((1 · 𝑥) = 𝑥 ↔ (1 · (𝑦 + 1)) = (𝑦 + 1)))
10 oveq2 7420 . . . 4 (𝑥 = 𝐴 → (1 · 𝑥) = (1 · 𝐴))
11 id 23 . . . 4 (𝑥 = 𝐴 → 𝑥 = 𝐴)
1210, 11eqeq12d 2777 . . 3 (𝑥 = 𝐴 → ((1 · 𝑥) = 𝑥 ↔ (1 · 𝐴) = 𝐴))
13 1t1e1ALT 12374 . . 3 (1 · 1) = 1
14 1cnd 11283 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 1 ∈ ℂ)
15 simpl 488 . . . . . . 7 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 𝑦 ∈ ℕ)
1615nncnd 12332 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → 𝑦 ∈ ℂ)
1714, 16, 14adddid 11314 . . . . 5 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · (𝑦 + 1)) = ((1 · 𝑦) + (1 · 1)))
18 simpr 490 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · 𝑦) = 𝑦)
1913a1i 11 . . . . . 6 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · 1) = 1)
2018, 19oveq12d 7430 . . . . 5 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → ((1 · 𝑦) + (1 · 1)) = (𝑦 + 1))
2117, 20eqtrd 2796 . . . 4 ((𝑦 ∈ ℕ ∧ (1 · 𝑦) = 𝑦) → (1 · (𝑦 + 1)) = (𝑦 + 1))
2221ex 418 . . 3 (𝑦 ∈ ℕ → ((1 · 𝑦) = 𝑦 → (1 · (𝑦 + 1)) = (𝑦 + 1)))
233, 6, 9, 12, 13, 22nnind 12334 . 2 (𝐴 ∈ ℕ → (1 · 𝐴) = 𝐴)
24 nnre 12323 . . 3 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
25 ax-1rid 11251 . . 3 (𝐴 ∈ ℝ → (𝐴 · 1) = 𝐴)
2624, 25syl 18 . 2 (𝐴 ∈ ℕ → (𝐴 · 1) = 𝐴)
2723, 26eqtr4d 2799 1 (𝐴 ∈ ℕ → (1 · 𝐴) = (𝐴 · 1))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  (class class class)co 7412  ℝcr 11180  1c1 11182   + caddc 11184   · cmul 11186  ℕcn 12316
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rrecex 11253  ax-cnre 11254
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-om 7867  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-nn 12317
This theorem is used by:  nnmulcom  12377
  Copyright terms: Public domain W3C validator