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 36750
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 6103 . . 3 Rel ( I ∘ 𝐵)
2 relss 5757 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 21 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5773 . . . . . 6 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → ∃𝑦∃𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3454 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3454 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5847 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥 ∧ 𝑥 I 𝑧))
86ideq 5829 . . . . . . . . . . . 12 (𝑥 I 𝑧 ↔ 𝑥 = 𝑧)
98anbi1ci 638 . . . . . . . . . . 11 ((𝑦𝐵𝑥 ∧ 𝑥 I 𝑧) ↔ (𝑥 = 𝑧 ∧ 𝑦𝐵𝑥))
109exbii 1880 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥 ∧ 𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧 ∧ 𝑦𝐵𝑥))
11 breq2 5106 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝐵𝑥 ↔ 𝑦𝐵𝑧))
1211equsexvw 2037 . . . . . . . . . 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 1964 . . . . . 6 (∃𝑦∃𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
234, 22syl 18 . . . . 5 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
2423pm5.74da 816 . . . 4 (Rel 𝐴 → ((𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
2524albidv 1952 . . 3 (Rel 𝐴 → (∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
26 df-ss 3896 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)))
27 df-ss 3896 . . 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 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ⊆ wss 3895  ⟨cop 4589   class class class wbr 5102   I cid 5544   ∘ ccom 5654  Rel wrel 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  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 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-co 5659
This theorem is used by:  dffun10  36751
  Copyright terms: Public domain W3C validator