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 31190
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 5550 . . 3 Rel ( I ∘ 𝐵)
2 relss 5129 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) → (Rel ( I ∘ 𝐵) → Rel 𝐴))
31, 2mpi 20 . 2 (𝐴 ⊆ ( I ∘ 𝐵) → Rel 𝐴)
4 elrel 5145 . . . . . 6 ((Rel 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩)
5 vex 3176 . . . . . . . . . . 11 𝑦 ∈ V
6 vex 3176 . . . . . . . . . . 11 𝑧 ∈ V
75, 6brco 5214 . . . . . . . . . 10 (𝑦( I ∘ 𝐵)𝑧 ↔ ∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧))
8 ancom 465 . . . . . . . . . . . . 13 ((𝑦𝐵𝑥𝑥 I 𝑧) ↔ (𝑥 I 𝑧𝑦𝐵𝑥))
96ideq 5196 . . . . . . . . . . . . . 14 (𝑥 I 𝑧𝑥 = 𝑧)
109anbi1i 727 . . . . . . . . . . . . 13 ((𝑥 I 𝑧𝑦𝐵𝑥) ↔ (𝑥 = 𝑧𝑦𝐵𝑥))
118, 10bitri 263 . . . . . . . . . . . 12 ((𝑦𝐵𝑥𝑥 I 𝑧) ↔ (𝑥 = 𝑧𝑦𝐵𝑥))
1211exbii 1764 . . . . . . . . . . 11 (∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧) ↔ ∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥))
13 breq2 4587 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝑦𝐵𝑥𝑦𝐵𝑧))
146, 13ceqsexv 3215 . . . . . . . . . . 11 (∃𝑥(𝑥 = 𝑧𝑦𝐵𝑥) ↔ 𝑦𝐵𝑧)
1512, 14bitri 263 . . . . . . . . . 10 (∃𝑥(𝑦𝐵𝑥𝑥 I 𝑧) ↔ 𝑦𝐵𝑧)
167, 15bitri 263 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧)
1716a1i 11 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑦( I ∘ 𝐵)𝑧𝑦𝐵𝑧))
18 eleq1 2676 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵)))
19 df-br 4584 . . . . . . . . 9 (𝑦( I ∘ 𝐵)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ( I ∘ 𝐵))
2018, 19syl6bbr 277 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑦( I ∘ 𝐵)𝑧))
21 eleq1 2676 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵))
22 df-br 4584 . . . . . . . . 9 (𝑦𝐵𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐵)
2321, 22syl6bbr 277 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐵𝑦𝐵𝑧))
2417, 20, 233bitr4d 299 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2524exlimivv 1847 . . . . . 6 (∃𝑦𝑧 𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
264, 25syl 17 . . . . 5 ((Rel 𝐴𝑥𝐴) → (𝑥 ∈ ( I ∘ 𝐵) ↔ 𝑥𝐵))
2726pm5.74da 719 . . . 4 (Rel 𝐴 → ((𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ (𝑥𝐴𝑥𝐵)))
2827albidv 1836 . . 3 (Rel 𝐴 → (∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)) ↔ ∀𝑥(𝑥𝐴𝑥𝐵)))
29 dfss2 3557 . . 3 (𝐴 ⊆ ( I ∘ 𝐵) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ ( I ∘ 𝐵)))
30 dfss2 3557 . . 3 (𝐴𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
3128, 29, 303bitr4g 302 . 2 (Rel 𝐴 → (𝐴 ⊆ ( I ∘ 𝐵) ↔ 𝐴𝐵))
323, 31biadan2 672 1 (𝐴 ⊆ ( I ∘ 𝐵) ↔ (Rel 𝐴𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wex 1695  wcel 1977  wss 3540  cop 4131   class class class wbr 4583   I cid 4948  ccom 5042  Rel wrel 5043
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-id 4953  df-xp 5044  df-rel 5045  df-co 5047
This theorem is referenced by:  dffun10  31191
  Copyright terms: Public domain W3C validator