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

Theorem clsk1indlem4 41543
Description: The ansatz closure function (𝑟 ∈ 𝒫 3o ↦ if(𝑟 = {∅}, {∅, 1o}, 𝑟)) has the K4 property of idempotence. (Contributed by RP, 6-Jul-2021.)
Hypothesis
Ref Expression
clsk1indlem.k 𝐾 = (𝑟 ∈ 𝒫 3o ↦ if(𝑟 = {∅}, {∅, 1o}, 𝑟))
Assertion
Ref Expression
clsk1indlem4 𝑠 ∈ 𝒫 3o(𝐾‘(𝐾𝑠)) = (𝐾𝑠)
Distinct variable group:   𝑠,𝑟
Allowed substitution hints:   𝐾(𝑠,𝑟)

Proof of Theorem clsk1indlem4
StepHypRef Expression
1 tpex 7575 . . . . . . . . . 10 {∅, 1o, 2o} ∈ V
21a1i 11 . . . . . . . . 9 (⊤ → {∅, 1o, 2o} ∈ V)
3 snsstp1 4746 . . . . . . . . . . . 12 {∅} ⊆ {∅, 1o, 2o}
43a1i 11 . . . . . . . . . . 11 (⊤ → {∅} ⊆ {∅, 1o, 2o})
5 0ex 5226 . . . . . . . . . . . 12 ∅ ∈ V
65snss 4716 . . . . . . . . . . 11 (∅ ∈ {∅, 1o, 2o} ↔ {∅} ⊆ {∅, 1o, 2o})
74, 6sylibr 233 . . . . . . . . . 10 (⊤ → ∅ ∈ {∅, 1o, 2o})
8 snsstp2 4747 . . . . . . . . . . . 12 {1o} ⊆ {∅, 1o, 2o}
98a1i 11 . . . . . . . . . . 11 (⊤ → {1o} ⊆ {∅, 1o, 2o})
10 1oex 8280 . . . . . . . . . . . 12 1o ∈ V
1110snss 4716 . . . . . . . . . . 11 (1o ∈ {∅, 1o, 2o} ↔ {1o} ⊆ {∅, 1o, 2o})
129, 11sylibr 233 . . . . . . . . . 10 (⊤ → 1o ∈ {∅, 1o, 2o})
137, 12prssd 4752 . . . . . . . . 9 (⊤ → {∅, 1o} ⊆ {∅, 1o, 2o})
142, 13sselpwd 5245 . . . . . . . 8 (⊤ → {∅, 1o} ∈ 𝒫 {∅, 1o, 2o})
1514mptru 1546 . . . . . . 7 {∅, 1o} ∈ 𝒫 {∅, 1o, 2o}
16 df3o2 41523 . . . . . . . 8 3o = {∅, 1o, 2o}
1716pweqi 4548 . . . . . . 7 𝒫 3o = 𝒫 {∅, 1o, 2o}
1815, 17eleqtrri 2838 . . . . . 6 {∅, 1o} ∈ 𝒫 3o
1918a1i 11 . . . . 5 (𝑠 ∈ 𝒫 3o → {∅, 1o} ∈ 𝒫 3o)
20 id 22 . . . . 5 (𝑠 ∈ 𝒫 3o𝑠 ∈ 𝒫 3o)
2119, 20ifcld 4502 . . . 4 (𝑠 ∈ 𝒫 3o → if(𝑠 = {∅}, {∅, 1o}, 𝑠) ∈ 𝒫 3o)
22 eqeq1 2742 . . . . . . . 8 (𝑟 = if(𝑠 = {∅}, {∅, 1o}, 𝑠) → (𝑟 = {∅} ↔ if(𝑠 = {∅}, {∅, 1o}, 𝑠) = {∅}))
23 eqcom 2745 . . . . . . . . 9 (if(𝑠 = {∅}, {∅, 1o}, 𝑠) = {∅} ↔ {∅} = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
24 eqif 4497 . . . . . . . . 9 ({∅} = if(𝑠 = {∅}, {∅, 1o}, 𝑠) ↔ ((𝑠 = {∅} ∧ {∅} = {∅, 1o}) ∨ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠)))
2523, 24bitri 274 . . . . . . . 8 (if(𝑠 = {∅}, {∅, 1o}, 𝑠) = {∅} ↔ ((𝑠 = {∅} ∧ {∅} = {∅, 1o}) ∨ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠)))
2622, 25bitrdi 286 . . . . . . 7 (𝑟 = if(𝑠 = {∅}, {∅, 1o}, 𝑠) → (𝑟 = {∅} ↔ ((𝑠 = {∅} ∧ {∅} = {∅, 1o}) ∨ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠))))
27 id 22 . . . . . . 7 (𝑟 = if(𝑠 = {∅}, {∅, 1o}, 𝑠) → 𝑟 = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
2826, 27ifbieq2d 4482 . . . . . 6 (𝑟 = if(𝑠 = {∅}, {∅, 1o}, 𝑠) → if(𝑟 = {∅}, {∅, 1o}, 𝑟) = if(((𝑠 = {∅} ∧ {∅} = {∅, 1o}) ∨ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠)), {∅, 1o}, if(𝑠 = {∅}, {∅, 1o}, 𝑠)))
29 1n0 8286 . . . . . . . . . 10 1o ≠ ∅
30 dfsn2 4571 . . . . . . . . . . . 12 {∅} = {∅, ∅}
3130eqeq1i 2743 . . . . . . . . . . 11 ({∅} = {∅, 1o} ↔ {∅, ∅} = {∅, 1o})
325a1i 11 . . . . . . . . . . . . 13 (⊤ → ∅ ∈ V)
33 1on 8274 . . . . . . . . . . . . . 14 1o ∈ On
3433a1i 11 . . . . . . . . . . . . 13 (⊤ → 1o ∈ On)
3532, 34preq2b 4775 . . . . . . . . . . . 12 (⊤ → ({∅, ∅} = {∅, 1o} ↔ ∅ = 1o))
3635mptru 1546 . . . . . . . . . . 11 ({∅, ∅} = {∅, 1o} ↔ ∅ = 1o)
37 eqcom 2745 . . . . . . . . . . 11 (∅ = 1o ↔ 1o = ∅)
3831, 36, 373bitri 296 . . . . . . . . . 10 ({∅} = {∅, 1o} ↔ 1o = ∅)
3929, 38nemtbir 3039 . . . . . . . . 9 ¬ {∅} = {∅, 1o}
4039intnan 486 . . . . . . . 8 ¬ (𝑠 = {∅} ∧ {∅} = {∅, 1o})
41 pm3.24 402 . . . . . . . . 9 ¬ (𝑠 = {∅} ∧ ¬ 𝑠 = {∅})
42 eqcom 2745 . . . . . . . . . 10 (𝑠 = {∅} ↔ {∅} = 𝑠)
4342anbi2ci 624 . . . . . . . . 9 ((𝑠 = {∅} ∧ ¬ 𝑠 = {∅}) ↔ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠))
4441, 43mtbi 321 . . . . . . . 8 ¬ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠)
4540, 44pm3.2ni 877 . . . . . . 7 ¬ ((𝑠 = {∅} ∧ {∅} = {∅, 1o}) ∨ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠))
4645iffalsei 4466 . . . . . 6 if(((𝑠 = {∅} ∧ {∅} = {∅, 1o}) ∨ (¬ 𝑠 = {∅} ∧ {∅} = 𝑠)), {∅, 1o}, if(𝑠 = {∅}, {∅, 1o}, 𝑠)) = if(𝑠 = {∅}, {∅, 1o}, 𝑠)
4728, 46eqtrdi 2795 . . . . 5 (𝑟 = if(𝑠 = {∅}, {∅, 1o}, 𝑠) → if(𝑟 = {∅}, {∅, 1o}, 𝑟) = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
48 clsk1indlem.k . . . . 5 𝐾 = (𝑟 ∈ 𝒫 3o ↦ if(𝑟 = {∅}, {∅, 1o}, 𝑟))
49 prex 5350 . . . . . 6 {∅, 1o} ∈ V
50 vex 3426 . . . . . 6 𝑠 ∈ V
5149, 50ifex 4506 . . . . 5 if(𝑠 = {∅}, {∅, 1o}, 𝑠) ∈ V
5247, 48, 51fvmpt 6857 . . . 4 (if(𝑠 = {∅}, {∅, 1o}, 𝑠) ∈ 𝒫 3o → (𝐾‘if(𝑠 = {∅}, {∅, 1o}, 𝑠)) = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
5321, 52syl 17 . . 3 (𝑠 ∈ 𝒫 3o → (𝐾‘if(𝑠 = {∅}, {∅, 1o}, 𝑠)) = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
54 eqeq1 2742 . . . . . 6 (𝑟 = 𝑠 → (𝑟 = {∅} ↔ 𝑠 = {∅}))
55 id 22 . . . . . 6 (𝑟 = 𝑠𝑟 = 𝑠)
5654, 55ifbieq2d 4482 . . . . 5 (𝑟 = 𝑠 → if(𝑟 = {∅}, {∅, 1o}, 𝑟) = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
5756, 48, 51fvmpt 6857 . . . 4 (𝑠 ∈ 𝒫 3o → (𝐾𝑠) = if(𝑠 = {∅}, {∅, 1o}, 𝑠))
5857fveq2d 6760 . . 3 (𝑠 ∈ 𝒫 3o → (𝐾‘(𝐾𝑠)) = (𝐾‘if(𝑠 = {∅}, {∅, 1o}, 𝑠)))
5953, 58, 573eqtr4d 2788 . 2 (𝑠 ∈ 𝒫 3o → (𝐾‘(𝐾𝑠)) = (𝐾𝑠))
6059rgen 3073 1 𝑠 ∈ 𝒫 3o(𝐾‘(𝐾𝑠)) = (𝐾𝑠)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 395  wo 843   = wceq 1539  wtru 1540  wcel 2108  wral 3063  Vcvv 3422  wss 3883  c0 4253  ifcif 4456  𝒫 cpw 4530  {csn 4558  {cpr 4560  {ctp 4562  cmpt 5153  Oncon0 6251  cfv 6418  1oc1o 8260  2oc2o 8261  3oc3o 8262
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-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  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-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-ord 6254  df-on 6255  df-suc 6257  df-iota 6376  df-fun 6420  df-fv 6426  df-1o 8267  df-2o 8268  df-3o 8269
This theorem is referenced by:  clsk1independent  41545
  Copyright terms: Public domain W3C validator