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 35595
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 3960 . . . . . . . . 9 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ I ))
2 vex 3497 . . . . . . . . . 10 𝑥 ∈ V
3 vex 3497 . . . . . . . . . 10 𝑦 ∈ V
42, 3opeldm 5770 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
51, 4jca2 516 . . . . . . . 8 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴)))
62, 3opelrn 5807 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 ∈ ran 𝐴)
71, 6jca2 516 . . . . . . . 8 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴)))
85, 7jcad 515 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ∧ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴))))
9 anandi 674 . . . . . . 7 ((⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)) ↔ ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ∧ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴)))
108, 9syl6ibr 254 . . . . . 6 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴))))
11 df-br 5059 . . . . . . . . 9 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
123ideq 5717 . . . . . . . . 9 (𝑥 I 𝑦𝑥 = 𝑦)
1311, 12bitr3i 279 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
142eldm2 5764 . . . . . . . . . . . . 13 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
15 opeq2 4797 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
1615eleq1d 2897 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑦 → (⟨𝑥, 𝑥⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1716biimprcd 252 . . . . . . . . . . . . . . . 16 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1813, 17syl5bi 244 . . . . . . . . . . . . . . 15 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
191, 18sylcom 30 . . . . . . . . . . . . . 14 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2019exlimdv 1930 . . . . . . . . . . . . 13 (𝐴 ⊆ I → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2114, 20syl5bi 244 . . . . . . . . . . . 12 (𝐴 ⊆ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2216imbi2d 343 . . . . . . . . . . . 12 (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴) ↔ (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2321, 22syl5ibcom 247 . . . . . . . . . . 11 (𝐴 ⊆ I → (𝑥 = 𝑦 → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2423imp 409 . . . . . . . . . 10 ((𝐴 ⊆ I ∧ 𝑥 = 𝑦) → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2524adantrd 494 . . . . . . . . 9 ((𝐴 ⊆ I ∧ 𝑥 = 𝑦) → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2625ex 415 . . . . . . . 8 (𝐴 ⊆ I → (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2713, 26syl5bi 244 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ I → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2827impd 413 . . . . . 6 (𝐴 ⊆ I → ((⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2910, 28impbid 214 . . . . 5 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴))))
30 opelinxp 5625 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
3130biancomi 465 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)))
3229, 31syl6bbr 291 . . . 4 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴))))
3332alrimivv 1925 . . 3 (𝐴 ⊆ I → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴))))
34 reli 5692 . . . . 5 Rel I
35 relss 5650 . . . . 5 (𝐴 ⊆ I → (Rel I → Rel 𝐴))
3634, 35mpi 20 . . . 4 (𝐴 ⊆ I → Rel 𝐴)
37 relinxp 5681 . . . 4 Rel ( I ∩ (dom 𝐴 × ran 𝐴))
38 eqrel 5652 . . . 4 ((Rel 𝐴 ∧ Rel ( I ∩ (dom 𝐴 × ran 𝐴))) → (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)))))
3936, 37, 38sylancl 588 . . 3 (𝐴 ⊆ I → (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)))))
4033, 39mpbird 259 . 2 (𝐴 ⊆ I → 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))
41 inss1 4204 . . 3 ( I ∩ (dom 𝐴 × ran 𝐴)) ⊆ I
42 sseq1 3991 . . 3 (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) → (𝐴 ⊆ I ↔ ( I ∩ (dom 𝐴 × ran 𝐴)) ⊆ I ))
4341, 42mpbiri 260 . 2 (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) → 𝐴 ⊆ I )
4440, 43impbii 211 1 (𝐴 ⊆ I ↔ 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1531   = wceq 1533  wex 1776  wcel 2110  cin 3934  wss 3935  cop 4566   class class class wbr 5058   I cid 5453   × cxp 5547  dom cdm 5549  ran crn 5550  Rel wrel 5554
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-br 5059  df-opab 5121  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-dm 5559  df-rn 5560
This theorem is referenced by:  cossssid  35701
  Copyright terms: Public domain W3C validator