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

Theorem dvdsr 20643
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 20641 . . 3 Rel ∥
32brrelex12i 5713 . 2 (𝑋 ∥ 𝑌 → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elex 3475 . . 3 (𝑋 ∈ 𝐵 → 𝑋 ∈ V)
5 id 23 . . . . 5 ((𝑧 · 𝑋) = 𝑌 → (𝑧 · 𝑋) = 𝑌)
6 ovex 7484 . . . . 5 (𝑧 · 𝑋) ∈ V
75, 6eqeltrrdi 2873 . . . 4 ((𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
87rexlimivw 3163 . . 3 (∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
94, 8anim12i 625 . 2 ((𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
10 simpl 488 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑥 = 𝑋)
1110eleq1d 2849 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑥 ∈ 𝐵 ↔ 𝑋 ∈ 𝐵))
1210oveq2d 7467 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑧 · 𝑥) = (𝑧 · 𝑋))
13 simpr 490 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑦 = 𝑌)
1412, 13eqeq12d 2779 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑧 · 𝑥) = 𝑦 ↔ (𝑧 · 𝑋) = 𝑌))
1514rexbidv 3190 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦 ↔ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌))
1611, 15anbi12d 644 . . 3 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦) ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌)))
17 dvdsr.1 . . . 4 𝐵 = (Base‘𝑅)
18 dvdsr.3 . . . 4 · = (.r‘𝑅)
1917, 1, 18dvdsrval 20642 . . 3 ∥ = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦)}
2016, 19brabga 5515 . 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 2147  ∃wrex 3090  Vcvv 3454   class class class wbr 5108  ‘cfv 6566  (class class class)co 7451  Basecbs 17431  .rcmulr 17473  ∥rcdsr 20635
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-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-dvdsr 20638
This theorem is used by:  dvdsr2  20644  dvdsrmul  20645  dvdsrcl  20646  dvdsrcl2  20647  dvdsrtr  20649  dvdsrmul1  20650  opprunit  20658  crngunit  20659  rhmdvdsr  20809  subrgdvds  20889  isunit2  33899  dvdsruassoi  34043  dvdsruasso  34044  dvdsrspss  34046  rprmasso2  34162  unitmulrprm  34164  rprmirredlem  34166  1arithufdlem3  34182  rhmqusspan  43501  unitscyglem5  43515
  Copyright terms: Public domain W3C validator