Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  sbthlem5 Structured version   Visualization version   GIF version

Theorem sbthlem5 8115
 Description: Lemma for sbth 8121. (Contributed by NM, 22-Mar-1998.)
Hypotheses
Ref Expression
sbthlem.1 𝐴 ∈ V
sbthlem.2 𝐷 = {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))}
sbthlem.3 𝐻 = ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷)))
Assertion
Ref Expression
sbthlem5 ((dom 𝑓 = 𝐴 ∧ ran 𝑔𝐴) → dom 𝐻 = 𝐴)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐷   𝑥,𝑓   𝑥,𝑔   𝑥,𝐻
Allowed substitution hints:   𝐴(𝑓,𝑔)   𝐵(𝑓,𝑔)   𝐷(𝑓,𝑔)   𝐻(𝑓,𝑔)

Proof of Theorem sbthlem5
StepHypRef Expression
1 sbthlem.1 . . . . . . . . 9 𝐴 ∈ V
2 sbthlem.2 . . . . . . . . 9 𝐷 = {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))}
31, 2sbthlem1 8111 . . . . . . . 8 𝐷 ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))
4 difss 3770 . . . . . . . 8 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴
53, 4sstri 3645 . . . . . . 7 𝐷𝐴
6 sseq2 3660 . . . . . . 7 (dom 𝑓 = 𝐴 → ( 𝐷 ⊆ dom 𝑓 𝐷𝐴))
75, 6mpbiri 248 . . . . . 6 (dom 𝑓 = 𝐴 𝐷 ⊆ dom 𝑓)
8 dfss 3622 . . . . . 6 ( 𝐷 ⊆ dom 𝑓 𝐷 = ( 𝐷 ∩ dom 𝑓))
97, 8sylib 208 . . . . 5 (dom 𝑓 = 𝐴 𝐷 = ( 𝐷 ∩ dom 𝑓))
109uneq1d 3799 . . . 4 (dom 𝑓 = 𝐴 → ( 𝐷 ∪ (𝐴 𝐷)) = (( 𝐷 ∩ dom 𝑓) ∪ (𝐴 𝐷)))
111, 2sbthlem3 8113 . . . . . . 7 (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 𝐷))) = (𝐴 𝐷))
12 imassrn 5512 . . . . . . 7 (𝑔 “ (𝐵 ∖ (𝑓 𝐷))) ⊆ ran 𝑔
1311, 12syl6eqssr 3689 . . . . . 6 (ran 𝑔𝐴 → (𝐴 𝐷) ⊆ ran 𝑔)
14 dfss 3622 . . . . . 6 ((𝐴 𝐷) ⊆ ran 𝑔 ↔ (𝐴 𝐷) = ((𝐴 𝐷) ∩ ran 𝑔))
1513, 14sylib 208 . . . . 5 (ran 𝑔𝐴 → (𝐴 𝐷) = ((𝐴 𝐷) ∩ ran 𝑔))
1615uneq2d 3800 . . . 4 (ran 𝑔𝐴 → (( 𝐷 ∩ dom 𝑓) ∪ (𝐴 𝐷)) = (( 𝐷 ∩ dom 𝑓) ∪ ((𝐴 𝐷) ∩ ran 𝑔)))
1710, 16sylan9eq 2705 . . 3 ((dom 𝑓 = 𝐴 ∧ ran 𝑔𝐴) → ( 𝐷 ∪ (𝐴 𝐷)) = (( 𝐷 ∩ dom 𝑓) ∪ ((𝐴 𝐷) ∩ ran 𝑔)))
18 sbthlem.3 . . . . 5 𝐻 = ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷)))
1918dmeqi 5357 . . . 4 dom 𝐻 = dom ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷)))
20 dmun 5363 . . . . 5 dom ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷))) = (dom (𝑓 𝐷) ∪ dom (𝑔 ↾ (𝐴 𝐷)))
21 dmres 5454 . . . . . 6 dom (𝑓 𝐷) = ( 𝐷 ∩ dom 𝑓)
22 dmres 5454 . . . . . . 7 dom (𝑔 ↾ (𝐴 𝐷)) = ((𝐴 𝐷) ∩ dom 𝑔)
23 df-rn 5154 . . . . . . . . 9 ran 𝑔 = dom 𝑔
2423eqcomi 2660 . . . . . . . 8 dom 𝑔 = ran 𝑔
2524ineq2i 3844 . . . . . . 7 ((𝐴 𝐷) ∩ dom 𝑔) = ((𝐴 𝐷) ∩ ran 𝑔)
2622, 25eqtri 2673 . . . . . 6 dom (𝑔 ↾ (𝐴 𝐷)) = ((𝐴 𝐷) ∩ ran 𝑔)
2721, 26uneq12i 3798 . . . . 5 (dom (𝑓 𝐷) ∪ dom (𝑔 ↾ (𝐴 𝐷))) = (( 𝐷 ∩ dom 𝑓) ∪ ((𝐴 𝐷) ∩ ran 𝑔))
2820, 27eqtri 2673 . . . 4 dom ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷))) = (( 𝐷 ∩ dom 𝑓) ∪ ((𝐴 𝐷) ∩ ran 𝑔))
2919, 28eqtri 2673 . . 3 dom 𝐻 = (( 𝐷 ∩ dom 𝑓) ∪ ((𝐴 𝐷) ∩ ran 𝑔))
3017, 29syl6reqr 2704 . 2 ((dom 𝑓 = 𝐴 ∧ ran 𝑔𝐴) → dom 𝐻 = ( 𝐷 ∪ (𝐴 𝐷)))
31 undif 4082 . . 3 ( 𝐷𝐴 ↔ ( 𝐷 ∪ (𝐴 𝐷)) = 𝐴)
325, 31mpbi 220 . 2 ( 𝐷 ∪ (𝐴 𝐷)) = 𝐴
3330, 32syl6eq 2701 1 ((dom 𝑓 = 𝐴 ∧ ran 𝑔𝐴) → dom 𝐻 = 𝐴)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   = wceq 1523   ∈ wcel 2030  {cab 2637  Vcvv 3231   ∖ cdif 3604   ∪ cun 3605   ∩ cin 3606   ⊆ wss 3607  ∪ cuni 4468  ◡ccnv 5142  dom cdm 5143  ran crn 5144   ↾ cres 5145   “ cima 5146 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-xp 5149  df-cnv 5151  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156 This theorem is referenced by:  sbthlem9  8119
 Copyright terms: Public domain W3C validator