Users' Mathboxes Mathbox for ML < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dissneqlem Structured version   Visualization version   GIF version

Theorem dissneqlem 37869
Description: This is the core of the proof of dissneq 37870, but to avoid the distinct variables on the definitions, we split this proof into two. (Contributed by ML, 16-Jul-2020.)
Hypothesis
Ref Expression
dissneq.c 𝐶 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
Assertion
Ref Expression
dissneqlem ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 = 𝒫 𝐴)
Distinct variable groups:   𝑢,𝐴,𝑥   𝑥,𝐵   𝑥,𝐶
Allowed substitution hints:   𝐵(𝑢)   𝐶(𝑢)

Proof of Theorem dissneqlem
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 topgele 23052 . . . 4 (𝐵 ∈ (TopOn‘𝐴) → ({∅, 𝐴} ⊆ 𝐵𝐵 ⊆ 𝒫 𝐴))
21adantl 486 . . 3 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → ({∅, 𝐴} ⊆ 𝐵𝐵 ⊆ 𝒫 𝐴))
32simprd 500 . 2 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 ⊆ 𝒫 𝐴)
4 velpw 4569 . . . . . . 7 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
5 simp3 1154 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → 𝐵 ∈ (TopOn‘𝐴))
6 df-ima 5672 . . . . . . . . . . . . . . . . . 18 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = ran ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥)
7 resmpt 6037 . . . . . . . . . . . . . . . . . . 19 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥) = (𝑧𝑥 ↦ {𝑧}))
87rneqd 5926 . . . . . . . . . . . . . . . . . 18 (𝑥𝐴 → ran ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥) = ran (𝑧𝑥 ↦ {𝑧}))
96, 8eqtrid 2816 . . . . . . . . . . . . . . . . 17 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = ran (𝑧𝑥 ↦ {𝑧}))
10 rnmptsn 37864 . . . . . . . . . . . . . . . . 17 ran (𝑧𝑥 ↦ {𝑧}) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}
119, 10eqtrdi 2820 . . . . . . . . . . . . . . . 16 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
12 imassrn 6071 . . . . . . . . . . . . . . . 16 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) ⊆ ran (𝑧𝐴 ↦ {𝑧})
1311, 12eqsstrrdi 3990 . . . . . . . . . . . . . . 15 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ ran (𝑧𝐴 ↦ {𝑧}))
14 rnmptsn 37864 . . . . . . . . . . . . . . 15 ran (𝑧𝐴 ↦ {𝑧}) = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
1513, 14sseqtrdi 3985 . . . . . . . . . . . . . 14 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}})
16 dissneq.c . . . . . . . . . . . . . . 15 𝐶 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
17 sneq 4601 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑧 → {𝑥} = {𝑧})
1817eqeq2d 2780 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑧 → (𝑢 = {𝑥} ↔ 𝑢 = {𝑧}))
1918cbvrexvw 3250 . . . . . . . . . . . . . . . 16 (∃𝑥𝐴 𝑢 = {𝑥} ↔ ∃𝑧𝐴 𝑢 = {𝑧})
2019abbii 2836 . . . . . . . . . . . . . . 15 {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}} = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
2116, 20eqtri 2792 . . . . . . . . . . . . . 14 𝐶 = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
2215, 21sseqtrrdi 3986 . . . . . . . . . . . . 13 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶)
2322adantl 486 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶)
24 sstr 3953 . . . . . . . . . . . . . 14 (({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶𝐶𝐵) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
2524expcom 418 . . . . . . . . . . . . 13 (𝐶𝐵 → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
2625adantr 485 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
2723, 26mpd 16 . . . . . . . . . . 11 ((𝐶𝐵𝑥𝐴) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
28273adant3 1148 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
295, 28ssexd 5292 . . . . . . . . 9 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ∈ V)
30 isset 3477 . . . . . . . . 9 ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ∈ V ↔ ∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3129, 30sylib 221 . . . . . . . 8 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
32 eqid 2769 . . . . . . . . . . . . . . 15 (𝑧𝐴 ↦ {𝑧}) = (𝑧𝐴 ↦ {𝑧})
33 eqid 2769 . . . . . . . . . . . . . . 15 {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}} = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
3432, 33mptsnun 37868 . . . . . . . . . . . . . 14 (𝑥𝐴𝑥 = ((𝑧𝐴 ↦ {𝑧}) “ 𝑥))
3511unieqd 4886 . . . . . . . . . . . . . 14 (𝑥𝐴 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3634, 35eqtrd 2804 . . . . . . . . . . . . 13 (𝑥𝐴𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3736adantl 486 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → 𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3827, 37jca 520 . . . . . . . . . . 11 ((𝐶𝐵𝑥𝐴) → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}))
39 sseq1 3970 . . . . . . . . . . . 12 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑦𝐵 ↔ {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
40 unieq 4884 . . . . . . . . . . . . 13 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
4140eqeq2d 2780 . . . . . . . . . . . 12 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑥 = 𝑦𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}))
4239, 41anbi12d 643 . . . . . . . . . . 11 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ((𝑦𝐵𝑥 = 𝑦) ↔ ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})))
4338, 42syl5ibrcom 250 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴) → (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑦𝐵𝑥 = 𝑦)))
4443eximdv 1944 . . . . . . . . 9 ((𝐶𝐵𝑥𝐴) → (∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
45443adant3 1148 . . . . . . . 8 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → (∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
4631, 45mpd 16 . . . . . . 7 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
474, 46syl3an2b 1429 . . . . . 6 ((𝐶𝐵𝑥 ∈ 𝒫 𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
48473com23 1142 . . . . 5 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴) ∧ 𝑥 ∈ 𝒫 𝐴) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
49483expia 1137 . . . 4 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥 ∈ 𝒫 𝐴 → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
50 topontop 23035 . . . . . . . 8 (𝐵 ∈ (TopOn‘𝐴) → 𝐵 ∈ Top)
51 tgtop 23095 . . . . . . . 8 (𝐵 ∈ Top → (topGen‘𝐵) = 𝐵)
5250, 51syl 18 . . . . . . 7 (𝐵 ∈ (TopOn‘𝐴) → (topGen‘𝐵) = 𝐵)
5352eleq2d 2855 . . . . . 6 (𝐵 ∈ (TopOn‘𝐴) → (𝑥 ∈ (topGen‘𝐵) ↔ 𝑥𝐵))
54 eltg3 23084 . . . . . 6 (𝐵 ∈ (TopOn‘𝐴) → (𝑥 ∈ (topGen‘𝐵) ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5553, 54bitr3d 284 . . . . 5 (𝐵 ∈ (TopOn‘𝐴) → (𝑥𝐵 ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5655adantl 486 . . . 4 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥𝐵 ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5749, 56sylibrd 262 . . 3 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥 ∈ 𝒫 𝐴𝑥𝐵))
5857ssrdv 3951 . 2 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝒫 𝐴𝐵)
593, 58eqssd 3962 1 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 = 𝒫 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400  w3a 1101   = wceq 1567  wex 1806  wcel 2149  {cab 2747  wrex 3095  Vcvv 3463  wss 3913  c0 4294  𝒫 cpw 4564  {csn 4591  {cpr 4593   cuni 4873  cmpt 5193  ran crn 5660  cres 5661  cima 5662  cfv 6533  topGenctg 17486  Topctop 23015  TopOnctopon 23032
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-sep 5258  ax-nul 5268  ax-pow 5334  ax-pr 5402  ax-un 7730
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ne 2965  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-sbc 3754  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-br 5111  df-opab 5175  df-mpt 5194  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6489  df-fun 6535  df-fv 6541  df-topgen 17492  df-top 23016  df-topon 23033
This theorem is referenced by:  dissneq  37870
  Copyright terms: Public domain W3C validator