Metamath Proof Explorer


Theorem stoweidlem35

Description: This lemma is used to prove the existence of a function p as in Lemma 1 of BrosowskiDeutsh p. 90: p is in the subalgebra, such that 0 <= p <= 1, p__(t_0) = 0, and p > 0 on T - U. Here ( qi ) is used to represent p__(t_i) in the paper. (Contributed by Glauco Siliprandi, 20-Apr-2017)

Ref Expression
Hypotheses stoweidlem35.1 t φ
stoweidlem35.2 w φ
stoweidlem35.3 h φ
stoweidlem35.4 Q = h A | h Z = 0 t T 0 h t h t 1
stoweidlem35.5 W = w J | h Q w = t T | 0 < h t
stoweidlem35.6 G = w X h Q | w = t T | 0 < h t
stoweidlem35.7 φ A V
stoweidlem35.8 φ X Fin
stoweidlem35.9 φ X W
stoweidlem35.10 φ T U X
stoweidlem35.11 φ T U
Assertion stoweidlem35 φ m q m q : 1 m Q t T U i 1 m 0 < q i t

Proof

Step Hyp Ref Expression
1 stoweidlem35.1 t φ
2 stoweidlem35.2 w φ
3 stoweidlem35.3 h φ
4 stoweidlem35.4 Q = h A | h Z = 0 t T 0 h t h t 1
5 stoweidlem35.5 W = w J | h Q w = t T | 0 < h t
6 stoweidlem35.6 G = w X h Q | w = t T | 0 < h t
7 stoweidlem35.7 φ A V
8 stoweidlem35.8 φ X Fin
9 stoweidlem35.9 φ X W
10 stoweidlem35.10 φ T U X
11 stoweidlem35.11 φ T U
12 6 rnmptfi X Fin ran G Fin
13 8 12 syl φ ran G Fin
14 fnchoice ran G Fin g g Fn ran G l ran G l g l l
15 14 adantl φ ran G Fin g g Fn ran G l ran G l g l l
16 simprl φ g Fn ran G l ran G l g l l g Fn ran G
17 nfmpt1 _ w w X h Q | w = t T | 0 < h t
18 6 17 nfcxfr _ w G
19 18 nfrn _ w ran G
20 19 nfcri w k ran G
21 2 20 nfan w φ k ran G
22 9 sselda φ w X w W
23 22 5 eleqtrdi φ w X w w J | h Q w = t T | 0 < h t
24 rabid w w J | h Q w = t T | 0 < h t w J h Q w = t T | 0 < h t
25 23 24 sylib φ w X w J h Q w = t T | 0 < h t
26 25 simprd φ w X h Q w = t T | 0 < h t
27 df-rex h Q w = t T | 0 < h t h h Q w = t T | 0 < h t
28 26 27 sylib φ w X h h Q w = t T | 0 < h t
29 rabid h h Q | w = t T | 0 < h t h Q w = t T | 0 < h t
30 29 exbii h h h Q | w = t T | 0 < h t h h Q w = t T | 0 < h t
31 28 30 sylibr φ w X h h h Q | w = t T | 0 < h t
32 31 adantr φ w X k = h Q | w = t T | 0 < h t h h h Q | w = t T | 0 < h t
33 nfv h w X
34 3 33 nfan h φ w X
35 nfrab1 _ h h Q | w = t T | 0 < h t
36 35 nfeq2 h k = h Q | w = t T | 0 < h t
37 34 36 nfan h φ w X k = h Q | w = t T | 0 < h t
38 eleq2 k = h Q | w = t T | 0 < h t h k h h Q | w = t T | 0 < h t
39 38 biimprd k = h Q | w = t T | 0 < h t h h Q | w = t T | 0 < h t h k
40 39 adantl φ w X k = h Q | w = t T | 0 < h t h h Q | w = t T | 0 < h t h k
41 37 40 eximd φ w X k = h Q | w = t T | 0 < h t h h h Q | w = t T | 0 < h t h h k
42 32 41 mpd φ w X k = h Q | w = t T | 0 < h t h h k
43 42 adantllr φ k ran G w X k = h Q | w = t T | 0 < h t h h k
44 6 elrnmpt k ran G k ran G w X k = h Q | w = t T | 0 < h t
45 44 ibi k ran G w X k = h Q | w = t T | 0 < h t
46 45 adantl φ k ran G w X k = h Q | w = t T | 0 < h t
47 21 43 46 r19.29af φ k ran G h h k
48 n0 k h h k
49 47 48 sylibr φ k ran G k
50 49 adantlr φ g Fn ran G l ran G l g l l k ran G k
51 simplrr φ g Fn ran G l ran G l g l l k ran G l ran G l g l l
52 neeq1 l = k l k
53 fveq2 l = k g l = g k
54 53 eleq1d l = k g l l g k l
55 eleq2 l = k g k l g k k
56 54 55 bitrd l = k g l l g k k
57 52 56 imbi12d l = k l g l l k g k k
58 57 rspccva l ran G l g l l k ran G k g k k
59 51 58 sylancom φ g Fn ran G l ran G l g l l k ran G k g k k
60 50 59 mpd φ g Fn ran G l ran G l g l l k ran G g k k
61 60 ralrimiva φ g Fn ran G l ran G l g l l k ran G g k k
62 fveq2 k = l g k = g l
63 62 eleq1d k = l g k k g l k
64 eleq2 k = l g l k g l l
65 63 64 bitrd k = l g k k g l l
66 65 cbvralvw k ran G g k k l ran G g l l
67 61 66 sylib φ g Fn ran G l ran G l g l l l ran G g l l
68 16 67 jca φ g Fn ran G l ran G l g l l g Fn ran G l ran G g l l
69 68 ex φ g Fn ran G l ran G l g l l g Fn ran G l ran G g l l
70 69 adantr φ ran G Fin g Fn ran G l ran G l g l l g Fn ran G l ran G g l l
71 70 eximdv φ ran G Fin g g Fn ran G l ran G l g l l g g Fn ran G l ran G g l l
72 15 71 mpd φ ran G Fin g g Fn ran G l ran G g l l
73 13 72 mpdan φ g g Fn ran G l ran G g l l
74 73 ralrimivw φ m g g Fn ran G l ran G g l l
75 ssn0 T U X T U X
76 10 11 75 syl2anc φ X
77 76 neneqd φ ¬ X =
78 unieq X = X =
79 uni0 =
80 78 79 eqtrdi X = X =
81 77 80 nsyl φ ¬ X =
82 dm0rn0 dom G = ran G =
83 4 7 rabexd φ Q V
84 nfrab1 _ h h A | h Z = 0 t T 0 h t h t 1
85 4 84 nfcxfr _ h Q
86 85 rabexgf Q V h Q | w = t T | 0 < h t V
87 83 86 syl φ h Q | w = t T | 0 < h t V
88 87 adantr φ w X h Q | w = t T | 0 < h t V
89 2 88 6 fmptdf φ G : X V
90 dffn2 G Fn X G : X V
91 89 90 sylibr φ G Fn X
92 91 fndmd φ dom G = X
93 92 eqeq1d φ dom G = X =
94 82 93 bitr3id φ ran G = X =
95 81 94 mtbird φ ¬ ran G =
96 fz1f1o ran G Fin ran G = ran G f f : 1 ran G 1-1 onto ran G
97 13 96 syl φ ran G = ran G f f : 1 ran G 1-1 onto ran G
98 97 ord φ ¬ ran G = ran G f f : 1 ran G 1-1 onto ran G
99 95 98 mpd φ ran G f f : 1 ran G 1-1 onto ran G
100 oveq2 m = ran G 1 m = 1 ran G
101 100 f1oeq2d m = ran G f : 1 m 1-1 onto ran G f : 1 ran G 1-1 onto ran G
102 101 exbidv m = ran G f f : 1 m 1-1 onto ran G f f : 1 ran G 1-1 onto ran G
103 102 rspcev ran G f f : 1 ran G 1-1 onto ran G m f f : 1 m 1-1 onto ran G
104 99 103 syl φ m f f : 1 m 1-1 onto ran G
105 r19.29 m g g Fn ran G l ran G g l l m f f : 1 m 1-1 onto ran G m g g Fn ran G l ran G g l l f f : 1 m 1-1 onto ran G
106 74 104 105 syl2anc φ m g g Fn ran G l ran G g l l f f : 1 m 1-1 onto ran G
107 exdistrv g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g g Fn ran G l ran G g l l f f : 1 m 1-1 onto ran G
108 107 biimpri g g Fn ran G l ran G g l l f f : 1 m 1-1 onto ran G g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
109 108 a1i φ g g Fn ran G l ran G g l l f f : 1 m 1-1 onto ran G g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
110 109 reximdv φ m g g Fn ran G l ran G g l l f f : 1 m 1-1 onto ran G m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
111 106 110 mpd φ m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
112 df-rex m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G m m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
113 111 112 sylib φ m m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
114 ax-5 m g m
115 19.29 g m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g m f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
116 114 115 sylan m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g m f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
117 ax-5 m f m
118 19.29 f m f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
119 117 118 sylan m f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
120 119 eximi g m f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
121 116 120 syl m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
122 df-3an g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
123 122 anbi2i m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
124 123 2exbii g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
125 121 124 sylibr m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
126 125 a1i φ m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
127 126 eximdv φ m m g f g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G m g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
128 113 127 mpd φ m g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
129 83 adantr φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G Q V
130 simprl φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G m
131 simprr1 φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g Fn ran G
132 elex ran G Fin ran G V
133 13 132 syl φ ran G V
134 133 adantr φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G ran G V
135 simprr2 φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G l ran G g l l
136 56 rspccva l ran G g l l k ran G g k k
137 135 136 sylan φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G k ran G g k k
138 simprr3 φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G f : 1 m 1-1 onto ran G
139 10 adantr φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G T U X
140 nfv t m
141 nfcv _ t g
142 nfcv _ t X
143 nfrab1 _ t t T | 0 < h t
144 143 nfeq2 t w = t T | 0 < h t
145 nfv t h Z = 0
146 nfra1 t t T 0 h t h t 1
147 145 146 nfan t h Z = 0 t T 0 h t h t 1
148 nfcv _ t A
149 147 148 nfrabw _ t h A | h Z = 0 t T 0 h t h t 1
150 4 149 nfcxfr _ t Q
151 144 150 nfrabw _ t h Q | w = t T | 0 < h t
152 142 151 nfmpt _ t w X h Q | w = t T | 0 < h t
153 6 152 nfcxfr _ t G
154 153 nfrn _ t ran G
155 141 154 nffn t g Fn ran G
156 nfv t g l l
157 154 156 nfralw t l ran G g l l
158 nfcv _ t f
159 nfcv _ t 1 m
160 158 159 154 nff1o t f : 1 m 1-1 onto ran G
161 155 157 160 nf3an t g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
162 140 161 nfan t m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
163 1 162 nfan t φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
164 nfv w m
165 nfcv _ w g
166 165 19 nffn w g Fn ran G
167 nfv w g l l
168 19 167 nfralw w l ran G g l l
169 nfcv _ w f
170 nfcv _ w 1 m
171 169 170 19 nff1o w f : 1 m 1-1 onto ran G
172 166 168 171 nf3an w g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
173 164 172 nfan w m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
174 2 173 nfan w φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G
175 6 129 130 131 134 137 138 139 163 174 85 stoweidlem27 φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G q m q : 1 m Q t T U i 1 m 0 < q i t
176 175 ex φ m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G q m q : 1 m Q t T U i 1 m 0 < q i t
177 176 2eximdv φ g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G g f q m q : 1 m Q t T U i 1 m 0 < q i t
178 177 eximdv φ m g f m g Fn ran G l ran G g l l f : 1 m 1-1 onto ran G m g f q m q : 1 m Q t T U i 1 m 0 < q i t
179 128 178 mpd φ m g f q m q : 1 m Q t T U i 1 m 0 < q i t
180 id q m q : 1 m Q t T U i 1 m 0 < q i t q m q : 1 m Q t T U i 1 m 0 < q i t
181 180 exlimivv g f q m q : 1 m Q t T U i 1 m 0 < q i t q m q : 1 m Q t T U i 1 m 0 < q i t
182 181 eximi m g f q m q : 1 m Q t T U i 1 m 0 < q i t m q m q : 1 m Q t T U i 1 m 0 < q i t
183 179 182 syl φ m q m q : 1 m Q t T U i 1 m 0 < q i t