Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iss2 Structured version   Visualization version   GIF version

Theorem iss2 36406
Description: A subclass of the identity relation is the intersection of identity relation with Cartesian product of the domain and range of the class. (Contributed by Peter Mazsa, 22-Jul-2019.)
Assertion
Ref Expression
iss2 (𝐴 ⊆ I ↔ 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))

Proof of Theorem iss2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssel 3910 . . . . . . . . 9 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ I ))
2 vex 3426 . . . . . . . . . 10 𝑥 ∈ V
3 vex 3426 . . . . . . . . . 10 𝑦 ∈ V
42, 3opeldm 5805 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
51, 4jca2 513 . . . . . . . 8 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴)))
62, 3opelrn 5841 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 ∈ ran 𝐴)
71, 6jca2 513 . . . . . . . 8 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴)))
85, 7jcad 512 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ∧ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴))))
9 anandi 672 . . . . . . 7 ((⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)) ↔ ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ∧ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴)))
108, 9syl6ibr 251 . . . . . 6 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴))))
11 df-br 5071 . . . . . . . . 9 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
123ideq 5750 . . . . . . . . 9 (𝑥 I 𝑦𝑥 = 𝑦)
1311, 12bitr3i 276 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
142eldm2 5799 . . . . . . . . . . . . 13 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
15 opeq2 4802 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
1615eleq1d 2823 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑦 → (⟨𝑥, 𝑥⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1716biimprcd 249 . . . . . . . . . . . . . . . 16 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1813, 17syl5bi 241 . . . . . . . . . . . . . . 15 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
191, 18sylcom 30 . . . . . . . . . . . . . 14 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2019exlimdv 1937 . . . . . . . . . . . . 13 (𝐴 ⊆ I → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2114, 20syl5bi 241 . . . . . . . . . . . 12 (𝐴 ⊆ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2216imbi2d 340 . . . . . . . . . . . 12 (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴) ↔ (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2321, 22syl5ibcom 244 . . . . . . . . . . 11 (𝐴 ⊆ I → (𝑥 = 𝑦 → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2423imp 406 . . . . . . . . . 10 ((𝐴 ⊆ I ∧ 𝑥 = 𝑦) → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2524adantrd 491 . . . . . . . . 9 ((𝐴 ⊆ I ∧ 𝑥 = 𝑦) → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2625ex 412 . . . . . . . 8 (𝐴 ⊆ I → (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2713, 26syl5bi 241 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ I → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2827impd 410 . . . . . 6 (𝐴 ⊆ I → ((⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2910, 28impbid 211 . . . . 5 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴))))
30 opelinxp 5657 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
3130biancomi 462 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)))
3229, 31bitr4di 288 . . . 4 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴))))
3332alrimivv 1932 . . 3 (𝐴 ⊆ I → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴))))
34 reli 5725 . . . . 5 Rel I
35 relss 5682 . . . . 5 (𝐴 ⊆ I → (Rel I → Rel 𝐴))
3634, 35mpi 20 . . . 4 (𝐴 ⊆ I → Rel 𝐴)
37 relinxp 5713 . . . 4 Rel ( I ∩ (dom 𝐴 × ran 𝐴))
38 eqrel 5684 . . . 4 ((Rel 𝐴 ∧ Rel ( I ∩ (dom 𝐴 × ran 𝐴))) → (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)))))
3936, 37, 38sylancl 585 . . 3 (𝐴 ⊆ I → (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)))))
4033, 39mpbird 256 . 2 (𝐴 ⊆ I → 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))
41 inss1 4159 . . 3 ( I ∩ (dom 𝐴 × ran 𝐴)) ⊆ I
42 sseq1 3942 . . 3 (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) → (𝐴 ⊆ I ↔ ( I ∩ (dom 𝐴 × ran 𝐴)) ⊆ I ))
4341, 42mpbiri 257 . 2 (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) → 𝐴 ⊆ I )
4440, 43impbii 208 1 (𝐴 ⊆ I ↔ 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  cin 3882  wss 3883  cop 4564   class class class wbr 5070   I cid 5479   × cxp 5578  dom cdm 5580  ran crn 5581  Rel wrel 5585
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-12 2173  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  df-cnv 5588  df-dm 5590  df-rn 5591
This theorem is referenced by:  cossssid  36512
  Copyright terms: Public domain W3C validator