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

Theorem dfer2 8457
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 8456 . 2 (𝑅 Er 𝐴 ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅))
2 cnvsym 6008 . . . . 5 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
3 cotr 6006 . . . . 5 ((𝑅𝑅) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
42, 3anbi12i 626 . . . 4 ((𝑅𝑅 ∧ (𝑅𝑅) ⊆ 𝑅) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
5 unss 4114 . . . 4 ((𝑅𝑅 ∧ (𝑅𝑅) ⊆ 𝑅) ↔ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅)
6 19.28v 1995 . . . . . . . 8 (∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
76albii 1823 . . . . . . 7 (∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
8 19.26 1874 . . . . . . 7 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
97, 8bitri 274 . . . . . 6 (∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
109albii 1823 . . . . 5 (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑥(∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
11 19.26 1874 . . . . 5 (∀𝑥(∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
1210, 11bitr2i 275 . . . 4 ((∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
134, 5, 123bitr3i 300 . . 3 ((𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
14133anbi3i 1157 . 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 395  w3a 1085  wal 1537   = wceq 1539  cun 3881  wss 3883   class class class wbr 5070  ccnv 5579  dom cdm 5580  ccom 5584  Rel wrel 5585   Er wer 8453
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-er 8456
This theorem is referenced by:  iserd  8482  trer  34432  riscer  36073  prter1  36820
  Copyright terms: Public domain W3C validator