Metamath Proof Explorer


Theorem mbfposr

Description: Converse to mbfpos . (Contributed by Mario Carneiro, 11-Aug-2014)

Ref Expression
Hypotheses mbfpos.1 φxAB
mbfposr.2 φxAif0BB0MblFn
mbfposr.3 φxAif0BB0MblFn
Assertion mbfposr φxABMblFn

Proof

Step Hyp Ref Expression
1 mbfpos.1 φxAB
2 mbfposr.2 φxAif0BB0MblFn
3 mbfposr.3 φxAif0BB0MblFn
4 1 fmpttd φxAB:A
5 0re 0
6 ifcl B0if0BB0
7 1 5 6 sylancl φxAif0BB0
8 2 7 mbfdm2 φAdomvol
9 simplr φyy<0xAy<0
10 simpllr φyy<0xAy
11 10 lt0neg1d φyy<0xAy<00<y
12 9 11 mpbid φyy<0xA0<y
13 12 biantrurd φyy<0xAB<y0<yB<y
14 1 ad4ant14 φyy<0xAB
15 10 14 ltnegd φyy<0xAy<BB<y
16 0red φyy<0xA0
17 14 renegcld φyy<0xAB
18 10 renegcld φyy<0xAy
19 maxlt 0Byif0BB0<y0<yB<y
20 16 17 18 19 syl3anc φyy<0xAif0BB0<y0<yB<y
21 13 15 20 3bitr4rd φyy<0xAif0BB0<yy<B
22 1 renegcld φxAB
23 ifcl B0if0BB0
24 22 5 23 sylancl φxAif0BB0
25 24 ad4ant14 φyy<0xAif0BB0
26 25 biantrurd φyy<0xAif0BB0<yif0BB0if0BB0<y
27 14 biantrurd φyy<0xAy<BBy<B
28 21 26 27 3bitr3d φyy<0xAif0BB0if0BB0<yBy<B
29 18 rexrd φyy<0xAy*
30 elioomnf y*if0BB0−∞yif0BB0if0BB0<y
31 29 30 syl φyy<0xAif0BB0−∞yif0BB0if0BB0<y
32 10 rexrd φyy<0xAy*
33 elioopnf y*By+∞By<B
34 32 33 syl φyy<0xABy+∞By<B
35 28 31 34 3bitr4d φyy<0xAif0BB0−∞yBy+∞
36 simpr φxAxA
37 eqid xAif0BB0=xAif0BB0
38 37 fvmpt2 xAif0BB0xAif0BB0x=if0BB0
39 36 24 38 syl2anc φxAxAif0BB0x=if0BB0
40 39 eleq1d φxAxAif0BB0x−∞yif0BB0−∞y
41 40 ad4ant14 φyy<0xAxAif0BB0x−∞yif0BB0−∞y
42 eqid xAB=xAB
43 42 fvmpt2 xABxABx=B
44 36 1 43 syl2anc φxAxABx=B
45 44 eleq1d φxAxABxy+∞By+∞
46 45 ad4ant14 φyy<0xAxABxy+∞By+∞
47 35 41 46 3bitr4d φyy<0xAxAif0BB0x−∞yxABxy+∞
48 47 pm5.32da φyy<0xAxAif0BB0x−∞yxAxABxy+∞
49 24 fmpttd φxAif0BB0:A
50 ffn xAif0BB0:AxAif0BB0FnA
51 elpreima xAif0BB0FnAxxAif0BB0-1−∞yxAxAif0BB0x−∞y
52 49 50 51 3syl φxxAif0BB0-1−∞yxAxAif0BB0x−∞y
53 52 ad2antrr φyy<0xxAif0BB0-1−∞yxAxAif0BB0x−∞y
54 ffn xAB:AxABFnA
55 elpreima xABFnAxxAB-1y+∞xAxABxy+∞
56 4 54 55 3syl φxxAB-1y+∞xAxABxy+∞
57 56 ad2antrr φyy<0xxAB-1y+∞xAxABxy+∞
58 48 53 57 3bitr4d φyy<0xxAif0BB0-1−∞yxxAB-1y+∞
59 58 alrimiv φyy<0xxxAif0BB0-1−∞yxxAB-1y+∞
60 nfmpt1 _xxAif0BB0
61 60 nfcnv _xxAif0BB0-1
62 nfcv _x−∞y
63 61 62 nfima _xxAif0BB0-1−∞y
64 nfmpt1 _xxAB
65 64 nfcnv _xxAB-1
66 nfcv _xy+∞
67 65 66 nfima _xxAB-1y+∞
68 63 67 cleqf xAif0BB0-1−∞y=xAB-1y+∞xxxAif0BB0-1−∞yxxAB-1y+∞
69 59 68 sylibr φyy<0xAif0BB0-1−∞y=xAB-1y+∞
70 mbfima xAif0BB0MblFnxAif0BB0:AxAif0BB0-1−∞ydomvol
71 3 49 70 syl2anc φxAif0BB0-1−∞ydomvol
72 71 ad2antrr φyy<0xAif0BB0-1−∞ydomvol
73 69 72 eqeltrrd φyy<0xAB-1y+∞domvol
74 simplr φy0yxA0y
75 0red φy0yxA0
76 1 ad4ant14 φy0yxAB
77 simpllr φy0yxAy
78 maxle 0Byif0BB0y0yBy
79 75 76 77 78 syl3anc φy0yxAif0BB0y0yBy
80 74 79 mpbirand φy0yxAif0BB0yBy
81 80 notbid φy0yxA¬if0BB0y¬By
82 76 5 6 sylancl φy0yxAif0BB0
83 77 82 ltnled φy0yxAy<if0BB0¬if0BB0y
84 77 76 ltnled φy0yxAy<B¬By
85 81 83 84 3bitr4d φy0yxAy<if0BB0y<B
86 82 biantrurd φy0yxAy<if0BB0if0BB0y<if0BB0
87 76 biantrurd φy0yxAy<BBy<B
88 85 86 87 3bitr3d φy0yxAif0BB0y<if0BB0By<B
89 77 rexrd φy0yxAy*
90 elioopnf y*if0BB0y+∞if0BB0y<if0BB0
91 89 90 syl φy0yxAif0BB0y+∞if0BB0y<if0BB0
92 89 33 syl φy0yxABy+∞By<B
93 88 91 92 3bitr4d φy0yxAif0BB0y+∞By+∞
94 eqid xAif0BB0=xAif0BB0
95 94 fvmpt2 xAif0BB0xAif0BB0x=if0BB0
96 36 7 95 syl2anc φxAxAif0BB0x=if0BB0
97 96 eleq1d φxAxAif0BB0xy+∞if0BB0y+∞
98 97 ad4ant14 φy0yxAxAif0BB0xy+∞if0BB0y+∞
99 45 ad4ant14 φy0yxAxABxy+∞By+∞
100 93 98 99 3bitr4d φy0yxAxAif0BB0xy+∞xABxy+∞
101 100 pm5.32da φy0yxAxAif0BB0xy+∞xAxABxy+∞
102 7 fmpttd φxAif0BB0:A
103 ffn xAif0BB0:AxAif0BB0FnA
104 elpreima xAif0BB0FnAxxAif0BB0-1y+∞xAxAif0BB0xy+∞
105 102 103 104 3syl φxxAif0BB0-1y+∞xAxAif0BB0xy+∞
106 105 ad2antrr φy0yxxAif0BB0-1y+∞xAxAif0BB0xy+∞
107 56 ad2antrr φy0yxxAB-1y+∞xAxABxy+∞
108 101 106 107 3bitr4d φy0yxxAif0BB0-1y+∞xxAB-1y+∞
109 108 alrimiv φy0yxxxAif0BB0-1y+∞xxAB-1y+∞
110 nfmpt1 _xxAif0BB0
111 110 nfcnv _xxAif0BB0-1
112 111 66 nfima _xxAif0BB0-1y+∞
113 112 67 cleqf xAif0BB0-1y+∞=xAB-1y+∞xxxAif0BB0-1y+∞xxAB-1y+∞
114 109 113 sylibr φy0yxAif0BB0-1y+∞=xAB-1y+∞
115 mbfima xAif0BB0MblFnxAif0BB0:AxAif0BB0-1y+∞domvol
116 2 102 115 syl2anc φxAif0BB0-1y+∞domvol
117 116 ad2antrr φy0yxAif0BB0-1y+∞domvol
118 114 117 eqeltrrd φy0yxAB-1y+∞domvol
119 simpr φyy
120 0red φy0
121 73 118 119 120 ltlecasei φyxAB-1y+∞domvol
122 simplr φy0<yxA0<y
123 0red φy0<yxA0
124 1 ad4ant14 φy0<yxAB
125 simpllr φy0<yxAy
126 maxlt 0Byif0BB0<y0<yB<y
127 123 124 125 126 syl3anc φy0<yxAif0BB0<y0<yB<y
128 122 127 mpbirand φy0<yxAif0BB0<yB<y
129 7 ad4ant14 φy0<yxAif0BB0
130 129 biantrurd φy0<yxAif0BB0<yif0BB0if0BB0<y
131 124 biantrurd φy0<yxAB<yBB<y
132 128 130 131 3bitr3d φy0<yxAif0BB0if0BB0<yBB<y
133 125 rexrd φy0<yxAy*
134 elioomnf y*if0BB0−∞yif0BB0if0BB0<y
135 133 134 syl φy0<yxAif0BB0−∞yif0BB0if0BB0<y
136 elioomnf y*B−∞yBB<y
137 133 136 syl φy0<yxAB−∞yBB<y
138 132 135 137 3bitr4d φy0<yxAif0BB0−∞yB−∞y
139 96 eleq1d φxAxAif0BB0x−∞yif0BB0−∞y
140 139 ad4ant14 φy0<yxAxAif0BB0x−∞yif0BB0−∞y
141 44 eleq1d φxAxABx−∞yB−∞y
142 141 ad4ant14 φy0<yxAxABx−∞yB−∞y
143 138 140 142 3bitr4d φy0<yxAxAif0BB0x−∞yxABx−∞y
144 143 pm5.32da φy0<yxAxAif0BB0x−∞yxAxABx−∞y
145 elpreima xAif0BB0FnAxxAif0BB0-1−∞yxAxAif0BB0x−∞y
146 102 103 145 3syl φxxAif0BB0-1−∞yxAxAif0BB0x−∞y
147 146 ad2antrr φy0<yxxAif0BB0-1−∞yxAxAif0BB0x−∞y
148 elpreima xABFnAxxAB-1−∞yxAxABx−∞y
149 4 54 148 3syl φxxAB-1−∞yxAxABx−∞y
150 149 ad2antrr φy0<yxxAB-1−∞yxAxABx−∞y
151 144 147 150 3bitr4d φy0<yxxAif0BB0-1−∞yxxAB-1−∞y
152 151 alrimiv φy0<yxxxAif0BB0-1−∞yxxAB-1−∞y
153 nfcv _x−∞y
154 111 153 nfima _xxAif0BB0-1−∞y
155 65 153 nfima _xxAB-1−∞y
156 154 155 cleqf xAif0BB0-1−∞y=xAB-1−∞yxxxAif0BB0-1−∞yxxAB-1−∞y
157 152 156 sylibr φy0<yxAif0BB0-1−∞y=xAB-1−∞y
158 mbfima xAif0BB0MblFnxAif0BB0:AxAif0BB0-1−∞ydomvol
159 2 102 158 syl2anc φxAif0BB0-1−∞ydomvol
160 159 ad2antrr φy0<yxAif0BB0-1−∞ydomvol
161 157 160 eqeltrrd φy0<yxAB-1−∞ydomvol
162 simplr φyy0xAy0
163 simpllr φyy0xAy
164 163 le0neg1d φyy0xAy00y
165 162 164 mpbid φyy0xA0y
166 165 biantrurd φyy0xABy0yBy
167 1 ad4ant14 φyy0xAB
168 163 167 lenegd φyy0xAyBBy
169 0red φyy0xA0
170 167 renegcld φyy0xAB
171 163 renegcld φyy0xAy
172 maxle 0Byif0BB0y0yBy
173 169 170 171 172 syl3anc φyy0xAif0BB0y0yBy
174 166 168 173 3bitr4rd φyy0xAif0BB0yyB
175 174 notbid φyy0xA¬if0BB0y¬yB
176 24 ad4ant14 φyy0xAif0BB0
177 171 176 ltnled φyy0xAy<if0BB0¬if0BB0y
178 167 163 ltnled φyy0xAB<y¬yB
179 175 177 178 3bitr4d φyy0xAy<if0BB0B<y
180 176 biantrurd φyy0xAy<if0BB0if0BB0y<if0BB0
181 167 biantrurd φyy0xAB<yBB<y
182 179 180 181 3bitr3d φyy0xAif0BB0y<if0BB0BB<y
183 171 rexrd φyy0xAy*
184 elioopnf y*if0BB0y+∞if0BB0y<if0BB0
185 183 184 syl φyy0xAif0BB0y+∞if0BB0y<if0BB0
186 163 rexrd φyy0xAy*
187 186 136 syl φyy0xAB−∞yBB<y
188 182 185 187 3bitr4d φyy0xAif0BB0y+∞B−∞y
189 39 eleq1d φxAxAif0BB0xy+∞if0BB0y+∞
190 189 ad4ant14 φyy0xAxAif0BB0xy+∞if0BB0y+∞
191 141 ad4ant14 φyy0xAxABx−∞yB−∞y
192 188 190 191 3bitr4d φyy0xAxAif0BB0xy+∞xABx−∞y
193 192 pm5.32da φyy0xAxAif0BB0xy+∞xAxABx−∞y
194 elpreima xAif0BB0FnAxxAif0BB0-1y+∞xAxAif0BB0xy+∞
195 49 50 194 3syl φxxAif0BB0-1y+∞xAxAif0BB0xy+∞
196 195 ad2antrr φyy0xxAif0BB0-1y+∞xAxAif0BB0xy+∞
197 149 ad2antrr φyy0xxAB-1−∞yxAxABx−∞y
198 193 196 197 3bitr4d φyy0xxAif0BB0-1y+∞xxAB-1−∞y
199 198 alrimiv φyy0xxxAif0BB0-1y+∞xxAB-1−∞y
200 nfcv _xy+∞
201 61 200 nfima _xxAif0BB0-1y+∞
202 201 155 cleqf xAif0BB0-1y+∞=xAB-1−∞yxxxAif0BB0-1y+∞xxAB-1−∞y
203 199 202 sylibr φyy0xAif0BB0-1y+∞=xAB-1−∞y
204 mbfima xAif0BB0MblFnxAif0BB0:AxAif0BB0-1y+∞domvol
205 3 49 204 syl2anc φxAif0BB0-1y+∞domvol
206 205 ad2antrr φyy0xAif0BB0-1y+∞domvol
207 203 206 eqeltrrd φyy0xAB-1−∞ydomvol
208 161 207 120 119 ltlecasei φyxAB-1−∞ydomvol
209 4 8 121 208 ismbf2d φxABMblFn