Mathbox for Peter Mazsa < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elrefrels3 Structured version   Visualization version   GIF version

Theorem elrefrels3 35863
 Description: Element of the class of reflexive relations. (Contributed by Peter Mazsa, 23-Jul-2019.)
Assertion
Ref Expression
elrefrels3 (𝑅 ∈ RefRels ↔ (∀𝑥 ∈ dom 𝑅𝑦 ∈ ran 𝑅(𝑥 = 𝑦𝑥𝑅𝑦) ∧ 𝑅 ∈ Rels ))
Distinct variable group:   𝑥,𝑅,𝑦

Proof of Theorem elrefrels3
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 dfrefrels3 35859 . 2 RefRels = {𝑟 ∈ Rels ∣ ∀𝑥 ∈ dom 𝑟𝑦 ∈ ran 𝑟(𝑥 = 𝑦𝑥𝑟𝑦)}
2 dmeq 5759 . . 3 (𝑟 = 𝑅 → dom 𝑟 = dom 𝑅)
3 rneq 5793 . . . 4 (𝑟 = 𝑅 → ran 𝑟 = ran 𝑅)
4 breq 5054 . . . . 5 (𝑟 = 𝑅 → (𝑥𝑟𝑦𝑥𝑅𝑦))
54imbi2d 344 . . . 4 (𝑟 = 𝑅 → ((𝑥 = 𝑦𝑥𝑟𝑦) ↔ (𝑥 = 𝑦𝑥𝑅𝑦)))
63, 5raleqbidv 3392 . . 3 (𝑟 = 𝑅 → (∀𝑦 ∈ ran 𝑟(𝑥 = 𝑦𝑥𝑟𝑦) ↔ ∀𝑦 ∈ ran 𝑅(𝑥 = 𝑦𝑥𝑅𝑦)))
72, 6raleqbidv 3392 . 2 (𝑟 = 𝑅 → (∀𝑥 ∈ dom 𝑟𝑦 ∈ ran 𝑟(𝑥 = 𝑦𝑥𝑟𝑦) ↔ ∀𝑥 ∈ dom 𝑅𝑦 ∈ ran 𝑅(𝑥 = 𝑦𝑥𝑅𝑦)))
81, 7rabeqel 35621 1 (𝑅 ∈ RefRels ↔ (∀𝑥 ∈ dom 𝑅𝑦 ∈ ran 𝑅(𝑥 = 𝑦𝑥𝑅𝑦) ∧ 𝑅 ∈ Rels ))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2115  ∀wral 3133   class class class wbr 5052  dom cdm 5542  ran crn 5543   Rels crels 35560   RefRels crefrels 35563 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5189  ax-nul 5196  ax-pr 5317 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ral 3138  df-rex 3139  df-rab 3142  df-v 3482  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-if 4451  df-pw 4524  df-sn 4551  df-pr 4553  df-op 4557  df-br 5053  df-opab 5115  df-id 5447  df-xp 5548  df-rel 5549  df-cnv 5550  df-dm 5552  df-rn 5553  df-res 5554  df-rels 35830  df-ssr 35843  df-refs 35855  df-refrels 35856 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator