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 34142
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 6137 . . 3 Rel ( I ∘ 𝐵)
2 relss 5682 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 20 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5697 . . . . . 6 ((Rel 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3426 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3426 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5768 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧))
86ideq 5750 . . . . . . . . . . . 12 (𝑥 I 𝑧𝑥 = 𝑧)
98anbi1ci 625 . . . . . . . . . . 11 ((𝑦𝐵𝑥𝑥 I 𝑧) ↔ (𝑥 = 𝑧𝑦𝐵𝑥))
109exbii 1851 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥))
11 breq2 5074 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝐵𝑥𝑦𝐵𝑧))
1211equsexvw 2009 . . . . . . . . . 10 (∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥) ↔ 𝑦𝐵𝑧)
137, 10, 123bitri 296 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧)
1413a1i 11 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧))
15 eleq1 2826 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵)))
16 df-br 5071 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵))
1715, 16bitr4di 288 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑦( I ∘ 𝐵)𝑧))
18 eleq1 2826 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵))
19 df-br 5071 . . . . . . . . 9 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
2018, 19bitr4di 288 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵𝑦𝐵𝑧))
2114, 17, 203bitr4d 310 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2221exlimivv 1936 . . . . . 6 (∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
234, 22syl 17 . . . . 5 ((Rel 𝐴𝑥𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2423pm5.74da 800 . . . 4 (Rel 𝐴 → ((𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥𝐴𝑥𝐵)))
2524albidv 1924 . . 3 (Rel 𝐴 → (∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥𝐴𝑥𝐵)))
26 dfss2 3903 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)))
27 dfss2 3903 . . 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 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  wss 3883  cop 4564   class class class wbr 5070   I cid 5479  ccom 5584  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-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-co 5589
This theorem is referenced by:  dffun10  34143
  Copyright terms: Public domain W3C validator