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

Theorem ntrclsk4 41571
Description: Idempotence of the interior function is equivalent to idempotence of the closure function. (Contributed by RP, 10-Jul-2021.)
Hypotheses
Ref Expression
ntrcls.o 𝑂 = (𝑖 ∈ V ↦ (𝑘 ∈ (𝒫 𝑖m 𝒫 𝑖) ↦ (𝑗 ∈ 𝒫 𝑖 ↦ (𝑖 ∖ (𝑘‘(𝑖𝑗))))))
ntrcls.d 𝐷 = (𝑂𝐵)
ntrcls.r (𝜑𝐼𝐷𝐾)
Assertion
Ref Expression
ntrclsk4 (𝜑 → (∀𝑠 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ ∀𝑠 ∈ 𝒫 𝐵(𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
Distinct variable groups:   𝐵,𝑖,𝑗,𝑘,𝑠   𝑗,𝐼,𝑘,𝑠   𝑗,𝐾   𝜑,𝑖,𝑗,𝑘,𝑠
Allowed substitution hints:   𝐷(𝑖,𝑗,𝑘,𝑠)   𝐼(𝑖)   𝐾(𝑖,𝑘,𝑠)   𝑂(𝑖,𝑗,𝑘,𝑠)

Proof of Theorem ntrclsk4
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 2fveq3 6761 . . . 4 (𝑠 = 𝑡 → (𝐼‘(𝐼𝑠)) = (𝐼‘(𝐼𝑡)))
2 fveq2 6756 . . . 4 (𝑠 = 𝑡 → (𝐼𝑠) = (𝐼𝑡))
31, 2eqeq12d 2754 . . 3 (𝑠 = 𝑡 → ((𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ (𝐼‘(𝐼𝑡)) = (𝐼𝑡)))
43cbvralvw 3372 . 2 (∀𝑠 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ ∀𝑡 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑡)) = (𝐼𝑡))
5 ntrcls.d . . . . 5 𝐷 = (𝑂𝐵)
6 ntrcls.r . . . . 5 (𝜑𝐼𝐷𝐾)
75, 6ntrclsrcomplex 41534 . . . 4 (𝜑 → (𝐵𝑠) ∈ 𝒫 𝐵)
87adantr 480 . . 3 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵𝑠) ∈ 𝒫 𝐵)
95, 6ntrclsrcomplex 41534 . . . . 5 (𝜑 → (𝐵𝑡) ∈ 𝒫 𝐵)
109adantr 480 . . . 4 ((𝜑𝑡 ∈ 𝒫 𝐵) → (𝐵𝑡) ∈ 𝒫 𝐵)
11 difeq2 4047 . . . . . 6 (𝑠 = (𝐵𝑡) → (𝐵𝑠) = (𝐵 ∖ (𝐵𝑡)))
1211eqeq2d 2749 . . . . 5 (𝑠 = (𝐵𝑡) → (𝑡 = (𝐵𝑠) ↔ 𝑡 = (𝐵 ∖ (𝐵𝑡))))
1312adantl 481 . . . 4 (((𝜑𝑡 ∈ 𝒫 𝐵) ∧ 𝑠 = (𝐵𝑡)) → (𝑡 = (𝐵𝑠) ↔ 𝑡 = (𝐵 ∖ (𝐵𝑡))))
14 elpwi 4539 . . . . . . 7 (𝑡 ∈ 𝒫 𝐵𝑡𝐵)
15 dfss4 4189 . . . . . . 7 (𝑡𝐵 ↔ (𝐵 ∖ (𝐵𝑡)) = 𝑡)
1614, 15sylib 217 . . . . . 6 (𝑡 ∈ 𝒫 𝐵 → (𝐵 ∖ (𝐵𝑡)) = 𝑡)
1716eqcomd 2744 . . . . 5 (𝑡 ∈ 𝒫 𝐵𝑡 = (𝐵 ∖ (𝐵𝑡)))
1817adantl 481 . . . 4 ((𝜑𝑡 ∈ 𝒫 𝐵) → 𝑡 = (𝐵 ∖ (𝐵𝑡)))
1910, 13, 18rspcedvd 3555 . . 3 ((𝜑𝑡 ∈ 𝒫 𝐵) → ∃𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠))
20 2fveq3 6761 . . . . . 6 (𝑡 = (𝐵𝑠) → (𝐼‘(𝐼𝑡)) = (𝐼‘(𝐼‘(𝐵𝑠))))
21 fveq2 6756 . . . . . 6 (𝑡 = (𝐵𝑠) → (𝐼𝑡) = (𝐼‘(𝐵𝑠)))
2220, 21eqeq12d 2754 . . . . 5 (𝑡 = (𝐵𝑠) → ((𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ (𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠))))
23223ad2ant3 1133 . . . 4 ((𝜑𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠)) → ((𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ (𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠))))
24 ntrcls.o . . . . . . . . . . . 12 𝑂 = (𝑖 ∈ V ↦ (𝑘 ∈ (𝒫 𝑖m 𝒫 𝑖) ↦ (𝑗 ∈ 𝒫 𝑖 ↦ (𝑖 ∖ (𝑘‘(𝑖𝑗))))))
2524, 5, 6ntrclsiex 41552 . . . . . . . . . . 11 (𝜑𝐼 ∈ (𝒫 𝐵m 𝒫 𝐵))
26 elmapi 8595 . . . . . . . . . . 11 (𝐼 ∈ (𝒫 𝐵m 𝒫 𝐵) → 𝐼:𝒫 𝐵⟶𝒫 𝐵)
2725, 26syl 17 . . . . . . . . . 10 (𝜑𝐼:𝒫 𝐵⟶𝒫 𝐵)
2827, 7ffvelrnd 6944 . . . . . . . . . 10 (𝜑 → (𝐼‘(𝐵𝑠)) ∈ 𝒫 𝐵)
2927, 28ffvelrnd 6944 . . . . . . . . 9 (𝜑 → (𝐼‘(𝐼‘(𝐵𝑠))) ∈ 𝒫 𝐵)
3029elpwid 4541 . . . . . . . 8 (𝜑 → (𝐼‘(𝐼‘(𝐵𝑠))) ⊆ 𝐵)
3128elpwid 4541 . . . . . . . 8 (𝜑 → (𝐼‘(𝐵𝑠)) ⊆ 𝐵)
32 rcompleq 4226 . . . . . . . 8 (((𝐼‘(𝐼‘(𝐵𝑠))) ⊆ 𝐵 ∧ (𝐼‘(𝐵𝑠)) ⊆ 𝐵) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
3330, 31, 32syl2anc 583 . . . . . . 7 (𝜑 → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
3433adantr 480 . . . . . 6 ((𝜑𝑠 ∈ 𝒫 𝐵) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
3524, 5, 6ntrclsnvobr 41551 . . . . . . . . . 10 (𝜑𝐾𝐷𝐼)
3635adantr 480 . . . . . . . . 9 ((𝜑𝑠 ∈ 𝒫 𝐵) → 𝐾𝐷𝐼)
3724, 5, 35ntrclsiex 41552 . . . . . . . . . . 11 (𝜑𝐾 ∈ (𝒫 𝐵m 𝒫 𝐵))
38 elmapi 8595 . . . . . . . . . . 11 (𝐾 ∈ (𝒫 𝐵m 𝒫 𝐵) → 𝐾:𝒫 𝐵⟶𝒫 𝐵)
3937, 38syl 17 . . . . . . . . . 10 (𝜑𝐾:𝒫 𝐵⟶𝒫 𝐵)
4039ffvelrnda 6943 . . . . . . . . 9 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾𝑠) ∈ 𝒫 𝐵)
4124, 5, 36, 40ntrclsfv 41558 . . . . . . . 8 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾‘(𝐾𝑠)) = (𝐵 ∖ (𝐼‘(𝐵 ∖ (𝐾𝑠)))))
42 simpr 484 . . . . . . . . . . . . 13 ((𝜑𝑠 ∈ 𝒫 𝐵) → 𝑠 ∈ 𝒫 𝐵)
4324, 5, 36, 42ntrclsfv 41558 . . . . . . . . . . . 12 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾𝑠) = (𝐵 ∖ (𝐼‘(𝐵𝑠))))
4443difeq2d 4053 . . . . . . . . . . 11 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐾𝑠)) = (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
45 dfss4 4189 . . . . . . . . . . . . 13 ((𝐼‘(𝐵𝑠)) ⊆ 𝐵 ↔ (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))) = (𝐼‘(𝐵𝑠)))
4631, 45sylib 217 . . . . . . . . . . . 12 (𝜑 → (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))) = (𝐼‘(𝐵𝑠)))
4746adantr 480 . . . . . . . . . . 11 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))) = (𝐼‘(𝐵𝑠)))
4844, 47eqtrd 2778 . . . . . . . . . 10 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐾𝑠)) = (𝐼‘(𝐵𝑠)))
4948fveq2d 6760 . . . . . . . . 9 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐼‘(𝐵 ∖ (𝐾𝑠))) = (𝐼‘(𝐼‘(𝐵𝑠))))
5049difeq2d 4053 . . . . . . . 8 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐼‘(𝐵 ∖ (𝐾𝑠)))) = (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))))
5141, 50eqtrd 2778 . . . . . . 7 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾‘(𝐾𝑠)) = (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))))
5251, 43eqeq12d 2754 . . . . . 6 ((𝜑𝑠 ∈ 𝒫 𝐵) → ((𝐾‘(𝐾𝑠)) = (𝐾𝑠) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
5334, 52bitr4d 281 . . . . 5 ((𝜑𝑠 ∈ 𝒫 𝐵) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
54533adant3 1130 . . . 4 ((𝜑𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠)) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
5523, 54bitrd 278 . . 3 ((𝜑𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠)) → ((𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ (𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
568, 19, 55ralxfrd2 5330 . 2 (𝜑 → (∀𝑡 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ ∀𝑠 ∈ 𝒫 𝐵(𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
574, 56syl5bb 282 1 (𝜑 → (∀𝑠 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ ∀𝑠 ∈ 𝒫 𝐵(𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cdif 3880  wss 3883  𝒫 cpw 4530   class class class wbr 5070  cmpt 5153  wf 6414  cfv 6418  (class class class)co 7255  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: (None)
  Copyright terms: Public domain W3C validator