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

Theorem sbthlem2 8871
Description: Lemma for sbth 8880. (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 8870 . . . . . . . 8 𝐷 ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))
4 imass2 6010 . . . . . . . 8 ( 𝐷 ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑓 𝐷) ⊆ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
5 sscon 4073 . . . . . . . 8 ((𝑓 𝐷) ⊆ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))) → (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))) ⊆ (𝐵 ∖ (𝑓 𝐷)))
63, 4, 5mp2b 10 . . . . . . 7 (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))) ⊆ (𝐵 ∖ (𝑓 𝐷))
7 imass2 6010 . . . . . . 7 ((𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))) ⊆ (𝐵 ∖ (𝑓 𝐷)) → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))
8 sscon 4073 . . . . . . 7 ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))) → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))))
96, 7, 8mp2b 10 . . . . . 6 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))
10 imassrn 5980 . . . . . . . 8 (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ ran 𝑔
11 sstr2 3928 . . . . . . . 8 ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ ran 𝑔 → (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ 𝐴))
1210, 11ax-mp 5 . . . . . . 7 (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ 𝐴)
13 difss 4066 . . . . . . 7 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴
14 ssconb 4072 . . . . . . 7 (((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ 𝐴 ∧ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴) → ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))) ↔ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))))
1512, 13, 14sylancl 586 . . . . . 6 (ran 𝑔𝐴 → ((𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))) ↔ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))))
169, 15mpbiri 257 . . . . 5 (ran 𝑔𝐴 → (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
1716, 13jctil 520 . . . 4 (ran 𝑔𝐴 → ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
181difexi 5252 . . . . 5 (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ V
19 sseq1 3946 . . . . . 6 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑥𝐴 ↔ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴))
20 imaeq2 5965 . . . . . . . . 9 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑓𝑥) = (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
2120difeq2d 4057 . . . . . . . 8 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝐵 ∖ (𝑓𝑥)) = (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
2221imaeq2d 5969 . . . . . . 7 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝑔 “ (𝐵 ∖ (𝑓𝑥))) = (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))
23 difeq2 4051 . . . . . . 7 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → (𝐴𝑥) = (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))
2422, 23sseq12d 3954 . . . . . 6 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → ((𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥) ↔ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
2519, 24anbi12d 631 . . . . 5 (𝑥 = (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) → ((𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥)) ↔ ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))))
2618, 25elab 3609 . . . 4 ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))} ↔ ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷))))))) ⊆ (𝐴 ∖ (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))))))
2717, 26sylibr 233 . . 3 (ran 𝑔𝐴 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))})
2827, 2eleqtrrdi 2850 . 2 (ran 𝑔𝐴 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ 𝐷)
29 elssuni 4871 . 2 ((𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ∈ 𝐷 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐷)
3028, 29syl 17 1 (ran 𝑔𝐴 → (𝐴 ∖ (𝑔 “ (𝐵 ∖ (𝑓 𝐷)))) ⊆ 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  {cab 2715  Vcvv 3432  cdif 3884  wss 3887   cuni 4839  ran crn 5590  cima 5592
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-xp 5595  df-cnv 5597  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602
This theorem is referenced by:  sbthlem3  8872
  Copyright terms: Public domain W3C validator