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 36909
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 6126 . . 3 Rel ( I ∘ 𝐵)
2 relss 5769 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 21 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5786 . . . . . 6 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → ∃𝑦∃𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3460 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3460 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5863 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥 ∧ 𝑥 I 𝑧))
86ideq 5843 . . . . . . . . . . . 12 (𝑥 I 𝑧 ↔ 𝑥 = 𝑧)
98anbi1ci 638 . . . . . . . . . . 11 ((𝑦𝐵𝑥 ∧ 𝑥 I 𝑧) ↔ (𝑥 = 𝑧 ∧ 𝑦𝐵𝑥))
109exbii 1883 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥 ∧ 𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧 ∧ 𝑦𝐵𝑥))
11 breq2 5115 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝐵𝑥 ↔ 𝑦𝐵𝑧))
1211equsexvw 2042 . . . . . . . . . 10 (∃𝑥(𝑥 = 𝑧 ∧ 𝑦𝐵𝑥) ↔ 𝑦𝐵𝑧)
137, 10, 123bitri 300 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ 𝑦𝐵𝑧)
1413a1i 11 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑦( I ∘ 𝐵)𝑧 ↔ 𝑦𝐵𝑧))
15 eleq1 2858 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵)))
16 df-br 5112 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵))
1715, 16bitr4di 292 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑦( I ∘ 𝐵)𝑧))
18 eleq1 2858 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ 𝐵 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵))
19 df-br 5112 . . . . . . . . 9 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
2018, 19bitr4di 292 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ 𝐵 ↔ 𝑦𝐵𝑧))
2114, 17, 203bitr4d 314 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
2221exlimivv 1969 . . . . . 6 (∃𝑦∃𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
234, 22syl 18 . . . . 5 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥 ∈ 𝐵))
2423pm5.74da 816 . . . 4 (Rel 𝐴 → ((𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
2524albidv 1957 . . 3 (Rel 𝐴 → (∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
26 df-ss 3903 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝑥 ∈ ( I ∘ 𝐵)))
27 df-ss 3903 . . 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 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2151   ⊆ wss 3902  ⟨cop 4843   class class class wbr 5111   I cid 5555   ∘ ccom 5665  Rel wrel 5666
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-co 5670
This theorem is used by:  dffun10  36910
  Copyright terms: Public domain W3C validator