definition
let IT be non
empty AffinStruct ;
attr IT is
Semi_Affine_Space-like means :
Def1:
( ( for
a,
b being
Element of
IT holds
a,
b // b,
a ) & ( for
a,
b,
c being
Element of
IT holds
a,
b // c,
c ) & ( for
a,
b,
p,
q,
r,
s being
Element of
IT st
a <> b &
a,
b // p,
q &
a,
b // r,
s holds
p,
q // r,
s ) & ( for
a,
b,
c being
Element of
IT st
a,
b // a,
c holds
b,
a // b,
c ) & not for
a,
b,
c being
Element of
IT holds
a,
b // a,
c & ( for
a,
b,
p being
Element of
IT ex
q being
Element of
IT st
(
a,
b // p,
q &
a,
p // b,
q ) ) & ( for
o,
a being
Element of
IT ex
p being
Element of
IT st
for
b,
c being
Element of
IT holds
(
o,
a // o,
p & ex
d being
Element of
IT st
(
o,
p // o,
b implies (
o,
c // o,
d &
p,
c // b,
d ) ) ) ) & ( for
o,
a,
a9,
b,
b9,
c,
c9 being
Element of
IT st not
o,
a // o,
b & not
o,
a // o,
c &
o,
a // o,
a9 &
o,
b // o,
b9 &
o,
c // o,
c9 &
a,
b // a9,
b9 &
a,
c // a9,
c9 holds
b,
c // b9,
c9 ) & ( for
a,
a9,
b,
b9,
c,
c9 being
Element of
IT st not
a,
a9 // a,
b & not
a,
a9 // a,
c &
a,
a9 // b,
b9 &
a,
a9 // c,
c9 &
a,
b // a9,
b9 &
a,
c // a9,
c9 holds
b,
c // b9,
c9 ) & ( for
a1,
a2,
a3,
b1,
b2,
b3 being
Element of
IT st
a1,
a2 // a1,
a3 &
b1,
b2 // b1,
b3 &
a1,
b2 // a2,
b1 &
a2,
b3 // a3,
b2 holds
a3,
b1 // a1,
b3 ) & ( for
a,
b,
c,
d being
Element of
IT st not
a,
b // a,
c &
a,
b // c,
d &
a,
c // b,
d holds
not
a,
d // b,
c ) );
end;
::
deftheorem Def1 defines
Semi_Affine_Space-like SEMI_AF1:def 1 :
for IT being non empty AffinStruct holds
( IT is Semi_Affine_Space-like iff ( ( for a, b being Element of IT holds a,b // b,a ) & ( for a, b, c being Element of IT holds a,b // c,c ) & ( for a, b, p, q, r, s being Element of IT st a <> b & a,b // p,q & a,b // r,s holds
p,q // r,s ) & ( for a, b, c being Element of IT st a,b // a,c holds
b,a // b,c ) & not for a, b, c being Element of IT holds a,b // a,c & ( for a, b, p being Element of IT ex q being Element of IT st
( a,b // p,q & a,p // b,q ) ) & ( for o, a being Element of IT ex p being Element of IT st
for b, c being Element of IT holds
( o,a // o,p & ex d being Element of IT st
( o,p // o,b implies ( o,c // o,d & p,c // b,d ) ) ) ) & ( for o, a, a9, b, b9, c, c9 being Element of IT st not o,a // o,b & not o,a // o,c & o,a // o,a9 & o,b // o,b9 & o,c // o,c9 & a,b // a9,b9 & a,c // a9,c9 holds
b,c // b9,c9 ) & ( for a, a9, b, b9, c, c9 being Element of IT st not a,a9 // a,b & not a,a9 // a,c & a,a9 // b,b9 & a,a9 // c,c9 & a,b // a9,b9 & a,c // a9,c9 holds
b,c // b9,c9 ) & ( for a1, a2, a3, b1, b2, b3 being Element of IT st a1,a2 // a1,a3 & b1,b2 // b1,b3 & a1,b2 // a2,b1 & a2,b3 // a3,b2 holds
a3,b1 // a1,b3 ) & ( for a, b, c, d being Element of IT st not a,b // a,c & a,b // c,d & a,c // b,d holds
not a,d // b,c ) ) );
theorem Th6:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
a,
b // c,
d holds
(
b,
a // c,
d &
a,
b // d,
c &
b,
a // d,
c &
c,
d // a,
b &
d,
c // a,
b &
c,
d // b,
a &
d,
c // b,
a )
theorem Th7:
for
SAS being
Semi_Affine_Space for
a,
b,
c being
Element of
SAS st
a,
b // a,
c holds
(
a,
c // a,
b &
b,
a // a,
c &
a,
b // c,
a &
a,
c // b,
a &
b,
a // c,
a &
c,
a // a,
b &
c,
a // b,
a &
b,
a // b,
c &
a,
b // b,
c &
b,
a // c,
b &
b,
c // b,
a &
a,
b // c,
b &
c,
b // b,
a &
b,
c // a,
b &
c,
b // a,
b &
c,
a // c,
b &
a,
c // c,
b &
c,
a // b,
c &
a,
c // b,
c &
c,
b // c,
a &
b,
c // c,
a &
c,
b // a,
c &
b,
c // a,
c )
theorem Th8:
for
SAS being
Semi_Affine_Space for
a,
b,
p,
q,
r,
s being
Element of
SAS st
a <> b &
p,
q // a,
b &
a,
b // r,
s holds
p,
q // r,
s
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
x being
Element of
SAS st
a,
b // a,
x &
b,
c // b,
x &
c,
a // c,
x holds
a,
b // a,
c
theorem Th12:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q being
Element of
SAS st not
a,
b // a,
c &
p <> q &
p,
q // p,
a &
p,
q // p,
b holds
not
p,
q // p,
c
theorem Th14:
for
SAS being
Semi_Affine_Space for
a,
b,
c being
Element of
SAS st not
a,
b // a,
c holds
( not
a,
b // c,
a & not
b,
a // a,
c & not
b,
a // c,
a & not
a,
c // a,
b & not
a,
c // b,
a & not
c,
a // a,
b & not
c,
a // b,
a & not
b,
a // b,
c & not
b,
a // c,
b & not
a,
b // b,
c & not
a,
b // c,
b & not
b,
c // b,
a & not
b,
c // a,
b & not
c,
b // a,
b & not
c,
b // b,
a & not
c,
b // c,
a & not
c,
b // a,
c & not
b,
c // c,
a & not
b,
c // a,
c & not
c,
a // c,
b & not
c,
a // b,
c & not
a,
c // b,
c & not
a,
c // c,
b )
theorem Th15:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
p,
q,
r,
s being
Element of
SAS st not
a,
b // c,
d &
a,
b // p,
q &
c,
d // r,
s &
p <> q &
r <> s holds
not
p,
q // r,
s
theorem Th16:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q,
r being
Element of
SAS st not
a,
b // a,
c &
a,
b // p,
q &
a,
c // p,
r &
b,
c // q,
r &
p <> q holds
not
p,
q // p,
r
theorem Th17:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
r being
Element of
SAS st not
a,
b // a,
c &
a,
c // p,
r &
b,
c // p,
r holds
p = r
theorem Th19:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q,
r1,
r2 being
Element of
SAS st not
a,
b // a,
c &
a,
b // p,
q &
a,
c // p,
r1 &
a,
c // p,
r2 &
b,
c // q,
r1 &
b,
c // q,
r2 holds
r1 = r2
theorem Th22:
for
SAS being
Semi_Affine_Space for
a1,
a2,
a3 being
Element of
SAS st
a1,
a2,
a3 are_collinear holds
(
a1,
a3,
a2 are_collinear &
a2,
a1,
a3 are_collinear &
a2,
a3,
a1 are_collinear &
a3,
a1,
a2 are_collinear &
a3,
a2,
a1 are_collinear )
by Th7;
theorem Th23:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q,
r being
Element of
SAS st not
a,
b,
c are_collinear &
a,
b // p,
q &
a,
c // p,
r &
p <> q &
p <> r holds
not
p,
q,
r are_collinear by Th15;
theorem Th28:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
x being
Element of
SAS st not
a,
b,
c are_collinear &
a,
b // c,
d &
c <> d &
c,
d,
x are_collinear holds
not
a,
b,
x are_collinear by Th8, Th27;
theorem
for
SAS being
Semi_Affine_Space for
a,
a9,
b,
b9,
o being
Element of
SAS st
o <> a &
o <> b &
o,
a,
b are_collinear &
o,
a,
a9 are_collinear &
o,
b,
b9 are_collinear holds
a,
b // a9,
b9
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
p1,
p2 being
Element of
SAS st not
a,
b // c,
d &
a,
b,
p1 are_collinear &
a,
b,
p2 are_collinear &
c,
d,
p1 are_collinear &
c,
d,
p2 are_collinear holds
p1 = p2
theorem Th34:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d1,
d2,
o being
Element of
SAS st not
o,
a,
c are_collinear &
o,
a,
b are_collinear &
o,
c,
d1 are_collinear &
o,
c,
d2 are_collinear &
a,
c // b,
d1 &
a,
c // b,
d2 holds
d1 = d2 by Th19;
::
deftheorem defines
parallelogram SEMI_AF1:def 3 :
for SAS being Semi_Affine_Space
for a, b, c, d being Element of SAS holds
( parallelogram a,b,c,d iff ( not a,b,c are_collinear & a,b // c,d & a,c // b,d ) );
theorem Th37:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
parallelogram a,
b,
c,
d holds
( not
a,
b,
c are_collinear & not
b,
a,
d are_collinear & not
c,
d,
a are_collinear & not
d,
c,
b are_collinear )
theorem Th38:
for
SAS being
Semi_Affine_Space for
a1,
a2,
a3,
a4 being
Element of
SAS st
parallelogram a1,
a2,
a3,
a4 holds
( not
a1,
a2,
a3 are_collinear & not
a1,
a3,
a2 are_collinear & not
a1,
a2,
a4 are_collinear & not
a1,
a4,
a2 are_collinear & not
a1,
a3,
a4 are_collinear & not
a1,
a4,
a3 are_collinear & not
a2,
a1,
a3 are_collinear & not
a2,
a3,
a1 are_collinear & not
a2,
a1,
a4 are_collinear & not
a2,
a4,
a1 are_collinear & not
a2,
a3,
a4 are_collinear & not
a2,
a4,
a3 are_collinear & not
a3,
a1,
a2 are_collinear & not
a3,
a2,
a1 are_collinear & not
a3,
a1,
a4 are_collinear & not
a3,
a4,
a1 are_collinear & not
a3,
a2,
a4 are_collinear & not
a3,
a4,
a2 are_collinear & not
a4,
a1,
a2 are_collinear & not
a4,
a2,
a1 are_collinear & not
a4,
a1,
a3 are_collinear & not
a4,
a3,
a1 are_collinear & not
a4,
a2,
a3 are_collinear & not
a4,
a3,
a2 are_collinear )
theorem Th39:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
x being
Element of
SAS holds
( not
parallelogram a,
b,
c,
d or not
a,
b,
x are_collinear or not
c,
d,
x are_collinear )
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
parallelogram a,
b,
c,
d holds
parallelogram c,
d,
a,
b by Th6, Th38;
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
parallelogram a,
b,
c,
d holds
parallelogram b,
a,
d,
c by Th6, Th38;
theorem Th43:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
parallelogram a,
b,
c,
d holds
(
parallelogram a,
c,
b,
d &
parallelogram c,
d,
a,
b &
parallelogram b,
a,
d,
c &
parallelogram c,
a,
d,
b &
parallelogram d,
b,
c,
a &
parallelogram b,
d,
a,
c )
by Th38, Th6;
theorem Th45:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d1,
d2 being
Element of
SAS st
parallelogram a,
b,
c,
d1 &
parallelogram a,
b,
c,
d2 holds
d1 = d2
theorem Th49:
for
SAS being
Semi_Affine_Space for
a,
a9,
b,
b9,
c,
c9 being
Element of
SAS st
parallelogram a,
a9,
b,
b9 &
parallelogram a,
a9,
c,
c9 holds
b,
c // b9,
c9
theorem Th50:
for
SAS being
Semi_Affine_Space for
a,
a9,
b,
b9,
c,
c9 being
Element of
SAS st not
b,
b9,
c are_collinear &
parallelogram a,
a9,
b,
b9 &
parallelogram a,
a9,
c,
c9 holds
parallelogram b,
b9,
c,
c9
theorem Th51:
for
SAS being
Semi_Affine_Space for
a,
a9,
b,
b9,
c,
c9 being
Element of
SAS st
a,
b,
c are_collinear &
b <> c &
parallelogram a,
a9,
b,
b9 &
parallelogram a,
a9,
c,
c9 holds
parallelogram b,
b9,
c,
c9
theorem Th52:
for
SAS being
Semi_Affine_Space for
a,
a9,
b,
b9,
c,
c9,
d,
d9 being
Element of
SAS st
parallelogram a,
a9,
b,
b9 &
parallelogram a,
a9,
c,
c9 &
parallelogram b,
b9,
d,
d9 holds
c,
d // c9,
d9
Lm1:
for SAS being Semi_Affine_Space
for a, b being Element of SAS st a <> b holds
ex c, d being Element of SAS st parallelogram a,b,c,d
definition
let SAS be
Semi_Affine_Space;
let a,
b,
r,
s be
Element of
SAS;
pred congr a,
b,
r,
s means
( (
a = b &
r = s ) or ex
p,
q being
Element of
SAS st
(
parallelogram p,
q,
a,
b &
parallelogram p,
q,
r,
s ) );
end;
::
deftheorem defines
congr SEMI_AF1:def 4 :
for SAS being Semi_Affine_Space
for a, b, r, s being Element of SAS holds
( congr a,b,r,s iff ( ( a = b & r = s ) or ex p, q being Element of SAS st
( parallelogram p,q,a,b & parallelogram p,q,r,s ) ) );
theorem Th59:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
congr a,
b,
c,
d & not
a,
b,
c are_collinear holds
parallelogram a,
b,
c,
d by Th57, Th58;
theorem Th61:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
r,
s being
Element of
SAS st
congr a,
b,
c,
d &
a,
b,
c are_collinear &
parallelogram r,
s,
a,
b holds
parallelogram r,
s,
c,
d
theorem Th62:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
x,
y being
Element of
SAS st
congr a,
b,
c,
x &
congr a,
b,
c,
y holds
x = y
theorem Th65:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
r,
s being
Element of
SAS st
congr r,
s,
a,
b &
congr r,
s,
c,
d holds
congr a,
b,
c,
d
theorem Th69:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d being
Element of
SAS st
congr a,
b,
c,
d holds
(
congr c,
d,
a,
b &
congr b,
a,
d,
c &
congr a,
c,
b,
d &
congr d,
c,
b,
a &
congr b,
d,
a,
c &
congr c,
a,
d,
b &
congr d,
b,
c,
a )
theorem Th70:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q,
s being
Element of
SAS st
congr a,
b,
p,
q &
congr b,
c,
q,
s holds
congr a,
c,
p,
s
theorem Th71:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q,
r being
Element of
SAS st
congr b,
a,
p,
q &
congr c,
a,
p,
r holds
congr b,
c,
r,
q
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
o,
p,
q being
Element of
SAS st
congr a,
o,
o,
p &
congr b,
o,
o,
q holds
congr a,
b,
q,
p by Th71;
theorem Th73:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
p,
q,
r being
Element of
SAS st
congr b,
a,
p,
q &
congr c,
a,
p,
r holds
b,
c // q,
r
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
o,
p,
q being
Element of
SAS st
congr a,
o,
o,
p &
congr b,
o,
o,
q holds
a,
b // p,
q by Th73;
definition
let SAS be
Semi_Affine_Space;
let a,
b,
o be
Element of
SAS;
correctness
existence
ex b1 being Element of SAS st congr o,a,b,b1;
uniqueness
for b1, b2 being Element of SAS st congr o,a,b,b1 & congr o,a,b,b2 holds
b1 = b2;
by Th62, Th63;
end;
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
o being
Element of
SAS holds
sum (
(sum (a,b,o)),
c,
o)
= sum (
a,
(sum (b,c,o)),
o)
theorem
for
SAS being
Semi_Affine_Space for
o,
p,
q,
r,
s being
Element of
SAS st
p,
q // r,
s holds
p,
q // sum (
p,
r,
o),
sum (
q,
s,
o)
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
o being
Element of
SAS holds
(
o,
diff (
b,
a,
o),
diff (
d,
c,
o)
are_collinear iff
a,
b // c,
d )
definition
let SAS be
Semi_Affine_Space;
let a,
b,
c,
d,
o be
Element of
SAS;
pred trap a,
b,
c,
d,
o means
( not
o,
a,
c are_collinear &
o,
a,
b are_collinear &
o,
c,
d are_collinear &
a,
c // b,
d );
end;
::
deftheorem defines
trap SEMI_AF1:def 8 :
for SAS being Semi_Affine_Space
for a, b, c, d, o being Element of SAS holds
( trap a,b,c,d,o iff ( not o,a,c are_collinear & o,a,b are_collinear & o,c,d are_collinear & a,c // b,d ) );
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
o,
x,
y being
Element of
SAS st
trap a,
b,
c,
x,
o &
trap a,
b,
c,
y,
o holds
x = y by Th34;
theorem Th93:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
o being
Element of
SAS st
trap a,
b,
c,
d,
o holds
trap c,
d,
a,
b,
o by Th22, Th6;
theorem Th95:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
o being
Element of
SAS st
o <> b &
trap a,
b,
c,
d,
o holds
not
o,
b,
d are_collinear
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
o being
Element of
SAS st
o <> b &
trap a,
b,
c,
d,
o holds
trap b,
a,
d,
c,
o by Th22, Th6, Th95;
theorem Th98:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
o,
p,
q,
r being
Element of
SAS st
trap a,
p,
b,
q,
o &
trap a,
p,
c,
r,
o holds
b,
c // q,
r
theorem Th99:
for
SAS being
Semi_Affine_Space for
a,
b,
c,
o,
p,
q,
r being
Element of
SAS st
trap a,
p,
b,
q,
o &
trap a,
p,
c,
r,
o & not
o,
b,
c are_collinear holds
trap b,
q,
c,
r,
o by Th98;
theorem
for
SAS being
Semi_Affine_Space for
a,
b,
c,
d,
o,
p,
q,
r,
s being
Element of
SAS st
trap a,
p,
b,
q,
o &
trap a,
p,
c,
r,
o &
trap b,
q,
d,
s,
o holds
c,
d // r,
s
theorem
for
SAS being
Semi_Affine_Space for
b,
c,
o,
p being
Element of
SAS st not
o,
p,
c are_collinear &
o,
p,
b are_collinear &
qtrap o,
p holds
ex
d being
Element of
SAS st
trap p,
b,
c,
d,
o
:: BASIC FACTS ABOUT COLLINEARITY RELATION
::