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 44771
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 44764 . . 3 (𝜑𝐵 ∈ V)
5 neicvg.o . . . . . 6 𝑂 = (𝑖 ∈ V, 𝑗 ∈ V ↦ (𝑘 ∈ (𝒫 𝑗m 𝑖) ↦ (𝑙𝑗 ↦ {𝑚𝑖𝑙 ∈ (𝑘𝑚)})))
6 simpr 489 . . . . . . 7 ((𝜑𝐵 ∈ V) → 𝐵 ∈ V)
76pwexd 5351 . . . . . 6 ((𝜑𝐵 ∈ V) → 𝒫 𝐵 ∈ V)
8 neicvg.f . . . . . 6 𝐹 = (𝒫 𝐵𝑂𝐵)
95, 7, 6, 8fsovf1od 44668 . . . . 5 ((𝜑𝐵 ∈ V) → 𝐹:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝒫 𝐵m 𝐵))
10 f1ofn 6822 . . . . 5 (𝐹:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝒫 𝐵m 𝐵) → 𝐹 Fn (𝒫 𝐵m 𝒫 𝐵))
119, 10syl 18 . . . 4 ((𝜑𝐵 ∈ V) → 𝐹 Fn (𝒫 𝐵m 𝒫 𝐵))
12 neicvg.p . . . . . 6 𝑃 = (𝑛 ∈ V ↦ (𝑝 ∈ (𝒫 𝑛m 𝒫 𝑛) ↦ (𝑜 ∈ 𝒫 𝑛 ↦ (𝑛 ∖ (𝑝‘(𝑛𝑜))))))
1312, 1, 6dssmapf1od 44673 . . . . 5 ((𝜑𝐵 ∈ V) → 𝐷:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵))
14 f1of 6821 . . . . 5 (𝐷:(𝒫 𝐵m 𝒫 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵) → 𝐷:(𝒫 𝐵m 𝒫 𝐵)⟶(𝒫 𝐵m 𝒫 𝐵))
1513, 14syl 18 . . . 4 ((𝜑𝐵 ∈ V) → 𝐷:(𝒫 𝐵m 𝒫 𝐵)⟶(𝒫 𝐵m 𝒫 𝐵))
16 neicvg.g . . . . 5 𝐺 = (𝐵𝑂𝒫 𝐵)
175, 6, 7, 16fsovfd 44664 . . . 4 ((𝜑𝐵 ∈ V) → 𝐺:(𝒫 𝒫 𝐵m 𝐵)⟶(𝒫 𝐵m 𝒫 𝐵))
182breqi 5119 . . . . . 6 (𝑁𝐻𝑀𝑁(𝐹 ∘ (𝐷𝐺))𝑀)
193, 18sylib 221 . . . . 5 (𝜑𝑁(𝐹 ∘ (𝐷𝐺))𝑀)
2019adantr 485 . . . 4 ((𝜑𝐵 ∈ V) → 𝑁(𝐹 ∘ (𝐷𝐺))𝑀)
2111, 15, 17, 20brcofffn 44683 . . 3 ((𝜑𝐵 ∈ V) → (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀))
224, 21mpdan 699 . 2 (𝜑 → (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀))
23 simpr2 1212 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)))
24 neicvgel.x . . . . 5 (𝜑𝑋𝐵)
2524adantr 485 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝑋𝐵)
26 neicvgel.s . . . . 5 (𝜑𝑆 ∈ 𝒫 𝐵)
2726adantr 485 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝑆 ∈ 𝒫 𝐵)
2812, 1, 23, 25, 27ntrclselnel1 44709 . . 3 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑋 ∈ ((𝐺𝑁)‘𝑆) ↔ ¬ 𝑋 ∈ ((𝐷‘(𝐺𝑁))‘(𝐵𝑆))))
29 eqid 2769 . . . 4 (𝒫 𝐵𝑂𝐵) = (𝒫 𝐵𝑂𝐵)
30 simpr1 1211 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝑁𝐺(𝐺𝑁))
3116breqi 5119 . . . . . . 7 (𝑁𝐺(𝐺𝑁) ↔ 𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁))
3231a1i 11 . . . . . 6 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑁𝐺(𝐺𝑁) ↔ 𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁)))
334adantr 485 . . . . . . 7 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → 𝐵 ∈ V)
34 id 23 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ V)
35 pwexg 5350 . . . . . . . 8 (𝐵 ∈ V → 𝒫 𝐵 ∈ V)
36 eqid 2769 . . . . . . . 8 (𝐵𝑂𝒫 𝐵) = (𝐵𝑂𝒫 𝐵)
375, 34, 35, 36fsovf1od 44668 . . . . . . 7 (𝐵 ∈ V → (𝐵𝑂𝒫 𝐵):(𝒫 𝒫 𝐵m 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵))
38 f1orel 6824 . . . . . . 7 ((𝐵𝑂𝒫 𝐵):(𝒫 𝒫 𝐵m 𝐵)–1-1-onto→(𝒫 𝐵m 𝒫 𝐵) → Rel (𝐵𝑂𝒫 𝐵))
39 relbrcnvg 6108 . . . . . . 7 (Rel (𝐵𝑂𝒫 𝐵) → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁)))
4033, 37, 38, 394syl 20 . . . . . 6 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁𝑁(𝐵𝑂𝒫 𝐵)(𝐺𝑁)))
415, 34, 35, 36, 29fsovcnvd 44666 . . . . . . . 8 (𝐵 ∈ V → (𝐵𝑂𝒫 𝐵) = (𝒫 𝐵𝑂𝐵))
4241breqd 5124 . . . . . . 7 (𝐵 ∈ V → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁 ↔ (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁))
4333, 42syl 18 . . . . . 6 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → ((𝐺𝑁)(𝐵𝑂𝒫 𝐵)𝑁 ↔ (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁))
4432, 40, 433bitr2d 310 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑁𝐺(𝐺𝑁) ↔ (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁))
4530, 44mpbid 235 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐺𝑁)(𝒫 𝐵𝑂𝐵)𝑁)
465, 29, 45, 25, 27ntrneiel 44733 . . 3 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑋 ∈ ((𝐺𝑁)‘𝑆) ↔ 𝑆 ∈ (𝑁𝑋)))
47 simpr3 1213 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐷‘(𝐺𝑁))𝐹𝑀)
48 difssd 4099 . . . . . . 7 (𝜑 → (𝐵𝑆) ⊆ 𝐵)
494, 48sselpwd 5299 . . . . . 6 (𝜑 → (𝐵𝑆) ∈ 𝒫 𝐵)
5049adantr 485 . . . . 5 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝐵𝑆) ∈ 𝒫 𝐵)
515, 8, 47, 25, 50ntrneiel 44733 . . . 4 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑋 ∈ ((𝐷‘(𝐺𝑁))‘(𝐵𝑆)) ↔ (𝐵𝑆) ∈ (𝑀𝑋)))
5251notbid 321 . . 3 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (¬ 𝑋 ∈ ((𝐷‘(𝐺𝑁))‘(𝐵𝑆)) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
5328, 46, 523bitr3d 312 . 2 ((𝜑 ∧ (𝑁𝐺(𝐺𝑁) ∧ (𝐺𝑁)𝐷(𝐷‘(𝐺𝑁)) ∧ (𝐷‘(𝐺𝑁))𝐹𝑀)) → (𝑆 ∈ (𝑁𝑋) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
5422, 53mpdan 699 1 (𝜑 → (𝑆 ∈ (𝑁𝑋) ↔ ¬ (𝐵𝑆) ∈ (𝑀𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400  w3a 1101   = wceq 1567  wcel 2149  {crab 3423  Vcvv 3463  cdif 3910  𝒫 cpw 4567   class class class wbr 5113  cmpt 5196  ccnv 5661  ccom 5666  Rel wrel 5667   Fn wfn 6532  wf 6533  1-1-ontowf1o 6536  cfv 6537  (class class class)co 7411  cmpo 7413  m cmap 8824
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-rep 5242  ax-sep 5261  ax-nul 5271  ax-pow 5337  ax-pr 5405  ax-un 7733
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-reu 3377  df-rab 3424  df-v 3465  df-sbc 3754  df-csb 3862  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4877  df-iun 4962  df-br 5114  df-opab 5178  df-mpt 5197  df-id 5557  df-xp 5668  df-rel 5669  df-cnv 5670  df-co 5671  df-dm 5672  df-rn 5673  df-res 5674  df-ima 5675  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7414  df-oprab 7415  df-mpo 7416  df-1st 7986  df-2nd 7987  df-map 8826
This theorem is referenced by:  neicvgel2  44772  neicvgfv  44773
  Copyright terms: Public domain W3C validator