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

Theorem dfeqvrels2 36324
Description: Alternate definition of the class of equivalence relations. (Contributed by Peter Mazsa, 2-Dec-2019.)
Assertion
Ref Expression
dfeqvrels2 EqvRels = {𝑟 ∈ Rels ∣ (( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟 ∧ (𝑟𝑟) ⊆ 𝑟)}

Proof of Theorem dfeqvrels2
StepHypRef Expression
1 df-eqvrels 36320 . . 3 EqvRels = (( RefRels ∩ SymRels ) ∩ TrRels )
2 refsymrels2 36302 . . . 4 ( RefRels ∩ SymRels ) = {𝑟 ∈ Rels ∣ (( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟)}
3 dftrrels2 36312 . . . 4 TrRels = {𝑟 ∈ Rels ∣ (𝑟𝑟) ⊆ 𝑟}
42, 3ineq12i 4101 . . 3 (( RefRels ∩ SymRels ) ∩ TrRels ) = ({𝑟 ∈ Rels ∣ (( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟)} ∩ {𝑟 ∈ Rels ∣ (𝑟𝑟) ⊆ 𝑟})
5 inrab 4195 . . 3 ({𝑟 ∈ Rels ∣ (( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟)} ∩ {𝑟 ∈ Rels ∣ (𝑟𝑟) ⊆ 𝑟}) = {𝑟 ∈ Rels ∣ ((( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟) ∧ (𝑟𝑟) ⊆ 𝑟)}
61, 4, 53eqtri 2765 . 2 EqvRels = {𝑟 ∈ Rels ∣ ((( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟) ∧ (𝑟𝑟) ⊆ 𝑟)}
7 df-3an 1090 . . 3 ((( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟 ∧ (𝑟𝑟) ⊆ 𝑟) ↔ ((( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟) ∧ (𝑟𝑟) ⊆ 𝑟))
87rabbii 3374 . 2 {𝑟 ∈ Rels ∣ (( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟 ∧ (𝑟𝑟) ⊆ 𝑟)} = {𝑟 ∈ Rels ∣ ((( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟) ∧ (𝑟𝑟) ⊆ 𝑟)}
96, 8eqtr4i 2764 1 EqvRels = {𝑟 ∈ Rels ∣ (( I ↾ dom 𝑟) ⊆ 𝑟𝑟𝑟 ∧ (𝑟𝑟) ⊆ 𝑟)}
Colors of variables: wff setvar class
Syntax hints:  wa 399  w3a 1088   = wceq 1542  {crab 3057  cin 3842  wss 3843   I cid 5428  ccnv 5524  dom cdm 5525  cres 5527  ccom 5529   Rels crels 35958   RefRels crefrels 35961   SymRels csymrels 35967   TrRels ctrrels 35970   EqvRels ceqvrels 35972
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-clab 2717  df-cleq 2730  df-clel 2811  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-op 4523  df-br 5031  df-opab 5093  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-rels 36226  df-ssr 36239  df-refs 36251  df-refrels 36252  df-syms 36279  df-symrels 36280  df-trs 36309  df-trrels 36310  df-eqvrels 36320
This theorem is referenced by:  dfeqvrels3  36325  eleqvrels2  36328
  Copyright terms: Public domain W3C validator