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

Theorem eleqvrels3 35843
Description: Element of the class of equivalence relations. (Contributed by Peter Mazsa, 24-Aug-2021.)
Assertion
Ref Expression
eleqvrels3 (𝑅 ∈ EqvRels ↔ ((∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥 ∧ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ∧ 𝑅 ∈ Rels ))
Distinct variable group:   𝑥,𝑅,𝑦,𝑧

Proof of Theorem eleqvrels3
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 dfeqvrels3 35839 . 2 EqvRels = {𝑟 ∈ Rels ∣ (∀𝑥 ∈ dom 𝑟 𝑥𝑟𝑥 ∧ ∀𝑥𝑦(𝑥𝑟𝑦𝑦𝑟𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))}
2 dmeq 5772 . . . 4 (𝑟 = 𝑅 → dom 𝑟 = dom 𝑅)
3 breq 5068 . . . 4 (𝑟 = 𝑅 → (𝑥𝑟𝑥𝑥𝑅𝑥))
42, 3raleqbidv 3401 . . 3 (𝑟 = 𝑅 → (∀𝑥 ∈ dom 𝑟 𝑥𝑟𝑥 ↔ ∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥))
5 breq 5068 . . . . 5 (𝑟 = 𝑅 → (𝑥𝑟𝑦𝑥𝑅𝑦))
6 breq 5068 . . . . 5 (𝑟 = 𝑅 → (𝑦𝑟𝑥𝑦𝑅𝑥))
75, 6imbi12d 347 . . . 4 (𝑟 = 𝑅 → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥𝑅𝑦𝑦𝑅𝑥)))
872albidv 1924 . . 3 (𝑟 = 𝑅 → (∀𝑥𝑦(𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
9 breq 5068 . . . . . . 7 (𝑟 = 𝑅 → (𝑦𝑟𝑧𝑦𝑅𝑧))
105, 9anbi12d 632 . . . . . 6 (𝑟 = 𝑅 → ((𝑥𝑟𝑦𝑦𝑟𝑧) ↔ (𝑥𝑅𝑦𝑦𝑅𝑧)))
11 breq 5068 . . . . . 6 (𝑟 = 𝑅 → (𝑥𝑟𝑧𝑥𝑅𝑧))
1210, 11imbi12d 347 . . . . 5 (𝑟 = 𝑅 → (((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
13122albidv 1924 . . . 4 (𝑟 = 𝑅 → (∀𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
1413albidv 1921 . . 3 (𝑟 = 𝑅 → (∀𝑥𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
154, 8, 143anbi123d 1432 . 2 (𝑟 = 𝑅 → ((∀𝑥 ∈ dom 𝑟 𝑥𝑟𝑥 ∧ ∀𝑥𝑦(𝑥𝑟𝑦𝑦𝑟𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ (∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥 ∧ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
161, 15rabeqel 35531 1 (𝑅 ∈ EqvRels ↔ ((∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥 ∧ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ∧ 𝑅 ∈ Rels ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083  wal 1535   = wceq 1537  wcel 2114  wral 3138   class class class wbr 5066  dom cdm 5555   Rels crels 35470   EqvRels ceqvrels 35484
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 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
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 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-opab 5129  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-rels 35740  df-ssr 35753  df-refs 35765  df-refrels 35766  df-syms 35793  df-symrels 35794  df-trs 35823  df-trrels 35824  df-eqvrels 35834
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator