ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  dfer2 GIF version

Theorem dfer2 6502
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 6501 . 2 (𝑅 Er 𝐴 ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅))
2 cnvsym 4987 . . . . 5 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
3 cotr 4985 . . . . 5 ((𝑅𝑅) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))
42, 3anbi12i 456 . . . 4 ((𝑅𝑅 ∧ (𝑅𝑅) ⊆ 𝑅) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
5 unss 3296 . . . 4 ((𝑅𝑅 ∧ (𝑅𝑅) ⊆ 𝑅) ↔ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅)
6 19.28v 1888 . . . . . . . 8 (∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
76albii 1458 . . . . . . 7 (∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
8 19.26 1469 . . . . . . 7 (∀𝑦((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
97, 8bitri 183 . . . . . 6 (∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
109albii 1458 . . . . 5 (∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑥(∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
11 19.26 1469 . . . . 5 (∀𝑥(∀𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
1210, 11bitr2i 184 . . . 4 ((∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)) ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
134, 5, 123bitr3i 209 . . 3 ((𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅 ↔ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)))
14133anbi3i 1182 . 2 ((Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ (𝑅 ∪ (𝑅𝑅)) ⊆ 𝑅) ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
151, 14bitri 183 1 (𝑅 Er 𝐴 ↔ (Rel 𝑅 ∧ dom 𝑅 = 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 968  wal 1341   = wceq 1343  cun 3114  wss 3116   class class class wbr 3982  ccnv 4603  dom cdm 4604  ccom 4608  Rel wrel 4609   Er wer 6498
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-er 6501
This theorem is referenced by:  iserd  6527
  Copyright terms: Public domain W3C validator