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 35337
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 5602 . . . 4 ( I ↾ 𝐴) = ( I ∩ (𝐴 × V))
21elin2 4136 . . 3 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ I ∧ 𝐵 ∈ (𝐴 × V)))
32biancomi 463 . 2 (𝐵 ∈ ( I ↾ 𝐴) ↔ (𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ))
4 bj-elid4 35335 . . 3 (𝐵 ∈ (𝐴 × V) → (𝐵 ∈ I ↔ (1st𝐵) = (2nd𝐵)))
54pm5.32i 575 . 2 ((𝐵 ∈ (𝐴 × V) ∧ 𝐵 ∈ I ) ↔ (𝐵 ∈ (𝐴 × V) ∧ (1st𝐵) = (2nd𝐵)))
6 1st2nd2 7863 . . . . 5 (𝐵 ∈ (𝐴 × V) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
76pm4.71ri 561 . . . 4 (𝐵 ∈ (𝐴 × V) ↔ (𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩ ∧ 𝐵 ∈ (𝐴 × V)))
8 eleq1 2828 . . . . . . . 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 2828 . . . . . . . . . . . 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 3449 . . . . . . . . . . 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 5626 . . . . . . . 8 (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × V) ↔ ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ V))
20 opelxp 5626 . . . . . . . 8 (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴) ↔ ((1st𝐵) ∈ 𝐴 ∧ (2nd𝐵) ∈ 𝐴))
2118, 19, 203bitr4g 314 . . . . . . 7 (((1st𝐵) = (2nd𝐵) ∧ 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩) → (⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × V) ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ (𝐴 × 𝐴)))
22 eleq1 2828 . . . . . . . . 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 7863 . . . . . . 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 1542  wcel 2110  Vcvv 3431  cop 4573   I cid 5489   × cxp 5588  cres 5592  cfv 6432  1st c1st 7822  2nd c2nd 7823
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356  ax-un 7582
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-iota 6390  df-fun 6434  df-fv 6440  df-1st 7824  df-2nd 7825
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator