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 35482
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 3958 . . . . . . . . 9 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ I ))
2 vex 3495 . . . . . . . . . 10 𝑥 ∈ V
3 vex 3495 . . . . . . . . . 10 𝑦 ∈ V
42, 3opeldm 5769 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
51, 4jca2 514 . . . . . . . 8 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴)))
62, 3opelrn 5806 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 ∈ ran 𝐴)
71, 6jca2 514 . . . . . . . 8 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴)))
85, 7jcad 513 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ∧ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴))))
9 anandi 672 . . . . . . 7 ((⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)) ↔ ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) ∧ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑦 ∈ ran 𝐴)))
108, 9syl6ibr 253 . . . . . 6 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴))))
11 df-br 5058 . . . . . . . . 9 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
123ideq 5716 . . . . . . . . 9 (𝑥 I 𝑦𝑥 = 𝑦)
1311, 12bitr3i 278 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
142eldm2 5763 . . . . . . . . . . . . 13 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
15 opeq2 4796 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
1615eleq1d 2894 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑦 → (⟨𝑥, 𝑥⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1716biimprcd 251 . . . . . . . . . . . . . . . 16 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1813, 17syl5bi 243 . . . . . . . . . . . . . . 15 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
191, 18sylcom 30 . . . . . . . . . . . . . 14 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2019exlimdv 1925 . . . . . . . . . . . . 13 (𝐴 ⊆ I → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2114, 20syl5bi 243 . . . . . . . . . . . 12 (𝐴 ⊆ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
2216imbi2d 342 . . . . . . . . . . . 12 (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴) ↔ (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2321, 22syl5ibcom 246 . . . . . . . . . . 11 (𝐴 ⊆ I → (𝑥 = 𝑦 → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2423imp 407 . . . . . . . . . 10 ((𝐴 ⊆ I ∧ 𝑥 = 𝑦) → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2524adantrd 492 . . . . . . . . 9 ((𝐴 ⊆ I ∧ 𝑥 = 𝑦) → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2625ex 413 . . . . . . . 8 (𝐴 ⊆ I → (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2713, 26syl5bi 243 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ I → ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2827impd 411 . . . . . 6 (𝐴 ⊆ I → ((⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
2910, 28impbid 213 . . . . 5 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴))))
30 opelinxp 5624 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ((𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
3130biancomi 463 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ (𝑥 ∈ dom 𝐴𝑦 ∈ ran 𝐴)))
3229, 31syl6bbr 290 . . . 4 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴))))
3332alrimivv 1920 . . 3 (𝐴 ⊆ I → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴))))
34 reli 5691 . . . . 5 Rel I
35 relss 5649 . . . . 5 (𝐴 ⊆ I → (Rel I → Rel 𝐴))
3634, 35mpi 20 . . . 4 (𝐴 ⊆ I → Rel 𝐴)
37 relinxp 5680 . . . 4 Rel ( I ∩ (dom 𝐴 × ran 𝐴))
38 eqrel 5651 . . . 4 ((Rel 𝐴 ∧ Rel ( I ∩ (dom 𝐴 × ran 𝐴))) → (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)))))
3936, 37, 38sylancl 586 . . 3 (𝐴 ⊆ I → (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ∩ (dom 𝐴 × ran 𝐴)))))
4033, 39mpbird 258 . 2 (𝐴 ⊆ I → 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))
41 inss1 4202 . . 3 ( I ∩ (dom 𝐴 × ran 𝐴)) ⊆ I
42 sseq1 3989 . . 3 (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) → (𝐴 ⊆ I ↔ ( I ∩ (dom 𝐴 × ran 𝐴)) ⊆ I ))
4341, 42mpbiri 259 . 2 (𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)) → 𝐴 ⊆ I )
4440, 43impbii 210 1 (𝐴 ⊆ I ↔ 𝐴 = ( I ∩ (dom 𝐴 × ran 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wex 1771  wcel 2105  cin 3932  wss 3933  cop 4563   class class class wbr 5057   I cid 5452   × cxp 5546  dom cdm 5548  ran crn 5549  Rel wrel 5553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-dm 5558  df-rn 5559
This theorem is referenced by:  cossssid  35587
  Copyright terms: Public domain W3C validator