Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sscoid Structured version   Visualization version   GIF version

Theorem sscoid 35189
Description: A condition for subset and composition with identity. (Contributed by Scott Fenton, 13-Apr-2018.)
Assertion
Ref Expression
sscoid (𝐴 ⊆ ( I ∘ 𝐵) ↔ (Rel 𝐴𝐴𝐵))

Proof of Theorem sscoid
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 6106 . . 3 Rel ( I ∘ 𝐵)
2 relss 5780 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 20 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5797 . . . . . 6 ((Rel 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3476 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3476 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5869 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧))
86ideq 5851 . . . . . . . . . . . 12 (𝑥 I 𝑧𝑥 = 𝑧)
98anbi1ci 624 . . . . . . . . . . 11 ((𝑦𝐵𝑥𝑥 I 𝑧) ↔ (𝑥 = 𝑧𝑦𝐵𝑥))
109exbii 1848 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥))
11 breq2 5151 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝐵𝑥𝑦𝐵𝑧))
1211equsexvw 2006 . . . . . . . . . 10 (∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥) ↔ 𝑦𝐵𝑧)
137, 10, 123bitri 296 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧)
1413a1i 11 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧))
15 eleq1 2819 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵)))
16 df-br 5148 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵))
1715, 16bitr4di 288 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑦( I ∘ 𝐵)𝑧))
18 eleq1 2819 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵))
19 df-br 5148 . . . . . . . . 9 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
2018, 19bitr4di 288 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵𝑦𝐵𝑧))
2114, 17, 203bitr4d 310 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2221exlimivv 1933 . . . . . 6 (∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
234, 22syl 17 . . . . 5 ((Rel 𝐴𝑥𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2423pm5.74da 800 . . . 4 (Rel 𝐴 → ((𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥𝐴𝑥𝐵)))
2524albidv 1921 . . 3 (Rel 𝐴 → (∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥𝐴𝑥𝐵)))
26 dfss2 3967 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)))
27 dfss2 3967 . . 3 (𝐴𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
2825, 26, 273bitr4g 313 . 2 (Rel 𝐴 → (𝐴 ⊆ ( I ∘ 𝐵) ↔ 𝐴𝐵))
293, 28biadanii 818 1 (𝐴 ⊆ ( I ∘ 𝐵) ↔ (Rel 𝐴𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 394  wal 1537   = wceq 1539  wex 1779  wcel 2104  wss 3947  cop 4633   class class class wbr 5147   I cid 5572  ccom 5679  Rel wrel 5680
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-ext 2701  ax-sep 5298  ax-nul 5305  ax-pr 5426
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2722  df-clel 2808  df-ral 3060  df-rex 3069  df-rab 3431  df-v 3474  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634  df-br 5148  df-opab 5210  df-id 5573  df-xp 5681  df-rel 5682  df-co 5684
This theorem is referenced by:  dffun10  35190
  Copyright terms: Public domain W3C validator