Metamath Proof Explorer


Theorem mulgfval

Description: Group multiple (exponentiation) operation. For a shorter proof using ax-rep , see mulgfvalALT . (Contributed by Mario Carneiro, 11-Dec-2014) Remove dependency on ax-rep . (Revised by Rohan Ridenour, 17-Aug-2023)

Ref Expression
Hypotheses mulgval.b B=BaseG
mulgval.p +˙=+G
mulgval.o 0˙=0G
mulgval.i I=invgG
mulgval.t ·˙=G
Assertion mulgfval ·˙=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn

Proof

Step Hyp Ref Expression
1 mulgval.b B=BaseG
2 mulgval.p +˙=+G
3 mulgval.o 0˙=0G
4 mulgval.i I=invgG
5 mulgval.t ·˙=G
6 eqidd w=G=
7 fveq2 w=GBasew=BaseG
8 7 1 eqtr4di w=GBasew=B
9 fveq2 w=G0w=0G
10 9 3 eqtr4di w=G0w=0˙
11 fvex +wV
12 1z 1
13 11 12 seqexw seq1+w×xV
14 13 a1i w=Gseq1+w×xV
15 id s=seq1+w×xs=seq1+w×x
16 fveq2 w=G+w=+G
17 16 2 eqtr4di w=G+w=+˙
18 17 seqeq2d w=Gseq1+w×x=seq1+˙×x
19 15 18 sylan9eqr w=Gs=seq1+w×xs=seq1+˙×x
20 19 fveq1d w=Gs=seq1+w×xsn=seq1+˙×xn
21 simpl w=Gs=seq1+w×xw=G
22 21 fveq2d w=Gs=seq1+w×xinvgw=invgG
23 22 4 eqtr4di w=Gs=seq1+w×xinvgw=I
24 19 fveq1d w=Gs=seq1+w×xsn=seq1+˙×xn
25 23 24 fveq12d w=Gs=seq1+w×xinvgwsn=Iseq1+˙×xn
26 20 25 ifeq12d w=Gs=seq1+w×xif0<nsninvgwsn=if0<nseq1+˙×xnIseq1+˙×xn
27 14 26 csbied w=Gseq1+w×x/sif0<nsninvgwsn=if0<nseq1+˙×xnIseq1+˙×xn
28 10 27 ifeq12d w=Gifn=00wseq1+w×x/sif0<nsninvgwsn=ifn=00˙if0<nseq1+˙×xnIseq1+˙×xn
29 6 8 28 mpoeq123dv w=Gn,xBasewifn=00wseq1+w×x/sif0<nsninvgwsn=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn
30 df-mulg 𝑔=wVn,xBasewifn=00wseq1+w×x/sif0<nsninvgwsn
31 zex V
32 1 fvexi BV
33 snex 0˙V
34 2 fvexi +˙V
35 34 rnex ran+˙V
36 35 32 unex ran+˙BV
37 4 fvexi IV
38 37 rnex ranIV
39 p0ex V
40 38 39 unex ranIV
41 36 40 unex ran+˙BranIV
42 33 41 unex 0˙ran+˙BranIV
43 ssun1 0˙0˙ran+˙BranI
44 3 fvexi 0˙V
45 44 snid 0˙0˙
46 43 45 sselii 0˙0˙ran+˙BranI
47 46 a1i nxB0˙0˙ran+˙BranI
48 ssun2 Bran+˙B
49 ssun1 ran+˙Bran+˙BranI
50 48 49 sstri Bran+˙BranI
51 ssun2 ran+˙BranI0˙ran+˙BranI
52 50 51 sstri B0˙ran+˙BranI
53 fveq2 n=1seq1+˙×xn=seq1+˙×x1
54 53 adantl xBn=1seq1+˙×xn=seq1+˙×x1
55 seq1 1seq1+˙×x1=×x1
56 12 55 ax-mp seq1+˙×x1=×x1
57 1nn 1
58 vex xV
59 58 fvconst2 1×x1=x
60 57 59 ax-mp ×x1=x
61 60 eleq1i ×x1BxB
62 61 biimpri xB×x1B
63 56 62 eqeltrid xBseq1+˙×x1B
64 63 adantr xBn=1seq1+˙×x1B
65 54 64 eqeltrd xBn=1seq1+˙×xnB
66 52 65 sselid xBn=1seq1+˙×xn0˙ran+˙BranI
67 66 ad4ant24 nxBn1n=1seq1+˙×xn0˙ran+˙BranI
68 zcn nn
69 npcan1 nn-1+1=n
70 68 69 syl nn-1+1=n
71 70 fveq2d nseq1+˙×xn-1+1=seq1+˙×xn
72 71 adantr nn11seq1+˙×xn-1+1=seq1+˙×xn
73 seqp1 n11seq1+˙×xn-1+1=seq1+˙×xn1+˙×xn-1+1
74 ssun1 ran+˙ran+˙B
75 ssun2 ranI
76 unss12 ran+˙ran+˙BranIran+˙ran+˙BranI
77 74 75 76 mp2an ran+˙ran+˙BranI
78 77 51 sstri ran+˙0˙ran+˙BranI
79 df-ov seq1+˙×xn1+˙×xn-1+1=+˙seq1+˙×xn1×xn-1+1
80 fvrn0 +˙seq1+˙×xn1×xn-1+1ran+˙
81 79 80 eqeltri seq1+˙×xn1+˙×xn-1+1ran+˙
82 78 81 sselii seq1+˙×xn1+˙×xn-1+10˙ran+˙BranI
83 73 82 eqeltrdi n11seq1+˙×xn-1+10˙ran+˙BranI
84 83 adantl nn11seq1+˙×xn-1+10˙ran+˙BranI
85 72 84 eqeltrrd nn11seq1+˙×xn0˙ran+˙BranI
86 85 ad4ant14 nxBn1n11seq1+˙×xn0˙ran+˙BranI
87 uzm1 n1n=1n11
88 87 adantl nxBn1n=1n11
89 67 86 88 mpjaodan nxBn1seq1+˙×xn0˙ran+˙BranI
90 simpr nxB¬n1¬n1
91 seqfn 1seq1+˙×xFn1
92 12 91 ax-mp seq1+˙×xFn1
93 92 fndmi domseq1+˙×x=1
94 93 eleq2i ndomseq1+˙×xn1
95 90 94 sylnibr nxB¬n1¬ndomseq1+˙×x
96 ndmfv ¬ndomseq1+˙×xseq1+˙×xn=
97 95 96 syl nxB¬n1seq1+˙×xn=
98 ssun2 ranIran+˙BranI
99 75 98 sstri ran+˙BranI
100 99 51 sstri 0˙ran+˙BranI
101 0ex V
102 101 snid
103 100 102 sselii 0˙ran+˙BranI
104 103 a1i nxB¬n10˙ran+˙BranI
105 97 104 eqeltrd nxB¬n1seq1+˙×xn0˙ran+˙BranI
106 89 105 pm2.61dan nxBseq1+˙×xn0˙ran+˙BranI
107 98 51 sstri ranI0˙ran+˙BranI
108 fvrn0 Iseq1+˙×xnranI
109 107 108 sselii Iseq1+˙×xn0˙ran+˙BranI
110 109 a1i nxBIseq1+˙×xn0˙ran+˙BranI
111 106 110 ifcld nxBif0<nseq1+˙×xnIseq1+˙×xn0˙ran+˙BranI
112 47 111 ifcld nxBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn0˙ran+˙BranI
113 112 rgen2 nxBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn0˙ran+˙BranI
114 31 32 42 113 mpoexw n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xnV
115 29 30 114 fvmpt GVG=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn
116 fvprc ¬GVG=
117 eqid n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn
118 fvex seq1+˙×xnV
119 fvex Iseq1+˙×xnV
120 118 119 ifex if0<nseq1+˙×xnIseq1+˙×xnV
121 44 120 ifex ifn=00˙if0<nseq1+˙×xnIseq1+˙×xnV
122 117 121 fnmpoi n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xnFn×B
123 fvprc ¬GVBaseG=
124 1 123 eqtrid ¬GVB=
125 124 xpeq2d ¬GV×B=×
126 xp0 ×=
127 125 126 eqtrdi ¬GV×B=
128 127 fneq2d ¬GVn,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xnFn×Bn,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xnFn
129 122 128 mpbii ¬GVn,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xnFn
130 fn0 n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xnFnn,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn=
131 129 130 sylib ¬GVn,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn=
132 116 131 eqtr4d ¬GVG=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn
133 115 132 pm2.61i G=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn
134 5 133 eqtri ·˙=n,xBifn=00˙if0<nseq1+˙×xnIseq1+˙×xn