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

Theorem dvdsr 19390
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 19388 . . 3 Rel
32brrelex12i 5601 . 2 (𝑋 𝑌 → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elex 3512 . . 3 (𝑋𝐵𝑋 ∈ V)
5 id 22 . . . . 5 ((𝑧 · 𝑋) = 𝑌 → (𝑧 · 𝑋) = 𝑌)
6 ovex 7183 . . . . 5 (𝑧 · 𝑋) ∈ V
75, 6eqeltrrdi 2922 . . . 4 ((𝑧 · 𝑋) = 𝑌𝑌 ∈ V)
87rexlimivw 3282 . . 3 (∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌𝑌 ∈ V)
94, 8anim12i 614 . 2 ((𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
10 simpl 485 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑥 = 𝑋)
1110eleq1d 2897 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐵𝑋𝐵))
1210oveq2d 7166 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧 · 𝑥) = (𝑧 · 𝑋))
13 simpr 487 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑦 = 𝑌)
1412, 13eqeq12d 2837 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑧 · 𝑥) = 𝑦 ↔ (𝑧 · 𝑋) = 𝑌))
1514rexbidv 3297 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → (∃𝑧𝐵 (𝑧 · 𝑥) = 𝑦 ↔ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌))
1611, 15anbi12d 632 . . 3 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑥𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑥) = 𝑦) ↔ (𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌)))
17 dvdsr.1 . . . 4 𝐵 = (Base‘𝑅)
18 dvdsr.3 . . . 4 · = (.r𝑅)
1917, 1, 18dvdsrval 19389 . . 3 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑥) = 𝑦)}
2016, 19brabga 5413 . 2 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 𝑌 ↔ (𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌)))
213, 9, 20pm5.21nii 382 1 (𝑋 𝑌 ↔ (𝑋𝐵 ∧ ∃𝑧𝐵 (𝑧 · 𝑋) = 𝑌))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1533  wcel 2110  wrex 3139  Vcvv 3494   class class class wbr 5058  cfv 6349  (class class class)co 7150  Basecbs 16477  .rcmulr 16560  rcdsr 19382
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-ov 7153  df-dvdsr 19385
This theorem is referenced by:  dvdsr2  19391  dvdsrmul  19392  dvdsrcl  19393  dvdsrcl2  19394  dvdsrtr  19396  dvdsrmul1  19397  opprunit  19405  crngunit  19406  subrgdvds  19543  rhmdvdsr  30886
  Copyright terms: Public domain W3C validator