SSL hilb10_7.miz
Interaktion und PortierbarkeitMizar
|
|
:: Prime Representing Polynomial with 10 Unknowns -- Introduction
:: by Karol P\kak
::
:: Received September 30, 2022
:: Copyright (c) 2022-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, RELAT_1, ORDINAL4, FINSEQ_1, XBOOLE_0,
BINOP_1, FUNCT_1, FINSOP_1, SETWISEO, XXREAL_0, TARSKI, NAT_1, ARYTM_3,
FINSUB_1, SETFAM_1, FINSET_1, ZFMISC_1, CARD_1, PARTFUN1, ARYTM_1,
FUNCOP_1, FUNCT_4, FINSEQ_2, FUNCT_2, CLASSES1, PRE_POLY, FUNCT_6,
WAYBEL_4, FUNCT_5, ABIAN, AOFA_I00, NET_1,heorem Th52:
MATRIX_1, UPROOTS, HILB10_7;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, CARD_1, NUMBERS, ABIAN,
RELAT_1, XXREAL_0, XCMPLX_0, FUNCT_1, RELSET_1 for L be empty reflexive RelStr S be
SETWISEO, PARTFUN1, FUNCT_2, FINSOP_1, FINSEQ_1, FUNCT_3, BINOP_1,
FINSEQ_2, FUNCT_4, FUNCT_5, FUNCOP_1, NAT_1, CLASSES1emptyfull of for beset x dom x is
DOMAIN_1, FINSEQOP, PRE_POLY, POLNOT_1, MONOID_0, MATRIX_1, RLAFFIN3,
FINSEQ_3, ORDINAL1, MATRIX_3;
constructors WELLORD2, SETWISEO, ABIAN, FINSOP_1, FINSEQ_4, java.lang.StringIndexOutOf BoundsException: Range [0, 69) out of bounds for length 6
CLASSES1, let S be non empty fulof ;
registrations XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, ORDINAL1, FUNCOP_1,
FINSET_1, java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
RELSET_1, FUNCT_2, FINSUB_1, INT_1, PRE_POLY, NEWTON04, FLEXARY1,
MSAFREE5, PRE_CIRC, FOMODEL0, AOFA_A00, java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 29
MEMBERED, MATRIX_1, FINSEQ_3, NEWTON03;
requirements then x in Ids S by
definitions TARSKI, XBOOLE_0, FINSEQ_1, FUNCT_1;
equalities FINSEQ_1, FINSEQ_2 then the X X is by
expansions TARSKI, XBOOLE_0, FUNCT_1, FINSEQ_1;
_0 , FINSEQ_5 java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
FUNCT_1, FINSEQ_2, XXREAL_0, SUBSET_1 I Ideal stx=I;
FUNCT_2, XBOOLE_1, CARD_1, ZFMISC_1, CARD_2, SETWISEO, FINSOP_1,
FOMODEL0, BINOP_1, FUNCT_5, FUNCOP_1, SETWOP_2, PARTFUN1, FINSEQOP,
WELLORD2, RLAFFIN3, SETFAM_1, XREAL_1, ENUMSET1, RFINSEQ, CLASSES1,
FUNCT_4, POLNOT_1, STIRL2_1, FUNCT_3, FINSEQ_4, MATRIX11, MATRIX_1,
ABIAN, SRINGS_5, XTUPLE_0;
schemes XBOOLE_0, NAT_1, FRAENKEL, CLASSES1, FINSEQ_1, FUNCT_2, FUNCT_1,
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
begin :: Preliminaries
reserve i,j,n,k,
a,b,x,y,z for object,
F,G for FinSequencexisjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 25
f,g,p,q for
X,Y for set,
D for non empty set;
definition
let X be finite set;
func [#]X -> Element of Fin X equals
X;
coherence by FINSUB_1:def 5;
end;
theorem Th1:
X1X2, non empty
for F be BinOp of Y
for B1 be Element of Fin X1, B2 be Element of Fin X2 st B1=B2 &
Fis & is
for f1 be Function of X1
F$$(B1,f1) = F$$(B2L java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 49
proof
let X1,X2,Y be non empty set;
let F be BinOp of Y;
B1 of X1,B2 be FinX2 java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 64
A1: B1=B2 and
A2: (B1 <> thusdom(S= thecarrierofPbydef1
let f1 be Function of X1,Y, f2 be Function of X2,Y such that
:f1B1=|B2
consider G1 be Function of Fin X1, Y such that
A4: F. IdsSjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A5thusjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 28
A6: (for x being Element of X1 holds G1.{x} = f1end
A7: for B9 being Element of Fin X1 java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 0
B9 c= B1 & B9 <> {} for x:
holds G1.(B9 \/ {x}) = F.( L be non empty reflexive transitiveSbenon
consider G2 be Function of Fin X2, Y such that
A8: F$$(B2,f2) = G2.B2 and
A9: (for e being Element of Y st e is_a_unity_wrt F holds G2.{} = e) and
A10: (for x being Element of X2 holds G2.{x} = f2.x) and
A11: for B9 being Element of Fin X2 st
B9 c= B2 & B9 <> {} for x being Element of X2 st x in B2 \ B9 holds
G2.(B9 \/ {x}) = F.(G2.B9,f2.x) by A1,A2,SETWISEO:def 3;
defpred P[set] means $1 c= B1 implies G1.$1= G2.$1 or $1={};
A12:P[{}.X1];
A13: for B9 being (Element of Fin X1), b being Element of X1 holds
P[B9] & not b in B9 implies P[B9 \/ {b}]
proof
let B9 be Element of Fin X1;
let b be Element of X1 such that
A14: P[B9] & not b in B9;
assume
A15: B9 \/ {b} c= B1;
b in {b} by TARSKI:def 1;then
A16: b in B9 \/ {b} by XBOOLE_0:def 3;
then
A17: b in B1 by A15;
A18: f1.b = (f1|B1).b & f2.b = (f2|B2).b by A1,A16,A15,FUNCT_1:49;
A19: B2 c= X2 by FINSUB_1:def 5;
per cases;
suppose
A20: B9={};
G1.{b} = f1.b = G2.{b} by A6,A10,A3,A18,A19,A17,A1;
hence thesis by A20;
end;
suppose
A21: B9<>{};
A22: B9 c= B9 \/ {b} by XBOOLE_1:7;
then
A23: B9 c= B1 by A15;
B9 c= X2 by A19,A1,A22,A15;
then reconsider B92=B9 as Element of Fin X2 by FINSUB_1:def 5;
b in B1\B9 by A14,A16,A15,XBOOLE_0:def 5;
then G2.(B92 \/ {b}) = F.(G2.B92,f2.b) & G1.(B9 \/ {b}) = F.(G1.B9,f1.b)
by A11,A7,A1,A21,A23,A19,A17;
hence thesis by A18,A3,A23,A21,A14;
end;
end;
A24: for B being Element of Fin X1 holds P[B] from SETWISEO:sch 2(A12,A13);
per cases;
suppose
A25: B1={};
then G1.{} = the_unity_wrt F & G2.{} = the_unity_wrt F
by A5,A9,A2,SETWISEO:14;
hence thesis by A4,A8,A25,A1;
end;
suppose B1<>{};
hence thesis by A24,A1,A4,A8;
end;
end;
theorem Th2:
for D be non empty set, d1,d2 be Element of D, B be BinOp of D st
B is having_a_unity associative commutative having_an_inverseOp holds
B.((the_inverseOp_wrt B).d1,d2) =
(the_inverseOp_wrt B).(B.(d1,(the_inverseOp_wrt B).d2))
&
B.(d1,(the_inverseOp_wrt B).d2) =
(the_inverseOp_wrt B).(B.((the_inverseOp_wrt B).d1,d2))
proof
let D be non empty set, d1,d2 be Element of D, B be BinOp of D;
set I=the_inverseOp_wrt B;
assume
A1: B is having_a_unity associative commutative having_an_inverseOp; then
B.(B.(d1,I.d2), B.(I.d1,d2))
= B.(B.(I.d2,d1), B.(I.d1,d2)) by BINOP_1:def 2
.= B.(B.(B.(I.d2,d1),I.d1),d2) by A1,BINOP_1:def 3
.= B.(B.(I.d2,B.(d1,I.d1)),d2) by A1,BINOP_1:def 3
.= B.(B.(I.d2,the_unity_wrt B),d2) by A1,FINSEQOP:59
.= B.(I.d2,d2) by A1,SETWISEO:15
.= the_unity_wrt B by A1,FINSEQOP:59;
hence thesis by A1,FINSEQOP:60;
end;
theorem Th3:
for D be non empty set, A,M be BinOp of D st
A is commutative associative having_a_unity &
M is commutative & M is_distributive_wrt A &
(for d be Element of D holds M.(the_unity_wrt A,d) = the_unity_wrt A)
for X,Y be non empty finite set
for f be Function of X,D, g be Function of Y,D
for a be Element of Fin X,b be Element of Fin Y
holds
A $$ ([:a,b:],M*(f,g))=M. ( A$$(a,f),A$$(b,g))
proof
let D be non empty set, A,M be BinOp of D such that
A1: A is commutative associative having_a_unity &
M is commutative & M is_distributive_wrt A and
A2:(for d be Element of D holds M.(the_unity_wrt A,d) = the_unity_wrt A);
let X,Y be non empty finite set;
let f be Function of X,D, g be Function of Y,D;
set m=M*(f,g);
defpred P[set] means
for a be Element of Fin X,b be Element of Fin Y st a=$1 holds
A $$ ([:a,b:],m)=M. ( A$$(a,f),A$$(b,g));
A3:P[{}.X]
proof
let a be Element of Fin X, b be Element of Fin Y such that
A4: a={}.X;
[:{}.X,b:] = {}.[:X,Y:] by ZFMISC_1:90;
then
A5: A $$ ([:{}.X,b:],m)= the_unity_wrt A by A1,SETWISEO:31;
A$$({}.X,f) = the_unity_wrt A by A1,SETWISEO:31;
hence thesis by A4,A2,A5;
end;
A6:for E be (Element of Fin X), e be Element of X holds P[E] & not e in E
implies P[E \/ {e}]
proof
let E be (Element of Fin X), e be Element of X such that
A7: P[E] & not e in E;
defpred Q[set] means for B be Element of Fin Y
A $$ ([:{.e.},B:],m)=M. ( A$$({.e.},f),A$$(B,g));
A8: Q[{}.Y]
proof
let B be Element of Fin Y such that
A9: B={}.Y;
A10: [:{.e.},{}.Y:] = {}.[:X,Y:];
M. ( A$$({.e.},f),A$$(B,g)) = M. (A$$(B,g),A$$({.e.},f))
by A1,BINOP_1:def 2
.= M. ( the_unity_wrt A,A$$({.e.},f)) by A9,A1,SETWISEO:31
.= the_unity_wrt A by A2;
hence A $$ ([:{.e.},B:],M*(f,g))=M. ( A$$({.e.},f),A$$(B,g))
by A10,A9,A1,SETWISEO:31;
end;
A11: for B be (Element of Fin Y), b be Element of Y holds Q[B]
& not b in B implies Q[B \/ {b}]
proof
let B be (Element of Fin Y), b be Element of Y such that
A12: Q[B] & not b in B;
let Bb be Element of Fin Y such that
A13: Bb=B \/ {b};
A14: B misses {.b.} by A12,ZFMISC_1:50;
then
A15: [:{.e.},B:] misses [:{.e.},{.b.}:] by ZFMISC_1:104;
A16: {[e,b]} = [:{.e.},{.b.}:] by ZFMISC_1:29;
reconsider eb=[e,b] as Element of [:X,Y:];
A17: A $$([:{.e.},{.b.}:],m) = m.eb by A16,A1,SETWISEO:17
.= m.(e,b) by BINOP_1:def 1
.= M.(f.e,g.b) by FINSEQOP:81
.= M.(A$$({.e.},f),g.b) by A1,SETWISEO:17
.= M.(A$$({.e.},f),A$$({.b.},g)) by A1,SETWISEO:17;
[:{.e.},B:] \/ [:{.e.},{.b.}:] = [:{.e.},Bb:] by A13,ZFMISC_1:97;
hence A$$([:{.e.},Bb:],m)
= A.(A $$([:{.e.},B:],m),A $$([:{.e.},{.b.}:],m)) by A15,A1,SETWOP_2:4
.= A. ( M. ( A$$({.e.},f),A$$(B,g)), M.(A$$({.e.},f),A$$({.b.},g)))
by A12,A17
.= M. ( A$$({.e.},f),A.(A$$(B,g),A$$({.b.},g))) by A1,BINOP_1:11
.= M. ( A$$({java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
end;
A18: for B be (Element of Fin Y) holds Q[B] from SETWISEO:sch 2(A8,A11);
let Q be Element of Fin X,B be Element of Fin Y such that A19:Q=E \/ {e};
A20: E misses {.e.} by A7,ZFMISC_1:50;
then
A21: [:E,B:] misses [:{.e.},B:] by ZFMISC_1:104;
[:E,B:] \/ [:{.e.},B:] = [:Q,B:] by A19,ZFMISC_1:97;
hence A$$([:Q,B:], m) = A. (A $$ ([:E,B:], m),A $$ ([:{.e.},B:], m))
by A21,A1,SETWOP_2:4
.= A. (M.(A $$ (E, f),A $$ (B, g)), A $$ ([:{.e.},B:],M*(f,g))) by A7
.= A. (M.(A $$ (E, f),A $$ (B, g)), M.(A$$({.e.},f),A$$(B,g))) by A18
.= M.(A. ( A $$ (E, f),A$$({.e.},f)), A$$(B,g)) by A1,BINOP_1:11
.= M.(A $$ (Q,f), A$$(B,g)) by A19,A1,A20,SETWOP_2:4;
end;
for E be (Element of Fin X) holds P[E] from SETWISEO:sch 2(A3,A6);
hence thesis;
end;
theorem Th4:
for D be non empty set, M,A be BinOp of D, d be Element of D st
M is having_a_unity &
A is associative having_a_unity having_an_inverseOp &
M is_distributive_wrt A
holds
(n is even implies M "**" (n|-> (the_inverseOp_wrt A).d) =
M "**" (n|-> d) ) &
(n is odd implies M "**" (n|-> (the_inverseOp_wrt A).d) =
(the_inverseOp_wrt A).(M "**" (n|-> d)) )
proof
let D be non empty set, M,A be BinOp of D, d be Element of D;
set I = the_inverseOp_wrt A;
assume that
A1: M is having_a_unity and
A2: A is associative having_a_unity having_an_inverseOp and
A3: M is_distributive_wrt A;
defpred P[Nat] means
($1 is even implies M "**" ($1|-> I.d) = M "**" ($1|-> d) ) &
(not $1 is even implies M "**" ($1|-> I.d) = I.(M "**" ($1|-> d)) );
A4: P[0];
A5: P[i] implies P[i+1]
proof
assume
A6: P[i];
A7: (i+1)|-> I.d = (i|->I.d)^<*I.d*> by FINSEQ_2:60;
A8: (i+1)|-> d = (i|->d)^<*d*> by FINSEQ_2:60;
per cases;
suppose
A9: i is even;
M "**" ((i+1) |-> I.d) = M. (M"**" (i|->d), I.d)
by A6,A7,A1,A9,FINSOP_1:4
.= I. (M. (M"**" (i|->d), d)) by A2,A3,FINSEQOP:67
.= I.(M "**" ((i+1)|-> d)) by A8,A1,FINSOP_1:4;
hence thesis by A9;
end;
suppose
A10: not i is even;
M "**" ((i+1) |-> I.d) = M. (I.(M"**" (i|->d)), I.d)
by A6,A7,A1,A10,FINSOP_1:4
.= I. (M. (M"**" (i|->d), I.d)) by A2,A3,FINSEQOP:67
.= I. (I.(M. (M"**" (i|->d), d))) by A2,A3,FINSEQOP:67
.= I.(I.(M "**" ((i+1)|-> d))) by A8,A1,FINSOP_1:4
.= M "**" ((i+1)|-> d) by A2,FINSEQOP:62;
hence thesis by A10;
end;
end;
P[i] from NAT_1:sch 2(A4,A5);
hence thesis;
end;
theorem Th5:
for s be FinSequence st s"{y}<>{}
ex p be Permutation of Seg (len s) st (s*p) . (len s) = y & p = p"
proof
let s be FinSequence; assume s"{y}<>{};
then consider x be object such that
A1: x in s"{y} by XBOOLE_0:def 1;
A2: x in dom s & s.x in {y} by A1,FUNCT_1:def 7;
then
A3: s.x = y by TARSKI:def 1;
A4: dom s = Seg len s by FINSEQ_1:def 3;
reconsider x as Nat by A2;
per cases;
suppose
A5: x = len s;
reconsider I=id Seg len s as Permutation of Seg (len s);
take I;
x in dom s /\ Seg len s by A1,A4,FUNCT_1:def 7;
hence thesis by A5,A3,FUNCT_1:20,45;
end;
suppose
A6: x <> len s;
1 <= x <= len s by A2,FINSEQ_3:25;
then
A7: 1 <= len s & x < len s by A6,XXREAL_0:1,2;
then len s in dom s by FINSEQ_3:25;
then consider tr be Element of Permutations (len s) such that
A8: tr is being_transposition & tr.x = len s by A2,A4,A7,MATRIX11:16;
A9: tr.(len s) =x & len s in dom tr by A7,A8,MATRIX11:8;
reconsider tr as Permutation of Seg (len s) by MATRIX_1:def 16;
take tr;
thus thesis by A3,A9,A8,FUNCT_1:13,MATRIX11:20;
end;
end;
registration
let D be non empty set;
cluster non empty non-empty for FinSequence of D*;
existence
proof
set d=the Element of D;
take <*<*d*>*>;
thus <*<*d*>*> is non empty;
thus <*<*d*>*> is non-empty;
end;
end;
registration
let X,Y be non empty set;
cluster UNION(X,Y) -> non empty;
coherence
proof
(the Element of X)\/the Element of Y in UNION(X,Y) by SETFAM_1:def 4;
hence thesis;
end;
end;
registration
let X,Y be finite set;
cluster UNION(X,Y) -> finite;
coherence
proof
per cases;
suppose
A1: X={} or Y={};
UNION(X,Y) ={}
proof
assume UNION(X,Y)<>{};
then consider xy be object such that
A2: xy in UNION(X,Y) by XBOOLE_0:def 1;
ex x,y be set st x in X & y in Y & xy = x\/y by A2,SETFAM_1:def 4;
hence thesis by A1;
end;
hence thesis;
end;
suppose X<>{} & Y<>{};
then reconsider X,Y as non empty finite set;
deffunc F(set,set)=$1\/$2;
set XY={F(u,v) where u is Element of X, v is Element of Y:
u in X & v in Y };
A3: UNION(X,Y) c= XY
proof
let xy be object;
assume xy in UNION(X,Y);
then ex x,y be set st x in X & y in Y & xy = x\/y by SETFAM_1:def 4;
hence thesis;
end;
A4: X is finite;
A5: Y is finite;
XY is finite from FRAENKEL:sch 22(A4,A5);
hence thesis by A3;
end;
end;
end;
theorem Th6:
for X,Y be set holds UNION(bool X,bool Y)=bool(X\/Y)
proof
let X,Y be set;
thus UNION(bool X,bool Y) c= bool(X\/Y)
proof
let xy be object;
assume xy in UNION(bool X,bool Y);
then consider x,y be set such that
A1: x in bool X & y in bool Y & xy = x\/y by SETFAM_1:def 4;
x\/y c= X\/Y by A1,XBOOLE_1:13;
hence thesis by A1;
end;
let x;
reconsider A=x as set by TARSKI:1;
assume x in bool(X\/Y);
then
A2: A\X c= Y by XBOOLE_1:43;
A/\X c= X by XBOOLE_1:17;
then (A/\X)\/(A\X) in UNION(bool X,bool Y) by A2,SETFAM_1:def 4;
hence thesis;
end;
theorem Th7:
for X,Y1,Y2 be set holds UNION(X,Y1\/Y2) = UNION(X,Y1)\/UNION(X,Y2)
proof
let X,Y1,Y2 be set;
thus UNION(X,Y1\/Y2) c= UNION(X,Y1)\/UNION(X,Y2)
proof
let xy be object such that
A1: xy in UNION(X,Y1\/Y2);
consider x,y be set such that
A2: x in X & y in Y1\/Y2 & xy=x\/y by A1,SETFAM_1:def 4;
y in Y1 or y in Y2 by A2,XBOOLE_0:def 3;
then xy in UNION(X,Y1) or xy in UNION(X,Y2) by A2,SETFAM_1:def 4;
hence thesis by XBOOLE_0:def 3;
end;
let xy be object such that
A3: xy in UNION(X,Y1)\/UNION(X,Y2);
per cases by A3,XBOOLE_0:def 3;
suppose xy in UNION(X,Y1);
then consider x,y be set such that
A4: x in X & y in Y1 & xy=x\/y by SETFAM_1:def 4;
y in Y1 \/Y2 by A4,XBOOLE_0:def 3;
hence thesis by A4,SETFAM_1:def 4;
end;
suppose xy in UNION(X,Y2);
then consider x,y be set such that
A5: x in X & y in Y2 & xy=x\/y by SETFAM_1:def 4;
y in Y1 \/Y2 by A5,XBOOLE_0:def 3;
hence thesis by A5,SETFAM_1:def 4;
end;
end;
theorem Th8:
X misses union Y implies card UNION(Y,{X}) = card Y
proof
assume
A1: X misses union Y;
deffunc F(set)=$1\/X;
consider f be Function such that
A2: dom f=Y & for A be set st A in Y holds f.A = F(A) from FUNCT_1:sch 5;
A3: rng f c= UNION(Y,{X})
proof
let y be object;
assume y in rng f;
then consider x such that
A4: x in dom f & f.x =y by FUNCT_1:def 3;
java.lang.StringIndexOutOfBoundsException: Range [47, 13) out of bounds for length 47
X in {X} by TARSKI:def 1;
then F(x) in UNION(Y,{X}) by A2,A4,SETFAM_1:def 4;
hence thesis by A4,A2;
end;
UNION(Y,{X}) c= rng f
proof
let xy be object;
assume xy in UNION(Y,{X});
then consider y,x be set such that
A5: y in Y & x in {X} & xy=y\/x by SETFAM_1:def 4;
x=X by A5,TARSKI:def 1;
then f.y=xy by A5,A2;
hence thesis by A2,A5,FUNCT_1:def 3;
end;
then
A6: UNION(Y,{X}) = rng f by A3;
f is one-to-one
proof
let x,y such that
A7: x in dom f & y in dom f & f.x=f.y;
reconsider x,y as set by TARSKI:1;
A8: x misses X & y misses X by A1,A2,A7,XBOOLE_1:63,ZFMISC_1:74;
f.x=F(x) & f.y = F(y) by A7,A2;
hence thesis by A7,A8,XBOOLE_1:71;
end;
hence thesis by A2,A6,CARD_1:5,WELLORD2:def 4;
end;
theorem Th9:
m<>0 implies 2 * card bool (Seg m\{1}) = card bool (Seg (1+m)\{1})
proof
assume A1:m<>0;
set S = Seg (m)\{1},F= bool S;
{} misses union F;
then
A2: card UNION(F,{{}}) = card F by Th8;
{m+1} misses union F
proof
assume {m+1} meets union F;
then consider x such that
A3: x in {m+1} & x in union F by XBOOLE_0:3;
x=m+1 & x in S by A3,TARSKI:def 1;
then m+1 in Seg m by XBOOLE_0:def 5;
then m+1 <=m by FINSEQ_1:1;
hence thesis by NAT_1:13;
end;
then
A4: card UNION(F,{{m+1}}) = card F by Th8;
{{}}\/{{m+1}} = {{},{m+1}}=bool{m+1} by ENUMSET1:1,ZFMISC_1:24;
then
A5: UNION(F,bool{m+1})
= UNION(F,{{}}) \/ UNION(F,{{m+1}}) by Th7;
UNION(F,{{}}) misses UNION(F,{{m+1}})
proof
assume UNION(F,{{}}) meets UNION(F,{{m+1}});
then consider x such that
A6: x in UNION(F,{{}}) & x in UNION(F,{{m+1}}) by XBOOLE_0:3;
consider a,b be set such that
A7: a in F & b in {{}} & x=a\/b by A6,SETFAM_1:def 4;
consider c,d be set such that
A8: c in F & d in {{m+1}} & x=c\/d by A6,SETFAM_1:def 4;
b={} & m+1 in {m+1} =d by A7,A8,TARSKI:def 1;
then m+1 in c\/d =a by A7,A8,XBOOLE_0:def 3;
then m+1 in Seg m by A7,XBOOLE_0:def 5;
then m+1 <=m by FINSEQ_1:1;
hence thesis by NAT_1:13;
end;
then
A9: card UNION(F,bool{m+1}) = card UNION(F,{{}}) + card UNION(F,{{m+1}})
by A5,CARD_2:40;
1<>1+m by A1;
then
A10: {1+m}\{1} = {1+m} by ZFMISC_1:14;
Seg (1+m) = Seg (m) \/ {1+m} by FINSEQ_1:9;
then Seg (1+m)\{1} = S \/ {1+m} by A10,XBOOLE_1:42;
hence thesis by A2,A4,A9,Th6;
end;
begin :: Selected Operations on Set Families
definition
let X be set,a,b be object;
func Ext(X,a,b) -> set equals
{A\/{b} where A is Element of X: a in A} \/
{A where A is Element of X: not a in A & A in X};
coherence;
end;
definition
let X be set,a,b be object;
func swap(X,a,b) -> set equals
{(A\{a})\/{b:: On The Topological Properties of Meet-Continuous Lattices:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
;
theorem Th10:
not y in union Y implies
card Y = card Ext(Y,x,y)
proof
;
X X Element Y: inX};
Py={X/y where isElement of Y x };
of Y not x in X&X in }
deffuncElementof holds (x"/""x =uparrow x
considerf Functionsuch
A2: dom thus("\)"{} =uparrow java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
A3: rng f c= Py
proof
let a be object;
assume a in rng f;
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
A4: b in x/"= carrier x/"q1{ :1
set1
a = b
;
=f
proof
let a be object;
inPy
then java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
:a\{}& in;
A6 #, L|2Dn;
then f.X = a Nc of byXBOOLE_117
thesisA2A6F 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
end;
then
A7: rng f =
f isoneto-
proof
let a ]
A8: a java.lang.StringIndexOutOfBoundsException: Range [45, 10) out of bounds for length 45
,bassetby TARSKI:;
A9: f.a = a\/{y} & f.b = b\/{ thus thesis;
A10: (uniqueness;
ex X be Element of Y st b=X & x in X by A8,A2;
then Y<>{} by SUBSET_1:def 1;
then a c= union Y & b c= union Y by A10,ZFMISC_1:74;
then {y} misses a & {y} misses b by A1,ZFMISC_1:50;
hence thesis by A8,A9,XBOOLE_1:71;
end;
then
A11: P,Py are_equipotent by A2,A7,WELLORD2:def 4;
A12: P c= Y
proof
let a be object;
assume a in P;
then
A13: ex X be Element of Y st a=X & x in X;
then Y<>{} by SUBSET_1:def 1;
hence thesis by A13;
end;
A14: N c= Y
proof
let a be object;
assume a in N;
then ex X be Element of Y st a=X & not x in X & X in Y;
thesis;
end;
Y c= Th11:
proof for L being RelStr holds the RelStr of L~= the RelStr of L opp+
let a be object let beRelStrjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
assume
A15: a in Y;
then reconsider opp > emptyjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
x in a or not x in a;
;
hence thesis by XBOOLE_0:def 3;
end;
then
A16: Y = N \/P by A12,A14,XBOOLE_1:8;
A17: N misses Py
proof
assume N meets Py;
then consider a be object such that
A18: a in N/\Py by XBOOLE_0:4;
a in N by A18,XBOOLE_0:def 4;
then consider A be Element of Y such that
A19: a=A & not x in A & A in Y;
a in Py by A18,XBOOLE_0:def 4;
then ex B be Element of Y st a=B\/{y} & x in B;
hence thesis by A19,XBOOLE_0:def 3;
end;
N misses P
proof
assume N meets P;
then consider a be object such that
A20: a in N/\P by XBOOLE_0:4;
a in N by A20,XBOOLE_0:def 4;
then consider A be Element of Y such that
A21: a=A & not x in A & A in Y;
a in P by A20,XBOOLE_0:def 4;
then ex B be Element of Y st a=B & x in B;
hence thesis by A21;
end;
hence thesis by A17,A11,A16,CARD_1:5,31;
end;
theorem Th11:
not y in union Y implies
card Y = card swap(Y,x,y)
proof
assume
A1: not y in union Y;
set P ={X where X is Element of Y: x in X};
set Py = {(X\{x})\/{y} where X is Element of Y: x in X};
set N ={X where X is Element of Y: not x in X & X in Y};
set Nx ={X\/{x} where X is Element of Y: not x in X & X in Y};
deffunc F(set)=($1\{x})\/{y};
consider f be Function such that
A2: dom f=P & for A be set st A in P holds f.A = F(A)
from FUNCT_1:sch 5;
A3: rng f c= Py
proof
let a be object;
assume a in rng f;
then consider b such that
A4: b in dom f & f.b=a by FUNCT_1:def 3;
reconsider b as set by TARSKI:1;
a = (b\{x})\/{y} &ex X be Element of Y st b=X & x in X by A4,A2;
hence thesis;
end;
Py c= rng f
proof
let a be object;
assume a in Py;
then consider X be Element of Y such that
A5: a=(X\{x})\/{y} & x in X;
A6: X in P by A5;
then f.X = a by A5,A2;
hence thesis by A2,A6,FUNCT_1:def 3;
end;
then
A7: rng f = Py by A3;
f is one-to-one
proof
let a,b be object such that
A8: a in dom f & b in dom f & f.a=f.b;
reconsider a,b as set by TARSKI:1;
A9: f.a = (a\{x})\/{y} & f.b = (b\{x})\/{y} by A2,A8;
A10: (ex X be Element of Y st a=X & x in X)&
ex X be Element of Y st b=X & x in X by A8,A2;
then Y<>{} by SUBSET_1:def 1;
then a c= union Y & b c= union Y & x in a & x in b by A10,ZFMISC_1:74;
then {y} misses a & {y} misses b by A1,ZFMISC_1:50;
then {y} misses a\{x} & {java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 18
then a\{x} = b\{x} by A8,A9,XBOOLE_1:71;
then a = a\{x}\/{x} = b by A10,ZFMISC_1:116;
hence thesis;
end;
then
A11: P,Py are_equipotent by A2,A7,WELLORD2:def 4;
deffunc G(set)=$1\/{x};
consider g be Function such that
A12: dom g
A13: rng g c= Nx
proof
let be java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
assume a in rng g;
then consider b such that
: indom g& g.b=a FUNCT_1:def 3;
reconsider b as set by TARSKI:1;
a = b\/{x} &ex X be Element of Y st b=X & not x in X & X in Y by A14,A12;
hence thesis;
end;
Nx c= rng g
proof
;
assume a in Nx;
then consider X be Element of Y such that
n;
A16: X in N by A15;
then g.X = a by A15,A12;
hence A12A16,: 3java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
end;
then
A17: rng g = Nx by A13proof
g is one-to-one
proof
letthus supMapsubrelstrB c=the ofL;
A18: a in dom g & b in dom g & g.a=g.b;
reconsidera asset by TARSKI:1;
A19: g.a = a\/{x} & g.b = b\/{x} by A12,A18;
(ex X be Element of Y st a=X & notassume x carrierofL
ex X be Element of Y st b=X & not x in X & X in Y by A18,A12;
then {x} misses a & {x} misses b by ZFMISC_1:50;
hence thesis by A18,A19,XBOOLE_1:71;
end;
then
A20: N,Nx are_equipotent by A12,A17,WELLORD2:def 4;
A21: P c= Y
let a be object;
assume a in P;
then
A22: ex X be Element of Y then reconsider z as Subsetof subrelstr by:def15
then Y<>{} by SUBSET_1:def 1;
abbeElement subrelstr B;
end;
A23: N c= Y
proof
leta object
assume a in N;
then ex X be Element of Y st a=X & not x in X & X in Y;
hence thesis;
end;
Y c= N \/ P
proof
let a be object;
a in waybelow x1 A3,BOOLE_0def 4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
a Y;
then reconsider a as Element of Y;
x in a or not x in a;
then a in P or a in N by b1< by ,ELLOW_059
hence thesis by XBOOLE_0:def 3;
end;
then
A25: Y =java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A26: Nx misses Py
proof
assume Nx meets Py;
then consider a be object such that
A27: a in Nx/\Py by XBOOLE_0:4;
a in Nx by A27,XBOOLE_0:def 4;
then consider A be Element of Y such that
A28: a=A\/{x} & not x in A & A in Y;
a end;
then consider B be Element of Y such that
A29: a=(B\{x})\/{y} & x in B;
xin union YA28A29,ARSKI:ef4;
x in {x} by TARSKI:def 1;
then x in (B\{x})\/{y} by A28,A29,XBOOLE_0:def 3;
then x in (B\{x}) or x in {y} by XBOOLE_0:def 3;
hence thesis by A30,A1,TARSKI:def 1,ZFMISC_1:56;
end;
N misses P
proof
assume N meets P;
then consider a be object such that
A31: ybelow x1/ B is -closed by ;
a in N by A31,XBOOLE_0:def 4;
then consider A be Element of Y such that
: a= notxin A &A Y;
a in P by A31,XBOOLE_0:def 4;
then ex B be Element of Y st a=B & x in B;
hence,WAYBEL_0:ef 19,XBOOLE_0:def 4;
end;
hence thesis by A26,A11,A20,A25,CARD_1:5,31;
end;
theorem Th12:
swap({},x,y)={}
proof
assume swap({}, then in Ids subrelstrB WAYBEL_0:ef 23;
then consider a be object such that
A1: a in swap({},x,y) by XBOOLE_0:def 1;
per cases by A1,XBOOLE_0:def 3;
suppose a in {(A\{x})\/{y} where A is Element of {}: x in A};
then ex A be Element of {} st a =(A\{x})\/{y} & x in A;
hence thesis by SUBSET_1:def 1;
end;
suppose a in {A\/{x} where A is Element of {}: not x in A & A in {}};
then ex A be Element of {} st a =A\/{x} & not x in A & A in {};
hence thesis;
end;
end;
theorem Th13:
swap(X\/Y,x,y)=swap(X,x,y)\/swap(Y,x,y)
proof
thus swap(X\/Y,x,y) c= swap(X,x,y)\/swap(Y,x,y)
proof
let a be object;
assume a in swap(X\/Y,x,y);
then per cases by XBOOLE_0:def 3;
suppose a in {(A\{x})\/{y} where A is Element of X\/Y: x in A};
then consider A be Element of X\/Y such that
A1: a =(A\{x})\/{y} & x in A;
X\/Y <>{} by A1,SUBSET_1:def 1;
then A in X or A in Y by XBOOLE_0:def 3;
then a in {(A\{x})\/{y} where A is Element of X: x in A} or
a in {(A\{x})\/{y} where A is Element of Y: x in A} by A1;
then a in swap(X,x,y) or a in swap(Y,x,y) by XBOOLE_0:def 3;
hence thesis by XBOOLE_0:def 3;
end;
suppose a in {A\/{x} where A is Element of X\/Y :
not x in A & A in X\/Y};
then consider A be Element of X\/Y such that
A2: a =A\/{x} & not x in A & A in X\/Y;
A in X or A in Y by A2,XBOOLE_0:def 3;
then a in {A\/{x} where A is Element of X: not x in A & A in X} or
in {\/x where Ais of Y:notx in A &Ain} by A2;
then a in swap(X,x,y) or a in swap(Y,x,y) by XBOOLE_0:def 3;
hence thesis by XBOOLE_0:def 3java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
end;
A3: swap(X,x,y) c= swap(X\/Y,x,y)
proof
let a be object;
assume a in swap(X,x,y);
OOLE_0def 3;
suppose a in {(A\{x})\/{y} where A is Element of X: x in A};
er A Element of X that
A4: a =(A\{x})\/{y} & x in A;
X<>{} by A4,SUBSET_1:def 1;
then A in X\/Y by XBOOLE_0:def 3;
then a in {(A\{x})\/{y} where A is Element of X\/Y: x in A} by A4;
hence thesis by XBOOLE_0:def 3;
end;
suppose a in {A\/{x} where A is Element of X : not x in A & A in X};
then consider A be Element of X such that
A5: a =A\/{x} & not x in A & A in X;
A in X\/Y by A5,XBOOLE_0:def 3;
then a in {A\/{x} where A is Element of X\/Y: not x in A & A in X\/Y}
by A5;
hence thesis by XBOOLE_0:def 3;
end;
end;
swap(Y,x,y) c= swap(X\/Y,x,y)
proof
let a be object;
assume a in swap(Y,x,y);
then per cases by XBOOLE_0:def 3;
suppose a in {(A\{x})\/{y} where A is Element of Y: x in A};
then consider A be Element of Y such that
A6: a =(A\{x})\/{y} & x in A;
Y<>{} by A6,SUBSET_1:def 1;
then A in X\/Y by XBOOLE_0:def 3;
then a in {(A\{x})\/{y} where A is Element of X\/Y: x in A} by A6;
hence thesis by XBOOLE_0:def 3;
end;
suppose a in {A\/{x} where A is Element of Y : not x in A & A in Y};
then consider A be Element of Y such that
A7: a =A\/{x} & not x in A & A in Y;
A in X\/Y by A7,XBOOLE_0:def 3;
then a in {A\/{x} where A is Element of X\/Y: not x in A & A in X\/Y}
by A7;
hence thesis by XBOOLE_0:def 3;
end;
end;
hence thesis by A3,XBOOLE_1:8;
end;
theorem Th14:
Y in swap(X,x,y) & x<>y & not y in union X implies (x in Y iff not y in Y)
proof
assume
A1: Y in swap(X,x,y) & x<>y & not y in union X;
then per cases by XBOOLE_0:def 3;
suppose Y in {(A\{x})\/{y} where A is lement of X: xin };
then consider A be Element of
:Y=(\x)\{}&x in A;
hereby assume x in Y;
then x in A\{x} by A2,A1,ZFMISC_1:136;
hence not y in Y by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5
;
thesisby A2,FMISC_1136;
end;
suppose Y in {A\/{x} where A is Element of X : not x in A & A in X};
hat
3: Y A/x in A ;
not yA1 a uparrow y and
hence a of L A1
;
theorem
({xy)=}
proof
assume(}xy<{;
theny< ;
1:a inExt{,,y by XBOOLE_0:ef1;
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
then exA Element of { st a =A\{y}&x A;
SET_1: 1;
end;
A & A in {};
then ex A be Element of {} st a =A & thus (x"\){x}c uparrowjava.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
hence thesis;
end;
end;
theorem Th16:
Ext(X\/Y,x,y)=Ext(X,x,y)\/Ext(Y,x,y)
proof
thus Ext(X\/Y,x,y) c= Ext(X,x,y)\/Ext(Y,x,y)
proof
let a be object;
assume a in Ext(X\/Y,x,y);
then per cases by XBOOLE_0:def 3;
suppose a in {A\/{y} where A is Element of X\/Y: x in A};
then consider A be Element of X\/Y such that
A1: a =A\/{y} & x in A;
X\/Y <>{} by A1,SUBSET_1:def 1;
then A in X or A in Y by XBOOLE_0:def 3;
then a in {A\/{y} where A is Element of X: x in A} or
a in {A\/{y} where A is Element of Y: x in A} by A1;
then a in Ext(X,x,y) or a in Ext(Y,x,y) by XBOOLE_0:def 3;
hence thesis by XBOOLE_0:def 3;
end;
suppose a in {A where A is Element of X\/Y : not x in A & A in X\/Y};
then consider A be Element of X\/Y such that
A2: a =A & not x in A & A in X\/Y;
A in X or A in Y by A2,XBOOLE_0:def 3;
then a in {A where A is Element of X: not x in A & A in X} or
a in {A where A is Element of Y: not x in A & A in Y} by A2;
then a in Ext(X,x,y) or a in Ext(Y,x,y) by XBOOLE_0:def 3;
hence thesis by XBOOLE_0:def 3;
end;
end;
A3: Ext(X,x,y) c= Ext(X\/Y,x,y)
proof
let a be object;
assume a in Ext(X,x,y);
then per cases by XBOOLE_0:def 3;
suppose a in {A\/{y} where A is Element of X: x in A};
then consider A be Element of X such that
A4: a =A\/{y} & x in A;
X<>{} by A4,SUBSET_1:def 1;
then A in X\/Y by XBOOLE_0:def 3;
then a in {A\/{y} where A is Element of X\/Y: x in A} by A4;
XBOOLE_0 3;
end;
suppose a in {A where A is Element of X : not x in Aend;
then consider A be Element of X such that
A5: a =A & not x in A & A in X;
A inLm4 for L be continuous lower-ounded LATTICE holds L is algebraic implies
then a in {A where A is Element of X\/Y: not x inthe carrier of CompactSublatt L is with_bottom CLbasis of L & for B be
hence thesis by XBOOLE_0:def 3;
end;
with_bottom CLbasis of Lholds the carrier of CompactSublatt L c= B
Ext(Y,x,y) c= Ext(X\/Y,x,y)
proof
let a be object;
assume a in Ext(Y,x
then per cases by XBOOLE_0:def 3;
suppose a in {A\/{y} where A is Element of Y: x in A};
then consider A be Element of Y such that
A6: a =A\/{y} & x in A;
Y<>{} by A6,SUBSET_1:def 1;
then A in X\/Y by XBOOLE_0:def 3;
then a in {A\/{y} where A is Element of X\/Y: x A}by A6;
;
end;
suppose a be ;
then beElementofYsuch
Ain \java.lang.StringIndexOutOfBoundsException: Range [12, 15) out of bounds for length 12
then {whereA ofX\:not in Ain \} ;
hence ;
end;
end;
thesis by ,XBOOLE_1:;
end;
theorem Th17:
Y in Ext(X,x,y) & not y in union X implies (x in Y iff y in Y)
proof
assume that
A1: Y in Ext(X,x,y) and
A2: not y in union X;
per cases by A1,XBOOLE_0:def 3;
suppose Y in {A\/{y} where A is Element of X: x in A};
then ex A be Element of X st Y =A\/{y} & x in A;
hence thesis by ZFMISC_1:136;
end;
suppose Y in {A where A is Element of X : not x in A & A in X};
then ex A be Element of X st
Y=A & not x in A & A in X;
hence thesis by A2,TARSKI:def 4;
end;
end;
registration
let X be finite set,a,b be object;
cluster swap(X,a,b)->finite;
coherence
proof
A1: X is finite;
deffunc F(set)=($1 \{a})\/{b};
deffunc G(set)=$1 \/{a};
set FF={ F(w) where w is Element of X: w in X },
GG={ G(w) where w is Element of X: w in X };
A2: swap(X,a,b) c= FF\/GG
proof
let y be object;
assume y in swap(X,a,b);
then per cases by XBOOLE_0:def 3;
suppose y in {(A\{a})\/{b} where A is Element of X: a in A};
then
A3: ex A be Element of X st y = (A\{a})\/{b} & a in A;
then X<>{} by SUBSET_1:def 1;
then y in FF by A3;
hence thesis by XBOOLE_0:def 3;
end;
suppose y in {A\/{a} where A is Element of X: not a in A & A in X};
then
A4: ex A be Element of X st y=A\/{a} & not a in A & A in X;
y in GG by A4;
hence thesis by XBOOLE_0:def 3;
end;
end;
A5: FF is finite from FRAENKEL:sch 21(A1);
GG is finite from FRAENKEL:sch 21(A1);
hence thesis by A5,A2;
end;
cluster Ext(X,a,b)->finite;
coherence
proof
A6: X is finite;
deffunc F(set)=$1\/{b};
deffunc G(set)=$1;
set FF={ F(w) where w is Element of X: w in X },
GG={ G(w) where w is Element of X: w in X };
A7: Ext(X,a,b) c= FF\/GG
proof
let y be object;
assume y in Ext(X,a,b);
then per cases by XBOOLE_0:def 3;
suppose y in {A\/{b} where A is Element of X: a in A};
then
A8: ex A be Element of X st y = A\/{b} & a in A;
then X<>{} by SUBSET_1:def 1;
then y A4:m < z by YELLOW_6:ef 3;
hence thesis by XBOOLE_0:def 3;
end;
suppose y in {A where A is Element of X: not a in A & A in X};
thenlet be ofAsuchthat
A9: ex A be Element by A1
yin GG by A9;
hence thesis by XBOOLE_0:def 3;
end;
end;
A10:FF finitefrom : 21(6;
GG is finite from FRAENKEL:sch 21(A6);
hence thesis by A10,A7;
end;
end;
definition
let f be Function,a,b be object;
func Swap(f,a,
dom it =dom f &
for x st x in dom f holds
( a in f.x implies R is closed by A2,A3;
( a in f.x implies it. =(f.x\/{a})java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
existence
proof
defpred P[object,object] means
(a in f.$1 implies $2 = ((f.$1)\{a} )\/{b}) &
(not a in f.$1 implies $2 = (f.$1)\/{a});
A1: for e being object st e in dom f exdefinition
proof
let e be object;
.e ( ain.)
hence thesis;
end;
consider s be Function such that
:doms =dom & for e being objectste in dom f P,s.]
from CLASSES1:sch coherence;
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 4
thus thesis by A2;
end;
uniqueness
proof
S1,2be Function such that
A3: dom cluster TopRelStr #{, R,T) - 1-element;
for x st x in dom f holds
( a in f.x implies S1.x = ((f.x)\{a} )\/{b}) &
(not a in f.x implies S1.x = (f.x)\/{a} ) and
A4: dom S2 = dom f &
for x st x in dom f holds
( a in f.x implies S2.x = ((f.x)\{a} )\/{b}) &
(not a in f.x implies S2.x = (f.x)\/{a} );
for x st x in dom S1 holds S1.x = S2.x
proof
let x such that
A5: x in dom S1;
per cases;
suppose a in f.x;
then S1.x = ((f.x)\{a} )\/{b}=S2.x by A3,A4,A5;
hence thesis;
end;
suppose not a in f.x;
then S1.x = (f.x)\/{a}=S2.x by A3,A4,A5;
hence thesis;
end;
end;
hence thesis by A3,A4;
end;
end;
definition
let f be Function,a,b be object;
funcExt(,,b)- means::
dom it = dom f &
for x st x in dom f
( a in f.x java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 11
in.ximplies it. = (.));
existence
defpred P[object, then
( in f.1 implies $ f.$)/b )&
(not a in f.$1 implies $2 = f.$1);
A1: for e being object st e in dom f ex u InternalRel of is_transitive_in carrier by A1,RELAT_2def,def 16;
let e be objectendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.e);
hence thesis;
end
consider s be Function such that
A2: dom s = dom f &
for e being object st e in dom f holdslet be - of 0,r be Relationof{}such that
take s;
thus thesis by A2;
end;
uniqueness
proof
let S1,S2 be Function such that
A3: dom S1 = dom f &
for x st x in dom f holds
( a in f.x implies S1.x = (f.x)\/{b} ) &
(not a in f.x implies S1.x = (f.x) )
and
A4: dom S2 = dom f &
for x st in dom holds
( a in f.x implies Tis by TDLAT_3:ef
(not a in f.x implies java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 4
for x st x in reflexive strict 1element TopRelStrjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
proof
let x such that
A5: x in dom S1;
per cases;
suppose a in f.x;
then S1.x = (f.x)\/{b}=S2.x by A3,A4,A5;
hence thesis;
end;
suppose not a in f.x;
then S1. = fx =2xby ,A4,A5;
hencethesis;
end;
end;
hence thesis by A3,A4 the InternalRel ofN =(InternalRel N|2the carrierof |i Def7
;
end;
registration
let f FinSequence,a,b be object;
(,,)- (f-like
coherence
proof
A1: domhencethesisby YELLOW_6def7java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then reconsider S = Swap(f,a,b) as FinSequence by FINSEQ_1:def 2;
lenS =len f by A1,FINSEQ_3:29;
hence thesisby :def 7java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;
cluster Ext(f,a,b) -> (len java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 11
coherence
proof
,FINSEQ_1:def 3;
then reconsider E = Ext(f,a,b) as FinSequence by FINSEQ_1:def 2;
len proof
thesis by CARD_1:ef;
end;
end;
theorem Th18:
for f,g be FinSequence holds
Swap(f^g,a,b) = Swap(f,a,b)^Swap(g,a,b)
proof
let f,g be FinSequence;
set Sf=Swap(f,a,b),Sg=Swap(g,a,b),Sfg=Swap(f^g,a,b);
A1: len Sf = len f & len Sg=len g & len Sfg = len (f^g) by CARD_1:def 7;
A2: len (Sf^Sg) = len Sf + len Sg & len (f^g)=len f+len g by FINSEQ_1:22;
for k st 1 <= k & k <= len Sfg holds Sfg.k = (Sf^Sg).k
proof
let k such that
A3: 1 <= k & k <= len Sfg;
A4: k in dom (f^g) by A3,A1,FINSEQ_3:25; then
per cases by FINSEQ_1:25;
suppose
A5: k in dom f;
then
A6: f.k = (f^g).k by FINSEQ_1:def 7;
A7: dom f c= dom (f^g) by FINSEQ_1: let Lbe nonempty RelStr, non NetStr , bebeElement ;
k in dom Sf by A5,Def4;
then
A8: (Sf^Sg).k = Sf.k by FINSEQ_1:def 7;
per cases;
suppose
A9: f.;
hence(S)k ((.){} / b byA8,A5,ef4
.= Sfg.k by A6,A9,A7,A5,Def4;
end;
supposeproof
A10: not a in f.k;
hence (Sf^Sg).k = (f.k) \/ {a} by A8,A5,Def4
.= Sfg.k by A6,A10,A7,A5,Def4;
end;
end;
supposeex stn dom g&k = lenf+java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
then consider n such that
A11: n in dom g & k = len f+n;
A12: g.n = (f^g).k
n in dom Sg by A11,Def4;
then
A13. mapping x/"N byA3,:63java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
per cases;
suppose
A14: atheorem
Sf).k =(gn){} \ b byA13,11,
.=Sfg.k A12,A4,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
suppose
A15: not athat
hence (Sf^Sg).k = (g.n) \/ {a} by A13,A11,Def4A1:the TopStructof T
.= Sfg.k by A12,A15,A4 let beSubset of suchthat
end;
end;
end;
hence thesis by A2,A1;
end;
theorem Th19:
ST TopStruct forFbeingSubset- S,G being
Extf^,ab = Ext(f,b^Extga,)
proof
let f,g be FinSequence;
set Ef=Ext(f,a,b),Eg=Ext(g,a,b),Efg=Ext(f^g,a,b);
A1: len Ef = len f & len Eg=len A1:the TopStruct ofS=the TopStruct of T
A2: len (Ef^Eg) = len Ef + len Eg & len letP T such
for k st 1 <= k reconsider as of S byA1
proof
let k such that
A3: 1 <= k & k <= len Efg;
A4: k in dom (f^g) java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
Relation the carrier)topology - -Familyof carrier#;
suppose
A5: registration
then
A6: f.k = (f^g).k by FINSEQ_1:def 7;
A7: dom f c= dom (f^g) by FINSEQ_1:26;
k in end
then
A8: (Ef^Eg).k = Ef x beset be Relation of {};
per cases;
suppose
A9: a in f.
hence (Ef^Eg).k = (f.k)\/ {b} by A8, i0 [] java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
.= Efg.k by A6,A9,A7,A5,Def5;
end;
suppose
A10: not a in f.k;
hence (Ef^Eg).k = f.k by A8,A5,Def5
. ;
end;
end;
suppose ex n st n in dom g & k = len f+n;
then consider n such that
: n g &=len +njava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A12: g.n = Y in dom by ,UNCT_2def ;
n in dom Eg byA11,Def5;
then
then
A26: N in hby A24
suppose
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 19
hence (Ef^Eg).k = (g.n) \/ {b} by end
.= .k A12,A14,A4,Def5;
end;
suppose
5 notain .n;
hence (Ef^Eg).k = (g.n) by A13,A11,Def5
.= Efg.k by A12,A15,A4,Def5;
end;
end;
end;
hence thesis by A2,A1;
theorem Th20:
for f be FunctionA28:F. FUNCT_1:ef 3;
b in reconsider as Element ofby ;
proof
let f be Function such that
A1 j is Element of N : a <j}&F = Cl X by A2;
reconsider 0 asSubset-Family of 0;
proof
assume
A2: b in Ext(f,x,y).a;
then a in dom Ext(f,x,y) by FUNCT_1:def 2;
then
A3:a in f byDef5;
per cases;
suppose x as reflexive discrete finite 1-element TopRelStr by Lm4;
then reconsider A as TopLattice;
hence thesis by A2,A1,ZFMISC_1:136 thus A strict finite;
thusA
fa;
thesis A2,A3,ef5;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
assume
A4: b
then
A5: a in dom f by FUNCT_1:def 2;
per cases;
suppose x in f.a;
then Ext(f,x,y).a = (f.a)\/{y} by for being emptyTopSpace,p Tfor A being
hence thesis by A4,XBOOLE_0:def 3;
end;
suppose not x java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence thesis by A4,A5,Def5;
end;
end;
theorem Th21:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
b Swap(f,x,y). iff b in.
proof
let f be Function such that
A1: b<>x & b <> y;
thus T nonemptyTopSpace, bebePoint ofT, Bbe of
proof
assume
b in (xy).
a Swapx,)byFUNCT_1:def2;
:ain fbyDef4;
perA3 =B
suppose f.;
then Swap(f,x,y). p A/\ \Xis by ,A3,,:4
then b in ((f.a)\{x} ) by A2,A1,ZFMISC_1:136;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 7
end;
suppose not x in .a;
then Swap(f,x,y).a = (f.a)\/{x} by A3,Def4;
hence thesis by A2,A1,ZFMISC_1:136;
end;
end;
assume
fa;
then
A5: a indomfby :def 2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
b in(a\x by A4,A1,ZFMISC_1:56;
then
A6: b in ((f.a)\{x} )\/{y} by XBOOLE_0:def 3
per cases;
suppose x in f.a;
hence thesis by rffTopLattice,N being convergent T
;
suppose not x in f.a;
then Swap(f,x,y).a = (f.a)\/{x} by A5,Def4;
let T be Hausdorff TopLattice,N be convergent net of T, xbeElement ofT
end;
end;
theorem Th22:
x<y & not y inunion X¬ y inunion Y implies
Ext(X,x,y) misses x "\ lim N (x/\").(limN byWAYBEL_1:ef 18;
proof
assume
A1: x<>y Th18;
assumeExt(,,y swap(,,);
then consider a be object such that
A2: a Sbeing Hausdorff TopLattice xbeing Element of S st for a
reconsider a as set by TARSKI Element of Sholds /"is continuous holds xis closed
x in a iff not y in byA2,A1,;
hence thesis by A2,A1,Th17;
end;
theorem Th23:
for f,g A5: waybelow "\"x1L /\ c= waybelow \"y1L / Bby XBOOLE_1:26;
proof
f, Function; =Swapfx,)=Swapf*,,y)
A1: dom S = dom f & dom Sg = dom (f*g) by Def4;
A2: dom (S*g) c= dom (f* x = "\/(,L) /B A1,Th70;
proof
let a be object;
assume a in dom (S*g);
then a in dom g & g.a in dom S by FUNCT_1:11;
hence thesis by A1,FUNCT_1:11;
end;
dom (f*g) c= dom (S*g)
proof
let a be object;assume a in dom (f*g);
then a in dom g & g.a in dom f by FUNCT_1:11;
hence thesis by A1,FUNCT_1:11;
end;
then
A3: dom Sg = dom (S*g) by A2,Def4proof
for a st a in dom Sg holds Sg.a = (S*g).a
proof
let a such that
A4: a in dom Sg;
A5: a in dom (f*g) by A4,Def4;
then
java.lang.StringIndexOutOfBoundsException: Range [34, 2) out of bounds for length 38
A7: (S*g).a = S.(g.a) & g.a in dom S by A4,A3,FUNCT_1:11,12;
per cases;
suppose
A8 x in (f*g).;
then Sg.a = (((f*g).a)\{x})\/{y} by A5,Def4;
hence thesis by A6,A7,A8,A1,Def4;
end;
suppose
A9: not x in (f*g).a;
then Sg.a = dom B=the of :def;
hence thesis by A9,A6,A7,A1,Def4;
end;
end;
hence thesis by A3;
end;
theoremTh24:
for f be Function holds Swap(fthen
proof
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
thus (x,)X= Swap(xy)*(d
.=Swap(f*(id then
.=A1 x/" continuous
end;
for f,g be Function holds Ext( then theorem java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
proofIdsBL def8java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
let f,g be Function;set E=Ext(f,x,y),Eg=Ext(f reconsider H1 H asnon empty set byA5;
A1: dom E = dom f & dom Eg = dom (f*g) by Def5;
A2: dom (E*g) c= dom (f*g)
proof
let a be objectthen consider x being object such that
assume a in domA8 xindom and
then a in dom g & g.a in dom E by FUNCT_1:11;
hence consider X of T abeing ofN such java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
end;
dom (f*g) c= dom (E*g)
a in J by ;
let a be object;
assume a in dom (f*g);
then a in dom g & g.a in dom f by FUNCT_1:11;
hence let e Elementof;
end;
then considerxbeing object
xin and
forast a indom holds Eg. (E*g).a
reconsideras ofNbyA11;
let a considerX ,a Element of N suchthat
A4: a in dom Eg;
A14: X={.j Element N: <j
a=f.g.)byFUNCT_112
A7: (E*g).a then reconsidera asElement J;
per cases;
A8: x in husi =u by A13java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then Eg.a = ((f*g).a)\/{y} by A5,Def5;
hence thus thesis;
end;
A9: not ElementofH1 [eQe fromFUNCT_2:ch 3(10)
Eg. =f*).a by Djava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
hence thesis by A9assumeq Q
end;end;
hence thesis by A3;
end;
theorem Th26:
for f be Function holds Ext(f,x,y)|X = Ext(f|X,x,y)
proof
let x &h ={. j is Element of N :i = =Cl byA16;
thus Ext(f,x,y)|X = Ext(f,x,y)*(id X) by RELAT_1:65
.=Ext(f*(id X),x,y) by Th25
=fXx,)by :65;
end;
registration
let X be finite set;
cluster -> card X -element X-valued for Enumeration of X;
coherence
proof
let E be Enumeration of X;
A1: rng E=X by RLAFFIN3:def 1;
Seg len E = dom E by FINSEQ_1:def 3 nf.by A27,FUNCT_2:5
then len E = card dom E;
hence thesis by A1,CARD_1:70,def 7,RELAT_1:def 19;
end;
end;
theorem Th27:
for F be reconsider mO Elementof byA2
for E be Enumeration of F st not y let p beElementof M
Swap(E,x,y) is Enumeration of swap(F,x,y)
proof
let F be finiteA28;
let E be Enumeration of F such then
set S=Swap(E,x,y);
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
A3: rng Mbeingofsuchthat
A4A:c LimM A1,;
proof
let a be object;
assume in rng S;
then c forElement N Element stfor pbeing Mst
A5: c in dom S & S.c = a by FUNCT_1:def 3;
A5A2FUNCT_1def 3
cases
suppose
A7: x in E.c;
then S.c = ((E.cA5 Rc=Cl byby java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 9
then S.c in {(A\{x then inCl A then the of in;
hence thesis by A5,XBOOLE_0:def 3;
end;
java.lang.StringIndexOutOfBoundsException: Range [37, 11) out of bounds for length 11
A8: not x in E.c;
then S.c = ((E.c)\/{x}) by A5,A2holds >_ N
then S.c in {A\/{x} where A is Element of be Hausdorff TopLattice net S,c be ofS d be
by A8,A6;
hence thesis by A5,XBOOLE_0:def 3;
end;
end;
swap(F,x,A4:cis_a_cluster_point_of
proof
let a be object;
assume a in swap(F,x,y);
per byXBOOLE_0: 3;
suppose a in {(A\{x})\/{y} where A is Element of FA5:iJ dom mapping of and
then consider A be Element of F such that
A9: a = (A\{x})\/{y} & x in A;
F<>{} by A9,SUBSET_1:def 1;then
consider b be object such that
A10: b in dom E & E.b = AA7:Cl (parrow i1 uparrowN PRE_TOPC:22;
.b =(b\x}/y byDef4,A9,A10java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
hence thesis by A9,A10,A2,FUNCT_1:def 3;
end;
suppose a in {A\/{x} where A is Element of F: not x in A & A in F};
then consider A be Element of F such that
A11: a = A\/{x} & not x in A & A in F;
consider b be object such that
A12: b in dom E & E.b = A by A11,A3,FUNCT_1:def 3;
S.b = (E.b)\/{x} by Def4,A11,A12;
hence thesis by A11,A12,A2,FUNCT_1:def 3;
end;
end;
then
A13: swap(F,x,y) = rng S by A4;
A14: card swap(F,x,y) = card F by then [q,O S9;
then S9 nonemptyset;
then S is one-to-set n =the mapping of N
hence P[et,set ex , being of N st s1 =$`&s2 =2
end;
theorem Th28:
F finite
for Enumerationof st y F
Ext(E,x,y) is Enumeration of Ext(FA3 fora b being Element holdsa < b iff Pa,]from :
proof
let Fbe set
let E be Enumeration of F such that
A1: not y in union F;
set S=Ext(E,x,y);
A2: dom S = dom E = Seg len E by Def5,FINSEQ_1: let a be Element of L;
A3: rng E=F by RLAFFIN3:def ain by A2;
A4: rng S c= Ext(F,x,y)
proof
let a be object;
assume a in rng S;
then consider c be object such that
A5: c in dom S & S.c = a by FUNCT_1:def 3;
A6: E.c in rng E by A5,A2,FUNCT_1:def 3;
per cases;
suppose
A7: x in E.c;
then S.c = (E.c)\/{y} by A5,A2,Def5;
then S.c in {A\/{y} where A is Element of F: x in A} by A7,A6;
hence thesis by A5,XBOOLE_0:def 3;
end;
suppose
java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
then Elementof Msuch that
then S.c in {A where A is Element of F: not x in A & A in F}A33: j <= s9
hence thesis by A5,XBOOLE_0:def 3;
end;
end;
Ext(F,x,y) c= rng
proof
let a be object;
a (,x,y;
then per cases by XBOOLE_0:def 3;
suppose a in {A\/{y} where A is Element of F: x in A};
consider A beElement F such that
A9: a = such
F<>A35:s9 [s,]
then consider b be objectA36: ss OO
A10A37: `2= V& 2=OO by A35;
S.b = (E.b)\/{y} by Def5,A9,A10;
thesis by A9,A10,A2,UNCT_1:def 3;
end;
suppose a in { .N.ss A35;
then consider A be Element of F such that
A11: a = A & not :6;
consider by WAYBEL_08;
end;
S.b = hence thesis by : 15;
hence thesis by A11,A12,
end;
end;
then
A13: Ext(F,x,y) = rng S byofLst beingPoint of c is_a_cluster_point_of N & d
A14: card Ext(F
card F = len E =len S by CARD_1:def 7;
then S is one-to-one by A13,A14,FINSEQ_4:62;
hence thesis by A13,RLAFFIN3:def 1;
end;
theorem Th29:
x in X implies Ext({X},x,y) = { X\/{y} }
proof
assume
:x X;
thus Ext({X},x,y) c= { X\/{y} }
proof
let y = Nx byA10
Ext(X}x,y)
then per cases by XBOOLE_0:def 3;
suppose a in {A\/{y} b is closedby,;
then consider A be Element of {X} such that
A2: a=A\/{ then
{b} ""[] {b"\ whereis :y [] {
hence thesis by A2,TARSKI:def 1;
end;
suppose a in {A where then ybeing stc /"y yin[]S;
then A beElement of {X} st a=A & not x in A & A in {X};
hence thesis by A1,TARSKI:def 1;
end;
end;
forS being compact Hausdorff TopLattice, c being Point of S for
a {X/{ };
then a=X\/{y} cis_a_cluster_point_ofN c N
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence thesis by XBOOLE_0:def 3;
end;
Th30
not x in X implies Ext({X},x,y) = { X }
proof
assume =as ofS
thus Ext({X},x,y) c= { c9 is_>=_than rng the maof N &for b Elementof st rngthe
proof
object
assume a in Ext({X},x,y);
then per cases by XBOOLE_0:def 3;
= sup N by : 5java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then ex A be Element of {X} st a=A\/{y} & Lm7 for S being compact Hausdorff TopLattice, N being net of S for c being
hence thesis by A1,TARSKI:def 1;
end
suppose a in {A where A is Element of {X}: not x in A & A in {"/\" is continuous)&Niseventually-filtered & cis_a_cluster_point_of N
then ex A be dis_<_han the mappingof java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
hencethesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
end;
let a be object;
assume a in { X };
then a=X & X in {X} by TARSKI:def 1;
then a in {A where A is Element of {X}: not x in A & A in {X}} by A1;
hence thesis by XBOOLE_0:def 3;
end;
theorem Th31:
x in X implies swap({X},x,y) = { (X\{x}) \/{y} }
proof
assume
A1: x in X;
thus swap({X},x,y) c= { X\{x} \/{y} }
proof
let a be object;
assume a in swap({X},x,y);
then per cases by XBOOLE_0:def 3;
suppose a in {(A\{x}) \/{y} where A is Element of {X}: x in A};
then consider A be Element of {X} such that
A2: a= A\{x} \/{y} & x in A;
A=X by TARSKI:def 1;
hence thesis by A2,TARSKI:def 1;
end;
suppose a in {A\/{x}
where A is Element of {X}: not x in A & A in {X}};
then ex A be Element of {X} st
a=A\/{x} & not x in A & A in {X};
hence thesis by A1,TARSKI:def 1;
end;
end; Nj2 inO
let a be object;
assume a in { (X\{x}) \/{y} };
then a=(X\{x}) \/{y} & X in {X} by TARSKI:def 1;
then a in {(A\{x}) \/{y} where A is Element of {X}: x in A} by A1;
hence thesis by XBOOLE_0:def 3;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th32:
not x in X implies swap({X},x,y) = { X\/{x} }
proof
assume
A1: not x in X;
thus swap({X},x,y) c= { X\/{x} }
proof
let a be object;
assume a in swap({X},x,y);
then per cases A2:Ais closed and
suppose a in {(A\{x}) \/{y} where A is Element of {X}: x in A};
then ex A be Element of {X} st a=(A\{x}) \/{y} & x in A;
hence thesis by A1,TARSKI:def 1;
end;
suppose a in {A\/{x} where A is Element of {X}:
not x in A & A in {X}};
then consider A be Element of {X} such that
A2: a=A\/{x} & not x in A & A in {X};
A=X by TARSKI:def 1;
hence thesis by A2,TARSKI:def 1;
end;
end;
let a be object;
assume a in { X\/{x} };
then a=X\/{x} & X in {X} by TARSKI:def 1;
then a in {A\/{x} where A is Element of {X}: not x in A & A in {X}} by A1;
hencethesis by :def3;
end;
registration
let X be non empty set;
let a,b be object;
cluster Ext(X,a,b) -> non empty;
coherence
proof
set T=the Element of X;
per cases;
suppose a in T;
then T\/{b} in {A\/{b} where A is Element of X: a in A};
hence thesis;
end;
suppose not a in T;
then T in {A where A is Element of X: not a in A & A in X};
hence thesis;
end;
end;
cluster swap(X,a,b) -> non empty;
coherence
proof
set T=the Element of X;
per cases;
suppose a in T;
then T\{a}\/{b} in {A\{a}\/{b} where A is Element of X: a in A};
hence thesis;
end;
suppose not a in T;
then T\/{a} in {A\/{a} where A is Element of X: not a in A & A in X};
hence thesis;
end;
end;
end;
theorem Th33:
not y in union X & not y in union Y implies
(X misses Y iff Ext(X,xA6 carrier of the mapping NFUNCT_2def1
proof
assume
A1: not y in union X & not y in then N.i > bby A4
thus X misses Y implies Ext(X,x,y) misses Ext(Y,x,y)
proof
assume that
A2: X misses Y and
A3: Ext(X,x,y) meets Ext(Y,x,y);
consider a be object such that
A4: a in Ext(X,x,y) & a in Ext(Y,x,y) by A3,XBOOLE_0:3;
per cases by XBOOLE_0d3;
suppose a in {A\/{y} where A is Element of X: x in A};
then consider A be Element of X such that
A5: a= A\/{y} & x in A;
per cases by A4,XBOOLE_0:def 3;
suppose a in {A\/{y} where A is Element of Y: x in A};
then consider B be Element of Y such that
A6: a= B\/{y} & x in B;
A7: X <>{} & Y <>{} by A5,A6,SUBSET_1:def 1;
then not y in A & not y in B by A1,TARSKI:def 4;
then {y} misses A & {y} misses B by ZFMISC_1:50;
then A=B by A6,A5,XBOOLE_1:71;
hence thesis by A2,A7,XBOOLE_0:3;
end;
suppose a in {A where A is Element of Y: not x in A & A in Y};
then ex B be Element of Y st a= B & not x in B & B in Y;
hence thesis by A5,ZFMISC_1:136;
end;
end;
suppose a in {A where A is Element of X: not x in A & A in X};
then consider A be Element of X such that
A8: a= A & not x in A & A in X;
per cases by A4,XBOOLE_0:def 3;
suppose a in {A\/{y} where A is Element of Y: x in A};
then ex B be Element of Y st a= B\/{y} & x in B;
hence thesis by A8,ZFMISC_1:136;
end;
suppose a in {A where A is Element of Y: not x in A & A in Y};
then ex B be Element of Y st a= B & not x in B & B in Y;
hence thesis by A2,A8,XBOOLE_0:3;
end;
end;
end;
assume that
A9: Ext(X,x,y) misses Ext(Y,x,y) and
A10: X meets Y;
consider a be object such that
A11: a in X & a in Y by A10,XBOOLE_0:3;
reconsider a as set by TARSKI:1;
per cases;
suppose x in a;
then a\/{y} in {A\/{y} where A is Element of X: x in A} &
a\/{y} in {A\/{y} where A is Element of Y: x in A} by A11;
then a\/{y} in Ext(X,x,y) & a\/{y} in Ext(Y,x,y) by XBOOLE_0:def 3;
hence thesis by A9,XBOOLE_0:3;
end;
suppose not x in a;
then a in {A where A is Element of X: not x in A & A in X} &
a in {A where A is Element of Y: not x in A & A in Y} by A11;
then a in Ext(X,x,y) & a in Ext(Y,x,y) by XBOOLE_0:def 3;
hence thesis by A9,XBOOLE_0:3;
end;
end;
theorem Th34:
x<>y & not y in union X & not y in union Y implies
(X misses Y iff swap(X,x,y) misses swap(Y,x,y))
proof
assume
A1: x<>y & not y in union X & not y in union Y;
thus X misses Y implies swap(X,x,y) misses swap(Y,x,y)
proof
assume that
A2: X misses Y and
A3: swap(X,x,y) meets swap(Y,x,y);
consider a be object such that
A4: a in swap(X,x,y) & a in swap(Y,x,y) by A3,XBOOLE_0:3;
per cases by A4,XBOOLE_0:def 3;
suppose a in {A\{x}\/{y} where A is Element of X: x in A};
then consider A be Element of X such that
A5: a= A\{x}\/{y} & x in A;
per cases by A4,XBOOLE_0:def 3;
suppose a in {A\{x}\/{y} where A is Element of Y: x in A};
then consider B be Element of Y such that
A6: a= B\{x} \/{y} & x in B;
A7: X <>{} & Y <>{} by A5,A6,SUBSET_1:def 1;
then not y in A & not y in B by A1,TARSKI:def 4;
then {y} misses A\{x} & {y} misses B\{x} by XBOOLE_1:80,ZFMISC_1:50;
then A= A\{x}\/{x} = B\{x}\/{x}=B by A6,A5,XBOOLE_1:71,ZFMISC_1:116;
hence thesis by A2,A7,XBOOLE_0:3;
end;
suppose a in {A\/{x} where A is Element of Y: not x in A & A in Y};
then consider B be Element ofY that
A8: a= BPoint S, Element of S st c = d & (for x being Element of S holds x
not x in A\{x} by ZFMISC_1:56;
then not x in A\{x} \/{y} by A1,ZFMISC_1:136;
thesis A5,Z:136;
end;
end;
suppose a in :: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
then becompact TopLattice benetofS bePoint , dbe
A9: a= A\/{x} & not x in A & A in X;
per cases by A4,XBOOLE_0:def 3;
suppose a in {A\{x}\/{y} where A is :: version 3.0A1: ccense version 3.0 or later, :: detailed in file COPYING.interpretation.
then consider B be Element of Y such that
A10: a:: http://creativecommons.org/licenses/by-sa/3.0/.
not x in , ARYTM_3 , ORDINAL2
then not x { /y ,136;
hence thesis by A9,A10,ZFMISC_1:136;
end;
suppose a {\{ is java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 26
}A x} java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 58
= by A9,:71
;
end;
end;
assume
hence .}\[byA7java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 18
: in by,BOOLE_0:;
reconsider a as set by TARSKI:1;
per cases;
suppose x in a;
thena{}/y}in {\{}/y where A isElement of X x in A}&
a\{x}\/{y} in {A\{x}\/{y} where A is Element of Y: x in A} by A14;
then a\{x}\/{y} in swap(X,x,y)&A9 for j ElementofNstt<j holdsN indownarrowN.i1;
hence thesis by A12,XBOOLE_0:3;
suppose not x in a
a\{}in A/{}whereAis ofX xin & }&
a\/{x} in {A\/{x} reconsider convergentofby YELLOW_6def16;
then a\/{x} in swap(X,x,y) thus x /"supM=x /"lim M1by ,def17
hence thesis by A12,XBOOLE_0:3;
end;
end;
theorem Th35:
for f be Function st z in dom f holds Ext(<*f.z*>,x,y) = <*Ext(f,x,y).z*>
proof
let f be Function;
assume
A1: z in dom f;
A2: 1 in Seg 1;
A3: dom Ext(<*f.z*>,x,y) = dom <*f.z*> = Seg 1 by Def5,FINSEQ_1:38;
then
A4: len Ext(<*f.z*>,x,y) = len <*f.z*> =1 by FINSEQ_1:40,FINSEQ_3:29;
A5:<*f.z*>.1 = f.z;
per cases;
suppose x in f.z;
then Ext(<*f.z*>,x,y).1 = (f.z)\/{y} = Ext(f,x,y).z by A2,Def5,A3,A5,A1;
hence thesis by A4,FINSEQ_1:40;
end;
notxin f.z;
then Ext(<*f.z*>,x,y).1 = (f.z) = Ext(f,x,y).z by A2,Def5,A3,A5,A1;
hence thesis by A4,FINSEQ_1:40;
end;
end;
theorem Th36:
for f be Function st z in dom f holds Swap(<*f.z*>,x,y) = <*Swap(f,x,y).z*>
proof
A2: Niseventuallydirected
assume
zin f;
A2: 1 in Seg 1;
A3: dom Swap(<*f.z*>,x,y) = dom <*f.z*> = proof
then ,d be of suchthat
A4: len Swap(<*f.z*>,x,y) = java.lang.StringIndexOutOfBoundsException: Range [7, 31) out of bounds for length 7
A5: <*f.z*>.1 = f.z;
per cases;
suppose x in f.z;
then Swap(<*f.z*>,x,y).1 = ((f.z)\{x})\/{y} = Swap(f,x,y).z
by A2,Def4,A3,A5,A1;
hence thesis by A4,FINSEQ_1:40;
end;
suppose not x in f.z;
then Swap(<*f.z*>,x,y).1 = (f.z)\/{x} = Swap(f,x,y reconsider A = N|t as subnetof N;
40java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th37:
for f be Function st z in dom f holds Ext({f.z},x,y) = {Ext(f,x,y).Point S,d Element ofSst = &f style='color:red'>or x being Element of S holds x
proof
fbe
assume end
per cases;
suppose x in f.z;
then Ext({f.zA1: and
by ,Def5,h29;
hence thesis;
end;
x f.;
Ext(f.z},A4: mapping =thanb
hence thesis;
end;
theorem
forfFunctionst in assume java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 60
roofjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
let f be Function;
assume A1: z in dom f;
casesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
suppose x in f.z;
then swap({f.z},x,y) A8 the mapping ofN={} <java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
,,;
hence thesis;
end
suppose not x in f.z;
then swap({f.z},x,y) = {(f.z)\/{java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 33
by A1,Def4,Th32;
hence thesis;
end
end;
theorem Th39:
m<>0 implies bool(Seg (m+2)\{1}) =
Ext(bool(Seg (m+1)\{1}),1+m,2+m)\/
swap(bool(Seg (m+1)\{1}),1+m,2+m)
roof
assume
A1: m<>0;
set s=Seg (m+1)\{1}, F = bool(s),F1 = bool(Seg (m+2)\{1}),
E=Ext(F,1+m,2+m), S=swap(F,1+m,2+m);
1+m+1 > m+1 by NAT_1:13;
then not m+2 in Seg (m+1) by FINSEQ_1:1;
then
A2: not 2+m in union F by ZFMISC_1:56;
then
A3: card S = card F = card E by Th10,Th11;
A4: 2 * card F = card bool (Seg (1+(m+1))\{1}) by Th9
.= card F1;
1+m<>2+ letc, bePointof that
then
A5: card (E\/S) = card F+card F by Th22,A2,A3,CARD_2:40
.= card F1 by A4;
A6: Seg(m+1+1)= Seg(m+1)\/{m+2} & Seg(m+1) = Seg m \/{m+1} by FINSEQ_1:9;
then end;
then
by14
let epsN ;
then
c= Seg(m let X be non Subset of ExtREAL;
then
A8: Seg=sup(x "/\ rngnetmap MS)by23
by A7,XBOOLE_1end;
A9hence thesis by Th9;
proof
let x;
assume
A10: x in S;
reconsiderforbeing compact Hausdorffstfor Element
per cases by A10,XBOOLE_0:def 3;
suppose x in {(A\{m+1})\/{m+2} where A is Element of F: m+1 in A};
then consider A be Element of F such that
A11: x=(A\{m+1})\/{m+2} & m+1 in A;
x c= s\/{m+2} by A11,XBOOLE_1:13;
hence thesis by A7;
end;
suppose x in {A\/{m+1} where A is Element of F: not m+1 in A & A in F};
then consider A be Element of F such that
A12: x = A\/{m+1} & not m+1 in A & A in F;
x c= s\/{m+1} by A12,XBOOLE_1:13;
then x c= Seg(m+1+1)\{1} by A8,XBOOLE_1:10;
hence thesis;
end;
end;
E c= F1
proof
let x;
assume
A13: x in E;
reconsider x as set by TARSKI:1;
per cases by A13,XBOOLE_0:def 3;
suppose x in {A\/{m+2} where A is Element of F: m+1 in A};
considerAbe ofF that
A14: x= A\/{m+2} & m+1 in A;
x c= s \/{m+2} by A14,XBOOLE_1:13;
hence A5: d is_a_clusterpoint_of ;
end;
suppose x in { A :not +1 A& F;
then consider A be Element of F such that
A15: x= A & not m+1 in A & A in F;
x c= s\/{m+2} by A15,XBOOLE_1:10;
hence thesis by A7;
end;
end;
hence thesis by A5,A9,CARD_2:102S
;
begin an EvenNumber of Times
definition
let f befinite Function;
attr f is end;
card ("{y} is even;
end;
registration;
cluster empty -> with_evenly_repeated_values for finite Function;
coherence;
let x be object;
cluster <*x,x*> -> with_evenly_repeated_values;
coherence
proof
xx=<x,*>
let y;
rng <*x*> = {x} by FINSEQ_1:38;
then
A1: A1 x of S holds x "/\" is continuous;
per cases;
suppose y=x;
then xx"{y} = dom xx by A1,RELAT_1:134;
then card (xx"{A3:for c dbeing Pointof S st c is_a_cluster_point_of N & d
hence thesis;
end;
suppose y<> let c, d be of suchsuch that
then xx"{y}={} by A1,RELAT_1:138,ZFMISC_1:11;
hence thesis;
. d A1,A5,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
end;
end;
theorem Th40:
for f,g be with_evenly_repeated_values FinSequence holds
f^g is with_evenly_repeated_values
proof
let f,g be with_evenly_repeated_values FinSequence;
set fg=f^g;
let y be object;
reconsider c1=card (f"{y}),c2=card (g"{y}) as even Nat by Def6;
card (fg"{y}) = c1+c2 by FINSEQ_3:57;
hence card (fg"{y}) is even;
end;
definition
let F be set;
attr F is with_evenly_repeated_values-member means :Def7:
for y be object st y in F holds
y is with_evenly_repeated_values finite Function;
end;
registration
cluster empty -> with_evenly_repeated_values-member for set;
coherence;
end;
registration
let X be FinSequence-membered set;
cluster -> FinSequence-membered for Element of Fin X;
coherence
proof
let E be Element of Fin X;
E c= X by FINSUB_1:def 5;
hence thesis;
end;
end;
theorem Th41:
for P1,S1,S2 be FinSequence-membered set holds
P1^(S1\/S2) = P1^S1 \/ P1^S2
proof
let P1,S1,S2 be FinSequence-membered set;
thus P1^(S1\/S2) c= P1^S1 \/ P1^S2
proof
let x be object such that
A1: x in P1^(S1\/S2);
consider p, q be FinSequence such that
A2: x = p^q & p in P1 & q in S1\/S2 by A1,POLNOT_1:def 2;
q in S1 or q in S2 by A2,XBOOLE_0:def 3;
then x in P1^S1 or x in P1^S2 by A2,POLNOT_1:def 2;
hence thesis by XBOOLE_0:def 3;
end;
A3: P1^S1 c= P1^(S1\/S2)
proof
let x be object such that
A4: x in P1^S1;
consider p, q be FinSequence such that
A5: x = p^q & p in P1 & q in S1 by A4,POLNOT_1:def 2;
q in S1\/ S2 by A5,XBOOLE_0:def 3;
hence thesis by A5,POLNOT_1:def 2;
end;
P1^S2 c= P1^(S1\/S2)
proof
let x be object such that
A6: x in P1^S2;
consider p, q be FinSequence such that
A7: x = p^q & p in P1 & q in S2 by A6,POLNOT_1:def 2;
q in S1\/ S2 by A7,XBOOLE_0:def 3;
hence thesis by A7,POLNOT_1:def 2;
end;
hence thesis by A3,XBOOLE_1:8;
end;
theorem Th42:
for P1,P2,S1 be FinSequence-membered set holds
(P1\/P2)^S1 = P1^S1 \/ P2^S1
proof
let P1,P2,S1 be FinSequence-membered set;
thus (P1\/P2)^S1 c= P1^S1 \/ P2^S1
proof
let x be object such that
A1: x in (P1\/P2)^S1;
consider p, q be FinSequence such that
A2: x = p^q & p in P1\/P2 & q in S1 by A1,POLNOT_1:def 2;
p in P1 or p in P2 by A2,XBOOLE_0:def 3;
then x in P1^S1 or x in P2^S1 by A2,POLNOT_1:def 2;
hence thesis by XBOOLE_0:def 3;
end;
A3: P1^S1 c= (P1\/P2)^S1
proof
let x be object such that
A4: x in P1^S1;
consider p, q be FinSequence such that
A5: x = p^q & p in P1 & q in S1 by A4,POLNOT_1:def 2;
p in P1\/P2 by A5,XBOOLE_0:def 3;
hence thesis by A5,POLNOT_1:def 2;
end;
P2^S1 c= (P1\/P2)^S1
proof
let x be object such that
A6: x in P2^S1;
consider p, q be FinSequence such that
A7: x = p^q & p in P2 & q in S1 by A6,POLNOT_1:def 2;
p in P1\/P2 by A7,XBOOLE_0:def 3;
hence thesis by A7,POLNOT_1:def 2;
end;
hence thesis by A3,XBOOLE_1:8;
end;
theorem Th43:
for f,g be FinSequence holds
{f}^{g} = {f^g}
proof
let f,g be FinSequence;
thus {f}^{g} c= {f^g}
proof
let x;
assume x in {f}^{g};
then consider p, q be FinSequence such that
A1: x = p^q & p in {f} & q in {g} by POLNOT_1:def 2;
p=f & q=g by A1,TARSKI:def 1;
hence thesis by A1,TARSKI:def 1;
end;
let x;
A2: f in {f} & g in {g} by TARSKI:def 1;
assume x in {f^g};
then x = f^g by TARSKI:def 1;
hence thesis by A2,POLNOT_1:def 2;
end;
registration
let f be with_evenly_repeated_values finite Function;
cluster {f} -> with_evenly_repeated_values-member;
coherence by TARSKI:def 1;
let g be with_evenly_repeated_values finite Function;
cluster {f,g} -> with_evenly_repeated_values-member;
coherence by TARSKI:def 2;
end;
registration
let F,G be with_evenly_repeated_values-member FinSequence-membered set;
cluster F^G ->with_evenly_repeated_values-member;
coherence
proof
let y such that
A1: y in F^G;
consider p, q be FinSequence such that
A2: y = p^q & p in F & q in G by A1,POLNOT_1:def 2;
p is with_evenly_repeated_values & q is with_evenly_repeated_values
by A2,Def7;
hence thesis by A2,Th40;
end;
end;
theorem Th44:
for f be finite Function, p be Permutation of dom f holds
f is with_evenly_repeated_values iff f*p is with_evenly_repeated_values
proof
let f be finite Function, p be Permutation of dom f;
set fp=f*p;
A1: dom p = dom f = rng p by FUNCT_2:52,def 3;
then
A2: dom fp = dom f by RELAT_1:27;
thus f is with_evenly_repeated_values implies
(f*p) is with_evenly_repeated_values
proof
assume
A3: f is with_evenly_repeated_values;
let y be object;
card (fp"{y}) = card (f"{y}) by A2,A1,CLASSES1:77,78;
hence thesis by A3;
end;
assume
A4: f*p is with_evenly_repeated_values;
let y be object;
card (fp"{y}) = card (f"{y}) by A2,A1,CLASSES1:77,78;
hence thesis by A4;
end;
begin :: Cartesian Product of Domains in Finite Sequences
definition
let F be FinSequence-yielding FinSequence;
func doms F -> finite Subset of NAT* means :Def8:
for x be object holds x in it iff
ex p be FinSequence st p=x & len p = len F &
for i st i in dom p holds p.i in dom (F.i);
existence
proof
defpred P[object,FinSequence-yielding FinSequence] means
ex p be FinSequence st p=$1 & len p = len $2 &
for i st i in dom p holds p.i in dom ($2.i);
defpred N[Nat] means
for H be FinSequence-yielding FinSequence st len H=$1
ex IT be finite FinSequence-membered set st
for x be object holds x in IT iff P[x,H];
A1: N[0]
proof
let H be FinSequence-yielding FinSequence such that
A2: len H=0;
take IT={ {} };
let x be object;
thus x in IT implies P[x,H]
proof
assume
A3: x in IT;
take p={};
thus thesis by A2,A3;
end;
given p be FinSequence such that
A4: p=x & len p = len H &
for i st i in dom p holds p.i in dom (H.i);
p={} by A4,A2;
hence thesis by A4,TARSKI:def 1;
end;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
of
set n1=nreconsideruu= as R_eal d1
let H be FinSequence-yielding java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 41
: len =;
A8: 1<= n1 & n<n1 by NAT_1:11proof
reconsider Hn=H|n as FinSequence-yielding FinSequence;
A9: len Hn = n by A7,FINSEQ_1:59,NAT_1:11;
then consider IT be finite FinSequence-membered set such that
A10: for x be object holds x in IT iff P[x,Hn] by A6;
set IT2= { f^<*i*> where f is ElementA4:a inA
f in IT & i in dom (H.A6: a <= sup A by A4,XXREAL_2:4
java.lang.StringIndexOutOfBoundsException: Range [14, 3) out of bounds for length 21
proof
cases
java.lang.StringIndexOutOfBoundsException: Range [28, 15) out of bounds for length 15
A12: ITA2: zLowerBound x +A holdsz<= y +A
IT2 ={}
proof
assume IT2<>{};
then consider proof
reconsiderzz as XXREAL_0:def ;
ex proof
f in IT & i in dom (H.n1) by A13;
hence thesis by A12;A3:uin A;
end;
end;
suppose
A14: IT is non empty & dom (H.n1) is non empty;
then reconsider y + inf A is LowerBound of inf isLowerBound x + java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
reconsider D=dom (H.n1) as reconsider b = a as R_eal by XXREAL_0 aas by def1
(o) $^*$>java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
setPfi{P(fi f is is ofDjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
f in ITn & i injava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A15: D is finite;
A16: ITn is finite;
Pfi is finite from FRAENKEL:sch 22java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesis;
end;
let be java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
assume x in IT2;
end;
x=f^<*i*> & f
;
end;
then IT2 finite FinSequencemembered
by A11,FINSEQ_1:def 19;
take IT2;
let x be object;
thus x in IT2 implies P[x,H]
proof
assume x in IT2;
then consider fs be Element of IT, i be Element of dom (H.n1) such that
A17: x=fs^<*i*> & fs in IT & i in dom (H.n1);
consider f be FinSequence such that
A18: f=fs & len f = len Hn &
for i st i in dom f holds f.i in dom (Hn.i) by A17,A10;
take fH= f^<*i*>;
thus
A19: fH=x & len fH = len H by A7,A18,A17,A9,FINSEQ_2:16;
let k such that
A20: k in dom fH;
A21: 1<=k & k <= n1 by A7,A20,A19,FINSEQ_3:25;
per cases by A21,NAT_1:8;
suppose
A22: k <=n;
then
A23: k in dom f & k in dom Hn by A21,A18,A9,FINSEQ_3:25;
A24: f.k in dom (Hn.k) by A22,A21,A18,A9,FINSEQ_3:25;
Hn.k = H.k by A22,FINSEQ_3:112;
hence thesis by A24,A23,FINSEQ_1:def 7;
end;
suppose k=n1;
hence fH.k in dom (H.k) by A17,A18,A9;
end;
end;
given p be FinSequence such that
A25: p=x & len p = len H &
for i st i in dom p holds p.i in dom (H.i);
set pn=p|n;
A26: p = p|len p = pn ^ <*p.n1*> by A7,A8,A25,FINSEQ_5:83;
A27: len pn = len Hn by A9,A25,A7,FINSEQ_1:59,NAT_1:11;
for i st i in dom pn holds pn.i in dom (Hn.i)
proof
let i such that
A28: i in dom pn;
A29: i<=n by A28,A27,A9,FINSEQ_3:25;
A30: dom pn c= dom p by FINSEQ_5:18;
pn.i = p.i & Hn.i = H.i by A29,FINSEQ_3:112;
hence thesis by A30,A28,A25;
end;
then
A31: pn in IT by A27,A10;
p.n1 in dom (H.n1) by A25,A8,A7,FINSEQ_3:25;
hence x in IT2 by A25,A26,A31;
end;
N[n] from NAT_1:sch 2(A1,A5);
then consider IT be finite FinSequence-membered set such that
A32: for x be object holds x in IT iff P[x,F];
IT c= NAT*
proof
let x;
assume x in IT;
then consider p be FinSequence such that
A33: p=x & len p = len F &
for i st i in dom p holds p.i in dom (F.i) by A32;
rng p c= NAT
proof
let y;
assume y in rng p;
then consider x such that
A34: x in dom p & p.x = y by FUNCT_1:def 3;
p.x in dom (F.x) by A34,A33;
hence thesis by A34;
end;
then p is FinSequence of NAT by FINSEQ_1:def 4;
hence thesis by A33,FINSEQ_1:def 11;
end;
hence thesis by A32;
end;
uniqueness
proof
defpred P[object] means
ex p be FinSequence st p=$1 & len p = len F &
for i st i in dom p holds p.i in dom (F.i);
let IT1,IT2 be finite Subset of NAT* such that
A35: for x be object holds x in IT1 iff P[x] and
A36: for x be object holds x in IT2 iff P[x];
now let x be object;
x in IT1 iff P[x] by A35;
hence x in IT1 iff x in IT2 by A36;
end;
hence thesis by TARSKI:2;
end;
end;
theorem Th45:
doms F is non empty iff F is non-empty
proof
thus doms F is non empty implies F is non-empty
proof
assume doms F is non empty;
then consider x be object such that
A1: x in doms F;
consider p be FinSequence such that
A2: p=x & len p = len F &
for i st i in dom p holds p.i in dom (F.i) by A1,Def8;
let d be object such that
A3: d in dom F;
dom p=dom F by A2,FINSEQ_3:29;
then p.d in dom (F.d) by A2,A3;
hence thesis;
end;
set L = len F |-> 1;
assume
A4: F is non-empty;
A5: len L=len F;
then
A6: dom L=dom F by FINSEQ_3:29;
for i st i in dom L holds L.i in dom (F.i)
proof
let i such that
A7: i in dom L;
A8: L.i = 1 by A7,FINSEQ_2:57;
F.i is non empty by A4,A7,A6;
then len (F.i) >=1 by NAT_1:14;
hence thesis by A8,FINSEQ_3:25;
end;
hence thesis by Def8,A5;
end;
theorem Th46:
doms {} = { {} }
proof
reconsider f={} as FinSequence-yielding FinSequence;
for i st i in dom f holds f.i in dom (f.i);
then ex p be FinSequence st p=f & len p = len f &
for i st i in dom p holds p.i in dom (f.i);
then
A1: {} in doms f by Def8;
doms f c= { {} }
proof
let y be object;
assume y in doms f;
then ex p be FinSequence st p=y & len p = len f &
for i st i in dom p holds p.i in dom (f.i) by Def8;
then y=f;
hence thesis by TARSKI:def 1;
end;
hence thesis by A1,ZFMISC_1:33;
end;
registration
let F be FinSequence-yielding FinSequence;
cluster doms F -> FinSequence-membered;
coherence;
end;
theorem Th47:
p in doms F iff len p = len F &
for i st i in dom p holds p.i in dom (F.i)
proof
hereby assume p in doms F;
then ex q be FinSequence st q=p & len q = len F &
for i st i in dom q holds q.i in dom (F.i) by Def8;
hence len p = len F & for i st i in dom p holds p.i in dom (F.i);
end;
thus thesis by Def8;
end;
registration
let F be FinSequence-yielding FinSequence;
cluster -> NAT-valued for Element of doms F;
coherence
proof
let e be Element of doms F;
per cases;
suppose doms F is empty;
then e={} by SUBSET_1:def 1;
hence thesis;
end;
suppose
A1: doms F is non empty;
rng e c= NAT
proof
let y such that
A2: y in rng e;
consider x such that
A3: x in dom e & e.x = y by A2,FUNCT_1:def 3;
e.x in dom (F.x) by A1,Th47,A3;
hence thesis by A3;
end;
hence thesis by RELAT_1:def 19;
end;
end;
end;
registration
let F be non-empty FinSequence-yielding FinSequence;
cluster doms F -> non empty;
coherence by Th45;
end;
theorem Th48:
f in doms F & g in doms G implies f^g in doms (F^G)
proof
set fg=f^g,FG=F^G;
assume
A1: f in doms F & g in doms G;
A2: len fg = len f + len g & len FG = len F + len G by FINSEQ_1:22;
A3: len f = len F & len g = len G by A1,Th47;
for i st i in dom fg holds fg.i in dom (FG.i)
proof
let i be Nat such that
A4: i in dom fg;
per cases by A4,FINSEQ_1:25;
suppose
A5: i in dom f;
then i in dom F by A3,FINSEQ_3:29;
then f.i =fg.i & F.i =FG.i by A5,FINSEQ_1:def 7;
hence thesis by A1,Th47,A5;
end;
suppose ex j st j in dom g & i=len f + j;
then consider j such that
A6: j in dom g & i=len f+j;
j in dom G by A6,A3,FINSEQ_3:29;
then g.j =fg.i & G.j =FG.i by A6,A3,FINSEQ_1:def 7;
hence thesis by A1,Th47,A6;
end;
end;
hence thesis by A2,A3,Th47;
end;
theorem Th49:
for P,S be FinSequence-membered set st
P c= doms F & S c= doms G holds P^S c= doms (F^G)
proof
let P,S be FinSequence-membered set such that
A1: P c= doms F & S c= doms G;
let x such that
A2: x in P^S;
ex p,s be FinSequence st x=p^s & p in P & s in S by A2,POLNOT_1:def 2;
hence thesis by A1,Th48;
end;
theorem Th50:
(len f=len F or len g = len G) & f^g in doms (F^G) implies
f in doms F & g in doms G
proof
set fg=f^g,FG=F^G;
assume
A1: (len f=len F or len g = len G) & fg in doms FG;
A2: len fg = len f + len g & len FG = len F + len G & len FG = len fg
by A1,Th47,FINSEQ_1:22;
A3: dom f= dom F & dom g = dom G by A2,A1,FINSEQ_3:29;
for i st i in dom f holds f.i in dom (F.i)
proof
let i;
assume i in dom f;
then i in dom fg & f.i = fg.i & F.i = FG.i
by A3,FINSEQ_1:26,def 7,TARSKI:def 3;
hence thesis by A1,Th47;
end;
hence f in doms F by A2,A1,Th47;
for i st i in dom g holds g.i in dom (G.i)
proof
let i;
assume
A4: i in dom g;
then
A5: (len f)+i in dom fg by FINSEQ_1:28;
g.i = fg.((len f)+i) & G.i = FG.((len F)+i) by A4,A3,FINSEQ_1:def 7;
hence thesis by A5,A1,A2,Th47;
end;
hence g in doms G by A2,A1,Th47;
end;
theorem Th51:
f in doms <*g*> iff len f = 1 & f.1 in dom g
proof
set G=<*g*>;
A1: len G=1 & G.1=g by FINSEQ_1:40;
hereby assume
A2: f in doms G;
then len f = 1 by A1,Th47;
then 1 in dom f by FINSEQ_3:25;
hence len f = 1 & f.1 in dom g by A1,A2,Th47;
end;
assume
A3: len f = 1 & f.1 in dom g;
now let i such that
A4: i in dom f;
1<= i & i <= 1 by A3,A4,FINSEQ_3:25;
then i=1 by XXREAL_0:1;
hence f.i in dom (G.i) by A3;
end;
hence thesis by A3,A1,Th47;
end;
theorem Th52:
for F,g,x holds
doms (F^<* g^<*x*> *>) = doms (F^<* g *>) \/
{f^<*1 + len g*> where f is Element of doms F:f in doms F}
proof
let F,g,x;
set S={f^<*1 + len g*> where f is Element of doms F:f in doms F};
set gx= g^<*x*>;
A1: len (F^<* gx *>) = 1 + len F & len (F^<* g *>)= 1+len F by FINSEQ_2:16;
thus doms (F^<* gx *>) c= doms (F^<* g *>)\/S
proof
let y;
assume y in doms (F^<* gx *>);
then consider p be FinSequence such that
A2: p=y & len p = len (F^<* gx *>) and
A3: for i st i in dom p holds p.i in dom ((F^<* gx *>).i) by Def8;
per cases;
suppose
A4: p.(1+len F) in dom g;
for i st i in dom p holds p.i in dom ((F^<* g *>).i)
proof
let i such that
A5: i in dom p;
per cases;
suppose i = 1+len F;
hence thesis by A4;
end;
suppose
A6: i<> 1+len F;
A7: 1<=i <=len p by A5,FINSEQ_3:25;
then i < len F+1 by A6,A2,A1,XXREAL_0:1;
then i <= len F by NAT_1:13;
then i in dom F by A7,FINSEQ_3:25;
then (F^<* gx *>).i = F.i & (F^<* g *>).i = F.i by FINSEQ_1:def 7;
hence thesis by A5,A3;
end;
end;
then p in doms (F^<* g *>) by A2,A1,Th47;
hence thesis by A2,XBOOLE_0:def 3;
end;
suppose
A8: not p.(1+len F) in dom g;
1<= 1+len F by NAT_1:11;
then p.(1+len F) in dom ((F^<* gx *>).(1+len F)) by A3,A2,A1,FINSEQ_3:25;
then consider n such that
A9: n in dom <*x*> & p.(1+len F) = len g + n by A8,FINSEQ_1:25;
set pL=p|len F;
n in Seg 1 by A9,FINSEQ_1:38;
then n=1 by FINSEQ_1:2,TARSKI:def 1;
then
A10: p = pL^ <* 1 + len g *> by A9,A2,FINSEQ_2:16,FINSEQ_3:55;
A11: len pL = len F by A2,A1,FINSEQ_3:53;
for i st i in dom pL holds pL.i in domjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
for beingst$x c yjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
that
12:iindom;
dom F = Seg (len F) by FINSEQ_1:def 3;
then
A13: i in dom p & i in dom F >{ A1
thenp (F^ gx >.) java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
then p.i in dom (F.:Gis java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
hence thesis by A12,FUNCT_1:47;
end;
assume /{}<> }java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then p in take x9 =;
let be
end;
end;
let y such that
indoms(^< >/;
L 1 +g;
per cases;
suppose y in S;
zin Gby ,A12
A15: y = f^<*L*> & f in doms F;
A16: len f =: c=z;
by A15,Th47,FINSEQ_2:16;
then
A17: dom f=dom F by FINSEQ_3:30;
assume
java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 44
suchjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A18: i in dom (f^<*L TARSKI:ef 1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
per cases by A18,FINSEQ_1:25;
suppose i in dom f;
then f.i in dom (F.i) & (f^<*L*>).i = f.i & (F^<* gx *>).i = F.i
by A17,A15,Th47,FINSEQ_1:def 7;
hence thesis;
end;
suppose ex n st n in dom <*L*> & i=len f + n;
then consider n such that
A19: n in dom <*L*> & i=len f + n;
A20: 1 <= L by NAT_1:11;
n in Seg 1 by A19,FINSEQ_1:def 8;
then n=1 by FINSEQ_1:2,TARSKI:def 1;
hence thesis by A19,A16,A20,FINSEQ_3:25;
end;
end;
hence thesis by A15,A16,A1,Th47;
end;
suppose not y in S;
then y in doms (F^<* g *>) by A14,XBOOLE_0:def 3;
then consider p be FinSequence such that
A21: p=y & len p = len (F^<* g*>) and
A22: for i st i in dom p holds p.i in dom ((F^<* g*>).i) by Def8;
A23: dom p = dom (F^<* g*>) by A21,FINSEQ_3:30;
for i st i in dom p holds p.i in dom ((F^<* gx*>).i)
proof
let i such that
A24: i in dom p;
per cases;
suppose i in dom F;
then (F^<* g*>).i = F.i = (F^<* gx*>).i by FINSEQ_1:def 7;
hence thesis by A24,A22;
end;
suppose not i in dom F;
then consider n such that
A25: n in dom <*g*> & i = len F+n by A24,A23,FINSEQ_1:25;
n in Seg 1 by A25,FINSEQ_1:38;
then
A26: n=1 by FINSEQ_1:2,TARSKI:def 1;
then (F^<* g*>).i = g by A25;
then p.i in dom g by A24,A22;
hence thesis by A26,A25,FINSEQ_1:26,TARSKI:def 3;
end;
end;
hence y in doms (F^<* gx *>) by A1,Th47,A21;
end;
end;
theorem
for F,x holds
doms (F^<* <*x*> *>) = {f^<* 1 *> where f is Element of doms F:f in doms F}
proof
let F,x;
1<= len F+1 & len (F^<* {} *>)=len F+1 by FINSEQ_2:16,NAT_1:11;
then 1+len F in dom (F^<*{}*>) & (F^<*{}*>).(1+len F)={} by FINSEQ_3:25;
then not (F^<*{}*>) is non-empty;
then
A1: doms (F^<* {} *>) ={} by Th45;
reconsider g={} as FinSequence;
doms (F^<* g^<*x*> *>) = doms (F^<* g *>) \/
{f^<*1 + len g*> where f is Element of doms F:f in doms F} by Th52;
hence thesis by A1;
end;
theorem Th54:
for F,G be FinSequence-yielding FinSequence holds
NAT-concatenation .: [:doms F,doms G:] = doms (F^G)
proof
let F,G be FinSequence-yielding FinSequence;
set C=NAT-concatenation;
thus C .: [:doms F,doms G:] c= doms (F^G)
proof
let y;
assume y in C .: [:doms F,doms G:];
then consider x such that
A1: x in dom C & x in [:doms F,doms G:] & C.x =y by FUNCT_1:def 6;
consider f,g be object such that
A2: f in doms F & g in doms G & x=[f,g] by A1,ZFMISC_1:def 2;
reconsider f,g as NAT-valued FinSequence by A2;
C.(f,g) = f^g by FOMODEL0:4;
then y = f^g by A1,A2,BINOP_1:def 1;
hence thesis by A2,Th48;
end;
let xy be object such that
A3: xy in doms (F^G);
reconsider fg=xy as NAT-valued FinSequence by A3;
A4: len fg = len (F^G) = len F + len G by A3,Th47,FINSEQ_1:22;
set f= fg|(len F);
A5: len f=len F by A4,FINSEQ_1:59,NAT_1:11;
consider g be FinSequence such that
A6: fg = f^g by FINSEQ_1:80;
A7: f in doms F & g in doms G by Th50,A3,A6,A5;
then
A8: [f,g] in [:doms F,doms G:] by ZFMISC_1:def 2;
rng f c= NAT & rng g c= NAT by A7,RELAT_1:def 19;
then f is FinSequence of NAT & g is FinSequence of NAT by FINSEQ_1:def 4;
then f in NAT* & g in NAT* by FINSEQ_1:def 11;
then [f,g] in [:NAT*,NAT*:] by ZFMISC_1:def 2;
then
A9: [f,g] in dom C by FUNCT_2:def 1;
C.(f,g)= f^g by A7,FOMODEL0:4;
then C.[f,g] = f^g by BINOP_1:def 1;
hence thesis by A6,A8,A9,FUNCT_1:def 6;
end;
theorem Th55:
doms <*f*> = { <*i*> where i is Element of NAT:i in dom f}
proof
thus doms <*f*> c= { <*i*> where i is Element of NAT:i in dom f}
proof
let y;
assume
A1: y in doms <*f*>;
then reconsider let y be set;
A2: y.1 then x cthen x byA21;
y = <*y.1*> by A1,Th51,FINSEQ_1:40;
hence thesis by A2;
end;
let y;
assume y in { <*i*> where i is Element of NAT:i in dom f};
then consider i be Element of NAT such that
A3: y = <*i*> & i in hence thesis by A4,SETFAM: 1;
len <*i*> = 1 & <*i*>.1=i by FINSEQ_1:40;
hence thesis by A3,Th51;
end;
registration
let n,F;
cluster F|n -> FinSequence-yielding;
coherence;
end;
theorem
f in doms F implies f|n in doms (F|n)
proof
assume
A1: f in doms F;
then
A2: len f = len F by Th47;
per cases;
suppose n > len f;
then f|n=f & F|n=F by A2,FINSEQ_1:58;
hence thesis by A1;
end;
suppose n <=len f;
then
A3: len (f|n)=n & len (F|n)=n by A2,FINSEQ_1:59;
then
A4: dom (f|n)=dom (F|n) by FINSEQ_3:30;
for i st i in dom (f|n) holds (f|n).i in dom ((F|n).i)
proof
let i;
assume i in dom (f|n);
then (f|n).i = f.i & (F|n).i = F.i & i in dom f
by A4,FUNCT_1:47,RELAT_1:57;
hence thesis by A1,Th47;
end;
hence thesis by A3,Th47;
end;
end;
theorem
card doms <*g*> = len g
proof
set G=<* g *>;
A1: len G=1 by FINSEQ_1:40;
defpred P[object,object] means
for f be FinSequence st f=$1 holds f.1=$2;
A2: for x being object st x in doms G
ex y being object st y in dom g & P[x,y]
proof
let x be object;
assume
A3: x in doms G;
then consider p be FinSequence such that
A4: p=x & len p = len G &
for i st i in dom p holds p.i in dom (G.i) by Def8;
take p.1;
thus thesis by A4,A3,Th51;
end;
consider F be Function such that
A5: dom F=doms G & rng F c= dom g and
A6: for x being object st x in doms G holds P[x,F.x] from FUNCT_1:sch 6(A2);
A7: F is one-to-one
proof
let x1,x2 be object such that
A8: x1 in dom F & x2 in dom F & F.x1=F.x2;
consider p1 be FinSequence such that
A9: p1=x1 & len p1 = len G &
for i st i in dom p1 holds p1.i in dom (G.i) by A5,A8,Def8;
consider p2 be FinSequence such that
A10: p2=x2 & len p2 = len G &
for i st i in dom p2 holds p2.i in dom (G.i) by A5,A8,Def8;
A11:p1=<*p1.1*> & p2=<*p2.1*> by A1,A9,A10,FINSEQ_1:40;
F.x1= p1.1 & F.x2 =p2.1 by A9,A10,A6,A5,A8;
hence thesis by A11,A8,A9,A10;
end;
dom g c= rng F
proof
let i be object;
assume
A12: i in dom g;
A13: len <*i *>=1 &<*i *>.1 =i by FINSEQ_1:40;
then
A14: <* i*> in doms G by Th51,A12;
F.(<*i*>) = <* i*>.1 by A6,Th51,A12,A13;
hence thesis by A14,A5,FUNCT_1:def 3;
end;
then dom g = rng F by A5;
then card doms G= card dom g by A5,A7,CARD_1:70;
then card doms G = card Seg len g by FINSEQ_1:def 3;
hence thesis;
end;
theorem
card doms (F^<*f*>) = (card doms F) * len f
proof
defpred D[Nat] means
for f be FinSequence st len f=$1 holds
card doms (F^<*f*>) = (card doms F) * len f;
A1: D[0]
proof
let f be FinSequence such that
A2: len f=0;
1<= len F+1 & len (F^<* f *>)=len F+1 by FINSEQ_2:16,NAT_1:11;
then 1+len F in dom (F^<*f*>) & (F^<*f*>).(1+len F)=f by FINSEQ_3:25;
then not (F^<*f*>) is non-empty by A2;
then doms (F^<* f *>) ={} by Th45;
hence thesis by A2;
end;
A3: D[n] implies D[n+1]
proof
assume
A4: D[n];
let f be FinSequence such that
A5: len f=n+1;
set n1=n+1,fn=f|n;
set S = {f^<*1 + len fn*> where f is Element of doms F:f in doms F};
n < n1 by NAT_1:13;
then
A6: len fn=n by A5,FINSEQ_1:59;
f=fn^<*f.n1*> by A5,FINSEQ_3:55;
then
A7: doms (F^<* f *>) = doms (F^<* fn *>) \/ S by Th52;
defpred P[object,object] means
for g be FinSequence st g=$1 holds $2 = g^<*1 + len fn*>;
A8: for x being object st x in doms F
ex y being object st y in S & P[x,y]
proof
let x be object;
assume
A9: x in doms F;
then consider p be FinSequence such that
A10: p=x & len p = len F &
for i st i in dom p holds p.i in dom (F.i) by Def8;
take p^<*1 + len fn*>;
thus thesis by A10,A9;
end;
consider H be Function such that
A11: dom H=doms F & rng H c= S and
A12: for x being object st x in doms F holds P[x,H.x]
from FUNCT_1:sch 6(A8);
A13: H is one-to-one
proof
let x1,x2 be object such that
A14: x1 in dom H & x2 in dom H & H.x1=H.x2;
reconsider x1,x2 as FinSequence by A11,A14;
H.x1 = x1 ^ <*1 + len fn*> & H.x2 = x2 ^ <*1 + len fn*> by A14,A11,A12;
hence thesis by A14,FINSEQ_2:17;
end;
S c= rng H
proof
let s be object;
assume s in S;
then consider g be Element of doms F such that
A15: s = g^<*1 + len fn*> & g in doms F;
H.g=s by A15,A12;
hence thesis by A15,A11,FUNCT_1:def 3;
end;
then rng H=S by A11;
then
A16: card doms F = card S by A13,A11,CARD_1:70;
then reconsider S as finite set;
doms (F^<* fn *>) misses S
proof
assume doms (F^<* fn *>) meets S;
then consider x be object such that
A17: x in doms (F^<* fn *>) & x in S by XBOOLE_0:3;
consider g be Element of doms F such that
A18: x = g^<*1 + len fn*> & g in doms F by A17;
A19: len g = len F by A18,Th47;
consider p be FinSequence such that
A20: p=x & len p = len (F^<* fn *>) &
for i st i in dom p holds p.i in dom ((F^<* fn *>).i) by Def8,A17;
1<= 1+len F & len (F^<* fn *>)=len F+1 by FINSEQ_2:16,NAT_1:11;
then p.(1+len F) in dom ((F^<* fn *>).(1+len F)) by A20,FINSEQ_3:25;
then 1 + len fn <=len fn by A20,A18,A19,FINSEQ_3:25;
hence thesis by NAT_1:13;
end;
hence card (doms (F^<* f *>)) = card doms (F^<* fn *>) + card doms F
by A16,A7,CARD_2:40
.=(card doms F) *n + card doms F by A6,A4
.=(card doms F) *len f by A5;
end;
D[n] from NAT_1:sch 2(A1,A3);
hence thesis;
end;
begin :: Some Operations on Finite Sequences
definition
let F be FinSequence-yielding FinSequence;
func App F -> FinSequence-yielding Function means :Def9:
dom it = doms F &
for p be FinSequence st p in doms F holds len (it.p) = len p &
for i st i in dom p holds (it.p).i = F.i.(p.i);
existence
proof
defpred P[object,object] means
$1 is FinSequence & $2 is FinSequence &
for p,itp be FinSequence st p=$1 & itp=$2 holds
len itp = len p & for i st i in dom p holds itp.i = F.i.(p.i);
A1: for x be object st x in doms F
ex y be object st P[x,y]
proof
let x be object such that
A2: x in doms F;
reconsider P =x as FinSequence by A2;
deffunc itp(Nat) = F.$1.(P.$1);
consider ITP be FinSequence such that
A3: len ITP = len P and
A4: for i st i in dom ITP holds
ITP.i = itp(i) from FINSEQ_1:sch 2;
take ITP;
thus x is FinSequence & ITP is FinSequence by A2;
let p,itp be FinSequence such that
A5: p=x & itp=ITP;
dom ITP=dom P by A3,FINSEQ_3:29;
hence thesis by A5,A3,A4;
end;
consider IT be Function such that
A6: dom IT = doms F & for x be object st x in doms F holds P[x,IT.x]
from CLASSES1:sch 1(A1);
for x be object st x in dom IT holds IT.x is FinSequence by A6;
then reconsider IT as FinSequence-yielding Function by PRE_POLY:def 3;
take IT;
thus thesis by A6;
end;
uniqueness
proof
let H1,H2 be FinSequence-yielding Function such that
A7: dom H1 = doms F & for p be FinSequence st p in doms F holds
len (H1.p) = len p & for i st i in dom p holds (H1.p).i = F.i.(p.i) and
A8: dom H2 = doms F & for p be FinSequence st p in doms F holds
len (H2.p) = len p & for i st i in dom p holds (H2.p).i = F.i.(p.i);
for x be object st x in dom H1 holds H1.x=H2.x
proof
let x be object such that
A9: x in dom H1;
reconsider p=x as FinSequence by A9,A7;
A10: len (H1.p) = len p = len (H2.p) by A7,A8,A9;
then
A11: dom (H1.p) = dom p = dom (H2.p) by FINSEQ_3:29;
now let i;
assume
thenthen beingNat such
then (H1.p).i = F.i.(:;
hence (H1.p).i = (H2.p).i by A11,A12,A9,A7,A8;
end;
hence thesis by A10,FINSEQ_3:29;
end;
hence thesis by A7,A8;
end;
end;
definition
let D be non empty set;
let F be D*-valued FinSequence;
redefine func App F -> Function of doms F,D*;
coherence
proof
set A=App F;
A1: dom A = doms F by Def9;
rng A c= D*
proof
let y be object such that
A2: y in rng A;
consider x be object such that
A3: x in dom A & A.x = y by A2,FUNCT_1:def 3;
A4: x in doms F by A3,Def9;
consider p be FinSequence such that
A5: p=x & len p = len F &
for i st i in dom p holds p.i in dom (F.i) by A4,Def8;
A6: dom p = dom F by A5,FINSEQ_3:29;
rng (A.p) c= D
proof
let i be object such that
A7: i in rng (A.p);
len (A.p) = len p by A4,A5,Def9;
then
A8: dom (A.p) = dom p by FINSEQ_3:29;
consider j be object such that
A9: j in dom (A.p) & (A.p).j = i by A7,FUNCT_1:def 3;
A10: (A.p).j = F.j.(p.j) by A8,A9,A4,A5,Def9;
F.j in rng F by A9,A8,A6,FUNCT_1:def 3;
then F.j is FinSequence of D by FINSEQ_1:def 11;
then
A11: rng (F.j) c= D by FINSEQ_1:def 4;
p.j in dom (F.j) by A5,A9,A8;
then F.j.(p.j) in rng (F.j) by FUNCT_1:def 3;
hence thesis by A11,A10,A9;
end;
then (A.p) is FinSequence of D by FINSEQ_1:def 4;
hence thesis by A3,A5,FINSEQ_1:def 11;
end;
hence thesis by A1,FUNCT_2:2;
end;
end;
theorem Th59:
(App {}).{} = {}
proof
reconsider E={} as FinSequence;
E in doms {} by Th46,TARSKI:def 1;
then len ((App {}).E)=len E by Def9;
hence thesis;
end;
theorem Th60:
i in dom f implies (App <*f*>).<*i*> = <*f.i*>
proof
set I=<*i*>, A=App <*f*>;
A1: len I = 1 & I.1 =i by FINSEQ_1:40;
assume i in dom f;
then
A2: I in doms <*f*> by A1,Th51;
A3: 1 in dom I by A1,FINSEQ_3:25;
<*f*>.1 .(I.1) = f.i;
then (A.I).1 = f.i by A3,A2,Def9;
hence thesis by A2,A1,Def9,FINSEQ_1:40;
end;
theorem Th61:
f in doms F & g in doms G implies
(App(F^G)).(f^g) = ((App F).f) ^ ((App G).g)
proof
set FG=F^G,AF=App F,AG=App G,AFG=App FG;
assume
A1: f in doms F & g in doms G;
then
A2: f^g in doms FG by Th48;
A3: len (f^g) = len f + len g by FINSEQ_1:22;
then
A4: len (AF.f) = len f & len (AG.g) = len g &
len (AFG.(f^g)) = len f + len g by A1,A2,Def9;
A5: len f=len F & len g=len G by A1,Th47;
then
A6: dom f = dom F & dom g = dom G by FINSEQ_3:30;
for i st 1<=i & i <= len (AFG.(f^g)) holds
(AFG.(f^g)).i = ((AF.f) ^ (AG.g)).i
proof
let i;
assume 1<=i & i <= len (AFG.(f^g));
then
A7: i in dom (f^g) by A3,A4,FINSEQ_3:25;
then per cases by FINSEQ_1:25;
suppose
A8: i in dom f;
then i in dom (AF.f) by A4,FINSEQ_3:29;
hence ((AF.f) ^ (AG.g)).i = (AF.f).i by FINSEQ_1:def 7
.= (F.i).(f.i) by A8,A1,Def9
.= (FG.i).(f.i) by A8,A6,FINSEQ_1:def 7
.= (FG.i).((f^g).i) by A8,FINSEQ_1:def 7
.= (AFG.(f^g)).i by A2,A7,Def9;
end;
suppose ex n st n in dom g & i=len f + n;
then consider n such that
A9: n in dom g & i=len f + n;
n in dom (AG.g) by A4,A9,FINSEQ_3:29;
hence ((AF.f) ^ (AG.g)).i = (AG.g).n by A9,A4,FINSEQ_1:def 7
.= (G.n).(g.n) by A9,A1,Def9
.= (FG.i).(g.n) by A9,A5,A6,FINSEQ_1:def 7
.= (FG.i).((f^g).i) by A9,FINSEQ_1:def 7
.= (AFG.(f^g)).i by A2,A7,Def9;
end;
end;
hence thesis by A4,FINSEQ_1:22;
end;
registration
let D be non empty set;
let F be non empty D*-valued FinSequence;
cluster App F -> non-empty;
coherence
proof
now assume {} in rng App F;
then consider x such that
A1: x in dom App F & (App F).x={} by FUNCT_1:def 3;
reconsider x as FinSequence by A1;
len ((App F).x) = len x = len F by A1,Th47,Def9;
hence contradiction by A1;
end;
hence thesis by RELAT_1:def 9;
end;
end;
definition
let D be non empty set;
let f be D* -valued Function;
let x be object;
redefine func f.x -> FinSequence of D;
coherence
proof
per cases;
suppose x in dom f;
then f.x in rng f & rng f c= D* by FUNCT_1:def 3;
hence thesis by FINSEQ_1:def 11;
end;
suppose not x in dom f;
then f.x=<*>D by FUNCT_1:def 2;
hence thesis;
end;
end;
end;
definition
let D be non empty set;
let B be BinOp of D;
let F be D* -valued Function;
func B "**" F -> Function of dom F,D means :Def10:
for x st x in dom F holds it.x = B "**" (F.x);
existence
proof
deffunc F(object) = B "**" F.$1;
consider f be Function such that
A1: dom f = dom F &
for x st x in dom F holds f.x = F(x) from FUNCT_1:sch 3;
rng f c= D
proof
let y be object such that
A2: y in rng f;
consider x such that
A3: x in dom f & f.x=y by A2,FUNCT_1:def 3;
y = B "**" (F.x) by A3,A1;
hence thesis;
end;
then reconsider f as Function of dom F,D by A1,FUNCT_2:2;
take f;
thus thesis by A1;
end;
uniqueness
proof
let f1,f2 be Function of dom F,D such that
A4: for x st x in dom F holds f1.x = B "**" F.x and
A5: for x st x in dom F holds f2.x = B "**" F.x;
now let x;
assume
A6: x in dom F;
hence f1.x = B "**" F.x by A4
.= f2.x by A5,A6;
end;
hence thesis by FUNCT_2:12;
end;
end;
reserve
B,A,M for BinOp of D,
F,G for D* -valued FinSequence,
f for FinSequence of D,
d,d1,d2 for Element of D;
registration
let D be non empty set;
let B be BinOp of D;
let F be D* -valued FinSequence;
cluster B "**" F -> (len F)-element FinSequence-like;
coherence
proof
A1: dom (B "**" F)=dom F = Seg len F by FINSEQ_1:def 3,FUNCT_2:def 1;
then reconsider BF= B "**" F as FinSequence by FINSEQ_1:def 2;
len BF=len F by A1,FINSEQ_1:def 3;
hence thesis by CARD_1:def 7;
end;
end;
definition
let D be set;
let f be FinSequence of D;
redefine func <* f *> -> FinSequence of D*;
coherence
proof
rng <* f *> c= D*
proof
let y be object;
assume y in rng <* f *>;
nonempty closed -ounded Subset java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
then y = f by TARSKI:def 1;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
;
hence thesis by FINSEQ_1beingREAL inin holds X is ;
end;
end
theorem Th62:
A "**" <*f*> inX r -Xby :11;
proof
A1: len (A"**"<*f*>)=len <*f*>=1 by CARD_1:def 7;
1 ** **.1 =f :25;
then (A"**"<*f*>).1= A"**" f java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 19
hence thesis by A1,FINSEQ_1:40 r3
;
theorem Th63:
A "**" (F^G) = ( A "**" F )^(A "**"G)
proof
set FG=F = -r3 and
(A"* =F A "* G)= len G by def ;
A2:- rSEQ_4 1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
for n st java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
((A *"F )^( *"G)n
proof
let n such that
A3: 1<=n & n <= len F+len G;
per cases by A3,A2,FINSEQ_1:25,FINSEQ_3:25;
suppose
A4: n in dom F;
then n in dom ( A "**" F ) by A1,FINSEQ_3:29;
hence (( A "**" F )^(A "**"G)).n = ( A "**" F ).n by FINSEQ_1:def 7
.= A "**" (F .n) by A4,Def10
.= A"**" (FG.n) by A4,FINSEQ_1:def 7
.= (A "**" FG).n by A3,A2,Def10,FINSEQ_3:25;
end;
suppose ex k st k in dom G & n=len F + k;
then consider k such that
A5: k in dom G & n=len F + k;
k in dom ( A "**" G ) by A5,A1,FINSEQ_3:29;
hence (( A "**" F )^(A "**"G)).n = ( A "**" G ).k by A1,A5,FINSEQ_1:def 7
.= A "**" (G .k) by A5,Def10
.= A"**" (FG.n) by A5,FINSEQ_1:def 7
.= (A "**" FG).n by A3,A2,Def10,FINSEQ_3:25;
end;
end;
hence thesis by A2,CARD_1:def 7;
end;
registration
let f be non empty FinSequence;
cluster <*f*> -> non-empty;
coherence;
end;
reserve
F,G for non-empty non empty FinSequence of D*,
f for non empty FinSequence of D;
theorem Th64:
A is commutative associative
implies
for f,g be non empty FinSequence
for F be Function of dom f,D, G be Function of dom g,D,
FG be Function of dom (f^g),D st f=F & g=G & f^g = FG
holds
A$$ ([#]dom (f^g),FG) = A.(A$$([#]dom f,F),A$$([#]dom g,G))
proof
assume
A1: A is commutative associative;
defpred P[Nat] means
for f,g be non empty FinSequence st $1=len g
for F be Function of dom f,D, G be Function of dom g,D,
FG be Function of dom (f^g),D st f=F & g=G & f^g = FG
holds
A$$ ([#]dom (f^g),FG) = A.(A$$([#]dom f,F),A$$([#]dom g,G));
A2: P[1]
proof
let f,g be non empty FinSequence such that
A3: 1=len g;
let F be Function of dom f,D,G be Function of dom g,D,
FG be Function of dom (f^g),D such that
A4: f=F & g=G & f^g = FG;
len (f^g) = len f+1 by A3,FINSEQ_1:22;
then dom (f^g) = Seg (len f+1) by FINSEQ_1:def 3;
then
A5: dom (f^g) = Seg (len f)\/{len f + 1} &
Seg (len f) = dom f by FINSEQ_1:9,def 3;
len f + 1 in {len f + 1} by TARSKI:def 1;
then reconsider L1=len f+1 as Element of dom (f^g) by A5,XBOOLE_0:def 3;
dom f c= dom (f^g) by FINSEQ_1:26;
then reconsider Df = dom f as Element of Fin dom (f^g) by FINSUB_1:def 5;
len f < len f+1 by NAT_1:13;
then
A6: not L1 in Df by A5,FINSEQ_1:1;
A7: g = <*g.1*> by A3,FINSEQ_1:40;
A8: dom g ={1} & 1 in {1} by A3,FINSEQ_1:2,def 3;
A9: FG|Df = F|(dom f) by A4;
A$$ ([#]dom (f^g),FG) = A.(A$$ (Df,FG),FG.L1) by A1,A6,A5,SETWOP_2:2
.= A.(A$$ (Df,FG),A$$([#]dom g,G)) by A4,A7,A8,A1,SETWISEO:17
.= A.(A$$([#]dom f,F),A$$([#]dom g,G)) by A9,A1,Th1;
hence thesis;
end;
A10: for n st 1<=n holds P[n] implies P[n+1]
proof
let n such that
A11: 1<=n and
A12: P[n];
set n1=n+1;
let f,g be non empty FinSequence such that
A13: n1=len g;
let F be Function of dom f,D, G be Function of dom g,D,
FG be Function of dom (f^g),D such that
A14: f=F & g=G & f^g = FG;
rng f c= D & rng g c= D by A14,RELAT_1:def 19;
then reconsider f1=f, g1=g as FinSequence of D by FINSEQ_1:def 4;
n <n1 by NAT_1:13;
then
A15: len (g|n)=n by A13,FINSEQ_1:59;
reconsider gn=g1|n assume x in rng -s1;
A6:n indom -s1 and
then reconsider Gn =reconsider n as Element of NAT by A6;
f1^(g1| then x i- --X by A2,A8;
then rng (f^gn) -1 is convergent by A3;
then reconsider fgn= f^n as Function of dom (^n)D by FUNCT_2:;
A16: g = gn^<*g.n1*> by A13,FINSEQ_3:55;
<*g.n1*> is FinSequence of D by A16,FINSEQ_1:36;
c=D by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 5
then reconsider gn1=<*g.n1*> as Function of for X be Subset of REAL,p be Real holds p+X ={p+3 :r3 in X}
: len <g.1*= FINSEQ_1:0;
projava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
then f^g = (f^gn)^<*g.n1*> by FINSEQ_1:32;
hence A $$ ([#]dom (f^g),FG)
=A.($ (#dom (^n)fgn)A $(#dom (*.1*)gn1) by A14,17,2
.= A.(A.(A$$ endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A $$([#]dom (<*g.n1*>),gn1)) by A14,A12,A15
.= A.e;
A $$([#]dom (<*g.java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 26
.= A thus r X implies q3+r in q3++ by MEMBER_1:41;
end;
A18;
let f,g be non empty FinSequence;
eorem
hence thesis by A18;
end;
theorem Th65:
M +s
implies
M $$ ([#]dom (F^G), AA3:in ;
M.(M $$ ([#]dom F, A "**" F), M $$ ([#]dom G, A "**" G))
proof
A1: dom (A "**" (F^G) ) = dom (F
& dom (A is bounded_above + bounded_above
A "**" (F^G) = (A "**" F) ^ (A "**" G) by Th63;
hence thesis by A1,Th64;
end;
theorem Th66:
M is commutative associative
implies
M $$ ([#]dom <*f*>,A "**" <*f*>) = A "**" f
proof
assume
A1: M is commutative associative;
A2: dom <*f*> = Seg 1 & 1 in {1} by FINSEQ_1:38,TARSKI:def 1;
then reconsider O=1 as Element of dom <*f*> by FINSEQ_1:2;
thus M $$ ([#]dom <*f*>, A "**" <*f*>) = (A "**" <*f*>).O
by A1,A2,FINSEQ_1:2,SETWISEO:17
.= <*A "**" f*>.O by Th62
.= A "**" f;
end;
theorem Th67:
M is commutative associative & A is commutative associative &
M is_left_distributive_wrt A
implies
for fM be Function of dom f,D st
for x st x in dom f holds
fM.x = M.( M$$ ([#]dom F, A "**" F), f.x) holds
M $$ ([#]dom (F^<*f*>), A "**" (F^<*f*>))= A $$ ([#]dom f,fM)
proof
assume
A1: M is commutative associative & A is commutative associative &
M is_left_distributive_wrt A;
defpred P[Nat] means for f st len f=$1
for fM be Function of dom f,D st
for x st x in dom f holds fM.x = M.( M$$ ([#]dom F, A "**" F), f.x)
holds
M $$ ([#]dom (F^<*f*>), A "**" (F^<*f*>))= A $$ ([#]dom f,fM);
A2: P[0];
A3: P[n] implies P[n+1]
proof
assume
A4: P[n];
set n1=n+1;
let f such that
A5: len f=n1;
let fM be Function of dom f,D such that
A6: for x st x in dom f holds fM.x = M.( M$$ ([#]dom F, A "**" F), f.x);
A7: 1<=n1 by NAT_1:11;
then n1 in dom f by A5,FINSEQ_3:25;
then f.n1 in rng f c= D by FUNCT_1:def 3;
then reconsider fn1=f.n1 as Element of D;
reconsider N1=n1 as Element of dom f by A7,A5,FINSEQ_3:25;
dom <*f*> = Seg 1 & 1 in {1} by FINSEQ_1:38,TARSKI:def 1;
then reconsider O=1 as Element of dom <*f*> by FINSEQ_1:2;
A8: M $$ ([#]dom <*f*>, A "**" <*f*>) = A "**" f by A1,Th66;
per cases by NAT_1:14;
suppose
A9: n=0;
then f= <*f.n1*> by A5,FINSEQ_1:40;
then
A10: A"**"f = fn1 by FINSOP_1:11;
dom f = {n1} by A9,A5,FINSEQ_1:2,def 3;
hence A $$ ([#]dom f,fM) = fM.N1 by A1,SETWISEO:17
.= M.( M$$ ([#]dom F, A "**" F), A"**"f) by A10,A6
.= M $$ ([#]dom (F^<*f*>), A "**" (F^<*f*>)) by A8,A1,Th65;
end;
suppose
A11: n>=1;
A12: n < n1 by NAT_1:13;
then
A13: len (f|n) =n by A5,FINSEQ_1:59;
reconsider fn=f|n as non empty FinSequence of D by A11;
A14: f = fn^<*fn1*> by A5,FINSEQ_3:55;
set fM1 = fM|(dom fn);
A15: dom fn c= dom f by A14,FINSEQ_1:26;
then reconsider dfn=dom fn as Element of Fin dom f by FINSUB_1:def 5;
dom fM = dom f by FUNCT_2:def 1;
then
A16: dom fM1 = dom fn by A14,FINSEQ_1:26,RELAT_1:62;
rng fM1 c= D;
then reconsider fM1 as Function of dom fn,D by A16,FUNCT_2:2;
A17: fM1|(dom fn) = fM1;
for x st x in dom fn holds
fM1.x = M.( M$$ ([#]dom F, A "**" F), fn.x)
proof
let x such
A18: x in dom fn;
X Subset REAL, be;
A6;
end;
then M $$ ([#]dom (F^<*fn*>), A "**" (F^< byA2:;
.= A $$ (dfn,fM) by A17,A1,Th1;
then
A19:;
= M.(M $$ ([#]dom F, A "**" F), M $$ ([#]dom <*fn*>, A "**" <*fn*>))
,Th65
.= M.(M $$ ([#]java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 5
t;
A21 f =n1A5F:def3
.= Seg n \/{N1} by let s;
.= \{} byA13F:ef3;
A"**"f = A.(A"**"fn,fn1) by A14,A11, end;
hence M $$ ([#]dom (F then X> tq3 SEQ_443;
= M.(M $$ ([#]dom F,
.= A.(M.(M $$ ([#]dom F, A s {+r3: r3in}by ;
M.(M $$ ([#]dom then that
.= A.(A $$ (dfn,fM),fM.N1) by A19,A6
.= A $$ ([#]dom f,fM) by let X be non empty Subset of REAL be empty REALthat
A1 is;
end;
P[n] from NAT_1:sch 2(A2,A3);
then P[len f];
hence thesis;
end;
theorem Th68:
len F = 1 & M is commutative associative &
A is commutative associative implies
M $$ ([#]dom F, A "**" F) = A $$ ([#]dom App F, M "**" App(F))
proof
set F1 =F.1;
assume that
A1: len F=1 and
A2: M is commutative associative & A is commutative associative;
A3: F= <*F.1*> by A1,FINSEQ_1:40;
then dom F={1} by FINSEQ_1:2,38;
then
A4: [#]dom F = {.1 .} & 1 is Element of dom F by TARSKI:def 1;
then M $$ ([#]dom F, A "**" F) = (A "**" F).1 by A2,SETWISEO:17;
then
A5: M $$ ([#]dom F, A "**" F) = A "**" F1 by A4,Def10;
set f=M "**" App(F), X = dom App F;
A6: X =doms F by Def9;
consider G be Function of Fin X, D such that
A7: A $$ ([#]X,f) = G.[#]X and
for e being Element of D st e is_a_unity_wrt A holds G.{} = e and
A8: for x being Element of X holds G.{x} = f.x and
A9: for B9 being Element of Fin X st
B9 c= [#]X & B9 <> {} for x being Element of X st
x in [#]X \ B9 holds G.(B9 \/ {x}) = A.(G.B9,f.x) by A2,SETWISEO:def 3;
A10: len F1 >=1+0 by A4,NAT_1:13;
then consider s be sequence of D such that
A11: s.1 = F1.1 and
A12: for n being Nat st 0 <> n & n < len F1 holds s.(n + 1) =
A.(s.n,F1.(n + 1)) and
A13: A "**" F1 = s.(len F1) by FINSOP_1:1;
deffunc R(Nat) = { <* i *> where i is Element of NAT: i in Seg $1};
defpred P[Nat] means $1 <= len F1 implies
for B9 be Element of Fin X st B9 = R($1) holds G.B9 = s.$1;
A14: P[1]
proof
assume
A15: 1<= len F1;
let B9 be Element of Fin X such that
A16: B9 = R(1);
A17: 1 in dom F1 by A15,FINSEQ_3:25;
then F1.1 in rng F1 & rng F1 c= D by FUNCT_1:def 3;
then reconsider F11=F1.1 as Element of D;
A18: R(1) c= {<*1*>}
proof
let y;
assume y in R(1);
then consider i be Element of NAT such that
A19: <* i *>= y & i in Seg 1;
i = 1 by A19,FINSEQ_1:2,TARSKI:def 1;
hence thesis by A19,TARSKI:def 1;
end;
{<*1*>} c= R(1)
proof
let y be object;
assume y in {<*1*>};
then y=<*1*> & 1 in Seg 1 by TARSKI:def 1;
hence thesis;
end;
then
A20: R(1) = { <*1*>} by A18;
A21: <*1*> in B9 & B9 c= X by A16,A20,FINSUB_1:def 5,TARSKI:def 1;
then G.B9 = f.<*1*> by A16,A20,A8;
then G.B9= M "**" ((App(F)). <*1*>) by A21,Def10;
then G.B9= M "**" <*F11*> by A3,Th60,A17;
hence thesis by A11,FINSOP_1:11;
end;
A22: for j st 1 <= j holds P[j] implies P[j+1]
proof
let j such that
A23: 1 <= j and
A24: P[j];
set j1=j+1;
assume
A25: j1 <= len F1;
j1 in dom F1 by A25,FINSEQ_3:25,NAT_1:11;
then F1.j1 in rng F1 & rng F1 c= D by FUNCT_1:def 3;
then reconsider F1j1=F1.j1 as Element of D;
let B9 be Element of Fin X such that
A26: B9=R(j1);
A27: j < len F1 by A25,NAT_1:13;
R(j) c= X
proof
let y;
assume y in R(j);
consideri of NAT that
A28: <* i *>= y & i in Seg j;
<=jby A28,INSEQ_11
then i<= len F1 by A27,XXREAL_0:2;
then <i>1indom len **=1 byA29,INSEQ_140FINSEQ_325java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
hence thesis by A28
end;
then reconsider Rj=R(j) as Element of Fin X by FINSUB_1:def 5;
A30: Rj c= B9
proof
let y;
assume y in Rj;
then consider i be Element of NAT such that
A31: <* i *>= y & i in Seg j;
:<i < by A31F:;
then i<= j1 by NAT_1:13;
then i in Seg j1 by A32;
hence thesis by A31,A26;
end;
j1 in Seg j1 by FINSEQ_1:4;
=Xby:;
then
A33: {<*j1*>} c= B9 by ZFMISC_1:e;
B9 c= Rj \/ {<*j1*>}
proof
let y;
assume y in java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 11
consideri such that
A34: <* i *>= y & i in Seg j1 by A26;
i in (Seg j) \/{j1} by java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
theni Seg ori {1}by XBOOLE_0: 3;
then i in Seg j or i = j1 ,Xbe SubsetofREAL
A1: 1/ :r3inX}
,: 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end;
then
A35: B9 = Rj \/ {<*j1*>} by A33,A30,XBOOLE_1:8;
A36: G.Rj = s.j by A24,A25,NAT_1:13;
A37: Rj c= [#]X by FINSUB_1:def 5;
j in Seg j by A23;
then
A38: <*j*> in Rj;
A39: <*j1*>.1 in dom F1 & len <*j1*>=1 & <*j1*>.1 =j1
by A25,FINSEQ_1:40,FINSEQ_3:25,NAT_1:11;
then reconsider J=<*j1*> as Element of X by A6,A3,Th51;
f.J = M "**" ((App(F)). <*j1*>) by Def10;
then f.J= M "**" <*F1j1*> by A3,A39,Th60;
then
A40: f.J = F1j1 by FINSOP_1:11;
not J in Rj
proof
assume J in Rj;
then consider i be Element of NAT such that
A41: <* i *>= J & i in Seg j;
i <= j & j1=i by A41,FINSEQ_1:1,76;
hence thesis by NAT_1:13;
end;
then J in [#]X \ Rj by XBOOLE_0:def 5;
then G.B9 = A.(s.j,F1j1) by A40,A36,A35,A37,A38,A9;
hence thesis by A12,A25,A23,NAT_1:13;
end;
A42: for i st 1 <= i holds P[i] from NAT_1:sch 8(A14,A22);
R(len F1)=X
proof
thus R(len F1) c= X
proof
let y;
assume y in R(len F1);
then consider i be Element of NAT such that
A43: <* i *>= y & i in Seg len F1;
<* i *>.1 in dom F1 & len <*i*>=1 by A43,FINSEQ_1:40,def 3;
hence thesis by A43,A6,A3,Th51;
end;
let y such that
A44: y in X;
reconsider f=y as FinSequence by A44;
len f = 1 & f.1 in dom F1 by Th51,A44,A3;
then f=<*f.1*> & f.1 in Seg len F1 by FINSEQ_1:40,def 3;
hence thesis;
end;
hence thesis by A5,A13,A7,A42,A10;
end;
theorem
M is commutative associative &
A is commutative associative having_a_unity &
M is_distributive_wrt A
implies
M $$ ([#]dom F, A "**" F) = A $$ ([#]dom App F, M "**" App(F))
proof
assume that
A1: M is commutative associative and
A2: A is commutative associative having_a_unity and
A3: M is_distributive_wrt A;
defpred R[Nat] means
for F be non-empty non empty FinSequence of D* st len F=$1 holds
M $$ ([#]dom F, A "**" F) = A $$ ([#]dom App F, M "**" App(F));
A4: R[0];
A5: R[n] implies R[n+1]
proof
assume
A6: R[n];
per cases;
suppose n=0;
hence thesis by A1,A2,Th68;
end;
suppose
A7: n>0;
let F be non-empty non empty FinSequence of D* such that
A8: len F=n+1;
1<= n+1 by NAT_1:11;
then len F in dom F by A8,FINSEQ_3:25;
then reconsider FL=F.len F as non empty FinSequence of D;
set FF=F|n,GG = <* FL *>;
A9: len FF=n by A8,FINSEQ_1:59,NAT_1:11;
reconsider FF as non-empty non empty FinSequence of D* by A7;
A10: F = FF ^ GG by A8,FINSEQ_3:55;
defpred P[object,object,object] means
for f,g be FinSequence st f = $1 & g=$2
for fg be FinSequence of D st fg= (App(F)).(f^g) holds $3 = M"**" fg;
A11: for x,y st x in NAT* & y in NAT* ex z be object st z in D & P[x,y,z]
proof
let x,y;
assume x in NAT* & y in NAT*;
then reconsider x,y as FinSequence;
reconsider fg=(App(F)).(x^y) as FinSequence of D;
take M "**" fg;
thus thesis;
end;
consider f being Function of [:NAT*,NAT*:],D such that
A12: for x,y st x in NAT* & y in NAT* holds P[x,y,f.(x,y)]
from BINOP_1:sch 1(A11);
reconsider X=doms FF,Y=doms GG as Element of Fin (NAT*)
by FINSUB_1:def 5;
deffunc g(Element of NAT*) = A$$(X, (curry' f).$1);
consider g be Function of NAT*,D such that
A13: for e be Element of NAT* holds g.e=g(e) from FUNCT_2:sch 4;
A14: dom f = [:NAT*,NAT*:] by FUNCT_2:def 1;
A15: A$$(Y,g) = A$$([#]dom App F, M "**" App(F))
proof
set C=NAT-concatenation, s = C| [:X,Y:];
A16: [:X,Y:] c= [:NAT*,NAT*:] =dom C by FUNCT_2:def 1,ZFMISC_1:96;
then
A17: dom s = [:X,Y:] by RELAT_1:62;
C.:[:X,Y:] = doms (FF^GG) by Th54;
then
A18: rng s = doms (FF^GG) by RELAT_1:115;
then
A19: rng s = dom App F by A10,Def9;
A20: s is one-to-one
proof
let x1,x2 be object such that
A21: x1 in dom s & x2 in dom s & s.x1=s.x2;
consider f1,g1 be object such that
A22: f1 in X & g1 in Y & x1=[f1,g1] by A21,A17,ZFMISC_1:def 2;
consider f2,g2 be object such that
A23: f2 in X & g2 in Y & x2=[f2,g2] by A21,A17,ZFMISC_1:def 2;
reconsider f1,f2,g1,g2 as NAT-valued FinSequence by A22,A23;
len f1 = len FF & len f2 = len FF by A22,A23,Th47;
then
A24: f1 is (len FF)-element & f2 is (len FF)-element
by CARD_1:def 7;
s.x1 = C.x1 & s.x2 = C.x2 by A17,A21,FUNCT_1:49;
then s.x1= C.(f1,g1) & s.x2= C.(f2,g2) by A22,A23,BINOP_1:def 1;
then s.x1= f1^g1 & s.x2= f2^g2 by FOMODEL0:4;
then f1=f2 & g1=g2 by A21,A24,FOMODEL0:41;
hence thesis by A22,A23;
end;
A25: dom (f| [:X,Y:]) = [:X,Y:] by A14,RELAT_1:62,ZFMISC_1:96;
dom (M "**" App(F)) = dom (App F) by FUNCT_2:def 1;
then
A26: dom (M "**" App(F)) = rng s by A10,A18,Def9;
then
A27: dom ((M "**" App(F))* s)=dom s by RELAT_1:27;
for x st x in dom s holds (f| [:X,Y:]).x = ((M "**" App(F))* s).x
proof
let x;
assume
A28: x in dom s;
then consider f1,g1 be object such that
A29: f1 in X & g1 in Y & x=[f1,g1] by A17,ZFMISC_1:def 2;
reconsider f1,g1 as NAT-valued FinSequence by A29;
rng f1 c= NAT & rng g1 c= NAT;
then f1 is FinSequence of NAT & g1 is FinSequence of NAT
by FINSEQ_1:def 4;
then
A30: f1 in NAT* & g1 in NAT* by FINSEQ_1:def 11;
(f1^g1) in doms (F) by A10,Th48,A29;
then
A31: (f1^g1) in dom App(F) by Def9;
s.x = C.x by A17,A28,FUNCT_1:49;
then s.x= C.(f1,g1) by A29,BINOP_1:def 1;
then s.x= f1^g1 by FOMODEL0:4;
then ((M "**" App(F))* s).x = (M "**" App(F)).(f1^g1)
by A28,A27,FUNCT_1:12;
then
A32: ((M "**" App(F))* s).x = M "**" ((App(F)).(f1^g1)) by A31,Def10;
(f| [:X,Y:]).x = f.x = f.(f1,g1)
by A28,A25,A16,A29,BINOP_1:def 1,FUNCT_1:47;
hence thesis by A32,A12,A30;
end;
then f| [:X,Y:] = (M "**" App(F)) * s by A25,A26,A16,RELAT_1:27;
then A$$([:X,Y:],f) = A$$([#]dom App F, M "**" App(F))
by A2,A17,A20,A19,SETWOP_2:5;
hence thesis by A13,A2,MATRIX_3:32;
end;
A33: for h be FinSequence st h in Y holds
g.h = M.( M $$ ([#]dom FF, A "**" FF), FL.(h .1))
proof
let h be FinSequence;
assume
A34: h in Y;
then h in { <*i*> where i is Element of NAT:i in dom FL} by Th55;
then consider i be Element of NAT such that
A35: h=<*i*> & i in dom FL;
reconsider H=h as Element of NAT* by A35;
FL.i in rng FL by A35,FUNCT_1:def 3;
then reconsider FLi=FL.i as Element of D;
set AFF=App(FF);
defpred P[set] means $1<>{} & $1 c= X implies
for BF be Element of Fin (dom AFF)
for BN be Element of Fin (NAT*) st BF=$1 =BN holds
M.(A $$ (BF, M "**" App(FF)), FL.i) = A$$(BN, (curry' f).H);
A36: P [{}.(NAT*)];
A37: for C being Element of Fin (NAT*), b being Element of NAT* holds
P[C] & not b in C implies P[C \/ {b}]
proof
let C be Element of Fin (NAT*), b be Element of NAT* such that
A38: P[C] & not b in C and
C \/ {b} <>{} and
A39: C \/ {b} c= X;
let BF be Element of Fin (dom AFF), BN be Element of Fin (NAT*)
such that
A40: BF= C \/ {b} =BN;
C c= C \/ {b} by XBOOLE_1:7;
then
A41: C c= X by A39;
then C c= dom AFF by Def9;then
reconsider CF = C as Element of Fin (dom AFF) by FINSUB_1:def 5;
b in {b} by TARSKI:def 1;
then
A42: b in C \/ {b} by XBOOLE_0:def 3;
reconsider bF = b as Element of dom AFF by A42,A39,Def9;
benonSubset ;
then
A44: (curry' f).H.b=f.(b,H) by FUNCT_5:22;
(App(GG)).H = <*FLi*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A45: (App(F java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A46: M "* endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
by A43,FINSOP_1:4,NAT_1:14;
per;
suppose
47 =};
hence M.(A $$ (BF, M "**" AFF), A12: s") c= X
= M.((M java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
.= M.(M "**" ( reconsider x as Element of asElementofNAT by A13;
.= (curry' f).H.b then1(1.)in by ;
.= A$$(BN, (curry' f).H end;
end;
hence contrad A2,,XREAL_245;
A48: C<>{};
A49: (M "**" AFF).bF = M "**" (AFF.b) by Def10;
thus A$$(BN, (curry' f).H)
= A.(A$$(C, (curry' f).H),((curry' f).H).b )
by A2,A38,A40,SETWOP_2:2
.= A.(M.(A $$ (CF, M "**" AFF), FLi),((curry' f).H).b )
by A48,A41,A38
.= A.(M.(A $$ (CF, M "**" AFF), FLi), M.(M "**" (AFF.b),FLi) )
by A44,A12,A45,A46
.= M.(A.(A $$ (CF, M "**" AFF),M "**" (AFF.b)),FLi)
by A3,BINOP_1:11
.= M.(A $$ (BF, M "**" AFF), FL.i) by A40,A49,A2,A38,SETWOP_2:2;
end;
end;
A50: for B being Element of Fin (NAT*) holds P[B]
from SETWISEO:sch 2(A36,A37);
M.( A$$([#]dom App(FF), M "**" App(FF)), FL.i) = A$$(X, (curry' f).H)
by A50,Def9;
then M.( A$$([#]dom App(FF), M "**" App(FF)), FL.i) = g.h by A13;
hence thesis by A35,A9,A6;
end;
defpred h[object,object] means for f be Function st f=$1 holds $2=f.1;
A51: for x st x in Y ex y st y in dom FL & h[x,y]
proof
let x;
assume x in Y;
then x in { <*i*> where i is Element of NAT:i in dom FL} by Th55;
then consider i be Element of NAT such that
A52: x=<*i*> & i in dom FL;
take i;
thus thesis by A52;
end;
consider h be Function such that
A53: dom h = Y & rng h c= dom FL & for x be object st
x in Y holds h[x,h.x] from FUNCT_1:sch 6(A51);
dom FL c= rng h
proof
let y such that
A54: y in dom FL;
<*y*> in { <*i*> where i is Element of NAT:i in dom FL} by A54;
then <*y*> in Y by Th55;
then h.<*y*> in rng h & h.<*y*> = <*y*>.1 by A53,FUNCT_1:def 3;
hence thesis;
end;
then
A55: rng h = dom FL by A53;
A56: h is one-to-one
proof
let x1,x2 be object such that
A57: x1 in dom h & x2 in dom h & h.x1=h.x2;
x1 in { <*i*> where i is Element of NAT:i in dom FL} by A53,A57,Th55;
then consider i1 be Element of NAT such that
A58: x1=<*i1*> & i1 in dom FL;
x2 in { <*i*> where i is Element of NAT:i in dom FL} by A53,A57,Th55;
then consider i2 be Element of NAT such that
A59: x2=<*i2*> & i2 in dom FL;
h.x1 = <*i1*>.1 & h.x2 = <*i2*>.1 by A58,A59,A57,A53;
hence thesis by A58,A59,A57;
end;
deffunc fM(object) = M.( M$$ ([#]dom FF, A "**" FF), FL.$1);
A60: x in dom FL implies fM(x) in D
proof
assume x in dom FL;
then FL.x in rng FL c= D by FUNCT_1:def 3;
then reconsider FLx =FL.x as Element of D;
M.( M$$ ([#]dom FF, A "**" FF), FLx) in D;
hence thesis;
end;
consider fM be Function of dom FL,D such that
A61: x in dom FL implies fM.x = fM(x) from FUNCT_2:sch 2(A60);
A62: dom g = NAT* by FUNCT_2:def 1;
A63: dom fM=dom FL by FUNCT_2:def 1;
then
A64: dom (fM * h) = Y by A53,RELAT_1:27;
x in Y implies (g|Y).x = (fM * h).x
proof
assume
A65: x in Y;
then x in { <*i*> where i is Element of NAT:i in dom FL} by Th55;
then consider i be Element of NAT such that
A66: x=<*i*> & i in dom FL;
A67: g.x = (g|Y).x by A65,FUNCT_1:49;
A68: g.x = M.( M $$ ([#]dom FF, A "**" FF),FL.(<*i*>.1)) by A65,A66,A33;
(fM * h).x = fM.(h.x) & h.x in dom fM & h.x = <*i*>.1
by A65,A64,A66,A53,FUNCT_1:11,13;
hence thesis by A68,A67,A61;
end;
then g|Y = fM * h by A62,A63,A53,RELAT_1:27;
then A $$ ([#]dom FL, fM) = A$$(Y,g) by A53,A55,A56,A2,SETWOP_2:5;
thesisbyA10,15,,A61,,2A3,:def11;
end;
end;
R[n] from NAT_1:sch 2(A4,A5);
hence thesis;
end;
begin :: Combination of Sign and Characteristic Functions
definition
let D be non empty set;
let B be BinOp of D;
let fper cases;
let X be set;
(BX - FinSequenceof Dmeans:ef11:
dom it = dom f &
iindom it holds
( i in X implies it.i = (the_inverseOp_wrt B).(f.i)) &
noti in implies it.i = f.i);
existence
proof
hencethesis A4:1;
(not $1 in X implies $2 =
($1 in X implies $2 = (the_inverseOp_wrt B).(f.$1));
A1: for k st
proof
let k such that
A2: k in Seg len f;
k in dom f by A2,FINSEQ_1:def 3;
then
A3: f.k in rng f c= D by FUNCT_1:def 3;
then reconsider fk = f.k as Element of D;
A4: (the_inverseOp_wrt B).fk is Element of D;
per cases;
suppose k in X;
hence thesis by A4;
end;
suppose not k in X;
hence thesis by A3;
end;
end;
consider p be FinSequence of D such that
A5: dom p = Seg len f &
for k st k in Seg len f holds P[k,p.k] from FINSEQ_1:sch 5(A1);
take p;
thus thesis by A5,FINSEQ_1:def 3;
end;
uniqueness
proof
let it1,it2 be FinSequence of D such that
A6: dom it1 = dom f and
A7: for i st i in dom it1 holds
( i in X implies it1.i = (the_inverseOp_wrt B).(f.i)) &
( not i in X implies it1.i = f.i) and
A8: dom it2 = dom f and
A9: for i st i in dom it2 holds
( i in X implies it2.i = (the_inverseOp_wrt B).(f.i)) &
( not i in X implies it2.i = f.i);
for i st i in dom it1 holds it1.i=it2.i
proof
let i such that
A10: i in dom it1;
per cases;
suppose
A11: i in X;
hence it1.i = (the_inverseOp_wrt B).(f.i) by A10,A7
.= it2.i by A6,A8,A9,A11,A10;
end;
suppose
A12: not i in X;
hence it1.i=f.i by A7,A10
.= it2.i by A9,A6,A8,A12,A10;
end;
end;
hence thesis by A6,A8;
end;
end;
registration
let D be non empty set;
let B be BinOp of D;
let f be FinSequence of D;
let X be set;
cluster SignGen(f,B,X) -> len f-element;
coherence
proof
dom SignGen(f,B,X) = dom f by Def11;
then len SignGen(f,B,X) = len f by FINSEQ_3:29;
hence thesis by CARD_1:def 7;
end;
end;
reserve f,g for FinSequence of D,
a,b,c for set,
F,F1,F2 for finite set;
theorem Th70:
X misses dom f implies SignGen(f,B,X) = f
proof
assume
A1: X misses dom f;
A2: dom f = dom SignGen(f,B,X) by Def11;
for i st i in dom f holds SignGen(f,B,X).i = f.i
proof
let i such that
A3: i in dom f;
not iin by ,A1XBOOLE_03java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
hencethesis ;
end;
theoremhence by SETFAM_13
SignGen(f,B,{}) = f
proof
}java.lang.StringIndexOutOfBoundsException: Range [18, 11) out of bounds for length 18
hence thesis by Th70;
end;
theorem Th72:
SignGen(f|n,B,X) end;
proof
:lenSignGen(|,BX)=len (f|) SignGenfB) =len
by CARD_1:def 7;
;
n> f;
then f|n =f & SignGen(f,B,X) |n =SignGen(f,B,X) by A1,FINSEQ_1:58;
hence thesis;
end;
suppose n <len f;
then
A2: len (f|n) = n & len SignGen(f|n,B,X) = n & len (SignGen(f,B,X) |n) =n
by A1,FINSEQ_1:59;
for i st 1<=i & i <= len SignGen(f|n,B,X) holds SignGen(f|n,B,X).i =
(SignGen(f,B,X) |n).i
proof
let i such that
A3: 1<=i & i <= len SignGen(f|n,B,X);
A4: i in dom SignGen(f|n,B,X) & i in dom (SignGen(f,B,X)|n)
by A3,A2,FINSEQ_3:25;
then
A5: i in dom SignGen(f,B,X) by RELAT_1:57;
per cases;
suppose
A6: i in X;
hence SignGen(f|n,B,X).i = (the_inverseOp_wrt B).((f|n).i) by Def11,A4
.= (the_inverseOp_wrt B).(f.i) by A2,A3,FINSEQ_3:112
.= SignGen(f,B,X).i by Def11,A5,A6
.= (SignGen(f,B,X)|n).i by A4,FUNCT_1:47;
end;
suppose
A7: not i in X;
hence SignGen(f|n,B,X).i = (f|n).i by Def11,A4
.= f.i by A2,A3,FINSEQ_3:112
.= SignGen(f,B,X).i by Def11,A5,A7
.= (SignGen(f,B,X)|n).i by A4,FUNCT_1:47;
end;
end;
hence thesis by A2;
end;
end;
theorem Th73:
n+1 = len f & n+1 in X implies
SignGen(f,B,X) = SignGen(f|n,B,X)^<*(the_inverseOp_wrt B).(f.(n+1))*>
proof
set n1=n+1, I=(the_inverseOp_wrt B).(f.n1);
assume
A1: n1 = len f & n1 in X;
n <=n+1 by NAT_1:13;
then
A2: len (f|n)=n by A1,FINSEQ_1:59;
then
A3: len SignGen(f|n,B,X) = n&len <*I*>=1 & len SignGen(f,B,X) = len f
by CARD_1:def 7;
A4: SignGen(f|n,B,X) = SignGen(f,B,X) |n by Th72;
(SignGen(f|n,B,X)^<*I*>).i
proof
let i such that
A5: 1<= i & i <= len SignGen(f,B,X);
len (SignGen(f|n,B,X)^<*I*>)=n1 by A2,CARD_1:def 7;
then
A6: i in dom (SignGen(f|n,B,X)^<*I*>) & i in dom SignGen(f,B,X)
by A1,A3,A5,FINSEQ_3:25;
then per cases by FINSEQ_1:25;
suppose
A7: i in dom SignGen(f|n,B,X);
hence (SignGen(f|n,B,X)^<*I*>).i = SignGen(f|n,B,X).i by FINSEQ_1:def 7
.=SignGen(f,B,X).i by A4,A7,FUNCT_1:47;
end;
:: http://creativecommons.org
TOPREAL1,JORDAN1E, MATRIX_1, SEQ_4, PSCOMP_1, XXREAL_2, TOPREAL2,
A8: j in dom <*I , java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 79
j{1 A8FINSEQ_1:2def 8java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
definitionsTARSKIXBOOLE_0;
hence (SignGen JORDAN4,SPRECT_3,TOPREAL3, JORDAN8, PARTFUN2, SPRECT_1, XBOOLE_0,
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
,A3,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
theorem Th74:
n+1 = len f & not n+1 in X implies
SignGen(f,B,X) = SignGen(f|n,B,X)^<*f.(n+1)*>
proof
set n1=n+1, I=f.n1;
assume
A1: n1 = len f & not n1 in X;
n <=n+1 by NAT_1:13;
then
A2: len (f|n)=n by A1,FINSEQ_1:59;
then
A3: len SignGen(f|n,B,X) = n & len <*I*> =1 & len SignGen(f,B,X) = len f
by CARD_1:def 7;
A4: SignGen(f|n,B,X) = SignGen(f,B,X) |n by Th72;
for i st 1<= i & i <= len SignGen(f,B,X) holds SignGen(f,B,X).i =
(SignGen(f|n,B,X)^<*I*>).i
proof
ex st in X &in X&s=f FUNCT_2:;
A5;
(fnBX)**>= A2CARD_1: 7
then
A6: i in dom (SignGen(f|n,B f. f.X :22;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then .= G*(i G(,j1`1 byA1,A2,A11,A16,GOBOARD5:2
suppose
A7: i in dom SignGen(f|n,B,X);
letbeGoboard;
SignGenfBX.by A4,FUNCT_1:47;
end;
suppose beNatstj indom <I* &i=len (f|nBX j;
then jbesuch
:jdom <I* i=enSignGen(|,,X) +;
j in {1} by A8,FINSEQ_1:2,def 8;
then j=1 by TARSKI:def 1;
hence (SignGen(f|n,B,X)^<*I*>).i = SignGen(f,B,X).i by Def11,A6,A1,A8,A3;
end;
end;
hence thesis by A1,A3,FINSEQ_1:22;
end;
theorem
dom f c= X implies SignGen(f,B,X) = (the_inverseOp_wrt B)*f
proof
assume
A1: dom f c= X;
rng f c= D=dom (the_inverseOp_wrt B) by FUNCT_2:def 1;
then
A2: dom ((the_inverseOp_wrt B)*f) = dom f = dom SignGen(f,B,X)
by Def11,RELAT_1:27;
for k st k in dom SignGen(f,B,X) holds SignGen(f,B,X).k=
((the_inverseOp_wrt B)*f).k
proof
let k such that
A3: k in dom SignGen(f,B,X);
SignGen(f,B,X).k = (the_inverseOp_wrt B).(f.k) by A1,A3,A2,Def11;
hence thesis by A3,A2,FUNCT_1:12;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
;
proof
theorem
B is having_a_unity associative having_an_inverseOp implies
SignGenA28 `< ` A1,2A3A12,A15,,12;
proof
set pp =xof-2;
assume
A1A33:pp2inE0byjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
A2: len SignGen(C
A3 f=C= SignGen(,,X Def11
1 k< fCBX)k= .
proof
letthat
A4A6GaugeC*(ik inLC,n);
:k indomf A4,25;
A6: f.k=f/.k by PARTFUN1:def 6;
cases
suppose
:k in;
Ck= B).(.k)byA3java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 64
:p =java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
;
A8: reconsiderEE =fe)/ Upper_SeqC,n compact Subset of
Ck=f. A5A5A3,ef11;
hence thesis by A30: f`2 <= p`2 by A1,A,,A15A20,SPRECT_3:;
end;
X1 non compactSubset of-2 by ,,
end
.= e`1 ,2A5A12,GOBOARD5;
let then
ofD,;
cluster h*p -> (len p)-element FinSequence-like;
coherence
proof
rng p c= D = dom h A51: p in L~Upper_Seq(C,n A48,,6java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
then
A1: dom (h*p) = dom p =Seg len p by FINSEQ_1:def 3,RELAT_1:27;
then reconsider hp=h*p as FinSequence by FINSEQ_1:def 2;
len hp = len p by A1,FINSEQ_3:29;
hence thesis by CARD_1:def 7;
end;
end
definition
let D be non empty set;
let B be BinOp of D;
let f be FinSequence A25: < j1and
let F beA28 =width byA17A26,XREAL_02
func java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
the
existence
proof
defpred P[object,object] means
for X st X=$1 holds $2=SignGen(f,B,X);
A1: for x st x in F ex y be object st y in D* & P[x,y]
proof
let x such that
A2: x in F;
reconsider X=x as set by A2;
takeSignGen(,,)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
thus thesisproof
end;
fbe FD
1(A1);
take f;
thus thesis by A3;
end;
uniqueness thenpp E0 byFUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
proof
let IT1,IT2 be Function of then ` >=pp` by A27,34,45SEQ_4:ef 1;
A4: X in F implies IT1.X = SignGenthen
A5: X in F implies IT2.X = SignGen(f,B, assume
suchthat
:inF;
reconsider X= by A6;
IT1.x = SignGen(f,B,X) by A4,A6;
hence IT1.x = IT2.x by A5, reconsider asPoint of TOP-REAL 2 by A48;
;
thesisby :12java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
end;
;
theorem Th77:
for E be Enumeration of A: f`<=` A1,A5,,,A17A17A22,SPRECT_3:13
proof
=
A1: len<widthCn
then 1 in dom E by FINSEQ_3:25;
then E.1 inrng by FUNCT_1:def 3java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
then G(,)G(,) L~ower_Seq(,n)byA6,9XBOOLE_03;
set f G(,jjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
end
:
(}) =< java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 79
proof
let E be Enumeration of {X};
A1: X in {X}=dom SignGenOp(f,B,{X}) & A38 f`2<=q`2by ,,A3A3212java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
byTh77,def ,TARSKI:def 1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
then SignGenOp(f,B,then reconsider pp = x Point ofTOP- 2;
thesis A1,
end;
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 39
for E1 be Enumeration of F1,E2 be Enumeration java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 35
holds E1^E2 is Enumeration of F1\/F2
proof
let E1 bethen
suchthat
A1: :fe) is by SPPOL_1:;
A50: ` ` SPPOL_141
then E1^E2 is one-to-one&rng (E1^E2) = F1\/F2 =pp` by PSCOMP_1:;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 33
end;
theorem A53: f`2 p` A1,A2,A3,A16,25,java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 53
for E be Enumeration of F st i in dom E or i in dom (SignGenOp(f,B,F)*E)
holds (SignGenOp(f,B,F) * E).i = SignGen(f,B,E.i)
proof
let e 1by,2A5A12,A31,32,GOBOARD5:;
A1: i in:q` A2A3212
CSignGenOp(,,;
i in dom (reconsider EE =LSegf,e \L~ower_Seq(,)as of
proof
assume
A2: not i in dom (C*E);
then E.i in rng E = reconsiderpp= PointofTOP- 2java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
byA1,java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 55
hence thesis by A2,A1,FUNCT_1:11 thenproj2 in E0 by FUNCT_2:35;
end;
*.C ,,1java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
end <java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 34
theorem Th81:pp1 p1 byA22,:;
let bejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 53
SignGenOp(f,B,F1\/F2 java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 52
(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof
set C1=SignGenOp(f,B,F1),C2=SignGenOp E011java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
let E1 be Enumeration of F1,E2 be Enumeration of F2,
A1: E12=E1^E2;
A2: len (C1*E1)= lenhence
len (C12*E12)= len E12 ,n(1i} A22,,ARSKIdef1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
F1=rng E1 misses rng E2=F2 by A1,FINSEQ_3:91,RLAFFIN3:def 1;
then
A3: card inin A48,java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
(C1E1)^(C2E2)) by A2,,:;
A5: dom E1 = dom (C1*E1) & dom E2 = dom (C2*E2) by A2,FINSEQ_3:30;
then
proof
. `1byA4831java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A6: 1 <= k & k <= len (C12*E12);
A7: k in dom (C12*E12) by A6,FINSEQ_3:25;
k in dom ((C1*E1)^(C2*E2)) by A6,A4,FINSEQ_3:25;
then per j1 <k A15A26,2
A8: k in dom (C1*E1);
hence ((C1*E1)^(C2*E2)).k = (C1*E1).k ` =q` A1A4,5A8,25,A28,S13java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
.= SignGen(f,B,E1.k) by A8,Th80
.= SignGen(f,B,E12.k) by A1
k Th80;
end;
suppose ex i st i in dom (C2*E2) & k = len (C1*E1)+i;
then consider i such that
A9: i in dom (C2*E2) & k = len (C1*E1)+i;
thus ((C1*E1)^i,) in L~Upper_SeqC,)&Gauge(,n*(i, L~(C,)java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 77
.= SignGen(f,B,E2.i) by A9,Th80
.= SignGen(f,B,E12.k) by A1,A9,A5,A2,FINSEQ_1:def 7
.= (C12*E12).k by A7,Th80;
;
end;
thesis 22;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for E be Enumeration of F st
orlenf>) 1len in F
holds
*>,B,)E) B[]B *"f,B,)E,d)
proof
let E be Enumeration of F such that
is orlen = java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
A2:considerj1,be
set fd=f^<*d*>,C=SignGenOp(f,B,F), Cd=SignGenOp(fd,B,F);
lenGauge(,*i,j1) and
then
(* =java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 50
dom("*"Cd*) =dom(CdE by d 1
xst x dom (E holds([]B **C*CdE)x
proof
let x such that
A5: x in dom (C*E);
E.x in rng E=F by A5,A3,FUNCT_1:def 3,RLAFFIN3:def 1;
then
A6: not 1+len f in E.x by A2,TARSKI:def 4;
A7: fd.(len f+1)= d;
A8: fd|len f= f;
A9: len fd = len f+1 by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
A11(iki)meetsL~java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 70
A12CE. then -++.x) java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 53
C java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 21
=* java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 66
.= B"**" (SignGen f=G(,
.= BGaugeCn1 > 2;
.= B.((B"**"(C*E)).x,d) by A12,A5,Def10
.= (B[:](B"**"(C*E),d)).x by A5,A10,FUNCOP_1:27;
end;
hence thesis by A3,A4,FUNCT_2:def 1;
end;
theorem Th83:
for E be Enumeration of F st
(B is having_a_unity or len f >= 1) & 1+len f in meet by A1;
holds
B "**" (SignGenOp(f^<*d*>,B,F)*E) =
in(A)by,FUNCT_238java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
proof
A1: B is having_a_unity or len f >= 1 and
f inmeet ;
setfd=
I=the_inverseOp_wrt B;
len (Cd*E) = len E =len (C*E) by CARD_1:def 7;
then
A3: dom (Cd*E) = dom E = dom (C*E) by java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 42
: dom B*"Cdconsider being Complexsuch that
for x st x in dom (C*E) holds (B[:](B "**" C*E,I. then
proof
let x such that
A5: x in dom (C*E);
E. then inLSeg(p,f by RLTOPSP1:68
then
:1lenf in.xbyA2,: 1
A7 =i =widthGauge(,n C,)(,i L~(,n
: []B*"C*,.d) (*)byFUNCT_2:ef1;
A9: len SignGen(f,B,E.x) = len f by CARD_1:def 7;
A10: (Cjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
(Cd*E).java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 6
` =p1byA5,8,17,A22,,SPRECT_313java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
.= B"**" (SignGen LSegf,)ishorizontal bySPPOL_1:15java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
.= B.(B"**" SignGen(f,B,E.x), for x beobject holds x in (pq)/\LLower_Seq(Cn =q
.= B.((B"**"(C*proof
.= (B[:](B"**"(C*E),I.d -2java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;
hence:`1<q1byA4A5A8,13java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
theorem Th84:
for E be Enumeration of F st
(B is having_a_unity or len f >= 1) & B is associative &
not 1+len f in union F & not 2+len f in union F
holds
B "**"(SignGenOp(f^<*d1*>^<*d2*>,B,F)*E) =
B"**"(SignGenOp(f^<*B.(d1,d2)*>,B,F)*E)
proof
let E be Enumeration of F such that
A1: (B is having_a_unity or len f >= 1) and
A2: B is associative and
A3: not 1+len f in union F & not 2+len f in union F;
A4: len (f^<*d1*>) = 1+len f by FINSEQ_2:16;
then not 1+len (f^<*d1*>) in union F by A3;
hence B "**" (SignGenOp(f^<*d1*>^<*d2*>,B,F)*E)
= B[:](B "**" SignGenOp(f^<*d1*>,B,F)*E,d2) by Th82,A4,NAT_1:11
.= B[:](B[:](B "**" SignGenOp(f,B,F)*E,d1),d2) by A1,Th82,A3
.= B[:](B "**" SignGenOp(f,B,F)*E,B.(d1,d2)) by A2,FUNCOP_1:63
.= B"**" (SignGenOp(f^<*B.(d1,d2)*>,B,F)*E) by A1,Th82,A3;
end;
theorem Th85:
c,| ,UCLID53
(Bishaving_a_unity len >= 1 & B associative &
not 1+len f in union F & 2+len f in meet F
for Sbe Subset REAL bounded holds proj1
"*"(SignGenOp(^**^**,,F)E
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
letA1 =i
: ( having_a_unity len =1)and
: B java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25
: 1+ fin F&2+f meetF;
A4: len (f^<*d1*>) = 1+len f by FINSEQ_2:16;
F java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
henceB"" (f<d1*><d2>,,F)E)
=B[:( *"SignGenOp(f<**>)*E,(the_inverseOp_wrt B).d2)
by Th83,A4,NAT_1proof
= [](B[](B "**" SignGenOp(,,)*E,1,B)d2java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
by A1,Th82,A3
.= B[:](java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 6
A2,:java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
. B"*" (SignGenOp(^<B.d1(the_inverseOp_wrtB.d2)*>B)*)
byA1,Th82,A3;
;
Th86:
for E be Enumeration of F st
B is having_a_unity associative commutative having_an_inverseOp &
1+len f in meet F & not 2+len f in union F
holds
B "**" (SignGenOp(f^<*d1*>^<*d2*>,B,F)*E) =
B"**" (SignGenOp(f^<*B.(d1,(the_inverseOp_wrt B).d2)*>,B,F)*E)
proof
set I=the_inverseOp_wrt B;
let E be Enumeration of F such that
A1: B is having_a_unity associative commutative having_an_inverseOp and
A2: 1+len f in meet F & not 2+len f in union F;
A3: len (f^<*d1*>) = 1+len f by FINSEQ_2:16;
then not 1+len (f^<*d1*>) in union F by A2;
hence B "**" (SignGenOp(f^<*d1*>^<*d2*>,B,F)*E)
= B[:](B "**" SignGenOp(f^<*d1*>,B,F)*E,d2) by Th82,A3,NAT_1:11
.= B[:](B[:](B "**" SignGenOp(f,B,F)*E,I.d1),d2) by A1,Th83,A2
.= B[:](B "**" SignGenOp(f,B,F)*E,B.(I.d1,d2)) by A1,FUNCOP_1:63
.= B[:](B "**" SignGenOp(f,B,F)*E,I.(B.(d1,I.d2))) by Th2,A1
.= B"**" (SignGenOp(f^<*(B.(d1,I.d2))*>,B,F)*E) by A1,Th83,A2;
end;
theorem Th87:
for E be Enumeration of F st
B is having_a_unity associative commutative having_an_inverseOp &
1+len f in meet F & 2+len f in meet F
holds
B "**"(SignGenOp(f^<*d1*>^<*d2*>,B,F)*E) =
B"**"(SignGenOp(f^<*B.(d1,d2)*>,B,F)*E)
proof
set I=the_inverseOp_wrt B;
let E be Enumeration of F such that
A1: B is having_a_unity associative commutative having_an_inverseOp and
A2: 1+len f in meet F & 2+len f in meet F;
A3: len (f^<*d1*>) = 1+len f by FINSEQ_2:16;
then 1+len (f^<*d1*>) in meet F by A2;
hence B "**" (SignGenOp(f^<*d1*>^<*d2*>,B,F)*E)
= B[:](B "**" SignGenOp(f^<*d1*>,B,F)*E,I.d2) by Th83,A3,NAT_1:11
.= B[:](B[:](B "**" SignGenOp(f,B,F)*E,I.d1),I.d2) by A1,Th83,A2
.= B[:](B "**" SignGenOp(f,B,F)*E,B.(I.d1,I.d2)) by A1,FUNCOP_1:63
.= B[:](B "**" SignGenOp(f,B,F)*E,I.(B.(d1,I.(I.d2)))) by A1,Th2
.= B[:](B "**" SignGenOp(f,B,F)*E,I.(B.(d1,d2))) by A1,FINSEQOP:62
.= B"**" (SignGenOp(f^<*B.(d1,d2)*>,B,F)*E) by A1,Th83,A2;
end;
theorem Th88:
for E be Enumeration of F st X misses union F holds
ex Ex be Enumeration of UNION(F,{X}) st
for i st i then
proof
let E be Enumeration of F such that
A1&<k1 < =widthG G*CenterG,1,(enter G,1)
deffunc F(set)=E.$1\/X;
f Function that
:f=E&forAbe A domE f.A A)
from FUNCT_1: let j,k,j1,k1 be N
E=Seg len FINSEQ_1def3;
then reconsider f as FinSequenceTOP- 2for ,jk beNat 1< i &i =len (Cn &1< j
A3: rng f c= UNION(F,{X} & j = k& k< width Gauge(,n)& Gauge(,)(i,j ~(C,n j1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
proof
let y be object;
assume y in rng f;
then consider x such that
A4: x in dom f & f.x =y by FUNCT_1:def 3;
A5: E.x in rng E = F by A2,A4,FUNCT_1:def 3,RLAFFIN3:def 1;
A6: f.x = (E.x) \/X by A4,A2;
X in {X} by TARSKI:def 1;
hence thesis by A4,A6,A5,SETFAM_1:def 4;
end;
UNION(F,{X}) c= rng f
proof
let xy be object;
assume xy in UNION(F,{X});
then consider y,x be set such that
A7: y in F & x in {X} & xy=y\/x by SETFAM_1:def 4;
y in rng E by A7,RLAFFIN3:def 1;
then consider z be object such that
A8: z in dom E & E.z=y by FUNCT_1:def 3;
x=X by A7,TARSKI:def 1;
then f.z=xy by A7,A2,A8;
hence thesis by A2,A8,FUNCT_1:def 3;
end;
then
A9: UNION(F,{X}) = rng f by A3;
f is one-to-one
proof
let x,y such that
A10: x in dom f & y in dom f & f.x=f.y;
reconsider x,y as set by TARSKI:1;
E.x in rng E & E.y in rng E by A10,A2,FUNCT_1:def 3;
then
A11: E.x misses X & E.y misses X by A1,XBOOLE_1:63,ZFMISC_1:74;
f.x=F(x) & f.y = F(y) by A10,A2;
then E.x = E.y by A10,A11,XBOOLE_1:71;
hence thesis by A2,A10,FUNCT_1:def 4;
end;
then reconsider f as Enumeration of UNION(F,{X}) by A9,RLAFFIN3:def 1;
take f;
thus thesis by A2;
end;
theorem Th89:
SignGen(f,B,X) = SignGen(f,B,X/\dom f)
proof
A1: dom SignGen then
for i st i in dom SignGen(fA54: ,1c=~ 19;
SignGen(f,B,X).i = SignGen(f,B,X/\dom f).i
proof:LSeg(o)/ Gik,Gij) ={Gij} by A7,XBOOLE_1:26;
let i such that
A2: i in dom SignGen(f,B,X);
per cases;
suppose i in X;
then SignGen(f,B,X).i = (the_inverseOp_wrt B).(f.i) & i in X/\dom f
by Def11,A1,A2,XBOOLE_0:def 4;
hence thesis by Def11,A1,A2;
nd;
suppose not i in X;
then SignGen(f,B,X).i = f.i & not i in X/\dom f
by Def11,A2,XBOOLE_0:def 4;
hence thesis by Def11,A1,A2;
end;
end;
hence thesis by A1;
end;
theorem Th90:
for E1 be Enumeration of F1,E2 be Enumeration of F2 st
F2
for i st i in dom E1 holds dom f /\ E1.i = dom f /\ E2.i holds
SignGenOp(f,,)*E1= SignGenOp(f,A,F2)*2
proof
letE1 be Enumeration F1E2be of F2 that
A1: card F1 = card A33:pp`2 PSCOMP_1 ;
A2: for i st i in dom E1 holds dom f /\ E1.i = dom f /\ E2.i;
set C1=SignGenOp(f,A,F1), C2=SignGenOp(f,A,F2);
A3: len (C1*E1)= len E1 = card F1 &
len (C2*E2)= len E2 = card F2 by CARD_1:def 7;
for i st 1<=i <= len E1 holds (C1*E1).i = (C2*E2).i
proof
let i;
assume
A4: 1<= i <= len E1;
then
A5: i in dom E1 & i in dom E2 by A1,A3,FINSEQ_3:25;
hence (C1*E1).i = SignGen(f,A,E1.i) by Th80
.= SignGen(f,A,dom f /\E1.i) by Th89
.= SignGen(f,A,dom f /\E2.i) by A4,A2,FINSEQ_3:25
.= SignGen(f,A,E2.i) by Th89
.= (C2*E2).i by Th80,A5;
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
hence thesis by A1,A3;
end;
theorem Th91:
A is having_a_unity associative commutative having_an_inverseOp
implies
for F be finite non empty set st union F c= dom f
for F1,F2 be finite set st F1 = UNION(F,bool {len f+1}) &
F2 = UNION(F,bool {len f+1,len f+2}) holds
ex E1 be Enumeration of F1,E2 be Enumeration of F2 st
A "**" (SignGenOp(f^<*d1*>^<*d2*>,A,F2)*E2) = (
A"**" (SignGenOp(f^<*A.(d1,d2)*>,A,F1)*E1)) ^
(A"**" (SignGenOp(f^<*A.(d1,(the_inverseOp_wrt A).d2)*>,A,F1)*E1))
proof
assume
A1: A is having_a_unity associative commutative having_an_inverseOp;
let F be non empty finite set such that
A2: union F c= dom f;
let F1,F2 be finite set such that
A3: F1 = UNION(F,bool {len f+1}) &
F2 = UNION(F,bool {len f+1,len f+2});
set L=len f;
set U1= UNION(F,{{L+1}}),U2= UNION(F,{{L+2}}),U12= UNION(F,{{L+1,L+2}});
set E = the Enumeration of F;
set I=the_inverseOp_wrt A;
set f12=f^<*d1*>^<*d2*>,fA = f^<*A.(d1,d2)*>,fAI = f^<*A.(d1,I.d2)*>;
A4: 0
then
A5: not L+2 in union F by A2,FINSEQ_3:25;
A6: L < L + 1 by NAT_1:13;
then
A7: not L+1 in union F by A2,FINSEQ_3:25;
then consider E1 be Enumeration of U1 such that
A8: for i st i in dom E holds E1.i = {L+1}\/E *( Ga,)` A1,A13JORDAN1A71
L+1 in {L+1} by TARSKI:def 1;
then
A9: L+1 in {L+1}\/meet F = meet U1 by SETFAM_1:24,XBOOLE_0:def 3;
A10: not L+2 in union U1
proof
assume L+2 in union U1;
then,njava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 51
A11: L+2 in XY in U1 by then p`2 <= pp`2 by A14d 2;
consider X,Y such:j<and
:X Yin{+}}& XY=X/Yby A11,: 4
then
X1=as nonemptycompact java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 70
thenL X c Fby A12,:def ,74;
then L+2 in dom
thesis;
end;
L+2 in {L+2} by TARSKI:def 1;
then
A13: L+2 in {L+2}\/meet F = meet U2 by SETFAM_1:24,XBOOLE_0:def 3;
A14: not L+1 in union U2
proof
assume L+1 in union U2;
T4
L1 ininU2: 4;
consider X,Y such that
A16: E0by:def 11;
>2
then not L+1 hence thesis byTjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 37
then L+1 in X c= union endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
L1in fby ;
hence thesis by A6,FINSEQ_3:25;
end;
a in U12 implies L+1 in a & L+2 in a
proof
assume a in U12;
then consider X,Y such that
A17: X in
L1in{+1L2 &L+ in {+,+2}=Y ,ARSKI:ef 1,ef 2
hence thesis by A17,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
end;
then (a in: ppin by,def 4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then
A18: L+1 in meet U12 & Lthen
consider E2pp LSegG(,)G(k,) by XBOOLE_0:def 4;
A19: for i st i in dom E holds E2 x ineq \L~ower_Seq(,n =q
consider E12 be Enumeration of U12 such that
A20: for i st i in dom E f`2 2by A1,A11,12A21,22,OBOARD5:1java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
F misses
then reconsider =x asPoint REAL;
considerxsuchthat
A21: x in F & x in U1 by XBOOLE_0:3;
consider X,Y such that
{1}& x=X/ SETFAM_1def4java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
Y = {L+1} by A22A36:x= q;
thenL1in by TARSKI:def 1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
then L+1 in X\/Y by XBOOLE_0:def 3;-REAL2 fori, be st =j <k < GaugeC,)
hence thesis )/\L~pper_Seq(n) {(n*k1,)
end;
then reconsider EE1 = E^E1 as Enumeration of F\/U1 by Th79;
U1 misses U2
proof
assume U1 meets U2;
then consider x such that
A23: x in U1 & x in U2 by XBOOLE_0:3;
consider X1,Y1 be set such that
A24: X1 in F & Y1 in {{L+1}} & x=X1\/Y1 by A23,SETFAM_1:def 4;
Y1 = {L+1} by A24,TARSKI:def 1;
then L+1 in Y1 by TARSKI:def 1;
then L+1 in X1\/Y1 by XBOOLE_0:def 3;
hence thesis by A14,A23,A24,TARSKI:def 4;
end;
))java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 46
F misses U12
proof
assume F meets U12;
then consider x such that
A25: be object;
,suchthat
A26: in in{L+1L2}&x=\Yby ,:def ;
Y = {L+1,L+2} by A26,TARSKI:def 1;
then L+1 in Y by by ,A44A83A85,SPPOL_2:21;
then L+1 in X\/Y by XBOOLE_0:def 3;
hence thesis by A7,A25,A26,TARSKI:def 4; ={o/1}\ {A85A123,XBOOLE_123
end;
then EE12 =EE12 F\/ Th79;
,ZFMISC_15051
A28: card U12 = card F = card U1 by A5,A7,Th8,ZFMISC_1:50,51;
len E1 = card U1 & len E12 = card U12 & len E=card F by CARD_1:def 7;
then
let ij,k Nat;
len fA=1by FINSEQ_2:16;
then
31 dom = L) d ;
fAIL1by 16java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then w1= proj1:LSegfe \L~pper_SeqCn);
A32: dom fAI = dom fA by A31,FINSEQ_1:def 3;
not + dom fA by A4FINSEQ_3:;
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A33: {L+2} misses dom fA by ZFMISC_1:A15 (,i` byA2,10A8,3JORDAN1G:4;
A34: for i iin holds dom fA \E1. fA / E12i
proof
let i W-most by XBOOLE_0:def1;
A35 i domE1;
A36: E12.i = {L+1,L+2}\/E.i by A35,A22:f` = `1by A4,A13A16S:;
A37: E1.i = {L+1}\/E.i by A23: f`2 = p`2 by A1,A4,A5,A11,A12,A20,A21,GOBOARD5:1;
{ then
then E12.i = `1=boundX A15A21,43
fA \E12. (fA / .i\(omfA / L2} XBOOLE_123;
:`=2byA4,A5,,,21,GOBOARD51java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
end;
A38:for st i dom holds dom fAI \ . dom /\E2
proof
letE0 realbounded RCOMP_110java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
E
E2.i = {L+2}\/E.i by A39end
thendom / .i=d fAIfAI/\ E.)\dfAI \{+2)by java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 79
hence thesis by A33,k1 & k1 <= k & LSeg(Gauge(C< (Gauge,)()C*k1i)\ LC,)=
end;
F\/U12 misses U2\/U1
proof
F\/12meets U2\/1;
then consider x such that
A40: x in F\/U12 & x in U2\/U1 by XBOOLE_0:3;
per cases by A40,XBOOLE_0:def 3;
suppose
A41: x in F;
per cases by A40,XBOOLE_0:def 3;
suppose x in U2;
then consider X,Y such that
A42: X in F & Y in {{L+2}} & x=X\/Y by SETFAM_1:def 4;
Y = {L+2} by A42,TARSKI:def 1;
then L+2 in Y by TARSKI:def 1;
then L+2 in X\/Y by XBOOLE_0:def 3;
hence thesis by A5,A42,A41,TARSKI:def 4;
end;
suppose x in U1;
then consider X,Y such that
A43: then
Y = {L+1} by A43,TARSKI:def 1;
then L+1 in Y by TARSKIA21:G(j1i`2 =s A4,5,11,16,OBOARD5:1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
f` =`2by ,4,5,11,12GOBOARD51;
hence thesis by A7,A43,A41,TARSKI:def 4;
end;
end;
suppose x in U12;
then consider X,Y such that
A44: X in F & Y in {{L+1,L+2}} & x=X\/Y by SETFAM_1:def 4;
A45: x in U1 or x in U2 by A40,XBOOLE_0:def 3;
Y = {L+1,L+2} by A44,TARSKI:def 1;
then L+1 in Y & L+2 in Y by TARSKI:def 2;
then L+1 in X\/Y & L+2 in X\/Y by XBOOLE_0:def 3;
hence thesis by A14,A10,A45,A44,TARSKI:def 4;
end;
end;
then reconsider ET = EE12^E2E1 as Enumeration of (F\/U12)\/(U2\/U1) by Th79;
A46: ( {{}}\/{{L+1,L+2}} )\/({{L+1}}\/{{L+2}}) = bool {L+1A131:LA is_an_arc_ofmax ,WminC JORDAN6def9;
proof
thus ({}/{+1,L+} \({L1}\/{+})c= {+,+}
proof
let y be object;
reconsider a=y as set by TARSKI:1;
assume y in ( {{}}\/{{L+1,L+2}} )\/({{L+1}}\/{{L+2}});
C(in~Upper_Seq(n);
then:j<width ,2
by XBOOLE_0:def 3;
y = }or {+,+} ( {+ y L2)byTARSKI:def 1;
then = 1by ,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
thesis
end;
let y be object such that
A47: y in bool {L+1,L+2};
.e` A3,A4,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 38
={}or =L1,2) y {+}ory={+} A4736;
( {}} y {L1,L+2}} yin{{+}} or y in {{L})
byTARSKI: java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
then y in {{}}\/{{ then
A31ppinLSeg(G*(,,G(,i) byA29,java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 56
end;
A48: F = minX)` java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 31
proof
thus F c= UNION(F,{{}})
ybeobjectsuch that
A49: =: asofby
reconsider y as set by TARSKI:1;
1;
UNION(,{}by A49,def4;
hence thesis;
end;
let y such that
A50: y in UNION(F,{{}});
consider X,Y such that
A51: X in F &Y in {{}} & y = X\/Y by A50,SETFAM_1:def 4;
Y={} by A51;
hence thesis by A51;
end;
then
A52: F\/U12 = UNION(F, {{}}\/{{L+1,L+2}}) &
U2\/U1 = UNION(F,{{L+1}}\/{{L+2}}) by Th7;
then reconsider et=ET as Enumeration of F2 by A3,A46,Th7;
A53: F\/U1 = UNION(F, {{}}\/{{L+1}}) by A48,Th7
.= UNION(F, {{}, {L+1}}) by ENUMSET1:1
.= F1 by A3,ZFMISC_1:24;
then reconsider ee1=EE1 as Enumeration of F1;
take ee1,et;
A54: A "**" (SignGenOp(f12,A,F\/U12)*EE12)
= A"**"((SignGenOp(f12,A,F)*E) ^ (SignGenOp(f12,A,U12)*E12)) by Th81
.= (A"**"(SignGenOp(f12,A,F)*E))^(A"**"(SignGenOp(f12,A,U12)*E12)) by Th63
.= (A "**" (SignGenOp(fA,A,F)*E))^(A"**"(SignGenOp(f12,A,U12)*E12))
by Th84,A1,A5,A7
.= (A "**" (SignGenOp(fA,A,F)*E))^(A"**"(SignGenOp(fA,A,U12)*E12))
by Th87,A1,A18
.= A "**" ( (SignGenOp(fA,A,F)*E)^(SignGenOp(fA,A,U12)*E12)) by Th63
.= A "**" ( (SignGenOp(fA,A,F)*E)^(SignGenOp(fA,A,U1)*E1)) by A34,A28,Th90
.= A "**" (SignGenOp(fA,A,F1)*ee1) by A53,Th81;
A55: A "**" (SignGenOp(f12,A,U2\/U1)*E2E1)
= "*" (SignGenOp(f12,,U2*)^(ignGenOp(f12,U1)E1))byTh81
. (A *" (f12,,)E2)^A"*
.= (
A1java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
**"fAI,U2*)^(A "*" (ignGenOp(fAI,AU1)*E1))
by Th85,A1,A14,A13
.= (A (Lgo\ ~)=WminA148A157,:,java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
T,38
.= A "**" ((SignGenOp(fAI,A,F)*E)^(SignGenOp(fAI,A,U1)1 =Wbo A146java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
= *"(fAI,F1*ee1 by,h81
SignGenOp(f12,A,F2)*et = SignGenOp(f12,A,(F\/U12then2 Lgodoby12;
by A3,A46,A52,Th7
.= (SignGenOp special_circular_sequenceby25java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
by A166: US.len US = US/.len US by PARTFUN1:def 6
hence A"**" (SignGenOp(f12,A,F2)*et)
( *" fA,,))^ (A"*" SignGenOpfAIA,F1)ee1)
by A54,assumejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 44
end;
begin :: Product over All Combinations of Sings
definition
let D be non empty set;
let A be BinOp of D;
let M be BinOp of D such that
A1: M is commutative associative;
let f be FinSequence of D;
let F be finite set;
func SignGenOp(f,M,A,F)-> Element of D means :Def13:
for E be Enumeration of bool F holds
it = M $$ ([#]dom (SignGenOp(f,A,bool F) * E),
A "**" (SignGenOp(f,A,bool F) * E));
existence
proof
set C=SignGenOp(f,A,bool F);
set E=the Enumeration of bool F;
take IT =M $$ ([#]dom (C * E)L~Lower_Seq(,n) by A7,XBOOLE_0:3
let G be Enumeration of bool F;
A2: rngk1< width byA8A15:
then consider s be Function such that
3 s=E s=G to =G*s
byCLASSES177,java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 32
:EGjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 52
len (C*ppbethat
then
: (* =domG= dom C*)by30:java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
A6: (A "**" (C * E ppasof- java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A7: dom (A "**" (C * G)) = dom G & dom (A "**" (C * E)) java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 13
A5
for x st x in dom s holds ( then Index(p,co) < len LS-LS def2
proof
xsuchthat
A8: x in dom s;
reconsider i=x as Nat by A8,A3;
A9:si G byA3,A8FUNCT_111;
thus ((A "**" (C A188 p1 Ebo by JORDAN1A83PSCOMP_1:50;
.= A"**" ((C * G) .0+ndex(ij,)<len LS by JORDAN3:;
.= A"**" (C. (G .(s.i))) by A9,FUNCT_1:13
. "*"( Ei)byA8,3,UNCT_1:13
. "* ( *E.i) A3,:3
.= (A "**" (C * E)).x by A8,A3,A5,Def10;
end;
then A "**" (C * E) = (A "**" ( Gij..LS <> len LS by A31,A39,F
hence thesis by A6,A3,A5,A1,SETWOP_2:5;
end;
setRC=Rotate(Cage(C,n),Emax;
let it1,it2 be Element of D such that
: E Enumeration ofbool holdsholds
it1 = M $$ ([#]dom (SignGenOp(f,A,bool F) * E),
A "A199: =jj2 and
A11: for E be Enumeration of bool F holds
it2 = M $$ ([#]dom (SignGenOp(f,A,bool F) * E),
A "**" (SignGenOp(f,A,bool F) * E));
set E = the Enumeration of bool F;
it1 = M $$ ([#]dom (SignGenOp(f,A,bool F) * E),
A "**" (SignGenOp(f,A,bool F) * E)) by A10;
hence thesis by A11;
end;
end;
theorem Th92:
M is commutative associative &
A is commutative & A is associative & A is having_a_unity &
A is having_an_inverseOp &
M is_distributive_wrt A
implies
for CE1,CE2,CE12 be non-empty non empty FinSequence of D* st
CE12 = CE1 ^ CE2
for A18: 1<= k1 by A3,A12,XXREAL_0:2;
S12 be Element of Fin dom App CE12 st S12=S1^{s2}
holds
M.(A $$ (S1,M "**" App CE1),(M "**" App CE2).s2) =
A $$ (S12,M "**" App CE12)
proof
assume
A1 iscommutative associative &
A is .= (W-min X)`1 by:
A is having_an_inverseOp &
M is_distributive_wrt A;
let CE1,CE2,CE12 be non-empty non empty FinSequence of D* such that
A2: CE12 = CE1^CE2;
let S1 be Element of Fin dom App CE1,s2 be Element of dom App CE2,
S12 be Element of Fin dom App CE12 such that
A3: S12=S1^{s2};
defpred P[set] means
for S1 be Element of Fin dom App CE1,
S12 be Element of Fin dom App CE12 st S1=$1 & S12=S1^{s2}
holds
M.(A $$ (S1,M "**" App CE1),A $$ ({.s2.},M "**" App CE2)) =
A $$ (S12,M "**" App CE12);
A4: P[{}.(dom App CE1)]
,
beFinApp CE1,
S12 be Element of Fin dom App CE12 such that
:S1=}.(domApp CE1)&S12=S1^{2;
S1^{s2}={}.(dom App CE12) by A5;
then
A6: A $$ (S12,M " considerj1 be Nat such that
A$$(1,M *" )=A byA5,SETWISEO31;
hence thesis by A6,A1,FINSEQOP:66;
end;
A7: for B9 being (Element of Fin dom java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 35
holds P[B9] & not b in B9 A35: f`1 = p`1 by A1,A2,A3,A8,A24,A25,GOBOARD5:2;
proof
Element ) be ofApp CE1
such that
A8: =d EUCLID:3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
let S1 be Element of Fin dom App CE1,
S12 be Element of Fin dom App CE12 such that
:B9/{b =S1^{s2;
A10: S12 c= dom App CE12 by FINSUB_1:def 5;
B9 c letC beSimple_closed_curve
then B9^{s2A1:1< and
hen B9^s2}=domApp CE12by A9
then reconsider Bs=B9^{s2} as Element of Fin dom App CE12
by FINSUB_1:def 5;
{b} c= S1 by A9,XBOOLE_1:7;
then {b}^{s2} c= S1^{s2} by POLNOT_1:16;
then {b}^{s2} c= dom App CE12 by A9,A10;
then reconsider bs = {.b.} ^ {.s2.} as Element of Fin dom App CE12
by FINSUB_1:def 5;
b^s2 in doms CE12 by Th48,A2;
then reconsider BS2=b^s2 as Element of dom App CE12 by Def9;
A11: len (AppCE1)b =1&len ((CE2)s2 >1 NAT_114;
bs = {b^s2} by Th43;
then
A12: A $$ (bs,M "**" App A203 len Ga Ga by 30
by A1,SETWISEO:17
* ( ) by
.= M "**" (((App CE1).b)^((App CE2).s2)) by A2,Th61
.= M.((M "**" ((App CE1).b)),(M "**"((App CE2).s2))) by A11,A1,FINSOP_1:5
.= M.( (M "**" (App CE1)).b,(M "**"((App CE2).s2))) by Def10
. thenii,be Natsuch
.= M.( A $$ ({A208 GaugeC,*i),auge(,)(,
.= leti,,k be Nat;
by A1,ETWISEO:7java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A13: B9 misses {}by A8,FMISC_1:0;
set s = G*(,)`;
proof
assumeBs meets ;
then considerA16: G*(,)1 =s by A1,2,5,7,GOBOARD5:;
: x in Bs &x in bs XBOOLE_0:;
consider p1, q1 be FinSequence such that
A16: x = p1^q1 & p1 in B9 & q1 in {s2} by A15,POLNOT_1:def 2;
consider p2, q2 be FinSequence such that
A17: x = p2^q2 & p2 in {b} & q2 in {s2} by A15,POLNOT_1:def 2;
q1 =s2 = q2 by A16,A17,TARSKI:def 1;
then p1=p2 by A16,A17,FINSEQ_1:33;
hence thesis by A16,A17,A8,TARSKI:def 1;
end;
then,217A224,GOBOARD7:7;
A $$ (bs,M "**" App CE12)) by A14,A1,SETWOP_2:4
.= A.( M.(A $$ (B9,M "**" App CE1),A $$ ({.s2.},M "**" App CE2)),
M.(A $$ ({.b.},M "**" App CE1),A $$ ({.s2.},M "**" App CE2))) by A8,A12
.= M. ..-1 A193,A190,ORDAN419java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
$(.s2},M "*"AppCE2) A1B11
.= M. (A $$ (S1,M "**" App CE1),A $$ ({.s2.},M "**" App CE2))
by A9,A13,A1,SETWOP_2:4;
hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
for B be Element of Fin dom App CE1 holds P[B] from java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
then M.(A $$ (S1,M "**" App CE1),A $$ ( &i<len (C,)&1 < =k < width Cn n > &
A $$ (S12,M "**" App CE12) by A3;
hence thesis Cage(,)holds LSeg(C)(,),auge(,)(,) meets Lower_Arc java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
theorem Th93:
M &
A is commutative & A is associative & A is having_a_unity &
A is having_an_inverseOp &
M is_distributive_wrt A
implies
for CE1,CE2,CE12 be non-empty non empty FinSequence of D* st
CE12 = CE1 ^ CE2
for S1 be Element of Fin dom App CE1,S2 be Element of Fin dom App CE2,
S12 be Element of Fin dom App CE12 st S12=S1^S2
holds
M.(A $$ (S1,M "**" App CE1),A $$ (S2,M "**" App CE2)) =
A $$ (S12,M "**" App CE12)
proof
A17 inSmost X1 by XBOOLE_0:ef 1;
A1: M is commutative associative and
A2: A is commutative & A is associative & A is having_a_unity &
A is having_an_inverseOp and
A3: M is_distributive_wrt A;
letCE1,,CE12 benon-mpty emptyFinSequence ofD
A4: CE12 = CE1^CE2;
let S1 be Element of Fin dom App CE1 Cage(,n) LSeg(,)ij,(n)(i,))C
set aS1=A $$ (S1,M "**" App CE1);
defpred P[Nat] means
for S2 be Element of Fin dom App CE2,
S12 be Element of Fin dom App CE12 st card S2=$1 & S12=S1^S2
holds .a,A$ S,M "*App CE2) =A $ S, **App java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 72
[]
proof
let S2 be java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
bebeElement App such
A6: card S2=0 & S12=S1^S2;
S2 is empty by A6;
then
A7: S1^S2={}.(dom App CE12);
S2={}.(dom App CE2) by A6;
then A $$ (S2,M "**" App CE2) = the_unity_wrt A by A2,SETWISEO:31;
then M.(aS1,A $$ (S2,M "**" App CE2))=the_unity_wrt A by A2,A3,FINSEQOP:66;
hence thesis by A7,A6,A2,SETWISEO:31;
end;
A8: P[n] implies P[n+1]
proof
assume
A9: P[n];
let S2 be Element of Fin dom App CE2,
S12 be Element of Fin dom App CE12 such that
A10: card S2=n+1 & S12=S1^S2;
S2 is non empty by A10;
then consider s be object such that
A11: s in S2;
S2 c= dom App CE2 by FINSUB_1:def 5;
then reconsider s as Element of dom App CE2 by A11;
(C,n(,)in L~pper_Seq(,)ex j1,1 be Nat st j < j1 &j1 <
then S2\{s} c= dom App CE2;
then reconsider S2s=S2\{s} as Element of Fin java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 43
STIRL2_1:55;
in by ZFMISC_1:6;
: S2s\{}=S2 by ,FMISC_1:16;
A15: S12 c= dom App CE12 by FINSUB_1:def 5;
A4:C,+)(Gauge(n1,)in L~C,n+
A6:len Gauge(,+)> :j< G A5,REAL_0:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
onsider =S1^2s as Element of Fin java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
then S1^{s} c= S1^S2 by java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 9
then S1^{s} c= dom App CE12 by A15,A10;
then reconsider S1s = S1^{.s.} as Element of Fin dom App CE12
by FINSUB_1:def 5;
A16: S1s misses S1S2s
proof
assume S1s meets S1S2s;
then consider x such that
A17: x in S1s & x in S1S2s by XBOOLE_0:3;
consider p1, q1 be FinSequence such that
A18: x = p1^q1 & p1 in S1 & q1 in {s} by A17,POLNOT_1:def 2;
consider p2, q2 be FinSequence such that
A19: x = p2^q2 & p2 in S1 & q2 in S2\{s} by A17,POLNOT_1:def 2;
S1 c= dom App CE1 by FINSUB_1:def 5;
then p1 in dom App CE1 & p2 in dom App CE1 by A18,A19;
then len p1 = len CE1 =len p2 by Th47;
then p1 = (p1^q1) | len p1 = p2 by A18,A19,FINSEQ_5:23;
then s=q1=q2 by A18,A19,FINSEQ_1:33,TARSKI:def 1;
hence thesis by A19,ZFMISC_1:56;
end;
A20: A $$ (S12,M "**" App CE12) = A $$ (S1s\/S1S2s,M "**" App CE12)
by A10,A14,Th41
.=A.(A $$ (S1s,M "**" App CE12),A $$ (S1S2s,M "**" App CE12))
by A16,A2,SETWOP_2:4;
A $$ (S12,M "**" App CE12) = A.(A $$ (S1s,M "**" App CE12),
M.(aS1,A $$ (S2s,M "**" App CE2))) by A9,A12,A20
.= A.(M.(aS1,(M "**" App CE2).s), M.(aS1,A $$ (S2s,M "**" App CE2)))
by Th92,A1,A2,A3,A4
.= A.(M.(aS1,A $$ (S2s,M "**" App CE2)),M.(aS1,(M "**" App CE2).s))
by A2,BINOP_1:def 2
.=M.(aS1,A.(A $$ (S2s,M "**" App CE2),(M "**" App CE2).s))
by A3,BINOP_1:11
.=M.(aS1,A $$ (S2,M "**" App CE2)) by A14,A13,A2,SETWOP_2:2;
hence thesis;
end;
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 39
PGaugen
then P[LA=;
hence thesis;set=boundCageC;
end;
theorem
for:1<iand
doms(ignGenOp(,,) *) c= SignGenOp(f^gA)*java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
proof
let E1 be Enumeration of F1;
A12:j <>k A1,A3,A4,A5,A9,Th27;
:xindoms (f,,1 E1;
reconsider x as FinSequence by A1;
A2: len (SignGenOp(f,A,F1) * E1)=len E1 by CARD_1:def 7;
then
A3: len x = len E1 by A1,Th47;
then
A4: len x = len (SignGenOp(f^g,A,F1) * E1) by CARD_1:def 7;
then
A5: dom x = dom (SignGenOp(f^g,A,F1) * E1) by FINSEQ_3:30;
A6: dom x = dom (SignGenOp(f,A,F1) * E1) by A2,A3,FINSEQ_3:30;
for i st i in dom x holds x.i in dom ((SignGenOp(f^g,A,F1) * E1).i)
proof
let i such that
A7: i in dom x;
A8: dom f c= dom (f^g) by FINSEQ_1:26;
A9: x.i in dom ((SignGenOp(f,A,F1) * E1).i) by A7,A1,Th47;
(SignGenOp(f,A,F1) * E1).i = SignGen(f,A,E1.i) by Th80,A7,A6;
then len((SignGenOp(f,A,F1) * E1).i) = len (f) by CARD_1:def 7;
then
A10: dom((SignGenOp(f,A,F1) * E1).i) = dom (f) by FINSEQ_3:30;
(SignGenOp(f^g,A,F1) * E1).i = SignGen(f^g,A,E1.i) by A7,A5,Th80;
then len((SignGenOp(^g,A,1)* E1.i) = len (f^g) by CARD_1:def 7;
then dom((SignGenOp(f^g,A,F1) * E1).i) = dom (f^g) by FINSEQ_3:30;
hence thesis by A8,A9,A10;
end;
hence A28:LS.en LS /.len LS PARTFUN1:def 6
end;
theorem
A is having_a_unity commutative associative
implies
for E1 be Enumeration of F1
for CE1, be non-empty non of *
CE1 = SignGenOp(f,A,F1) * A34:Gij >LS. A2A3A,A32,33,JORDAN1G7java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
S1 ofdomApp CE1
forjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A $$ (S1,M "**" App CE1) = A $$ (S2,M "**" App CE2)
proof
assume
A1: A is having_a_unity commutative associative;
let E1 be Enumeration of F1;
let CE1,CE2 be non-empty non empty FinSequence of D* such that
A2: CE1 = SignGenOp(f,A,F1) * E1 & CE2 = SignGenOp(f^g,A,F1) * E1;
let S1 be Element of Fin dom App CE1;
let S2 be Element of Fin dom App CE2 such that
A3: S1=S2;
A4: S1 c= dom App CE1 = dom (M "**" App CE1) by FINSUB_1:def 5,FUNCT_2:def 1;
A5: S2 A46: len go-1 = m by NAT_D:34;
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A6: dom ((M "**" App CE2) | S2) = S2 by RELAT_1:62;
for x st x >=1 by ,XREAL_1:;
((M "**" App CE1) | S1).x (gom)= go.m,ik byA43,TOPREAL1:def3;
proof
let x such that
A7: x in dom ((M "**" App CE1) | S1);
A8: x in dom (App CE1) by A7,A4;
A67: x in rngbyFINSEQ_6java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A9: x in dom (App CE2) by A7,A5,A3;
len CE2 = len x = len CE1 by A8,A9,Th47;
then
A10: dom CE2 = dom x = dom CE1 by FINSEQ_3:30;
len ((App CE1).x) = len x = len ((App CE2).x) by A8,A9,Def9;
then
A11: dom ((App CE1).x) = dom x = dom ((App CE2).x) by FINSEQ_3:30;
for i st i in dom ((App CE1).x) holds ((App CE1).x).i = ((App CE2).x).i
proof
let i such that
A12: i in dom ((App CE1)
CE2.i.(x.i) = CE1.i.(x.i)
proof
A13: x.i in dom (CE1.i) & x.i in dom (CE2.i) by Th47,A8,A9,A11,A12;
A14: CE1.i = SignGen(f, A,E1.i) by A2,A12,A10,A11,Th80;
A15: CE2.i = SignGen(f^g,A,E1.i) by A2,A12,A10,A11,Th80;
x. indomfby Def11,A14;
perjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
suppose
xi in i;
hence CE2.i.(x.i) = (the_inverseOp_wrt A).((f^g).(x.i))
by A15,.= co/.len co by A9:5
. the_inverseOp_wrt ).f.(.i)by FINSEQ_1def 7
.=
end;
xi E1ijava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
hence .Emaxby JORDAN1F:6;
.= f.(x.i) by A16,FINSEQ_1:def 7
.= end
end;
end;
hence ((App CE1).x).i = CE2.i.(x.i) by A12,A11,A8,Def9
.= ((App CE2).x).i by A12,A11,A9,Def9;
end;
then
A19: (App CE1).x = (App CE2).x by A11;
((M "**" App CE1) | S1).x = (M "**" App CE1).x by A7,FUNCT_1:49
.= M "**" ((App CE2).x) by A19,A7,A4,Def10
.= (M "**" App CE2).x by A7,A5,A3,Def10
.=((M "**" App CE2) | S2).x by A7,A3,FUNCT_1:49;
hence thesis;
end;
then (M "**" App CE1) | S1 = (M "**" App CE2) |S2 by A3,A4,A6,RELAT_1:62;
hence thesis by A1,A3,Th1;
end;
theorem Th96:
for E be Enumeration of F st len E = n + 1 holds
E|n is Enumeration of F\{E.len E} &C
j`1=Gaj)1 A1,A11,A13,:73;
F = (F\{E.len E}) \/ {E.len E}
proof
let E be Enumeration of F such that
A1: len E = n + 1;
set L=len E;
A2: rng <*E.L*> = {E.L} by FINSEQ_1:38;
A3: E = (E|n)^<*E.L*> by A1,FINSEQ_3:55;
then
A4: E|n is one-to-one & <*E.L*> is one-to-one by FINSEQ_3:91;
A5: F = rng E = rng (E|n) \/ rng <*E.L*> & rng (E|n) misses rng <*E.L*>
by A3,FINSEQ_1:31,FINSEQ_3:91,RLAFFIN3:def 1;
(|n F {.}by A2XBOOLE_188java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
hence thesis by java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 6
end;
let F be with_evenly_repeated_values that
clusterA5:i =width Gauge(n
coherence
proof
let E be Element of F; jibe st[,i IndicesGa &pion/n=Ga*j,)
per cases;
suppose F={};
hence thesis;
end;
suppose F<>{};
hence thesis by Def7;
end;
end;
registration
let F be with_evenly_repeated_values-member set;
->with_evenly_repeated_values for ofF
coherence
proof
E Element ofF
per cases;
F{;
hence thesis by SUBSET_1:deflen-+ = pion1;
end;
suppose F<>{};
hence thesis by Def7;
end;
end;
end;
theorem Th97:
for E1 be Enumeration of F1
for p be Function st union F1 c= dom p & p|union F1 is one-to-one holds
(.:p)*E1 is Enumeration of .:p.:F1 & card E1 = card ((.:p)*E1)
proof
let E1 be Enumeration of F1;
let f be Function such that
A1: union F1 c= dom f & f|union F1 is one-to-one;
set fu=f|union F1,If = .:f;
A2: rng E1 = F1 by RLAFFIN3:def 1;
F1 c= bool union F1 c= bool dom f by A1,ZFMISC_1:67,82;
then F1 c= bool dom f;
then F1 c= dom If by FUNCT_3:def 1;
then
A3:dom (If*E1) = dom E1 =Seg len E1 by A2,FINSEQ_1:def 3,RELAT_1:27;
then reconsider fE1 = If*E1 as FinSequence by FINSEQ_1:def 2;
A4: dom fu = union F1 by A1,RELAT_1:62;
A5:fE1 is one-to-one
proof
let x1,x2 be object such that
A6: x1 in dom fE1 & x2 in dom fE1 & fE1.x1 = fE1.x2;
A7: x1 in dom E1 & E1.x1 in dom (.:f) & fE1.x1 = If.(E1.x1)
by A6,FUNCT_1:11,12;
then
A8: fE1.x1 = f.:(E1.x1) & E1.x1 in F1 by A2,FUNCT_1:def 3,FUNCT_3:7;
then
A9: fE1.x1 = fu.:(E1.x1) by RELAT_1:129,ZFMISC_1:74;
A10: x2 in dom E1 & E1.x2 in dom (.:f) & fE1.x2 = If.(E1.x2)
by A6,FUNCT_1:11,12;
then fE1.x2 = f.:(E1.x2) & E1.x2 in F1 by A2,FUNCT_1:def 3,FUNCT_3:7;
then E1.x2 = fu".:(fu.:(E1.x2)) = fu".:(fu.:(E1.x1)) = E1.x1
by A1,A4,A6,A8,A9,FUNCT_1:107,RELAT_1:129,ZFMISC_1:74;
hence thesis by A7,A10,FUNCT_1:def 4;
end;
A11: rng fE1 c= .:f.:F1
proof
let y;
assume y in rng fE1;
then consider x such that
A12
by A12,FUNCT_1:11,12;
then fE1.x = f.:(E1.x) & E1.x in F1 by A2,FUNCT_1:def 3,FUNCT_3:7;
hence thesis by A13,A12,FUNCT_1:def 6;
end;
.:f.:F1 c= rng fE1
proof
let y be object;
assume y in .:f.:F1;
then consider x suchproof
A14: x in dom If A:i< len GaugeC)and
besuchjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
: dom z=byA2Fdef3
.z =y&zin dom fE1 by A15,14,UNCT_111,3;
hencethesis by FUNCT_1def 3;
endA13 < kand
then rng fE1 = A16:G(,` ,,,:;
hence thesis by A5,A3,FINSEQ_3:29,RLAFFIN3:def 1;
end;
A18: pp Nmost X1 by XBOOLE_0:def 1;
for E1 beEnumeration of F1
for g be Function st
union F1 c= dom java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 6
for gE1 be java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 6
for fg be FinSequence of D st g.:dom f c= dom fg
for s be FinSequence st s in doms (SignGenOp(f,A,F1) * E1ppin LSegG*i),G*i,k) by A19,XBOOLE_0def 4java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
holds
gs in doms (ignGenOp(fg,A,:g.:1 gE1)
proof
/ PARTFUN2
gFunctionsuch
A1: union F1 c= dom godo/2in-mostLgodo A164A165,PRECT_212;
let gE1 be Enumeration of .:g.:F1 such that
;
A3:len (SignGenOp(f,A,F1) * E1)= len US dom byFINSEQ_56;
len A166:USlen =US/len :ef6
beofD
A4: g.:dom f c= dom thenp
let sA169 p Lg 3java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A5: s in doms (SignGenOp(f,A,F1) * E1)
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
A6: rng s c= dom g;
A7: dom (g*s) = dom s = Seg len s by A6,FINSEQ_1:def 3,RELAT_1:27;
reconsidergs=*s FinSequenceby FINSEQ_1:def 2;
A8: len s = len (SignGenOp(f,A,F1) * E1) by A5,Th47;
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 11
dom SignGenOpgfA,g.)=.:
,RLAFFIN3:def 1;
then
) = :;
F1 c= bool A176:k=len Ga-1by XREAL_0:ef2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 24
= .)by def1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
then rng E1 c= dom (.:g);
:= A227
len gs = len s by A7,FINSEQ_3:29;
then
A12: len gs = len (SignGenOp(gf,A21:len Ga>= 1byXXREAL_0:;
2 1,k]in Ga byA14,MATRIX_030
proof
let i such that
A25 LS = 1+ by15;
A14:i in dom s A26:A156 /. go'/2by FINSEQ_6:159
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A15: s.i in
s.i in dom SignGen(
A16: s.i in dom f by Def11;
i in dom then
then
17:((gf,,:g.:F1)*gE1)i= SignGen(,AgE1i byTh80,A11;
A18: dom SignGen(gf,A,gE1.i) = dom gf by Def11;
A19: gs.i = g.(s.i) hence contradiction EUCLID52;
s.i in dom g by A13,FUNCT_1:11;
then g.(s.i) in g.:dom f by A16,FUNCT_1:def 6;
hence thesis by A17,A18A4,A19
end;
hence thesis by A12,Th47;
end;
Th99
for E1 be Enumeration of F1
for Function st
union F1 c= dom g & g is one-to-one
gE1be .g.:F1 st gE1 = (.:g)*E1
for fg be FinSequence of D st fg = (f*g") | dom fg & g.:dom f .=US(Gik.US A36FINSEQ_4:21,FINSEQ_6:116;
for s be FinSequence st s in doms (SignGenOp(f,A,F1) * E1) & rng s c= dom g
holds
(App (SignGenOp(f,A,F1) * E1)).s
= (App (SignGenOp(fg,A,.:g.:F1) * gE1)).(g*s)
proof
let E1 be Enumeration of F1;
let g be Function such that
isone--oneone
let be Enumeration of .:g.:F1 such that
A2: gE1 = (.:g)*E1;
A3: g|union A79: now
then
4len SignGenOp(,, E1) len =
len (SignGenOp(f,A,.:g.:F1) * gE1) by A1,A2,Th97,CARD_1:def 7;
such
A5: gf = (f*81 pion1 is_sequence_on
A6: g.:dom f c= dom gf;
let s be FinSequence such that
A7: s in doms (SignGenOp(f,A,F1) * E1)
and
A8: rng s c= dom g;
dom (A89:: len (o'= byXXREAL_0:
thengsgs byd 2java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A9: dom (g*s) = dom s = Seg len s by A8,FINSEQ_1:def 3,RELAT_1:27;
gss FINSEQ_1def ;
:len gs =lens=len SignGenOp(,,..F1 gE1)
by A9,Th47,A4,A7,FINSEQ_3:29;
A11: gs in doms (SignGenOp(gf,A,. . right_cell(_Cut(USGik)1Ga A36,93A138,ORDAN1J:2
len =len SignGenOp(f,F1) E1)byA7,
then
A12: dom s = dom (SignGenOp(f,A,F1) * E1) by FINSEQ_3:30;
A13: gs =g*s & gs in doms (SignGenOp(gf,A,.:g.:F1) * gE1)
A1,,A6,h98,,;
A14: len ((App (SignGenOp(f,A,F1)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
for i st 1<=i & i <= then godo/2in -mostLgodoby A164,SPRECT_2:12;
((App (SignGenOp(f,A,F1) * E1)).s).i =
(App SignGenOp(gf,,.:.:F1) * gE1)).gs).i
proof
let i such that
A15: 1<=i & i <= len s;
: doms FINSEQ_325;
A17: s.i in rng s by A16,FUNCT_1:def 3;
A18: gs.i = g.(s.i) & i in dom gs by A17,A8,A16,FUNCT_1:11,13;
len gs = len (SignGenOp(A187: ,.len 37
thenA194:11< len LSby,XXREAL_0:2
A19: dom gs = dom
A20: (SignGenOp(gf,A,.:g.:F1) * gE1 then Indexpco =lenLS-Gij,)1A186XREAL_0def2;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 59 | |