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 37545
Description: This is the core of the proof of dissneq 37546, 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 22874 . . . 4 (𝐵 ∈ (TopOn‘𝐴) → ({∅, 𝐴} ⊆ 𝐵𝐵 ⊆ 𝒫 𝐴))
21adantl 481 . . 3 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → ({∅, 𝐴} ⊆ 𝐵𝐵 ⊆ 𝒫 𝐴))
32simprd 495 . 2 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 ⊆ 𝒫 𝐴)
4 velpw 4559 . . . . . . 7 (𝑥 ∈ 𝒫 𝐴𝑥𝐴)
5 simp3 1138 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → 𝐵 ∈ (TopOn‘𝐴))
6 df-ima 5637 . . . . . . . . . . . . . . . . . 18 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = ran ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥)
7 resmpt 5996 . . . . . . . . . . . . . . . . . . 19 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥) = (𝑧𝑥 ↦ {𝑧}))
87rneqd 5887 . . . . . . . . . . . . . . . . . 18 (𝑥𝐴 → ran ((𝑧𝐴 ↦ {𝑧}) ↾ 𝑥) = ran (𝑧𝑥 ↦ {𝑧}))
96, 8eqtrid 2783 . . . . . . . . . . . . . . . . 17 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = ran (𝑧𝑥 ↦ {𝑧}))
10 rnmptsn 37540 . . . . . . . . . . . . . . . . 17 ran (𝑧𝑥 ↦ {𝑧}) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}
119, 10eqtrdi 2787 . . . . . . . . . . . . . . . 16 (𝑥𝐴 → ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
12 imassrn 6030 . . . . . . . . . . . . . . . 16 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) ⊆ ran (𝑧𝐴 ↦ {𝑧})
1311, 12eqsstrrdi 3979 . . . . . . . . . . . . . . 15 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ ran (𝑧𝐴 ↦ {𝑧}))
14 rnmptsn 37540 . . . . . . . . . . . . . . 15 ran (𝑧𝐴 ↦ {𝑧}) = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
1513, 14sseqtrdi 3974 . . . . . . . . . . . . . 14 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}})
16 dissneq.c . . . . . . . . . . . . . . 15 𝐶 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
17 sneq 4590 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑧 → {𝑥} = {𝑧})
1817eqeq2d 2747 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑧 → (𝑢 = {𝑥} ↔ 𝑢 = {𝑧}))
1918cbvrexvw 3215 . . . . . . . . . . . . . . . 16 (∃𝑥𝐴 𝑢 = {𝑥} ↔ ∃𝑧𝐴 𝑢 = {𝑧})
2019abbii 2803 . . . . . . . . . . . . . . 15 {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}} = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
2116, 20eqtri 2759 . . . . . . . . . . . . . 14 𝐶 = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
2215, 21sseqtrrdi 3975 . . . . . . . . . . . . 13 (𝑥𝐴 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶)
2322adantl 481 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶)
24 sstr 3942 . . . . . . . . . . . . . 14 (({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶𝐶𝐵) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
2524expcom 413 . . . . . . . . . . . . 13 (𝐶𝐵 → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
2625adantr 480 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐶 → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
2723, 26mpd 15 . . . . . . . . . . 11 ((𝐶𝐵𝑥𝐴) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
28273adant3 1132 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵)
295, 28ssexd 5269 . . . . . . . . 9 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ∈ V)
30 isset 3454 . . . . . . . . 9 ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ∈ V ↔ ∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3129, 30sylib 218 . . . . . . . 8 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
32 eqid 2736 . . . . . . . . . . . . . . 15 (𝑧𝐴 ↦ {𝑧}) = (𝑧𝐴 ↦ {𝑧})
33 eqid 2736 . . . . . . . . . . . . . . 15 {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}} = {𝑢 ∣ ∃𝑧𝐴 𝑢 = {𝑧}}
3432, 33mptsnun 37544 . . . . . . . . . . . . . 14 (𝑥𝐴𝑥 = ((𝑧𝐴 ↦ {𝑧}) “ 𝑥))
3511unieqd 4876 . . . . . . . . . . . . . 14 (𝑥𝐴 ((𝑧𝐴 ↦ {𝑧}) “ 𝑥) = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3634, 35eqtrd 2771 . . . . . . . . . . . . 13 (𝑥𝐴𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3736adantl 481 . . . . . . . . . . . 12 ((𝐶𝐵𝑥𝐴) → 𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
3827, 37jca 511 . . . . . . . . . . 11 ((𝐶𝐵𝑥𝐴) → ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}))
39 sseq1 3959 . . . . . . . . . . . 12 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑦𝐵 ↔ {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵))
40 unieq 4874 . . . . . . . . . . . . 13 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})
4140eqeq2d 2747 . . . . . . . . . . . 12 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑥 = 𝑦𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}}))
4239, 41anbi12d 632 . . . . . . . . . . 11 (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ((𝑦𝐵𝑥 = 𝑦) ↔ ({𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} ⊆ 𝐵𝑥 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}})))
4338, 42syl5ibrcom 247 . . . . . . . . . 10 ((𝐶𝐵𝑥𝐴) → (𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → (𝑦𝐵𝑥 = 𝑦)))
4443eximdv 1918 . . . . . . . . 9 ((𝐶𝐵𝑥𝐴) → (∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
45443adant3 1132 . . . . . . . 8 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → (∃𝑦 𝑦 = {𝑢 ∣ ∃𝑧𝑥 𝑢 = {𝑧}} → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
4631, 45mpd 15 . . . . . . 7 ((𝐶𝐵𝑥𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
474, 46syl3an2b 1406 . . . . . 6 ((𝐶𝐵𝑥 ∈ 𝒫 𝐴𝐵 ∈ (TopOn‘𝐴)) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
48473com23 1126 . . . . 5 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴) ∧ 𝑥 ∈ 𝒫 𝐴) → ∃𝑦(𝑦𝐵𝑥 = 𝑦))
49483expia 1121 . . . 4 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥 ∈ 𝒫 𝐴 → ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
50 topontop 22857 . . . . . . . 8 (𝐵 ∈ (TopOn‘𝐴) → 𝐵 ∈ Top)
51 tgtop 22917 . . . . . . . 8 (𝐵 ∈ Top → (topGen‘𝐵) = 𝐵)
5250, 51syl 17 . . . . . . 7 (𝐵 ∈ (TopOn‘𝐴) → (topGen‘𝐵) = 𝐵)
5352eleq2d 2822 . . . . . 6 (𝐵 ∈ (TopOn‘𝐴) → (𝑥 ∈ (topGen‘𝐵) ↔ 𝑥𝐵))
54 eltg3 22906 . . . . . 6 (𝐵 ∈ (TopOn‘𝐴) → (𝑥 ∈ (topGen‘𝐵) ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5553, 54bitr3d 281 . . . . 5 (𝐵 ∈ (TopOn‘𝐴) → (𝑥𝐵 ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5655adantl 481 . . . 4 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥𝐵 ↔ ∃𝑦(𝑦𝐵𝑥 = 𝑦)))
5749, 56sylibrd 259 . . 3 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → (𝑥 ∈ 𝒫 𝐴𝑥𝐵))
5857ssrdv 3939 . 2 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝒫 𝐴𝐵)
593, 58eqssd 3951 1 ((𝐶𝐵𝐵 ∈ (TopOn‘𝐴)) → 𝐵 = 𝒫 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1086   = wceq 1541  wex 1780  wcel 2113  {cab 2714  wrex 3060  Vcvv 3440  wss 3901  c0 4285  𝒫 cpw 4554  {csn 4580  {cpr 4582   cuni 4863  cmpt 5179  ran crn 5625  cres 5626  cima 5627  cfv 6492  topGenctg 17357  Topctop 22837  TopOnctopon 22854
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2184  ax-ext 2708  ax-sep 5241  ax-nul 5251  ax-pow 5310  ax-pr 5377  ax-un 7680
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3400  df-v 3442  df-sbc 3741  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-br 5099  df-opab 5161  df-mpt 5180  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-iota 6448  df-fun 6494  df-fv 6500  df-topgen 17363  df-top 22838  df-topon 22855
This theorem is referenced by:  dissneq  37546
  Copyright terms: Public domain W3C validator