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 36443
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 36439 . 2 EqvRels = {𝑟 ∈ Rels ∣ (∀𝑥 ∈ dom 𝑟 𝑥𝑟𝑥 ∧ ∀𝑥𝑦(𝑥𝑟𝑦𝑦𝑟𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧))}
2 dmeq 5772 . . . 4 (𝑟 = 𝑅 → dom 𝑟 = dom 𝑅)
3 breq 5055 . . . 4 (𝑟 = 𝑅 → (𝑥𝑟𝑥𝑥𝑅𝑥))
42, 3raleqbidv 3313 . . 3 (𝑟 = 𝑅 → (∀𝑥 ∈ dom 𝑟 𝑥𝑟𝑥 ↔ ∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥))
5 breq 5055 . . . . 5 (𝑟 = 𝑅 → (𝑥𝑟𝑦𝑥𝑅𝑦))
6 breq 5055 . . . . 5 (𝑟 = 𝑅 → (𝑦𝑟𝑥𝑦𝑅𝑥))
75, 6imbi12d 348 . . . 4 (𝑟 = 𝑅 → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥𝑅𝑦𝑦𝑅𝑥)))
872albidv 1931 . . 3 (𝑟 = 𝑅 → (∀𝑥𝑦(𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
9 breq 5055 . . . . . . 7 (𝑟 = 𝑅 → (𝑦𝑟𝑧𝑦𝑅𝑧))
105, 9anbi12d 634 . . . . . 6 (𝑟 = 𝑅 → ((𝑥𝑟𝑦𝑦𝑟𝑧) ↔ (𝑥𝑅𝑦𝑦𝑅𝑧)))
11 breq 5055 . . . . . 6 (𝑟 = 𝑅 → (𝑥𝑟𝑧𝑥𝑅𝑧))
1210, 11imbi12d 348 . . . . 5 (𝑟 = 𝑅 → (((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
13122albidv 1931 . . . 4 (𝑟 = 𝑅 → (∀𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
1413albidv 1928 . . 3 (𝑟 = 𝑅 → (∀𝑥𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧) ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
154, 8, 143anbi123d 1438 . 2 (𝑟 = 𝑅 → ((∀𝑥 ∈ dom 𝑟 𝑥𝑟𝑥 ∧ ∀𝑥𝑦(𝑥𝑟𝑦𝑦𝑟𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑟𝑦𝑦𝑟𝑧) → 𝑥𝑟𝑧)) ↔ (∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥 ∧ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
161, 15rabeqel 36131 1 (𝑅 ∈ EqvRels ↔ ((∀𝑥 ∈ dom 𝑅 𝑥𝑅𝑥 ∧ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ∧ 𝑅 ∈ Rels ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089  wal 1541   = wceq 1543  wcel 2110  wral 3061   class class class wbr 5053  dom cdm 5551   Rels crels 36072   EqvRels ceqvrels 36086
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-br 5054  df-opab 5116  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-rels 36340  df-ssr 36353  df-refs 36365  df-refrels 36366  df-syms 36393  df-symrels 36394  df-trs 36423  df-trrels 36424  df-eqvrels 36434
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator