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 34121
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 7450 . . . . 5 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
32breq2d 5118 . . . 4 (𝑥 = 𝑋 → (𝑄 ∥ (𝑥 · 𝑦) ↔ 𝑄 ∥ (𝑋 · 𝑦)))
4 breq2 5110 . . . . 5 (𝑥 = 𝑋 → (𝑄 ∥ 𝑥 ↔ 𝑄 ∥ 𝑋))
54orbi1d 930 . . . 4 (𝑥 = 𝑋 → ((𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦) ↔ (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦)))
63, 5imbi12d 347 . . 3 (𝑥 = 𝑋 → ((𝑄 ∥ (𝑥 · 𝑦) → (𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦)) ↔ (𝑄 ∥ (𝑋 · 𝑦) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦))))
7 oveq2 7451 . . . . 5 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
87breq2d 5118 . . . 4 (𝑦 = 𝑌 → (𝑄 ∥ (𝑋 · 𝑦) ↔ 𝑄 ∥ (𝑋 · 𝑌)))
9 breq2 5110 . . . . 5 (𝑦 = 𝑌 → (𝑄 ∥ 𝑦 ↔ 𝑄 ∥ 𝑌))
109orbi2d 929 . . . 4 (𝑦 = 𝑌 → ((𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦) ↔ (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌)))
118, 10imbi12d 347 . . 3 (𝑦 = 𝑌 → ((𝑄 ∥ (𝑋 · 𝑦) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦)) ↔ (𝑄 ∥ (𝑋 · 𝑌) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))))
12 rprmdvds.r . . . 4 (𝜑 → 𝑅 ∈ 𝑉)
13 rprmdvds.q . . . . 5 (𝜑 → 𝑄 ∈ 𝑃)
14 rprmdvds.p . . . . 5 𝑃 = (RPrime‘𝑅)
1513, 14eleqtrdi 2874 . . . 4 (𝜑 → 𝑄 ∈ (RPrime‘𝑅))
16 rprmdvds.b . . . . . 6 𝐵 = (Base‘𝑅)
17 eqid 2763 . . . . . 6 (Unit‘𝑅) = (Unit‘𝑅)
18 eqid 2763 . . . . . 6 (0g‘𝑅) = (0g‘𝑅)
19 rprmdvds.d . . . . . 6 ∥ = (∥r‘𝑅)
20 rprmdvds.t . . . . . 6 · = (.r‘𝑅)
2116, 17, 18, 19, 20isrprm 34119 . . . . 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 3594 . 2 (𝜑 → (𝑄 ∥ (𝑋 · 𝑌) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌)))
271, 26mpd 16 1 (𝜑 → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∨ wo 861   = wceq 1570   ∈ wcel 2147  ∀wral 3080   ∖ cdif 4048   ∪ cun 4152  {csn 4588   class class class wbr 5106  ‘cfv 6558  (class class class)co 7443  Basecbs 17416  .rcmulr 17458  0gc0g 17639  ∥rcdsr 20614  Unitcui 20615  RPrimecrpm 20692
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-iota 6512  df-fun 6560  df-fv 6566  df-ov 7446  df-rprm 20693
This theorem is used by:  rsprprmprmidl  34124  rprmasso2  34128  rprmirred  34133  rprmdvdspow  34135  rprmdvdsprod  34136  1arithidom  34139  1arithufdlem3  34148
  Copyright terms: Public domain W3C validator