Metamath Proof Explorer


Theorem poimirlem6

Description: Lemma for poimir establishing, for a face of a simplex defined by a walk along the edges of an N -cube, the single dimension in which successive vertices before the opposite vertex differ. (Contributed by Brendan Leahy, 21-Aug-2020)

Ref Expression
Hypotheses poimir.0 φN
poimirlem22.s S=t0..^K1N×f|f:1N1-1 onto1N×0N|F=y0N1ify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0
poimirlem9.1 φTS
poimirlem9.2 φ2ndT1N1
poimirlem6.3 φM12ndT1
Assertion poimirlem6 φιn1N|FM1nFMn=2nd1stTM

Proof

Step Hyp Ref Expression
1 poimir.0 φN
2 poimirlem22.s S=t0..^K1N×f|f:1N1-1 onto1N×0N|F=y0N1ify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0
3 poimirlem9.1 φTS
4 poimirlem9.2 φ2ndT1N1
5 poimirlem6.3 φM12ndT1
6 elrabi Tt0..^K1N×f|f:1N1-1 onto1N×0N|F=y0N1ify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0T0..^K1N×f|f:1N1-1 onto1N×0N
7 6 2 eleq2s TST0..^K1N×f|f:1N1-1 onto1N×0N
8 3 7 syl φT0..^K1N×f|f:1N1-1 onto1N×0N
9 xp1st T0..^K1N×f|f:1N1-1 onto1N×0N1stT0..^K1N×f|f:1N1-1 onto1N
10 8 9 syl φ1stT0..^K1N×f|f:1N1-1 onto1N
11 xp2nd 1stT0..^K1N×f|f:1N1-1 onto1N2nd1stTf|f:1N1-1 onto1N
12 10 11 syl φ2nd1stTf|f:1N1-1 onto1N
13 fvex 2nd1stTV
14 f1oeq1 f=2nd1stTf:1N1-1 onto1N2nd1stT:1N1-1 onto1N
15 13 14 elab 2nd1stTf|f:1N1-1 onto1N2nd1stT:1N1-1 onto1N
16 12 15 sylib φ2nd1stT:1N1-1 onto1N
17 f1of 2nd1stT:1N1-1 onto1N2nd1stT:1N1N
18 16 17 syl φ2nd1stT:1N1N
19 elfznn 2ndT1N12ndT
20 4 19 syl φ2ndT
21 20 nnzd φ2ndT
22 peano2zm 2ndT2ndT1
23 21 22 syl φ2ndT1
24 1 nnzd φN
25 23 zred φ2ndT1
26 20 nnred φ2ndT
27 1 nnred φN
28 26 lem1d φ2ndT12ndT
29 nnm1nn0 NN10
30 1 29 syl φN10
31 30 nn0red φN1
32 elfzle2 2ndT1N12ndTN1
33 4 32 syl φ2ndTN1
34 27 lem1d φN1N
35 26 31 27 33 34 letrd φ2ndTN
36 25 26 27 28 35 letrd φ2ndT1N
37 eluz2 N2ndT12ndT1N2ndT1N
38 23 24 36 37 syl3anbrc φN2ndT1
39 fzss2 N2ndT112ndT11N
40 38 39 syl φ12ndT11N
41 40 5 sseldd φM1N
42 18 41 ffvelcdmd φ2nd1stTM1N
43 xp1st 1stT0..^K1N×f|f:1N1-1 onto1N1st1stT0..^K1N
44 10 43 syl φ1st1stT0..^K1N
45 elmapfn 1st1stT0..^K1N1st1stTFn1N
46 44 45 syl φ1st1stTFn1N
47 46 adantr φn2nd1stTM1st1stTFn1N
48 1ex 1V
49 fnconstg 1V2nd1stT1M1×1Fn2nd1stT1M1
50 48 49 ax-mp 2nd1stT1M1×1Fn2nd1stT1M1
51 c0ex 0V
52 fnconstg 0V2nd1stTMN×0Fn2nd1stTMN
53 51 52 ax-mp 2nd1stTMN×0Fn2nd1stTMN
54 50 53 pm3.2i 2nd1stT1M1×1Fn2nd1stT1M12nd1stTMN×0Fn2nd1stTMN
55 dff1o3 2nd1stT:1N1-1 onto1N2nd1stT:1Nonto1NFun2nd1stT-1
56 55 simprbi 2nd1stT:1N1-1 onto1NFun2nd1stT-1
57 16 56 syl φFun2nd1stT-1
58 imain Fun2nd1stT-12nd1stT1M1MN=2nd1stT1M12nd1stTMN
59 57 58 syl φ2nd1stT1M1MN=2nd1stT1M12nd1stTMN
60 elfznn M12ndT1M
61 5 60 syl φM
62 61 nnred φM
63 62 ltm1d φM1<M
64 fzdisj M1<M1M1MN=
65 63 64 syl φ1M1MN=
66 65 imaeq2d φ2nd1stT1M1MN=2nd1stT
67 ima0 2nd1stT=
68 66 67 eqtrdi φ2nd1stT1M1MN=
69 59 68 eqtr3d φ2nd1stT1M12nd1stTMN=
70 fnun 2nd1stT1M1×1Fn2nd1stT1M12nd1stTMN×0Fn2nd1stTMN2nd1stT1M12nd1stTMN=2nd1stT1M1×12nd1stTMN×0Fn2nd1stT1M12nd1stTMN
71 54 69 70 sylancr φ2nd1stT1M1×12nd1stTMN×0Fn2nd1stT1M12nd1stTMN
72 61 nncnd φM
73 npcan1 MM-1+1=M
74 72 73 syl φM-1+1=M
75 nnuz =1
76 61 75 eleqtrdi φM1
77 74 76 eqeltrd φM-1+11
78 nnm1nn0 MM10
79 61 78 syl φM10
80 79 nn0zd φM1
81 uzid M1M1M1
82 80 81 syl φM1M1
83 peano2uz M1M1M-1+1M1
84 82 83 syl φM-1+1M1
85 74 84 eqeltrrd φMM1
86 uzss MM1MM1
87 85 86 syl φMM1
88 61 nnzd φM
89 elfzle2 M12ndT1M2ndT1
90 5 89 syl φM2ndT1
91 62 25 27 90 36 letrd φMN
92 eluz2 NMMNMN
93 88 24 91 92 syl3anbrc φNM
94 87 93 sseldd φNM1
95 fzsplit2 M-1+11NM11N=1M1M-1+1N
96 77 94 95 syl2anc φ1N=1M1M-1+1N
97 74 oveq1d φM-1+1N=MN
98 97 uneq2d φ1M1M-1+1N=1M1MN
99 96 98 eqtrd φ1N=1M1MN
100 99 imaeq2d φ2nd1stT1N=2nd1stT1M1MN
101 imaundi 2nd1stT1M1MN=2nd1stT1M12nd1stTMN
102 100 101 eqtrdi φ2nd1stT1N=2nd1stT1M12nd1stTMN
103 f1ofo 2nd1stT:1N1-1 onto1N2nd1stT:1Nonto1N
104 16 103 syl φ2nd1stT:1Nonto1N
105 foima 2nd1stT:1Nonto1N2nd1stT1N=1N
106 104 105 syl φ2nd1stT1N=1N
107 102 106 eqtr3d φ2nd1stT1M12nd1stTMN=1N
108 107 fneq2d φ2nd1stT1M1×12nd1stTMN×0Fn2nd1stT1M12nd1stTMN2nd1stT1M1×12nd1stTMN×0Fn1N
109 71 108 mpbid φ2nd1stT1M1×12nd1stTMN×0Fn1N
110 109 adantr φn2nd1stTM2nd1stT1M1×12nd1stTMN×0Fn1N
111 ovexd φn2nd1stTM1NV
112 inidm 1N1N=1N
113 eqidd φn2nd1stTMn1N1st1stTn=1st1stTn
114 imaundi 2nd1stTMM+1N=2nd1stTM2nd1stTM+1N
115 fzpred NMMN=MM+1N
116 93 115 syl φMN=MM+1N
117 116 imaeq2d φ2nd1stTMN=2nd1stTMM+1N
118 f1ofn 2nd1stT:1N1-1 onto1N2nd1stTFn1N
119 16 118 syl φ2nd1stTFn1N
120 fnsnfv 2nd1stTFn1NM1N2nd1stTM=2nd1stTM
121 119 41 120 syl2anc φ2nd1stTM=2nd1stTM
122 121 uneq1d φ2nd1stTM2nd1stTM+1N=2nd1stTM2nd1stTM+1N
123 114 117 122 3eqtr4a φ2nd1stTMN=2nd1stTM2nd1stTM+1N
124 123 xpeq1d φ2nd1stTMN×0=2nd1stTM2nd1stTM+1N×0
125 xpundir 2nd1stTM2nd1stTM+1N×0=2nd1stTM×02nd1stTM+1N×0
126 124 125 eqtrdi φ2nd1stTMN×0=2nd1stTM×02nd1stTM+1N×0
127 126 uneq2d φ2nd1stT1M1×12nd1stTMN×0=2nd1stT1M1×12nd1stTM×02nd1stTM+1N×0
128 un12 2nd1stT1M1×12nd1stTM×02nd1stTM+1N×0=2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0
129 127 128 eqtrdi φ2nd1stT1M1×12nd1stTMN×0=2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0
130 129 fveq1d φ2nd1stT1M1×12nd1stTMN×0n=2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n
131 130 ad2antrr φn2nd1stTMn1N2nd1stT1M1×12nd1stTMN×0n=2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n
132 fnconstg 0V2nd1stTM+1N×0Fn2nd1stTM+1N
133 51 132 ax-mp 2nd1stTM+1N×0Fn2nd1stTM+1N
134 50 133 pm3.2i 2nd1stT1M1×1Fn2nd1stT1M12nd1stTM+1N×0Fn2nd1stTM+1N
135 imain Fun2nd1stT-12nd1stT1M1M+1N=2nd1stT1M12nd1stTM+1N
136 57 135 syl φ2nd1stT1M1M+1N=2nd1stT1M12nd1stTM+1N
137 79 nn0red φM1
138 peano2re MM+1
139 62 138 syl φM+1
140 62 ltp1d φM<M+1
141 137 62 139 63 140 lttrd φM1<M+1
142 fzdisj M1<M+11M1M+1N=
143 141 142 syl φ1M1M+1N=
144 143 imaeq2d φ2nd1stT1M1M+1N=2nd1stT
145 144 67 eqtrdi φ2nd1stT1M1M+1N=
146 136 145 eqtr3d φ2nd1stT1M12nd1stTM+1N=
147 fnun 2nd1stT1M1×1Fn2nd1stT1M12nd1stTM+1N×0Fn2nd1stTM+1N2nd1stT1M12nd1stTM+1N=2nd1stT1M1×12nd1stTM+1N×0Fn2nd1stT1M12nd1stTM+1N
148 134 146 147 sylancr φ2nd1stT1M1×12nd1stTM+1N×0Fn2nd1stT1M12nd1stTM+1N
149 imaundi 2nd1stT1M1M+1N=2nd1stT1M12nd1stTM+1N
150 imadif Fun2nd1stT-12nd1stT1NM=2nd1stT1N2nd1stTM
151 57 150 syl φ2nd1stT1NM=2nd1stT1N2nd1stTM
152 fzsplit M1N1N=1MM+1N
153 41 152 syl φ1N=1MM+1N
154 153 difeq1d φ1NM=1MM+1NM
155 difundir 1MM+1NM=1MMM+1NM
156 fzsplit2 M-1+11MM11M=1M1M-1+1M
157 77 85 156 syl2anc φ1M=1M1M-1+1M
158 74 oveq1d φM-1+1M=MM
159 fzsn MMM=M
160 88 159 syl φMM=M
161 158 160 eqtrd φM-1+1M=M
162 161 uneq2d φ1M1M-1+1M=1M1M
163 157 162 eqtrd φ1M=1M1M
164 163 difeq1d φ1MM=1M1MM
165 difun2 1M1MM=1M1M
166 137 62 ltnled φM1<M¬MM1
167 63 166 mpbid φ¬MM1
168 elfzle2 M1M1MM1
169 167 168 nsyl φ¬M1M1
170 difsn ¬M1M11M1M=1M1
171 169 170 syl φ1M1M=1M1
172 165 171 eqtrid φ1M1MM=1M1
173 164 172 eqtrd φ1MM=1M1
174 62 139 ltnled φM<M+1¬M+1M
175 140 174 mpbid φ¬M+1M
176 elfzle1 MM+1NM+1M
177 175 176 nsyl φ¬MM+1N
178 difsn ¬MM+1NM+1NM=M+1N
179 177 178 syl φM+1NM=M+1N
180 173 179 uneq12d φ1MMM+1NM=1M1M+1N
181 155 180 eqtrid φ1MM+1NM=1M1M+1N
182 154 181 eqtrd φ1NM=1M1M+1N
183 182 imaeq2d φ2nd1stT1NM=2nd1stT1M1M+1N
184 121 eqcomd φ2nd1stTM=2nd1stTM
185 106 184 difeq12d φ2nd1stT1N2nd1stTM=1N2nd1stTM
186 151 183 185 3eqtr3d φ2nd1stT1M1M+1N=1N2nd1stTM
187 149 186 eqtr3id φ2nd1stT1M12nd1stTM+1N=1N2nd1stTM
188 187 fneq2d φ2nd1stT1M1×12nd1stTM+1N×0Fn2nd1stT1M12nd1stTM+1N2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTM
189 148 188 mpbid φ2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTM
190 eldifsn n1N2nd1stTMn1Nn2nd1stTM
191 190 biimpri n1Nn2nd1stTMn1N2nd1stTM
192 191 ancoms n2nd1stTMn1Nn1N2nd1stTM
193 disjdif 2nd1stTM1N2nd1stTM=
194 fnconstg 0V2nd1stTM×0Fn2nd1stTM
195 51 194 ax-mp 2nd1stTM×0Fn2nd1stTM
196 fvun2 2nd1stTM×0Fn2nd1stTM2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTM2nd1stTM1N2nd1stTM=n1N2nd1stTM2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
197 195 196 mp3an1 2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTM2nd1stTM1N2nd1stTM=n1N2nd1stTM2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
198 193 197 mpanr1 2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTMn1N2nd1stTM2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
199 189 192 198 syl2an φn2nd1stTMn1N2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
200 199 anassrs φn2nd1stTMn1N2nd1stTM×02nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
201 131 200 eqtrd φn2nd1stTMn1N2nd1stT1M1×12nd1stTMN×0n=2nd1stT1M1×12nd1stTM+1N×0n
202 47 110 111 111 112 113 201 ofval φn2nd1stTMn1N1st1stT+f2nd1stT1M1×12nd1stTMN×0n=1st1stTn+2nd1stT1M1×12nd1stTM+1N×0n
203 fnconstg 1V2nd1stT1M×1Fn2nd1stT1M
204 48 203 ax-mp 2nd1stT1M×1Fn2nd1stT1M
205 204 133 pm3.2i 2nd1stT1M×1Fn2nd1stT1M2nd1stTM+1N×0Fn2nd1stTM+1N
206 imain Fun2nd1stT-12nd1stT1MM+1N=2nd1stT1M2nd1stTM+1N
207 57 206 syl φ2nd1stT1MM+1N=2nd1stT1M2nd1stTM+1N
208 fzdisj M<M+11MM+1N=
209 140 208 syl φ1MM+1N=
210 209 imaeq2d φ2nd1stT1MM+1N=2nd1stT
211 210 67 eqtrdi φ2nd1stT1MM+1N=
212 207 211 eqtr3d φ2nd1stT1M2nd1stTM+1N=
213 fnun 2nd1stT1M×1Fn2nd1stT1M2nd1stTM+1N×0Fn2nd1stTM+1N2nd1stT1M2nd1stTM+1N=2nd1stT1M×12nd1stTM+1N×0Fn2nd1stT1M2nd1stTM+1N
214 205 212 213 sylancr φ2nd1stT1M×12nd1stTM+1N×0Fn2nd1stT1M2nd1stTM+1N
215 153 imaeq2d φ2nd1stT1N=2nd1stT1MM+1N
216 imaundi 2nd1stT1MM+1N=2nd1stT1M2nd1stTM+1N
217 215 216 eqtrdi φ2nd1stT1N=2nd1stT1M2nd1stTM+1N
218 217 106 eqtr3d φ2nd1stT1M2nd1stTM+1N=1N
219 218 fneq2d φ2nd1stT1M×12nd1stTM+1N×0Fn2nd1stT1M2nd1stTM+1N2nd1stT1M×12nd1stTM+1N×0Fn1N
220 214 219 mpbid φ2nd1stT1M×12nd1stTM+1N×0Fn1N
221 220 adantr φn2nd1stTM2nd1stT1M×12nd1stTM+1N×0Fn1N
222 imaundi 2nd1stT1M1M=2nd1stT1M12nd1stTM
223 163 imaeq2d φ2nd1stT1M=2nd1stT1M1M
224 121 uneq2d φ2nd1stT1M12nd1stTM=2nd1stT1M12nd1stTM
225 222 223 224 3eqtr4a φ2nd1stT1M=2nd1stT1M12nd1stTM
226 225 xpeq1d φ2nd1stT1M×1=2nd1stT1M12nd1stTM×1
227 xpundir 2nd1stT1M12nd1stTM×1=2nd1stT1M1×12nd1stTM×1
228 226 227 eqtrdi φ2nd1stT1M×1=2nd1stT1M1×12nd1stTM×1
229 228 uneq1d φ2nd1stT1M×12nd1stTM+1N×0=2nd1stT1M1×12nd1stTM×12nd1stTM+1N×0
230 un23 2nd1stT1M1×12nd1stTM×12nd1stTM+1N×0=2nd1stT1M1×12nd1stTM+1N×02nd1stTM×1
231 230 equncomi 2nd1stT1M1×12nd1stTM×12nd1stTM+1N×0=2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0
232 229 231 eqtrdi φ2nd1stT1M×12nd1stTM+1N×0=2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0
233 232 fveq1d φ2nd1stT1M×12nd1stTM+1N×0n=2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n
234 233 ad2antrr φn2nd1stTMn1N2nd1stT1M×12nd1stTM+1N×0n=2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n
235 fnconstg 1V2nd1stTM×1Fn2nd1stTM
236 48 235 ax-mp 2nd1stTM×1Fn2nd1stTM
237 fvun2 2nd1stTM×1Fn2nd1stTM2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTM2nd1stTM1N2nd1stTM=n1N2nd1stTM2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
238 236 237 mp3an1 2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTM2nd1stTM1N2nd1stTM=n1N2nd1stTM2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
239 193 238 mpanr1 2nd1stT1M1×12nd1stTM+1N×0Fn1N2nd1stTMn1N2nd1stTM2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
240 189 192 239 syl2an φn2nd1stTMn1N2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
241 240 anassrs φn2nd1stTMn1N2nd1stTM×12nd1stT1M1×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
242 234 241 eqtrd φn2nd1stTMn1N2nd1stT1M×12nd1stTM+1N×0n=2nd1stT1M1×12nd1stTM+1N×0n
243 47 221 111 111 112 113 242 ofval φn2nd1stTMn1N1st1stT+f2nd1stT1M×12nd1stTM+1N×0n=1st1stTn+2nd1stT1M1×12nd1stTM+1N×0n
244 202 243 eqtr4d φn2nd1stTMn1N1st1stT+f2nd1stT1M1×12nd1stTMN×0n=1st1stT+f2nd1stT1M×12nd1stTM+1N×0n
245 244 an32s φn1Nn2nd1stTM1st1stT+f2nd1stT1M1×12nd1stTMN×0n=1st1stT+f2nd1stT1M×12nd1stTM+1N×0n
246 245 anasss φn1Nn2nd1stTM1st1stT+f2nd1stT1M1×12nd1stTMN×0n=1st1stT+f2nd1stT1M×12nd1stTM+1N×0n
247 fveq2 t=T2ndt=2ndT
248 247 breq2d t=Ty<2ndty<2ndT
249 248 ifbid t=Tify<2ndtyy+1=ify<2ndTyy+1
250 249 csbeq1d t=Tify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0=ify<2ndTyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0
251 2fveq3 t=T1st1stt=1st1stT
252 2fveq3 t=T2nd1stt=2nd1stT
253 252 imaeq1d t=T2nd1stt1j=2nd1stT1j
254 253 xpeq1d t=T2nd1stt1j×1=2nd1stT1j×1
255 252 imaeq1d t=T2nd1sttj+1N=2nd1stTj+1N
256 255 xpeq1d t=T2nd1sttj+1N×0=2nd1stTj+1N×0
257 254 256 uneq12d t=T2nd1stt1j×12nd1sttj+1N×0=2nd1stT1j×12nd1stTj+1N×0
258 251 257 oveq12d t=T1st1stt+f2nd1stt1j×12nd1sttj+1N×0=1st1stT+f2nd1stT1j×12nd1stTj+1N×0
259 258 csbeq2dv t=Tify<2ndTyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0=ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
260 250 259 eqtrd t=Tify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0=ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
261 260 mpteq2dv t=Ty0N1ify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0=y0N1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
262 261 eqeq2d t=TF=y0N1ify<2ndtyy+1/j1st1stt+f2nd1stt1j×12nd1sttj+1N×0F=y0N1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
263 262 2 elrab2 TST0..^K1N×f|f:1N1-1 onto1N×0NF=y0N1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
264 263 simprbi TSF=y0N1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
265 3 264 syl φF=y0N1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
266 breq1 y=M1y<2ndTM1<2ndT
267 id y=M1y=M1
268 266 267 ifbieq1d y=M1ify<2ndTyy+1=ifM1<2ndTM1y+1
269 26 ltm1d φ2ndT1<2ndT
270 62 25 26 90 269 lelttrd φM<2ndT
271 137 62 26 63 270 lttrd φM1<2ndT
272 271 iftrued φifM1<2ndTM1y+1=M1
273 268 272 sylan9eqr φy=M1ify<2ndTyy+1=M1
274 273 csbeq1d φy=M1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=M1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
275 oveq2 j=M11j=1M1
276 275 imaeq2d j=M12nd1stT1j=2nd1stT1M1
277 276 xpeq1d j=M12nd1stT1j×1=2nd1stT1M1×1
278 277 adantl φj=M12nd1stT1j×1=2nd1stT1M1×1
279 oveq1 j=M1j+1=M-1+1
280 279 74 sylan9eqr φj=M1j+1=M
281 280 oveq1d φj=M1j+1N=MN
282 281 imaeq2d φj=M12nd1stTj+1N=2nd1stTMN
283 282 xpeq1d φj=M12nd1stTj+1N×0=2nd1stTMN×0
284 278 283 uneq12d φj=M12nd1stT1j×12nd1stTj+1N×0=2nd1stT1M1×12nd1stTMN×0
285 284 oveq2d φj=M11st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M1×12nd1stTMN×0
286 79 285 csbied φM1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M1×12nd1stTMN×0
287 286 adantr φy=M1M1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M1×12nd1stTMN×0
288 274 287 eqtrd φy=M1ify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M1×12nd1stTMN×0
289 1red φ1
290 62 27 289 91 lesub1dd φM1N1
291 elfz2nn0 M10N1M10N10M1N1
292 79 30 290 291 syl3anbrc φM10N1
293 ovexd φ1st1stT+f2nd1stT1M1×12nd1stTMN×0V
294 265 288 292 293 fvmptd φFM1=1st1stT+f2nd1stT1M1×12nd1stTMN×0
295 294 fveq1d φFM1n=1st1stT+f2nd1stT1M1×12nd1stTMN×0n
296 295 adantr φn1Nn2nd1stTMFM1n=1st1stT+f2nd1stT1M1×12nd1stTMN×0n
297 breq1 y=My<2ndTM<2ndT
298 id y=My=M
299 297 298 ifbieq1d y=Mify<2ndTyy+1=ifM<2ndTMy+1
300 270 iftrued φifM<2ndTMy+1=M
301 299 300 sylan9eqr φy=Mify<2ndTyy+1=M
302 301 csbeq1d φy=Mify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=M/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0
303 oveq2 j=M1j=1M
304 303 imaeq2d j=M2nd1stT1j=2nd1stT1M
305 304 xpeq1d j=M2nd1stT1j×1=2nd1stT1M×1
306 oveq1 j=Mj+1=M+1
307 306 oveq1d j=Mj+1N=M+1N
308 307 imaeq2d j=M2nd1stTj+1N=2nd1stTM+1N
309 308 xpeq1d j=M2nd1stTj+1N×0=2nd1stTM+1N×0
310 305 309 uneq12d j=M2nd1stT1j×12nd1stTj+1N×0=2nd1stT1M×12nd1stTM+1N×0
311 310 oveq2d j=M1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M×12nd1stTM+1N×0
312 311 adantl φj=M1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M×12nd1stTM+1N×0
313 5 312 csbied φM/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M×12nd1stTM+1N×0
314 313 adantr φy=MM/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M×12nd1stTM+1N×0
315 302 314 eqtrd φy=Mify<2ndTyy+1/j1st1stT+f2nd1stT1j×12nd1stTj+1N×0=1st1stT+f2nd1stT1M×12nd1stTM+1N×0
316 30 nn0zd φN1
317 26 27 289 35 lesub1dd φ2ndT1N1
318 eluz2 N12ndT12ndT1N12ndT1N1
319 23 316 317 318 syl3anbrc φN12ndT1
320 fzss2 N12ndT112ndT11N1
321 319 320 syl φ12ndT11N1
322 fz1ssfz0 1N10N1
323 321 322 sstrdi φ12ndT10N1
324 323 5 sseldd φM0N1
325 ovexd φ1st1stT+f2nd1stT1M×12nd1stTM+1N×0V
326 265 315 324 325 fvmptd φFM=1st1stT+f2nd1stT1M×12nd1stTM+1N×0
327 326 fveq1d φFMn=1st1stT+f2nd1stT1M×12nd1stTM+1N×0n
328 327 adantr φn1Nn2nd1stTMFMn=1st1stT+f2nd1stT1M×12nd1stTM+1N×0n
329 246 296 328 3eqtr4d φn1Nn2nd1stTMFM1n=FMn
330 329 expr φn1Nn2nd1stTMFM1n=FMn
331 330 necon1d φn1NFM1nFMnn=2nd1stTM
332 elmapi 1st1stT0..^K1N1st1stT:1N0..^K
333 44 332 syl φ1st1stT:1N0..^K
334 333 42 ffvelcdmd φ1st1stT2nd1stTM0..^K
335 elfzonn0 1st1stT2nd1stTM0..^K1st1stT2nd1stTM0
336 334 335 syl φ1st1stT2nd1stTM0
337 336 nn0red φ1st1stT2nd1stTM
338 337 ltp1d φ1st1stT2nd1stTM<1st1stT2nd1stTM+1
339 337 338 ltned φ1st1stT2nd1stTM1st1stT2nd1stTM+1
340 294 fveq1d φFM12nd1stTM=1st1stT+f2nd1stT1M1×12nd1stTMN×02nd1stTM
341 ovexd φ1NV
342 eqidd φ2nd1stTM1N1st1stT2nd1stTM=1st1stT2nd1stTM
343 fzss1 M1MN1N
344 76 343 syl φMN1N
345 eluzfz1 NMMMN
346 93 345 syl φMMN
347 fnfvima 2nd1stTFn1NMN1NMMN2nd1stTM2nd1stTMN
348 119 344 346 347 syl3anc φ2nd1stTM2nd1stTMN
349 fvun2 2nd1stT1M1×1Fn2nd1stT1M12nd1stTMN×0Fn2nd1stTMN2nd1stT1M12nd1stTMN=2nd1stTM2nd1stTMN2nd1stT1M1×12nd1stTMN×02nd1stTM=2nd1stTMN×02nd1stTM
350 50 53 349 mp3an12 2nd1stT1M12nd1stTMN=2nd1stTM2nd1stTMN2nd1stT1M1×12nd1stTMN×02nd1stTM=2nd1stTMN×02nd1stTM
351 69 348 350 syl2anc φ2nd1stT1M1×12nd1stTMN×02nd1stTM=2nd1stTMN×02nd1stTM
352 51 fvconst2 2nd1stTM2nd1stTMN2nd1stTMN×02nd1stTM=0
353 348 352 syl φ2nd1stTMN×02nd1stTM=0
354 351 353 eqtrd φ2nd1stT1M1×12nd1stTMN×02nd1stTM=0
355 354 adantr φ2nd1stTM1N2nd1stT1M1×12nd1stTMN×02nd1stTM=0
356 46 109 341 341 112 342 355 ofval φ2nd1stTM1N1st1stT+f2nd1stT1M1×12nd1stTMN×02nd1stTM=1st1stT2nd1stTM+0
357 42 356 mpdan φ1st1stT+f2nd1stT1M1×12nd1stTMN×02nd1stTM=1st1stT2nd1stTM+0
358 336 nn0cnd φ1st1stT2nd1stTM
359 358 addridd φ1st1stT2nd1stTM+0=1st1stT2nd1stTM
360 340 357 359 3eqtrd φFM12nd1stTM=1st1stT2nd1stTM
361 326 fveq1d φFM2nd1stTM=1st1stT+f2nd1stT1M×12nd1stTM+1N×02nd1stTM
362 fzss2 NM1M1N
363 93 362 syl φ1M1N
364 elfz1end MM1M
365 61 364 sylib φM1M
366 fnfvima 2nd1stTFn1N1M1NM1M2nd1stTM2nd1stT1M
367 119 363 365 366 syl3anc φ2nd1stTM2nd1stT1M
368 fvun1 2nd1stT1M×1Fn2nd1stT1M2nd1stTM+1N×0Fn2nd1stTM+1N2nd1stT1M2nd1stTM+1N=2nd1stTM2nd1stT1M2nd1stT1M×12nd1stTM+1N×02nd1stTM=2nd1stT1M×12nd1stTM
369 204 133 368 mp3an12 2nd1stT1M2nd1stTM+1N=2nd1stTM2nd1stT1M2nd1stT1M×12nd1stTM+1N×02nd1stTM=2nd1stT1M×12nd1stTM
370 212 367 369 syl2anc φ2nd1stT1M×12nd1stTM+1N×02nd1stTM=2nd1stT1M×12nd1stTM
371 48 fvconst2 2nd1stTM2nd1stT1M2nd1stT1M×12nd1stTM=1
372 367 371 syl φ2nd1stT1M×12nd1stTM=1
373 370 372 eqtrd φ2nd1stT1M×12nd1stTM+1N×02nd1stTM=1
374 373 adantr φ2nd1stTM1N2nd1stT1M×12nd1stTM+1N×02nd1stTM=1
375 46 220 341 341 112 342 374 ofval φ2nd1stTM1N1st1stT+f2nd1stT1M×12nd1stTM+1N×02nd1stTM=1st1stT2nd1stTM+1
376 42 375 mpdan φ1st1stT+f2nd1stT1M×12nd1stTM+1N×02nd1stTM=1st1stT2nd1stTM+1
377 361 376 eqtrd φFM2nd1stTM=1st1stT2nd1stTM+1
378 339 360 377 3netr4d φFM12nd1stTMFM2nd1stTM
379 fveq2 n=2nd1stTMFM1n=FM12nd1stTM
380 fveq2 n=2nd1stTMFMn=FM2nd1stTM
381 379 380 neeq12d n=2nd1stTMFM1nFMnFM12nd1stTMFM2nd1stTM
382 378 381 syl5ibrcom φn=2nd1stTMFM1nFMn
383 382 adantr φn1Nn=2nd1stTMFM1nFMn
384 331 383 impbid φn1NFM1nFMnn=2nd1stTM
385 42 384 riota5 φιn1N|FM1nFMn=2nd1stTM