Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rprmdvds Structured version   Visualization version   GIF version

Theorem rprmdvds 34097
Description: If a ring prime 𝑄 divides a product 𝑋 · 𝑌, then it divides either 𝑋 or 𝑌. (Contributed by Thierry Arnoux, 18-May-2025.)
Hypotheses
Ref Expression
rprmdvds.b 𝐵 = (Base‘𝑅)
rprmdvds.p 𝑃 = (RPrime‘𝑅)
rprmdvds.d ∥ = (∥r‘𝑅)
rprmdvds.t · = (.r‘𝑅)
rprmdvds.r (𝜑 → 𝑅 ∈ 𝑉)
rprmdvds.q (𝜑 → 𝑄 ∈ 𝑃)
rprmdvds.x (𝜑 → 𝑋 ∈ 𝐵)
rprmdvds.y (𝜑 → 𝑌 ∈ 𝐵)
rprmdvds.1 (𝜑 → 𝑄 ∥ (𝑋 · 𝑌))
Assertion
Ref Expression
rprmdvds (𝜑 → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))

Proof of Theorem rprmdvds
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rprmdvds.1 . 2 (𝜑 → 𝑄 ∥ (𝑋 · 𝑌))
2 oveq1 7427 . . . . 5 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
32breq2d 5114 . . . 4 (𝑥 = 𝑋 → (𝑄 ∥ (𝑥 · 𝑦) ↔ 𝑄 ∥ (𝑋 · 𝑦)))
4 breq2 5106 . . . . 5 (𝑥 = 𝑋 → (𝑄 ∥ 𝑥 ↔ 𝑄 ∥ 𝑋))
54orbi1d 930 . . . 4 (𝑥 = 𝑋 → ((𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦) ↔ (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦)))
63, 5imbi12d 347 . . 3 (𝑥 = 𝑋 → ((𝑄 ∥ (𝑥 · 𝑦) → (𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦)) ↔ (𝑄 ∥ (𝑋 · 𝑦) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦))))
7 oveq2 7428 . . . . 5 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
87breq2d 5114 . . . 4 (𝑦 = 𝑌 → (𝑄 ∥ (𝑋 · 𝑦) ↔ 𝑄 ∥ (𝑋 · 𝑌)))
9 breq2 5106 . . . . 5 (𝑦 = 𝑌 → (𝑄 ∥ 𝑦 ↔ 𝑄 ∥ 𝑌))
109orbi2d 929 . . . 4 (𝑦 = 𝑌 → ((𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦) ↔ (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌)))
118, 10imbi12d 347 . . 3 (𝑦 = 𝑌 → ((𝑄 ∥ (𝑋 · 𝑦) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦)) ↔ (𝑄 ∥ (𝑋 · 𝑌) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))))
12 rprmdvds.r . . . 4 (𝜑 → 𝑅 ∈ 𝑉)
13 rprmdvds.q . . . . 5 (𝜑 → 𝑄 ∈ 𝑃)
14 rprmdvds.p . . . . 5 𝑃 = (RPrime‘𝑅)
1513, 14eleqtrdi 2870 . . . 4 (𝜑 → 𝑄 ∈ (RPrime‘𝑅))
16 rprmdvds.b . . . . . 6 𝐵 = (Base‘𝑅)
17 eqid 2760 . . . . . 6 (Unit‘𝑅) = (Unit‘𝑅)
18 eqid 2760 . . . . . 6 (0g‘𝑅) = (0g‘𝑅)
19 rprmdvds.d . . . . . 6 ∥ = (∥r‘𝑅)
20 rprmdvds.t . . . . . 6 · = (.r‘𝑅)
2116, 17, 18, 19, 20isrprm 34095 . . . . 5 (𝑅 ∈ 𝑉 → (𝑄 ∈ (RPrime‘𝑅) ↔ (𝑄 ∈ (𝐵 ∖ ((Unit‘𝑅) ∪ {(0g‘𝑅)})) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑄 ∥ (𝑥 · 𝑦) → (𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦)))))
2221simplbda 505 . . . 4 ((𝑅 ∈ 𝑉 ∧ 𝑄 ∈ (RPrime‘𝑅)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑄 ∥ (𝑥 · 𝑦) → (𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦)))
2312, 15, 22syl2anc 596 . . 3 (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑄 ∥ (𝑥 · 𝑦) → (𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦)))
24 rprmdvds.x . . 3 (𝜑 → 𝑋 ∈ 𝐵)
25 rprmdvds.y . . 3 (𝜑 → 𝑌 ∈ 𝐵)
266, 11, 23, 24, 25rspc2dv 3590 . 2 (𝜑 → (𝑄 ∥ (𝑋 · 𝑌) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌)))
271, 26mpd 16 1 (𝜑 → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∨ wo 861   = wceq 1569   ∈ wcel 2144  ∀wral 3076   ∖ cdif 4045   ∪ cun 4149  {csn 4584   class class class wbr 5102  ‘cfv 6538  (class class class)co 7420  Basecbs 17392  .rcmulr 17434  0gc0g 17615  ∥rcdsr 20589  Unitcui 20590  RPrimecrpm 20667
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-rprm 20668
This theorem is used by:  rsprprmprmidl  34100  rprmasso2  34104  rprmirred  34109  rprmdvdspow  34111  rprmdvdsprod  34112  1arithidom  34115  1arithufdlem3  34124
  Copyright terms: Public domain W3C validator