:: AFVECT01 semantic presentation

registration
let c1 be non empty set ;
let c2 be Relation of [:c1,c1:];
cluster AffinStruct(# a1,a2 #) -> non empty ;
coherence
not AffinStruct(# c1,c2 #) is empty
by STRUCT_0:def 1;
end;

E1: for b1 being WeakAffVect
for b2, b3, b4 being Element of b1 holds
( ( b2,b3 '||' b3,b4 ) implies ( not b2 <> b4 or b2,b3 // b3,b4 ) )
proof
let c1 be WeakAffVect;
let c2, c3, c4 be Element of c1;
assume E2: ( c2,c3 '||' c3,c4 & c2 <> c4 ) ;
now
assume c2,c3 // c4,c3 ;
then c3,c2 // c3,c4 by AFVECT0:8;
hence not verum by E2, AFVECT0:5;
end;
hence c2,c3 // c3,c4 by E2, DIRAF:def 4;
end;

E2: for b1 being WeakAffVect
for b2, b3 being Element of b1 holds
( b2,b3 // b3,b2 iff ex b4, b5 being Element of b1 st
( b2,b3 '||' b4,b5 & b2,b4 '||' b4,b3 & b2,b5 '||' b5,b3 ) )
proof
let c1 be WeakAffVect;
let c2, c3 be Element of c1;
E3: now
assume E4: c2,c3 // c3,c2 ;
E5: now
assume E6: c2 = c3 ;
take c4 = c2;
take c5 = c2;
( c2,c3 // c4,c5 & c2,c4 // c4,c3 & c2,c5 // c5,c3 ) by E6, AFVECT0:3;
hence ( c2,c3 '||' c4,c5 & c2,c4 '||' c4,c3 & c2,c5 '||' c5,c3 ) by DIRAF:def 4;
end;
now
assume E6: c2 <> c3 ;
consider c4 being Element of c1 such that
E7: Mid c2,c4,c3 by AFVECT0:24;
consider c5 being Element of c1 such that
E8: c2,c3 // c4,c5 by AFVECT0:def 1;
MDist c2,c3 by E4, E6, AFVECT0:def 2;
then MDist c4,c5 by E8, AFVECT0:19;
then E9: Mid c2,c5,c3 by E7, AFVECT0:28;
E10: c2,c4 // c4,c3 by E7, AFVECT0:def 3;
E11: c2,c5 // c5,c3 by E9, AFVECT0:def 3;
take c6 = c4;
take c7 = c5;
thus ( c2,c3 '||' c6,c7 & c2,c6 '||' c6,c3 & c2,c7 '||' c7,c3 ) by E8, E10, E11, DIRAF:def 4;
end;
hence ex b1, b2 being Element of c1 st
( c2,c3 '||' b1,b2 & c2,b1 '||' b1,c3 & c2,b2 '||' b2,c3 ) by E5;
end;
now
given c4, c5 being Element of c1 such that E4: ( c2,c3 '||' c4,c5 & c2,c4 '||' c4,c3 & c2,c5 '||' c5,c3 ) ;
now
assume E5: c2 <> c3 ;
then ( c2,c4 // c4,c3 & c2,c5 // c5,c3 ) by E4, E1;
then E6: ( Mid c2,c4,c3 & Mid c2,c5,c3 ) by AFVECT0:def 3;
E7: now
assume c4 = c5 ;
then c2,c3 // c4,c4 by E4, DIRAF:def 4;
hence not verum by E5, AFVECT0:def 1;
end;
now
assume E8: MDist c4,c5 ;
( c2,c3 // c4,c5 or c2,c3 // c5,c4 ) by E4, DIRAF:def 4;
then ( c4,c5 // c2,c3 or c5,c4 // c2,c3 ) by AFVECT0:4;
then MDist c2,c3 by E8, AFVECT0:19;
hence c2,c3 // c3,c2 by AFVECT0:def 2;
end;
hence c2,c3 // c3,c2 by E6, E7, AFVECT0:25;
end;
hence c2,c3 // c3,c2 by AFVECT0:3;
end;
hence ( c2,c3 // c3,c2 iff ex b1, b2 being Element of c1 st
( c2,c3 '||' b1,b2 & c2,b1 '||' b1,c3 & c2,b2 '||' b2,c3 ) ) by E3;
end;

E3: for b1 being WeakAffVect
for b2, b3, b4, b5 being Element of b1 holds
( b2,b3 '||' b4,b5 implies b3,b2 '||' b4,b5 )
proof
let c1 be WeakAffVect;
let c2, c3, c4, c5 be Element of c1;
assume c2,c3 '||' c4,c5 ;
then ( c2,c3 // c4,c5 or c2,c3 // c5,c4 ) by DIRAF:def 4;
then ( c3,c2 // c5,c4 or c3,c2 // c4,c5 ) by AFVECT0:8;
hence c3,c2 '||' c4,c5 by DIRAF:def 4;
end;

E4: for b1 being WeakAffVect
for b2, b3 being Element of b1 holds b2,b3 '||' b3,b2
proof
let c1 be WeakAffVect;
let c2, c3 be Element of c1;
c2,c3 // c2,c3 by AFVECT0:2;
hence c2,c3 '||' c3,c2 by DIRAF:def 4;
end;

E5: for b1 being WeakAffVect
for b2, b3, b4 being Element of b1 holds
( b2,b3 '||' b4,b4 implies b2 = b3 )
proof
let c1 be WeakAffVect;
let c2, c3, c4 be Element of c1;
assume c2,c3 '||' c4,c4 ;
then c2,c3 // c4,c4 by DIRAF:def 4;
hence c2 = c3 by AFVECT0:def 1;
end;

E6: for b1 being WeakAffVect
for b2, b3, b4, b5, b6, b7 being Element of b1 holds
( ( b2,b3 '||' b6,b7 & b4,b5 '||' b6,b7 ) implies ( b2,b3 '||' b4,b5 ) )
proof
let c1 be WeakAffVect;
let c2, c3, c4, c5, c6, c7 be Element of c1;
assume ( c2,c3 '||' c6,c7 & c4,c5 '||' c6,c7 ) ;
then not ( not ( c2,c3 // c6,c7 & c4,c5 // c6,c7 ) & not ( c2,c3 // c6,c7 & c4,c5 // c7,c6 ) & not ( c2,c3 // c7,c6 & c4,c5 // c6,c7 ) & not ( c2,c3 // c7,c6 & c4,c5 // c7,c6 ) ) by DIRAF:def 4;
then not ( not c2,c3 // c4,c5 & not ( c2,c3 // c6,c7 & c5,c4 // c6,c7 ) & not ( c2,c3 // c7,c6 & c5,c4 // c7,c6 ) ) by AFVECT0:8, AFVECT0:def 1;
then ( c2,c3 // c4,c5 or c2,c3 // c5,c4 ) by AFVECT0:def 1;
hence c2,c3 '||' c4,c5 by DIRAF:def 4;
end;

E7: for b1 being WeakAffVect
for b2, b3 being Element of b1 holds
ex b4 being Element of b1 st b2,b4 '||' b4,b3
proof
let c1 be WeakAffVect;
let c2, c3 be Element of c1;
consider c4 being Element of c1 such that
E8: c2,c4 // c4,c3 by AFVECT0:def 1;
take c4 ;
thus c2,c4 '||' c4,c3 by E8, DIRAF:def 4;
end;

E8: for b1 being WeakAffVect
for b2, b3, b4, b5, b6 being Element of b1 holds
( ( b6,b2 '||' b6,b3 & b6,b4 '||' b6,b5 ) implies ( not b2 <> b3 or not b4 <> b5 or b2,b4 '||' b3,b5 ) )
proof
let c1 be WeakAffVect;
let c2, c3, c4, c5, c6 be Element of c1;
assume ( c2 <> c3 & c4 <> c5 & c6,c2 '||' c6,c3 & c6,c4 '||' c6,c5 ) ;
then ( c2 <> c3 & c4 <> c5 & c2,c6 '||' c6,c3 & c4,c6 '||' c6,c5 ) by E3;
then ( c2,c6 // c6,c3 & c4,c6 // c6,c5 ) by E1;
then ( Mid c2,c6,c3 & Mid c4,c6,c5 ) by AFVECT0:def 3;
then c2,c4 // c5,c3 by AFVECT0:30;
hence c2,c4 '||' c3,c5 by DIRAF:def 4;
end;

E9: for b1 being WeakAffVect
for b2, b3 being Element of b1 holds
not ( not b2 = b3 & ( for b4 being Element of b1 holds
( not ( b2 <> b4 & b2,b3 '||' b3,b4 ) & ( for b5, b6 being Element of b1 holds
not ( b5 <> b6 & b2,b3 '||' b5,b6 & b2,b5 '||' b5,b3 & b2,b6 '||' b6,b3 ) ) ) ) )
proof
let c1 be WeakAffVect;
let c2, c3 be Element of c1;
consider c4 being Element of c1 such that
E10: c2,c3 // c3,c4 by AFVECT0:def 1;
E11: now
assume c2 = c4 ;
then consider c5, c6 being Element of c1 such that
E12: ( c2,c3 '||' c5,c6 & c2,c5 '||' c5,c3 & c2,c6 '||' c6,c3 ) by E10, E2;
( c5 = c6 implies c2 = c3 ) by E12, E5;
hence not ( not c2 = c3 & ( for b1, b2 being Element of c1 holds
not ( b1 <> b2 & c2,c3 '||' b1,b2 & c2,b1 '||' b1,c3 & c2,b2 '||' b2,c3 ) ) ) by E12;
end;
now
assume E12: c2 <> c4 ;
c2,c3 '||' c3,c4 by E10, DIRAF:def 4;
hence ex b1 being Element of c1 st
( c2 <> b1 & c2,c3 '||' c3,b1 ) by E12;
end;
hence not ( not c2 = c3 & ( for b1 being Element of c1 holds
( not ( c2 <> b1 & c2,c3 '||' c3,b1 ) & ( for b2, b3 being Element of c1 holds
not ( b2 <> b3 & c2,c3 '||' b2,b3 & c2,b2 '||' b2,c3 & c2,b3 '||' b3,c3 ) ) ) ) ) by E11;
end;

E10: for b1 being WeakAffVect
for b2, b3, b4, b5, b6, b7 being Element of b1 holds
( ( b2,b3 '||' b3,b7 & b3,b4 '||' b5,b6 & b3,b5 '||' b5,b4 & b3,b6 '||' b6,b4 ) implies ( b2,b4 '||' b4,b7 ) )
proof
let c1 be WeakAffVect;
let c2, c3, c4, c5, c6, c7 be Element of c1;
assume E11: ( c2,c3 '||' c3,c7 & c3,c4 '||' c5,c6 & c3,c5 '||' c5,c4 & c3,c6 '||' c6,c4 ) ;
then E12: ( c2,c3 '||' c3,c7 & c3,c4 // c4,c3 ) by E2;
E13: now
assume E14: c2,c3 // c3,c7 ;
then E15: Mid c2,c3,c7 by AFVECT0:def 3;
E16: now
assume MDist c3,c4 ;
then Mid c2,c4,c7 by E15, AFVECT0:28;
then c2,c4 // c4,c7 by AFVECT0:def 3;
hence c2,c4 '||' c4,c7 by DIRAF:def 4;
end;
( c3 = c4 implies c2,c4 '||' c4,c7 ) by E14, DIRAF:def 4;
hence c2,c4 '||' c4,c7 by E12, E16, AFVECT0:def 2;
end;
now
assume c2,c3 // c7,c3 ;
then c3,c2 // c3,c7 by AFVECT0:8;
then c2 = c7 by AFVECT0:5;
then c2,c4 // c7,c4 by AFVECT0:2;
hence c2,c4 '||' c4,c7 by DIRAF:def 4;
end;
hence c2,c4 '||' c4,c7 by E11, E13, DIRAF:def 4;
end;

E11: for b1 being WeakAffVect
for b2, b3, b4, b5 being Element of b1 holds
not ( b2 <> b5 & b3 <> b4 & b2,b3 '||' b3,b5 & b2,b4 '||' b4,b5 & ( for b6, b7 being Element of b1 holds
not ( b6 <> b7 & b3,b4 '||' b6,b7 & b3,b6 '||' b6,b4 & b3,b7 '||' b7,b4 ) ) )
proof
let c1 be WeakAffVect;
let c2, c3, c4, c5 be Element of c1;
assume E12: ( c2 <> c5 & c3 <> c4 & c2,c3 '||' c3,c5 & c2,c4 '||' c4,c5 ) ;
then ( c3 <> c4 & c2,c3 // c3,c5 & c2,c4 // c4,c5 ) by E1;
then ( c3 <> c4 & Mid c2,c3,c5 & Mid c2,c4,c5 ) by AFVECT0:def 3;
then ( c3 <> c4 & MDist c3,c4 ) by AFVECT0:25;
then c3,c4 // c4,c3 by AFVECT0:def 2;
then consider c6, c7 being Element of c1 such that
E13: ( c3,c4 '||' c6,c7 & c3,c6 '||' c6,c4 & c3,c7 '||' c7,c4 ) by E2;
not ( c6 <> c7 & ( for b1, b2 being Element of c1 holds
not ( b1 <> b2 & c3,c4 '||' b1,b2 & c3,b1 '||' b1,c4 & c3,b2 '||' b2,c4 ) ) ) by E13;
hence ex b1, b2 being Element of c1 st
( b1 <> b2 & c3,c4 '||' b1,b2 & c3,b1 '||' b1,c4 & c3,b2 '||' b2,c4 ) by E12, E13, E5;
end;

E12: for b1 being WeakAffVect
for b2, b3, b4, b5, b6, b7, b8 being Element of b1 holds
not ( b2,b3 '||' b5,b6 & b2,b4 '||' b7,b8 & b2,b5 '||' b5,b3 & b2,b7 '||' b7,b4 & b2,b6 '||' b6,b3 & b2,b8 '||' b8,b4 & ( for b9, b10 being Element of b1 holds
not ( b3,b4 '||' b9,b10 & b3,b9 '||' b9,b4 & b3,b10 '||' b10,b4 ) ) )
proof
let c1 be WeakAffVect;
let c2, c3, c4, c5, c6, c7, c8 be Element of c1;
assume ( c2,c3 '||' c5,c6 & c2,c4 '||' c7,c8 & c2,c5 '||' c5,c3 & c2,c7 '||' c7,c4 & c2,c6 '||' c6,c3 & c2,c8 '||' c8,c4 ) ;
then ( c2,c3 // c3,c2 & c2,c4 // c4,c2 ) by E2;
then c3,c4 // c4,c3 by AFVECT0:13;
hence ex b1, b2 being Element of c1 st
( c3,c4 '||' b1,b2 & c3,b1 '||' b1,c4 & c3,b2 '||' b2,c4 ) by E2;
end;

consider c1 being WeakAffVect;

set c2 = the carrier of c1;

set c3 = [:the carrier of c1,the carrier of c1:];

defpred S1[ set , set ] means ex b1, b2, b3, b4 being Element of the carrier of c1 st
( a1 = [b1,b2] & a2 = [b3,b4] & b1,b2 '||' b3,b4 );

consider c4 being Relation of [:the carrier of c1,the carrier of c1:],[:the carrier of c1,the carrier of c1:] such that
E13: for b1, b2 being set holds
( [b1,b2] in c4 iff ( b1 in [:the carrier of c1,the carrier of c1:] & b2 in [:the carrier of c1,the carrier of c1:] & S1[b1,b2] ) ) from RELSET_1:sch 1();

E14: for b1, b2, b3, b4 being Element of the carrier of c1 holds
( [[b1,b2],[b3,b4]] in c4 iff b1,b2 '||' b3,b4 )
proof
let c5, c6, c7, c8 be Element of the carrier of c1;
E15: ( [[c5,c6],[c7,c8]] in c4 implies c5,c6 '||' c7,c8 )
proof
assume [[c5,c6],[c7,c8]] in c4 ;
then consider c9, c10, c11, c12 being Element of the carrier of c1 such that
E16: ( [c5,c6] = [c9,c10] & [c7,c8] = [c11,c12] ) and
E17: c9,c10 '||' c11,c12 by E13;
( c5 = c9 & c6 = c10 & c7 = c11 & c8 = c12 ) by E16, ZFMISC_1:33;
hence c5,c6 '||' c7,c8 by E17;
end;
( [c5,c6] in [:the carrier of c1,the carrier of c1:] & [c7,c8] in [:the carrier of c1,the carrier of c1:] ) by ZFMISC_1:def 2;
hence ( [[c5,c6],[c7,c8]] in c4 iff c5,c6 '||' c7,c8 ) by E15, E13;
end;

set c5 = AffinStruct(# the carrier of c1,c4 #);

E15: for b1, b2, b3, b4 being Element of c1
for b5, b6, b7, b8 being Element of the carrier of AffinStruct(# the carrier of c1,c4 #) holds
( ( b1 = b5 & b2 = b6 & b3 = b7 & b4 = b8 ) implies ( ( b1,b2 '||' b3,b4 iff b5,b6 // b7,b8 ) ) )
proof
let c6, c7, c8, c9 be Element of c1;
let c10, c11, c12, c13 be Element of the carrier of AffinStruct(# the carrier of c1,c4 #);
assume E16: ( c6 = c10 & c7 = c11 & c8 = c12 & c9 = c13 ) ;
E17: now
assume c6,c7 '||' c8,c9 ;
then [[c6,c7],[c8,c9]] in the CONGR of AffinStruct(# the carrier of c1,c4 #) by E14;
hence c10,c11 // c12,c13 by E16, ANALOAF:def 2;
end;
now
assume c10,c11 // c12,c13 ;
then [[c10,c11],[c12,c13]] in c4 by ANALOAF:def 2;
hence c6,c7 '||' c8,c9 by E16, E14;
end;
hence ( c6,c7 '||' c8,c9 iff c10,c11 // c12,c13 ) by E17;
end;

E16: now
thus not for b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) holds not b1 <> b2 by REALSET2:def 7;
thus for b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) holds b1,b2 // b2,b1
proof
let c6, c7 be Element of AffinStruct(# the carrier of c1,c4 #);
reconsider c8 = c6, c9 = c7 as Element of the carrier of c1 ;
c8,c9 '||' c9,c8 by E4;
hence c6,c7 // c7,c6 by E15;
end;
thus for b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) holds
( b1,b2 // b1,b1 implies b1 = b2 )
proof
let c6, c7 be Element of AffinStruct(# the carrier of c1,c4 #);
assume E17: c6,c7 // c6,c6 ;
reconsider c8 = c6, c9 = c7 as Element of c1 ;
c8,c9 '||' c8,c8 by E17, E15;
hence c6 = c7 by E5;
end;
thus for b1, b2, b3, b4, b5, b6 being Element of AffinStruct(# the carrier of c1,c4 #) holds
( ( b1,b2 // b5,b6 & b3,b4 // b5,b6 ) implies ( b1,b2 // b3,b4 ) )
proof
let c6, c7, c8, c9, c10, c11 be Element of AffinStruct(# the carrier of c1,c4 #);
assume E17: ( c6,c7 // c10,c11 & c8,c9 // c10,c11 ) ;
reconsider c12 = c6, c13 = c7, c14 = c8, c15 = c9, c16 = c10, c17 = c11 as Element of c1 ;
( c12,c13 '||' c16,c17 & c14,c15 '||' c16,c17 ) by E17, E15;
then c12,c13 '||' c14,c15 by E6;
hence c6,c7 // c8,c9 by E15;
end;
thus for b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) holds
ex b3 being Element of the carrier of AffinStruct(# the carrier of c1,c4 #) st b1,b3 // b3,b2
proof
let c6, c7 be Element of AffinStruct(# the carrier of c1,c4 #);
reconsider c8 = c6, c9 = c7 as Element of c1 ;
consider c10 being Element of c1 such that
E17: c8,c10 '||' c10,c9 by E7;
reconsider c11 = c10 as Element of AffinStruct(# the carrier of c1,c4 #) ;
c6,c11 // c11,c7 by E17, E15;
hence ex b1 being Element of the carrier of AffinStruct(# the carrier of c1,c4 #) st c6,b1 // b1,c7 ;
end;
thus for b1, b2, b3, b4, b5 being Element of AffinStruct(# the carrier of c1,c4 #) holds
( ( b5,b1 // b5,b2 & b5,b3 // b5,b4 ) implies ( not b1 <> b2 or not b3 <> b4 or b1,b3 // b2,b4 ) )
proof
let c6, c7, c8, c9, c10 be Element of AffinStruct(# the carrier of c1,c4 #);
assume that
E17: ( c6 <> c7 & c8 <> c9 ) and
E18: ( c10,c6 // c10,c7 & c10,c8 // c10,c9 ) ;
reconsider c11 = c6, c12 = c7, c13 = c8, c14 = c9, c15 = c10 as Element of c1 ;
( c15,c11 '||' c15,c12 & c15,c13 '||' c15,c14 ) by E18, E15;
then c11,c13 '||' c12,c14 by E17, E8;
hence c6,c8 // c7,c9 by E15;
end;
thus for b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( not b1 = b2 & ( for b3 being Element of AffinStruct(# the carrier of c1,c4 #) holds
( not ( b1 <> b3 & b1,b2 // b2,b3 ) & ( for b4, b5 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( b4 <> b5 & b1,b2 // b4,b5 & b1,b4 // b4,b2 & b1,b5 // b5,b2 ) ) ) ) )
proof
let c6, c7 be Element of AffinStruct(# the carrier of c1,c4 #);
assume E17: not c6 = c7 ;
reconsider c8 = c6, c9 = c7 as Element of c1 ;
E18: now
given c10 being Element of c1 such that E19: ( c8 <> c10 & c8,c9 '||' c9,c10 ) ;
reconsider c11 = c10 as Element of AffinStruct(# the carrier of c1,c4 #) ;
( c6 <> c11 & c6,c7 // c7,c11 ) by E19, E15;
hence ex b1 being Element of AffinStruct(# the carrier of c1,c4 #) st
( c6 <> b1 & c6,c7 // c7,b1 ) ;
end;
now
given c10, c11 being Element of c1 such that E19: ( c10 <> c11 & c8,c9 '||' c10,c11 & c8,c10 '||' c10,c9 & c8,c11 '||' c11,c9 ) ;
reconsider c12 = c10, c13 = c11 as Element of AffinStruct(# the carrier of c1,c4 #) ;
( c12 <> c13 & c6,c7 // c12,c13 & c6,c12 // c12,c7 & c6,c13 // c13,c7 ) by E19, E15;
hence ex b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) st
( b1 <> b2 & c6,c7 // b1,b2 & c6,b1 // b1,c7 & c6,b2 // b2,c7 ) ;
end;
hence not for b1 being Element of AffinStruct(# the carrier of c1,c4 #) holds
( not ( c6 <> b1 & c6,c7 // c7,b1 ) & ( for b2, b3 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( b2 <> b3 & c6,c7 // b2,b3 & c6,b2 // b2,c7 & c6,b3 // b3,c7 ) ) ) by E17, E18, E9;
end;
thus for b1, b2, b3, b4, b5, b6 being Element of AffinStruct(# the carrier of c1,c4 #) holds
( ( b1,b2 // b2,b6 & b2,b3 // b4,b5 & b2,b4 // b4,b3 & b2,b5 // b5,b3 ) implies ( b1,b3 // b3,b6 ) )
proof
let c6, c7, c8, c9, c10, c11 be Element of AffinStruct(# the carrier of c1,c4 #);
assume E17: ( c6,c7 // c7,c11 & c7,c8 // c9,c10 & c7,c9 // c9,c8 & c7,c10 // c10,c8 ) ;
reconsider c12 = c6, c13 = c7, c14 = c8, c15 = c9, c16 = c10, c17 = c11 as Element of c1 ;
( c12,c13 '||' c13,c17 & c13,c14 '||' c15,c16 & c13,c15 '||' c15,c14 & c13,c16 '||' c16,c14 ) by E17, E15;
then c12,c14 '||' c14,c17 by E10;
hence c6,c8 // c8,c11 by E15;
end;
thus for b1, b2, b3, b4 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( b1 <> b4 & b2 <> b3 & b1,b2 // b2,b4 & b1,b3 // b3,b4 & ( for b5, b6 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( b5 <> b6 & b2,b3 // b5,b6 & b2,b5 // b5,b3 & b2,b6 // b6,b3 ) ) )
proof
let c6, c7, c8, c9 be Element of AffinStruct(# the carrier of c1,c4 #);
assume that
E17: ( c6 <> c9 & c7 <> c8 ) and
E18: ( c6,c7 // c7,c9 & c6,c8 // c8,c9 ) ;
reconsider c10 = c6, c11 = c7, c12 = c8, c13 = c9 as Element of the carrier of c1 ;
( c10,c11 '||' c11,c13 & c10,c12 '||' c12,c13 ) by E18, E15;
then consider c14, c15 being Element of c1 such that
E19: ( c14 <> c15 & c11,c12 '||' c14,c15 & c11,c14 '||' c14,c12 & c11,c15 '||' c15,c12 ) by E17, E11;
reconsider c16 = c14, c17 = c15 as Element of AffinStruct(# the carrier of c1,c4 #) ;
( c16 <> c17 & c7,c8 // c16,c17 & c7,c16 // c16,c8 & c7,c17 // c17,c8 ) by E19, E15;
hence ex b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) st
( b1 <> b2 & c7,c8 // b1,b2 & c7,b1 // b1,c8 & c7,b2 // b2,c8 ) ;
end;
thus for b1, b2, b3, b4, b5, b6, b7 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( b1,b2 // b4,b5 & b1,b3 // b6,b7 & b1,b4 // b4,b2 & b1,b6 // b6,b3 & b1,b5 // b5,b2 & b1,b7 // b7,b3 & ( for b8, b9 being Element of AffinStruct(# the carrier of c1,c4 #) holds
not ( b2,b3 // b8,b9 & b2,b8 // b8,b3 & b2,b9 // b9,b3 ) ) )
proof
let c6, c7, c8, c9, c10, c11, c12 be Element of AffinStruct(# the carrier of c1,c4 #);
assume E17: ( c6,c7 // c9,c10 & c6,c8 // c11,c12 & c6,c9 // c9,c7 & c6,c11 // c11,c8 & c6,c10 // c10,c7 & c6,c12 // c12,c8 ) ;
reconsider c13 = c6, c14 = c7, c15 = c8, c16 = c9, c17 = c10, c18 = c11, c19 = c12 as Element of the carrier of c1 ;
( c13,c14 '||' c16,c17 & c13,c15 '||' c18,c19 & c13,c16 '||' c16,c14 & c13,c18 '||' c18,c15 & c13,c17 '||' c17,c14 & c13,c19 '||' c19,c15 ) by E17, E15;
then consider c20, c21 being Element of c1 such that
E18: ( c14,c15 '||' c20,c21 & c14,c20 '||' c20,c15 & c14,c21 '||' c21,c15 ) by E12;
reconsider c22 = c20, c23 = c21 as Element of AffinStruct(# the carrier of c1,c4 #) ;
( c7,c8 // c22,c23 & c7,c22 // c22,c8 & c7,c23 // c23,c8 ) by E18, E15;
hence ex b1, b2 being Element of AffinStruct(# the carrier of c1,c4 #) st
( c7,c8 // b1,b2 & c7,b1 // b1,c8 & c7,b2 // b2,c8 ) ;
end;
end;

definition
let c6 be non empty AffinStruct ;
canceled;
attr a1 is WeakAffSegm-like means :E17: :: AFVECT01:def 2
( ( for b1, b2 being Element of a1 holds b1,b2 // b2,b1 ) & ( for b1, b2 being Element of a1 holds
( b1,b2 // b1,b1 implies b1 = b2 ) ) & ( for b1, b2, b3, b4, b5, b6 being Element of a1 holds
( ( b1,b2 // b5,b6 & b3,b4 // b5,b6 ) implies ( b1,b2 // b3,b4 ) ) ) & ( for b1, b2 being Element of a1 holds
ex b3 being Element of a1 st b1,b3 // b3,b2 ) & ( for b1, b2, b3, b4, b5 being Element of a1 holds
( ( b5,b1 // b5,b2 & b5,b3 // b5,b4 ) implies ( not b1 <> b2 or not b3 <> b4 or b1,b3 // b2,b4 ) ) ) & ( for b1, b2 being Element of a1 holds
not ( not b1 = b2 & ( for b3 being Element of a1 holds
( not ( b1 <> b3 & b1,b2 // b2,b3 ) & ( for b4, b5 being Element of a1 holds
not ( b4 <> b5 & b1,b2 // b4,b5 & b1,b4 // b4,b2 & b1,b5 // b5,b2 ) ) ) ) ) ) & ( for b1, b2, b3, b4, b5, b6 being Element of a1 holds
( ( b1,b2 // b2,b6 & b2,b3 // b4,b5 & b2,b4 // b4,b3 & b2,b5 // b5,b3 ) implies ( b1,b3 // b3,b6 ) ) ) & ( for b1, b2, b3, b4 being Element of a1 holds
not ( b1 <> b4 & b2 <> b3 & b1,b2 // b2,b4 & b1,b3 // b3,b4 & ( for b5, b6 being Element of a1 holds
not ( b5 <> b6 & b2,b3 // b5,b6 & b2,b5 // b5,b3 & b2,b6 // b6,b3 ) ) ) ) & ( for b1, b2, b3, b4, b5, b6, b7 being Element of a1 holds
not ( b1,b2 // b4,b5 & b1,b3 // b6,b7 & b1,b4 // b4,b2 & b1,b6 // b6,b3 & b1,b5 // b5,b2 & b1,b7 // b7,b3 & ( for b8, b9 being Element of a1 holds
not ( b2,b3 // b8,b9 & b2,b8 // b8,b3 & b2,b9 // b9,b3 ) ) ) ) );
end;

:: deftheorem AFVECT01:def 1 :
canceled;

:: deftheorem E17 defines WeakAffSegm-like AFVECT01:def 2 :
for b1 being non empty AffinStruct holds
( b1 is WeakAffSegm-like iff ( ( for b2, b3 being Element of b1 holds b2,b3 // b3,b2 ) & ( for b2, b3 being Element of b1 holds
( b2,b3 // b2,b2 implies b2 = b3 ) ) & ( for b2, b3, b4, b5, b6, b7 being Element of b1 holds
( ( b2,b3 // b6,b7 & b4,b5 // b6,b7 ) implies ( b2,b3 // b4,b5 ) ) ) & ( for b2, b3 being Element of b1 holds
ex b4 being Element of b1 st b2,b4 // b4,b3 ) & ( for b2, b3, b4, b5, b6 being Element of b1 holds
( ( b6,b2 // b6,b3 & b6,b4 // b6,b5 ) implies ( not b2 <> b3 or not b4 <> b5 or b2,b4 // b3,b5 ) ) ) & ( for b2, b3 being Element of b1 holds
not ( not b2 = b3 & ( for b4 being Element of b1 holds
( not ( b2 <> b4 & b2,b3 // b3,b4 ) & ( for b5, b6 being Element of b1 holds
not ( b5 <> b6 & b2,b3 // b5,b6 & b2,b5 // b5,b3 & b2,b6 // b6,b3 ) ) ) ) ) ) & ( for b2, b3, b4, b5, b6, b7 being Element of b1 holds
( ( b2,b3 // b3,b7 & b3,b4 // b5,b6 & b3,b5 // b5,b4 & b3,b6 // b6,b4 ) implies ( b2,b4 // b4,b7 ) ) ) & ( for b2, b3, b4, b5 being Element of b1 holds
not ( b2 <> b5 & b3 <> b4 & b2,b3 // b3,b5 & b2,b4 // b4,b5 & ( for b6, b7 being Element of b1 holds
not ( b6 <> b7 & b3,b4 // b6,b7 & b3,b6 // b6,b4 & b3,b7 // b7,b4 ) ) ) ) & ( for b2, b3, b4, b5, b6, b7, b8 being Element of b1 holds
not ( b2,b3 // b5,b6 & b2,b4 // b7,b8 & b2,b5 // b5,b3 & b2,b7 // b7,b4 & b2,b6 // b6,b3 & b2,b8 // b8,b4 & ( for b9, b10 being Element of b1 holds
not ( b3,b4 // b9,b10 & b3,b9 // b9,b4 & b3,b10 // b10,b4 ) ) ) ) ) );

registration
cluster non empty non trivial strict WeakAffSegm-like AffinStruct ;
existence
ex b1 being non empty AffinStruct st
( b1 is strict & not b1 is trivial & b1 is WeakAffSegm-like )
proof
( AffinStruct(# the carrier of c1,c4 #) is WeakAffSegm-like & not AffinStruct(# the carrier of c1,c4 #) is trivial ) by E17, E16, REALSET2:def 7;
hence ex b1 being non empty AffinStruct st
( b1 is strict & not b1 is trivial & b1 is WeakAffSegm-like ) ;
end;
end;

definition
mode WeakAffSegm is non empty non trivial WeakAffSegm-like AffinStruct ;
end;

theorem E18: :: AFVECT01:1
for b1 being WeakAffSegm
for b2, b3 being Element of b1 holds b2,b3 // b2,b3
proof
let c6 be WeakAffSegm;
let c7, c8 be Element of c6;
c7,c8 // c8,c7 by E17;
hence c7,c8 // c7,c8 by E17;
end;

theorem E19: :: AFVECT01:2
for b1 being WeakAffSegm
for b2, b3, b4, b5 being Element of b1 holds
( b2,b3 // b4,b5 implies b4,b5 // b2,b3 )
proof
let c6 be WeakAffSegm;
let c7, c8, c9, c10 be Element of c6;
assume E20: c7,c8 // c9,c10 ;
c9,c10 // c9,c10 by E18;
hence c9,c10 // c7,c8 by E20, E17;
end;

theorem E20: :: AFVECT01:3
for b1 being WeakAffSegm
for b2, b3, b4, b5 being Element of b1 holds
( b2,b3 // b4,b5 implies b2,b3 // b5,b4 )
proof
let c6 be WeakAffSegm;
let c7, c8, c9, c10 be Element of c6;
assume E21: c7,c8 // c9,c10 ;
c10,c9 // c9,c10 by E17;
hence c7,c8 // c10,c9 by E21, E17;
end;

theorem E21: :: AFVECT01:4
for b1 being WeakAffSegm
for b2, b3, b4, b5 being Element of b1 holds
( b2,b3 // b4,b5 implies b3,b2 // b4,b5 )
proof
let c6 be WeakAffSegm;
let c7, c8, c9, c10 be Element of c6;
assume c7,c8 // c9,c10 ;
then c9,c10 // c7,c8 by E19;
then c9,c10 // c8,c7 by E20;
hence c8,c7 // c9,c10 by E19;
end;

theorem E22: :: AFVECT01:5
for b1 being WeakAffSegm
for b2, b3 being Element of b1 holds b2,b2 // b3,b3
proof
let c6 be WeakAffSegm;
let c7, c8 be Element of c6;
now
assume E23: c7 <> c8 ;
consider c9 being Element of c6 such that
E24: c7,c9 // c9,c8 by E17;
c9,c7 // c9,c8 by E24, E21;
hence c7,c7 // c8,c8 by E23, E17;
end;
hence c7,c7 // c8,c8 by E17;
end;

theorem E23: :: AFVECT01:6
for b1 being WeakAffSegm
for b2, b3, b4 being Element of b1 holds
( b2,b3 // b4,b4 implies b2 = b3 )
proof
let c6 be WeakAffSegm;
let c7, c8, c9 be Element of c6;
assume E24: c7,c8 // c9,c9 ;
c7,c7 // c9,c9 by E22;
then c7,c8 // c7,c7 by E24, E17;
hence c7 = c8 by E17;
end;

theorem E24: :: AFVECT01:7
for b1 being WeakAffSegm
for b2, b3, b4, b5, b6 being Element of b1 holds
( ( b2,b3 // b4,b5 & b2,b3 // b3,b6 & b2,b4 // b4,b3 & b2,b5 // b5,b3 ) implies ( b2 = b6 ) )
proof
let c6 be WeakAffSegm;
let c7, c8, c9, c10, c11 be Element of c6;
assume that
E25: c7,c8 // c9,c10 and
E26: c7,c8 // c8,c11 and
E27: c7,c9 // c9,c8 and
E28: c7,c10 // c10,c8 ;
E29: c8,c7 // c9,c10 by E25, E21;
c9,c8 // c7,c9 by E27, E19;
then c9,c8 // c9,c7 by E20;
then E30: c8,c9 // c9,c7 by E21;
c10,c8 // c7,c10 by E28, E19;
then c10,c8 // c10,c7 by E20;
then c8,c10 // c10,c7 by E21;
then c7,c7 // c7,c11 by E26, E29, E30, E17;
then c7,c11 // c7,c7 by E19;
hence c7 = c11 by E17;
end;

theorem :: AFVECT01:8
for b1 being WeakAffSegm
for b2, b3, b4, b5 being Element of b1 holds
not ( b2,b3 // b2,b4 & b2,b5 // b2,b4 & not b5 = b3 & not b5 = b4 & not b3 = b4 )
proof
let c6 be WeakAffSegm;
let c7, c8, c9, c10 be Element of c6;
assume that
E25: c7,c8 // c7,c9 and
E26: c7,c10 // c7,c9 ;
now
assume that
E27: c8 <> c9 and
E28: c10 <> c9 ;
c8,c10 // c9,c9 by E25, E26, E27, E28, E17;
hence not ( not c10 = c8 & not c10 = c9 & not c8 = c9 ) by E23;
end;
hence not ( not c10 = c8 & not c10 = c9 & not c8 = c9 ) ;
end;

definition
let c6 be WeakAffSegm;
let c7, c8 be Element of c6;
canceled;
pred MDist c2,c3 means :E25: :: AFVECT01:def 4
ex b1, b2 being Element of a1 st
( b1 <> b2 & a2,a3 // b1,b2 & a2,b1 // b1,a3 & a2,b2 // b2,a3 );
end;

:: deftheorem AFVECT01:def 3 :
canceled;

:: deftheorem E25 defines MDist AFVECT01:def 4 :
for b1 being WeakAffSegm
for b2, b3 being Element of b1 holds
( MDist b2,b3 iff ex b4, b5 being Element of b1 st
( b4 <> b5 & b2,b3 // b4,b5 & b2,b4 // b4,b3 & b2,b5 // b5,b3 ) );

definition
let c6 be WeakAffSegm;
let c7, c8, c9 be Element of c6;
pred Mid c2,c3,c4 means :: AFVECT01:def 5
not ( not ( a2 = a3 & a3 = a4 & a2 = a4 ) & not ( a2 = a4 & MDist a2,a3 ) & not ( a2 <> a4 & a2,a3 // a3,a4 ) );
end;

:: deftheorem defines Mid AFVECT01:def 5 :
for b1 being WeakAffSegm
for b2, b3, b4 being Element of b1 holds
( Mid b2,b3,b4 iff not ( not ( b2 = b3 & b3 = b4 & b2 = b4 ) & not ( b2 = b4 & MDist b2,b3 ) & not ( b2 <> b4 & b2,b3 // b3,b4 ) ) );

theorem :: AFVECT01:9
canceled;

theorem :: AFVECT01:10
canceled;

theorem :: AFVECT01:11
for b1 being WeakAffSegm
for b2, b3 being Element of b1 holds
not ( b2 <> b3 & not MDist b2,b3 & ( for b4 being Element of b1 holds
not ( b2 <> b4 & b2,b3 // b3,b4 ) ) )
proof
let c6 be WeakAffSegm;
let c7, c8 be Element of c6;
assume that
E26: c7 <> c8 and
E27: not MDist c7,c8 ;
not ( not c7 = c8 & ( for b1 being Element of c6 holds
( not ( c7 <> b1 & c7,c8 // c8,b1 ) & ( for b2, b3 being Element of c6 holds
not ( b2 <> b3 & c7,c8 // b2,b3 & c7,b2 // b2,c8 & c7,b3 // b3,c8 ) ) ) ) ) by E17;
hence ex b1 being Element of c6 st
( c7 <> b1 & c7,c8 // c8,b1 ) by E26, E27, E25;
end;

theorem :: AFVECT01:12
for b1 being WeakAffSegm
for b2, b3, b4 being Element of b1 holds
( ( MDist b2,b3 & b2,b3 // b3,b4 ) implies ( b2 = b4 ) )
proof
let c6 be WeakAffSegm;
let c7, c8, c9 be Element of c6;
assume that
E26: MDist c7,c8 and
E27: c7,c8 // c8,c9 ;
consider c10, c11 being Element of c6 such that
c10 <> c11 and
E28: c7,c8 // c10,c11 and
E29: c7,c10 // c10,c8 and
E30: c7,c11 // c11,c8 by E26, E25;
thus c7 = c9 by E27, E28, E29, E30, E24;
end;

theorem :: AFVECT01:13
for b1 being WeakAffSegm
for b2, b3 being Element of b1 holds
not ( MDist b2,b3 & not b2 <> b3 )
proof
let c6 be WeakAffSegm;
let c7, c8 be Element of c6;
assume MDist c7,c8 ;
then consider c9, c10 being Element of c6 such that
E26: c9 <> c10 and
E27: c7,c8 // c9,c10 and
c7,c9 // c9,c8 and
c7,c10 // c10,c8 by E25;
now
assume c7 = c8 ;
then c9,c10 // c7,c7 by E27, E19;
hence not verum by E26, E23;
end;
hence c7 <> c8 ;
end;