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

Theorem psgnfval 18548
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 6667 . . . . . . . . . 10 (𝑑 = 𝐷 → (SymGrp‘𝑑) = (SymGrp‘𝐷))
3 psgnfval.g . . . . . . . . . 10 𝐺 = (SymGrp‘𝐷)
42, 3syl6eqr 2879 . . . . . . . . 9 (𝑑 = 𝐷 → (SymGrp‘𝑑) = 𝐺)
54fveq2d 6671 . . . . . . . 8 (𝑑 = 𝐷 → (Base‘(SymGrp‘𝑑)) = (Base‘𝐺))
6 psgnfval.b . . . . . . . 8 𝐵 = (Base‘𝐺)
75, 6syl6eqr 2879 . . . . . . 7 (𝑑 = 𝐷 → (Base‘(SymGrp‘𝑑)) = 𝐵)
8 rabeq 3489 . . . . . . 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 2879 . . . . 5 (𝑑 = 𝐷 → {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} = 𝐹)
12 fveq2 6667 . . . . . . . . . 10 (𝑑 = 𝐷 → (pmTrsp‘𝑑) = (pmTrsp‘𝐷))
1312rneqd 5807 . . . . . . . . 9 (𝑑 = 𝐷 → ran (pmTrsp‘𝑑) = ran (pmTrsp‘𝐷))
14 psgnfval.t . . . . . . . . 9 𝑇 = ran (pmTrsp‘𝐷)
1513, 14syl6eqr 2879 . . . . . . . 8 (𝑑 = 𝐷 → ran (pmTrsp‘𝑑) = 𝑇)
16 wrdeq 13876 . . . . . . . 8 (ran (pmTrsp‘𝑑) = 𝑇 → Word ran (pmTrsp‘𝑑) = Word 𝑇)
1715, 16syl 17 . . . . . . 7 (𝑑 = 𝐷 → Word ran (pmTrsp‘𝑑) = Word 𝑇)
184oveq1d 7163 . . . . . . . . 9 (𝑑 = 𝐷 → ((SymGrp‘𝑑) Σg 𝑤) = (𝐺 Σg 𝑤))
1918eqeq2d 2837 . . . . . . . 8 (𝑑 = 𝐷 → (𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ↔ 𝑥 = (𝐺 Σg 𝑤)))
2019anbi1d 629 . . . . . . 7 (𝑑 = 𝐷 → ((𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))) ↔ (𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
2117, 20rexeqbidv 3408 . . . . . 6 (𝑑 = 𝐷 → (∃𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))) ↔ ∃𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
2221iotabidv 6337 . . . . 5 (𝑑 = 𝐷 → (℩𝑠𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))) = (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
2311, 22mpteq12dv 5148 . . . 4 (𝑑 = 𝐷 → (𝑥 ∈ {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} ↦ (℩𝑠𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
24 df-psgn 18539 . . . 4 pmSgn = (𝑑 ∈ V ↦ (𝑥 ∈ {𝑝 ∈ (Base‘(SymGrp‘𝑑)) ∣ dom (𝑝 ∖ I ) ∈ Fin} ↦ (℩𝑠𝑤 ∈ Word ran (pmTrsp‘𝑑)(𝑥 = ((SymGrp‘𝑑) Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
256fvexi 6681 . . . . . 6 𝐵 ∈ V
2610, 25rabex2 5234 . . . . 5 𝐹 ∈ V
2726mptex 6981 . . . 4 (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) ∈ V
2823, 24, 27fvmpt 6765 . . 3 (𝐷 ∈ V → (pmSgn‘𝐷) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
29 fvprc 6660 . . . 4 𝐷 ∈ V → (pmSgn‘𝐷) = ∅)
30 fvprc 6660 . . . . . . . . . . . . 13 𝐷 ∈ V → (SymGrp‘𝐷) = ∅)
313, 30syl5eq 2873 . . . . . . . . . . . 12 𝐷 ∈ V → 𝐺 = ∅)
3231fveq2d 6671 . . . . . . . . . . 11 𝐷 ∈ V → (Base‘𝐺) = (Base‘∅))
33 base0 16526 . . . . . . . . . . 11 ∅ = (Base‘∅)
3432, 33syl6eqr 2879 . . . . . . . . . 10 𝐷 ∈ V → (Base‘𝐺) = ∅)
356, 34syl5eq 2873 . . . . . . . . 9 𝐷 ∈ V → 𝐵 = ∅)
36 rabeq 3489 . . . . . . . . 9 (𝐵 = ∅ → {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin} = {𝑝 ∈ ∅ ∣ dom (𝑝 ∖ I ) ∈ Fin})
3735, 36syl 17 . . . . . . . 8 𝐷 ∈ V → {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin} = {𝑝 ∈ ∅ ∣ dom (𝑝 ∖ I ) ∈ Fin})
38 rab0 4341 . . . . . . . 8 {𝑝 ∈ ∅ ∣ dom (𝑝 ∖ I ) ∈ Fin} = ∅
3937, 38syl6eq 2877 . . . . . . 7 𝐷 ∈ V → {𝑝𝐵 ∣ dom (𝑝 ∖ I ) ∈ Fin} = ∅)
4010, 39syl5eq 2873 . . . . . 6 𝐷 ∈ V → 𝐹 = ∅)
4140mpteq1d 5152 . . . . 5 𝐷 ∈ V → (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = (𝑥 ∈ ∅ ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
42 mpt0 6487 . . . . 5 (𝑥 ∈ ∅ ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = ∅
4341, 42syl6eq 2877 . . . 4 𝐷 ∈ V → (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))) = ∅)
4429, 43eqtr4d 2864 . . 3 𝐷 ∈ V → (pmSgn‘𝐷) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤))))))
4528, 44pm2.61i 183 . 2 (pmSgn‘𝐷) = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
461, 45eqtri 2849 1 𝑁 = (𝑥𝐹 ↦ (℩𝑠𝑤 ∈ Word 𝑇(𝑥 = (𝐺 Σg 𝑤) ∧ 𝑠 = (-1↑(♯‘𝑤)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396   = wceq 1530  wcel 2107  wrex 3144  {crab 3147  Vcvv 3500  cdif 3937  c0 4295  cmpt 5143   I cid 5458  dom cdm 5554  ran crn 5555  cio 6310  cfv 6352  (class class class)co 7148  Fincfn 8498  1c1 10527  -cneg 10860  cexp 13419  chash 13680  Word cword 13851  Basecbs 16473   Σg cgsu 16704  SymGrpcsymg 18425  pmTrspcpmtr 18489  pmSgncpsgn 18537
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2798  ax-rep 5187  ax-sep 5200  ax-nul 5207  ax-pow 5263  ax-pr 5326  ax-un 7451  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3or 1082  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2620  df-eu 2652  df-clab 2805  df-cleq 2819  df-clel 2898  df-nfc 2968  df-ne 3022  df-nel 3129  df-ral 3148  df-rex 3149  df-reu 3150  df-rab 3152  df-v 3502  df-sbc 3777  df-csb 3888  df-dif 3943  df-un 3945  df-in 3947  df-ss 3956  df-pss 3958  df-nul 4296  df-if 4471  df-pw 4544  df-sn 4565  df-pr 4567  df-tp 4569  df-op 4571  df-uni 4838  df-int 4875  df-iun 4919  df-br 5064  df-opab 5126  df-mpt 5144  df-tr 5170  df-id 5459  df-eprel 5464  df-po 5473  df-so 5474  df-fr 5513  df-we 5515  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-pred 6146  df-ord 6192  df-on 6193  df-lim 6194  df-suc 6195  df-iota 6312  df-fun 6354  df-fn 6355  df-f 6356  df-f1 6357  df-fo 6358  df-f1o 6359  df-fv 6360  df-riota 7106  df-ov 7151  df-oprab 7152  df-mpo 7153  df-om 7569  df-1st 7680  df-2nd 7681  df-wrecs 7938  df-recs 7999  df-rdg 8037  df-1o 8093  df-er 8279  df-en 8499  df-dom 8500  df-sdom 8501  df-fin 8502  df-card 9357  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11628  df-n0 11887  df-z 11971  df-uz 12233  df-fz 12883  df-fzo 13024  df-hash 13681  df-word 13852  df-slot 16477  df-base 16479  df-psgn 18539
This theorem is referenced by:  psgnfn  18549  psgnval  18555  psgnfvalfi  18561
  Copyright terms: Public domain W3C validator