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

Theorem o2timesd 20108
Description: An element of a ring-like structure plus itself is two times the element. "Two" in such a structure is the sum of the unity element with itself. This (formerly) part of the proof for ringcom 20172 depends on the (right) distributivity and the existence of a (left) multiplicative identity only. (Contributed by Gérard Lang, 4-Dec-2014.) (Revised by AV, 1-Feb-2025.)
Hypotheses
Ref Expression
o2timesd.e (𝜑 → ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)))
o2timesd.u (𝜑1𝐵)
o2timesd.i (𝜑 → ∀𝑥𝐵 ( 1 · 𝑥) = 𝑥)
o2timesd.x (𝜑𝑋𝐵)
Assertion
Ref Expression
o2timesd (𝜑 → (𝑋 + 𝑋) = (( 1 + 1 ) · 𝑋))
Distinct variable groups:   𝑥,𝐵,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧   𝑥, 1 ,𝑦,𝑧   𝑥, · ,𝑦,𝑧   𝑥, + ,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem o2timesd
StepHypRef Expression
1 o2timesd.x . . . 4 (𝜑𝑋𝐵)
2 o2timesd.i . . . 4 (𝜑 → ∀𝑥𝐵 ( 1 · 𝑥) = 𝑥)
3 oveq2 7420 . . . . . . 7 (𝑥 = 𝑋 → ( 1 · 𝑥) = ( 1 · 𝑋))
4 id 22 . . . . . . 7 (𝑥 = 𝑋𝑥 = 𝑋)
53, 4eqeq12d 2747 . . . . . 6 (𝑥 = 𝑋 → (( 1 · 𝑥) = 𝑥 ↔ ( 1 · 𝑋) = 𝑋))
65rspcva 3610 . . . . 5 ((𝑋𝐵 ∧ ∀𝑥𝐵 ( 1 · 𝑥) = 𝑥) → ( 1 · 𝑋) = 𝑋)
76eqcomd 2737 . . . 4 ((𝑋𝐵 ∧ ∀𝑥𝐵 ( 1 · 𝑥) = 𝑥) → 𝑋 = ( 1 · 𝑋))
81, 2, 7syl2anc 583 . . 3 (𝜑𝑋 = ( 1 · 𝑋))
98, 8oveq12d 7430 . 2 (𝜑 → (𝑋 + 𝑋) = (( 1 · 𝑋) + ( 1 · 𝑋)))
10 o2timesd.u . . . 4 (𝜑1𝐵)
1110, 10, 13jca 1127 . . 3 (𝜑 → ( 1𝐵1𝐵𝑋𝐵))
12 o2timesd.e . . 3 (𝜑 → ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)))
13 oveq1 7419 . . . . . 6 (𝑥 = 1 → (𝑥 + 𝑦) = ( 1 + 𝑦))
1413oveq1d 7427 . . . . 5 (𝑥 = 1 → ((𝑥 + 𝑦) · 𝑧) = (( 1 + 𝑦) · 𝑧))
15 oveq1 7419 . . . . . 6 (𝑥 = 1 → (𝑥 · 𝑧) = ( 1 · 𝑧))
1615oveq1d 7427 . . . . 5 (𝑥 = 1 → ((𝑥 · 𝑧) + (𝑦 · 𝑧)) = (( 1 · 𝑧) + (𝑦 · 𝑧)))
1714, 16eqeq12d 2747 . . . 4 (𝑥 = 1 → (((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)) ↔ (( 1 + 𝑦) · 𝑧) = (( 1 · 𝑧) + (𝑦 · 𝑧))))
18 oveq2 7420 . . . . . 6 (𝑦 = 1 → ( 1 + 𝑦) = ( 1 + 1 ))
1918oveq1d 7427 . . . . 5 (𝑦 = 1 → (( 1 + 𝑦) · 𝑧) = (( 1 + 1 ) · 𝑧))
20 oveq1 7419 . . . . . 6 (𝑦 = 1 → (𝑦 · 𝑧) = ( 1 · 𝑧))
2120oveq2d 7428 . . . . 5 (𝑦 = 1 → (( 1 · 𝑧) + (𝑦 · 𝑧)) = (( 1 · 𝑧) + ( 1 · 𝑧)))
2219, 21eqeq12d 2747 . . . 4 (𝑦 = 1 → ((( 1 + 𝑦) · 𝑧) = (( 1 · 𝑧) + (𝑦 · 𝑧)) ↔ (( 1 + 1 ) · 𝑧) = (( 1 · 𝑧) + ( 1 · 𝑧))))
23 oveq2 7420 . . . . 5 (𝑧 = 𝑋 → (( 1 + 1 ) · 𝑧) = (( 1 + 1 ) · 𝑋))
24 oveq2 7420 . . . . . 6 (𝑧 = 𝑋 → ( 1 · 𝑧) = ( 1 · 𝑋))
2524, 24oveq12d 7430 . . . . 5 (𝑧 = 𝑋 → (( 1 · 𝑧) + ( 1 · 𝑧)) = (( 1 · 𝑋) + ( 1 · 𝑋)))
2623, 25eqeq12d 2747 . . . 4 (𝑧 = 𝑋 → ((( 1 + 1 ) · 𝑧) = (( 1 · 𝑧) + ( 1 · 𝑧)) ↔ (( 1 + 1 ) · 𝑋) = (( 1 · 𝑋) + ( 1 · 𝑋))))
2717, 22, 26rspc3v 3627 . . 3 (( 1𝐵1𝐵𝑋𝐵) → (∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)) → (( 1 + 1 ) · 𝑋) = (( 1 · 𝑋) + ( 1 · 𝑋))))
2811, 12, 27sylc 65 . 2 (𝜑 → (( 1 + 1 ) · 𝑋) = (( 1 · 𝑋) + ( 1 · 𝑋)))
299, 28eqtr4d 2774 1 (𝜑 → (𝑋 + 𝑋) = (( 1 + 1 ) · 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1540  wcel 2105  wral 3060  (class class class)co 7412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-ext 2702
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-sb 2067  df-clab 2709  df-cleq 2723  df-clel 2809  df-ral 3061  df-rab 3432  df-v 3475  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-iota 6495  df-fv 6551  df-ov 7415
This theorem is referenced by:  rglcom4d  20109  srgo2times  20110  ringo2times  20167
  Copyright terms: Public domain W3C validator