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 36597
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 6098 . . 3 Rel ( I ∘ 𝐵)
2 relss 5754 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 21 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5770 . . . . . 6 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → ∃𝑦∃𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3454 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3454 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5844 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥 ∧ 𝑥 I 𝑧))
86ideq 5826 . . . . . . . . . . . 12 (𝑥 I 𝑧 ↔ 𝑥 = 𝑧)
98anbi1ci 638 . . . . . . . . . . 11 ((𝑦𝐵𝑥 ∧ 𝑥 I 𝑧) ↔ (𝑥 = 𝑧 ∧ 𝑦𝐵𝑥))
109exbii 1881 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥 ∧ 𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧 ∧ 𝑦𝐵𝑥))
11 breq2 5106 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝐵𝑥 ↔ 𝑦𝐵𝑧))
1211equsexvw 2038 . . . . . . . . . 10 (∃𝑥(𝑥 = 𝑧 ∧ 𝑦𝐵𝑥) ↔ 𝑦𝐵𝑧)
137, 10, 123bitri 300 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ 𝑦𝐵𝑧)
1413a1i 11 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑦( I ∘ 𝐵)𝑧 ↔ 𝑦𝐵𝑧))
15 eleq1 2848 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵)))
16 df-br 5103 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵))
1715, 16bitr4di 292 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑦( I ∘ 𝐵)𝑧))
18 eleq1 2848 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ 𝐵 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵))
19 df-br 5103 . . . . . . . . 9 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
2018, 19bitr4di 292 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ 𝐵 ↔ 𝑦𝐵𝑧))
2114, 17, 203bitr4d 314 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
2221exlimivv 1965 . . . . . 6 (∃𝑦∃𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
234, 22syl 18 . . . . 5 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
2423pm5.74da 816 . . . 4 (Rel 𝐴 → ((𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
2524albidv 1953 . . 3 (Rel 𝐴 → (∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
26 df-ss 3915 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)))
27 df-ss 3915 . . 3 (𝐴 ⊆ 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
2825, 26, 273bitr4g 317 . 2 (Rel 𝐴 → (𝐴 ⊆ ( I ∘ 𝐵) ↔ 𝐴 ⊆ 𝐵))
293, 28biadanii 834 1 (𝐴 ⊆ ( I ∘ 𝐵) ↔ (Rel 𝐴 ∧ 𝐴 ⊆ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2145   ⊆ wss 3898  ⟨cop 4589   class class class wbr 5102   I cid 5541   ∘ ccom 5651  Rel wrel 5652
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-id 5542  df-xp 5653  df-rel 5654  df-co 5656
This theorem is used by:  dffun10  36598
  Copyright terms: Public domain W3C validator