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

Theorem ntrneiel2 41585
Description: Membership in iterated interior of a set is equivalent to there existing a particular neighborhood of that member such that points are members of that neighborhood if and only if the set is a neighborhood of each of those points. (Contributed by RP, 11-Jul-2021.)
Hypotheses
Ref Expression
ntrnei.o 𝑂 = (𝑖 ∈ V, 𝑗 ∈ V ↦ (𝑘 ∈ (𝒫 𝑗m 𝑖) ↦ (𝑙𝑗 ↦ {𝑚𝑖𝑙 ∈ (𝑘𝑚)})))
ntrnei.f 𝐹 = (𝒫 𝐵𝑂𝐵)
ntrnei.r (𝜑𝐼𝐹𝑁)
ntrneiel2.x (𝜑𝑋𝐵)
ntrneiel2.s (𝜑𝑆 ∈ 𝒫 𝐵)
Assertion
Ref Expression
ntrneiel2 (𝜑 → (𝑋 ∈ (𝐼‘(𝐼𝑆)) ↔ ∃𝑢 ∈ (𝑁𝑋)∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦))))
Distinct variable groups:   𝐵,𝑖,𝑗,𝑘,𝑙,𝑚,𝑦   𝑢,𝐵,𝑦   𝑘,𝐼,𝑙,𝑚,𝑦   𝑢,𝑁,𝑦   𝑆,𝑚,𝑦   𝑢,𝑆   𝑋,𝑙,𝑚,𝑦   𝑢,𝑋   𝜑,𝑖,𝑗,𝑘,𝑙,𝑦   𝜑,𝑢
Allowed substitution hints:   𝜑(𝑚)   𝑆(𝑖,𝑗,𝑘,𝑙)   𝐹(𝑦,𝑢,𝑖,𝑗,𝑘,𝑚,𝑙)   𝐼(𝑢,𝑖,𝑗)   𝑁(𝑖,𝑗,𝑘,𝑚,𝑙)   𝑂(𝑦,𝑢,𝑖,𝑗,𝑘,𝑚,𝑙)   𝑋(𝑖,𝑗,𝑘)

