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 35341
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 5601 . . . 4 ( I ↾ 𝐴) = ( I ∩ (𝐴 × V))
21elin2 4131 . . 3 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ I ∧ 𝐵 ∈ (𝐴 × V)))
32biancomi 463 . 2 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ))
4 bj-elid4 35339 . . 3 (𝐵 ∈ (𝐴 × V) → (𝐵 ∈ I ↔ (1st𝐵) = (2nd𝐵)))
54pm5.32i 575 . 2 ((𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ) ↔ (𝐵 ∈ (𝐴 × V) ∧ (1st𝐵) = (2nd𝐵)))
6 1st2nd2 7870 . . . . 5 (𝐵 ∈ (𝐴 × V) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
76pm4.71ri 561 . . . 4 (𝐵 ∈ (𝐴 × V) ↔ (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)))
8 eleq1 2826 . . . . . . . 8 (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ → (𝐵 ∈ (𝐴 × V) ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × V)))
98adantl 482 . . . . . . 7 (((1st𝐵) = (2nd𝐵) ∧ 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩) → (𝐵 ∈ (𝐴 × V) ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × V)))
10 simpl 483 . . . . . . . . . . . 12 (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V) → (1st𝐵) ∈ 𝐴)
1110a1i 11 . . . . . . . . . . 11 ((1st𝐵) = (2nd𝐵) → (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V) → (1st𝐵) ∈ 𝐴))
12 eleq1 2826 . . . . . . . . . . . 12 ((1st𝐵) = (2nd𝐵) → ((1st𝐵) ∈ 𝐴 ↔ (2nd𝐵) ∈ 𝐴))
1310, 12syl5ib 243 . . . . . . . . . . 11 ((1st𝐵) = (2nd𝐵) → (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V) → (2nd𝐵) ∈ 𝐴))
1411, 13jcad 513 . . . . . . . . . 10 ((1st𝐵) = (2nd𝐵) → (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V) → ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ 𝐴)))
15 elex 3450 . . . . . . . . . . 11 ((2nd𝐵) ∈ 𝐴 → (2nd𝐵) ∈ V)
1615anim2i 617 . . . . . . . . . 10 (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ 𝐴) → ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V))
1714, 16impbid1 224 . . . . . . . . 9 ((1st𝐵) = (2nd𝐵) → (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V) ↔ ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ 𝐴)))
1817adantr 481 . . . . . . . 8 (((1st𝐵) = (2nd𝐵) ∧ 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩) → (((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V) ↔ ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ 𝐴)))
19 opelxp 5625 . . . . . . . 8 (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × V) ↔ ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V))
20 opelxp 5625 . . . . . . . 8 (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ 𝐴))
2118, 19, 203bitr4g 314 . . . . . . 7 (((1st𝐵) = (2nd𝐵) ∧ 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩) → (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × V) ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴)))
22 eleq1 2826 . . . . . . . . 9 (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ → (𝐵 ∈ (𝐴 × 𝐴) ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴)))
2322bicomd 222 . . . . . . . 8 (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ → (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
2423adantl 482 . . . . . . 7 (((1st𝐵) = (2nd𝐵) ∧ 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩) → (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
259, 21, 243bitrd 305 . . . . . 6 (((1st𝐵) = (2nd𝐵) ∧ 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩) → (𝐵 ∈ (𝐴 × V) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
2625pm5.32da 579 . . . . 5 ((1st𝐵) = (2nd𝐵) → ((𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)) ↔ (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴))))
27 simpr 485 . . . . . 6 ((𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴)) → 𝐵 ∈ (𝐴 × 𝐴))
28 1st2nd2 7870 . . . . . . 7 (𝐵 ∈ (𝐴 × 𝐴) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
2928ancri 550 . . . . . 6 (𝐵 ∈ (𝐴 × 𝐴) → (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴)))
3027, 29impbii 208 . . . . 5 ((𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × 𝐴)) ↔ 𝐵 ∈ (𝐴 × 𝐴))
3126, 30bitrdi 287 . . . 4 ((1st𝐵) = (2nd𝐵) → ((𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
327, 31syl5bb 283 . . 3 ((1st𝐵) = (2nd𝐵) → (𝐵 ∈ (𝐴 × V) ↔ 𝐵 ∈ (𝐴 × 𝐴)))
3332pm5.32ri 576 . 2 ((𝐵 ∈ (𝐴 × V) ∧ (1st𝐵) = (2nd𝐵)) ↔ (𝐵 ∈ (𝐴 × 𝐴) ∧ (1st𝐵) = (2nd𝐵)))
343, 5, 333bitri 297 1 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × 𝐴) ∧ (1st𝐵) = (2nd𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  Vcvv 3432  cop 4567   I cid 5488   × cxp 5587  cres 5591  cfv 6433  1st c1st 7829  2nd c2nd 7830
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-iota 6391  df-fun 6435  df-fv 6441  df-1st 7831  df-2nd 7832
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator