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

Theorem irredmul 20733
Description: If product of two elements is irreducible, then one of the elements must be a unit. (Contributed by Mario Carneiro, 4-Dec-2014.)
Hypotheses
Ref Expression
irredn0.i 𝐼 = (Irred‘𝑅)
irredmul.b 𝐵 = (Base‘𝑅)
irredmul.u 𝑈 = (Unit‘𝑅)
irredmul.t · = (.r‘𝑅)
Assertion
Ref Expression
irredmul ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ (𝑋 · 𝑌) ∈ 𝐼) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))

Proof of Theorem irredmul
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 irredmul.b . . . . 5 𝐵 = (Base‘𝑅)
2 irredmul.u . . . . 5 𝑈 = (Unit‘𝑅)
3 irredn0.i . . . . 5 𝐼 = (Irred‘𝑅)
4 irredmul.t . . . . 5 · = (.r‘𝑅)
51, 2, 3, 4isirred2 20725 . . . 4 ((𝑋 · 𝑌) ∈ 𝐼 ↔ ((𝑋 · 𝑌) ∈ 𝐵 ∧ ¬ (𝑋 · 𝑌) ∈ 𝑈 ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
65simp3bi 1166 . . 3 ((𝑋 · 𝑌) ∈ 𝐼 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
7 eqid 2769 . . . 4 (𝑋 · 𝑌) = (𝑋 · 𝑌)
8 oveq1 7469 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
98eqeq1d 2771 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑦) = (𝑋 · 𝑌)))
10 eleq1 2858 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 ∈ 𝑈 ↔ 𝑋 ∈ 𝑈))
1110orbi1d 930 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
129, 11imbi12d 347 . . . . 5 (𝑥 = 𝑋 → (((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
13 oveq2 7470 . . . . . . 7 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
1413eqeq1d 2771 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑌) = (𝑋 · 𝑌)))
15 eleq1 2858 . . . . . . 7 (𝑦 = 𝑌 → (𝑦 ∈ 𝑈 ↔ 𝑌 ∈ 𝑈))
1615orbi2d 929 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
1714, 16imbi12d 347 . . . . 5 (𝑦 = 𝑌 → (((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
1812, 17rspc2v 3592 . . . 4 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) → ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
197, 18mpii 47 . . 3 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
206, 19syl5 35 . 2 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → ((𝑋 · 𝑌) ∈ 𝐼 → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
21203impia 1136 1 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ (𝑋 · 𝑌) ∈ 𝐼) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ‘cfv 6573  (class class class)co 7462  Basecbs 17447  .rcmulr 17489  Unitcui 20659  Irredcir 20660
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 7465  df-irred 20663
This theorem is used by:  prmirredlem  21870  mxidlirred  34146  irredminply  34476
  Copyright terms: Public domain W3C validator