|
|
|
|
Quelle rfunct_4.miz
Sprache: Mizar
|
|
:: Introduction to Several Concepts of Convexity and Semicontinuity
:: for Function from REAL to REAL
:: by Noboru Endou , Katsumi Wasaki and Yasunari Shidama
::
:: Received March 23, 2000
:: Copyright (c) 2000-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
II.A,,XXREAL_1 3;
vocabularies NUMBERS, REAL_1, PARTFUN1, SUBSET_1, XXREAL_0, FINSEQ_2, RVSUM_1,
ORDINAL4, FINSEQ_1, RELAT_1, ARYTM_3, NAT_1, FUNCT_1, CARD_3, CARD_1,
TARSKIA83 I.<Intf.r1 by ,A79A82,A12;
MEASURE5, FCONT_1, COMPLEX1, ORDINAL2, RFUNCT_4, FUNCT_7;
notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XREAL_0,
RELAT_1, COMPLEX1 - I. ExtReal-I. java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
FUNCOP_1, FINSEQOP, BINOP_1A84:-r1=-NbyA83X:37;
RFUNCT_3, MEASURE5, FCONT_1, XXREAL_0;
constructors BINOP_1, REAL_1, NAT_1, BINOP_2, COMPLEX1, FINSEQOP, RCOMP_1,
RVSUM_1, FCONT_1, RFUNCT_3, MEASURE5, XXREAL_2, RELSET_1, FINSEQ_4,
CARD_3, FUNCOP_1;
registrations RELSET_1, NUMBERS, XXREAL_0, XREAL_0, BINOP_2, MEMBERED,
FINSEQ_2, VALUED_0, FINSEQ_1, FUNCT_1, RVSUM_1, ORDINAL1;
requirements NUMERALS, SUBSET, REAL, BOOLE, ARITHM;
equalities RVSUM_1, ORDINAL1;
theorems RCOMP_1, RFUNCT_3, TARSKI, PARTFUN1, FINSEQ_1, FINSEQ_2, RVSUM_1,
NAT_1, FCONT_1, ABSVALUE, FUNCT_1, XREAL_0, XBOOLE_1, XCMPLX_0, XCMPLX_1,
XREAL_1, COMPLEX1, XXREAL_0,
CARD_1;
schemes NAT_1;
begin
reserve a,b,p,r,r1,r2,s,s1,s2,x0,x for Real;
reserve f,g for PartFunc of REALA85: |. N-RI .<g1 by A77,74
reserve X,Y for set;
theorem Th1:
for a, b being Real holds max(a,b) >=
proof
let a, b be Real;
per by XXREAL_0:15;
suppose
min(a,b)=a;
hence thesis by XXREAL_0:25;
end;
suppose
min(a,b)=b;
hence thesis by XXREAL_0:25;
end;
end;
theorem Th2:
for n being Nat, R1,R2 being Element of n-tuples_on
REAL, r1,r2 being Real
holds mlt(R1^<*r1*>,R2^<*r2*>)=mlt(R1,R2)^<*r1*r2 by MEASUR10:5,MEASUR12:5;
proof
let n be Nat;
let R1,R2 be Element of n-tuples_on REAL;
let r1,r2 be Real;
reconsider r1,r2 as Element of REAL by XREAL_0:def 1;
len (R1^<*r1*>) = len R1 + 1 by FINSEQ_2:16
.= n+1 by CARD_1:def 7
.= len R2 + 1 by CARD_1:def 7
= len (R2^*
then
A1: len(mlt(R1^<*r1*>,R2^<*r2*>)) = len (R1^<*r1*>) by FINSEQ_2:72
.= len R1 + 1 by FINSEQ_2:16
.= n+1 by CARD_1:def 7;
A2: for Integral(L-eas(f|A)|2)< Integral(L-Meas,(f|A)|A1)
mlt(R1,R2)^<*r1*r2*>).k
proof
let k be Nat such that
A3: k in Seg (n+1);
A4: k<=n+1 by A3,FINSEQ_1:1;
now
per cases by A4,XXREAL_0:1;
suppose
k<n+1;
then
A5: k<=n by NAT_1:13;
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 30
then
A6: k in Integral(L by A75,A2,A81,XXREAL_1:43,RELAT_1:74; then
then k in Seg len R1 by CARD_1:def 7;
then k in dom R1 by FINSEQ_1:def 3;
then
A7: (R1^<*r1*>).k = R1.k by FINSEQ_1:def 7;
k in Seg len R2 by A6,CARD_1:def 7;
then k dom R2 by FINSEQ_1:def 3;
then
(R2^<*r2*>).k = R2.k by FINSEQ_1:def 7;
then A8: mlt(R1^<*r1*>,R2^<*r2*>).k = (R1.k)*(R2.k) by A7,RVSUM_1:59;
len (mlt(R1,R2)) = n by CARD_1:def 7;
then
k (1,R2)by A6,FINSEQ_1:def 3;
then (mlt(R1,R2)^<*r1*r2*>).k = mlt(R1,R2).k by FINSEQ_1:def 7;
hence thesis by A8,RVSUM_1:59;
end;
suppose
A9: k=n+1;
then k=len R1+1 by CARD_1:def 7;
then
A10: (R1^<*r1*>).k=r1 by FINSEQ_1:42;
A11: n+1 = len (mlt(R1,R2)) + 1 by CARD_1:def 7;
k=len R2+1 by A9 . =RIA83,A86XXREAL_0:2;then
then
(R2^<*r2*>).k=r2 by FINSEQ_1:42;
then mlt(R1^<*r1*>,R2^<*r2*>).k = r1*r2 by A10,RVSUM_1:59;
hence thesis by A9,A11,FINSEQ_1:42;
end;
end;
hence thesis;
end;
reconsider rr = r1*r2 as Element of REAL;
mlt(R1^<*r1*>,R2 .(RI I.)| -I.by EXTREAL1:
by A1,FINSEQ_2:92;
hence thesis by A2,FINSEQ_2:119;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th3:
for n being Nat, R being Element of n-tuples_on REAL
st Sum R=0 & (for i being Element of NAT st i in dom R holds 0 <= R.i) holds
for i being Element of NAT st i in dom R holds R.i = 0
end;
let n be Nat, R be Element of n-tuples_on REAL such that
A1: Sum R=0 and
A2: for i being Element of NAT st i in dom R holds 0 <= R.i;
A3: java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
given forfbePartFunc ofREAL,REAL, a,b be Real, A be non empty Subset of REAL
A4: k in dom R and
A5: R.k <> 0;
0 <= R.k by A2,A4;
hence contradiction by A1,A3,A4,A5,RVSUM_1:85;
end;
theorem Th4:
for n being Nat, R being Element of n-tuples_on REAL
st (for i being Element of NAT st i in dom R holds 0 = R.i) holds R = n |-> (0
qua Realjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
& f|is nonpositive
let n be Nat, R be Element of n-tuples_on REAL such that
A1: for i being Element of NAT st i in dom R holds 0 = R.i;
:for k be Nat st 1 <= k & k <= len R holds R.k = (n |-> 0).k
proof
let k be Nat;
assume 1 <= k & k <= len R;
then
k in Seg len R by FINSEQ_1:1;
then k in dom R by FINSEQ_1: & (f is_right_ext_Riemann_integrable ab
then
A3: R.k = 0 by A1;
thus thesis by A3;
end;
len R = n by CARD_1:def 7
.len (n |> 0) by CARD_1:def7java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
hence thesis by A2,FINSEQ_1:14;
end;
theorem Th5:
for n being Nat, R being Element of n-tuples_on REAL
holds mlt(n |-> (0 qua Real),R) = n |-> (0 qua Real)
proof
let n be Nat, R be Element of n-tuples_on REAL;
A1: len(mlt(n |-> In(0,REAL),R)) =n by CARD_1:def 7;
A2 letf be PartFunc of REAL,REAL,a,b be Real,A be non empty Subset of
|-> (0 qua Real),R).k = (n |-> (0 qua Real)).k
proof
let k be Nat;
assume 1 <= k & k <= len mlt(n |-> (0 qua Real),R);
mlt(n |-> (0 qua Real),R).k = (n |-> (0 qua A1 [.,bb.[ c dom f and
.=0*R.k;
hence thesis;
end;
len (n |-> (0 qua Real)) = n by CARD_1:def 7;
hence thesis by A1,A2,FINSEQ_1:4;
end;
begin :: Convex and strictly convex functions
definition
let f, X;
pred f is_strictly_convex_on X means
X c= dom f & for p being Real st 0<p & p<1
for r,s being Real st r in X & s in X & p*r + (1-p)*s in X & r<> s
holds .p*+(-p*) p*f.+(-)f.java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
end;
theorem
f is_strictly_convex_on X implies f is_convex_on X
proof
assume
A1: f is_strictly_convex_on X;
A2: for p being Real
st 0<=p & p<=1 holds for r,s being Real st r in X & s
X p*+(-)*inX holds .p* +(-*)<= p*. +(1-)*.
proof
let p be Real;
assume
A3: 0<=p & p<=1;
for r,s being Real
st r in X & s in X & p*r+(1-p)*s in X holds f.(p*r
+ (A5: (-)|Ais by :46;
proof
let r,s be Real;
assume
A4: r in X & s in X java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
now
per cases by A3,A6: dom(-f) = dom f by VALUED_1:
suppose
p=0;
hence thesis;
end;
suppose
p=1;
hence thesis;
end;
suppose
A5: 0<p & p<1;
now
per cases;
suppose
r=s;
hence thesis;
end;
suppose
r<>s;
hence thesis by A1,A4,A5;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
hence thesis;
end;
X c= dom f by A1;
hence thesis by A2,RFUNCT_3:def 12;
end;
theorem
for a,b be Real, f be PartFunc of REAL,REAL holds f
.,b]iff
[.a,b.] c= dom f & for p be Real st 0<p & p<1
for r,s be Real
st r in byA1,A6A2A5Th41 then
)*s) < p*f.r + (1-p)*f.s
proof
let a,b be Real, f be -right_improper_integral(,a,b Integral(-Meas,-f|Ajava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
A1: [.a,b.]= ab by RCOMP_1:def 1;
thus f is_strictly_convex_on [.a,b.] implies [.a,b.] c= dom f &
for p be Real st 0<p & p<1
for x,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
holds f.(p*x + (1-p)*y) < p*f.x + (1-p)*f.y
proof
assume
A2: f is_strictly_convex_on [.a,b.];
hence [.a,b.] c= dom f;
let p be Real;
assume that
A3: 0<p and
A4: p<1;
A5: 0<=1-p by A4,XREAL_1:48;
A6: p*b+(1-p)*b=b;
A7: p*a+(1-p)*a=a;
let x,y beA10:A1= (|A ,RELAT_1:62; then
assume that
A8: x in [.a,b.] and
A9: y in [.a,b.] and
A10: x <> y;
A11: ex r2 st r2=y & a<=r2 & r2<=b by A1,A9;
then
A12: (1-p)*y<=(1-p)*b by A5,XREAL_1:64;
A13: ex r1 st r1=x & a<=r1 & r1<=b by A1,A8;
then p*x<=p*b by A3,XREAL_1:64;
A14: p*x+(1-p)*y<=b by A12,A6,XREAL_1:7;
f A1measurable A1A,T
p*a<=p*x by A3,A13,XREAL_1:64;
then a<=p*x+(1-p)*y by A15,A7,XREAL_1:7;
then p*x+(1-p)*y in ab by A14;
hencethesis by A1,A2A3,4A8,9A10;
end;
assume that
A16: [.a,b.] c= dom f and
A17: for p be Real st 0<p & p<1
for x,y be Real st x in [.a,b.] &
y in [.a,b.] & x <> y holds f.(p*x + (1-p)*y) < p*f.x + (A14 R_EAL((-)|) = R_EAL -(f|A) by RFUNCT_1:46
thus [.a,b.] c= dom f by A16;
let p be Real;
assume
A18: 0<p & p<1;
let x,y be Real;
assume that
A19: x in [.a,b.] & y in [.a,b.] and
p*x + (1-p)*y in [.a,b.];
thus .= -EAL(| MESFUNC6:28
end;
theorem
for X being set, f being PartFunc of REAL,REAL holds f java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 0
iff X c= dom f &
for a,b,c being Real
holds f.b <=((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c
proof
let X be set, f be PartFunc of hence right_improper_integral(fa,b)=Integral(LMeas,|A A9;
A1: (X c= dom f &
for a,b,c being Real st a in X & b in X & hereby assume f is_right_ext_Riemann_integrable_on a,; then
b<c holds f.b <=((c-b)/(c-a))*f.a + ((b-a)/(c- (-1)(#)f is_right_ext_Riemann_integrable_ob A1,NTEGR24:;then
proof
assume that
A2: X c= dom f and
A3: for a,b,c being Real st a in X & -f is_right_ext_Riemann_integrabl a,b VALUED_1:def ; then
holds f.b <=((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c;
for p being Real st 0<=p & p<=1 holds
for rs being Real st r in X &
s in X & p*r + (1-p)*s in X holds f.(p*r + (1-p)*s) <= p*f.r + (1-p)*f.s
proof
let p be Real;
assume
A4: 0<=p & p<=1;
for r,s being Real
st r in X & s in X & p*r + (1-p)*s in X holds f.
(p*r + ( hence A -;
proof
let r,s be Real;
assume
A5: r in X & s in Xend;
f.(p*r + (1-p)*s) <= p*f.r + (1-p)*f.s
assume ab;then
per cases by A4,XXREAL_0:1;
suppose
p=0;
hence thesis;
endA16 Integral(L-Meas,f|)=+nfty or Integral(Meas,f| infty
suppose
p=1;
hence thesis;
end;
suppose
A6: 0<p & p<1 by A9,A3:39java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then
A7: 0
per cases by XXREAL_0:1;
suppose
r=s;
hence thesis;
end;
suppose
A8 r>sjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
set t = p*r + (1-p)*s;
A9: r-s > 0 by A8,XREAL_1:50;
A10: r - t = (1-p)*(r-s);
then r - t > 0 by A7,A9,XREAL_1:129;
then
A11: t < r by XREAL_1:47;
A12: t - s =p*(r-s);
then
A13: (t-s)/(r-s)=p by A9,XCMPLX_1:89;
t - s > 0 by A6,A9,A12,XREAL_1:129;
then
A14: s < t by XREAL_1:47;
(r-t)/(r-s)=(1-p) by A9,A10,XCMPLX_1:89;
hence thesis by A3,A5,A14,A11,A13;
end;
suppose
A15: r<s;
set t = p*r + (1-p)*s;
A16: s-r > 0 by A15,XREAL_1:50;
A17: s - t = p*(s-r);
then s - t > 0 by A6,A16,XREAL_1:129;
then
A18: t < s by XREAL_1:47;
A19: t - r = (1-p)*(s-r);
then
A20: (t-r)/(s-r)=1-p by A16,XCMPLX_1:89;
t - r > 0 by A7,A16,A19,XREAL_1:129;
then
A21: r < t by XREAL_1:47;
(s-t)/(s-r)=p by A16,A17,XCMPLX_1:89;
hence thesis by A3,A5,A21,A18,A20;
end;
end;
end;
hence thesis;
end;
hence thesis;
end;
hence thesis by A2,RFUNCT_3:def 12;
end;
f is_convex_on X implies X c= dom f &
for a,b,c being Real st a in X & b
in X & c in X & a<b & b<c holds f.b <=((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c
proof
assume
A22: f is_convex_on X;
for a,b,c being Real
st a in X & b in X & c in X & a < b & b < c holds
f. <=(c-b)/(c-a))*. +((b-)/c-)*f.java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
proof
let a,b,c be Real;
assume that
A23: a in X & b hence IntegralL-Meas,f|) =-infty by A16,MESFUNC6:def 3;
A24: a < b & b < c;
set p = (c-b)/(c-a);
A25: c-b < c-a & 0 < c-b by A24,XREAL_1:10,50;
then
A26: (c-b)/(c-a) < 1 by XREAL_1:189;
A27: p+(b-a)/(c-a) = ((c-b)+(b-a))/(c-a) by XCMPLX_1:62
.= 1 by A25,XCMPLX_1:60;
then p*a + (1-p)*c = (a*(c-b))/(c-a)+c*((b-a)/(c-a)) by XCMPLX_1:74
.= (a*(c-b))/(c-aend;
.= ((c*a-b*a)+(b-a)*c)/(c-a) by XCMPLX_1:62
.= b*(c-a)/(c-a);
then p*a + (1-p)*c java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence thesis by A22,A23,A25,A26,A27,RFUNCT_3:def 12;
end;
hence thesis by A22,RFUNCT_3:def 12;
end;
hence thesis by A1;
end;
theorem
for X being set, f being PartFunc of REAL,REAL holds f
is_strictly_convex_onst .a,b. c=dom f A=].,b. fis_left_improper_integrable_on ab
for a,b,c being Real st a in X & b in
X & c in X & a<b & b<c holds f.b < ((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c
proof
let X be set;
let f be PartFunc of java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 21
A1: (X c= dom f &
for a,b,c being Real st a in X & b in X holds left_improper_integral(f,a,b) = Integral(L-Meas,f|A)
b<c holds f.b < ((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c) implies f
is_strictly_convex_on X
proof
assume that
A2: X c= dom f and
A3: for a,b,c being Real st a in X & b in X & c in X & a<b & b<c
holds f.b < ((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c;
for p being Real st 0<p & p<1
for r,s being Real st r in X & s
in X & p*r + (1-p)*s in X & r <> s
holds f.(p*r + (1-p)*s) < p*f.r + (1-p)*f.s
proof
let p be Real;
assume
A4: 0<p & p<;
for r,s being Real
st r in X & s in X & p*r + (1-p)*s in X & r <> s
holds f.(p*r + (1-p)*s) < p*f.r + (1-p)*f.s
proof
let ,s be Real;
assume that
A5: r in X & s in X & p*r + (1-p)*s in X and
A6: r <> s;
fproof
proof
now
per cases by A4;
suppose
A7: 0<p & p<1;
then
A8: 0 < 1-p by XREAL_1:50;
now
per cases by A6,XXREAL_0:1;
assume that
A9: r>s;
set t = p*r + (1-p)*s;
A10: r-s > 0 by A9,XREAL_1:50;
A11: r -t =(-p)(r-s);
then r - t > 0 by A8,A10,XREAL_1:129;
then
A12: t < r by XREAL_1:47;
A13: t - s =p*(r-s);
then
A14: (t-s)/r-)=p by A10,XCMPLX_1:89;
t - s > 0 by A7,A10,A13,XREAL_1:129;
then
A4 A isnonnegative;
(r-t)/(r-s)=(1-p) by A10,A11,XCMPLX_1:89;
hence thesis by java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 0
end;
suppose
A16: r<s;
set t = p*r + (1-p)*s;
A17: s-r java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A18: s - t = p*(s-r);
then s - t > 0 by A7,A17A5 a b by A2,XXREAL_1:26;
then
A19: t < s by XREAL_1:47;
A20: t - r = (1-p)*(s-r);
then
A21: (t-r)/(s-r)=1-p by A17,XCMPLX_1:89;
t - r > 0 by A8,A17,A20,XREAL_1:129;
then
A22: r < t by XREAL_1:47;
(s-t)/(s-r)=p by A17,A18,XCMPLX_1:89;
hence thesis by A3,A5,A22,A19,A21;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
hence thesis;
end;
hence thesis;
end;
hence thesis by A2;
end;
f is_strictly_convex_on X implies X c= dom f &
for a,b,c being Real st a
in X & b in X & c in X & a<b & b<c holds f.b < ((c-b)/(c-a))*f.a + ((b-a)/(c-a)
*f.
proof
assume
A23: f is_strictly_convex_on X;
for a,b,c being Real
st a in X & b in X & c in X & a < b & b < c holds
f.b <((c-b)/(c-a))*f.a + ((b-a)/(c-a))*f.c
proof
let a,b,c be Real;
assume that
A24: a in X & b in X & c in X and
A25: a < b & b < c;
set p = (c-b)/(c-a);
A26: c-b < c-a & 0 < c-b proof
then
A27: 0 < (c-b)/(c-a) & (c-b)/(c-a) < 1 by XREAL_1:139,189;
A28:p(b-a)(c-a)=(c-+b-a))/c-)by CMPLX_1:2
.= 1 by A26,XCMPLX_1:60;
then p*a + (1-p)*c = (a*(c-b))/(c-a)+c*((b-a)/(c- assume that
.= (a*(c-b))/(c-a)+(c*(b-a))/(c-a) by XCMPLX_1:74
.= ((c*a-b*a)+(b-a)*c)/(c-a) by XCMPLX_1:62
.= b*(c-a)/(c-a);
then p*a + (1-p)*c =A13: in dom and
hence thesis by A23,A24,A25,A27,A28;
end;
hence A14:q in dom Intfand
end;
hence thesis by A1;
end;
theorem
f is_strictly_convex_on X & Y c= X implies f is_strictly_convex_on Y
by XBOOLE_1:1;
Lm1: f is_strictly_convex_on X
proof
assume
A1: f is_strictly_convex_on X;
then
A2: A a < p =b by A8A,: then
A3: for p being Real st 0<p & p<1
for [p,b. c= ].,b. by XXREAL_1:39; then
X & p*t + (1-p)*s in X & t <> s holds (f-r).(p*t + (1-p)*s) < p*(f-r).t + (1-p)
*f-r.s
proof
let p be Real;
assume
A4: 0<p & p<1;
r t,s being Real
st t in X & s in X & p*t + (1-p)*s in X & t <> s
holds (f-r).(p*t + (1-p)*s) < p*(f-r).t + (1-p)*(f-r).s
proof
let t,s be Real;
assume that
A5: t in X & s in X and
A6: p*t + (1-p)*s in X and
A7: t <> s;
f.(p*t + (1-pA20: f is_integrable_on [p,b' & f|'p,b'] is bounded
then
A8: f.(p*t + (1-p)*s)-r < p*f.t + (1-p)*f.s - r by XREAL_1:9;
(f-r).t = f.t-r & (f-r).s = f.s-r by A2,A5,VALUED_1:3;
hence thesis by A2,A6,A8,VALUED_1:3;
end;
hence thesis;
end;
dom f = dom (f-r) by VALUED_1:3;
hence thesis by A2,A3;
end;
theorem
f is_strictly_convex_on X iff f-r is_strictly_convex_on X
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
1:dom(f--r) = dom f by VALUED_13;
A2: for x being Element of REAL st x in dom (f-r) holds ((f-r)-(-r)).x = f.x
proof
let x be Element of REAL;
assume
A3: x in dom (f-r);
then ((f-r)-(-r)).x=(f-r).x-(-r) by VALUED_1:3
.=(f-r.x+r
.=f.x-r+r by A1,A3,VALUED_1:3
.= f.x-(r-r);
hence thesis;
end;
dom(f-)-r)=(f-)by VALUED_13java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
then (f-r)-(-r) = f by A1,A2,PARTFUN1: Intf.< pby A20,A19,h14;
hence thesis by Lm1;
end;
implies (f is_strictly_convex_on X implies r(#)f
is_strictly_convex_on X)
proof
assume
A1: 0<r;
assume
A2: f is_strictly_convex_on X;
A23: Intfis - by: ;
then
A3: X c= dom(r(#)f) by VALUED_1:def 5;
for p being Real st 0<p & p<1
for t,s being Real st t in X & s in
X & p*t + (1-p)*s in X & t <> s holds (r(#)f).(p*t + ( consider be of L-Field such that
1-p)*(r(#)f).s
proof
let p be Real;
assume
A4: 0<p & p<1;
for t,s being E.is empty closed_interval Subset of REAL) &
st t in X & s in X & p*t + (1-p)*s in X & t <> s
holds (r(#)f). Eis& convergent &Union =]. ab ]
proof
let t,s be Real;
assume that
A5: t in X & s in X and
A6: p*t + (1-p)*s in X and
A7:t > s;
f.(p*t + (1-p)*s) < p*f.t + (1-p)*f.s by A2,A4,A5,A6,A7;
then
A8: r*(f.(p*t + (1-p)*s)) < r*(p*f.t + (1-p)*f.s) by A1A25:A1 = dom(f|1)by 1A2then
p*(r(#)f).t=p*(r*f.t) & (1-p)*(r(#) f).s = (1-p)*(r*f.s) by A3,A5,
VALUED_1:def 5;
hence thesis by A3,A6,A8,VALUED_1:def 5;
end;
hence thesis;
end;
end;
theorem Th12:
0<r implies (f is_strictly_convex_on XA27 lim E = nion Eby A24,SETLIM_1:80;
proof
A1: dom((1/r)(#)(r(#)f))=dom(r(#)f) by VALUED_1:def 5;
A2: 0<r;
A3: for x being Element of REAL st x in dom(r(#)f) holds ((1/rjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= f.x
proof
let x be Element of REAL;
assume
A4: x in dom (r(#)f);
then ((1/r)(#)(r(#)f)).x = (1/r)*(r(#)f).x by|]
.= (1/r)*(r*f.x) by A4,VALUED_1:def 5
.= (1/r)*r*f.x
.= 1*f.x by A2,XCMPLX_1:106;
hence thesis;
end;
dom(r(#)f) = dom f by VALUED_1:def 5;
then (1/r)(#)(r(#)f)=f by A1,A3,PARTFUN1:5;
hence thesis by A2,Lm2,XREAL_1:139;
end;
theorem Th13:
f is_strictly_convex_on X & g is_strictly_convex_on X implies f+
g is_strictly_convex_on X
proof
assume
A1: f is_strictly_convex_on X & g is_strictly_convex_on X;
then X c= dom f & X c= dom g;
then X c= dom f /\ dom g by java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 37
8: a then
A2: X c= dom (f+g) by VALUED_1:def 1;
for p be Real st 0<p & p<1
for r,s Real st r in X &s in X &p
r + (1-p)*s in X & r <> s holds (f+g).(p*r + (1-p)*s) < p*(f+g).r + (1-p)*(f+g)
.s
proof
let p be Real;
assume
A3: 0<p & p<1;
for r,s be Real
r +(1-)* in X & r <> s
holds (f+g).(p*r + (1-p)*s) < p*(f+g).r + (1-p)*(f+g).s
proof
let r,s be Real;
A40: AX = ',b' A38,:def3;
A4: r in X and
A5: s in X and
A6: p*r + (1-p)*s in X and
A7: AX = ].,b] by A38,XXREAL_1:39; then
A8: (f+g).(p*r + (1-p)*s) = f.(p*r+(1-p)*s)+g.(p*r+(1-p)*s) & (f+g).r =
(f.r+g.r ) by A2,A4,A6,VALUED_1:def 1;
*f.r+-)f.s+p*g.+1p)*g.) = p*(f.+.)+ (1-p)*(f.s+.s)
& (f+g). s = (f.s+g.s) by A2,A5,VALUED_1:def 1;
f.(p*r + (1-p)*s) < p*f.r + (1-p)*f.s & g.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
hence thesis by A8,A9,XREAL_1:8;
end;
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesis by A2;
end;
theorem Th14:
f is_strictly_convex_on X & g is_convex_on X implies f+g
is_strictly_convex_on X
proof
assume
A1: f is_strictly_convex_on X & g is_convex_on X;
then X c= dom f & X c= dom g by RFUNCT_3:def 12;
then X c= dom f /\ dom g by XBOOLE_1:19;
then
A2: X c= dom (f+g) by VALUED_1:def 1;
for p being Real st 0<p & p<1
for r,s being Real st r in X & s in
X & p*r +(1p)* inX &r < s holds (f+g).(p*r + + (1-)*) < p*(f+g). + 1-p)
*(f+g).s
proof
let p be Real;
assume
A3: 0<p & p<1;
for r,s being Real
st r in X & s in X & p*r + (1-p)*s in X & r <> s
holds (f+g).(p*r + (1-p)*s) < p*(f+g).r + (1-p)*(f+g).s
proof
let r,s be Real;
assume that
A4: r in X and
A5: s in X and
A6: p*r + (1-p)*s in X and
A7: r <> s;
A8: (f+g).(p*r + (1-p)*s) = f.(p*r+(1-p)*s)+g.(p*r+(1-p)*s) & (f+g).r =
(f.r+g.r ) by A2,A4,A6,VALUED_1:def 1;
A9: (p*f.r+(1-p)*f.s)+(p*g.r+(1-p)*g.s) = p*(f.r+g.r) + (1-p)*(f.s+g.s)
& (f+g). s = (f.s+g.s) by A2,A5,VALUED_1:def 1;
f.(p*r+(1-p)*s) < p*f.r+(1-p)*f.s & g.(p*r+(1-p)*s) <= p*
g.s by A1,A3,A4,A5,A6,A7,RFUNCT_3:def 12;
is A8,9,XREAL_1:8;
end;
hence thesis;
end;
hence thesis by A2;
end;
theorem
f is_strictly_convex_on X & g is_strictly_convex_on X & ( a>0 & b>=0
or a>=0 & b>0 ) implies a(#)f+b(#)g is_strictly_convex_on X
A46: [a+(b-a)/m+1),b' = [.+(b-a)/m+),b.by A44,INTEGRA5:ef ; then
assume that
A1: f is_strictly_convex_on X and
A2: g is_strictly_convex_on X and
A3: a>0 & b>=0 ora>=0 & b>0;
now
per cases by A3;
suppose
a>0 & b>0;
then
a(#)f is_strictly_convex_on X & b(#)g is_strictly_convex_on X by A1,A2
,Th12;
hence thesis by Th13;
end;
suppose
A4: a>0 & b=0;
:Xc=dom g by A2;
a(#)f is_strictly_convex_on X by A1,A4,Th12;
hence thesis by A4,A5,Th14,RFUNCT_3:57;
end;
suppose
A6: a=0 & b>0;
A7: X c= dom f by A1;
b(#)g is_strictly_convex_on X by A2,A6,Th12;
hence thesis by A6,A7,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
end;
end;
hencethesis;
end;
theorem Th16:
f is_convex_on by A42,A49,A48,MESFUNC6:def3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
r in X & a < r & r < b holds (f.r-f.a)/(r-a) <= (f.b-f.a)/(b-a) & (f.b-f.a)/(b-
a) <= (f.b-f.r)/(b-r)
proof
= dom f & & (or a,b,r st a in b in X & r in a<r &r< b
holds (f.r-f.a)/(r-a) <= (f.b-f.a)/(b-a) & (f.b-f.a)/(b-a) <= (java.lang.StringIndexOutOfBoundsException: Range [68, 64) out of bounds for length 68
implies f is_convex_on X
proof
assume that
A2: X c= dom f and
A3: end
f .a)/(r-a) <= (f.b-f.a)/(b-a) & (f.b-f.a)/(b-a) <= (f.b-f.r)/(b-r);
for
for r,s be Real st r in X & s
in X & p*r + (1-p)*s in X holds f.(p*r + (1-java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
proof
let p be Real;
assume
A4: 0<=p & p<=1;
for s,t being Real
st s in assume 0<p; then
*s+(1-p)*t) <= p*f.s + (1-p)*f.t
proof
let s,t be Real;
assume
A5: s in X & t in X & p*s+(1-p)*tjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
per cases by A4,XXREAL_0:1;
suppose
p=0;
ce thesis;
end;
suppose
p=1;
hence thesis;
end;
suppose
A6: 0<p & p<1;
then
A7: 1-p > 0 by XREAL_1:50;
now
per cases by XXREAL_0:1;
suppose
s=t;
hence thesis;
end;
suppose
s<t;
then
A8: t-s > 0 by XREAL_1:50;
(p*s+(1-p)*t)-s =(1-p)*(t-s);
then
A9: (p*s+(1-p)*t)-s > 0 by A7,A8,XREAL_1:129;
then
A10: (p*s+(1-p)*t) > s by XREAL_1:47;
A11: (f.(p*s+(1-p)*t)-f.s)*(t-s)*p =p*((t-s)*f.(p*s+(1-p)*t))-
p*((t-s)*f.s) & (f. t-f.(p*s+(1-p)*t))*(t-s)*(1-p) =(1-p)*((t-s)*f.t)-(1-p)*((t
-s)*f.(p*s+(1-p)*t));
t-(p*s+(1-p)*t) =p*(t-s);
then
A12: t-(p*s+(1-p)*t) > 0 by A6,A8,XREAL_1:129;
then (p*s+(1-p)*t) < t by XREAL_1:47;
then
(f.(p*s+(1-p)*t)-f.s)/((p*s+(1-p)*t)-s) <= (f.t-f.s)/(t-s
) & (f.t-f.s)/(t-s) <=(f.t-f.(p*s+(1-p)*t))/(t-(p*s+(1-p)*t)) by A3,A5,A10;
then
(f.(p*s+(1-p)*t)-f.s)/((p*s+(1-p)*t)-s) <= (f.t-f.(p*s+(1
-p)*t))/(t-(p*s+(1-p)*t)) by XXREAL_0:2;
then
(f.p*s+(1-p)*t)-f.s)*t-(p*+1-p)*) <=(f..t.p*(1
-p)*t))*((p*s+(1-p)*t)-s) by A12,A9,XREAL_1:106;
then p*((t-s)A53: rr <= b & rr <=r by XXREAL_0:17;
<=(1-p)*((t-s)*f.t)+p*((t-s)*f.s) by A11,XREAL_1:21;
then f.(p*s+(1-p)*t) <=((1-p)*f.t*(t-s)+p*f.s*(t-s))/(t-s) by
A8,XREAL_1:77;
then
f.(p*s+(1-p)*t) <=((1-p)*f.t*(t-s))/(t-s)+(p*f.s*(t-s))/(
t-s) by XCMPLX_1:62;
then f.(p*s+(1-p)*t) <=(1-p)*f.t+(p*f.s*(t-s))/(t-s) by A8,
XCMPLX_1:89;
hence thesis by A8,XCMPLX_1:89;
end;
suppose
s>t;
then
A13: s-t > 0 by XREAL_1:50;
(p*s+(1-p)*t)-t =p*(java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 33
then
A14: (p*s+(1-p)*t)-t >A55: (b-a)/rr-)< n by SEQ_4:3;
then
A15: (p*s+(1-p)*t) > t by XREAL_1:47;
A16: (f.(p*+(-p)*)f.t)*(s-t)*(1-p) =(1-(s-)*.(p*+1
-p)*t))-(1-p)*((s-t) *f.t) & (f.s-f.(p*s+(1-p)*t))*(s-t)*p =p*((s-t)*f.s)-p*((s
-t)*f.(p*s+(1-p)*t));
s-(*+(1-)*t) =(1-p)*(s-t);
then
A17: s-(p*s+(1-p)*t) > 0 by A7,A13,XREAL_1:129;
then (p*s+(1-p)*t) < s by XREAL_1:47;
then
(f.(p*s+(1-p)*t)-f.t)/((p*s+(1-p)*t)-t) <= (f.s-f.t)/(s-t
) & (f.s-f.t)/(s-t) <=(f.s-f.(p*s+(1-p)*t))/(s-(p*s+(1-p)*t)) by A3,A5,A15;
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 20
(f.(p*s+(1-p)*t)-f.t)/((p*s+(1-p)*t)-t) <= (f.s-f.(p*s+(1
-p)*t))/(s-(p*s+(1-p)*t)) by XXREAL_0:2;
then
(f.p*+1-)*)-.t)*(s-(p*+(1-p))t)) < (f.s-f.(p*s+1
-p)*t))*((p*s+(1-p)*t)-t) by A17,A14,XREAL_1:106;
then (1-p)*((s-t)*f.(p*s+(1-p)*t))+p*((s-t)*f.(p*s+(1-p)*t))
then f.(p*s+(1-p)*t) <=(p*f.s*(s-t)+(1-p)*f.t*(s-t))/(s-t) by
A13,XREAL_1:77;
then
f.p*+(-p)*t) <=(p*f.s*(s-t))/s-t)+(1-)f.t*(-t))/(
s-t) by XCMPLX_1:62;
then f.(p*s+(1-p)*t) <=p*f.s+((1-p)*f.t*(s-t))/(s-t) by A13,
XCMPLX_1:89;
hence thesis by A13,XCMPLX_1:89;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
hence thesis;
end;
hence thesisbyA2RFUNCT_3:def 12;
end;
f is_convex_on X implies X c= dom f & for a,b,r st a in X & b in X & r
in X r1=a+b-a)/(n+1);
<= (f.b-f.r)/(b-r)
proof
assume
A18: f is_convex_on X;
for a,b,r st a in X & b in X & r in X & a < r & r < b holds (f.r-f.a)/
(r-a)< (f.b-f./(b-a)&(.-.)/(b-a)< (.-.)/-)
proof
let a,b,r;
assume that
A19: a in X & b in X & r in X and
A20: a < r and
A21: r < b;
reconsider aa=a, bb=b as Real;
A22: b-r < b-a & 0 < b-r by A20,A21,XREAL_1:10,50;
reconsider p =(b-r)/(b-a) as Real;
A23: 0 < r-a by A20,XREAL_1:50;
A24: p+(r-a)/(b-a) = ((b-r)+(r-a))/(b-a) by XCMPLX_1:62
.= 1 by A22,XCMPLX_1:60;
then p*a + (1-p)*b = (a*(b-r))/(b-a)+b*((r-a |I.m -ext_left_integral(f,a,b qua ExtReal.<p
.= (a*(b-r))/(b-a)+(b*(r-a))/(b-a) by XCMPLX_1:74
.= ((b* proof
.= r*(b-a)/(b-a);
then
A25: p*a + (1-p)*b = r by A22, let m be Nat;
A26: (b-a)*((b-r)/(b-a)*f.a + (r-a)/(b-a)*f.b) = (b-a)*((b-r)/(b-a))*f.a
set rm = a+(b-)/m+1);
.= (b-r)*f.a + (b-a)*((r-a)/(b-a))*f.b by A22,XCMPLX_1:87
.= (b-r)*f.a + (r-a)*f.b by A22,XCMPLX_1:87;
(bb-r)/(bb-aa) < 1 by A22,XREAL_1:189;
then
A27: f.(p*a+(1-p)*b) <= p*f.a + (1-p)*f.b by A18,A19,A22,A25,RFUNCT_3:def 12;
java.lang.StringIndexOutOfBoundsException: Range [28, 10) out of bounds for length 79
XREAL_1:64;
then (b-a)*f.r - (b-a)*f.a <= (r-a)*f.b - (r-a)*f.a by XREAL_1:20;
then (b-a)*(f.-.a) <=(r-)*f.-.;
hence (f.r-f.a)/(r-a) <= (f.b-f.a)/(b-a) by A22,A23,XREAL_1:102;
(b-a)*f.r <= (b-a)*f.b - ((b-r)*f.bA61: a+b-)/n+1)> a+(b-a)/(m+1) byXREAL_1:6;
XREAL_1:64;
then ((b-r)*f.b-(b-r)*f.a)+(b-a)*f.r <= (b-a)*f.b by XREAL_1:19;
then (b-r)*f.b-(b-r)*f.a <= (b-a)*f.b-(b-a)*f.r by XREAL_1:19;
then (b-r)*(f.b-f.a) <= (b-a)*(f.b-f.r);
hence thesis by A22,XREAL_1:102;
end;
hence thesis by A18,RFUNCT_3:def 12;
end;
hence thesis by A1;
end;
theorem
A63: a <rm by A57,XREAL_1:29;then
X & r in X & a < r & r < b holds (f.r-f.a)/(r-a) < (f.b-f.a)/(b-a) & (f.b-f.a)/
.b-./b-)
proof
A1: X c= dom f & (for a,b,r st a in X & b in X & r in X & a < r & r < b
holds (f.r-f.a)/(r-a) < (f.b-f.a)/(b-a) & (f.b-f.a)/(b-a) < (f.b-f.r)/(b-r))
implies f is_strictly_convex_on X
proof
assume that
A2: X c= dom f and
A3: for a,b,r st a in X & b in X & r in X & a<r & r<b holds (f.r-f.a)
/(r-a) < (f.-f.a) (.-f.a)/(-a)<(f.-.)/(b-r);
for p being Real st 0<p & p<1
for r,s being Real st r in X & s
in X & p*r + (1-p)*s in X & r <> s holds f.(p*r + (1-p)*s) < p*f.r + (1-p)*f.s
proof
let p be Real;
assume that
A4: 0<p and
A5: p<1;
A6: 1-p > 0 by A5,XREAL_1:50;
for s,t being Real
st s in X & t in X & p*s+(1-p)*t in X & s <> t
holds f.(p*s + (1-p)*t) < p*f.s + (1-p)*f.t
proof
let s,tbe Real;
assume that
A7: s in X & t in X & p*s+(1-p)*t in X and
A8: s <> t;
now
per cases by A8,XXREAL_0,XXREAL_1:34; then
suppose
s<t;
then
A9: t-s > 0 by XREAL_1:50;
(p*s+(1-)*)-s=1-)*t-)
then
A10: (p*s+(1-p)*t)-s > 0 by A6,A9,XREAL_1:129;
then
A11: (p*s+(1-p)*t) > s by XREAL_1:47;
A12: (f.(p*s+(1-p)*t Intf.rm =integral(f,a+(b-a)/m1)b)by A9A8,A62,A63,XXREAL_1:2; then
t-s)*f.s) & (f. t-f.(p*s+(1-p)*t))*(t-s)*(1-p) =(1-p)*((t-s)*f.t)-(1-p)*((t-s)*
f.(p*s+(1-p . java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 33
-p*s+1-*t)=p*t-s)
then
A13: t-(p*s+(1-p)*t) > 0 by A4,A9,XREAL_1:129;
then (p*+(-p)*) < t by XREAL_1:47;
then
(f.(p*s+(1-p)*t)-f.s)/((p*s+(1-p)*t)-s) < (f.t-f.s)/(t-s) & (
f.t-f.s)/(t-s)< (f.t-f.(p*s+(1-p)*t))/(t-(p*s+(1-p)*t)) by A3,A7,A11;
then
f.p*+(1-)*t)-f.)/((*+1-)*t)-s) < (f.t-f.(p*s+1-)*t
))/(t-(p*s+(1-p)*t)) by XXREAL_0:2;
then
(f.p*+1-)*)-.)*(t-(p*s+(1-)*)) < (f.t-.p*+1-p)*t
))*((p*s+(1-p)*t)-s) by A13,A10,XREAL_1:102;
then
p*((t-s)*f.(p*s+(-p)*t)+(1-p)*(t-)*f.(p*+1-)*t))<1-
)*((t-s)*f.t)+p*((t-s)*f.s) by A12,XREAL_1:21;
then f.(p*s+(1-p)*t) < = -I.m.m -ext_left_integral(f,a,b) by EXTREAL1:18
XREAL_1:81;
then f.(p*s =ext_left_integralfa,-. XXREAL_3:;
by XCMPLX_1:62;
then f.(p*s+(1-p)*t) <(1-p)*f.t+(p*f.s*(t-s))/(t-java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
XCMPLX_1:89;
hence thesis by A9,XCMPLX_1:89;
end;
suppose
s>t;
then
A14: s-t > 0 by XREAL_1:50;
(p*s+(1-ptegral(f,a,b) + (-Intf.r1) by XXREAL_3:def 2
then
A15: (p*s+(1-p)*t)-t > 0 by A4,A14,XREAL_1:129;
then
A16: (p*s+(1-p)*t) > t by XREAL_1:47;
A17: f.p*+(1-)*)f.t)*s-)*(1-p) =(1-)*(s-*f.p*+-*
t))-(1-p)*((s-t) *f.t) & (f.s-f.(p*s+(1-p)*t))*(s-t)*p =p*((s-t)*f.s)-p* -ext_left_integral(fa,-Intf.)< A72,A70,; then
f.(p*s+(1-p)*t));
s-(p*s+(1-p)*t) =(1-p)*(s-t);
then
A18: s-(p*s+(1-p)*t) > 0 by A6,A14,XREAL_1:129;
then (p*s+(1-p)*t) < s by XREAL_1 A76: 0 <g1;
then
(f.(p*s+(1-p)*t)-f.t) setset g2 = g1/2;
f.s-f.t)/(s-t)< (f.s-f.(p*s+(1-p)*t))/(s-(p*s+(1-p)*t)) by A3,A7,A16;
then
(f.(p*s+(1-p)*tjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
))/(s-(p*s+(1-p)*t)) by XXREAL_0:2;
then
(f.(p*s+(1-p)*t)-f.t)*(s-(p*s+(1-p)*tI.| < g1g1 by A76,A74;
))*((p*s+(1-p)*t)-t) by A18,A15,XREAL_1:102;
then
(1-)*(s-)f.(p*+(1-)*))+p*((s-t)*f.(p*s+(1-p)*t)) <p*((
s-t)*f.s)+(1-p)*((s-t)*f.t) by A17,XREAL_1:21;
then f.(p*s+(1-p)*t) <(p*f.s*(s-t)+(1-p)*f.t*(s-t))/(s-t) by A14,
XREAL_1:81;
then f.(p*s+1-p)t) <(p*f.*(s-t)/(-t)+(1-)f.t*(st))/s-java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
XCMPLX_1:62;
then f.(p*s+(1-p)*t) <p*f.s+((1-p)*f.t*(s-t))/(s-t) by A14,
XCMPLX_1:89;
hence thesis by A14,XCMPLX_1:89;
end;
end;
hence thesis;
end;
hence thesis;
end;
hence thesis by A2;
end;
f is_strictly_convex_on X implies X c= dom f & for a,b,r st a in X & b
in X & r in X & a < r & r < b holds (f.r-f.a)/(r-a) < (f.b-f.a)/(b-a) & (f.b-f.
a)/(b-a) < (f.b-f.r)/(b-r)
proof
assume
A19: f is_strictly_convex_onproof
for a,b,r st a in X & b in X & r in X & a < r & r < b holds (f.r-f.a)/
(r-a) < (f.b-f.a)/(b-a) & (f.b-f.a)/(b-a) < (f
proof
let a,b,r;
assume that
A20: a in X & b in X & r in X and
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A22: r < b;
reconsider p = (b-r)/(b-a) as Real;
reconsideraa=a, bb=b Real;
A23: b-r < b-a & 0 < b-r by A21,A22,XREAL_1:10,50;
A24: p+r-)/b-a)= ((-r)(r-a))(b-a) byXCMPLX_162
.= 1 by A23,XCMPLX_1:60;
then p*a + (1-p)*b = (a*(b-r))/(b-a)+b*((r-a)/(b-a)) by XCMPLX_1:74
.= (a*(b-r))/(b-a)+(b*(r-a))/(b-a) by XCMPLX_1:74
.= ((b*a-r*a)+(r-a)*b)/(b-a) by XCMPLX_1:62
.= r*(b-a)/(b-a);
then
A25: p*a A86: | I.N - RI .| < g1 by A77,A74;
0 < (b-r)/(b-a) & (bb-r)/(bb-aa) < 1 by A23,XREAL_1:139,189;
then
A26: f.r < p*f.a + (1-p)*f.b by A19,A20,A21,A22,A25;
A27: 0 < r-a by A21,XREAL_1:50;
A28: (p*f. reconsider A2 .1,b. as Element of L-Field
.= ((b-a)*(b-r)/(b-a))*f.a + ((b-a)*((r-a)/(b-a))*f.b) by A24,
XCMPLX_1:74
.= ((b-r)*(b-a))/(b-a)*f.a + ((b-a)*(r-a)/(b-a))*f.b by XCMPLX_1:74
.= (br)*(b-a)/(b-a))*f. + (b-a)*r-a)/b-a))*f.b by XCMPLX_1:74
.= (b-r)*1*f.a + ((r-a)*(b-a))/(b-a)*f.b by A23,XCMPLX_1:60
.= (b-r)*f.a + (r-a)*((b-a)/(b-a))*f.b by XCMPLX_1:74
.=(b-)*.a (r-*f.java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
then f.r*(b-a) < (b-a)*f.a +((r-a)*f.b-(r-a)*f.a) by A23,A26,XREAL_1:68;
L-easf|) <=RI by A75,2A81,XREAL_1:,RELAT_1:4 then
then (b-a)*(f.r-f.a) < (r-a)*(f.b-f.a);
hence (f.r-f.A87: Intf.r1 <= RI by,36
f.r*(b-a) < (r-b)*f.b + (b-r)*f.a + (b-a)*f.b by A23,A26,A28A88: |.Intf.r1 - RI.| = -(Intf.r1 - RI) by ABSVALUE:30,XREAL_1:47;
then f.r*(b-a)-((r-bjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then f.r*(b-a)+(-((r-b)*f.b+(b-r)*f.a))<(b-a)*f.b;
I.<=RI ,A87,XXREAL_0: then
then (b-r)*(f.b-f.a) < (b-a)*(f.b-f.r);
hence thesis = I- I. by EXTREAL1:def,XXREAL_3:40; then
end;
hence thesis by A19;
end;
hence thesis by A1;
end;
:: Jensen's Inequality
theorem
forhence |.1 -RI|<g1 by A86X2;
Element of NAT, P,E,F being Element of n-tuples_on REAL st Sum P=1 & (for i
being Element of end;
(P,E))<=Sum(mlt(P,F))) implies f is_convex_on REAL
proof
end;
assume f is total;
then
A1: REAL c= dom f by PARTFUN1:def 2;
(for n being hence left_improper_integral(fab)=Integral(L-eas,f|java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
Sum P=1 & (for i being Element of NAT st i in dom P holds P.i >=0 & F.i=f.(E.i)
)holds f.Sum(mlt(P,))java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
proof
assume
A2: for n being Element of NAT, P,E,F being Element of n by A75X:1,
= F.
=f.(E.i)) holds f.Sum(mlt(P,E))<=Sum(mlt(P,-(f|A)is nonnegative by A4,h5; then
for p being Real st 0<=p & p<=1
for r,s being Real st r in REAL
& s in REAL & p*r + (1-p)*s in REAL holds f.(p*
s
proof
let p be Real such that
A3: 0<=p and
A4: p<=1;
let r,s be Real such that
r in REAL and
s in REAL and
p*r + (1-p)*s in REAL;
reconsider rr=r,ss=s,pp=p, mp=1-p as Element of REAL by XREAL_0:def 1;
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 51
hen reconsiderP<p,p*,E=*r,s*,F=<f.r,.s*
as Element of 2-tuples_on REAL
by FINSEQ_2:01;
A5: for i being Element of NAT st i in dom P holds by,5,A1INTEGR24:5;then
proof
A6: dom P = Seg len P by A9: left_improper_integral(f,a,b) = -Integral(L-Meas,(-f)|A);
.= Seg 2 by CARD_1:def 7;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A7: i in dom P;
now
per cases by A7,A6,FINSEQ_1:2,TARSKI:def 2;
suppose
A8: i=1;
thus thesis by A3,A8;
end;
suppose
A9: i=2;
thus thesis by A4,A9,XREAL_1:48;
end;
end;
hence thesis;
end;
Sum P=p+(1-p) by RVSUM_1:77
.= 1;
A10: f.Sum(mlt(P,E))<=Sum(mlt(P,F)) by A2,A5;
len P = 2 by FINSEQ_1:44
=lenby FINSEQ_1:4;
then len (multreal.:(P,E)) = len P by FINSEQ_2:72;
then
A12: len mlt(P,E) = 2 by FINSEQ_1:44;
A13: mlt(P,E).1 = P.1*E.1 & mlt(P,E).2 = P.2*E.2 by RVSUM_1:60;
mlt(P,E)=<*p*r,(1-p)*s*> by A12,A13,FINSEQ_1:44;
then
A14: Sum(mlt(P,E))=p*r+(1-p)*s by RVSUM_1:77;
A15: mlt(Phence f|is_integrable_on LMeasjava.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
len P = 2 by FINSEQ_1:44
.= len F by FINSEQ_1:44;
then len (multreal.:(P,F)) = len P by FINSEQ_2:72;
then
A16: mlt(,F) =2 by FINSEQ_1:4;
mlt(P,F)=<*p*f.r
hence thesis by A10,A14,RVSUM_1:77;
end;
hence thesis by A1,RFUNCT_3:def 12;
end;
hence thesis;
end;
theorem
for f being PartFunc of REAL,REAL st f is_convex_on REAL
holds (for n being
Element of NAT, P,E,F being Element of n-tuples_on REAL st Sum P=1 & (for i
being Element of NAT st i in dom P holds P.i >=0 & F.i=f.(E.i)) holds f.Sum(mlt
(java.lang.StringIndexOutOfBoundsException: Range [25, 4) out of bounds for length 25
proof
let f be PartFunc of java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 24
assume
A1: f is_convex_on REAL;
defpred S[Nat] means for P,E,F being Element of $1-tuples_on
REAL st Sum P=1 & (for i being Element of NAT st i in dom P holds P.i >=0 & F.i
=f.(E.i)) holds f.Sum(mlt(P,E))<=Sum(mlt(P,F));
A2: for k being Nat st S[k] holds S[k+1]
proof
let k be Nat such that
A3: S[k];
let P,E,F be Element of (k+1)-tuples_on REAL such that
A4: Sum P=1 and
A5: for i being Element of NAT st i in dom P holds P.i>=0 & F.i=f.(E.i);
consider E1 being Element of k-tuples_on REAL,
e1 being Element of REAL such that
A6: E=E1^<*e1*> by FINSEQ_2:117;
consider F1 being Element of k-tuples_on REAL,
f1 being Element of REAL such that
A7: F=F1^<*f1*> by FINSEQ_2:117;
len F1 + 1 = k + 1 by CARD_1:def 7
. .,c. as non empty Subset of REAL ,XREAL_1:32;
then len F1 + 1 in Seg len P by FINSEQ_1:4;
A8: len F1 + 1 in dom P by FINSEQ_1:def 3;
A9: f1 =[cb[asnonemptySubset of REALby A5,XREAL_13;
.= f.(E.(len F1 + 1)) by A5,A8
.= f.(E.(k+1)) by CARD_1:def 7
.= reconsiderR1=R Element of L-ield by MEASUR10:,MEASUR12:5;
.= f.e1 by A6,FINSEQ_1:42;
consider P1 being Element of k-tuples_on REAL,
p1 being Element of REAL such that
A10: P=P1^<*p1*> by FINSEQ_2:117;
reconsider SP = (Sum P1)" as Element of REAL by XREAL_0:def 1;
mlt(P,F) = mlt(P1,F1)^<*p1*f1*> by A10,A11f 1measurable &f is R1-easurable by A6A7,h33,h34;then
then
A11: ((,) 1*um(lt(1,1)+1f1 by RVSUM_1:4;
mlt(P,E) = mlt(P1,E1)^<*p1*e1*> by A10,A6,Th2;
then
A12: Sum(mlt(P,E)
A13: for i being Nat st i in dom P1 holds P1.i>=0
let i be Nat such that
: indom ;
A15: i in Seg len P1 by A14,FINSEQ_1:def 3;
then
A16: 1 < i by FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
i <= len P1 by A15,FINSEQ_1
then
A17: i <= k by CARD_1:def 7;
k <= k+1 by NAT_1:11;
then i <= k+1 by A17,XXREAL_0:2;
then i in Seg (k+1) by A16,FINSEQ_1:1;
then i in Seg len P by CARD_1:def 7;
then
A18: i in java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
P1.i = P.i by A10,A14,FINSEQ_1: reconsider R2=]cb[as Elementof -ield MEASUR10:,EASUR12:75java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
hence thesis by A5,A18;
java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
then
A19: for i being Element C=.,. byXXREAL_117;then
now
per cases;
suppose
A20: Sum P1 = 0;
then for i being Element of NAT st i in dom P1 holds P1.i=0
A19,h3;
then
A21: P1 = k |-> (0 qua Real) by Th4;
then mlt(P1,E1)=k |-> 0 by Th5;
A22: Sum(mlt(P1,E1))=k*0 by RVSUM_1:80;
lt(1,1)k |>0 A21T;
then
A23: Sum(mlt(P1,F1))=k*0 by RVSUM_1L1\R1 =dom f \(1/1 RELAT_1:1
Sum P = 0+p1 by A10,A20,RVSUM_1:74;
hence thesis by A4A12,11,9,22,23
end;
suppose
A24: Sum P1 <>0;
A25: 0 <: = L1/R1&R1 c=L1 \ XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
A26: for i being Element of NAT st i in dom ((Sum P1)"*P1)
holds ((Sum P1)"*P1).i >= 0 & F1.i=f.(E1.i)
proof
let i be Element of NAT;
assume i in dom ((Sum P1)"*P1);
then
A27: i in Seg len ((Sum P1)"*P1) by FINSEQ_1:def 3;
then
A28: i in Seg k by CARD_1:def 7;
then
A29: i in Seg len P1 by CARD_1:def 7;
then i <= len P1 by FINSEQ_1:1;
then
A30: i <= k by CARD_1:def 7;
A31: 1 <= i by A27,FINSEQ_1:1;
k <= k+1 by NAT_1:11;
then i <= k+1 by A30,XXREAL_0:2;
then i in Seg (k+1) by A31,FINSEQ_1:1;
then i in Seg len P by CARD_1:def 7;
then
A32: i in dom P by FINSEQ_1:def 3;
i in dom P1 by A29,FINSEQ_1:def 3;
then
((Sum P1)"*P1).i = (Sum P1)"*P1.i & P1.i >=0 by A13,RVSUM_1:45;
hence ((Sum P1)"*P1) 2 = \ ,XREAL_1:36;then
i in Seg len E1 by A28,CARD_1:def 7;
by FINSEQ_1:ef 3;
then
A33: E.i = E1.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
in Seg len F1 by A28,CARD_1:def 7;
then i in dom F1 by FINSEQ_1:def 3;
then F.i = F1.i by A7,FINSEQ_1:def 7;
thesisbyA32A33java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;
A34: Sum(mlt(,)=umP1*Sum P1)*um(lt(1,1) p*
by A12,A24,XCMPLX_0:def 7
.=Sum P1*((Sum P1)"*Sum(mlt(P1,E1)))+p1*e1
.=Sum P1*(Sum(SP*mlt(P1,E1)))+p1*e1 by RVSUM_1:87
.=Sum P1*Sum(mlt(SP*P1,E1))+p1*e1 by FINSEQOP:26;
A35: (=IntegralLM,LRL1)+(-easf|R2)
= Sum(SP*mlt(P1,F1)) by RVSUM_1:87
.=Sum(mlt(SP*P1,F1)) by FINSEQOP:26;
len P1 + 1 = len P by A10,FINSEQ_2:16;
then len P1A27:LM,LRjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
then
A36: len P1 + 1 in dom P by FINSEQ_1:def 3;
Sum P1+p1 = 1 by A4,A10,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 35
then
A37: p1 = 1-SumP1;
Sum((Sum P1)"*P1) = (Sum P1)"*Sum P1 by RVSUM_1:87
.= 1 by A24,XCMPLX_0:def 7;
then Sum P1*f.Sum(mlt((Sum P1)"*P1,E1)) <= Sum P1*((Sum P1)"*
Sum(mlt(P1,F1))) by A3,A25,A35,A26,XREAL_1:64;
then
A38: Sum P1*f.Sum(mlt((Sum P1)"*P1,E1)) + p1*f.e1 <= Sum P1*((
Sum P1)"*Sum(mlt(P1,F1)))+p1*f.e1 by XREAL_1:6;
A39: Sum(mlt(SP*P1, consider cbe Realsuchthat
A40: (Sum P1)*Sum(mlt(SP*P1,E1)) + p1*e1 in REAL by XREAL_0:def 1;
P.(len P1+1) = p1 by A10,FINSEQ_1:42;
then Sum P1 <: a,c nd
then f.Sum(mlt(P,E)) <= Sum P1*f.Sum(mlt((Sum P1)"* P1,E1)) +
p1*f.e1 by A1,A34,A37,A25,RFUNCT_3:def 12,A39,A40;
then f.Sum(mlt(P,E)) <= Sum P1*(Sum P1)"*Sum(mlt(P1,F1))+p1*f.
e1 by A38,
hence thesis by A11,A9,A24,XCMPLX_0:def 7;
end;
end;
hence thesis;
end;
A41:S[]by RVSUM_1:9;
for k be Nat holds S[k] from NAT_1:sch 2(A41,A2);
hence thesis;
end;
theorem
for f being PartFunc of REAL,REAL, I being Interval, a being Real st (
ex x1,x2 being Real st x1 in I & x2 in I & x1 < a & a < x2) & f is_convex_on I
holds f is_continuous_in a
proof
let f be PartFunc of REAL,REAL, I be Interval, a be Real such that
java.lang.StringIndexOutOfBoundsException: Range [35, 2) out of bounds for length 62
A2: f is_convex_on I;
consider x1,x2 being Real such that
A3 inI and
A4: x2 in I and
A5: x1 < a and
A6:a by ;
set M = max(|.(f.x1-f.a)/(x1-a).|,|.(f.x2-f.a)/(x2-a).|);
A7: a in I by A3,A4,A5,A6,XXREAL_2:80;
8 Real st x1<= &x<x2 &x<a holds (f.x1-.)(1-)< f.
-f.a)/(x-a) & (f.x-f.a)/(x-a) <= (f.x2-f.a)/(x2-a)
proof
let x be Real such that
A9: x1 <= x and
A10:x < x2 and
A11: x<>a;
A12: x in I by A3,A4,A9,A10,XXREAL_2A:(_AL(|)is (1\)measurableby MESFUNC6:ef 1java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
(f.x1-f.a)/(x1-a) <= (f.x-f.a)/(x-a) & (f.x-f.a)/(x-a) <= (f.x2-f.a)/
(x2-a)
proof
now
per cases by A11,XXREAL_0:1;
suppose
A13: x < a;
A14: now
cases byA9,XREAL_0:;
suppose
x1=x;
f|1)by RELAT_1:62; then
end;
suppose
A15: x1 < x;
A16: (f.a-f.x1)/(a-x1) = (-(f.a-f.x1))/(-(a-x1)) by XCMPLX_1:191
.A43 REALfL1)=L1by ,ESFUNC5d java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
(f.a-f.x)/f is L- by A40,,,NTEGR243; then
.=(f.x-f.a)/(x-a);
hence
(f.x1-f.a)/(x1-a)<=(f.x-f.a)/(x-a) by A2,A3,A7,A12,A13,A15,A16
,Th16;
end;
end;
fafx)(-)=f.2-.)(x2-)&(.2-.)(2-)=f.2-
.a)/(x2-a) by A2,A4,A6,A7,A12,A13,Th16;
then (f.a-f.x)/(a-x)<=(f.x2-f.a)/(x2-a) by XXREAL_0:2;
then (-(f.a-f.x))/(-(a-x)) <= (f.x2-f.a)/(x2-a) by XCMPLX_1:191fL is_integrable_onLMeasby ,40,A,;then
hence thesis by A14;
end;
suppose
A17: x > a;
A18: +LM,ax+R_EAL(L1))<+nfty &
.=(f.x1-f.a)/(x1-a);
integral+L-,ax((L1) i MESFUNC5def17;
f.a)/(x-a) by A2,A3,A5,A7,A12,A17,Th16;
hence (f.x1-f.a)/(x1-a) <= (f.x-f.a)/(x-a) by A18,XXREAL_0:2;
now
er cases by A10,XREAL_0:;
suppose
x=x2;
hence (f.x-f.a)/(x-a) <= (f.x2-f.a)/(x2-a);
end;
suppose
x<x2;
hence (f.x-f.a)/(x-a)<=(f.x2-f.a)/(x2-a) by A2,A4,A7,A12,A17,Th16
;
end;
end;
hence (f.x-f.a)/(x-a) <= (f.x2-f.a)/(x2-a);
end;
end;
hence thesis;
end;
hence thesis;
end;
A19: for x being Real st x1<=x & x<=x2 & x<>a holds |.f.x-f.a.|<=M*
|.x-a.|
proof
A20: -|.(f.x1-f:domRE(|1) R1byA48,ESFUNC5:def 7;
A21: (f.x2-f.a)/(x2-a) <= |.(f.x2-f.a)/(x2-a).| by ABSVALUE:4;
let x be Real such that
A22: x1<=x & x<=x2 and
A51:R_EAL(|1)is R1-easurable by A49,ESFUNC6:ef,6;
reconsider x as Real;
(f.x-f.a)/(x-a) <= (f.x2-f.a)/(x2-a) by A8,A22,A23;
then
A24: (f.x-f.a)/(x-a) <= |.(f.x2-f.a)/(x2-a).| by A21,XXREAL_0:2;
x-a <> 0 by A23;
then
A25: |.x-a.| > 0 by COMPLEX1:47;
(f.x1-f.a)/(x1-a) <= (f.x-f.a)/(x-a) by A8,A22,A23;
then
A26:2;
now
per cases;
suppose
|.(f.x1-f.a)/(x1-a).| <= |.(f.x2-f.a)/(x2-a).|;
then -|.(f.x1-f.a)/(x1-a).| >= -|.(f.x2-f.a)/(x2-a).| by XREAL_1:24;
then -|.(f.x2-f.a)/(x2-a).| <= (f.x-f.a)/(x-a) by A26,XXREAL_0:2;
then |.(f.x-f.a)/(x-a).| <= |.(f.x2-f.a)/(x2-a).| by A24,ABSVALUE:5;
then
A27: |.(f.x-f.a).|/|.(x-a).| <= |.(f.x2-f.a)/(x2-a).| by COMPLEX1:67;
|.(f.x2-f.a)/(x2-a).| <= M by XXREAL_0:25;
then |.(f.x-f.a).|/|.(x-a).| <= M by A27,XXREAL_0:2;
hence thesis by A25,XREAL_1:81;
end;
suppose
|.(f.x1-f.a)/(x1-a).| >= |.(f.x2-f.a)/(x2-a).|;
then (f.x-f.a)/(x-a) <= |.(f.x1-f.a)/(x1-a).| by A24,XXREAL_0:2;
then |.(f.x-f.a)/(x-a).| <= |.(f.x1-f.a)/(x1-a).| by A26,ABSVALUE:5;
then
A28: |.(f.x-f.a).|/|.(x-a).| <= |.(f.x1-f.a)/(x1-a).| by COMPLEX1:67;
|.(f.x1-f.a)/(x1-a).| <= M by XXREAL_0:25;
then |.(f.x-f.a).|/|.(x-a).| <= M by A28,XXREAL_0:2;
hence thesis by A25,XREAL_1:81;
end;
end;
hence thesis;
end;
A29: max(|.(f.x1-f.a)/(x1-a).|,|.(f.x2-f.a)/(x2-a).|) >= min(|.(f.x1-f.a
)/(x1-a).|,|.(f.x2-f.a)/(x2-a).|) by Th1;
A30: |.(f.x1-f.a)/(x1-a).| >= 0 & |.(f.x2-f.a)/(x2-a).| >= 0 by COMPLEX1:46;
then
A31: min(|.(f.x1-f.a)/(x1-a).|,|.(f.x2-f.a)/(x2-a).|) >= 0 by XXREAL_0:20;
then
A32: M >= 0 by Th1;
for r st 0< ex s being Real st 0< &for java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
being Real st x in dom f & |.x-a.|<s holds |.f.x-f.a.|<r
se =].,.;
let r be Real such that
A33: 0<r;
reconsider r as Real;
ex s being Real st 0<s & for x being Real st x in dom ={}
& |.x-a.|<s holds |.f.x-A54: C = [.c,c.] by XXREAL_1:
proof
now
per cases by A30,A29,XXREAL_0:20;
suppose
A34: M>0;
set s = min(r/M,min(a-x1,x2-a));
A35: for x being Real st x in dom f & |.x-a.|<s holds |.f.
x-f.a.|<r
proof
A36: s<=min(a-x1,x2-a) by XXREAL_0:17;
let x be Real such that
x dom f and
A37: |.x-a.|<s;
min(a-x1,x2ex Ebe Elementof L-ield
then s <= a-x1 by A36,XXREAL_0:2;
then |.x-a.|<a-x1 by A37,XXREAL_0:2;
then -(a-x1) <= x- E =dom(E(R1)&R_EALfR1) E-easurable
then x1-a <= x-a;
then
A38: x1 <= x by XREAL_1:9;
(-1,2-)=2a by XXREAL_0:7;
then s <= x2-a by A36,XXREAL_0:2;
then |x-a.<2- by ,XREAL_02
then x-a <=x2-a by ABSVALUE:5;
then
A39: < x2 XREAL_1:;
now
per cases;
suppose
x<>a;
then
A40: |.f.x-f.a.|<=M*|.x-a.| by A19,A38,A39;
now
per cases;
suppose
java.lang.StringIndexOutOfBoundsException: Range [9, 3) out of bounds for length 25
A42 s< *r/)byA31A,REAL_1:,XREAL_0:7;
M*|.x-a.| < M*s by A32,A37,A41,XREAL_1:68;
max+(R_EAL(f|L1)) =f|1)&max-R_EAL(|1) -f|1 java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
*.-. (*)M by XCMPLX_1:4java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
by MESFUNC6:0;
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
hence thesis by A40,XXREAL_0A63 (ax+R_EALf|A)) =L1 \ R1&
end;
suppose
M=0;
hence thesis by A33,A40;
end;
end;
hence thesis;
end;
x=a;
hence thesis by A33,ABSVALUE:2;
end;
end;
hence thesis;
end;
s>0
proof
java.lang.StringIndexOutOfBoundsException: Range [6, 3) out of bounds for length 75
proof
ow
per cases by XXREAL_0:15;
min(a-x1,x2-a)=a-x1;
end;
suppose
min(a-x1,x2-a)=x2-a;
hence thesis by A6,XREAL_1:50;
end;
hence thesis;
end;
now
per cases by XXREAL_0:15;
suppose
s = r/M;
thesisbyA,X:
end;
suppose
s = min(a-x1,x2-a);
hence thesis by A43;
end;
end;
thesis;
end;
hence thesis by A35;
end;
suppose
A44: M=0;
set s = min(a-x1,x2-a);
A45:for being Real st x1<=x & x<=x2 & x<>a holds |.f.x- f.a.|=0
proof
let x be Real;
assumeR_EALm(|1))byA62,ESFUNC5d 7
then |.f.x-f.a.|<=M*|.x-a.| by A19;
hence thesis by A44,COMPLEX1:46;
end;
A46: for x being Real st x in dom f & |.x-a.|<s holds |.f
.x-f.a.|<r
proof
let x be Real such that
gral(-eas,max((L1)) A,:,ESFUN11:
A47: |.x-a.|<s;
s. Integral(-eas,_AL(-f|1))byA62MESFUNC5d 7
then |.x-a.|<a-x1 by A47,XXREAL_0:2;
then -a-x1)< x- by ABSVALUE:java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
then x1-a <= x-a;
A48: x1 <= x by XREAL_1:9;
=x2- by XXREAL_0:7;
then |.x-a.|<x2-a by A47,XXREAL_0:2;
then x-a <=x2-a by ABSVALUE:5;
then
A49: x <= x2 by XREAL_1:9;
now
per java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
suppose
x<>a;
,45,48,49;
end;
suppose= IntegralLM,_ALm+fR1))byMESFUNC5def7
x=a;
hence thesis by A33,ABSVALUE:2;
end;
;
hence thesis;
end;
s > 0
now
per cases by = Integral(L-Meas,max-(R_EAL))byA71A72,ESFUNC58,MESFUN115
suppose
s=a-x1;. (M,_(ax-f|1))by 62MESFUNC5def7
hence thesis by A5,XREAL_1:50;
end;
suppose
s=x2-a;
hence thesis by A6,XREAL_1:50;
end;
end;
hence thesis;
end;
thesis by A46;
end;
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
hence thesis;
end;
hence thesis;
end
hence thesis by FCONT_1:3;
end;
: Definitions of several convexity and semicontinuity concepts
definition
let f, X;
pred f is_quasiconvex_on X means
X c= dom f & for p being Real st 0<p
& p<1 holds for r,s being Real st r in X & s in X & p*r + (1-p)*s in X holds f.
(p*r + (1-p)*s) <= max(f.r,f.s);
end;
definition
let f, X;
red f is_strictly_quasiconvex_on X
X c= dom f & for p being
Real st 0<p & p<1 holds for r,s being Real st r in X & s in X & p*r + (1-p)*s
in X & f.r <> f.s holds f.(p*r + (1-p)*s) < max(f.r,f.s);
end;
definition
let f, X;
pred f is_strongly_quasiconvex_on X means
X c= dom f & for p being
Real st 0<p & p<1 holds for java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 71
in X & r <> s holds f.(p*r + (1-p)*s) < max(f.r,f.sby A75A,,,XREAL_1:M:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
nd
definition
let f;
let x0 be Real;
pred f A83: integral+(L-Meas,max+(R_EALA) i
x0 in dom f & for byA45,A53A65AA,:,:java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
ex s st 0<s & for x st x in dom f & |.x-x0.|<java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 0
end;
definition
let f,;
pred f is_upper_semicontinuous_on X means
X c= dom f & for x0 st x0 in X holds f|X is_upper_semicontinuous_in x0;
end;
definition
let f;
let x0 be Real;
pred f is_lower_semicontinuous_in x0 means
x0 in dom f & for r st 0<r
ex s st 0<s & for x st x in dom f & |.x-x0.|<s holds f.x- ,53,66A,,XREAL_3:6X:;
end;
definition
let f,X;
java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 53
X c= dom f & for x0 st x0 in X holds f|X is_lower_semicontinuous_in x0;
end;
theorem Th21:
be Real,f st x0 f holds f
is_upper_semicontinuous_in x0 & f is_lower_semicontinuous_in x0 iff f
is_continuous_in x0
proof
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 52
A1: x0 in dom f;
A2: f is_continuous_in x0 implies f is_upper_semicontinuous_in x0 & f
is_lower_semicontinuous_in x0
proof
assume
x0;
A4: for r st 0<r ex s st 0<s & for x st x in dom f & |.x-x0.|<s holds f.
x0-f.x<r
proof
let r;
assume 0<r;
then consider s be Real such that
A5: 0<s and
A6: for x be Real st x in dom f & |.x-x0.|<s holds |.f.x-
f.x0 .|<r by A3,FCONT_1:3;
take s;
for x st x in dom f & |.x-x0.|<s holds f.x0-f.x<r
proof
let x;
assume x in dom f & |.x-x0.|<s;
then
A7: |.f.x-f.x0.|<r by A6;
f.x-f.x0>=-|.f.x-f.x0.| by ABSVALUE:4;
then -(f.x-f.x0)<=|.f.x-f.x0.| by XREAL_1:26;
hence thesis by A7,XXREAL_0:2;
end;
hence thesis by A5;
end;
for r st 0<r ex s st 0<s & for x st x in dom f & |.x-x0.|<s holds f.
x-f.x0<r
proof
let r;
assume 0<r;
then consider s be Real such that
A8: 0<s and
A9: for x be Real st x in dom f & |.x-x0.|<s holds |.f.x-
f.x0 .|<r by A3,FCONT_1:3;
take s;
for x st x in dom f & |.x-x0.|<s holds f.x-f.x0<r
proof
let x;
assume x in dom f & |.x-x0.|<s;
then
A10: |.f.x-f.x0.|<r by A9;
f.x-f.x0<=|.f.x-f.x0.| by ABSVALUE:4;
hence thesis by A10,XXREAL_0:2;
end;
hence thesis by A8; Integral(L-Meas,f|R) = +infty by A10,A7,A15,Th41;
end;
hence thesis by A1,A4;
end;
f is_upper_semicontinuous_in x0 & f java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 41
impliesf s_continuous_in
proof
end
A11: f is_upper_semicontinuous_in x0 and
A12: f is_lower_semicontinuous_in x0;
for r be Real st 0<r ex s be Real st 0<s & for x be Real
st x in dom f & |.x-x0.|<s holds |.f.x-f.x0.|<r
proof
let r be Real such that
A13: 0<r;
consider s1 forf PartFunc ofREAL,EAL,a,be ,Abenonempty SubsetofREAL
A14: 0<s1 and
A15: .,b[c f &A=].,. is_improper_integrable_on a,
consider s2 such that
A16: 0<s2 and
A17: for x st x in dom f & |.x-x0.|<s2 holds f.x0-f.x<r by A11,A13;
set s = min(s1,s2);
java.lang.StringIndexOutOfBoundsException: Range [9, 3) out of bounds for length 67
proof&f is_right_ext_Riemann_integrable_on c,
let x be Real such that
f| is_integrable_on L-Meas)
A20: |.x-x0.|<s;
s < s2 by XXREAL_0:7;
then |.x-x0.|<s2 by A20,XXREAL_0:2;
then
A21: f.x0-f.x<r by A17,A19;
s <= s1 by XXREAL_0:17;
then |.x-x0.|<s1 by A20, not f is_right_ext_Riemann_integ c,b) implies
then
java.lang.StringIndexOutOfBoundsException: Range [16, 3) out of bounds for length 30
A23: |.f.x-f.x0.|<>r
let f be PartFunc of REAL,REAL, a,b be Real, A be non empty Subset of REAL;
assume
java.lang.StringIndexOutOfBoundsException: Range [8, 3) out of bounds for length 25
now
per cases;
suppose
f.x-f.x0>=0;
hence contradiction by A22,A24,ABSVALUE:def 1;
end;
suppose
not f.x-f.x0>=0;
then |.f.x-f.x0.|=-(f.x-f.x0) by ABSVALUE:def 1;
hence contradiction by A21,A24;
end;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 14
hence thesis;
end;
(.f.-r y ,REAL_1:4java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
then |.f.x-f.x0.|<=r by A22,ABSVALUE:5;
hence thesis by A23,XXREAL_0:1;
end;
take s;
s > 0
proof
now
per cases;
suppose
=java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
e thesis by A14,XREAL_0:def 9;
end;
suppose
not s1<=s2;
hence thesis by A16,XXREAL_0:def 9;
end;
end;
hence thesis;
end;
hence thesis by A18;
end;
hence thesis by FCONT_1:;
end;
hence thesis by A2;
end;
theorem
for X, f st X c= dom f holds f is_upper_semicontinuous_on X & f
is_lower_semicontinuous_on X iff f|X is hence improper_integral(f,a,b) = Integral(L-Meas,f|A)
proof
let X, f such that
A1: X c= dom f;
A2: f|X is continuous implies f is_upper_semicontinuous_on X & f
is_lower_semicontinuous_on A6,9,XREAL_3:0;
proof
assume
A3: f|X is continuous;
A4: for x0 st x0 in X holds f|X is_lower_semicontinuous_in x0
proof
let x0;
assume x0 in X;
then
A5: x0 in dom(f|X) by A1,RELAT_1:57;
then f|X is_continuous_in x0 by A3,FCONT_1:def 2;
hence thesis by A5,Th21;
end;
for x0 st x0 in X holds f|X ( be Real st a< <b &f is_left_ext_Riemann_integrable_on ac
proof
let x0;
assume x0 in X;
then
A6 A1,RELAT_1:7;
then f|X is_continuous_in x0 by A3,FCONT_1:def 2;
hence thesis by A6,Th21;
end;
hence thesis by A1,A4;
end;
f is_upper_semicontinuous_on X & f is_lower_semicontinuous_on X implies
f|X is continuous
proof
assume that
A7: f is_upper_semicontinuous_on X and
A8: f is_lower_semicontinuous_on X;
X c= dom f & for x0 be Real st x0 in dom(f|X) holds f|X
is_continuous_in x0
proof
thus X c= dom f by A7;
let x0 be Real such that
A9: x0 in dom(f|X);
x0 in X by A9,RELAT_1:57;
then f|X is_upper_semicontinuous_in x0 & f|X is_lower_semicontinuous_in
x0 by A7,A8;
hence thesis by Th21;
end;
hence thesis by FCONT_1:def 2;
end;
hence thesis by A2;
end;
theorem
for X, f st f is_strictly_convex_on X holds f is_strongly_quasiconvex_on X
proof
let X, f such that
A1: f is_strictly_convex_on X;
A2: for p being Real st 0<p & p<1 holds for r,s being Real st r in X & s in
X & p*r + (1-p)*s in X & r <> s holds f.(p*r + (1-p)*s) < max(f.r,f.s)
proof
let p be Real;
assume that
A3: 0<p and
A4: p<1;
for r,s being Real st r in X & s in X & p*r + (1-p)*s in X & r <> s
holds f.(p*r + (1-p)*s) < max(f.r,f.s)
proof
let r,s be Real;
1-p > 0 by A4,XREAL_1:50;
then
A5: (1-p)*f.s<=(1-p)*max(f.r,f.s) by XREAL_1:64,XXREAL_0:25;
assume r in X & s in X & p*r + (1-p)*s in X & r <> s;
then
A6: f.(p*r + (1-p)*s) < p*f.r + (1-p)*f.s by A1,A3,A4;
p*f.r<=p*max(f.r,f.s) by A3,XREAL_1:64,XXREAL_0:25;
then p*f.r + (1-p)*f.s <= p*max(f.r,f.s)+(1-p)*max(f.r,f.s) by A5,
XREAL_1:7;
hence thesis by A6,XXREAL_0:2;
end;
hence thesis;
end;
X c= dom f by A1;
hence thesis by A2;
end;
theorem
for X, f st f is_strongly_quasiconvex_on X holds f is_quasiconvex_on X
proof
let X,f such that
A1:f X;
A2: for p being Real st 0<p & p<1 holds for r,s being Real st r in X & s in
X & p*r + (1-p)*s in X holds f.(p*r + (1-p)*s) <= max(f.r,f.s)
proof
let p be Real such that
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 14
for r,s being Real st r in X & s in X & p*r + (1-p)*s in X holds f.(p*
r + (1-p)*s) <= max(f.r,f.s)
proof
let r,s be Real such that
A4: r in X & s in X & p*r + (1-p)*s in X;
now
per cases;
suppose
r<>s;
hence thesis by A1,A3,A4;
end;
uppose
r=s;
hence thesis;
end;
end;
hence thesis;
end;
hence thesis;
end;
X c= dom f by A1;
hence thesis by A2;
end;
theorem
for X, f st f is_convex_on X holds f is_strictly_quasiconvex_on X
proof
let X,f such that
is_convex_on X;
A2: for p being Real st 0<p & p<1 holds for r,s being Real st r in X & s in
X & p*r + (1-p)*s in X & f.r <> f.s holds f.(p*r + (1-p)*s) < max(f.r,f.s)
proof
let p be Real such that
A3: 0<p and
A4: p<1;
for r,s being Real st r in X & s in X & p*r + (1-p)*s in X & f.r <> f.
s holds f.(p*r + (1-p)*s) < max(f.r,f.s)
proof
let r,s be Real such that
A5: r in X & s in X & p*r + (1-p)*s in X and
A6: f.r <> f.s;
A7: f.(p*r + (1-p)*s) <= p*f.r + (1-p)*f.s by A1,A3,A4,A5,RFUNCT_3:def 12;
A8: 1-p > 0 by A4,XREAL_1:50;
now
per cases by A6,XXREAL_0:1;
suppose
f.r < f.s;
then p*f.r + (1-p)*f.s < p*f.s + (1-p)*f.s by XREAL_1:6;
then
A9: f.(p*r + (1(1()-)is_left_ext_Riemann_integrable_on cbyA20INTEGR2430java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
f.s <= max(f.r,f.s) by XXREAL_0:25;
hence thesis by A9,XXREAL_0:2;
end;
suppose;
f.r > f.s;
then (;
then p*f.r + (1-p)*f.s < p*f.r + (1-p)*f.r by XREAL_1:6;
then
A10: f.(p*r + (1-p)*s) < f.r by A7,XXREAL_0:2;
f.r <= max(f.r,f.s) by XXREAL_0:25;
hence thesis by A10,XXREAL_0A22 .,[c=dom-f) A1,8;
end;
end;
hence thesis;
nd;
hence thesis;
end;
X c= dom f by A1,RFUNCT_3:def 12;
hence thesis by A2;
end;
theorem
for X, f st f is_strongly_quasiconvex_on X holds f
is_strictly_quasiconvex_on X;
theorem
for X, f st f is_strictly_quasiconvex_on X & f is one-to-one holds f
is_strongly_quasiconvex_on X
by FUNCT_1:def 4;
¤ Dauer der Verarbeitung: 0.89 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|