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 34215
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 6148 . . 3 Rel ( I ∘ 𝐵)
2 relss 5692 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 20 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5708 . . . . . 6 ((Rel 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3436 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3436 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5779 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧))
86ideq 5761 . . . . . . . . . . . 12 (𝑥 I 𝑧𝑥 = 𝑧)
98anbi1ci 626 . . . . . . . . . . 11 ((𝑦𝐵𝑥𝑥 I 𝑧) ↔ (𝑥 = 𝑧𝑦𝐵𝑥))
109exbii 1850 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥))
11 breq2 5078 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝐵𝑥𝑦𝐵𝑧))
1211equsexvw 2008 . . . . . . . . . 10 (∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥) ↔ 𝑦𝐵𝑧)
137, 10, 123bitri 297 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧)
1413a1i 11 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧))
15 eleq1 2826 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵)))
16 df-br 5075 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵))
1715, 16bitr4di 289 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑦( I ∘ 𝐵)𝑧))
18 eleq1 2826 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵))
19 df-br 5075 . . . . . . . . 9 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
2018, 19bitr4di 289 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵𝑦𝐵𝑧))
2114, 17, 203bitr4d 311 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2221exlimivv 1935 . . . . . 6 (∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
234, 22syl 17 . . . . 5 ((Rel 𝐴𝑥𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2423pm5.74da 801 . . . 4 (Rel 𝐴 → ((𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥𝐴𝑥𝐵)))
2524albidv 1923 . . 3 (Rel 𝐴 → (∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥𝐴𝑥𝐵)))
26 dfss2 3907 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)))
27 dfss2 3907 . . 3 (𝐴𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
2825, 26, 273bitr4g 314 . 2 (Rel 𝐴 → (𝐴 ⊆ ( I ∘ 𝐵) ↔ 𝐴𝐵))
293, 28biadanii 819 1 (𝐴 ⊆ ( I ∘ 𝐵) ↔ (Rel 𝐴𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  wss 3887  cop 4567   class class class wbr 5074   I cid 5488  ccom 5593  Rel wrel 5594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-co 5598
This theorem is referenced by:  dffun10  34216
  Copyright terms: Public domain W3C validator