:: DIRAF semantic presentation
:: Showing IDV graph ... (Click the Palm Trees again to close it)
definition
let X be non
empty set ;
let R be
Relation of
[:X,X:];
func lambda R -> Relation of
[:X,X:] means :
Def1:
:: DIRAF:def 1
for
a,
b,
c,
d being
Element of
X holds
(
[[a,b],[c,d]] in it iff (
[[a,b],[c,d]] in R or
[[a,b],[d,c]] in R ) );
existence
ex b1 being Relation of [:X,X:] st
for a, b, c, d being Element of X holds
( [[a,b],[c,d]] in b1 iff ( [[a,b],[c,d]] in R or [[a,b],[d,c]] in R ) )
uniqueness
for b1, b2 being Relation of [:X,X:] st ( for a, b, c, d being Element of X holds
( [[a,b],[c,d]] in b1 iff ( [[a,b],[c,d]] in R or [[a,b],[d,c]] in R ) ) ) & ( for a, b, c, d being Element of X holds
( [[a,b],[c,d]] in b2 iff ( [[a,b],[c,d]] in R or [[a,b],[d,c]] in R ) ) ) holds
b1 = b2
end;
:: deftheorem Def1 defines lambda DIRAF:def 1 :
for
X being non
empty set for
R,
b3 being
Relation of
[:X,X:] holds
(
b3 = lambda R iff for
a,
b,
c,
d being
Element of
X holds
(
[[a,b],[c,d]] in b3 iff (
[[a,b],[c,d]] in R or
[[a,b],[d,c]] in R ) ) );
:: deftheorem defines Lambda DIRAF:def 2 :
theorem :: DIRAF:1
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: DIRAF:2
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: DIRAF:3
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th4: :: DIRAF:4
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm1:
for S being OAffinSpace
for x, y, z, t being Element of S st x,y // z,t holds
z,t // x,y
theorem Th5: :: DIRAF:5
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
z,
t being
Element of
S st
x,
y // z,
t holds
(
y,
x // t,
z &
z,
t // x,
y &
t,
z // y,
x )
theorem Th6: :: DIRAF:6
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
z,
t,
x,
y,
u,
w being
Element of
S st
z <> t &
x,
y // z,
t &
z,
t // u,
w holds
x,
y // u,
w
theorem Th7: :: DIRAF:7
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th8: :: DIRAF:8
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th9: :: DIRAF:9
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem Def3 defines Mid DIRAF:def 3 :
theorem :: DIRAF:10
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th11: :: DIRAF:11
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th12: :: DIRAF:12
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:13
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:14
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:15
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:16
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th17: :: DIRAF:17
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:18
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:19
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
z,
t being
Element of
S st
x <> y &
Mid x,
y,
z &
Mid x,
y,
t & not
Mid y,
z,
t holds
Mid y,
t,
z
theorem :: DIRAF:20
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
z,
t being
Element of
S st
x <> y &
Mid x,
y,
z &
Mid x,
y,
t & not
Mid x,
z,
t holds
Mid x,
t,
z
theorem :: DIRAF:21
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
t,
z being
Element of
S st
Mid x,
y,
t &
Mid x,
z,
t & not
Mid x,
y,
z holds
Mid x,
z,
y
:: deftheorem Def4 defines '||' DIRAF:def 4 :
theorem :: DIRAF:22
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: DIRAF:23
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th24: :: DIRAF:24
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th25: :: DIRAF:25
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm2:
for S being OAffinSpace
for x, y, z, t, u, w being Element of S st x <> y & x,y '||' z,t & x,y '||' u,w holds
z,t '||' u,w
theorem Th26: :: DIRAF:26
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th27: :: DIRAF:27
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
z,
t being
Element of
S st
x,
y '||' z,
t holds
(
x,
y '||' t,
z &
y,
x '||' z,
t &
y,
x '||' t,
z &
z,
t '||' x,
y &
z,
t '||' y,
x &
t,
z '||' x,
y &
t,
z '||' y,
x )
theorem Th28: :: DIRAF:28
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
a,
b,
x,
y,
z,
t being
Element of
S st
a <> b & ( (
a,
b '||' x,
y &
a,
b '||' z,
t ) or (
a,
b '||' x,
y &
z,
t '||' a,
b ) or (
x,
y '||' a,
b &
z,
t '||' a,
b ) or (
x,
y '||' a,
b &
a,
b '||' z,
t ) ) holds
x,
y '||' z,
t
theorem Th29: :: DIRAF:29
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th30: :: DIRAF:30
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th31: :: DIRAF:31
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th32: :: DIRAF:32
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem Def5 defines LIN DIRAF:def 5 :
theorem :: DIRAF:33
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: DIRAF:34
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:35
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
a,
b,
c being
Element of
S holds
( not
a,
b,
c is_collinear or
Mid a,
b,
c or
Mid b,
a,
c or
Mid a,
c,
b )
Lm3:
for S being OAffinSpace
for x, y, z being Element of S st x,y,z is_collinear holds
( x,z,y is_collinear & y,x,z is_collinear )
theorem Th36: :: DIRAF:36
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
z being
Element of
S st
x,
y,
z is_collinear holds
(
x,
z,
y is_collinear &
y,
x,
z is_collinear &
y,
z,
x is_collinear &
z,
x,
y is_collinear &
z,
y,
x is_collinear )
theorem Th37: :: DIRAF:37
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th38: :: DIRAF:38
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
x,
y,
z,
t,
u being
Element of
S st
x <> y &
x,
y,
z is_collinear &
x,
y,
t is_collinear &
x,
y,
u is_collinear holds
z,
t,
u is_collinear
theorem :: DIRAF:39
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:40
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:41
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
u,
z,
x,
y,
w being
Element of
S st
u <> z &
x,
y,
u is_collinear &
x,
y,
z is_collinear &
u,
z,
w is_collinear holds
x,
y,
w is_collinear
theorem Th42: :: DIRAF:42
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:43
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:44
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th45: :: DIRAF:45
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
AS being non
empty AffinStruct st
AS = Lambda S holds
for
a,
b,
c,
d being
Element of
S for
a',
b',
c',
d' being
Element of
AS st
a = a' &
b = b' &
c = c' &
d = d' holds
(
a',
b' // c',
d' iff
a,
b '||' c,
d )
theorem Th46: :: DIRAF:46
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
S being
OAffinSpace for
AS being non
empty AffinStruct st
AS = Lambda S holds
( ex
x,
y being
Element of
AS st
x <> y & ( for
x,
y,
z,
t,
u,
w being
Element of
AS holds
(
x,
y // y,
x &
x,
y // z,
z & (
x <> y &
x,
y // z,
t &
x,
y // u,
w implies
z,
t // u,
w ) & (
x,
y // x,
z implies
y,
x // y,
z ) ) ) & not for
x,
y,
z being
Element of
AS holds
x,
y // x,
z & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
z // y,
t &
y <> t ) ) & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
y // z,
t &
x,
z // y,
t ) ) & ( for
x,
y,
z,
t being
Element of
AS st
z,
x // x,
t &
x <> z holds
ex
u being
Element of
AS st
(
y,
x // x,
u &
y,
z // t,
u ) ) )
definition
let IT be non
empty AffinStruct ;
canceled;attr IT is
AffinSpace-like means :
Def7:
:: DIRAF:def 7
( ( for
x,
y,
z,
t,
u,
w being
Element of
IT holds
(
x,
y // y,
x &
x,
y // z,
z & (
x <> y &
x,
y // z,
t &
x,
y // u,
w implies
z,
t // u,
w ) & (
x,
y // x,
z implies
y,
x // y,
z ) ) ) & not for
x,
y,
z being
Element of
IT holds
x,
y // x,
z & ( for
x,
y,
z being
Element of
IT ex
t being
Element of
IT st
(
x,
z // y,
t &
y <> t ) ) & ( for
x,
y,
z being
Element of
IT ex
t being
Element of
IT st
(
x,
y // z,
t &
x,
z // y,
t ) ) & ( for
x,
y,
z,
t being
Element of
IT st
z,
x // x,
t &
x <> z holds
ex
u being
Element of
IT st
(
y,
x // x,
u &
y,
z // t,
u ) ) );
end;
:: deftheorem DIRAF:def 6 :
canceled;
:: deftheorem Def7 defines AffinSpace-like DIRAF:def 7 :
for
IT being non
empty AffinStruct holds
(
IT is
AffinSpace-like iff ( ( for
x,
y,
z,
t,
u,
w being
Element of
IT holds
(
x,
y // y,
x &
x,
y // z,
z & (
x <> y &
x,
y // z,
t &
x,
y // u,
w implies
z,
t // u,
w ) & (
x,
y // x,
z implies
y,
x // y,
z ) ) ) & not for
x,
y,
z being
Element of
IT holds
x,
y // x,
z & ( for
x,
y,
z being
Element of
IT ex
t being
Element of
IT st
(
x,
z // y,
t &
y <> t ) ) & ( for
x,
y,
z being
Element of
IT ex
t being
Element of
IT st
(
x,
y // z,
t &
x,
z // y,
t ) ) & ( for
x,
y,
z,
t being
Element of
IT st
z,
x // x,
t &
x <> z holds
ex
u being
Element of
IT st
(
y,
x // x,
u &
y,
z // t,
u ) ) ) );
theorem :: DIRAF:47
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
AS being
AffinSpace holds
( ex
x,
y being
Element of
AS st
x <> y & ( for
x,
y,
z,
t,
u,
w being
Element of
AS holds
(
x,
y // y,
x &
x,
y // z,
z & (
x <> y &
x,
y // z,
t &
x,
y // u,
w implies
z,
t // u,
w ) & (
x,
y // x,
z implies
y,
x // y,
z ) ) ) & not for
x,
y,
z being
Element of
AS holds
x,
y // x,
z & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
z // y,
t &
y <> t ) ) & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
y // z,
t &
x,
z // y,
t ) ) & ( for
x,
y,
z,
t being
Element of
AS st
z,
x // x,
t &
x <> z holds
ex
u being
Element of
AS st
(
y,
x // x,
u &
y,
z // t,
u ) ) )
by Def7, REALSET2:def 7;
theorem Th48: :: DIRAF:48
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:49
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
AS being non
empty AffinStruct holds
( ( ex
x,
y being
Element of
AS st
x <> y & ( for
x,
y,
z,
t,
u,
w being
Element of
AS holds
(
x,
y // y,
x &
x,
y // z,
z & (
x <> y &
x,
y // z,
t &
x,
y // u,
w implies
z,
t // u,
w ) & (
x,
y // x,
z implies
y,
x // y,
z ) ) ) & not for
x,
y,
z being
Element of
AS holds
x,
y // x,
z & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
z // y,
t &
y <> t ) ) & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
y // z,
t &
x,
z // y,
t ) ) & ( for
x,
y,
z,
t being
Element of
AS st
z,
x // x,
t &
x <> z holds
ex
u being
Element of
AS st
(
y,
x // x,
u &
y,
z // t,
u ) ) ) iff
AS is
AffinSpace )
by Def7, REALSET2:def 7;
theorem Th50: :: DIRAF:50
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th51: :: DIRAF:51
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem Def8 defines 2-dimensional DIRAF:def 8 :
theorem :: DIRAF:52
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: DIRAF:53
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: DIRAF:54
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
AS being non
empty AffinStruct holds
(
AS is
AffinPlane iff ( ex
x,
y being
Element of
AS st
x <> y & ( for
x,
y,
z,
t,
u,
w being
Element of
AS holds
(
x,
y // y,
x &
x,
y // z,
z & (
x <> y &
x,
y // z,
t &
x,
y // u,
w implies
z,
t // u,
w ) & (
x,
y // x,
z implies
y,
x // y,
z ) ) ) & not for
x,
y,
z being
Element of
AS holds
x,
y // x,
z & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
z // y,
t &
y <> t ) ) & ( for
x,
y,
z being
Element of
AS ex
t being
Element of
AS st
(
x,
y // z,
t &
x,
z // y,
t ) ) & ( for
x,
y,
z,
t being
Element of
AS st
z,
x // x,
t &
x <> z holds
ex
u being
Element of
AS st
(
y,
x // x,
u &
y,
z // t,
u ) ) & ( for
x,
y,
z,
t being
Element of
AS st not
x,
y // z,
t holds
ex
u being
Element of
AS st
(
x,
y // x,
u &
z,
t // z,
u ) ) ) )
by Def7, Def8, REALSET2:def 7;