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

Theorem dvdsr 19398
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 19396 . . 3 Rel
32brrelex12i 5609 . 2 (𝑋 𝑌 → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elex 3514 . . 3 (𝑋𝐵𝑋 ∈ V)
5 id 22 . . . . 5 ((𝑧 · 𝑋) = 𝑌 → (𝑧 · 𝑋) = 𝑌)
6 ovex 7191 . . . . 5 (𝑧 · 𝑋) ∈ V
75, 6eqeltrrdi 2924 . . . 4 ((𝑧 · 𝑋) = 𝑌𝑌 ∈ V)
87rexlimivw 3284 . . 3 (∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌𝑌 ∈ V)
94, 8anim12i 614 . 2 ((𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
10 simpl 485 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑥 = 𝑋)
1110eleq1d 2899 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐵𝑋𝐵))
1210oveq2d 7174 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧 · 𝑥) = (𝑧 · 𝑋))
13 simpr 487 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑦 = 𝑌)
1412, 13eqeq12d 2839 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑧 · 𝑥) = 𝑦 ↔ (𝑧 · 𝑋) = 𝑌))
1514rexbidv 3299 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → (∃𝑧𝐵 (𝑧 · 𝑥) = 𝑦 ↔ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌))
1611, 15anbi12d 632 . . 3 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑥𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑥) = 𝑦) ↔ (𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌)))
17 dvdsr.1 . . . 4 𝐵 = (Base‘𝑅)
18 dvdsr.3 . . . 4 · = (.r𝑅)
1917, 1, 18dvdsrval 19397 . . 3 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑥) = 𝑦)}
2016, 19brabga 5423 . 2 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 𝑌 ↔ (𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌)))
213, 9, 20pm5.21nii 382 1 (𝑋 𝑌 ↔ (𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1537  wcel 2114  wrex 3141  Vcvv 3496   class class class wbr 5068  cfv 6357  (class class class)co 7158  Basecbs 16485  .rcmulr 16568  rcdsr 19390
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-dvdsr 19393
This theorem is referenced by:  dvdsr2  19399  dvdsrmul  19400  dvdsrcl  19401  dvdsrcl2  19402  dvdsrtr  19404  dvdsrmul1  19405  opprunit  19413  crngunit  19414  subrgdvds  19551  rhmdvdsr  30893
  Copyright terms: Public domain W3C validator