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

Theorem dvdsr 20585
Description: Value of the divides relation. (Contributed by Mario Carneiro, 1-Dec-2014.)
Hypotheses
Ref Expression
dvdsr.1 𝐵 = (Base‘𝑅)
dvdsr.2 ∥ = (∥r‘𝑅)
dvdsr.3 · = (.r‘𝑅)
Assertion
Ref Expression
dvdsr (𝑋 ∥ 𝑌 ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌))
Distinct variable groups:   𝑧,𝐵   𝑧,𝑋   𝑧,𝑌   𝑧,𝑅   𝑧, ·
Allowed substitution hint:   ∥ (𝑧)

Proof of Theorem dvdsr
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dvdsr.2 . . . 4 ∥ = (∥r‘𝑅)
21reldvdsr 20583 . . 3 Rel ∥
32brrelex12i 5706 . 2 (𝑋 ∥ 𝑌 → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elex 3472 . . 3 (𝑋 ∈ 𝐵 → 𝑋 ∈ V)
5 id 23 . . . . 5 ((𝑧 · 𝑋) = 𝑌 → (𝑧 · 𝑋) = 𝑌)
6 ovex 7451 . . . . 5 (𝑧 · 𝑋) ∈ V
75, 6eqeltrrdi 2870 . . . 4 ((𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
87rexlimivw 3160 . . 3 (∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
94, 8anim12i 625 . 2 ((𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
10 simpl 488 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑥 = 𝑋)
1110eleq1d 2846 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑥 ∈ 𝐵 ↔ 𝑋 ∈ 𝐵))
1210oveq2d 7434 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑧 · 𝑥) = (𝑧 · 𝑋))
13 simpr 490 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑦 = 𝑌)
1412, 13eqeq12d 2777 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑧 · 𝑥) = 𝑦 ↔ (𝑧 · 𝑋) = 𝑌))
1514rexbidv 3187 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦 ↔ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌))
1611, 15anbi12d 644 . . 3 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦) ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌)))
17 dvdsr.1 . . . 4 𝐵 = (Base‘𝑅)
18 dvdsr.3 . . . 4 · = (.r‘𝑅)
1917, 1, 18dvdsrval 20584 . . 3 ∥ = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦)}
2016, 19brabga 5508 . 2 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 ∥ 𝑌 ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌)))
213, 9, 20pm5.21nii 381 1 (𝑋 ∥ 𝑌 ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  Vcvv 3451   class class class wbr 5103  ‘cfv 6537  (class class class)co 7418  Basecbs 17380  .rcmulr 17422  ∥rcdsr 20577
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-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
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-iun 4953  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-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fv 6545  df-ov 7421  df-dvdsr 20580
This theorem is used by:  dvdsr2  20586  dvdsrmul  20587  dvdsrcl  20588  dvdsrcl2  20589  dvdsrtr  20591  dvdsrmul1  20592  opprunit  20600  crngunit  20601  rhmdvdsr  20751  subrgdvds  20831  isunit2  33793  dvdsruassoi  33932  dvdsruasso  33933  dvdsrspss  33935  rprmasso2  34051  unitmulrprm  34053  rprmirredlem  34055  1arithufdlem3  34071  rhmqusspan  43215  unitscyglem5  43229
  Copyright terms: Public domain W3C validator