Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  tocycf Structured version   Visualization version   GIF version

Theorem tocycf 33909
Description: The permutation cycle builder as a function. (Contributed by Thierry Arnoux, 25-Sep-2023.)
Hypotheses
Ref Expression
tocycf.c 𝐶 = (toCyc‘𝐷)
tocycf.s 𝑆 = (SymGrp‘𝐷)
tocycf.b 𝐵 = (Base‘𝑆)
Assertion
Ref Expression
tocycf (𝐷 ∈ 𝑉 → 𝐶:{𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}⟶𝐵)
Distinct variable group:   𝑤,𝐷
Allowed substitution hints:   𝐵(𝑤)   𝐶(𝑤)   𝑆(𝑤)   𝑉(𝑤)

Proof of Theorem tocycf
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 tocycf.c . . 3 𝐶 = (toCyc‘𝐷)
21tocycval 33900 . 2 (𝐷 ∈ 𝑉 → 𝐶 = (𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷} ↦ (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢))))
3 simpr 490 . . . . . . . . . . 11 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → 𝑢 = ∅)
43rneqd 5940 . . . . . . . . . 10 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ran 𝑢 = ran ∅)
5 rn0 5928 . . . . . . . . . 10 ran ∅ = ∅
64, 5eqtrdi 2825 . . . . . . . . 9 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ran 𝑢 = ∅)
76difeq2d 4073 . . . . . . . 8 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → (𝐷 ∖ ran 𝑢) = (𝐷 ∖ ∅))
8 dif0 4337 . . . . . . . 8 (𝐷 ∖ ∅) = 𝐷
97, 8eqtrdi 2825 . . . . . . 7 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → (𝐷 ∖ ran 𝑢) = 𝐷)
109reseq2d 5994 . . . . . 6 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ( I ↾ (𝐷 ∖ ran 𝑢)) = ( I ↾ 𝐷))
113cnveqd 5873 . . . . . . . . 9 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ◡𝑢 = ◡∅)
12 cnv0 5881 . . . . . . . . 9 ◡∅ = ∅
1311, 12eqtrdi 2825 . . . . . . . 8 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ◡𝑢 = ∅)
1413coeq2d 5859 . . . . . . 7 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ((𝑢 cyclShift 1) ∘ ◡𝑢) = ((𝑢 cyclShift 1) ∘ ∅))
15 co02 6296 . . . . . . 7 ((𝑢 cyclShift 1) ∘ ∅) = ∅
1614, 15eqtrdi 2825 . . . . . 6 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ((𝑢 cyclShift 1) ∘ ◡𝑢) = ∅)
1710, 16uneq12d 4178 . . . . 5 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) = (( I ↾ 𝐷) ∪ ∅))
18 un0 4354 . . . . 5 (( I ↾ 𝐷) ∪ ∅) = ( I ↾ 𝐷)
1917, 18eqtrdi 2825 . . . 4 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) = ( I ↾ 𝐷))
20 tocycf.s . . . . . . 7 𝑆 = (SymGrp‘𝐷)
2120idresperm 19681 . . . . . 6 (𝐷 ∈ 𝑉 → ( I ↾ 𝐷) ∈ (Base‘𝑆))
22 tocycf.b . . . . . 6 𝐵 = (Base‘𝑆)
2321, 22eleqtrrdi 2886 . . . . 5 (𝐷 ∈ 𝑉 → ( I ↾ 𝐷) ∈ 𝐵)
2423ad2antrr 739 . . . 4 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → ( I ↾ 𝐷) ∈ 𝐵)
2519, 24eqeltrd 2875 . . 3 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 = ∅) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) ∈ 𝐵)
26 difexg 5306 . . . . . . . . 9 (𝐷 ∈ 𝑉 → (𝐷 ∖ ran 𝑢) ∈ V)
2726resiexd 7271 . . . . . . . 8 (𝐷 ∈ 𝑉 → ( I ↾ (𝐷 ∖ ran 𝑢)) ∈ V)
28 ovex 7503 . . . . . . . . 9 (𝑢 cyclShift 1) ∈ V
29 vex 3465 . . . . . . . . . 10 𝑢 ∈ V
3029cnvex 7990 . . . . . . . . 9 ◡𝑢 ∈ V
3128, 30coex 7995 . . . . . . . 8 ((𝑢 cyclShift 1) ∘ ◡𝑢) ∈ V
32 unexg 7811 . . . . . . . 8 ((( I ↾ (𝐷 ∖ ran 𝑢)) ∈ V ∧ ((𝑢 cyclShift 1) ∘ ◡𝑢) ∈ V) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) ∈ V)
3327, 31, 32sylancl 598 . . . . . . 7 (𝐷 ∈ 𝑉 → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) ∈ V)
3433adantr 486 . . . . . 6 ((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) ∈ V)
352, 34fvmpt2d 7056 . . . . 5 ((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) → (𝐶‘𝑢) = (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)))
3635adantr 486 . . . 4 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → (𝐶‘𝑢) = (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)))
37 simpll 779 . . . . . 6 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → 𝐷 ∈ 𝑉)
38 simplr 781 . . . . . . . 8 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷})
39 id 23 . . . . . . . . . 10 (𝑤 = 𝑢 → 𝑤 = 𝑢)
40 dmeq 5905 . . . . . . . . . 10 (𝑤 = 𝑢 → dom 𝑤 = dom 𝑢)
41 eqidd 2775 . . . . . . . . . 10 (𝑤 = 𝑢 → 𝐷 = 𝐷)
4239, 40, 41f1eq123d 6864 . . . . . . . . 9 (𝑤 = 𝑢 → (𝑤:dom 𝑤⟶1-1𝐷 ↔ 𝑢:dom 𝑢⟶1-1𝐷))
4342elrab 3655 . . . . . . . 8 (𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷} ↔ (𝑢 ∈ Word 𝐷 ∧ 𝑢:dom 𝑢⟶1-1𝐷))
4438, 43sylib 221 . . . . . . 7 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → (𝑢 ∈ Word 𝐷 ∧ 𝑢:dom 𝑢⟶1-1𝐷))
4544simpld 500 . . . . . 6 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → 𝑢 ∈ Word 𝐷)
4644simprd 501 . . . . . 6 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → 𝑢:dom 𝑢⟶1-1𝐷)
471, 37, 45, 46, 20cycpmcl 33908 . . . . 5 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → (𝐶‘𝑢) ∈ (Base‘𝑆))
4847, 22eleqtrrdi 2886 . . . 4 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → (𝐶‘𝑢) ∈ 𝐵)
4936, 48eqeltrrd 2876 . . 3 (((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) ∧ 𝑢 ≠ ∅) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) ∈ 𝐵)
5025, 49pm2.61dane 3057 . 2 ((𝐷 ∈ 𝑉 ∧ 𝑢 ∈ {𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}) → (( I ↾ (𝐷 ∖ ran 𝑢)) ∪ ((𝑢 cyclShift 1) ∘ ◡𝑢)) ∈ 𝐵)
512, 50fmpt3d 7166 1 (𝐷 ∈ 𝑉 → 𝐶:{𝑤 ∈ Word 𝐷 ∣ 𝑤:dom 𝑤⟶1-1𝐷}⟶𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  {crab 3423  Vcvv 3461   ∖ cdif 4055   ∪ cun 4159  ∅c0 4288   I cid 5560  ◡ccnv 5665  dom cdm 5666  ran crn 5667   ↾ cres 5668   ∘ ccom 5670  ⟶wf 6575  ⟶1-1wf1 6576  ‘cfv 6579  (class class class)co 7470  1c1 11259  Word cword 14720   cyclShift ccsh 15002  Basecbs 17455  SymGrpcsymg 19664  toCycctocyc 33898
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335  ax-pre-sup 11336
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-1st 8054  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-er 8774  df-map 8906  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034  df-sup 9490  df-inf 9491  df-card 10076  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-div 12033  df-nn 12395  df-2 12464  df-3 12465  df-4 12466  df-5 12467  df-6 12468  df-7 12469  df-8 12470  df-9 12471  df-n0 12666  df-z 12753  df-uz 13025  df-rp 13180  df-fz 13699  df-fzo 13848  df-fl 13993  df-mod 14071  df-hash 14537  df-word 14721  df-concat 14778  df-substr 14852  df-pfx 14884  df-csh 15003  df-struct 17393  df-sets 17410  df-slot 17428  df-ndx 17440  df-base 17456  df-ress 17477  df-plusg 17510  df-tset 17516  df-efmnd 19143  df-symg 19665  df-tocyc 33899
This theorem is used by:  tocyc01  33910  cycpmco2f1  33916  cycpmco2rn  33917  cycpmco2lem1  33918  cycpmco2lem2  33919  cycpmco2lem3  33920  cycpmco2lem4  33921  cycpmco2lem5  33922  cycpmco2lem6  33923  cycpmco2lem7  33924  cycpmco2  33925  cycpm3cl2  33928  cycpmconjv  33934  tocyccntz  33936  cyc3evpm  33942  cycpmgcl  33945  cycpmconjslem2  33947  cyc3conja  33949
  Copyright terms: Public domain W3C validator