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 38019
Description: This is the core of the proof of dissneq 38020, 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 23117 . . . 4 (𝐵 ∈ (TopOn‘𝐴) → ({∅, 𝐴} ⊆ 𝐵𝐵 ⊆ 𝒫 𝐴))
21adantl 487 . . 3 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → ({∅, 𝐴} ⊆ 𝐵𝐵 ⊆ 𝒫 𝐴))
32simprd 501 . 2 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 ⊆ 𝒫 𝐴)
4 velpw 4569 . . . . . . 7 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
5 simp3 1156 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → 𝐵 ∈ (TopOn‘𝐴))
6 df-ima 5676 . . . . . . . . . . . . . . . . . 18 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = ran ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥)
7 resmpt 6041 . . . . . . . . . . . . . . . . . . 19 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥) = (𝑧𝑥 ↦ {𝑧}))
87rneqd 5930 . . . . . . . . . . . . . . . . . 18 (𝑥𝐴 → ran ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥) = ran (𝑧𝑥 ↦ {𝑧}))
96, 8eqtrid 2812 . . . . . . . . . . . . . . . . 17 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = ran (𝑧𝑥 ↦ {𝑧}))
10 rnmptsn 38014 . . . . . . . . . . . . . . . . 17 ran (𝑧𝑥 ↦ {𝑧}) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}
119, 10eqtrdi 2816 . . . . . . . . . . . . . . . 16 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
12 imassrn 6075 . . . . . . . . . . . . . . . 16 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) ⊆ ran (𝑧𝐴 ↦ {𝑧})
1311, 12eqsstrrdi 3983 . . . . . . . . . . . . . . 15 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ ran (𝑧𝐴 ↦ {𝑧}))
14 rnmptsn 38014 . . . . . . . . . . . . . . 15 ran (𝑧𝐴 ↦ {𝑧}) = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
1513, 14sseqtrdi 3978 . . . . . . . . . . . . . 14 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}})
16 dissneq.c . . . . . . . . . . . . . . 15 𝐶 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
17 sneq 4601 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑧 → {𝑥} = {𝑧})
1817eqeq2d 2776 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑧 → (𝑢 = {𝑥} ↔ 𝑢 = {𝑧}))
1918cbvrexvw 3246 . . . . . . . . . . . . . . . 16 (∃𝑥𝐴 𝑢 = {𝑥} ↔ ∃𝑧𝐴 𝑢 = {𝑧})
2019abbii 2832 . . . . . . . . . . . . . . 15 {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}} = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
2116, 20eqtri 2788 . . . . . . . . . . . . . 14 𝐶 = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
2215, 21sseqtrrdi 3979 . . . . . . . . . . . . 13 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶)
2322adantl 487 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶)
24 sstr 3946 . . . . . . . . . . . . . 14 (({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶𝐶𝐵) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
2524expcom 419 . . . . . . . . . . . . 13 (𝐶𝐵 → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
2625adantr 486 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
2723, 26mpd 16 . . . . . . . . . . 11 ((𝐶𝐵𝑥𝐴) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
28273adant3 1150 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
295, 28ssexd 5297 . . . . . . . . 9 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ∈ V)
30 isset 3471 . . . . . . . . 9 ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ∈ V ↔ ∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3129, 30sylib 221 . . . . . . . 8 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
32 eqid 2765 . . . . . . . . . . . . . . 15 (𝑧𝐴 ↦ {𝑧}) = (𝑧𝐴 ↦ {𝑧})
33 eqid 2765 . . . . . . . . . . . . . . 15 {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}} = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
3432, 33mptsnun 38018 . . . . . . . . . . . . . 14 (𝑥𝐴𝑥 = ((𝑧𝐴 ↦ {𝑧}) “ 𝑥))
3511unieqd 4887 . . . . . . . . . . . . . 14 (𝑥𝐴 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3634, 35eqtrd 2800 . . . . . . . . . . . . 13 (𝑥𝐴𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3736adantl 487 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → 𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3827, 37jca 521 . . . . . . . . . . 11 ((𝐶𝐵𝑥𝐴) → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}))
39 sseq1 3963 . . . . . . . . . . . 12 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑦𝐵 ↔ {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
40 unieq 4885 . . . . . . . . . . . . 13 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
4140eqeq2d 2776 . . . . . . . . . . . 12 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑥 = 𝑦𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}))
4239, 41anbi12d 644 . . . . . . . . . . 11 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ((𝑦𝐵𝑥 = 𝑦) ↔ ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})))
4338, 42syl5ibrcom 250 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴) → (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑦𝐵𝑥 = 𝑦)))
4443eximdv 1950 . . . . . . . . 9 ((𝐶𝐵𝑥𝐴) → (∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
45443adant3 1150 . . . . . . . 8 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → (∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
4631, 45mpd 16 . . . . . . 7 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
474, 46syl3an2b 1431 . . . . . 6 ((𝐶𝐵𝑥 ∈ 𝒫 𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
48473com23 1144 . . . . 5 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴) ∧ 𝑥 ∈ 𝒫 𝐴) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
49483expia 1139 . . . 4 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥 ∈ 𝒫 𝐴 → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
50 topontop 23100 . . . . . . . 8 (𝐵 ∈ (TopOn‘𝐴) → 𝐵 ∈ Top)
51 tgtop 23160 . . . . . . . 8 (𝐵 ∈ Top → (topGen‘𝐵) = 𝐵)
5250, 51syl 18 . . . . . . 7 (𝐵 ∈ (TopOn‘𝐴) → (topGen‘𝐵) = 𝐵)
5352eleq2d 2851 . . . . . 6 (𝐵 ∈ (TopOn‘𝐴) → (𝑥 ∈ (topGen‘𝐵) ↔ 𝑥𝐵))
54 eltg3 23149 . . . . . 6 (𝐵 ∈ (TopOn‘𝐴) → (𝑥 ∈ (topGen‘𝐵) ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5553, 54bitr3d 284 . . . . 5 (𝐵 ∈ (TopOn‘𝐴) → (𝑥𝐵 ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5655adantl 487 . . . 4 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥𝐵 ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5749, 56sylibrd 262 . . 3 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥 ∈ 𝒫 𝐴𝑥𝐵))
5857ssrdv 3944 . 2 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝒫 𝐴𝐵)
593, 58eqssd 3955 1 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 = 𝒫 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401  w3a 1103   = wceq 1570  wex 1812  wcel 2146  {cab 2743  wrex 3091  Vcvv 3457  wss 3906  c0 4286  𝒫 cpw 4564  {csn 4591  {cpr 4593   cuni 4874  cmpt 5194  ran crn 5664  cres 5665  cima 5666  cfv 6540  topGenctg 17508  Topctop 23080  TopOnctopon 23097
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pow 5338  ax-pr 5406  ax-un 7738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-sbc 3747  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-iota 6496  df-fun 6542  df-fv 6548  df-topgen 17514  df-top 23081  df-topon 23098
This theorem is used by:  dissneq  38020
  Copyright terms: Public domain W3C validator