Proof of Theorem ntrneiel2
StepHypRef Expression
1 ntrnei.o . . 3 𝑂 = (𝑖 ∈ V, 𝑗 ∈ V ↦ (𝑘 ∈ (𝒫 𝑗m 𝑖) ↦ (𝑙𝑗 ↦ {𝑚𝑖𝑙 ∈ (𝑘𝑚)})))
2 ntrnei.f . . 3 𝐹 = (𝒫 𝐵𝑂𝐵)
3 ntrnei.r . . 3 (𝜑𝐼𝐹𝑁)
4 ntrneiel2.x . . 3 (𝜑𝑋𝐵)
51, 2, 3ntrneiiex 41575 . . . . 5 (𝜑𝐼 ∈ (𝒫 𝐵m 𝒫 𝐵))
6 elmapi 8595 . . . . 5 (𝐼 ∈ (𝒫 𝐵m 𝒫 𝐵) → 𝐼:𝒫 𝐵⟶𝒫 𝐵)
75, 6syl 17 . . . 4 (𝜑𝐼:𝒫 𝐵⟶𝒫 𝐵)
8 ntrneiel2.s . . . 4 (𝜑𝑆 ∈ 𝒫 𝐵)
97, 8ffvelrnd 6944 . . 3 (𝜑 → (𝐼𝑆) ∈ 𝒫 𝐵)
101, 2, 3, 4, 9ntrneiel 41580 . 2 (𝜑 → (𝑋 ∈ (𝐼‘(𝐼𝑆)) ↔ (𝐼𝑆) ∈ (𝑁𝑋)))
111, 2, 3, 8ntrneifv4 41584 . . . 4 (𝜑 → (𝐼𝑆) = {𝑦𝐵𝑆 ∈ (𝑁𝑦)})
12 df-rab 3072 . . . 4 {𝑦𝐵𝑆 ∈ (𝑁𝑦)} = {𝑦 ∣ (𝑦𝐵𝑆 ∈ (𝑁𝑦))}
1311, 12eqtrdi 2795 . . 3 (𝜑 → (𝐼𝑆) = {𝑦 ∣ (𝑦𝐵𝑆 ∈ (𝑁𝑦))})
1413eleq1d 2823 . 2 (𝜑 → ((𝐼𝑆) ∈ (𝑁𝑋) ↔ {𝑦 ∣ (𝑦𝐵𝑆 ∈ (𝑁𝑦))} ∈ (𝑁𝑋)))
15 clabel 2884 . . . 4 ({𝑦 ∣ (𝑦𝐵𝑆 ∈ (𝑁𝑦))} ∈ (𝑁𝑋) ↔ ∃𝑢(𝑢 ∈ (𝑁𝑋) ∧ ∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
16 df-rex 3069 . . . 4 (∃𝑢 ∈ (𝑁𝑋)∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))) ↔ ∃𝑢(𝑢 ∈ (𝑁𝑋) ∧ ∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
1715, 16bitr4i 277 . . 3 ({𝑦 ∣ (𝑦𝐵𝑆 ∈ (𝑁𝑦))} ∈ (𝑁𝑋) ↔ ∃𝑢 ∈ (𝑁𝑋)∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))))
18 ibar 528 . . . . . . . 8 (𝑦𝐵 → (𝑆 ∈ (𝑁𝑦) ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))))
1918bibi2d 342 . . . . . . 7 (𝑦𝐵 → ((𝑦𝑢𝑆 ∈ (𝑁𝑦)) ↔ (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
2019ralbiia 3089 . . . . . 6 (∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦)) ↔ ∀𝑦𝐵 (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))))
21 ssv 3941 . . . . . . . 8 𝐵 ⊆ V
2221a1i 11 . . . . . . 7 ((𝜑𝑢 ∈ (𝑁𝑋)) → 𝐵 ⊆ V)
23 vex 3426 . . . . . . . . . 10 𝑦 ∈ V
24 eldif 3893 . . . . . . . . . 10 (𝑦 ∈ (V ∖ 𝐵) ↔ (𝑦 ∈ V ∧ ¬ 𝑦𝐵))
2523, 24mpbiran 705 . . . . . . . . 9 (𝑦 ∈ (V ∖ 𝐵) ↔ ¬ 𝑦𝐵)
261, 2, 3ntrneinex 41576 . . . . . . . . . . . . . . . . . 18 (𝜑𝑁 ∈ (𝒫 𝒫 𝐵m 𝐵))
27 elmapi 8595 . . . . . . . . . . . . . . . . . 18 (𝑁 ∈ (𝒫 𝒫 𝐵m 𝐵) → 𝑁:𝐵⟶𝒫 𝒫 𝐵)
2826, 27syl 17 . . . . . . . . . . . . . . . . 17 (𝜑𝑁:𝐵⟶𝒫 𝒫 𝐵)
2928, 4ffvelrnd 6944 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑁𝑋) ∈ 𝒫 𝒫 𝐵)
3029elpwid 4541 . . . . . . . . . . . . . . 15 (𝜑 → (𝑁𝑋) ⊆ 𝒫 𝐵)
3130sselda 3917 . . . . . . . . . . . . . 14 ((𝜑𝑢 ∈ (𝑁𝑋)) → 𝑢 ∈ 𝒫 𝐵)
3231elpwid 4541 . . . . . . . . . . . . 13 ((𝜑𝑢 ∈ (𝑁𝑋)) → 𝑢𝐵)
3332sseld 3916 . . . . . . . . . . . 12 ((𝜑𝑢 ∈ (𝑁𝑋)) → (𝑦𝑢𝑦𝐵))
3433con3dimp 408 . . . . . . . . . . 11 (((𝜑𝑢 ∈ (𝑁𝑋)) ∧ ¬ 𝑦𝐵) → ¬ 𝑦𝑢)
35 pm3.14 992 . . . . . . . . . . . . 13 ((¬ 𝑦𝐵 ∨ ¬ 𝑆 ∈ (𝑁𝑦)) → ¬ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))
3635orcs 871 . . . . . . . . . . . 12 𝑦𝐵 → ¬ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))
3736adantl 481 . . . . . . . . . . 11 (((𝜑𝑢 ∈ (𝑁𝑋)) ∧ ¬ 𝑦𝐵) → ¬ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))
3834, 372falsed 376 . . . . . . . . . 10 (((𝜑𝑢 ∈ (𝑁𝑋)) ∧ ¬ 𝑦𝐵) → (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))))
3938ex 412 . . . . . . . . 9 ((𝜑𝑢 ∈ (𝑁𝑋)) → (¬ 𝑦𝐵 → (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
4025, 39syl5bi 241 . . . . . . . 8 ((𝜑𝑢 ∈ (𝑁𝑋)) → (𝑦 ∈ (V ∖ 𝐵) → (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
4140ralrimiv 3106 . . . . . . 7 ((𝜑𝑢 ∈ (𝑁𝑋)) → ∀𝑦 ∈ (V ∖ 𝐵)(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))))
4222, 41raldifeq 4421 . . . . . 6 ((𝜑𝑢 ∈ (𝑁𝑋)) → (∀𝑦𝐵 (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))) ↔ ∀𝑦 ∈ V (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
4320, 42syl5bb 282 . . . . 5 ((𝜑𝑢 ∈ (𝑁𝑋)) → (∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦)) ↔ ∀𝑦 ∈ V (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦)))))
44 ralv 3446 . . . . 5 (∀𝑦 ∈ V (𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))) ↔ ∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))))
4543, 44bitr2di 287 . . . 4 ((𝜑𝑢 ∈ (𝑁𝑋)) → (∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))) ↔ ∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦))))
4645rexbidva 3224 . . 3 (𝜑 → (∃𝑢 ∈ (𝑁𝑋)∀𝑦(𝑦𝑢 ↔ (𝑦𝐵𝑆 ∈ (𝑁𝑦))) ↔ ∃𝑢 ∈ (𝑁𝑋)∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦))))
4717, 46syl5bb 282 . 2 (𝜑 → ({𝑦 ∣ (𝑦𝐵𝑆 ∈ (𝑁𝑦))} ∈ (𝑁𝑋) ↔ ∃𝑢 ∈ (𝑁𝑋)∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦))))
4810, 14, 473bitrd 304 1 (𝜑 → (𝑋 ∈ (𝐼‘(𝐼𝑆)) ↔ ∃𝑢 ∈ (𝑁𝑋)∀𝑦𝐵 (𝑦𝑢𝑆 ∈ (𝑁𝑦))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  cdif 3880  wss 3883  𝒫 cpw 4530   class class class wbr 5070  cmpt 5153  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257  m cmap 8573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-map 8575
This theorem is referenced by:  ntrneik4  41600
  Copyright terms: Public domain W3C validator