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

Theorem erinxp 6511
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 3302 . . . 4 (𝑅 ∩ (𝐵 × 𝐵)) ⊆ (𝐵 × 𝐵)
2 relxp 4656 . . . 4 Rel (𝐵 × 𝐵)
3 relss 4634 . . . 4 ((𝑅 ∩ (𝐵 × 𝐵)) ⊆ (𝐵 × 𝐵) → (Rel (𝐵 × 𝐵) → Rel (𝑅 ∩ (𝐵 × 𝐵))))
41, 2, 3mp2 16 . . 3 Rel (𝑅 ∩ (𝐵 × 𝐵))
54a1i 9 . 2 (𝜑 → Rel (𝑅 ∩ (𝐵 × 𝐵)))
6 simpr 109 . . . . 5 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦)
7 brinxp2 4614 . . . . 5 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦 ↔ (𝑥𝐵𝑦𝐵𝑥𝑅𝑦))
86, 7sylib 121 . . . 4 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → (𝑥𝐵𝑦𝐵𝑥𝑅𝑦))
98simp2d 995 . . 3 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑦𝐵)
108simp1d 994 . . 3 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑥𝐵)
11 erinxp.r . . . . 5 (𝜑𝑅 Er 𝐴)
1211adantr 274 . . . 4 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑅 Er 𝐴)
138simp3d 996 . . . 4 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑥𝑅𝑦)
1412, 13ersym 6449 . . 3 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑦𝑅𝑥)
15 brinxp2 4614 . . 3 (𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑥 ↔ (𝑦𝐵𝑥𝐵𝑦𝑅𝑥))
169, 10, 14, 15syl3anbrc 1166 . 2 ((𝜑𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦) → 𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑥)
1710adantrr 471 . . 3 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥𝐵)
18 simprr 522 . . . . 5 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)
19 brinxp2 4614 . . . . 5 (𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧 ↔ (𝑦𝐵𝑧𝐵𝑦𝑅𝑧))
2018, 19sylib 121 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → (𝑦𝐵𝑧𝐵𝑦𝑅𝑧))
2120simp2d 995 . . 3 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑧𝐵)
2211adantr 274 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑅 Er 𝐴)
2313adantrr 471 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥𝑅𝑦)
2420simp3d 996 . . . 4 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑦𝑅𝑧)
2522, 23, 24ertrd 6453 . . 3 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥𝑅𝑧)
26 brinxp2 4614 . . 3 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑧 ↔ (𝑥𝐵𝑧𝐵𝑥𝑅𝑧))
2717, 21, 25, 26syl3anbrc 1166 . 2 ((𝜑 ∧ (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑦𝑦(𝑅 ∩ (𝐵 × 𝐵))𝑧)) → 𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑧)
2811adantr 274 . . . . . 6 ((𝜑𝑥𝐵) → 𝑅 Er 𝐴)
29 erinxp.a . . . . . . 7 (𝜑𝐵𝐴)
3029sselda 3102 . . . . . 6 ((𝜑𝑥𝐵) → 𝑥𝐴)
3128, 30erref 6457 . . . . 5 ((𝜑𝑥𝐵) → 𝑥𝑅𝑥)
3231ex 114 . . . 4 (𝜑 → (𝑥𝐵𝑥𝑅𝑥))
3332pm4.71rd 392 . . 3 (𝜑 → (𝑥𝐵 ↔ (𝑥𝑅𝑥𝑥𝐵)))
34 brin 3988 . . . 4 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑥 ↔ (𝑥𝑅𝑥𝑥(𝐵 × 𝐵)𝑥))
35 brxp 4578 . . . . . 6 (𝑥(𝐵 × 𝐵)𝑥 ↔ (𝑥𝐵𝑥𝐵))
36 anidm 394 . . . . . 6 ((𝑥𝐵𝑥𝐵) ↔ 𝑥𝐵)
3735, 36bitri 183 . . . . 5 (𝑥(𝐵 × 𝐵)𝑥𝑥𝐵)
3837anbi2i 453 . . . 4 ((𝑥𝑅𝑥𝑥(𝐵 × 𝐵)𝑥) ↔ (𝑥𝑅𝑥𝑥𝐵))
3934, 38bitri 183 . . 3 (𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑥 ↔ (𝑥𝑅𝑥𝑥𝐵))
4033, 39syl6bbr 197 . 2 (𝜑 → (𝑥𝐵𝑥(𝑅 ∩ (𝐵 × 𝐵))𝑥))
415, 16, 27, 40iserd 6463 1 (𝜑 → (𝑅 ∩ (𝐵 × 𝐵)) Er 𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 963  wcel 1481  cin 3075  wss 3076   class class class wbr 3937   × cxp 4545  Rel wrel 4552   Er wer 6434
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 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-br 3938  df-opab 3998  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-er 6437
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator