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

Theorem neicvgel1 44700
Description: A subset being an element of a neighborhood of a point is equivalent to the complement of that subset not being a element of the convergent of that point. (Contributed by RP, 12-Jun-2021.)
Hypotheses
Ref Expression
neicvg.o 𝑂 = (𝑖 ∈ V, 𝑗 ∈ V ↦ (𝑘 ∈ (𝒫 𝑗m 𝑖) ↦ (𝑙𝑗 ↦ {𝑚𝑖𝑙 ∈ (𝑘𝑚)})))
neicvg.p 𝑃 = (𝑛 ∈ V ↦ (𝑝 ∈ (𝒫 𝑛m 𝒫 𝑛) ↦ (𝑜 ∈ 𝒫 𝑛 ↦ (𝑛 ∖ (𝑝‘(𝑛𝑜))))))
neicvg.d 𝐷 = (𝑃𝐵)
neicvg.f 𝐹 = (𝒫 𝐵𝑂𝐵)
neicvg.g 𝐺 = (𝐵𝑂𝒫 𝐵)
neicvg.h 𝐻 = (𝐹 ∘ (𝐷𝐺))
neicvg.r (𝜑𝑁𝐻𝑀)
neicvgel.x (𝜑𝑋𝐵)
neicvgel.s (𝜑𝑆 ∈ 𝒫 𝐵)
Assertion
Ref Expression
neicvgel1 (𝜑 → (𝑆 ∈ (𝑁𝑋) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
Distinct variable groups:   𝐵,𝑖,𝑗,𝑘,𝑙,𝑚   𝐵,𝑛,𝑜,𝑝   𝐷,𝑖,𝑗,𝑘,𝑙,𝑚   𝐷,𝑛,𝑜,𝑝   𝑖,𝐹,𝑗,𝑘,𝑙   𝑛,𝐹,𝑜,𝑝   𝑖,𝐺,𝑗,𝑘,𝑙,𝑚   𝑛,𝐺,𝑜,𝑝   𝑖,𝑀,𝑗,𝑘,𝑙   𝑛,𝑀,𝑜,𝑝   𝑖,𝑁,𝑗,𝑘,𝑙,𝑚   𝑛,𝑁,𝑜,𝑝   𝑆,𝑚   𝑆,𝑜   𝑋,𝑙,𝑚   𝜑,𝑖,𝑗,𝑘,𝑙   𝜑,𝑛,𝑜,𝑝
Allowed substitution hints:   𝜑(𝑚)   𝑃(𝑖,𝑗,𝑘,𝑚,𝑛,𝑜,𝑝,𝑙)   𝑆(𝑖,𝑗,𝑘,𝑛,𝑝,𝑙)   𝐹(𝑚)   𝐻(𝑖,𝑗,𝑘,𝑚,𝑛,𝑜,𝑝,𝑙)   𝑀(𝑚)   𝑂(𝑖,𝑗,𝑘,𝑚,𝑛,𝑜,𝑝,𝑙)   𝑋(𝑖,𝑗,𝑘,𝑛,𝑜,𝑝)

Proof of Theorem neicvgel1
StepHypRef Expression
1 neicvg.d . . . 4 𝐷 = (𝑃𝐵)
2 neicvg.h . . . 4 𝐻 = (𝐹 ∘ (𝐷𝐺))
3 neicvg.r . . . 4 (𝜑𝑁𝐻𝑀)
41, 2, 3neicvgbex 44693 . . 3 (𝜑𝐵 ∈ V)
5 neicvg.o . . . . . 6 𝑂 = (𝑖 ∈ V, 𝑗 ∈ V ↦ (𝑘 ∈ (𝒫 𝑗m 𝑖) ↦ (𝑙𝑗 ↦ {𝑚𝑖𝑙 ∈ (𝑘𝑚)})))
6 simpr 488 . . . . . . 7 ((𝜑𝐵 ∈ V) → 𝐵 ∈ V)
76pwexd 5338 . . . . . 6 ((𝜑𝐵 ∈ V) → 𝒫 𝐵 ∈ V)
8 neicvg.f . . . . . 6 𝐹 = (𝒫 𝐵𝑂𝐵)
95, 7, 6, 8fsovf1od 44597 . . . . 5 ((𝜑𝐵 ∈ V) → 𝐹:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝒫 𝐵m 𝐵))
10 f1ofn 6809 . . . . 5 (𝐹:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝒫 𝐵m 𝐵) → 𝐹 Fn (𝒫 𝐵m 𝒫 𝐵))
119, 10syl 17 . . . 4 ((𝜑𝐵 ∈ V) → 𝐹 Fn (𝒫 𝐵m 𝒫 𝐵))
12 neicvg.p . . . . . 6 𝑃 = (𝑛 ∈ V ↦ (𝑝 ∈ (𝒫 𝑛m 𝒫 𝑛) ↦ (𝑜 ∈ 𝒫 𝑛 ↦ (𝑛 ∖ (𝑝‘(𝑛𝑜))))))
1312, 1, 6dssmapf1od 44602 . . . . 5 ((𝜑𝐵 ∈ V) → 𝐷:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵))
14 f1of 6808 . . . . 5 (𝐷:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵) → 𝐷:(𝒫 𝐵m 𝒫 𝐵)⟶(𝒫 𝐵m 𝒫 𝐵))
1513, 14syl 17 . . . 4 ((𝜑𝐵 ∈ V) → 𝐷:(𝒫 𝐵m 𝒫 𝐵)⟶(𝒫 𝐵m 𝒫 𝐵))
16 neicvg.g . . . . 5 𝐺 = (𝐵𝑂𝒫 𝐵)
175, 6, 7, 16fsovfd 44593 . . . 4 ((𝜑𝐵 ∈ V) → 𝐺:(𝒫 𝒫 𝐵m 𝐵)⟶(𝒫 𝐵m 𝒫 𝐵))
182breqi 5108 . . . . . 6 (𝑁𝐻𝑀𝑁(𝐹 ∘ (𝐷𝐺))𝑀)
193, 18sylib 220 . . . . 5 (𝜑𝑁(𝐹 ∘ (𝐷𝐺))𝑀)
2019adantr 484 . . . 4 ((𝜑𝐵 ∈ V) → 𝑁(𝐹 ∘ (𝐷𝐺))𝑀)
2111, 15, 17, 20brcofffn 44612 . . 3 ((𝜑𝐵 ∈ V) → (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀))
224, 21mpdan 697 . 2 (𝜑 → (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀))
23 simpr2 1210 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)))
24 neicvgel.x . . . . 5 (𝜑𝑋𝐵)
2524adantr 484 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝑋𝐵)
26 neicvgel.s . . . . 5 (𝜑𝑆 ∈ 𝒫 𝐵)
2726adantr 484 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝑆 ∈ 𝒫 𝐵)
2812, 1, 23, 25, 27ntrclselnel1 44638 . . 3 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑋 ∈ ((𝐺𝑁)‘𝑆) ↔ ¬ 𝑋 ∈ ((𝐷‘(𝐺𝑁))‘(𝐵𝑆))))
29 eqid 2764 . . . 4 (𝒫 𝐵𝑂𝐵) = (𝒫 𝐵𝑂𝐵)
30 simpr1 1209 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝑁𝐺(𝐺𝑁))
3116breqi 5108 . . . . . . 7 (𝑁𝐺(𝐺𝑁) ↔ 𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁))
3231a1i 11 . . . . . 6 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑁𝐺(𝐺𝑁) ↔ 𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁)))
334adantr 484 . . . . . . 7 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝐵 ∈ V)
34 id 22 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ V)
35 pwexg 5337 . . . . . . . 8 (𝐵 ∈ V → 𝒫 𝐵 ∈ V)
36 eqid 2764 . . . . . . . 8 (𝐵𝑂𝒫 𝐵) = (𝐵𝑂𝒫 𝐵)
375, 34, 35, 36fsovf1od 44597 . . . . . . 7 (𝐵 ∈ V → (𝐵𝑂𝒫 𝐵):(𝒫 𝒫 𝐵m 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵))
38 f1orel 6811 . . . . . . 7 ((𝐵𝑂𝒫 𝐵):(𝒫 𝒫 𝐵m 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵) → Rel (𝐵𝑂𝒫 𝐵))
39 relbrcnvg 6096 . . . . . . 7 (Rel (𝐵𝑂𝒫 𝐵) → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁)))
4033, 37, 38, 394syl 19 . . . . . 6 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁)))
415, 34, 35, 36, 29fsovcnvd 44595 . . . . . . . 8 (𝐵 ∈ V → (𝐵𝑂𝒫 𝐵) = (𝒫 𝐵𝑂𝐵))
4241breqd 5113 . . . . . . 7 (𝐵 ∈ V → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁 ↔ (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁))
4333, 42syl 17 . . . . . 6 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁 ↔ (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁))
4432, 40, 433bitr2d 309 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑁𝐺(𝐺𝑁) ↔ (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁))
4530, 44mpbid 234 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁)
465, 29, 45, 25, 27ntrneiel 44662 . . 3 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑋 ∈ ((𝐺𝑁)‘𝑆) ↔ 𝑆 ∈ (𝑁𝑋)))
47 simpr3 1211 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐷‘(𝐺𝑁))𝐹𝑀)
48 difssd 4092 . . . . . . 7 (𝜑 → (𝐵𝑆) ⊆ 𝐵)
494, 48sselpwd 5286 . . . . . 6 (𝜑 → (𝐵𝑆) ∈ 𝒫 𝐵)
5049adantr 484 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐵𝑆) ∈ 𝒫 𝐵)
515, 8, 47, 25, 50ntrneiel 44662 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑋 ∈ ((𝐷‘(𝐺𝑁))‘(𝐵𝑆)) ↔ (𝐵𝑆) ∈ (𝑀𝑋)))
5251notbid 320 . . 3 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (¬ 𝑋 ∈ ((𝐷‘(𝐺𝑁))‘(𝐵𝑆)) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
5328, 46, 523bitr3d 311 . 2 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑆 ∈ (𝑁𝑋) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
5422, 53mpdan 697 1 (𝜑 → (𝑆 ∈ (𝑁𝑋) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 399  w3a 1099   = wceq 1562  wcel 2144  {crab 3416  Vcvv 3456  cdif 3903  𝒫 cpw 4557   class class class wbr 5102  cmpt 5183  ccnv 5648  ccom 5653  Rel wrel 5654   Fn wfn 6518  wf 6519  1-1-ontowf1o 6522  cfv 6523  (class class class)co 7398  cmpo 7400  m cmap 8810
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-rep 5229  ax-sep 5248  ax-nul 5258  ax-pow 5324  ax-pr 5392  ax-un 7720
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3079  df-rex 3089  df-reu 3370  df-rab 3417  df-v 3458  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4288  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5544  df-xp 5655  df-rel 5656  df-cnv 5657  df-co 5658  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662  df-iota 6479  df-fun 6525  df-fn 6526  df-f 6527  df-f1 6528  df-fo 6529  df-f1o 6530  df-fv 6531  df-ov 7401  df-oprab 7402  df-mpo 7403  df-1st 7972  df-2nd 7973  df-map 8812
This theorem is referenced by:  neicvgel2  44701  neicvgfv  44702
  Copyright terms: Public domain W3C validator