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

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

Proof of Theorem sbthlem2
StepHypRef Expression
1 sbthlem.1 . . . . . . . . 9 𝐴 ∈ V
2 sbthlem.2 . . . . . . . . 9 𝐷 = {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))}
31, 2sbthlem1 8823 . . . . . . . 8 𝐷 ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))
4 imass2 5999 . . . . . . . 8 ( 𝐷 ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑓 𝐷) ⊆ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
5 sscon 4069 . . . . . . . 8 ((𝑓 𝐷) ⊆ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))) → (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))) ⊆ (𝐵 ∖ (𝑓 𝐷)))
63, 4, 5mp2b 10 . . . . . . 7 (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))) ⊆ (𝐵 ∖ (𝑓 𝐷))
7 imass2 5999 . . . . . . 7 ((𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))) ⊆ (𝐵 ∖ (𝑓 𝐷)) → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))
8 sscon 4069 . . . . . . 7 ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))) → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))))
96, 7, 8mp2b 10 . . . . . 6 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))
10 imassrn 5969 . . . . . . . 8 (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ ran 𝑔
11 sstr2 3924 . . . . . . . 8 ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ ran 𝑔 → (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ 𝐴))
1210, 11ax-mp 5 . . . . . . 7 (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ 𝐴)
13 difss 4062 . . . . . . 7 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴
14 ssconb 4068 . . . . . . 7 (((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ 𝐴 ∧ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴) → ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))) ↔ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))))
1512, 13, 14sylancl 585 . . . . . 6 (ran 𝑔𝐴 → ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))) ↔ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))))
169, 15mpbiri 257 . . . . 5 (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
1716, 13jctil 519 . . . 4 (ran 𝑔𝐴 → ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
181difexi 5247 . . . . 5 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ V
19 sseq1 3942 . . . . . 6 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑥𝐴 ↔ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴))
20 imaeq2 5954 . . . . . . . . 9 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑓𝑥) = (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
2120difeq2d 4053 . . . . . . . 8 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝐵 ∖ (𝑓𝑥)) = (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
2221imaeq2d 5958 . . . . . . 7 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑔 “ (𝐵 ∖ (𝑓𝑥))) = (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))
23 difeq2 4047 . . . . . . 7 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝐴𝑥) = (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
2422, 23sseq12d 3950 . . . . . 6 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → ((𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥) ↔ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
2519, 24anbi12d 630 . . . . 5 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → ((𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥)) ↔ ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))
2618, 25elab 3602 . . . 4 ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))} ↔ ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
2717, 26sylibr 233 . . 3 (ran 𝑔𝐴 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))})
2827, 2eleqtrrdi 2850 . 2 (ran 𝑔𝐴 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ 𝐷)
29 elssuni 4868 . 2 ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ 𝐷 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐷)
3028, 29syl 17 1 (ran 𝑔𝐴 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  Vcvv 3422  cdif 3880  wss 3883   cuni 4836  ran crn 5581  cima 5583
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593
This theorem is referenced by:  sbthlem3  8825
  Copyright terms: Public domain W3C validator