Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-elid6 Structured version   Visualization version   GIF version

Theorem bj-elid6 38092
Description: Characterization of the elements of the diagonal of a Cartesian square. (Contributed by BJ, 22-Jun-2019.)
Assertion
Ref Expression
bj-elid6 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × 𝐴) ∧ (1st ‘𝐵) = (2nd ‘𝐵)))

Proof of Theorem bj-elid6
StepHypRef Expression
1 df-res 5662 . . . 4 ( I ↾ 𝐴) = ( I ∩ (𝐴 × V))
21elin2 4100 . . 3 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ I ∧ 𝐵 ∈ (𝐴 × V)))
32biancomi 468 . 2 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ))
4 bj-elid4 38090 . . 3 (𝐵 ∈ (𝐴 × V) → (𝐵 ∈ I ↔ (1st ‘𝐵) = (2nd ‘𝐵)))
54pm5.32i 585 . 2 ((𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ) ↔ (𝐵 ∈ (𝐴 × V) ∧ (1st ‘𝐵) = (2nd ‘𝐵)))
6 1st2nd2 8040 . . . . 5 (𝐵 ∈ (𝐴 × V) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
76pm4.71ri 570 . . . 4 (𝐵 ∈ (𝐴 × V) ↔ (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)))
8 eleq1 2848 . . . . . . . 8 (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ → (𝐵 ∈ (𝐴 × V) ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × V)))
98adantl 487 . . . . . . 7 (((1st ‘𝐵) = (2nd ‘𝐵) ∧ 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩) → (𝐵 ∈ (𝐴 × V) ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × V)))
10 simpl 488 . . . . . . . . . . . 12 (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V) → (1st ‘𝐵) ∈ 𝐴)
1110a1i 11 . . . . . . . . . . 11 ((1st ‘𝐵) = (2nd ‘𝐵) → (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V) → (1st ‘𝐵) ∈ 𝐴))
12 eleq1 2848 . . . . . . . . . . . 12 ((1st ‘𝐵) = (2nd ‘𝐵) → ((1st ‘𝐵) ∈ 𝐴 ↔ (2nd ‘𝐵) ∈ 𝐴))
1310, 12imbitrid 247 . . . . . . . . . . 11 ((1st ‘𝐵) = (2nd ‘𝐵) → (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V) → (2nd ‘𝐵) ∈ 𝐴))
1411, 13jcad 522 . . . . . . . . . 10 ((1st ‘𝐵) = (2nd ‘𝐵) → (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V) → ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ 𝐴)))
15 elex 3471 . . . . . . . . . . 11 ((2nd ‘𝐵) ∈ 𝐴 → (2nd ‘𝐵) ∈ V)
1615anim2i 629 . . . . . . . . . 10 (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ 𝐴) → ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V))
1714, 16impbid1 228 . . . . . . . . 9 ((1st ‘𝐵) = (2nd ‘𝐵) → (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V) ↔ ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ 𝐴)))
1817adantr 486 . . . . . . . 8 (((1st ‘𝐵) = (2nd ‘𝐵) ∧ 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩) → (((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V) ↔ ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ 𝐴)))
19 opelxp 5686 . . . . . . . 8 (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × V) ↔ ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V))
20 opelxp 5686 . . . . . . . 8 (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ 𝐴))
2118, 19, 203bitr4g 317 . . . . . . 7 (((1st ‘𝐵) = (2nd ‘𝐵) ∧ 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩) → (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × V) ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴)))
22 eleq1 2848 . . . . . . . . 9 (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ → (𝐵 ∈ (𝐴 × 𝐴) ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴)))
2322bicomd 226 . . . . . . . 8 (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ → (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
2423adantl 487 . . . . . . 7 (((1st ‘𝐵) = (2nd ‘𝐵) ∧ 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩) → (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
259, 21, 243bitrd 308 . . . . . 6 (((1st ‘𝐵) = (2nd ‘𝐵) ∧ 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩) → (𝐵 ∈ (𝐴 × V) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
2625pm5.32da 590 . . . . 5 ((1st ‘𝐵) = (2nd ‘𝐵) → ((𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)) ↔ (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴))))
27 simpr 490 . . . . . 6 ((𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴)) → 𝐵 ∈ (𝐴 × 𝐴))
28 1st2nd2 8040 . . . . . . 7 (𝐵 ∈ (𝐴 × 𝐴) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
2928ancri 559 . . . . . 6 (𝐵 ∈ (𝐴 × 𝐴) → (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴)))
3027, 29impbii 212 . . . . 5 ((𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴)) ↔ 𝐵 ∈ (𝐴 × 𝐴))
3126, 30bitrdi 290 . . . 4 ((1st ‘𝐵) = (2nd ‘𝐵) → ((𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
327, 31bitrid 286 . . 3 ((1st ‘𝐵) = (2nd ‘𝐵) → (𝐵 ∈ (𝐴 × V) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
3332pm5.32ri 586 . 2 ((𝐵 ∈ (𝐴 × V) ∧ (1st ‘𝐵) = (2nd ‘𝐵)) ↔ (𝐵 ∈ (𝐴 × 𝐴) ∧ (1st ‘𝐵) = (2nd ‘𝐵)))
343, 5, 333bitri 300 1 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × 𝐴) ∧ (1st ‘𝐵) = (2nd ‘𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟨cop 4589   I cid 5544   × cxp 5648   ↾ cres 5652  ‘cfv 6538  1st c1st 7999  2nd c2nd 8000
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-iota 6494  df-fun 6540  df-fv 6546  df-1st 8001  df-2nd 8002
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator