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

Theorem dvdsr 20671
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 20669 . . 3 Rel ∥
32brrelex12i 5721 . 2 (𝑋 ∥ 𝑌 → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elex 3482 . . 3 (𝑋 ∈ 𝐵 → 𝑋 ∈ V)
5 id 23 . . . . 5 ((𝑧 · 𝑋) = 𝑌 → (𝑧 · 𝑋) = 𝑌)
6 ovex 7500 . . . . 5 (𝑧 · 𝑋) ∈ V
75, 6eqeltrrdi 2884 . . . 4 ((𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
87rexlimivw 3174 . . 3 (∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌 → 𝑌 ∈ V)
94, 8anim12i 625 . 2 ((𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
10 simpl 488 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑥 = 𝑋)
1110eleq1d 2860 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑥 ∈ 𝐵 ↔ 𝑋 ∈ 𝐵))
1210oveq2d 7483 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑧 · 𝑥) = (𝑧 · 𝑋))
13 simpr 490 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → 𝑦 = 𝑌)
1412, 13eqeq12d 2790 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑧 · 𝑥) = 𝑦 ↔ (𝑧 · 𝑋) = 𝑌))
1514rexbidv 3201 . . . 4 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦 ↔ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌))
1611, 15anbi12d 644 . . 3 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦) ↔ (𝑋 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑋) = 𝑌)))
17 dvdsr.1 . . . 4 𝐵 = (Base‘𝑅)
18 dvdsr.3 . . . 4 · = (.r‘𝑅)
1917, 1, 18dvdsrval 20670 . . 3 ∥ = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐵 ∧ ∃𝑧 ∈ 𝐵 (𝑧 · 𝑥) = 𝑦)}
2016, 19brabga 5523 . 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 1572   ∈ wcel 2156  ∃wrex 3101  Vcvv 3461   class class class wbr 5116  ‘cfv 6578  (class class class)co 7467  Basecbs 17452  .rcmulr 17494  ∥rcdsr 20663
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fv 6586  df-ov 7470  df-dvdsr 20666
This theorem is used by:  dvdsr2  20672  dvdsrmul  20673  dvdsrcl  20674  dvdsrcl2  20675  dvdsrtr  20677  dvdsrmul1  20678  opprunit  20686  crngunit  20687  rhmdvdsr  20837  subrgdvds  20918  isunit2  34011  dvdsruassoi  34145  dvdsruasso  34146  dvdsrspss  34148  rprmasso2  34262  unitmulrprm  34264  rprmirredlem  34266  1arithufdlem3  34282  rhmqusspan  43584  unitscyglem5  43598
  Copyright terms: Public domain W3C validator