|
|
|
|
Quelle catalan2.miz
Sprache: Mizar
|
|
:: The {C}atalan Numbers. {P}art {II}
:: by Karol P\c{a}k
::
:: Received October 31, 2006
:: Copyright (c) 2006-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/.
environ
vocabularies NUMBERS, SUBSET_1, FUNCT_1, NAT_1, TARSKI, ORDINAL1, FINSET_1,
RELAT_1, AFINSQ_1, ARYTM_1, ARYTM_3,V2= B byjava.lang.StringIndexOutOfBoundsException : Index 34 out of bounds for length 34
,, ,,,,SEQ_1
SERIES_1, VALUED_1, SQUARE_1, COMPLEX1, PARTFUN3, ZFMISC_1, CARD_FIN,
REALSET1, CATALAN1, REAL_1, ORDINAL2, SEQ_2, NEWTON, PREPOWER, FUNCT_3,
CATALAN2, FUNCT_7;
notations TARSKI, XBOOLE_0, SUBSET_1, CARD_1, XCMPLX_0, XREAL_0, ORDINAL1,
NUMBERS, RELAT_1, FUNCT_1, REAL_1, NAT_1, FINSET_1then tisV2.-
AFINSQ_1, SEQ_1, VALUED_1, RELSET_1, DOMAIN_1, FUNCT_2, FUNCOP_1,
BINOP_1, BINOP_2, RECDEF_1, SERIES_1, PARTFUN3, AFINSQ_2, ZFMISC_1,
SQUARE_1, NEWTON, STIRL2_1, CARD_FIN, CATALAN1, SEQ_2, PREPOWER,
COMPLEX1, QUIN_1;
constructors QUIN_1, PREPOWER, SERIES_1, PARTFUN3, BINOM, WELLORD2, DOMAIN_1,
SETWISEO,hencecontradictionbyH2J3J4J8def7
CATALAN1, STIRL2_1, CARD_FIN, AFINSQ_2, ABIAN, SEQ_2, COMSEQ_2, NUMBERS,
NEWTON;
registrations XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, ORDINAL1, FUNCT_2,
FUNCOP_1, FINSET_1, FRAENKEL, NUMBERS, XXREAL_0, XREAL_0, NAT_1, INT_1,
BINOP_2, CARD_1, java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 12
NEWTON, AFINSQ_2, SERIES_1, SQUARE_1;
requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
definitions TARSKI, XBOOLE_0, FUNCT_1;
equalities QUIN_1, SQUARE_1, ORDINAL1;
expansions TARSKI, XBOOLE_0;
theorems java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 10
NAT_1, FUNCT_2, XCMPLX_1, CARD_2, INT_1, ORDINAL1, WELLORD2, CARD_1,
BINOP_2, NEWTON, XREAL_1, FUNCOP_1, STIRL2_1, FUNCT_1, CARD_FIN,
SERIES_1, SEQ_1, SEQ_2, COMPLEX1, SQUARE_1, ABSVALUE, RSSPACE2, POWER,
reconsider mu = g/b1 N of ;
AFINSQ_2, XTUPLE_0, NUMBERS, FINSEQ_4;
schemes FUNCT_2, NAT_1, XBOOLE_0, STIRL2_1;
begin
reserve x, x1, x2, y, X, D for set,
i, j, k, l, m, n, N for Nat,
p, q for XFinSequence of NAT,
java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 22
pd, qd for XFinSequence of D;
definition
let p,q;
redefine func p^q -> XFinSequence of NAT;
coherence;
end;
theorem Th1:
ex qd st pd = (pd|n)^qd
proof
consider q9 then
A1: pd = (pd|n)^q9 by AFINSQ_1:60;
rng q9 c= rng pd by A1,AFINSQ_1:25;
then rng q9 c= D by XBOOLE_1:1;
then q9 is XFinSequence of D by RELAT_1:def 19;
A1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
end;
definition
let p;
attr p is dominated_by_0 means
rng p c= {0,1} & for k st k <= dom p holds 2*Sum (p|k) <= k;
end;
theorem Th2:
p is dominated_by_0 implies 2 &g.=g.ibyAAAPARTFUN16
proof
assume
A1: p is dominated_by_0;
now
per cases;
suppose
k <= dom p;
hence thesis by A1;
end;
suppose
A2: k > dom p;
then Segm len p c= Segm k by NAT_1:39;
A3: p|k=p by RELAT_1:68;
2 * Sum (p|(len p)) <= dom p & p|(len p)=p by A1;
hence thesis by A2,A3,XXREAL_0:2;
end;
end;
hence thesis;
end;
theorem Th3:
p is g/.bi in dom. in ,,J1,java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 54
proof
assume
A1: p is dominated_by_0;
now
per cases;
suppose
not 0 in dom p;
hence thesis by FUNCT_1:def 2;
end;
suppose
0 in dom p;
thenthen
then
A2: Segm 1 c= Segm
0 in Segm 1 by NAT_1:44;
then 0 in dom p /\ Segm 1 by A2,XBOOLE_0:def 4;
then
then g/.b1 in dom Fi with-replacement(nu,dom (D.bi))
A4: Sum <%p.0%>= addnat"**"<%p.0%> by AFINSQ_2:51
.= p.0 by AFINSQ_2:37;
len (p|1)=1 by A2,RELAT_1:62;
then p|1=<%p.0%> by A3,AFINSQ_1:34;
then 2*(p.0)<=1+(0 qua Nat) by A1,A4,Th2;
then 2*(p.0)=1 or 2*(p.0)=0 by NAT_1:9;
hence thesis by NAT_1:15;
end;
end;
hence thesis;
end;
registration let x;let k be Nat;
cluster x-->k -> NAT-valued;
coherence;
end;
Lm1: n <= m implies (m-->k)|n = (n-->k)
proof
assume n <= m;
then Segm n c= Segm m by NAT_1:39;
then n/\m = n by XBOOLE_1:28;
hence thesis by FUNCOP_1:12;
end;
Lm2: (k-->0) is dominated_by_0
proof
rng (k-->0) c={0} & {0} c= {0,1} by FUNCOP_1:13,ZFMISC_1:7;
hence rng (k-->0) c={0,1};
let n;
assume n <= dom (k-->0);
then
A2: (k-->0)|n =(n-->0) by Lm1;
Sum (n-->0) =0*n by AFINSQ_2:58;
hence thesis by A2;
end;
registration
cluster empty dominated_by_0 for XFinSequence of NAT;
existence
proof
(0-->0) is dominated_by_0 by Lm2;
hence thesis;
end;
cluster non empty dominated_by_0 for XFinSequence of NAT;
existence
proof
(1-->0) is dominated_by_0 by Lm2;
hence thesis;
end;
end;
theorem
n-->0 is dominated_by_0 by Lm2;
theorem Th5:
n >= m implies (n-->0)^(m-->1) is dominated_by_0
proof
assume
A1: n>=m;
set p=(n-->0)^(m-->1);
rng (m-->1) c= {1} & {1} c= {0,1} by FUNCOP_1:13,ZFMISC_1:7;
then
A2: rng (m-->1) c= {0,1};
rng (n-->0) c={0} & {0} c= {0,1} by FUNCOP_1:13,ZFMISC_1:7;
then rng (n-->0) c= {0,1};
then rng (n-->0) \/ rng (m-->1) c= {0,1} by A2,XBOOLE_1:8;
hence rng p c= {0,1} by AFINSQ_1:26;
let k such that
A3: k <= dom java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0
now
SERIES_1 java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 75
suppose
A4: k <= dom (n-->0);
A5: (n-- F is AN2 java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
: Sum (--0=* by :java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
p|k ;
hence byA5A;
end;
suppose
k > dom (n-->0);
reconsiderkd=k-om(--0 Nat byNAT_121;
en(m-1)byA3AFINSQ_1:17
then k-len (, ,SERIES_1,SQUARE_1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
kd <= m;
then
equalities ,SQUARE_1 ;
reconsider m1 = m-->1 as java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 29
k p2Sum(|) < kjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
isdominated_by_0Sum(|) <=k
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
-->0 + (->) y,:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
percasesjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
;
k- <
then k-n <= n by A1, endend;
then
A10: k-n+(k-n)<=n+(k-n) by then Segm len p c= Segm k:;
Sum(--0 n0& Sum (kd->1)=kd* by 58;
hence thesis by 9A10;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
hence thesis;
end;
theorem Th6:
p isd;
proof
assume
A1: p is dominated_by_0; end;
A2: for k;
proof
let k is dominated_by_0impliesp.=0
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 26
then
per cases;
dom (p|n) = dom p/\n suppose
then (p|n)|k=p|k hencethesis by FUNCT_1:ef2
hence thesis by A1,Th2;
end;
rng (p|n) c= rng p & rng p c= {0,1} by A1 then
then rng(p|n)c={0,}
hence thesis by A2;
end;
theorem Th7:
p is dominated_by_0 & q is then 0 in dom p /\ Segm 1XBOOLE_0defjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
proof
that
d_by_0and
A2: q is len (p|1)=1 by A262
rngp ={,}&rng q c= { =(.-term of SY;
then rng p \/rng q c= {0,1} 2(.)=+0quaNat) byA,,h2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
hence rng (p^q) c= {0,1} by AFINSQ_1:26;
let hence by :15java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
k <= dom (p^q);
now
per cases;
suppose
A3: k <=
then(^AFINSQ_158;
hence thesis by A1,A3;
clust x-k- -alued;
suppose
k>omp;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
k=kd+dom p;java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then pq)k=p^q|d AFINSQ_1:9;
then
: Sum((pq)k)Sum p+um(|)by :;
2 * Sumhencethesis :;
then 2* Sum p + 2 * end;
hence thesis A4java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
end;
hence thesis;
end;
theorem Th8let ;
p dominated_by_02 *Sum (|(*+) <2*+1
proof
assumep is;
then
:2*Sump|2*+) = 2*n+1 by Th2;
assume 2 * (|2n+1)> n +1;
then 2 * Sum (p|end;
hen 2 *(p2n+-n=;
empty dominated_by_0for ofNATjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
end;
theorem Th9:
p is dominated_by_0end;
proof
set q=(n-->1);
assume that
A1: (1-0 dominated_by_0by ;
F3: F.hnce ;
rngendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
hen
A3: rng q c= {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
byA1;
then java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 5
hence set =n->)(-1)
let msuchH8: F by,H2,NAT_1PARTFUN1df 6
A4: then
ow
per cases;
suppose
m n-0 01;
then(pq|=| AFINSQ_158java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
hence then
end;
suppose
m > dom p;
then reconsider=-omp NAT_1:1;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A4: k < n->;
then
A6: H5: Fi A6 k-0)0*k 58;
domq n&len q dom q;
then dom (phence byA5,6;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
thenreconsider kd=-om (n->0)as Natby:;
A7 XREAL_1;
then |d = md> Lm1;
then klen (-0<=en(->)lenn-0)-en n-0 XREAL_1:;
*um (pq)m)= 2*Sump+ m-om p +dbyA6;
then
A8: 2*Sum (( then
nn<len -2*Sum p- A2,REAL_1:;
then m-(len p-2 * Sum p-n)<=m-0 by XREAL_1:10;
thesis A8,:;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
hence thesis;
end;
theorem Th10:
p dominated_by_0 =k+ -2Sum p implies(>)p(java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
-)is
proof
;
A1: p is dominated_by_0 and
- 2 *Sum ;
set q=(k-->0);
dom q=k & len q =dom q,:2;
then
A3: len (q^p)=k+A10: k-n+(k-n)<=n+-) java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 10
by AFINSQ_258java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
then
A4: Sumend;
q is hence thesis
then
,Th9
end;
theorem Th11
p isjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
A1: p isproof
A2: k < assumek < p|)
proof
A3:p| p=;
assume
A4: k > len p;
then Segm mFi&nu >xiby ,AA,ABI2L8H8SORT (|=dom/:;
p|kp=by :;
hence thesis by A1,A4hence thesis ,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end;
then Segm k c= Segm len p by NAT_1:39then rngpn)=0,1}java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
then is dominated_by_0java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 73
hence thesis by A2,RELAT_1
end;
theorem
p is dominated_by_0 & 2*Sum (p|k) = k & p = (p|k)^q implies qA2 dominated_by_0
dominated_by_0
proof
assume that
A1: p isrngp\ =,}:8;
A2: (^q7 -, Di =(.-sub(i
=(|^;
: p|= A,;
rng java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 23
n <= dom q;
p|(java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 11
then
:Sum (len(|k+n))= Sum (kk++mpjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
2* Sum (p|(len (java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [44, 2) out of bounds for length 48
hence thesis by A4,XREAL_1:6;
end;
theorem Th13:
p is dominated_by_0 & 2*Sum ( hence by ;
proof
assume that
hence ;
A2: 2 *
A3: +java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
q|asof;
q.n=1
proof
umpk<0;
then =Sumpk)asby1421java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
A4: q is dominated_by_0 by A1,Th6;
then
A5 >pjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
2*s+1 thenpkp:8;
A6: Sum <%e;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 31
=|)%.n>56java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
n< p * (p)=k&p=(k^is
then java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 16
A9: q.A2 (k=and
assume q.n<>1;
then A3: p = (p)q
then qq)+% java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 54
h A2A613;
end;
.n>1&%n>1 :33;
n<= =dom
thenS n=kA3N39;
then
A11: q|n = p|n by:(|(k+)= (|+ q)by AFINSQ_2:55java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
lenq=+by,;
then q=q|n^<%q.n% :56
hence thesis by A11,A10,FUNCOP_1:9;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
p m (2java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 70
proof
A1: dom <%0%>=1 & rng <%0%>={0} by AFINSQ_1:33;
set q1=(1-->1);
;
letA2: 2 * (|)=k
A2:A3: k +1;
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 24
p<0by A2A;
NAT_1:def 1;
min* M in M by then not xi c xi s=(k-Nat by 14,;
A4: n=min*M and
A5: 2*A5: qc 0,1;
A6: n>0;
reconsider n1=n-1 as Nat by A6,NAT_1:20;
Sumpn<0by A5A
A7: len q=1 by A1,A2A3,h11java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
nn1 :;
A7: n1>=2-1 by XREAL_1:9;
then
A8: Segm 1 c= Segm
A9: (p|n1)|1=p|1 by RELAT_1:74;
A10: n1 < n1+1 by NAT_1:13;
n < len pby A3,5Th11;
then
A11: n1 < len p by Sum (qn <0>byA8,java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 31
then 1 < byA2,,N13;
(|= AFINSQ_111;
then
A12: p|1 = <%(p|1).0%> by t
1 T;then
(p|1).0=0 by =+ 11;
A13: p|1=then
qt
A14: (p|len q=n+1 A,Th11java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
thesis ,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37
take:
:p|n1+)=|1^(1-->)java.lang.StringIndexOutOfBoundsException: Range [10, 27) out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [18, 6) out of bounds for length 70
5
then
A16::n1<113java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
p|m is
q= q0q ( =java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 63
hencec 0
A17: dom q0=1;, ,A4,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 47
len (
then
java.lang.StringIndexOutOfBoundsException: Range [15, 3) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A6: 2*Sun
then
A19: len q0 + k <= n1 by A18,XREAL_1:Sumpn >java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
( + =n139
then
+k NK: 1 <= b <= len B :
A21: 1+k
:*(|1kjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
proof
A23: 2*(|=(n)|)<p (p|n)=((p|n)|n1)^<%(p|nbyAB,,d 3java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
*k)<T;
then 2*Sum(p
then1k M;
.=[1b NM,AA
end;
(p|n1)|(1+k)=q0^q|;
then
Sum(+)=q0+Sum(k A2055
Sum (q0)=0*1 by AFINSQ_2(|= p ( Nat java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
hence thesis ,,,XXREAL_0
end;
theorem Th15:
p forp ,stp(kq ->)q(-1 is
= min =*umN=&N0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
psuchjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
* p2k )len q+
set M={NminM2klenq
M c= NAT
proof
let x
assume x in M;:2k>=* by,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 42
then exthen
by def;
end;
then reconsider M as Subset of java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 7
by A7 ,N8 =k0qk AFINSQ_127
A3: k <= dom p and |*M
:2Sumpk 1,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
reconsider k as Nat;
k byOA: mu = {} by,87java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
min*M
nbeNat
A5: min*M=n and
*p ;
A7 p|)=;
Sum(p| java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
then n>0 by A7;
then reconsider n1A:domk0=;
java.lang.StringIndexOutOfBoundsException: Range [18, 2) out of bounds for length 32
take S;
kjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A8 = A5d1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then
mp>nby ,2
A10: A: <=,NAT_1:;
proof
:<1 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 27
Segm k AA23
then
A12: (p|n)|n1=p|n1 by RELAT_1:74;
n java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
then
:lenp|)=1by:;
then n1 in Segm( java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 67
then
A14: dom(k0^q)len k0 + q &domk :java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 67
(p|n)=((p|n)|n1)^ |*M(^^k1|) java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 58
thenSumpn=(pn1+ %pn.>A1255;
then
>= +1:;
n1 < n1+1 by NAT_1:13;
then in M def 1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
then|=mkL-1byjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A16: A27 (mkL=* 58
pn. 01 ,java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
then
beNodeof(In1domB)sub(1In1B);
assume 2* ;
then Sum <%(p|n).n1%> = (p|n).n1 & 2*Sum(p|n1)<n1 by A16,AFINSQ_2:53
,XXREAL_0:1;
then 2*Sum(p|n1) + 2*Sum <%(p|n).java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 28
hence java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
end;
p.n1=1
proof
Segm java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 4
then
18:p)n1+ :2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A19: Sum <%0 > qp %%^ is
;
assume
A20: p.n1<>1;
A21: n1 <n1+1 by NAT_1:13;
thenA1 is
A2: {N: p= >=}&>0java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
A22: n1 in dom p by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 22
Segm = by A21,NAT_1:9;
then
A23: (p take ;
n1 in A4 p={1}java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
then n1 in dom p/\n by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
(|)pn1by FUNCT_1:;
A25: n1 1by ;
p.n1 in rng p by A22,FUNCT_1:3;
pbyA20T2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
then Sum (p|n)=Sum (p|assumeq java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
thesis < dom and
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence p1i=|)qi by59java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
) = (-)q(->)&qis
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 79
*+java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 11
proof
let p,q,k such that
|*len)(-0^(-1)and
A2 1+
A3: byA2
A4java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
set k0=k-->0;
5 =* by :;
then
A6: 2*k > java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
reconsider k1=k-->1 as XFinSequence of NAT;
setA3:x java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
=k0k;
Sum <0>0&i1 53:3java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
then
A7: Sum kqk =
Sum k1=k*1 by AFINSQ_2:58mjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then 2*Sum (p|(A: java.lang.StringIndexOutOfBoundsException: Range [36, 12) out of bounds for length 36
then
:*+q A6
M c= NAT
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
object
assume y in M proof
then ex i be Nat st iin;
f 12
end;
reconsider as SubsetA8;
min*M=2*k+len q
proof
kqk = k0^(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
then
A9: len kqk = len k0A4 x p java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 52
kqk + q by AFINSQ_1;
,ZFMISC_1:;
A11: min*M<>2*k+len q;
min*M in M by NAT_1:def 1
then
A12:
A14 *+q> M,def1;
then
A15: Segm(mintheoremTh20:
then
:pM java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 20
now
casesjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
suppose
A17: min*M <= k;
om &k0^^)by:27java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
then
A18: thenqstqp &q=n& q=by;
A19: Sum (min*M-->0)= java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
F)-(D| =.byS4,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
then Sum
,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
end
suppose
min*M > k bejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
then reconsider mk=min*M-k as Nat java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 27
now
per cases;
A20:min c {,} ;
A21: dom k0 = k;
Mmk+java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
then
A22l njava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
dom (k0^q)=len k0+len q by AFINSQ_1:def 3;
thenkqkmin*M=(k0^|min*M by A20,AFINSQ_1:58;
then
A23: Sum(ppjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
A24: 1 <= k by A4,NAT_1:14;
Sum(k0)=k*0 by AFINSQ_2:58;
S5 v
hence contradiction by A24,NAT_1:tjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
end;
suppose
min*M > k+len q;
then reconsider mkL=min*M-(k+len q) as Nat by NAT_1:21
A25
A1: Domin_0(n,m
then*=dom0q)mkL
then kqk|min*M=(k0^q)^(k1|mkL) java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 6
then
A26: Sum(p|min*M)=Sum(k0^q)+Sum (k1|mkL) by A16,AFINSQ_2:55 then considerxbeing such
< lenkqkby 11A10,,1
consider psuch that
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
then
:Sum(k1|kL)=kL* byAFINSQ_258java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
Sumk0q=)Sum k0=k0by :55,;
hence contradiction by A3,A11,A26,A27,A25;
end;
end;
hence contradiction;
end;
end;
hence (, = {
;
thesis
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th17:
forp st p & {N:2Sum(p|) &N>}={
& len p > 0 ex assume x in{}
let p such java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
A1: p is dominated_by_0 and
{,;
set M={N: 2*Sum(p|N)=N & N>0};
consider reconsider nnn Elementof by d 12;
A3 [set,et]means fork st k=1holds $2=n-p.k;
take q;
A4: rng p c= {0,1} by A1A2: for k stkin Segm len ex x be Element of{,} Pk,]
rng qclet a assume
then
= {0,1 ;
len p >= 1 by A2,NAT_1:14;
Segm 1 c= Segm len p byNAT_1:;
then
A6: dom (p|1)=1 by SK: a in dom(((F.b) byA1,ARSKI:java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 43
A7: p|1=<%(p|1).0%> by A6,AFINSQ_1:34;
0 in Segm 1 thesisby A3;
then
A8: (p| ththen a java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
hence p=<%0%>^q by A1,A3,A7,Th3;
A5 for k st []holds Q[k+1]
then consider i such that
and
A9: 2*Sum(q|i) > i by A5;
reconsider i as Nat;
p|(1+i)=(p|len(pk1)k1 A1262java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
thenSD:not nuc= a then
A10 Sum (|1+))=Sum <p.
A11: 2*Sum(q|i) >= i+1 by A9,NAT_1:13;
Sum <%p.0%>=p.0 by AFINSQ_2:53;
: not ex rbeing FinSequence ofNATstr java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 67
Sum (p|1+i))=( Nat)+Sum (|)by A1,T;
then 1+i >=2*Sum (q|i) by A1 then Sum (q|1= qk+<q.%> A10A:;
1+i 2Sum q|)by ,XXREAL_0XXREAL_0:;
then 1+i in M by A12;
;
end;
theorem Th18:
p is dominated_by_0 implies <%0%>^p is dominated_by_0 &
{N: 2*Sum((<%0%>^p)|N) m>
proof
reconsider q=1-->0 as XFinSequence of NAT;
then r nm=n-m as Nat by NAT_1:21;
A1: p is dominated_by_0;
dom q = 1 A2:(!*nm)(m!*by XREAL_1:;
then
A2: a then (n!(m!*(!)0by A2,REAL_181java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
q is dominated_by_0by Lm2java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then q is dominated_by_0 theorem Th27:
hence<0%>^ is,h7
set M={N: 2*Sum((<%0% card Choose(nm,,0)
assume M<>{};
then java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
[bject,]
consider i be Nat such that
xi
A4: 2*Sum((<%0%>^p)|i)=i and
;
reconsider i1=i-1 as Nat by A5, *+1) & p=(p|(*+)^ &(orobe Nat sto<2k+holdsSI v. FF..by A7S2,:def11java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
dom <%0%>=1 by AFINSQ_1:33;
i=dom <0> +1;
then (<%0%>^p)|i=<%0%>^(java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
A6: Sum ((<%0%>^p)|i)=Sum <%0%>+ Sum (p|i1) by AFINSQ_2:55;
Sum <%0%>=0 & i1<i1+1 by AFINSQ_2:53,NAT_1:13;
hence thesis by A1,A4,A6,Th2;
end;
theorem
rng p c= {0,1} & 2*k+1 = min*{N:2*Sum(p|N) > N} implies p|(2*k),CARD_FIN16java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
dominated_by_0
proof
M=N :2Sum(|) > N};
set q=p|(2*k);
assume that
A1: rng p c= {0,1} and
A2: 2 *A4 Z;
thus rng q yA4X:def java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
reconsider M as non empty Subset of NAT by A2,NAT_1:def 1;
let m;
assume
m= then a n dom(.)with-replacementnu,dom(D.b)by ,TREES_1d 9;
then
A4: Segm m c= Segm len q by NAT_1:39;
len q <= 2*k by AFINSQ_1:55;
then Segm len q c= Segm(2*k) by NAT_1:39;
then Segm m c= Segm(2*k) by A4;
then m<2k NAT_1:;
then
2*k+ NAT_1:;
assume
A6: 2*Sum(q|m) > m;
reconsider as ORDINAL1def ;
q|m=p|m & m in NAT then consider o be Nat such hat
then m in M by A6;
hence thesisA9 2 * +=min*N *mp|)> ++1=dom
end;
begin
definition
let n, be Nat;
A10 =qr Th1;
:Def2:
x in it =1&S[]holds[+1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
NATstp=x isdominated_by_0&dom p=n & Sump =;
existence
proof
defpred Q[object] means
ex p st p=$1 & p is dominated_by_0 & dom p = n & Sum
consider X such that
A1: for x being object java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 24
:sch;
X c= {0,1}^omega
proof
let let i;assume
assume x in X;
henconsider such that
A2: p=x and
A3: then
dom p = n A: dom R=n by ,AFINSQ_1 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
Sump=byA1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then rngr2c={01 by A7;
then is XFinSequenceof {0,1} RELAT_1def19;
hence thesis by A2,AFINSQ_1:42;
end;
then X Subsetof {0,omega
take X;
let x;
thus x in X implies Q[x] by A1;
giventhen
:p= & p is dominated_by_0 & dom p = n & Sum p=m;
A18: *o <2o1by NAT_113java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
,ZFMISC_1:96;
then p c= [:NAT,NAT:];
thesisA19 q2=(*)byRELAT_174;
end;
uniqueness
proof
let ,X2be Subsetof {01}omegasuch
A5: A22: =2o+ by ,ELAT_1:62java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
A6 inX2 iffexpn B by FINSEQ_3:25;
for x being object holds x in X1 iff x in X2
roof let x be object;
x in X1 iff ex p st p=x & p is dominated_by_0&dom p=n&Sum p=m by A5;
hence thesis by A6;
end;
by TARSKI:2;
end;
end;
theorem Th20:
p in Domin_0(n then
proof
thus p in Domin_0(n,m) implies p += Sum q r2 A8,A10,FINSQ_2:;
proof
assume p in (,m)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then ex q st q=p & q is reconsider ence in A,,ARD_FIN4java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A25 = + 1= min*N*Sum(|)N}
end;
theorem Th21
Domin_0(n,mc=Choose(n,m1,0)
proof
let x R=r1r2 &len =2*k+ & len =len q9 &p9=q9r2 A5,,,
ax (,;
then consider p such that
A1: p = x and
A2: p is dominated_by_0 and
A3: dom p = n & Sum p = m by Def2;
rng p c= {0,1} by A2;
ence thesis by A1A3,CARD_FIN40java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
end;
registration
let n,m;
java.lang.StringIndexOutOfBoundsException: Range [17, 9) out of bounds for length 33
coherence
proof
Domin_0(n,m) c end;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
end;
end;
theorem Th22:
Domin_0(n,m) is empty iff 2*m > n
proof
husDomin_0(n, is empty implies * m n
proof
setq=m-1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
assume
A1: Domin_0(n,m) is empty;
assume
A2: 2*m <= n;
m<m+ then consider suchthat
thenreconsider nm=n-m as Nat by A2,NAT_1:21,XXREAL_0:2;
set p=nm-->0;
2*m-m <= nm by A2,XREAL_1:9;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 8
A3 <+ byNAT_1:3;
then* *m+1)by XREAL_1:68;
then
A4: dom (p^q)=nm+m;
A5: Sum (p^q)=Sum p+ Sum q by AFINSQ_2:55;
2*Sum(nn<n &ninNAT by A31ORDINAL1:def 12java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
A1,A4,3Def2
end;
assume
A6: 2 * m > n;
assume Domin_0(n,m) is non empty let be object;
thenconsider x being object such that
A7: x in Domin_0(n,m);
consider such that
p = x and
A9: dom p = n and
A10: Sum p = m by A7,Def2;
p|n=p by A9;
hence thesis by A6,A8,A10,Th2;
end;
theorem Th23:
Domin_0(n,0) = {n-->0}
proof
set p=n-->0;
n0)c pjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
proof
let x be object;
ssumex in Domin_0(0;
then consider q such that
A2: x=q and
q is dominated_by_0 and
A3: dom q = n and
A4: Sum q =0 by Def2;
len q=n & q is nonnegative-yielding by A3;
then q = n --> 0 or (q={} & n=0) by A34:2*(|m)m1+ by A33;
then q= n-->0;
hence then Segm c= Segm by :9;
end;
{p} c= Domin_0(n,0)
proof
A5: p is dominated_by_0 by Lm2;
dom then
then
6 in (, by A5,Def2;
let x be object;mm < p A29ANAT_1def1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
assumexi p}
hence thesis by A6,TARSKI:defthen dom(pT: (.2-ub(b2)=
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesis by A1;
end;
theorem Th24:
1<m11 NAT_113
proof then not m1 in M by NAT_1:def 1;
Domin_0(n,0={n->0)=;
hence thesis by CARD_1:30;
end;
theorem Th25:
for p,n st rng p c= {0,n} ex q st len p = for p,n st rng p c= {0,n} ex q st len p = len
& (for k st k <= len p holds Sumtake S;
holds .= n-p
proof
let p, such java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A1: p c= {,n}
reconsider nn=n as Element of NAT by ORDINAL1:then (|)Sum(p|m1)+Sum%.1% A38,A36,AFINSQ_2:55;
defpred P[set,set] means for k st k=$1 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 42
A2: for k st k in Segm
thenconsider k such that
let k;
assume k in Segm len p;
then p.k in rng p by FUNCT_1:3;
then p.k=0 or p.k=n by A1,TARSKI:def 2;
then
A3: n-p.k in {0,nA then
P[k,n-p.k];
hence thesis by A3;
end;
consider q be XFinSequence of {0,n} such that
A4: dom q= Segm len p& for k st k in Segm len p holds P[A42 Sum (|(*k+1))=and
IRL2_1 ()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
reconsider q as XFinSequence of NAT;
defpred Q[Nat] means $1 <= len p implies Sum (p|$1)+ Sum (q|$1)=n*$1;
rng (| ={,}byA30;
proof
let ksuchthat
A6: Q[k];
k1=+;
A7: k<k+1 by NAT_1:13;
then
A8: Segm kA47:for sti< (p)holds Sum (|1)i+umr|=*
theni i in (|k1holds .i1(p|)i by ;
A9 pk1)pk RELAT_174;
A10: (q suppose b1 < b;
assume
A11A50:mk+um q by A31,A42,A44,AFINSQ_2:55;
dom =(|k1+enq byA45,FINSQ_1d ;
A12 then
then
A13: len (p|1)dom(|k1(p|k1|k1) & r|dom r=r;
then
A14: (q|k1)=((q|k1)|k)^<%(q|k1)A52 (p|k1+r=* p A45,A47;
len (p|k1)=k1 by rng q c=rng p by A44,:25;
then
A15:k dom (|1 A7,:86;
then
A16: (p|k1).= henrngr/ng qc=0,}by A46,XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
lenp|1)=k1 by A12,ELAT_162;
then (p|k1)=((p|k1)|k)^<%(p|k1).k%> by AFINSQ_1:56;
then A54 Segm k1 =Segm byA43,NAT_1:39;
then
then
k< len p by A11byRELAT_162java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
k inlen p by AFINSQ_1:;
then
:q=. byA4;
(q|k1).k= q.k by A13,A15,FUNCT_1:47;
then Sum (q|k1)=Sum (q|k)+Sum <%q.k%> java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 33
then A59 *Sum >k1 A42,52,55A57
T4: ((.b2)-sub(D java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 36
end;
take q
thus len p=len q by A4;
thus rng q c= {0,n} by RELAT_1:def 19;
A19: Q[0];
for holds Q[]from :sch2A19 (h.|/1uaNodeof )by ;
h thesis by A4;
end;
theorem Th26:
m <= n implies n choose m > 0
proof
A1: m<=n;
then reconsidernm=-mas Nat v..b1) f1 g.in rng gby AA,,FUNCT_1:ef;
A2: (m!)*(nm!)>(m!)*0 by XREAL_1:68;
n!0*(m!*(m));
then (n!)/((m!)*(nm!))> then
hence thesis A1,NEWTON:def;
end;
theorem Th27java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
2*(m+1) <= n implies card (Choose(n,m+A65: r1j1 and
(n,m,10
proof
defpred P[object,object] means
for p,k st $1 = p & 2 * kU5 g.b1 =nuA68 rql r1+en r2 by A66,FINSQ_1:def3
} ex r1,r2 be XFinSequence of NATA69 (r1^2)=en(|k1q)by A49,61,FINSQ_1:17;
k+) =p(*+1)r2&(oro st o 2+1 r1o=-po)
assume
A1 *m+)=n;
A2: m <= m+m by rq|1= by A45,,AFINSQ_1:;
m then k1 in KbyA58;
then 2*m < then
then 2m< by A1,XXREAL_0:;
then m<= n by A2,XXREAL_0:2;
(ardn choose m>0 by Th26;
then reconsider W=Choose(then
,CARD_FIN:16;
set Z=Domin_0(n,m+1);
set CH=Choosej1inK A60,AT_1: 1;
A3: for x being object st x in CH\Z java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 8
proof
let x being object such that
x in CH by A4,XBOOLE_0:def 5;
then p be XFinSequenceofNAT that
A5: p = x and
A6: dom p = n and
:rngp ={1 and
A8:Sum p=,FINSQ_1:;
not p in j1>* (p|1 XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
then p is not dominated_by_0 by A6,A8,Def2;
then consider o be Nat such that
73 j1=byA70,:1;
Sum (p|(2*o)) & A74:len (p|k1q)=len rq A49,:def3;
set q=p|(2*o+1);
consider r2 be XFinSequence of NAT such that
A10: p=q^r2 by Th1;
rng q c= {0,1} by A7;
then r1 XFinSequence of NAT such that
A11 len = r1 and
A12: rng r1 c= {0,1} andnow
A13: for i st i <=len q holds Sum (q|i) suppose
st inlen qholds .=-. by Th25;
take R=r1^r2;
len p= then
then
A15:domR by A6,AFINSQ_1:def 3;
rng r2 c= rng p by A10,AFINSQ_1:25;
ng r2 c= {0}by A7;
then rng r1 \/ rng A79: lenr1=en p|1) &iin
A16: rng R c= {0,1} by AFINSQ_1:26;
A80: .=-p|1)i by ,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
then
A17: Sum q+Sum r1=15 (rr2).p|)i A80,77AFINSQ_1: 3;
2* <*o+1by NAT_113java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then Segm(2A81: i>= len ;
then
A19: A82 (|k1^)i=.i r byA45,A65,73,A75,FINSQ_1:;
A20: Segm(r1^r2).ir2.ilen )&rq.=.i-len r) A,,A73,A69,A74
then
A21: dom q=2*o+1 by RELAT_1:62;
A22: q=*+ by ,ELAT_162;
then
A23: q=(q|(2*o))^<%q.(2*o)%> by AFINSQ_1:56;
2*o in Segm(2*o+1) by A18,NAT_1:44;
then q.(2*o)=p.(2*o) by A22,FUNCT_1:47;
then Sum q=Sum (p|(
then
A24: Sum q = o+1 by A9,AFINSQ_2:53;
m+1= Sum q + Sum r2 by A8,,AFINSQ_2:55;;
then Sum r1+Sum r2=m+1-(2*o+1)+2*o by A17,A21,A24;
then Sum (r1^r2)=m byA83:r1r2|^ by A68,49,AFINSQ_1:,;
hence R in W by A15,A16,CARD_FIN:40;
thus P[x,R]
proof
let p9 beXFinSequenceof NAT,k such that
A25: x=p9 & 2 * k + 1= minend;
set q9=p9|(2*k+1);
take r1,r2;
thus R=r1^r2 &len r1=2*k+1 & len r1=len q9 &p9=q9^r2 by A5,A9,A11,A10
,A20,A25,RELAT_1:62;
for be Nat i < 2*k+ holdsr1.=1p9.
proof
let i be Nat;
assume i <2*k+1;
then
A26: i in java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
then r1.i=1-q.i by A14;
by,25A,:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
end;
end;
end;
consider consider F be Functionjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 18
:forbeing x CHZholds P[x,F.] FUNCT_2sch 1(3;
W c= rng F
proof
etx object;
assume x in W;
then consider p such that
p= x and
A29: dom p = n and
: p c={, and
A31: Sum p=m by CARD_FIN:40;
set M={N:2*Sum (p|N)<N};
m<m+ NAT_113;
then 2*m < 2*(m+1) by XREAL_1:q=y and
by A1,XREAL_0;
then 2*Sum (p|n)<n & n in NAT by A29,A31,ORDINAL1:def 12;
then (omv)\ =dom(F.ub(D.;
A32: n in M;
M=NAT
proof
let y be object;
assume y in M;
then ex i be Nat st i=y & 2*Sum(p|i)<i;
hencethesis by ORDINAL1:12;
end;
then reconsider M as non empty Subset of NAT by A32;
ex k st 2*k+1 = min*M & Sum (p|(2*k+1))=k & 2*k+1 <= dom p
proof by RELAT_1:62;
set mm=min*M;
mm in MbyNAT_1: 1;
then
A33: ex o be Nat st mm=o & 2*Sum(p|o)<o;
thenreconsider m1=mm-as Nat ,97,Def2
A34: 2*Sum(p|mm)<m1+1 by A33;
A35: m1m1+by NAT_1:13;
then Segm m1 c= Segm mm by NAT_1:39;
then
A36: (p|mm)|m1=p|m1 by RELAT_1:74;
q|22)& q.22= Th15
mm = by:9java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
then dom(p|mm)=mm by RELAT_1:62-ub(D.b that
in Segmdom(pmm)by ,NAT_1:4;
then
A38: (p|mm).m1=p.m1s1=2*k2+and
m1 < m1+1 by NAT_1:13A102: len s1=len qk and
then not m1 in M by NAT_1:def 1;
then 2*Sum(p|m1)>=m1;
then
A39: Sum<%p.m1%>=p.m1 & 2*Sum(p|m1)+2*p.m1 >=
A105: len q= len qk + len s2 by A103,AFINSQ_1:17;
reconsider S=Sum(p|mm) as Nat;
take S;
A40: mm <= dom p by A29,A32,NAT_1:def 1;
len(p|mm)=m1+1 byA37,ELAT_162java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
then then
then Sum(p|mm)=Sum(p|m1)+Sum<%A106 len q=len (s1^s2) by A102,AFINSQ_1:17;
hence thesis by A40,A39,A34,NAT_1:9;
end;
then consider k such that
A41: 2 * k + 1 = A41: 2 * k + 1 = min
A42: Sum p2k+1))k
A43: 2 * k + 1 <= dom p;
set k1=2*k+1;
consider q such that
A44: p=p|k1^q by Th1;
rng (p|k1) c= {0,1} by A30;
then consider r be XFinSequence of NAT such that
A45: len r=len (p|k1) and
A46: rng r c= {0,A then
A47: for i st i <= len (p|k1) holds Sum ((p|k1)|i)+Sum(r|i)=1*i and
A48: for i st i in len (p|k1) holds r.i=1-(p|k1).i by Th25;
set rq=r^q;
A49:dom rq=len(p|1+ qby 45AFINSQ_1:def 3;
A50: m=k+Sum q by A31,A42,A44,AFINSQ_2:55;
dom rq=len (p|k1)+len q by A45,AFINSQ_1:def 3;
then
A51: dom rq=dom p by A44,AFINSQ_1:def 3;
(p|k1)|dom (p|k1)=(p|k1) & r|dom r=r;
then
A52:Sum (|1+Sumr=*en p|) byA45A47java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
rng q c= rng p by A44,AFINSQ_1:25;
then rng q c= {0,1} by A30;
then rng r\/rng q c= {0,1} by A46,XBOOLE_1:8;
hen
A53: rng rq c= {0,1} by AFINSQ_1:26;
A54: Segm k1 c= Segm len p by A43,NAT_1:39;
then
A55: len (p|k1)=k1 by RELAT_1:62;
then
A56: (r^q)|k1=r by A45,AFINSQ_1:57;
A57: k1+1> k1 by NAT_1:13;
then
A58: k1 < 2*Sum r by A42,A52,A55;
A59: 2* Sum r > k1 by A42,A52,A55(F.b =
then consider j be Nat such that
A60: 2 * j + 1 = min*{N : 2*Sum(rq|N) > N} & 2*j+1<=dom rq & j = Sum
(rq|(2*j)) & rq.(2*j)=1 by A53,A56,Th2,Th15;
set j1=2*j+1;
A61: len (p|k1^q)=len (p|k1)+ len q by AFINSQ_1:def 3;
rq is not dominated_by_0 by A59,A56,Th2;
then
A62: not rq in Z by Th20;
set rqj=rq|(2*j+1);
Sum rq=Sum r+ Sum q by AFINSQ_2:55;
then rq in CHby A29,42,A52,55A51,A53,A50,CARD_FIN:40;
then
A63: rq in CH\Z by A62,XBOOLE_0:def 5;
then consider r1,r2 be XFinSequence of NAT such that
A64: F.rq=r1^r2 and
A65: len r1=j1 and
A66: len r1=len rqj & rq=rqj^r2 and
A67 by T18,U2,T21,T5,T6,T12,Lem9,TREES_2:def 11;
A68: dom rq=len r1+len r2 by A66,AFINSQ_1:def 3;
then
A69: len (r1^r2)=len (p|k1^q) by A49,A61,AFINSQ_1:17;
reconsider K={N : 2*Sum(rq|N) > N} as non empty Subset of NAT by A60,
NAT_1:def 1;
rq|k1=r by A45,A55,AFINSQ_1:57;
then k1 in K by A58;
then
A70: k1>=j1 by A60,NAT_1:def 1;
then Segm j1 c= Segm k1 by NAT_1:39;
then
A71: (p|k1)|j1=p|j1 by RELAT_1:74;
j1 in K by A60,NAT_1:def 1;
then
A72: ex N st N=j1 & 2*Sum(rq|N) > N;
Sum ((p|k1)|j1)+Sum(r|j1)=j1*1 by A47,A55,A70;
then 2*Sum(r|j1)=2*j1-2*Sum (p|j1) by A71;
then j1+(j1-2*Sum ( then
,AFINSQ_1:58;
then j1>2*Sum (p|j1) by XREAL_1:6;
then j1 in M;
then j1 >= k1 by A41,NAT_1:def 1;
then
A73: T22: (F.b). =v. by T18,U2,T17,T19,T21,T5,T6,TREES_2:def 11;
A74: len (p|k1^q)=len rq by A49,AFINSQ_1:def 3;
now
let i be Nat such that
A75: i < len (r1^r2);
now
per cases;
suppose
A76: i < len r1;
then
A77: i in dom r1 & r1.i=1-rq.i by A65,A67,AFINSQ_1:86;
A78: i in len r1 by A76,AFINSQ_1:86;
A79: len r1=len ( (g/bqua Node of v, dom(D.b))
by A54,A65,A73,ORDINAL1:def 12,RELAT_1:62;
then
A80: r.i=1-(p|k1).i by A48,A78;
p|^q)i=p|k1)i&rq.=. by A45,A78,AFINSQ_1:def 3;
hence (r1^r2).i=(p|k1^A108 lenr112T18U2T11,REES_2:ef11
end;
suppose
A81: iA111 ibe st <2*k1+1 holds r1.=-.i A27A86,A89,93;
then
A82: (p|k1 assume <>;
(r1^r2).i=r2.(i-len r1) & rq.i=q.(i-len r) by A45,A55, not ex r FinSequenceof NATst rin dom D.)&a =g/b^&
,A75,A81,AFINSQ_1:19;
hence (r1^r2).i=(p|k1^q).i by A113: p.i<>q.i by A89,A90,A94,A95,AFINSQ_1
endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;
java.lang.StringIndexOutOfBoundsException: Range [15, 11) out of bounds for length 33
end;
then
=p|^ by A68,A49,A61,AFINSQ_1:,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
rq dom ,:def 1;
encethesis by A28, now
end;
then
A84: rng F = W;
A85: F is one-to-one
proof
let x,y being object such that
A118 =(1^r2).i& s1i(s1^s2). by A108,A109,101,A116,
A87: y in dom F and
A88: F.x=F.y;
x in CHby A86,XBOOLE_0:def 5java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
then consider p such that
A89: p = x A89: p = x and
A90: dom p = n and
A91: rng p c= {0,1} and
A92:Sump=m+1 by CARD_FIN:40;
not p in Z by A86, suppose
then p is not dominated_by_0by ,2,ef2;
then consider k1 be Nat such that
A93: 2 * k1 then
(|(*k1))&p(2*1=1 by A91,h15;
y reconsider nuAFINSQ_1:19
then consider q such that
A94: q = y and
A95:dom q= and
A96: rng q c= {0,1} and
A97: Sum hence contradiction by A88,A107,A109,A100,A115,A112,A113,A119,A120,
not inZ A87,,BOOLE_0def 5
then q is not dominated_by_0 by A95,A97,Def2;
then consider k2 be Nat such that
A98: 2 * k2 + 1 end;
2*k2)) &q(*k2)= by A96,Th15;
A99: len q=n by A95;
reconsider M={N : 2*Sum(q|N) > N} as non empty Subset of end;
NAT_1:def 1;
q2k2+;
s1 <len p by A90,A95,A102,A105,NAT_1:11;
A100: F.y=s1^s2 and
A101: len s1=2*k2+1 and
A102: len s1=len qk and
A103: q=qk^s2 2*22*1by A121,XREAL_1:;
A104: for ibe Nat st i<2k2+1 s1i=1-q.i by A27,A87,A94,A98;
A105: len q= len qk + len s2 by A103,AFINSQ_1:17;
then
A106: len q=len (s1^ then (s1^)|len then
reconsider K={N : 2*Sum(p|N) > N} as non emptyA124:s1r1|len s1)by AFINSQ_157;
NAT_1:def 1;
set A125: fork be k <len holds .k=p|en qk)k
iderr1r2beXFinSequence of NATsuchthat
A107: letk be Nat such
A108: len r1=2*A126 k<en qk;
A109: len r1=len (p|(2*k1+1)) and
A110:p=p|2*k1+))^2and
A111: for i be Nat st i < 2*k1+1 java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 14
assume x<>y;
then i beNat that
A112: i < len p and
A113:p.<q. by A89java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 14
114 len p=len pk+len r2 by A110,AFINSQ_1:17;
then
A115: len p=len (r1^r2) by A130: k<len r1 by A102,A123,XXREAL_0::;
now
per cases by XXREAL_0:1;
r1.k=1-p.k by A108,A111;
A116: k1=k2;
now
per cases;
suppose
A117 i len pk;
then i in len pk by AFINSQ_1:86;
then
A118: A132: k(| s1)kby FUNCT_1:48;
AFINSQ_1:def 3;
r1.i=-p byA101,A124,131,,128A129FUNCT_1:
hence contradiction by,A100,113A118;
end;
suppose
A119: i>=len pk;
then
A120: (s1^s2).i=s2.(i-len pk) by A90,A108,A109,A95,A101,A106,A112,A116,
AFINSQ_1:;
p.i=r2.(i-len pk) & q.i=s2.(i-len pk) by A90,A108,A109,A110,A101
,A102 lenqk=(|enqk)by 102A122,RELAT_162java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
hencecontradictionby ,A107,A109,A100A115,112,A113,A119,,
AFINSQ_1:19;
end;
end;
hence contradiction;
end;
suppose
A121: k1>k2;
lenv `,`],AAAB
then
A122: Segm len s1 c= Segm len p by NAT_1:39;
<* by A121,:68;
then
r1byA108,A101,XREAL_1:6;
then (s1^s2)|(len s1)=r1|(len s1) by A88,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 12
then
s1=|len s1)by AFINSQ_1:57;
A125: for k . V1B.]y AB,ART_1def 13
proof
let k be Nat suchA138:for be st k < k pkk=(q| pk)k
A126: k<len qkA proof
: k in lens1 by ,,AFINSQ_1:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
then
128 k in domq\en 1 by ,A95A,BOOLE_0:def4;
k in dom p/\ len s1 then
then
A129:pk=p| qk.k by A102,:48
A130: k<len r1 by then
then
A131:r1=1-p. by ,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
k in r1 A130,AFINSQ_1:86;
then k in dom r1/\ len s1 by A127,XBOOLE_0:def 4;
then
A132: r1.k=(r1|len s1).k by FUNCT_1:48;
s1.k=1-q.k by A101,A102,A104,A126;
hence ((F)-ub(D.))|g/b1qua Node of v)
end;
2*k2+1 in M by A98,NAT_1:def 1;
then
A133: ex N st 2*k2+1=N & 2* Sum(q|N)>N;
len qk=len (p|enqk)by ,A122,RELAT_1:62;
then qk=p|len qk by ,AFINSQ_1:9;
then len qk in K by A101,A102,A133;
hence contradiction by A93,A108,A102,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 43
end;
suppose
A134: k1<k2;
:11;
then
A135: Segm len r1 c= Segm len q by NAT_1:39;
2*k1<2*k2 by A134,XREAL_1:68;
then
A136: len r1 < len s1 by A108,A101, then (dom v)\rng g c= dom((F.b)-sub.));
146 ex st2*k1+1=N&2*Sum(p|>N
then
A137: r1=s1|(len r1) by AFINSQ_1:57;
A138: for k be Nat st k < len pk holds pk.k=(q|len pk).k
proof
let k be Nat such that
A139:k< pk;
A140: k in len r1 by A109,A139,AFINSQ_1:86;
then
A141: k in dom p/\len r1 by A90,A95,A135,XBOOLE_0:def 4;
k in dom q/\ len r1 by A135,A140,XBOOLE_0:def 4;
end
A142: let ajava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
143:k s1 by A109,136A139XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
esisby CARD_1:;
A144: s1.k=1T24:a dom((F.)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
k in dom s1 by A143, 2*(m+1) <= n implies card Domin_0(n+1) = (n choose (m+1)) - (n choose m)
then k in dom s1/\ len r1 by A140,XBOOLE_0:def 4;
then
A145: s1.k=(s1|len r1).k by FUNCT_1:48;
r1.k=1-p.k by A108,A109,A111,A139;
cethesis by,A137AA etCH=Choose(,m+,0)
end;
2k1+1 in in K by A93NAT_1d 1
then
146 Nst2*1N&2 (|>java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
pk (q|en pk)by A109,A135,RELAT_162;
then pk=q|len pk by A138,AFINSQ_1:9;
then len pk in M by A108,A109,A146;
hence contradiction by A109,A98,A101,A136,NAT_1:def 1;
end
end;
hence contradiction;
end;
dom F= C:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then (CH\), java.lang.StringIndexOutOfBoundsException: Range [30, 30) out of bounds for length 0
hence thesis by CARD_1:5;
end;
theorem Th28:
2*(m+1) <= n A1 then
proof
set CH=Choose(n,m+1,1,0);
set Z=Domin_0(n,m+1);
set W=Choose(n,m,1,0);
:card then n choosem= byNEWTON:19;
card (CH \ Z) = card CH - card Z by Th21,CARD_2:44;
A2: card Z=cardhence thesis byTh24
assume 2 * (m+1) <= n;
thencardZc -card by,h27
h thesis byA1,:16;
end;
theoremTh29
2*m <= n implies card as by A3,:20;
proof
assume
A1: 2*m<=n;
now
per cases;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
m=;
then (n choose m)=1 by NEWTON:19;
T19 not g/b c= a:1/19*)((+)*/((*)(+)by XCMPLX_1:91
hence thesis by A2,Th24;
end;
suppose
3 m>0;
A4 .=(m)/(*m9)by XCMPLX_1:90;
then reconsider nm=n-m as Nat by A1+1/m9*nm9=((m+)1/(*nm9)(+) XCMPLX_1:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
reconsider m1=-1 as Nat by A3,NAT_1:20;
set n9=n!;
setm9=m!
nm19(+)!
set nm9=nm!;
m= A1,XXREAL_0:;
then
A5:n choose2m/*nm9*(+)) :15
A6 2A1;
set m19=m1!;
A7 /m19*)(m1+)1/(*m19)(1+) :91
.=m/(nm19*(m19*(m1+1) m1<=+(1++) NAT_111;
.m(*m1+1)!) NEWTON:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
CMPLX_1:;
1/(m9*nm9)=((nm+1)*1)/((m9*nm9)*(nm+1)) by XCMPLX_1:91
.=(nm+1)/(m9*(nm9*( then
=nm+)(9nm19 NEWTON:;
then
/m9nm9-/(nm19)=(nm+1)/m9*m19)+(m)(9*nm19)by A7
.=((nm+1)+(-m))/(m9* .=9*1(9*nm9))n9*(1/m19*m19)) by 99
.=(n+1-2*m)/(m9*(nm9*(nm+1))) by NEWTON.n9*(m9*m9-/m19*nm19)java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
=*n-*)/(*nm9)(nm+))
.=(1/(m9*nm9))*(( .=n9*/m9*m9)))*(n+-2*)/(m1)
m1<=m1+(1+m1+1) by NAT_1:11;
then
A9: m1 <= n by A1,XXREAL_0:2;
n-m1=nm+1;
then
A10: n
n9/(m9*nm9)-n9/ hence thesis;
.=n9*(1/(m9*nm9))-n9*(1/(m19*nm19)) by XCMPLX_1:99
.=n9*(1/(m9*nm9)-1/(m19*nm19))
.=n9*((1/(m9*nm9
. card Domin_02+k,1) =k+1
.=((n9*1)/(m9*nm9))*((n+1-2*m)/(nm+1)) by XCMPLX_1:74;
hence(2+,)(2k121/2+k+-)*2+ 1 y Th29NAT_1:
end;
.(k+1)(2+k)(2k by STIRL2_1:
.=+1by XCMPLX_1:87;
end;
theorem Th30:
card Domin_0(2+k,1) = k
proof
Domin_0(+,1)=(+k+-*)(+k+1-1)(2k choose 1))by ,NAT_1:11
.=(k+1)/(2+k)*(2+k) by STIRL2_1:51
.k+ :java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
hence thesis;
end;
theorem
card 4k (+*(k+/
proof
card Domin_0(4+k,2)=(4+k+1-2*2)/(4+k+1-2)*((4+ hence ;
.=(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.=((k+1)/(k+3)*(3+k))*(4+k) card (6+,) = (+1)*(+)(+java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
=(k+)4k)2 XCMPLX_1:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
hence thesis;
end;
orem
card Domin_0(6+k,3) = (k =k1*5k)(+)6by XCMPLX_1;
proof
card Domin_0(6+k,3)=(6+k+1-2*3)/(6+k+1-3)*((6+java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 0
.=( card (*,n =((2*n)choosen)/(+)
.=((proof
.=(+)*(5+*6k)6by CMPLX_187java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end;
theorem Th33:
card Domin_0(2*n,n) =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
)=2n12*)(n+-)*(*n)choosen)Th29
.=(1*((2*n) choose n))/(proof
hence thesis;
theorem
card Domin_0(2*n,n) = Catalan(n+java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof
:Catalan()(2(n1 '2 ((+1))- )/n+1 CATALAN1: 1;
2*n+2 -' 2=2* st in itholds xis of;
hence thesis by A1,Th33;
end;
definition
let D;
mode >non empty set means hus byAFINSQ_1d ;
:Def3:
for x st x in it holds x is java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
existence
proof
D9OMEGA=^ as functionalnon setjava.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
take D9OMEGA;
thus thesis by AFINSQ_1:def 7;
end;
end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
let D;
redefinefunc D^mega->OMEGAof Djava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
coherence
proof
Dreserve , qN ofNAT^omega;
of D by AFINSQ_1:def 7;
hence thesis {pN:om pN * &pNthen =i as ofdom AAMCART_1:def 13;
end;
registration
let D;
let F be OMEGA of D;
cluster -> finite D-valued Sequence-like for Element of F;
coherence by Def3;
end;
reserve pN,qN for Element ofNATomega;
theorem
2n & is dominated_by_0}= 2n)choosen
proof
set D=bool ({0 k in Segm(+1)
set =2*n;
defpred P[set,set] means for i st i=$1 holds $2= take Z
set Z={pN:dom pN = 2* n & pN is dominated_by_0};
for k st k in Segm(n+1) ex x be Element of D st P[k,x]
proof
let k such that
k in Segm(n+1);
reconsider Z=Domin_0(2n,k) as Element
take Z;
thusthesis;
end;
consider r hence h. = (A4 x=pN
r Segmn+)& k st k inSegm(+) holds P[,r.]
inDomin_0(*,Sum ) A5java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A3: then 1/2*2* < 1/(2 *n)byXREAL_164
proof
let x be object;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then consider pN such that
A4: x=pN and
A5 dompN 2 is dominated_by_0;
pN in Domin_0(2*n,Sum pN) by A5,Th20;
then 2*Sum pN A7 pN r.Sum ) by A5,Th20;
then 1/2*(2*Sum pN)<= 1/2*(2 * n) by r.Sum pN)in rngr by ,,3java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
then Sum pN java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then
A6: Sum pN in Segm(n+1) by NAT_1:44;
then r.(Sum pN)=Domin_0(2n =Domin_0(2ni) by ,A12;
then
A7: pN in r.(Sum pN) by A5,Th20;
r.SumpN) inrngr A2,6,:3;
hence thesis by A4,A7,TARSKI:def 4;
end;
A8: union rng r c= Z
proof
let x be object;
assume x in union rng r;
then consider y such that
A9: x in y and
A10: y in rng r by TARSKI:def 4;
consider i be object such that
A11: i in dom r and
A12: ,jbe Nat such that
reconsider iA15 i dom and
y=(ni) by A2,11,A12;
then consider p suchA17: i>;
:p &p dominated_by_0 p =2 nd
Sum Segm1byNAT_1:;
p in NAT^omega by AFINSQ_1:def 7;
hence thesis by A13;
end;
A14: for i,j be Nat st i in dom r & j in dom r & i<>j holds r.i
isses r.java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
let i,j be Nat dom |1)=RELAT_1:2;
A15: i in dom r and
16:j ndom r and
A17: i<>j;
assume r.i A33: Cardr|1=<%Cardr A:;
hen r./\r.>}java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
considerx object such that
A18: x in r.i/\r.j by XBOOLE_0 then Cardr|)=1 byA33,A28A:53java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
A19: x in r.j by A18,XBOOLE_0:def 4;
r.=omin_0(n)by A2,16;
then
A20: ex q st q = x & q is dominated_by_0 & dom q = 2*n & Sum q = j by A19,Def2;
A21: x in r.i by A18,XBOOLE_0:def 4;
r.=Domin_0(n,)by A2,A15;
then ex p st p = x & p is dominated_by_0 & dom p = 2n & Sum p = i by A21
,Def2;
hence thesis
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A22: for i st i in dom =A23NAT_1
proof
let i;
assume i in dom r;
then r.i=Domin_0(2n,i) by A2;
hence ;
end;
consider Cardr be java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 17
A23: dom for i holds [i] NAT_1: (A27,34)
foristi domCardrholdsCardr.= ri java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
A25: card union rng r = Sum(Cardr) by A22,A14,STIRL2_1:66;
A26: n < dom Cardr java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
defpred Q[Nat] means for n,m,,,l st n-*k+ -(k+1)holdscard{
java.lang.StringIndexOutOfBoundsException: Range [8, 3) out of bounds for length 9
proof
0 in Segm(n+1) by NAT_1:44;
then r.0=Domin_0(2n,0) by A2;
then
A28: card (r.0)=A etq01->;
A29:in Segm1by NAT_1:;
assume
A30: 0 <len Cardr;
then 1=len Cardr by NAT_1:14;
then
A31: Segm 1c Segm len Cardr by NAT_1:9;
then
A32: len ex r1,r2 be XFinSequence of NAT st $1 = q0^r1^q1^r2
dom (Cardr|1)=1 by A31,RELAT_1:62;
then (Cardr|1).0=Cardr.0 by A29,FUNCT_1:47;
then
A33: Cardr|1=<%Cardr.0%> by A32,AFINSQ_1set Z1=Domin_02*k,k;
0 in len Cardr by A30,AFINSQ_1:;
set2k1=2*k+1;
then A2 for x being object st x in F ex y being object st y in [:Z1,Z2:] & P[x,y]
hence thesis by A3: dom q0=1 & Sum q0=0*1AFINSQ_258
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A34: for i st Q[i] holds Q[i+1]
proof
is that
A35: Q[i];
set i1=i+1;
assume
A36:i<len ;
then
A37: i1 r2 be XFinSequenceofNATsuchthat
A38: Cardr Cardr(1+))&Cardr.=(ri1
by A24,AFINSQ_2:65;
i1 <=n by A2A6: N|k1=q0^r1q
then
*<n java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
then
Sum(CardrA15:r2 byA1,A13,A11,Th20;
,A38,A39,Th28,NAT_1:13;
hence thesis;
end;
for i holds Q[ *k1lenq0+ r1 AFINSQ_117java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
then Sum(Cardr)=(2n choose n) by A26;
hence thesis by A25,A3,A8,XBOOLE_0:def 10;
theorem Th36consider ofF,[:Z1,Z2:]such that
for,,k,j,lst = n-2*(k+1 l = m-k+)holds card {pN :pN
Domin_0nm *k+)=min*N2*ump|) =N &N >0} Domin_02*k
k cardDomin_0(,)
proof
set q1=1-->1;
set q0=1-->0;
let n,m,k,j,l such that
A1: j=n-2*(k+1) & l=m-(k+1);
defpred P[object,object] means
ex r1,r2 be XFinSequence of NAT st $1 = q0^r1^q1^r2
& len (q0^r1^q1) = 2*(k+1) & $2 = [r1,r2];
set Z2=Domin_0(j,l);
set Z1=Domin_0(2*k,k);
set F={pN:pN in Domin_0(n,m) & 2 * (k + 1) = min*{N: 2*Sum(pN|N)=N&N>0}};
set 2k1=2*(k+1);
A2: for x being object st x in F ex y being object st y in [:Z1,Z2:] & P[x,y]
proof
A3: dom q0=1 & Sum q0=0*1 by AFINSQ_2:58;
let x be object;
assume x in F;
then consider pN such that
A4: pN=x & pN in Domin_0(n,m) & 2k1=min*{N: 2*Sum(pN|N)=N & N>0};
2k1>2*0 by XREAL_1:68;
then reconsider
M={N:2*Sum(pN|N)=N & N>0} as non empty <{;
consider r2 be XFinSequence of NAT such that
A5: pN = pN|2k1^r2 by Th1;
2k1>2*0 & pN is dominated_by_0 by A4 pNst =x &pN in (,)&2=in*N:*Sum(pN|)=N&0 A19;
then consider r1 be XFinSequence of NAT such that
A6: pN|2k1 = q0^r1^q1 and
A7: r1 is dominated_by_0 by A4,Th14;
A8: Sum q1=1*1 by AFINSQ_2:58;
M by A4,AT_1: 1;
A9: ex o be Nat st let x be objectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
k1= q^r1)+ by ,:55
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A10: k=Sum q0+ Sum r1 by A8,AFINSQ_2:55;
pN is dominated_by_0 by A4,Th20;
isdominated_by_0 by A5A9,;
pN dominated_by_0 A4,;
then
A12: len (pN|2k1)=2k1 by A9,Th11;
Sum pN=m by A4,Th20;
then
A13: m=k+1+Sum r2 by A5,A9,AFINSQ_2:55;
take [r1,r2];
dom pN by A4,h20java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then n=2k1+len r2 by A5,A12, 0=lenq0p+ lenq1 & = by :ef 3;
then
:r2 in by ,,,h20;
then (0p1^|21lenp=p1 by :;
then 2*k+1=len q0+ len r1 by AFINSQ_1:17;
r1 in Z1 by A7,A10,3,Th20;
hence thesis by A4,A5,A6,A12,A15,ZFMISC_1:def 2;
end;
consider f being Function of F,[:Z1,Z2:] such that
A16: for x being object st x in F holds then 0p1 is dominated_by_0 A28,h10;
A17: [:Z1,Z2:]={} implies F={}
proof
assume [:Z1,A39: 0p1^q in NAT^omega by AFINSQ_1:def 7;
then Z1={} or Z2={};
then 2*l > j by Th22;
then 2*m-2*(k+1) > n-2*(k+1) by A1;
then
A18: 2*m > n by XREAL_1:9;
assume F<>{};
then consider x being object such that
A19: x in F by XBOOLE_0:def 1;
ex pN st pN=x & pN,37,A39;
hence thesis by A18,Th22;
end;
then
A20: dom f=A41:01^q =q0^r1^^r2and
f=:1,Z2:
proof
A22: Sum q0=1*0 & Sum q1 29;
thus rngthen q0^=0^1by A41A42AFINSQ_12857
let x be object;
assume x in [:Z1,Z2:];
then consider,x2 beingobject such that
A24: x1 in Z1 and
A25: x2 in Z2 and
:x=x1x2 ZFMISC_1def 2;
consider p such that
A27: p=x1 and
is dominated_by_0 and
A29: dom p = 2*k and
: Sum p = k A24,ef2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
consider q such that
A31: q=x2 and
A32: q is dominated_by_0 and
A33: dom q = j and
q by ,Def2
set 0p1q^p^q1;
A35: dom (0p1^q)=len 0p1+len q by AFINSQ_1:def 3;
dom 0p1=len (q0^p)+ consider x1,x2 be XFinSequence such
then
A36: dom len q0x^) = 2k1= 221and
(2*1AFINSQ_1:;
then
A37:end;
then-oneby:;
then ,[:,Z2: are_equipotent byA20A21,ELLORD2:ef java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
then
A38: 0p1^q is dominated_by_0 by A32,Th7;
A39: 0p1^q in NATjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
0p1=q0^(p^q1) by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
then Sum 0p1=Sum q0+ Sum (p^q1) by AFINSQ_2:55;
Q_2:55;
then Sum (0p1^q)=k+1+l by A30,A34,AFINSQ_2:55;
then p1^q in Domin_0m A1,29,A33,38,ATh20;
then
:01q in Fby A29,37A39;
then r1 beXFinSequenceNATsuchthat
A41: proof
A42let nm suchthat
A43: f.(0p1^qA1:2m =n;
A44: (0p1^q)|2k1=0p1 by A29,A36,AFINSQ_1:57;
then q0^p=q0^r1 by A41,A42 defpred P[set,set] meansfor j$ 2{ : pNin (,)&2
then
A45: p=r1 by AFINSQ_1:28;
(q0^r1^q1^r2)|2k1=(q0^r1^q1 set={pN:pN Domin_0(,m N Sum(|N= & N>0}<{}}java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
then q=r2 by A41,A44,AFINSQ_1:28;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
end;
for x,y being object st x in F & y in F & f.x = f.y holds x = y
proof
let x,y being object such that
A46: x in F and
A47: y in F and
A48: f.x = f.y;
considery1y2 be XFinSequence ofNAT that
A49: y = hencethesis
len (q0^y1^q1) = 2k1 and
A50: f.y = [y1,y2] by A16,A47;
consider x1,x2 be XFinSequence of NAT such that
q0^x1^1^x2
len (q0^x1^java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 12
A52: f.x = [x1,endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
x1=y1 by A48,A52,A50,XTUPLE_0:1;
hence thesis by ,51A52A49,,:1;
end;
ne-by:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
then F,[:Z1,Z2:] are_equipotent by A20,A21,WELLORD2:def 4;
then card F=card [:Z1,Z2:] by CARD_1:5;
hence thesis by CARD_2:46;
end;
:: THE RECURRENCE RELATION FOR THE CATALAN NUMBERS
theorem Th37:
for n,m st 2*m <=
pN let x beobject;
j < m holds CardFj =cardDomin_0*jj)*card Domin_0(n-'2*(j+1),
m -'(j+1))
proof
let n,m such that
A1: 2*m <=n;
set Z=Domin_0(n,m);
defpred P[set,set] means for j st j=$1 holds $2={pN : pN in Domin_0(n,m) & 2
* (j + 1) = min*{N: 2*Sum(pN|N) = N&N>0}};
set W={pN: pN in Domin_0(n,m) & {N: 2*Sum(pN|N)=N & N>0}<>{}};
:fork kinSegmmex Element ofboolZ st [kx]
proof
k in Ic NAT
set NN={pN : pN
let ;
proof
let x be object;
assume x in NN;
then ex pN st x=pN & pN in Z & 2*(k+1) = min*{N: 2*Sum(pN|N)=N&N>0};
hence thesis;
end;
ementof Z
take NN;
thus thesis;
end;
consider C:min*M and
A3: dom C= Segm m & for k st k in Segm m holds P[k,C.k]
from STIRL2_1:sch 5(A2);
A4: W c= union rng C
proof
x beobject;
assume x in W;
then consider pN such that
A5: x=pN & pN+ q55;
={N: 2*umpN|)N&N>}
I c= NAT
proofA10:m >=Sum(pNM NAT_111;
let y beobject;
then m > Sum1 by A10,XXREAL_0:2;
then ex i be Nat st i=y & 2*Sum(pN|i)=i & i>0;
hence thesis by ORDINAL1:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
endSum1={: inDomin_0nm)& 2(um1+1)=min*{:*(N|=N>0
then reconsider I as non empty Subset java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 8
min*I in I by NAT_1:def 1;
then consider M be Nat such that
A6:min*=M and
A7: 2*Sum (pN|M)=M and
A8: M>0;
Sum(pN|)0 by A7,A8;
then reconsider Sum1=Sum (pN|M)-1 as Nat by NAT_1:20;
consider q such that
A9: pN=(pN|M)^q by Th1;
Sum pN =Sum (pN|MA14:i in dom and
A15:j dom C and
then
A10: m >= Sum (pN|M) by NAT_1:11;
Sum1+1 >Sum1 by NAT_1:13;
then m > Sum1 by A10,XXREAL_0:2;
then
A11: Sum1 in Segm m by NAT_1:44;
then
C.Sum1={qN:qN in Domin_0(n,m) & 2*(Sum1+1) = min*{N:2*Sum(qN|N)=N&N>0
}} by A3;
then
A12: pN in C.Sum1 by A5,A6,A7;
C.Sum1 in rng C by A3,A11,FUNCT_1:3;
hence thesis by A5,A12,TARSKI:def then
end;
A13: for i,j st i in dom C & j in dom C & i<>j holds C.i misses C.j
let i C.{n)& 2 *i1 min*{ *(pN|N) = java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
A14: i in dom C and
A15: j in dom C and
A16: i<>j;
assume C. meets .;
then C.i/\C hencethesis by ,19java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
consider being objectsuch that
A17: x in C.i/\C.j by XBOOLE_0:def 1;
k;
C.j={qN : qN in Domin_0(n,m) & 2 *(j+1) = min*{N: 2*Sum(qN|N) = N & N
>0 }} by A3,A15;
then
A19: ex qN st x=qN & qN in java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 31
} by A18;
A20: x in C.i by A20: x in C.i java.lang.StringIndexOutOfBoundsException: Range [14, 16) out of bounds for length 6
C.i={pN : pN in Domin_0(n,m) & 2 *(i+1) = min*{N: 2*Sum(pN|N) = N & N
>0 }} by A3,A14;
then
ex st =pN pN inDomin_0(n,)&2 *(+)=min*N:2*um(N|)=
N & N>0} by A20;
hence take ;
;
A21
prooflet ;
let k;
k indom C;
then
A26 n
thus thesis by A22;
end;
consider CardC be XFinSequence of NAT such that
A23: dom CardC = dom C and
A24: for i st i in dom CardC holds CardC.i=card (C.i) and
A25: cardy=pN pN in nm) &2*j)java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 78
take CardC;
union rng C c= W: x=N in Domin_0(n,m) (+=min*:2SumpN|=&N0by ;
proof
let beobject;
assume x in hence thesis A30java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then consider y such that
A26: x in y and
:y rng C TARSKI:ef;
consider j be object such that
A28: j in dom C and
A29: C.j=y by A27,FUNCT_1:def 3;
onsider as Nat by A28;
y={pN then
,A29;
then consider pN such that
A30: x=pN & pN set P={N:pNin Domin_0(n,)&2*j+)=min*{:2*Sum(NN=N&>0};
2*(j+1 j<len byA3,A31;
then {N : 2 * Sum(pN | N)=N & N>0} <>{} by then
nce thesis byA30;
end;
hence card W = Sum CardC & dom java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
let j such that
A31: j <then
A36 -j+=-2*j+1) byA1X:233XXREAL_02;
then
:'+1=-+ :233java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
setP{N : pN Domin_0(n,)&2*N2*um|N)N&>}};
j < len C by A3,A31;
then
A34: j in dom C bytheorem :
then
A35: C.j=P by A3;
2*(j+1)<= 2*m by A32,XREAL_1:64;
then
A36: n-'2*(j+1)=n-2*(j+1) by A1,XREAL_1:233,XXREAL_0:2;
CardC.j =card
hence thesis by A36,A33,A35,Th36;
end;
theorem Th38:
for n st n > 0 holds Domin_0(2*n,n)={pN:pN in Domin_0(2*n,n) & proof
N: 2*Sum(pN|N) = N & N > 0}<>{}}
proof
let n such that
A1: n>0;
setA4:xpand
thus Domin_0(2*n,n) c p is dominated_by_0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
proof
A2: nA6 inomega AFINSQ_1d 7;
let x be object such that
A3: x in Domin_0(2*n,n);
consider p such that
A4: x=p and
p is dominated_by_0 and
A5: dom p = 2*n & Sum p = n by A3,Def2;
A6: p in NAT^omega by AFINSQ_1:def 7;
2*Sum(p|(2*n))=2*n by A5;
then 2*n in {N: 2*Sum(p|N)=N & N>0} by A2;
hence thesis by A3,A4,A6;
end;
thus P c= Domin_0(2*n,n)
proof
let x be object;
assume x in P;
then ex pN st x=pN & pN in Domin_0(2*n,n) & {N: 2*Sum(pN|N)=N & N>0}<>{};
hence thesis;
end;
end;
theorem Th39:
for n st n > 0 thus P c= Domin_0n,)
Catalan(n+1) & dom Catal = n & for j st j < n holds Catal.j = Catalan( proof
Catalan(n-'j)
proof
let n such that
A1: n>;
consider CardF be XFinSequence of NAT such that
A2: card { end;
A3end;
A4: for j st j < n holds CardF.j=card Domin_0(2*j,j)*card Domin_0(2*n-'2
*(j+1),n-'(j+1)) by Th37;
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
Sum CardF= card Domin_0(2*n,n) by A1,A2,Th38;
hence Sum CardF atalan(n-')
let j such that
A5: j < n;
n-j > j-java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then n-'j >0 by A5,1: n>0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then reconsider nj=(n-A2 card{:pNinDomin_0(2*n,)&{:*umpN|)NN>}>}= CardF and
j+1<=n by A5,NAT_1:13;
then
A6: 2*n-'2*(j+1)=2*n- (+)by Th37;
A7: card Domin_0(2*j,j)=Catalan(j+1) takejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
n-j=n-'j by A5,XREAL_1:233;
then card Domin_0(2*n-'2*(j+1),n-'(j+1))=card Domin_0(2*nj,nj) by A6
.=A5:j <n;
hence thesis by A4,A5,A7;
end;
reconsider=n-')- as Nat NAT_1:20;
card +1<n y A5,AT_113;
{}} = card Domin_0(n,m)
proof
defpred P[object,object]
exp st$=%0%>p & $pjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
set F={pN: pN in Domin_0(n+1,m) & {N: 2*Sum(pN|N)=N & N>0}={}};
set Z=Domin_0(n,m);
st x in F objectst y in Z & P[x,y]
proof
A2: len <%0%> =1 by AFINSQ_1:33;
let x be object;
A3: Sum <%0%>=0 by AFINSQ_2:53;
assume xinF;
then consider pN such that
A4: x=pN & pN in Domin_0(n+1,m) & {N: 2*Sum(pN|N)=N & N>0}={};
pN is dominated_by_0 & dom pN=n+1 by A4,Th20;
then consider q such that
A6: pN=<%0%>^q and
A7: q is dominated_by_0 by A4,Th17;
dom pN=len <%0%>+ len q by A6,AFINSQ_1:def 3;
then
A8: n+1=len q+1 by A4,A2,Th20;
take q;
Sum pN=Sum <%0%>+Sum q by A6,AFINSQ_2:55;
then Sum q=m by A4,A3,Th20;
hence thesis by A4,A6,A7,A8,Th20;
end;
consider f being Function of F,Z such that
A9: for x being object P[objectobject]
:Z={ implies F={}
proof
assume Z={};
then 2*m > by ;
then
A11: 2*m >= n+1 by NAT_1:13;
a>}
then consider x being object such that
A12: xA2:len <0% =1 by AFINSQ_1:;
consider such that
: x= & pNin Domin_0(+,)&{N *Sum(N|)N&N>}={ ;
dom pN=n+1 by A13,Th20;
then pN|(n+1)=pN;
then
A14: Sum(4:x &pN Domin_0n1m &{N *(pN)= & 0=}java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
pN is dominated_by_0 by A13 then considerq such that
then 2*m <= n +1 by A14,Th2;
then 2*Sum(pN|(n+1)) =n+1 by A14,A11,XXREAL_0:1;
then n+1 in {N:2*Sum(pN|N)=N&N>0};
;
end;
then
A15: dom f=F by FUNCT_2:def 1;
A16 = %0>qA6A:;
proof
thus rng f c= Z;
let x be object;
consider being Z
consider p such that
A17: p = x and
A18: p is dominated_by_0 and
A19: dom p = n and
A20: Sum p = m by Def2;
set q=<%0%>^p;
A21: {N: 2*Sum(q|N)=N & N>A11:2m> +1by13
Sum q=Sum <%0%>+Sum p by AFINSQ_2:55;
then
A22: Sum q=(0 qua Nat)+m by A20,AFINSQ_2:53;
A23: q in NAT^omega consider such that
dom q=len <%0%>+len p by AFINSQ_1:def 3;A13: x=N pN in Domin_0(+1,)&{:>2Sum(pN|)= >0}{}by A12;
then
A24: dom q=1+n by A19,AFINSQ_1:33;
q is dominated_by_0 by A182:SumpN|(n+)mby A13,Th20
then q in Domin_0(n+1,m) by A24,A22,Th20;
then
A25: q in F by A21,A23;
then consider r be XFinSequence of NAT such that
A26: q=<%0%> thesisjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A27: f.q=r by A9;
r=p by A26,AFINSQ_1:28;
hence thesis by A15,A17,A25,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
letx be object;
for x,y being object st x in F & y in F & f.x = f.y holds java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 18 | | |