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

Theorem erinxp 6496
Description: A restricted equivalence relation is an equivalence relation. (Contributed by Mario Carneiro, 10-Jul-2015.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypotheses
Ref Expression
erinxp.r (𝜑𝑅 Er 𝐴)
erinxp.a (𝜑𝐵𝐴)
Assertion
Ref Expression
erinxp (𝜑 → (𝑅 ∩ (𝐵 × 𝐵)) Er 𝐵)

Proof of Theorem erinxp
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 inss2 3292 . . . 4 (𝑅 ∩ (𝐵 × 𝐵)) ⊆ (𝐵 × 𝐵)
2 relxp 4643 . . . 4 Rel (𝐵 × 𝐵)
3 relss 4621 . . . 4 ((𝑅 ∩ (𝐵 × 𝐵)) ⊆ (𝐵 × 𝐵) → (Rel (𝐵 × 𝐵) → Rel (𝑅 ∩ (𝐵 × 𝐵))))
41, 2, 3mp2 16 . . 3 Rel (𝑅 ∩ (𝐵 × 𝐵))
54a1i 9 . 2 (𝜑 → Rel (𝑅 ∩ (𝐵 × 𝐵)))
6 simpr 109 . . . . 5 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦)
7 brinxp2 4601 . . . . 5 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦 ↔ (𝑥𝐵𝑦𝐵𝑥𝑅𝑦))
86, 7sylib 121 . . . 4 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → (𝑥𝐵𝑦𝐵𝑥𝑅𝑦))
98simp2d 994 . . 3 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑦𝐵)
108simp1d 993 . . 3 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑥𝐵)
11 erinxp.r . . . . 5 (𝜑𝑅 Er 𝐴)
1211adantr 274 . . . 4 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑅 Er 𝐴)
138simp3d 995 . . . 4 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑥𝑅𝑦)
1412, 13ersym 6434 . . 3 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑦𝑅𝑥)
15 brinxp2 4601 . . 3 (𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑥 ↔ (𝑦𝐵𝑥𝐵𝑦𝑅𝑥))
169, 10, 14, 15syl3anbrc 1165 . 2 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑥)
1710adantrr 470 . . 3 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥𝐵)
18 simprr 521 . . . . 5 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)
19 brinxp2 4601 . . . . 5 (𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧 ↔ (𝑦𝐵𝑧𝐵𝑦𝑅𝑧))
2018, 19sylib 121 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → (𝑦𝐵𝑧𝐵𝑦𝑅𝑧))
2120simp2d 994 . . 3 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑧𝐵)
2211adantr 274 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑅 Er 𝐴)
2313adantrr 470 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥𝑅𝑦)
2420simp3d 995 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑦𝑅𝑧)
2522, 23, 24ertrd 6438 . . 3 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥𝑅𝑧)
26 brinxp2 4601 . . 3 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑧 ↔ (𝑥𝐵𝑧𝐵𝑥𝑅𝑧))
2717, 21, 25, 26syl3anbrc 1165 . 2 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑧)
2811adantr 274 . . . . . 6 ((𝜑𝑥𝐵) → 𝑅 Er 𝐴)
29 erinxp.a . . . . . . 7 (𝜑𝐵𝐴)
3029sselda 3092 . . . . . 6 ((𝜑𝑥𝐵) → 𝑥𝐴)
3128, 30erref 6442 . . . . 5 ((𝜑𝑥𝐵) → 𝑥𝑅𝑥)
3231ex 114 . . . 4 (𝜑 → (𝑥𝐵𝑥𝑅𝑥))
3332pm4.71rd 391 . . 3 (𝜑 → (𝑥𝐵 ↔ (𝑥𝑅𝑥𝑥𝐵)))
34 brin 3975 . . . 4 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑥 ↔ (𝑥𝑅𝑥𝑥(𝐵 × 𝐵)𝑥))
35 brxp 4565 . . . . . 6 (𝑥(𝐵 × 𝐵)𝑥 ↔ (𝑥𝐵𝑥𝐵))
36 anidm 393 . . . . . 6 ((𝑥𝐵𝑥𝐵) ↔ 𝑥𝐵)
3735, 36bitri 183 . . . . 5 (𝑥(𝐵 × 𝐵)𝑥𝑥𝐵)
3837anbi2i 452 . . . 4 ((𝑥𝑅𝑥𝑥(𝐵 × 𝐵)𝑥) ↔ (𝑥𝑅𝑥𝑥𝐵))
3934, 38bitri 183 . . 3 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑥 ↔ (𝑥𝑅𝑥𝑥𝐵))
4033, 39syl6bbr 197 . 2 (𝜑 → (𝑥𝐵𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑥))
415, 16, 27, 40iserd 6448 1 (𝜑 → (𝑅 ∩ (𝐵 × 𝐵)) Er 𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 962  wcel 1480  cin 3065  wss 3066   class class class wbr 3924   × cxp 4532  Rel wrel 4539   Er wer 6419
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-br 3925  df-opab 3985  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-er 6422
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator