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

Theorem elidinxp 5940
Description: Characterization of the elements of the intersection of the identity relation with a Cartesian product. (Contributed by Peter Mazsa, 9-Sep-2022.)
Assertion
Ref Expression
elidinxp (𝐶 ∈ ( I ∩ (𝐴 × 𝐵)) ↔ ∃𝑥 ∈ (𝐴𝐵)𝐶 = ⟨𝑥, 𝑥⟩)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶

Proof of Theorem elidinxp
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 risset 3193 . . . . 5 (𝑥𝐵 ↔ ∃𝑦𝐵 𝑦 = 𝑥)
21anbi2ci 624 . . . 4 ((𝑥𝐵𝐶 = ⟨𝑥, 𝑥⟩) ↔ (𝐶 = ⟨𝑥, 𝑥⟩ ∧ ∃𝑦𝐵 𝑦 = 𝑥))
3 r19.42v 3276 . . . 4 (∃𝑦𝐵 (𝐶 = ⟨𝑥, 𝑥⟩ ∧ 𝑦 = 𝑥) ↔ (𝐶 = ⟨𝑥, 𝑥⟩ ∧ ∃𝑦𝐵 𝑦 = 𝑥))
4 opeq2 4802 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
54equcoms 2024 . . . . . . . 8 (𝑦 = 𝑥 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
65eqeq2d 2749 . . . . . . 7 (𝑦 = 𝑥 → (𝐶 = ⟨𝑥, 𝑥⟩ ↔ 𝐶 = ⟨𝑥, 𝑦⟩))
76pm5.32ri 575 . . . . . 6 ((𝐶 = ⟨𝑥, 𝑥⟩ ∧ 𝑦 = 𝑥) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝑦 = 𝑥))
8 vex 3426 . . . . . . . . 9 𝑦 ∈ V
98ideq 5750 . . . . . . . 8 (𝑥 I 𝑦𝑥 = 𝑦)
10 df-br 5071 . . . . . . . 8 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
11 equcom 2022 . . . . . . . 8 (𝑥 = 𝑦𝑦 = 𝑥)
129, 10, 113bitr3i 300 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑦 = 𝑥)
1312anbi2i 622 . . . . . 6 ((𝐶 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ I ) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝑦 = 𝑥))
147, 13bitr4i 277 . . . . 5 ((𝐶 = ⟨𝑥, 𝑥⟩ ∧ 𝑦 = 𝑥) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
1514rexbii 3177 . . . 4 (∃𝑦𝐵 (𝐶 = ⟨𝑥, 𝑥⟩ ∧ 𝑦 = 𝑥) ↔ ∃𝑦𝐵 (𝐶 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
162, 3, 153bitr2i 298 . . 3 ((𝑥𝐵𝐶 = ⟨𝑥, 𝑥⟩) ↔ ∃𝑦𝐵 (𝐶 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
1716rexbii 3177 . 2 (∃𝑥𝐴 (𝑥𝐵𝐶 = ⟨𝑥, 𝑥⟩) ↔ ∃𝑥𝐴𝑦𝐵 (𝐶 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
18 rexin 4170 . 2 (∃𝑥 ∈ (𝐴𝐵)𝐶 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥𝐴 (𝑥𝐵𝐶 = ⟨𝑥, 𝑥⟩))
19 elinxp 5918 . 2 (𝐶 ∈ ( I ∩ (𝐴 × 𝐵)) ↔ ∃𝑥𝐴𝑦𝐵 (𝐶 = ⟨𝑥, 𝑦⟩ ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
2017, 18, 193bitr4ri 303 1 (𝐶 ∈ ( I ∩ (𝐴 × 𝐵)) ↔ ∃𝑥 ∈ (𝐴𝐵)𝐶 = ⟨𝑥, 𝑥⟩)
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wcel 2108  wrex 3064  cin 3882  cop 4564   class class class wbr 5070   I cid 5479   × cxp 5578
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-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-ral 3068  df-rex 3069  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-id 5480  df-xp 5586  df-rel 5587
This theorem is referenced by:  elidinxpid  5941  elrid  5942  idinxpres  5943
  Copyright terms: Public domain W3C validator