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

Theorem dvdsr 20598
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 20596 . . 3 Rel ∥
32brrelex12i 5705 . 2 (𝑋 ∥ 𝑌 → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elex 3471 . . 3 (𝑋 ∈ 𝐵 → 𝑋 ∈ V)
5 id 23 . . . . 5 ((𝑧 · 𝑋) = 𝑌 → (𝑧 · 𝑋) = 𝑌)
6 ovex 7454 . . . . 5 (𝑧 · 𝑋) ∈ V
75, 6eqeltrrdi 2869 . . . 4 ((𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
87rexlimivw 3159 . . 3 (∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
94, 8anim12i 625 . 2 ((𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
10 simpl 488 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑥 = 𝑋)
1110eleq1d 2845 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑥 ∈ 𝐵 ↔ 𝑋 ∈ 𝐵))
1210oveq2d 7437 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑧 · 𝑥) = (𝑧 · 𝑋))
13 simpr 490 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑦 = 𝑌)
1412, 13eqeq12d 2776 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑧 · 𝑥) = 𝑦 ↔ (𝑧 · 𝑋) = 𝑌))
1514rexbidv 3186 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦 ↔ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌))
1611, 15anbi12d 644 . . 3 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦) ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌)))
17 dvdsr.1 . . . 4 𝐵 = (Base‘𝑅)
18 dvdsr.3 . . . 4 · = (.r‘𝑅)
1917, 1, 18dvdsrval 20597 . . 3 ∥ = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦)}
2016, 19brabga 5507 . 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 1569   ∈ wcel 2144  ∃wrex 3086  Vcvv 3450   class class class wbr 5102  ‘cfv 6539  (class class class)co 7421  Basecbs 17393  .rcmulr 17435  ∥rcdsr 20590
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fv 6547  df-ov 7424  df-dvdsr 20593
This theorem is used by:  dvdsr2  20599  dvdsrmul  20600  dvdsrcl  20601  dvdsrcl2  20602  dvdsrtr  20604  dvdsrmul1  20605  opprunit  20613  crngunit  20614  rhmdvdsr  20764  subrgdvds  20844  isunit2  33847  dvdsruassoi  33986  dvdsruasso  33987  dvdsrspss  33989  rprmasso2  34105  unitmulrprm  34107  rprmirredlem  34109  1arithufdlem3  34125  rhmqusspan  43329  unitscyglem5  43343
  Copyright terms: Public domain W3C validator