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

Theorem dfer2 8499
Description: Alternate definition of equivalence predicate. (Contributed by NM, 3-Jan-1997.) (Revised by Mario Carneiro, 12-Aug-2015.)
Assertion
Ref Expression
dfer2 (𝑅 Er 𝐴 ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
Distinct variable group:   𝑥,𝑦,𝑧,𝑅
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧)

Proof of Theorem dfer2
StepHypRef Expression
1 df-er 8498 . 2 (𝑅 Er 𝐴 ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅))
2 cnvsym 6019 . . . . 5 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
3 cotr 6017 . . . . 5 ((𝑅𝑅) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
42, 3anbi12i 627 . . . 4 ((𝑅𝑅 ∧ (𝑅𝑅) ⊆ 𝑅) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
5 unss 4118 . . . 4 ((𝑅𝑅 ∧ (𝑅𝑅) ⊆ 𝑅) ↔ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅)
6 19.28v 1994 . . . . . . . 8 (∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
76albii 1822 . . . . . . 7 (∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
8 19.26 1873 . . . . . . 7 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
97, 8bitri 274 . . . . . 6 (∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
109albii 1822 . . . . 5 (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑥(∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
11 19.26 1873 . . . . 5 (∀𝑥(∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
1210, 11bitr2i 275 . . . 4 ((∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
134, 5, 123bitr3i 301 . . 3 ((𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
14133anbi3i 1158 . 2 ((Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅) ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
151, 14bitri 274 1 (𝑅 Er 𝐴 ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086  wal 1537   = wceq 1539  cun 3885  wss 3887   class class class wbr 5074  ccnv 5588  dom cdm 5589  ccom 5593  Rel wrel 5594   Er wer 8495
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-er 8498
This theorem is referenced by:  iserd  8524  trer  34505  riscer  36146  prter1  36893
  Copyright terms: Public domain W3C validator