MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  psgnfval Structured version   Visualization version   GIF version

Theorem psgnfval 18186
Description: Function definition of the permutation sign function. (Contributed by Stefan O'Rear, 28-Aug-2015.)
Hypotheses
Ref Expression
psgnfval.g 𝐺 = (SymGrp‘𝐷)
psgnfval.b 𝐵 = (Base‘𝐺)
psgnfval.f 𝐹 = {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin}
psgnfval.t 𝑇 = ran (pmTrsp‘𝐷)
psgnfval.n 𝑁 = (pmSgn‘𝐷)
Assertion
Ref Expression
psgnfval 𝑁 = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
Distinct variable groups:   𝑠,𝑝,𝑤,𝑥   𝐷,𝑠,𝑤,𝑥   𝑥,𝐹   𝑤,𝑇   𝐵,𝑝
Allowed substitution hints:   𝐵(𝑥,𝑤,𝑠)   𝐷(𝑝)   𝑇(𝑥,𝑠,𝑝)   𝐹(𝑤,𝑠,𝑝)   𝐺(𝑥,𝑤,𝑠,𝑝)   𝑁(𝑥,𝑤,𝑠,𝑝)

Proof of Theorem psgnfval
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 psgnfval.n . 2 𝑁 = (pmSgn‘𝐷)
2 fveq2 6375 . . . . . . . . . 10 (𝑑 = 𝐷 → (SymGrp‘𝑑) = (SymGrp‘𝐷))
3 psgnfval.g . . . . . . . . . 10 𝐺 = (SymGrp‘𝐷)
42, 3syl6eqr 2817 . . . . . . . . 9 (𝑑 = 𝐷 → (SymGrp‘𝑑) = 𝐺)
54fveq2d 6379 . . . . . . . 8 (𝑑 = 𝐷 → (Base‘(SymGrp‘𝑑)) = (Base‘𝐺))
6 psgnfval.b . . . . . . . 8 𝐵 = (Base‘𝐺)
75, 6syl6eqr 2817 . . . . . . 7 (𝑑 = 𝐷 → (Base‘(SymGrp‘𝑑)) = 𝐵)
8 rabeq 3341 . . . . . . 7 ((Base‘(SymGrp‘𝑑)) = 𝐵 → {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} = {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin})
97, 8syl 17 . . . . . 6 (𝑑 = 𝐷 → {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} = {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin})
10 psgnfval.f . . . . . 6 𝐹 = {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin}
119, 10syl6eqr 2817 . . . . 5 (𝑑 = 𝐷 → {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} = 𝐹)
12 fveq2 6375 . . . . . . . . . 10 (𝑑 = 𝐷 → (pmTrsp‘𝑑) = (pmTrsp‘𝐷))
1312rneqd 5521 . . . . . . . . 9 (𝑑 = 𝐷 → ran (pmTrsp‘𝑑) = ran (pmTrsp‘𝐷))
14 psgnfval.t . . . . . . . . 9 𝑇 = ran (pmTrsp‘𝐷)
1513, 14syl6eqr 2817 . . . . . . . 8 (𝑑 = 𝐷 → ran (pmTrsp‘𝑑) = 𝑇)
16 wrdeq 13508 . . . . . . . 8 (ran (pmTrsp‘𝑑) = 𝑇 → Word ran (pmTrsp‘𝑑) = Word 𝑇)
1715, 16syl 17 . . . . . . 7 (𝑑 = 𝐷 → Word ran (pmTrsp‘𝑑) = Word 𝑇)
184oveq1d 6857 . . . . . . . . 9 (𝑑 = 𝐷 → ((SymGrp‘𝑑) Σg 𝑤) = (𝐺 Σg 𝑤))
1918eqeq2d 2775 . . . . . . . 8 (𝑑 = 𝐷 → (𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ↔ 𝑥 = (𝐺 Σg 𝑤)))
2019anbi1d 623 . . . . . . 7 (𝑑 = 𝐷 → ((𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))) ↔ (𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
2117, 20rexeqbidv 3301 . . . . . 6 (𝑑 = 𝐷 → (∃𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))) ↔ ∃𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
2221iotabidv 6052 . . . . 5 (𝑑 = 𝐷 → (℩𝑠𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))) = (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
2311, 22mpteq12dv 4892 . . . 4 (𝑑 = 𝐷 → (𝑥 ∈ {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} ↦ (℩𝑠𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
24 df-psgn 18176 . . . 4 pmSgn = (𝑑 ∈ V ↦ (𝑥 ∈ {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} ↦ (℩𝑠𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
256fvexi 6389 . . . . . 6 𝐵 ∈ V
2610, 25rabex2 4975 . . . . 5 𝐹 ∈ V
2726mptex 6679 . . . 4 (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) ∈ V
2823, 24, 27fvmpt 6471 . . 3 (𝐷 ∈ V → (pmSgn‘𝐷) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
29 fvprc 6368 . . . 4 𝐷 ∈ V → (pmSgn‘𝐷) = ∅)
30 fvprc 6368 . . . . . . . . . . . . 13 𝐷 ∈ V → (SymGrp‘𝐷) = ∅)
313, 30syl5eq 2811 . . . . . . . . . . . 12 𝐷 ∈ V → 𝐺 = ∅)
3231fveq2d 6379 . . . . . . . . . . 11 𝐷 ∈ V → (Base‘𝐺) = (Base‘∅))
33 base0 16186 . . . . . . . . . . 11 ∅ = (Base‘∅)
3432, 33syl6eqr 2817 . . . . . . . . . 10 𝐷 ∈ V → (Base‘𝐺) = ∅)
356, 34syl5eq 2811 . . . . . . . . 9 𝐷 ∈ V → 𝐵 = ∅)
36 rabeq 3341 . . . . . . . . 9 (𝐵 = ∅ → {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin} = {𝑝 ∈ ∅ ∣ dom (𝑝 ∖ I ) ∈ Fin})
3735, 36syl 17 . . . . . . . 8 𝐷 ∈ V → {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin} = {𝑝 ∈ ∅ ∣ dom (𝑝 ∖ I ) ∈ Fin})
38 rab0 4120 . . . . . . . 8 {𝑝 ∈ ∅ ∣ dom (𝑝 ∖ I ) ∈ Fin} = ∅
3937, 38syl6eq 2815 . . . . . . 7 𝐷 ∈ V → {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin} = ∅)
4010, 39syl5eq 2811 . . . . . 6 𝐷 ∈ V → 𝐹 = ∅)
4140mpteq1d 4897 . . . . 5 𝐷 ∈ V → (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = (𝑥 ∈ ∅ ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
42 mpt0 6199 . . . . 5 (𝑥 ∈ ∅ ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = ∅
4341, 42syl6eq 2815 . . . 4 𝐷 ∈ V → (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = ∅)
4429, 43eqtr4d 2802 . . 3 𝐷 ∈ V → (pmSgn‘𝐷) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
4528, 44pm2.61i 176 . 2 (pmSgn‘𝐷) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
461, 45eqtri 2787 1 𝑁 = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 384   = wceq 1652  wcel 2155  wrex 3056  {crab 3059  Vcvv 3350  cdif 3729  c0 4079  cmpt 4888   I cid 5184  dom cdm 5277  ran crn 5278  cio 6029  cfv 6068  (class class class)co 6842  Fincfn 8160  1c1 10190  -cneg 10521  cexp 13067  chash 13321  Word cword 13486  Basecbs 16132   Σg cgsu 16369  SymGrpcsymg 18062  pmTrspcpmtr 18126  pmSgncpsgn 18174
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4930  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147  ax-cnex 10245  ax-resscn 10246  ax-1cn 10247  ax-icn 10248  ax-addcl 10249  ax-addrcl 10250  ax-mulcl 10251  ax-mulrcl 10252  ax-mulcom 10253  ax-addass 10254  ax-mulass 10255  ax-distr 10256  ax-i2m1 10257  ax-1ne0 10258  ax-1rid 10259  ax-rnegex 10260  ax-rrecex 10261  ax-cnre 10262  ax-pre-lttri 10263  ax-pre-lttrn 10264  ax-pre-ltadd 10265  ax-pre-mulgt0 10266
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-reu 3062  df-rab 3064  df-v 3352  df-sbc 3597  df-csb 3692  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-pss 3748  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-tp 4339  df-op 4341  df-uni 4595  df-int 4634  df-iun 4678  df-br 4810  df-opab 4872  df-mpt 4889  df-tr 4912  df-id 5185  df-eprel 5190  df-po 5198  df-so 5199  df-fr 5236  df-we 5238  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-res 5289  df-ima 5290  df-pred 5865  df-ord 5911  df-on 5912  df-lim 5913  df-suc 5914  df-iota 6031  df-fun 6070  df-fn 6071  df-f 6072  df-f1 6073  df-fo 6074  df-f1o 6075  df-fv 6076  df-riota 6803  df-ov 6845  df-oprab 6846  df-mpt2 6847  df-om 7264  df-1st 7366  df-2nd 7367  df-wrecs 7610  df-recs 7672  df-rdg 7710  df-1o 7764  df-er 7947  df-en 8161  df-dom 8162  df-sdom 8163  df-fin 8164  df-card 9016  df-pnf 10330  df-mnf 10331  df-xr 10332  df-ltxr 10333  df-le 10334  df-sub 10522  df-neg 10523  df-nn 11275  df-n0 11539  df-z 11625  df-uz 11887  df-fz 12534  df-fzo 12674  df-hash 13322  df-word 13487  df-slot 16136  df-base 16138  df-psgn 18176
This theorem is referenced by:  psgnfn  18187  psgnval  18193  psgnfvalfi  18199
  Copyright terms: Public domain W3C validator