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 41682
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 6779 . . . 4 (𝑠 = 𝑡 → (𝐼‘(𝐼𝑠)) = (𝐼‘(𝐼𝑡)))
2 fveq2 6774 . . . 4 (𝑠 = 𝑡 → (𝐼𝑠) = (𝐼𝑡))
31, 2eqeq12d 2754 . . 3 (𝑠 = 𝑡 → ((𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ (𝐼‘(𝐼𝑡)) = (𝐼𝑡)))
43cbvralvw 3383 . 2 (∀𝑠 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ ∀𝑡 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑡)) = (𝐼𝑡))
5 ntrcls.d . . . . 5 𝐷 = (𝑂𝐵)
6 ntrcls.r . . . . 5 (𝜑𝐼𝐷𝐾)
75, 6ntrclsrcomplex 41645 . . . 4 (𝜑 → (𝐵𝑠) ∈ 𝒫 𝐵)
87adantr 481 . . 3 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵𝑠) ∈ 𝒫 𝐵)
95, 6ntrclsrcomplex 41645 . . . . 5 (𝜑 → (𝐵𝑡) ∈ 𝒫 𝐵)
109adantr 481 . . . 4 ((𝜑𝑡 ∈ 𝒫 𝐵) → (𝐵𝑡) ∈ 𝒫 𝐵)
11 difeq2 4051 . . . . . 6 (𝑠 = (𝐵𝑡) → (𝐵𝑠) = (𝐵 ∖ (𝐵𝑡)))
1211eqeq2d 2749 . . . . 5 (𝑠 = (𝐵𝑡) → (𝑡 = (𝐵𝑠) ↔ 𝑡 = (𝐵 ∖ (𝐵𝑡))))
1312adantl 482 . . . 4 (((𝜑𝑡 ∈ 𝒫 𝐵) ∧ 𝑠 = (𝐵𝑡)) → (𝑡 = (𝐵𝑠) ↔ 𝑡 = (𝐵 ∖ (𝐵𝑡))))
14 elpwi 4542 . . . . . . 7 (𝑡 ∈ 𝒫 𝐵𝑡𝐵)
15 dfss4 4192 . . . . . . 7 (𝑡𝐵 ↔ (𝐵 ∖ (𝐵𝑡)) = 𝑡)
1614, 15sylib 217 . . . . . 6 (𝑡 ∈ 𝒫 𝐵 → (𝐵 ∖ (𝐵𝑡)) = 𝑡)
1716eqcomd 2744 . . . . 5 (𝑡 ∈ 𝒫 𝐵𝑡 = (𝐵 ∖ (𝐵𝑡)))
1817adantl 482 . . . 4 ((𝜑𝑡 ∈ 𝒫 𝐵) → 𝑡 = (𝐵 ∖ (𝐵𝑡)))
1910, 13, 18rspcedvd 3563 . . 3 ((𝜑𝑡 ∈ 𝒫 𝐵) → ∃𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠))
20 2fveq3 6779 . . . . . 6 (𝑡 = (𝐵𝑠) → (𝐼‘(𝐼𝑡)) = (𝐼‘(𝐼‘(𝐵𝑠))))
21 fveq2 6774 . . . . . 6 (𝑡 = (𝐵𝑠) → (𝐼𝑡) = (𝐼‘(𝐵𝑠)))
2220, 21eqeq12d 2754 . . . . 5 (𝑡 = (𝐵𝑠) → ((𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ (𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠))))
23223ad2ant3 1134 . . . 4 ((𝜑𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠)) → ((𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ (𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠))))
24 ntrcls.o . . . . . . . . . . . 12 𝑂 = (𝑖 ∈ V ↦ (𝑘 ∈ (𝒫 𝑖m 𝒫 𝑖) ↦ (𝑗 ∈ 𝒫 𝑖 ↦ (𝑖 ∖ (𝑘‘(𝑖𝑗))))))
2524, 5, 6ntrclsiex 41663 . . . . . . . . . . 11 (𝜑𝐼 ∈ (𝒫 𝐵m 𝒫 𝐵))
26 elmapi 8637 . . . . . . . . . . 11 (𝐼 ∈ (𝒫 𝐵m 𝒫 𝐵) → 𝐼:𝒫 𝐵⟶𝒫 𝐵)
2725, 26syl 17 . . . . . . . . . 10 (𝜑𝐼:𝒫 𝐵⟶𝒫 𝐵)
2827, 7ffvelrnd 6962 . . . . . . . . . 10 (𝜑 → (𝐼‘(𝐵𝑠)) ∈ 𝒫 𝐵)
2927, 28ffvelrnd 6962 . . . . . . . . 9 (𝜑 → (𝐼‘(𝐼‘(𝐵𝑠))) ∈ 𝒫 𝐵)
3029elpwid 4544 . . . . . . . 8 (𝜑 → (𝐼‘(𝐼‘(𝐵𝑠))) ⊆ 𝐵)
3128elpwid 4544 . . . . . . . 8 (𝜑 → (𝐼‘(𝐵𝑠)) ⊆ 𝐵)
32 rcompleq 4229 . . . . . . . 8 (((𝐼‘(𝐼‘(𝐵𝑠))) ⊆ 𝐵 ∧ (𝐼‘(𝐵𝑠)) ⊆ 𝐵) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
3330, 31, 32syl2anc 584 . . . . . . 7 (𝜑 → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
3433adantr 481 . . . . . 6 ((𝜑𝑠 ∈ 𝒫 𝐵) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
3524, 5, 6ntrclsnvobr 41662 . . . . . . . . . 10 (𝜑𝐾𝐷𝐼)
3635adantr 481 . . . . . . . . 9 ((𝜑𝑠 ∈ 𝒫 𝐵) → 𝐾𝐷𝐼)
3724, 5, 35ntrclsiex 41663 . . . . . . . . . . 11 (𝜑𝐾 ∈ (𝒫 𝐵m 𝒫 𝐵))
38 elmapi 8637 . . . . . . . . . . 11 (𝐾 ∈ (𝒫 𝐵m 𝒫 𝐵) → 𝐾:𝒫 𝐵⟶𝒫 𝐵)
3937, 38syl 17 . . . . . . . . . 10 (𝜑𝐾:𝒫 𝐵⟶𝒫 𝐵)
4039ffvelrnda 6961 . . . . . . . . 9 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾𝑠) ∈ 𝒫 𝐵)
4124, 5, 36, 40ntrclsfv 41669 . . . . . . . 8 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾‘(𝐾𝑠)) = (𝐵 ∖ (𝐼‘(𝐵 ∖ (𝐾𝑠)))))
42 simpr 485 . . . . . . . . . . . . 13 ((𝜑𝑠 ∈ 𝒫 𝐵) → 𝑠 ∈ 𝒫 𝐵)
4324, 5, 36, 42ntrclsfv 41669 . . . . . . . . . . . 12 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾𝑠) = (𝐵 ∖ (𝐼‘(𝐵𝑠))))
4443difeq2d 4057 . . . . . . . . . . 11 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐾𝑠)) = (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
45 dfss4 4192 . . . . . . . . . . . . 13 ((𝐼‘(𝐵𝑠)) ⊆ 𝐵 ↔ (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))) = (𝐼‘(𝐵𝑠)))
4631, 45sylib 217 . . . . . . . . . . . 12 (𝜑 → (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))) = (𝐼‘(𝐵𝑠)))
4746adantr 481 . . . . . . . . . . 11 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐵 ∖ (𝐼‘(𝐵𝑠)))) = (𝐼‘(𝐵𝑠)))
4844, 47eqtrd 2778 . . . . . . . . . 10 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐾𝑠)) = (𝐼‘(𝐵𝑠)))
4948fveq2d 6778 . . . . . . . . 9 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐼‘(𝐵 ∖ (𝐾𝑠))) = (𝐼‘(𝐼‘(𝐵𝑠))))
5049difeq2d 4057 . . . . . . . 8 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐵 ∖ (𝐼‘(𝐵 ∖ (𝐾𝑠)))) = (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))))
5141, 50eqtrd 2778 . . . . . . 7 ((𝜑𝑠 ∈ 𝒫 𝐵) → (𝐾‘(𝐾𝑠)) = (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))))
5251, 43eqeq12d 2754 . . . . . 6 ((𝜑𝑠 ∈ 𝒫 𝐵) → ((𝐾‘(𝐾𝑠)) = (𝐾𝑠) ↔ (𝐵 ∖ (𝐼‘(𝐼‘(𝐵𝑠)))) = (𝐵 ∖ (𝐼‘(𝐵𝑠)))))
5334, 52bitr4d 281 . . . . 5 ((𝜑𝑠 ∈ 𝒫 𝐵) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
54533adant3 1131 . . . 4 ((𝜑𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠)) → ((𝐼‘(𝐼‘(𝐵𝑠))) = (𝐼‘(𝐵𝑠)) ↔ (𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
5523, 54bitrd 278 . . 3 ((𝜑𝑠 ∈ 𝒫 𝐵𝑡 = (𝐵𝑠)) → ((𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ (𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
568, 19, 55ralxfrd2 5335 . 2 (𝜑 → (∀𝑡 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑡)) = (𝐼𝑡) ↔ ∀𝑠 ∈ 𝒫 𝐵(𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
574, 56bitrid 282 1 (𝜑 → (∀𝑠 ∈ 𝒫 𝐵(𝐼‘(𝐼𝑠)) = (𝐼𝑠) ↔ ∀𝑠 ∈ 𝒫 𝐵(𝐾‘(𝐾𝑠)) = (𝐾𝑠)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cdif 3884  wss 3887  𝒫 cpw 4533   class class class wbr 5074  cmpt 5157  wf 6429  cfv 6433  (class class class)co 7275  m cmap 8615
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-map 8617
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator