set N4 = Necklace 4;
let R be non empty strict RelStr ; :: thesis: ( R in fin_RelStr_sp implies R is N-free )
assume A1: R in fin_RelStr_sp ; :: thesis: R is N-free
then consider S being strict RelStr such that
A2: R = S and
A3: the carrier of S in FinSETS by Def4;
assume A4: R embeds Necklace 4 ; :: according to NECKLA_2:def 1 :: thesis: contradiction
defpred S1[ Nat] means ex S being non empty strict RelStr st
( S in fin_RelStr_sp & card the carrier of S = $1 & S embeds Necklace 4 );
reconsider C = the carrier of R as Element of FinSETS by A2, A3;
set k = card C;
A5: ex i being Nat st S1[i]
proof
S1[ card C] by A1, A4;
hence ex i being Nat st S1[i] ; :: thesis: verum
end;
A6: for m being Nat st m <> 0 & S1[m] holds
ex n being Nat st
( n < m & S1[n] )
proof
let m be Nat; :: thesis: ( m <> 0 & S1[m] implies ex n being Nat st
( n < m & S1[n] ) )

assume that
m <> 0 and
A7: S1[m] ; :: thesis: ex n being Nat st
( n < m & S1[n] )

consider S being non empty strict RelStr such that
A8: S in fin_RelStr_sp and
A9: card the carrier of S = m and
A10: S embeds Necklace 4 by A7;
per cases ( S is non empty trivial strict RelStr or ex H1, H2 being strict RelStr st
( the carrier of H1 misses the carrier of H2 & H1 in fin_RelStr_sp & H2 in fin_RelStr_sp & ( S = union_of H1,H2 or S = sum_of H1,H2 ) ) )
by A8, Th6;
suppose A11: S is non empty trivial strict RelStr ; :: thesis: ex n being Nat st
( n < m & S1[n] )

consider f being Function of (Necklace 4),S such that
A12: ( f is one-to-one & ( for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of S ) ) ) by A10, NECKLACE:def 2;
A13: the carrier of (Necklace 4) = {0 ,1,2,3} by NECKLACE:2, NECKLACE:21;
then A14: 0 in the carrier of (Necklace 4) by ENUMSET1:def 2;
A15: 1 in the carrier of (Necklace 4) by A13, ENUMSET1:def 2;
( 0 = 0 + 1 or 1 = 0 + 1 ) ;
then [0 ,1] in the InternalRel of (Necklace 4) by A14, A15, NECKLACE:26;
then A16: [(f . 0 ),(f . 1)] in the InternalRel of S by A12, A14, A15;
then A17: ( f . 0 in dom the InternalRel of S & f . 1 in rng the InternalRel of S ) by RELAT_1:20;
( dom the InternalRel of S c= the carrier of S & rng the InternalRel of S c= the carrier of S ) by RELSET_1:12;
then f . 0 = f . 1 by A11, A17, STRUCT_0:def 10;
then [0 ,0 ] in the InternalRel of (Necklace 4) by A12, A14, A16;
then ( [0 ,0 ] = [0 ,1] or [0 ,0 ] = [1,0 ] or [0 ,0 ] = [1,2] or [0 ,0 ] = [2,1] or [0 ,0 ] = [2,3] or [0 ,0 ] = [3,2] ) by Th2, ENUMSET1:def 4;
hence ex n being Nat st
( n < m & S1[n] ) by ZFMISC_1:33; :: thesis: verum
end;
suppose ex H1, H2 being strict RelStr st
( the carrier of H1 misses the carrier of H2 & H1 in fin_RelStr_sp & H2 in fin_RelStr_sp & ( S = union_of H1,H2 or S = sum_of H1,H2 ) ) ; :: thesis: ex n being Nat st
( n < m & S1[n] )

then consider H1, H2 being strict RelStr such that
A18: the carrier of H1 misses the carrier of H2 and
A19: ( H1 in fin_RelStr_sp & H2 in fin_RelStr_sp ) and
A20: ( S = union_of H1,H2 or S = sum_of H1,H2 ) ;
A21: now
assume A22: S = union_of H1,H2 ; :: thesis: ex n being Nat st
( n < m & S1[n] )

consider f being Function of (Necklace 4),S such that
A23: f is one-to-one and
A24: for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of S ) by A10, NECKLACE:def 2;
the carrier of (Necklace 4) = {0 ,1,2,3} by NECKLACE:2, NECKLACE:21;
then A25: ( 0 in the carrier of (Necklace 4) & 1 in the carrier of (Necklace 4) & 2 in the carrier of (Necklace 4) & 3 in the carrier of (Necklace 4) ) by ENUMSET1:def 2;
A26: [0 ,1] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A27: [1,0 ] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A28: [1,2] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A29: [2,1] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A30: [2,3] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A31: [3,2] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A32: ( dom the InternalRel of S c= the carrier of S & rng the InternalRel of S c= the carrier of S ) by RELSET_1:12;
A33: [(f . 0 ),(f . 1)] in the InternalRel of S by A24, A25, A26;
A34: [(f . 1),(f . 0 )] in the InternalRel of S by A24, A25, A27;
( f . 0 in dom the InternalRel of S & f . 1 in rng the InternalRel of S ) by A33, RELAT_1:20;
then A35: ( f . 0 in the carrier of S & f . 1 in the carrier of S ) by A32;
A36: [(f . 1),(f . 2)] in the InternalRel of S by A24, A25, A28;
A37: [(f . 2),(f . 1)] in the InternalRel of S by A24, A25, A29;
A38: [(f . 2),(f . 3)] in the InternalRel of S by A24, A25, A30;
A39: [(f . 3),(f . 2)] in the InternalRel of S by A24, A25, A31;
A40: f . 0 in the carrier of H1 \/ the carrier of H2 by A22, A35, Def2;
per cases ( f . 0 in the carrier of H1 or f . 0 in the carrier of H2 ) by A40, XBOOLE_0:def 3;
suppose A41: f . 0 in the carrier of H1 ; :: thesis: ex n being Nat st
( n < m & S1[n] )

A42: ( dom the InternalRel of H1 c= the carrier of H1 & rng the InternalRel of H1 c= the carrier of H1 ) by RELSET_1:12;
A43: ( dom the InternalRel of H2 c= the carrier of H2 & rng the InternalRel of H2 c= the carrier of H2 ) by RELSET_1:12;
A44: [(f . 0 ),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A33, Def2;
A45: [(f . 1),(f . 0 )] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A34, Def2;
A46: [(f . 0 ),(f . 1)] in the InternalRel of H1
proof
now
assume [(f . 0 ),(f . 1)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 0 in dom the InternalRel of H2 & f . 1 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A41, A43, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 0 ),(f . 1)] in the InternalRel of H1 by A44, XBOOLE_0:def 3; :: thesis: verum
end;
A47: [(f . 1),(f . 0 )] in the InternalRel of H1
proof
now
assume [(f . 1),(f . 0 )] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H2 & f . 0 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A41, A43, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 0 )] in the InternalRel of H1 by A45, XBOOLE_0:def 3; :: thesis: verum
end;
A48: f . 1 in rng the InternalRel of H1 by A46, RELAT_1:20;
A49: [(f . 1),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A36, Def2;
A50: [(f . 2),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A37, Def2;
A51: [(f . 1),(f . 2)] in the InternalRel of H1
proof
now
assume [(f . 1),(f . 2)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H2 & f . 2 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A42, A43, A48, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 2)] in the InternalRel of H1 by A49, XBOOLE_0:def 3; :: thesis: verum
end;
A52: [(f . 2),(f . 1)] in the InternalRel of H1
proof
now
assume [(f . 2),(f . 1)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H2 & f . 1 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A42, A43, A48, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 1)] in the InternalRel of H1 by A50, XBOOLE_0:def 3; :: thesis: verum
end;
A53: f . 2 in rng the InternalRel of H1 by A51, RELAT_1:20;
A54: [(f . 2),(f . 3)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A38, Def2;
A55: [(f . 3),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A39, Def2;
A56: [(f . 2),(f . 3)] in the InternalRel of H1
proof
now
assume [(f . 2),(f . 3)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H2 & f . 3 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A42, A43, A53, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 3)] in the InternalRel of H1 by A54, XBOOLE_0:def 3; :: thesis: verum
end;
A57: [(f . 3),(f . 2)] in the InternalRel of H1
proof
now
assume [(f . 3),(f . 2)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 3 in dom the InternalRel of H2 & f . 2 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A42, A43, A53, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 3),(f . 2)] in the InternalRel of H1 by A55, XBOOLE_0:def 3; :: thesis: verum
end;
A58: f . 3 in rng the InternalRel of H1 by A56, RELAT_1:20;
not H2 is empty by A19, Th4;
then A59: not the carrier of H2 is empty ;
A60: dom f = the carrier of (Necklace 4) by FUNCT_2:def 1;
rng f c= the carrier of H1
proof
let y be set ; :: according to TARSKI:def 3 :: thesis: ( not y in rng f or y in the carrier of H1 )
assume y in rng f ; :: thesis: y in the carrier of H1
then consider x being set such that
A61: ( x in dom f & y = f . x ) by FUNCT_1:def 5;
per cases ( x = 0 or x = 1 or x = 2 or x = 3 ) by A60, A61, Lm1, ENUMSET1:def 2;
suppose x = 0 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A41, A61; :: thesis: verum
end;
suppose x = 1 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A42, A48, A61; :: thesis: verum
end;
suppose x = 2 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A42, A53, A61; :: thesis: verum
end;
suppose x = 3 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A42, A58, A61; :: thesis: verum
end;
end;
end;
then A62: f is Function of the carrier of (Necklace 4),the carrier of H1 by FUNCT_2:8;
A63: H1 embeds Necklace 4
proof
for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H1 )
proof
let x, y be Element of (Necklace 4); :: thesis: ( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H1 )
thus ( [x,y] in the InternalRel of (Necklace 4) implies [(f . x),(f . y)] in the InternalRel of H1 ) :: thesis: ( [(f . x),(f . y)] in the InternalRel of H1 implies [x,y] in the InternalRel of (Necklace 4) )
proof
assume A64: [x,y] in the InternalRel of (Necklace 4) ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
per cases ( [x,y] = [0 ,1] or [x,y] = [1,0 ] or [x,y] = [1,2] or [x,y] = [2,1] or [x,y] = [2,3] or [x,y] = [3,2] ) by A64, Th2, ENUMSET1:def 4;
suppose [x,y] = [0 ,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 0 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A46; :: thesis: verum
end;
suppose [x,y] = [1,0 ] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 1 & y = 0 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A47; :: thesis: verum
end;
suppose [x,y] = [1,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 1 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A51; :: thesis: verum
end;
suppose [x,y] = [2,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 2 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A52; :: thesis: verum
end;
suppose [x,y] = [2,3] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 2 & y = 3 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A56; :: thesis: verum
end;
suppose [x,y] = [3,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 3 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A57; :: thesis: verum
end;
end;
end;
thus ( [(f . x),(f . y)] in the InternalRel of H1 implies [x,y] in the InternalRel of (Necklace 4) ) :: thesis: verum
proof
assume A65: [(f . x),(f . y)] in the InternalRel of H1 ; :: thesis: [x,y] in the InternalRel of (Necklace 4)
( [(f . x),(f . y)] in the InternalRel of S implies [x,y] in the InternalRel of (Necklace 4) ) by A24;
then ( [(f . x),(f . y)] in the InternalRel of H1 \/ the InternalRel of H2 implies [x,y] in the InternalRel of (Necklace 4) ) by A22, Def2;
hence [x,y] in the InternalRel of (Necklace 4) by A65, XBOOLE_0:def 3; :: thesis: verum
end;
end;
hence H1 embeds Necklace 4 by A23, A62, NECKLACE:def 2; :: thesis: verum
end;
A66: H1 is non empty strict RelStr by A19, Th4;
set cS = the carrier of S;
set cH1 = the carrier of H1;
set cH2 = the carrier of H2;
H1 is finite by A19, Th4;
then reconsider cH1 = the carrier of H1 as finite set ;
H2 is finite by A19, Th4;
then reconsider cH2 = the carrier of H2 as finite set ;
the carrier of S = cH1 \/ cH2 by A22, Def2;
then reconsider cS = the carrier of S as finite set ;
A67: cH1 <> cS
proof
assume A68: cH1 = cS ; :: thesis: contradiction
A69: cS = cH1 \/ cH2 by A22, Def2;
consider x being set such that
A70: x in cH2 by A59, XBOOLE_0:def 1;
cH1 /\ cH2 = {} by A18, XBOOLE_0:def 7;
then not x in cH1 by A70, XBOOLE_0:def 4;
hence contradiction by A68, A69, A70, XBOOLE_0:def 3; :: thesis: verum
end;
cS = cH1 \/ cH2 by A22, Def2;
then cH1 c= cS by XBOOLE_1:7;
then cH1 c< cS by A67, XBOOLE_0:def 8;
then card cH1 < card cS by CARD_2:67;
hence ex n being Nat st
( n < m & S1[n] ) by A9, A19, A63, A66; :: thesis: verum
end;
suppose A71: f . 0 in the carrier of H2 ; :: thesis: ex n being Nat st
( n < m & S1[n] )

A72: ( dom the InternalRel of H2 c= the carrier of H2 & rng the InternalRel of H2 c= the carrier of H2 ) by RELSET_1:12;
A73: ( dom the InternalRel of H1 c= the carrier of H1 & rng the InternalRel of H1 c= the carrier of H1 ) by RELSET_1:12;
A74: [(f . 0 ),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A33, Def2;
A75: [(f . 1),(f . 0 )] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A34, Def2;
A76: [(f . 0 ),(f . 1)] in the InternalRel of H2
proof
now
assume [(f . 0 ),(f . 1)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 0 in dom the InternalRel of H1 & f . 1 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A71, A73, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 0 ),(f . 1)] in the InternalRel of H2 by A74, XBOOLE_0:def 3; :: thesis: verum
end;
A77: [(f . 1),(f . 0 )] in the InternalRel of H2
proof
now
assume [(f . 1),(f . 0 )] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H1 & f . 0 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A71, A73, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 0 )] in the InternalRel of H2 by A75, XBOOLE_0:def 3; :: thesis: verum
end;
A78: f . 1 in rng the InternalRel of H2 by A76, RELAT_1:20;
A79: [(f . 1),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A36, Def2;
A80: [(f . 2),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A37, Def2;
A81: [(f . 1),(f . 2)] in the InternalRel of H2
proof
now
assume [(f . 1),(f . 2)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H1 & f . 2 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A72, A73, A78, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 2)] in the InternalRel of H2 by A79, XBOOLE_0:def 3; :: thesis: verum
end;
A82: [(f . 2),(f . 1)] in the InternalRel of H2
proof
now
assume [(f . 2),(f . 1)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H1 & f . 1 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A72, A73, A78, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 1)] in the InternalRel of H2 by A80, XBOOLE_0:def 3; :: thesis: verum
end;
A83: f . 2 in rng the InternalRel of H2 by A81, RELAT_1:20;
A84: [(f . 2),(f . 3)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A38, Def2;
A85: [(f . 3),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 by A22, A39, Def2;
A86: [(f . 2),(f . 3)] in the InternalRel of H2
proof
now
assume [(f . 2),(f . 3)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H1 & f . 3 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A72, A73, A83, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 3)] in the InternalRel of H2 by A84, XBOOLE_0:def 3; :: thesis: verum
end;
A87: [(f . 3),(f . 2)] in the InternalRel of H2
proof
now
assume [(f . 3),(f . 2)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 3 in dom the InternalRel of H1 & f . 2 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A72, A73, A83, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 3),(f . 2)] in the InternalRel of H2 by A85, XBOOLE_0:def 3; :: thesis: verum
end;
A88: f . 3 in rng the InternalRel of H2 by A86, RELAT_1:20;
not H1 is empty by A19, Th4;
then A89: not the carrier of H1 is empty ;
A90: dom f = the carrier of (Necklace 4) by FUNCT_2:def 1;
rng f c= the carrier of H2
proof
let y be set ; :: according to TARSKI:def 3 :: thesis: ( not y in rng f or y in the carrier of H2 )
assume y in rng f ; :: thesis: y in the carrier of H2
then consider x being set such that
A91: ( x in dom f & y = f . x ) by FUNCT_1:def 5;
per cases ( x = 0 or x = 1 or x = 2 or x = 3 ) by A90, A91, Lm1, ENUMSET1:def 2;
suppose x = 0 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A71, A91; :: thesis: verum
end;
suppose x = 1 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A72, A78, A91; :: thesis: verum
end;
suppose x = 2 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A72, A83, A91; :: thesis: verum
end;
suppose x = 3 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A72, A88, A91; :: thesis: verum
end;
end;
end;
then A92: f is Function of the carrier of (Necklace 4),the carrier of H2 by FUNCT_2:8;
A93: H2 embeds Necklace 4
proof
for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H2 )
proof
let x, y be Element of (Necklace 4); :: thesis: ( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H2 )
thus ( [x,y] in the InternalRel of (Necklace 4) implies [(f . x),(f . y)] in the InternalRel of H2 ) :: thesis: ( [(f . x),(f . y)] in the InternalRel of H2 implies [x,y] in the InternalRel of (Necklace 4) )
proof
assume A94: [x,y] in the InternalRel of (Necklace 4) ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
per cases ( [x,y] = [0 ,1] or [x,y] = [1,0 ] or [x,y] = [1,2] or [x,y] = [2,1] or [x,y] = [2,3] or [x,y] = [3,2] ) by A94, Th2, ENUMSET1:def 4;
suppose [x,y] = [0 ,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 0 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A76; :: thesis: verum
end;
suppose [x,y] = [1,0 ] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 1 & y = 0 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A77; :: thesis: verum
end;
suppose [x,y] = [1,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 1 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A81; :: thesis: verum
end;
suppose [x,y] = [2,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 2 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A82; :: thesis: verum
end;
suppose [x,y] = [2,3] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 2 & y = 3 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A86; :: thesis: verum
end;
suppose [x,y] = [3,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 3 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A87; :: thesis: verum
end;
end;
end;
thus ( [(f . x),(f . y)] in the InternalRel of H2 implies [x,y] in the InternalRel of (Necklace 4) ) :: thesis: verum
proof
assume A95: [(f . x),(f . y)] in the InternalRel of H2 ; :: thesis: [x,y] in the InternalRel of (Necklace 4)
( [(f . x),(f . y)] in the InternalRel of S implies [x,y] in the InternalRel of (Necklace 4) ) by A24;
then ( [(f . x),(f . y)] in the InternalRel of H1 \/ the InternalRel of H2 implies [x,y] in the InternalRel of (Necklace 4) ) by A22, Def2;
hence [x,y] in the InternalRel of (Necklace 4) by A95, XBOOLE_0:def 3; :: thesis: verum
end;
end;
hence H2 embeds Necklace 4 by A23, A92, NECKLACE:def 2; :: thesis: verum
end;
A96: H2 is non empty strict RelStr by A19, Th4;
set cS = the carrier of S;
set cH1 = the carrier of H1;
set cH2 = the carrier of H2;
H1 is finite by A19, Th4;
then reconsider cH1 = the carrier of H1 as finite set ;
H2 is finite by A19, Th4;
then reconsider cH2 = the carrier of H2 as finite set ;
the carrier of S = cH1 \/ cH2 by A22, Def2;
then reconsider cS = the carrier of S as finite set ;
A97: cH2 <> cS
proof
assume A98: cH2 = cS ; :: thesis: contradiction
A99: cS = cH1 \/ cH2 by A22, Def2;
consider x being set such that
A100: x in cH1 by A89, XBOOLE_0:def 1;
cH1 /\ cH2 = {} by A18, XBOOLE_0:def 7;
then not x in cH2 by A100, XBOOLE_0:def 4;
hence contradiction by A98, A99, A100, XBOOLE_0:def 3; :: thesis: verum
end;
cS = cH1 \/ cH2 by A22, Def2;
then cH2 c= cS by XBOOLE_1:7;
then cH2 c< cS by A97, XBOOLE_0:def 8;
then card cH2 < card cS by CARD_2:67;
hence ex n being Nat st
( n < m & S1[n] ) by A9, A19, A93, A96; :: thesis: verum
end;
end;
end;
now
assume A101: S = sum_of H1,H2 ; :: thesis: ex n being Nat st
( n < m & S1[n] )

consider f being Function of (Necklace 4),S such that
A102: f is one-to-one and
A103: for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of S ) by A10, NECKLACE:def 2;
the carrier of (Necklace 4) = {0 ,1,2,3} by NECKLACE:2, NECKLACE:21;
then A104: ( 0 in the carrier of (Necklace 4) & 1 in the carrier of (Necklace 4) & 2 in the carrier of (Necklace 4) & 3 in the carrier of (Necklace 4) ) by ENUMSET1:def 2;
set A = the InternalRel of H1;
set B = the InternalRel of H2;
set C = [:the carrier of H1,the carrier of H2:];
set D = [:the carrier of H2,the carrier of H1:];
set cH1 = the carrier of H1;
set cH2 = the carrier of H2;
set cS = the carrier of S;
A105: [0 ,1] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A106: [1,0 ] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A107: [1,2] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A108: [2,1] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A109: [2,3] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A110: [3,2] in the InternalRel of (Necklace 4) by Th2, ENUMSET1:def 4;
A111: ( dom the InternalRel of S c= the carrier of S & rng the InternalRel of S c= the carrier of S ) by RELSET_1:12;
A112: [(f . 0 ),(f . 1)] in the InternalRel of S by A103, A104, A105;
A113: [(f . 1),(f . 0 )] in the InternalRel of S by A103, A104, A106;
( f . 0 in dom the InternalRel of S & f . 1 in rng the InternalRel of S ) by A112, RELAT_1:20;
then A114: ( f . 0 in the carrier of S & f . 1 in the carrier of S ) by A111;
then A115: f . 1 in the carrier of H1 \/ the carrier of H2 by A101, Def3;
A116: [(f . 1),(f . 2)] in the InternalRel of S by A103, A104, A107;
then ( f . 1 in dom the InternalRel of S & f . 2 in rng the InternalRel of S ) by RELAT_1:20;
then ( f . 1 in the carrier of S & f . 2 in the carrier of S ) by A111;
then A117: f . 2 in the carrier of H1 \/ the carrier of H2 by A101, Def3;
A118: [(f . 2),(f . 1)] in the InternalRel of S by A103, A104, A108;
A119: [(f . 2),(f . 3)] in the InternalRel of S by A103, A104, A109;
then ( f . 2 in dom the InternalRel of S & f . 3 in rng the InternalRel of S ) by RELAT_1:20;
then f . 3 in the carrier of S by A111;
then A120: f . 3 in the carrier of H1 \/ the carrier of H2 by A101, Def3;
A121: [(f . 3),(f . 2)] in the InternalRel of S by A103, A104, A110;
A122: f . 0 in the carrier of H1 \/ the carrier of H2 by A101, A114, Def3;
A123: ( dom the InternalRel of H2 c= the carrier of H2 & rng the InternalRel of H2 c= the carrier of H2 ) by RELSET_1:12;
A124: ( dom the InternalRel of H1 c= the carrier of H1 & rng the InternalRel of H1 c= the carrier of H1 ) by RELSET_1:12;
A125: not [0 ,2] in the InternalRel of (Necklace 4)
proof
assume A126: [0 ,2] in the InternalRel of (Necklace 4) ; :: thesis: contradiction
per cases ( [0 ,2] = [0 ,1] or [0 ,2] = [1,2] or [0 ,2] = [2,3] or [0 ,2] = [3,2] or [0 ,2] = [2,1] or [0 ,2] = [1,0 ] ) by A126, Th2, ENUMSET1:def 4;
end;
end;
A127: not [0 ,3] in the InternalRel of (Necklace 4)
proof
assume A128: [0 ,3] in the InternalRel of (Necklace 4) ; :: thesis: contradiction
per cases ( [0 ,3] = [0 ,1] or [0 ,3] = [1,2] or [0 ,3] = [2,3] or [0 ,3] = [3,2] or [0 ,3] = [2,1] or [0 ,3] = [1,0 ] ) by A128, Th2, ENUMSET1:def 4;
end;
end;
A129: not [1,3] in the InternalRel of (Necklace 4)
proof
assume A130: [1,3] in the InternalRel of (Necklace 4) ; :: thesis: contradiction
per cases ( [1,3] = [0 ,1] or [1,3] = [1,2] or [1,3] = [2,3] or [1,3] = [3,2] or [1,3] = [2,1] or [1,3] = [1,0 ] ) by A130, Th2, ENUMSET1:def 4;
end;
end;
A131: ( the InternalRel of H1 c= the InternalRel of S & the InternalRel of H2 c= the InternalRel of S & [:the carrier of H1,the carrier of H2:] c= the InternalRel of S & [:the carrier of H2,the carrier of H1:] c= the InternalRel of S )
proof
A132: the InternalRel of H1 c= the InternalRel of S
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in the InternalRel of H1 or x in the InternalRel of S )
assume x in the InternalRel of H1 ; :: thesis: x in the InternalRel of S
then A133: x in the InternalRel of H1 \/ the InternalRel of H2 by XBOOLE_0:def 3;
the InternalRel of H1 \/ the InternalRel of H2 c= (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] by XBOOLE_1:7;
then A134: x in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] by A133;
(the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] c= ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by XBOOLE_1:7;
then (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] c= the InternalRel of S by A101, Def3;
hence x in the InternalRel of S by A134; :: thesis: verum
end;
A135: the InternalRel of H2 c= the InternalRel of S
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in the InternalRel of H2 or x in the InternalRel of S )
assume x in the InternalRel of H2 ; :: thesis: x in the InternalRel of S
then A136: x in the InternalRel of H1 \/ the InternalRel of H2 by XBOOLE_0:def 3;
the InternalRel of H1 \/ the InternalRel of H2 c= (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] by XBOOLE_1:7;
then A137: x in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] by A136;
(the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] c= ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by XBOOLE_1:7;
then (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] c= the InternalRel of S by A101, Def3;
hence x in the InternalRel of S by A137; :: thesis: verum
end;
A138: [:the carrier of H1,the carrier of H2:] c= the InternalRel of S
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in [:the carrier of H1,the carrier of H2:] or x in the InternalRel of S )
assume x in [:the carrier of H1,the carrier of H2:] ; :: thesis: x in the InternalRel of S
then A139: x in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] by XBOOLE_0:def 3;
(the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] c= ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by XBOOLE_1:7;
then (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] c= the InternalRel of S by A101, Def3;
hence x in the InternalRel of S by A139; :: thesis: verum
end;
[:the carrier of H2,the carrier of H1:] c= the InternalRel of S
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in [:the carrier of H2,the carrier of H1:] or x in the InternalRel of S )
assume x in [:the carrier of H2,the carrier of H1:] ; :: thesis: x in the InternalRel of S
then A140: x in (the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by XBOOLE_0:def 3;
(the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] c= the InternalRel of H1 \/ ((the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:]) by XBOOLE_1:7;
then (the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] c= the InternalRel of H1 \/ (the InternalRel of H2 \/ ([:the carrier of H1,the carrier of H2:] \/ [:the carrier of H2,the carrier of H1:])) by XBOOLE_1:4;
then (the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] c= (the InternalRel of H1 \/ the InternalRel of H2) \/ ([:the carrier of H1,the carrier of H2:] \/ [:the carrier of H2,the carrier of H1:]) by XBOOLE_1:4;
then (the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] c= ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by XBOOLE_1:4;
then (the InternalRel of H2 \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] c= the InternalRel of S by A101, Def3;
hence x in the InternalRel of S by A140; :: thesis: verum
end;
hence ( the InternalRel of H1 c= the InternalRel of S & the InternalRel of H2 c= the InternalRel of S & [:the carrier of H1,the carrier of H2:] c= the InternalRel of S & [:the carrier of H2,the carrier of H1:] c= the InternalRel of S ) by A132, A135, A138; :: thesis: verum
end;
per cases ( f . 0 in the carrier of H1 or f . 0 in the carrier of H2 ) by A122, XBOOLE_0:def 3;
suppose A141: f . 0 in the carrier of H1 ; :: thesis: ex n being Nat st
( n < m & S1[n] )

A142: f . 2 in the carrier of H1
proof
now
assume f . 2 in the carrier of H2 ; :: thesis: contradiction
then [(f . 0 ),(f . 2)] in [:the carrier of H1,the carrier of H2:] by A141, ZFMISC_1:106;
hence contradiction by A103, A104, A125, A131; :: thesis: verum
end;
hence f . 2 in the carrier of H1 by A117, XBOOLE_0:def 3; :: thesis: verum
end;
A143: f . 3 in the carrier of H1
proof
now
assume f . 3 in the carrier of H2 ; :: thesis: contradiction
then [(f . 0 ),(f . 3)] in [:the carrier of H1,the carrier of H2:] by A141, ZFMISC_1:106;
hence contradiction by A103, A104, A127, A131; :: thesis: verum
end;
hence f . 3 in the carrier of H1 by A120, XBOOLE_0:def 3; :: thesis: verum
end;
A144: f . 1 in the carrier of H1
proof
now
assume f . 1 in the carrier of H2 ; :: thesis: contradiction
then [(f . 1),(f . 3)] in [:the carrier of H2,the carrier of H1:] by A143, ZFMISC_1:106;
hence contradiction by A103, A104, A129, A131; :: thesis: verum
end;
hence f . 1 in the carrier of H1 by A115, XBOOLE_0:def 3; :: thesis: verum
end;
set x1 = [(f . 0 ),(f . 1)];
set x2 = [(f . 1),(f . 2)];
set x3 = [(f . 2),(f . 3)];
set x4 = [(f . 1),(f . 0 )];
set x5 = [(f . 2),(f . 1)];
set x6 = [(f . 3),(f . 2)];
[(f . 0 ),(f . 1)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A112, Def3;
then ( [(f . 0 ),(f . 1)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 0 ),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A145: ( [(f . 0 ),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 0 ),(f . 1)] in [:the carrier of H1,the carrier of H2:] or [(f . 0 ),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A146: [(f . 0 ),(f . 1)] in the InternalRel of H1
proof
A147: now
assume [(f . 0 ),(f . 1)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 0 in dom the InternalRel of H2 & f . 1 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A123, A141, XBOOLE_0:3; :: thesis: verum
end;
A148: now
assume [(f . 0 ),(f . 1)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 0 in the carrier of H1 & f . 1 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A144, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 0 ),(f . 1)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 0 in the carrier of H2 & f . 1 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A141, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 0 ),(f . 1)] in the InternalRel of H1 by A145, A147, A148, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 1),(f . 0 )] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A113, Def3;
then ( [(f . 1),(f . 0 )] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 0 )] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A149: ( [(f . 1),(f . 0 )] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 1),(f . 0 )] in [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 0 )] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A150: [(f . 1),(f . 0 )] in the InternalRel of H1
proof
A151: now
assume [(f . 1),(f . 0 )] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H2 & f . 0 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A123, A141, XBOOLE_0:3; :: thesis: verum
end;
A152: now
assume [(f . 1),(f . 0 )] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H1 & f . 0 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A141, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 1),(f . 0 )] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H2 & f . 0 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A144, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 0 )] in the InternalRel of H1 by A149, A151, A152, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 1),(f . 2)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A116, Def3;
then ( [(f . 1),(f . 2)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A153: ( [(f . 1),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 1),(f . 2)] in [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A154: [(f . 1),(f . 2)] in the InternalRel of H1
proof
A155: now
assume [(f . 1),(f . 2)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H2 & f . 2 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A123, A144, XBOOLE_0:3; :: thesis: verum
end;
A156: now
assume [(f . 1),(f . 2)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H1 & f . 2 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A142, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 1),(f . 2)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H2 & f . 2 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A144, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 2)] in the InternalRel of H1 by A153, A155, A156, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 2),(f . 1)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A118, Def3;
then ( [(f . 2),(f . 1)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A157: ( [(f . 2),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 2),(f . 1)] in [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A158: [(f . 2),(f . 1)] in the InternalRel of H1
proof
A159: now
assume [(f . 2),(f . 1)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H2 & f . 1 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A123, A144, XBOOLE_0:3; :: thesis: verum
end;
A160: now
assume [(f . 2),(f . 1)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H1 & f . 1 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A144, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 2),(f . 1)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H2 & f . 1 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A142, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 1)] in the InternalRel of H1 by A157, A159, A160, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 2),(f . 3)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A119, Def3;
then ( [(f . 2),(f . 3)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 3)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A161: ( [(f . 2),(f . 3)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 2),(f . 3)] in [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 3)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A162: [(f . 2),(f . 3)] in the InternalRel of H1
proof
A163: now
assume [(f . 2),(f . 3)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H2 & f . 3 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A123, A142, XBOOLE_0:3; :: thesis: verum
end;
A164: now
assume [(f . 2),(f . 3)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H1 & f . 3 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A143, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 2),(f . 3)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H2 & f . 3 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A142, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 3)] in the InternalRel of H1 by A161, A163, A164, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 3),(f . 2)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A121, Def3;
then ( [(f . 3),(f . 2)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 3),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A165: ( [(f . 3),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 3),(f . 2)] in [:the carrier of H1,the carrier of H2:] or [(f . 3),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A166: [(f . 3),(f . 2)] in the InternalRel of H1
proof
A167: now
assume [(f . 3),(f . 2)] in the InternalRel of H2 ; :: thesis: contradiction
then ( f . 3 in dom the InternalRel of H2 & f . 2 in rng the InternalRel of H2 ) by RELAT_1:20;
hence contradiction by A18, A123, A142, XBOOLE_0:3; :: thesis: verum
end;
A168: now
assume [(f . 3),(f . 2)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 3 in the carrier of H1 & f . 2 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A142, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 3),(f . 2)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 3 in the carrier of H2 & f . 2 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A143, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 3),(f . 2)] in the InternalRel of H1 by A165, A167, A168, XBOOLE_0:def 3; :: thesis: verum
end;
not H2 is empty by A19, Th4;
then A169: not the carrier of H2 is empty ;
A170: dom f = the carrier of (Necklace 4) by FUNCT_2:def 1;
rng f c= the carrier of H1
proof
let y be set ; :: according to TARSKI:def 3 :: thesis: ( not y in rng f or y in the carrier of H1 )
assume y in rng f ; :: thesis: y in the carrier of H1
then consider x being set such that
A171: ( x in dom f & y = f . x ) by FUNCT_1:def 5;
per cases ( x = 0 or x = 1 or x = 2 or x = 3 ) by A170, A171, Lm1, ENUMSET1:def 2;
suppose x = 0 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A141, A171; :: thesis: verum
end;
suppose x = 1 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A144, A171; :: thesis: verum
end;
suppose x = 2 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A142, A171; :: thesis: verum
end;
suppose x = 3 ; :: thesis: y in the carrier of H1
hence y in the carrier of H1 by A143, A171; :: thesis: verum
end;
end;
end;
then A172: f is Function of the carrier of (Necklace 4),the carrier of H1 by FUNCT_2:8;
A173: H1 embeds Necklace 4
proof
for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H1 )
proof
let x, y be Element of (Necklace 4); :: thesis: ( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H1 )
thus ( [x,y] in the InternalRel of (Necklace 4) implies [(f . x),(f . y)] in the InternalRel of H1 ) :: thesis: ( [(f . x),(f . y)] in the InternalRel of H1 implies [x,y] in the InternalRel of (Necklace 4) )
proof
assume A174: [x,y] in the InternalRel of (Necklace 4) ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
per cases ( [x,y] = [0 ,1] or [x,y] = [1,0 ] or [x,y] = [1,2] or [x,y] = [2,1] or [x,y] = [2,3] or [x,y] = [3,2] ) by A174, Th2, ENUMSET1:def 4;
suppose [x,y] = [0 ,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 0 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A146; :: thesis: verum
end;
suppose [x,y] = [1,0 ] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 1 & y = 0 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A150; :: thesis: verum
end;
suppose [x,y] = [1,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 1 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A154; :: thesis: verum
end;
suppose [x,y] = [2,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 2 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A158; :: thesis: verum
end;
suppose [x,y] = [2,3] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 2 & y = 3 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A162; :: thesis: verum
end;
suppose [x,y] = [3,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H1
then ( x = 3 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H1 by A166; :: thesis: verum
end;
end;
end;
thus ( [(f . x),(f . y)] in the InternalRel of H1 implies [x,y] in the InternalRel of (Necklace 4) ) :: thesis: verum
proof
assume A175: [(f . x),(f . y)] in the InternalRel of H1 ; :: thesis: [x,y] in the InternalRel of (Necklace 4)
( [(f . x),(f . y)] in the InternalRel of S implies [x,y] in the InternalRel of (Necklace 4) ) by A103;
then ( [(f . x),(f . y)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] implies [x,y] in the InternalRel of (Necklace 4) ) by A101, Def3;
then ( [(f . x),(f . y)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ ([:the carrier of H1,the carrier of H2:] \/ [:the carrier of H2,the carrier of H1:]) implies [x,y] in the InternalRel of (Necklace 4) ) by XBOOLE_1:4;
then ( [(f . x),(f . y)] in the InternalRel of H1 \/ (the InternalRel of H2 \/ ([:the carrier of H1,the carrier of H2:] \/ [:the carrier of H2,the carrier of H1:])) implies [x,y] in the InternalRel of (Necklace 4) ) by XBOOLE_1:4;
hence [x,y] in the InternalRel of (Necklace 4) by A175, XBOOLE_0:def 3; :: thesis: verum
end;
end;
hence H1 embeds Necklace 4 by A102, A172, NECKLACE:def 2; :: thesis: verum
end;
A176: H1 is non empty strict RelStr by A19, Th4;
H1 is finite by A19, Th4;
then reconsider cH1 = the carrier of H1 as finite set ;
H2 is finite by A19, Th4;
then reconsider cH2 = the carrier of H2 as finite set ;
the carrier of S = cH1 \/ cH2 by A101, Def3;
then reconsider cS = the carrier of S as finite set ;
A177: cH1 <> cS
proof
assume A178: cH1 = cS ; :: thesis: contradiction
A179: cS = cH1 \/ cH2 by A101, Def3;
consider x being set such that
A180: x in cH2 by A169, XBOOLE_0:def 1;
cH1 /\ cH2 = {} by A18, XBOOLE_0:def 7;
then not x in cH1 by A180, XBOOLE_0:def 4;
hence contradiction by A178, A179, A180, XBOOLE_0:def 3; :: thesis: verum
end;
cS = cH1 \/ cH2 by A101, Def3;
then cH1 c= cS by XBOOLE_1:7;
then cH1 c< cS by A177, XBOOLE_0:def 8;
then card cH1 < card cS by CARD_2:67;
hence ex n being Nat st
( n < m & S1[n] ) by A9, A19, A173, A176; :: thesis: verum
end;
suppose A181: f . 0 in the carrier of H2 ; :: thesis: ex n being Nat st
( n < m & S1[n] )

A182: f . 2 in the carrier of H2
proof
now
assume f . 2 in the carrier of H1 ; :: thesis: contradiction
then [(f . 0 ),(f . 2)] in [:the carrier of H2,the carrier of H1:] by A181, ZFMISC_1:106;
hence contradiction by A103, A104, A125, A131; :: thesis: verum
end;
hence f . 2 in the carrier of H2 by A117, XBOOLE_0:def 3; :: thesis: verum
end;
A183: f . 3 in the carrier of H2
proof
now
assume f . 3 in the carrier of H1 ; :: thesis: contradiction
then [(f . 0 ),(f . 3)] in [:the carrier of H2,the carrier of H1:] by A181, ZFMISC_1:106;
hence contradiction by A103, A104, A127, A131; :: thesis: verum
end;
hence f . 3 in the carrier of H2 by A120, XBOOLE_0:def 3; :: thesis: verum
end;
A184: f . 1 in the carrier of H2
proof
now
assume f . 1 in the carrier of H1 ; :: thesis: contradiction
then [(f . 1),(f . 3)] in [:the carrier of H1,the carrier of H2:] by A183, ZFMISC_1:106;
hence contradiction by A103, A104, A129, A131; :: thesis: verum
end;
hence f . 1 in the carrier of H2 by A115, XBOOLE_0:def 3; :: thesis: verum
end;
set x1 = [(f . 0 ),(f . 1)];
set x2 = [(f . 1),(f . 2)];
set x3 = [(f . 2),(f . 3)];
set x4 = [(f . 1),(f . 0 )];
set x5 = [(f . 2),(f . 1)];
set x6 = [(f . 3),(f . 2)];
[(f . 0 ),(f . 1)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A112, Def3;
then ( [(f . 0 ),(f . 1)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 0 ),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A185: ( [(f . 0 ),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 0 ),(f . 1)] in [:the carrier of H1,the carrier of H2:] or [(f . 0 ),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A186: [(f . 0 ),(f . 1)] in the InternalRel of H2
proof
A187: now
assume [(f . 0 ),(f . 1)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 0 in dom the InternalRel of H1 & f . 1 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A124, A181, XBOOLE_0:3; :: thesis: verum
end;
A188: now
assume [(f . 0 ),(f . 1)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 0 in the carrier of H1 & f . 1 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A181, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 0 ),(f . 1)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 0 in the carrier of H2 & f . 1 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A184, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 0 ),(f . 1)] in the InternalRel of H2 by A185, A187, A188, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 1),(f . 0 )] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A113, Def3;
then ( [(f . 1),(f . 0 )] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 0 )] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A189: ( [(f . 1),(f . 0 )] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 1),(f . 0 )] in [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 0 )] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A190: [(f . 1),(f . 0 )] in the InternalRel of H2
proof
A191: now
assume [(f . 1),(f . 0 )] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H1 & f . 0 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A124, A184, XBOOLE_0:3; :: thesis: verum
end;
A192: now
assume [(f . 1),(f . 0 )] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H1 & f . 0 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A184, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 1),(f . 0 )] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H2 & f . 0 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A181, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 0 )] in the InternalRel of H2 by A189, A191, A192, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 1),(f . 2)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A116, Def3;
then ( [(f . 1),(f . 2)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A193: ( [(f . 1),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 1),(f . 2)] in [:the carrier of H1,the carrier of H2:] or [(f . 1),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A194: [(f . 1),(f . 2)] in the InternalRel of H2
proof
A195: now
assume [(f . 1),(f . 2)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 1 in dom the InternalRel of H1 & f . 2 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A124, A182, XBOOLE_0:3; :: thesis: verum
end;
A196: now
assume [(f . 1),(f . 2)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H1 & f . 2 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A184, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 1),(f . 2)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 1 in the carrier of H2 & f . 2 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A182, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 1),(f . 2)] in the InternalRel of H2 by A193, A195, A196, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 2),(f . 1)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A118, Def3;
then ( [(f . 2),(f . 1)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A197: ( [(f . 2),(f . 1)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 2),(f . 1)] in [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 1)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A198: [(f . 2),(f . 1)] in the InternalRel of H2
proof
A199: now
assume [(f . 2),(f . 1)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H1 & f . 1 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A124, A184, XBOOLE_0:3; :: thesis: verum
end;
A200: now
assume [(f . 2),(f . 1)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H1 & f . 1 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A182, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 2),(f . 1)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H2 & f . 1 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A184, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 1)] in the InternalRel of H2 by A197, A199, A200, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 2),(f . 3)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A119, Def3;
then ( [(f . 2),(f . 3)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 3)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A201: ( [(f . 2),(f . 3)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 2),(f . 3)] in [:the carrier of H1,the carrier of H2:] or [(f . 2),(f . 3)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A202: [(f . 2),(f . 3)] in the InternalRel of H2
proof
A203: now
assume [(f . 2),(f . 3)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 2 in dom the InternalRel of H1 & f . 3 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A124, A182, XBOOLE_0:3; :: thesis: verum
end;
A204: now
assume [(f . 2),(f . 3)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H1 & f . 3 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A182, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 2),(f . 3)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 2 in the carrier of H2 & f . 3 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A183, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 2),(f . 3)] in the InternalRel of H2 by A201, A203, A204, XBOOLE_0:def 3; :: thesis: verum
end;
[(f . 3),(f . 2)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] by A101, A121, Def3;
then ( [(f . 3),(f . 2)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:] or [(f . 3),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
then A205: ( [(f . 3),(f . 2)] in the InternalRel of H1 \/ the InternalRel of H2 or [(f . 3),(f . 2)] in [:the carrier of H1,the carrier of H2:] or [(f . 3),(f . 2)] in [:the carrier of H2,the carrier of H1:] ) by XBOOLE_0:def 3;
A206: [(f . 3),(f . 2)] in the InternalRel of H2
proof
A207: now
assume [(f . 3),(f . 2)] in the InternalRel of H1 ; :: thesis: contradiction
then ( f . 3 in dom the InternalRel of H1 & f . 2 in rng the InternalRel of H1 ) by RELAT_1:20;
hence contradiction by A18, A124, A182, XBOOLE_0:3; :: thesis: verum
end;
A208: now
assume [(f . 3),(f . 2)] in [:the carrier of H1,the carrier of H2:] ; :: thesis: contradiction
then ( f . 3 in the carrier of H1 & f . 2 in the carrier of H2 ) by ZFMISC_1:106;
hence contradiction by A18, A183, XBOOLE_0:3; :: thesis: verum
end;
now
assume [(f . 3),(f . 2)] in [:the carrier of H2,the carrier of H1:] ; :: thesis: contradiction
then ( f . 3 in the carrier of H2 & f . 2 in the carrier of H1 ) by ZFMISC_1:106;
hence contradiction by A18, A182, XBOOLE_0:3; :: thesis: verum
end;
hence [(f . 3),(f . 2)] in the InternalRel of H2 by A205, A207, A208, XBOOLE_0:def 3; :: thesis: verum
end;
not H1 is empty by A19, Th4;
then A209: not the carrier of H1 is empty ;
A210: dom f = the carrier of (Necklace 4) by FUNCT_2:def 1;
rng f c= the carrier of H2
proof
let y be set ; :: according to TARSKI:def 3 :: thesis: ( not y in rng f or y in the carrier of H2 )
assume y in rng f ; :: thesis: y in the carrier of H2
then consider x being set such that
A211: ( x in dom f & y = f . x ) by FUNCT_1:def 5;
per cases ( x = 0 or x = 1 or x = 2 or x = 3 ) by A210, A211, Lm1, ENUMSET1:def 2;
suppose x = 0 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A181, A211; :: thesis: verum
end;
suppose x = 1 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A184, A211; :: thesis: verum
end;
suppose x = 2 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A182, A211; :: thesis: verum
end;
suppose x = 3 ; :: thesis: y in the carrier of H2
hence y in the carrier of H2 by A183, A211; :: thesis: verum
end;
end;
end;
then A212: f is Function of the carrier of (Necklace 4),the carrier of H2 by FUNCT_2:8;
A213: H2 embeds Necklace 4
proof
for x, y being Element of (Necklace 4) holds
( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H2 )
proof
let x, y be Element of (Necklace 4); :: thesis: ( [x,y] in the InternalRel of (Necklace 4) iff [(f . x),(f . y)] in the InternalRel of H2 )
thus ( [x,y] in the InternalRel of (Necklace 4) implies [(f . x),(f . y)] in the InternalRel of H2 ) :: thesis: ( [(f . x),(f . y)] in the InternalRel of H2 implies [x,y] in the InternalRel of (Necklace 4) )
proof
assume A214: [x,y] in the InternalRel of (Necklace 4) ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
per cases ( [x,y] = [0 ,1] or [x,y] = [1,0 ] or [x,y] = [1,2] or [x,y] = [2,1] or [x,y] = [2,3] or [x,y] = [3,2] ) by A214, Th2, ENUMSET1:def 4;
suppose [x,y] = [0 ,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 0 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A186; :: thesis: verum
end;
suppose [x,y] = [1,0 ] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 1 & y = 0 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A190; :: thesis: verum
end;
suppose [x,y] = [1,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 1 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A194; :: thesis: verum
end;
suppose [x,y] = [2,1] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 2 & y = 1 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A198; :: thesis: verum
end;
suppose [x,y] = [2,3] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 2 & y = 3 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A202; :: thesis: verum
end;
suppose [x,y] = [3,2] ; :: thesis: [(f . x),(f . y)] in the InternalRel of H2
then ( x = 3 & y = 2 ) by ZFMISC_1:33;
hence [(f . x),(f . y)] in the InternalRel of H2 by A206; :: thesis: verum
end;
end;
end;
thus ( [(f . x),(f . y)] in the InternalRel of H2 implies [x,y] in the InternalRel of (Necklace 4) ) :: thesis: verum
proof
assume A215: [(f . x),(f . y)] in the InternalRel of H2 ; :: thesis: [x,y] in the InternalRel of (Necklace 4)
( [(f . x),(f . y)] in the InternalRel of S implies [x,y] in the InternalRel of (Necklace 4) ) by A103;
then ( [(f . x),(f . y)] in ((the InternalRel of H1 \/ the InternalRel of H2) \/ [:the carrier of H1,the carrier of H2:]) \/ [:the carrier of H2,the carrier of H1:] implies [x,y] in the InternalRel of (Necklace 4) ) by A101, Def3;
then ( [(f . x),(f . y)] in (the InternalRel of H1 \/ the InternalRel of H2) \/ ([:the carrier of H1,the carrier of H2:] \/ [:the carrier of H2,the carrier of H1:]) implies [x,y] in the InternalRel of (Necklace 4) ) by XBOOLE_1:4;
then ( [(f . x),(f . y)] in the InternalRel of H2 \/ (the InternalRel of H1 \/ ([:the carrier of H1,the carrier of H2:] \/ [:the carrier of H2,the carrier of H1:])) implies [x,y] in the InternalRel of (Necklace 4) ) by XBOOLE_1:4;
hence [x,y] in the InternalRel of (Necklace 4) by A215, XBOOLE_0:def 3; :: thesis: verum
end;
end;
hence H2 embeds Necklace 4 by A102, A212, NECKLACE:def 2; :: thesis: verum
end;
A216: H2 is non empty strict RelStr by A19, Th4;
H1 is finite by A19, Th4;
then reconsider cH1 = the carrier of H1 as finite set ;
H2 is finite by A19, Th4;
then reconsider cH2 = the carrier of H2 as finite set ;
the carrier of S = cH1 \/ cH2 by A101, Def3;
then reconsider cS = the carrier of S as finite set ;
A217: cH2 <> cS
proof
assume A218: cH2 = cS ; :: thesis: contradiction
A219: cS = cH1 \/ cH2 by A101, Def3;
consider x being set such that
A220: x in cH1 by A209, XBOOLE_0:def 1;
cH1 /\ cH2 = {} by A18, XBOOLE_0:def 7;
then not x in cH2 by A220, XBOOLE_0:def 4;
hence contradiction by A218, A219, A220, XBOOLE_0:def 3; :: thesis: verum
end;
cS = cH1 \/ cH2 by A101, Def3;
then cH2 c= cS by XBOOLE_1:7;
then cH2 c< cS by A217, XBOOLE_0:def 8;
then card cH2 < card cS by CARD_2:67;
hence ex n being Nat st
( n < m & S1[n] ) by A9, A19, A213, A216; :: thesis: verum
end;
end;
end;
hence ex n being Nat st
( n < m & S1[n] ) by A20, A21; :: thesis: verum
end;
end;
end;
S1[ 0 ] from NAT_1:sch 7(A5, A6);
hence contradiction ; :: thesis: verum