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 34172
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 7468 . . . . 5 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
32breq2d 5123 . . . 4 (𝑥 = 𝑋 → (𝑄 ∥ (𝑥 · 𝑦) ↔ 𝑄 ∥ (𝑋 · 𝑦)))
4 breq2 5115 . . . . 5 (𝑥 = 𝑋 → (𝑄 ∥ 𝑥 ↔ 𝑄 ∥ 𝑋))
54orbi1d 930 . . . 4 (𝑥 = 𝑋 → ((𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦) ↔ (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦)))
63, 5imbi12d 347 . . 3 (𝑥 = 𝑋 → ((𝑄 ∥ (𝑥 · 𝑦) → (𝑄 ∥ 𝑥 ∨ 𝑄 ∥ 𝑦)) ↔ (𝑄 ∥ (𝑋 · 𝑦) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦))))
7 oveq2 7469 . . . . 5 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
87breq2d 5123 . . . 4 (𝑦 = 𝑌 → (𝑄 ∥ (𝑋 · 𝑦) ↔ 𝑄 ∥ (𝑋 · 𝑌)))
9 breq2 5115 . . . . 5 (𝑦 = 𝑌 → (𝑄 ∥ 𝑦 ↔ 𝑄 ∥ 𝑌))
109orbi2d 929 . . . 4 (𝑦 = 𝑌 → ((𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦) ↔ (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌)))
118, 10imbi12d 347 . . 3 (𝑦 = 𝑌 → ((𝑄 ∥ (𝑋 · 𝑦) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑦)) ↔ (𝑄 ∥ (𝑋 · 𝑌) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))))
12 rprmdvds.r . . . 4 (𝜑 → 𝑅 ∈ 𝑉)
13 rprmdvds.q . . . . 5 (𝜑 → 𝑄 ∈ 𝑃)
14 rprmdvds.p . . . . 5 𝑃 = (RPrime‘𝑅)
1513, 14eleqtrdi 2880 . . . 4 (𝜑 → 𝑄 ∈ (RPrime‘𝑅))
16 rprmdvds.b . . . . . 6 𝐵 = (Base‘𝑅)
17 eqid 2769 . . . . . 6 (Unit‘𝑅) = (Unit‘𝑅)
18 eqid 2769 . . . . . 6 (0g‘𝑅) = (0g‘𝑅)
19 rprmdvds.d . . . . . 6 ∥ = (∥r‘𝑅)
20 rprmdvds.t . . . . . 6 · = (.r‘𝑅)
2116, 17, 18, 19, 20isrprm 34170 . . . . 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 3596 . 2 (𝜑 → (𝑄 ∥ (𝑋 · 𝑌) → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌)))
271, 26mpd 16 1 (𝜑 → (𝑄 ∥ 𝑋 ∨ 𝑄 ∥ 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∨ wo 861   = wceq 1572   ∈ wcel 2151  ∀wral 3086   ∖ cdif 4050   ∪ cun 4154  {csn 4590   class class class wbr 5111  ‘cfv 6573  (class class class)co 7461  Basecbs 17444  .rcmulr 17486  0gc0g 17677  ∥rcdsr 20652  Unitcui 20653  RPrimecrpm 20730
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6527  df-fun 6575  df-fv 6581  df-ov 7464  df-rprm 20731
This theorem is used by:  rsprprmprmidl  34175  rprmasso2  34179  rprmirred  34184  rprmdvdspow  34186  rprmdvdsprod  34187  1arithidom  34190  1arithufdlem3  34199
  Copyright terms: Public domain W3C validator