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 38361
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 5669 . . . 4 ( I ↾ 𝐴) = ( I ∩ (𝐴 × V))
21elin2 4102 . . 3 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ I ∧ 𝐵 ∈ (𝐴 × V)))
32biancomi 468 . 2 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ))
4 bj-elid4 38359 . . 3 (𝐵 ∈ (𝐴 × V) → (𝐵 ∈ I ↔ (1st ‘𝐵) = (2nd ‘𝐵)))
54pm5.32i 585 . 2 ((𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ) ↔ (𝐵 ∈ (𝐴 × V) ∧ (1st ‘𝐵) = (2nd ‘𝐵)))
6 1st2nd2 8073 . . . . 5 (𝐵 ∈ (𝐴 × V) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
76pm4.71ri 570 . . . 4 (𝐵 ∈ (𝐴 × V) ↔ (𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)))
8 eleq1 2855 . . . . . . . 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 2855 . . . . . . . . . . . 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 3474 . . . . . . . . . . 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 5693 . . . . . . . 8 (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × V) ↔ ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ V))
20 opelxp 5693 . . . . . . . 8 (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ ((1st ‘𝐵) ∈ 𝐴 ∧ (2nd ‘𝐵) ∈ 𝐴))
2118, 19, 203bitr4g 317 . . . . . . 7 (((1st ‘𝐵) = (2nd ‘𝐵) ∧ 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩) → (⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × V) ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ (𝐴 × 𝐴)))
22 eleq1 2855 . . . . . . . . 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 8073 . . . . . . 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 1572   ∈ wcel 2150  Vcvv 3453  ⟨cop 4839   I cid 5551   × cxp 5655   ↾ cres 5659  ‘cfv 6565  1st c1st 8032  2nd c2nd 8033
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7782
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-iota 6519  df-fun 6567  df-fv 6573  df-1st 8034  df-2nd 8035
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator