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

Theorem irredmul 20639
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 20631 . . . 4 ((𝑋 · 𝑌) ∈ 𝐼 ↔ ((𝑋 · 𝑌) ∈ 𝐵 ∧ ¬ (𝑋 · 𝑌) ∈ 𝑈 ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
65simp3bi 1165 . . 3 ((𝑋 · 𝑌) ∈ 𝐼 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
7 eqid 2761 . . . 4 (𝑋 · 𝑌) = (𝑋 · 𝑌)
8 oveq1 7419 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 · 𝑦) = (𝑋 · 𝑦))
98eqeq1d 2763 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑦) = (𝑋 · 𝑌)))
10 eleq1 2849 . . . . . . 7 (𝑥 = 𝑋 → (𝑥 ∈ 𝑈 ↔ 𝑋 ∈ 𝑈))
1110orbi1d 930 . . . . . 6 (𝑥 = 𝑋 → ((𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
129, 11imbi12d 347 . . . . 5 (𝑥 = 𝑋 → (((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
13 oveq2 7420 . . . . . . 7 (𝑦 = 𝑌 → (𝑋 · 𝑦) = (𝑋 · 𝑌))
1413eqeq1d 2763 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 · 𝑦) = (𝑋 · 𝑌) ↔ (𝑋 · 𝑌) = (𝑋 · 𝑌)))
15 eleq1 2849 . . . . . . 7 (𝑦 = 𝑌 → (𝑦 ∈ 𝑈 ↔ 𝑌 ∈ 𝑈))
1615orbi2d 929 . . . . . 6 (𝑦 = 𝑌 → ((𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈) ↔ (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
1714, 16imbi12d 347 . . . . 5 (𝑦 = 𝑌 → (((𝑋 · 𝑦) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) ↔ ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
1812, 17rspc2v 3587 . . . 4 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) → ((𝑋 · 𝑌) = (𝑋 · 𝑌) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))))
197, 18mpii 47 . . 3 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 · 𝑦) = (𝑋 · 𝑌) → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
206, 19syl5 35 . 2 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → ((𝑋 · 𝑌) ∈ 𝐼 → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈)))
21203impia 1135 1 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ (𝑋 · 𝑌) ∈ 𝐼) → (𝑋 ∈ 𝑈 ∨ 𝑌 ∈ 𝑈))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ‘cfv 6531  (class class class)co 7412  Basecbs 17367  .rcmulr 17409  Unitcui 20565  Irredcir 20566
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6487  df-fun 6533  df-fv 6539  df-ov 7415  df-irred 20569
This theorem is used by:  prmirredlem  21758  mxidlirred  33979  irredminply  34330
  Copyright terms: Public domain W3C validator