:: EUCLID_2 semantic presentation  Show TPTP formulae Show IDV graph for whole article:: Showing IDV graph ... (Click the Palm Trees again to close it)

theorem Th1: :: EUCLID_2:1  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for v being Element of n -tuples_on REAL
for i being Nat st i in Seg n holds
(mlt v,(0* n)) . i = 0
proof end;

theorem Th2: :: EUCLID_2:2  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for v being Element of n -tuples_on REAL holds mlt v,(0* n) = 0* n
proof end;

theorem Th3: :: EUCLID_2:3  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds (- 1) * x = - x
proof end;

theorem Th4: :: EUCLID_2:4  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
x - y = x + (- y)
proof end;

theorem Th5: :: EUCLID_2:5  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds len (- x) = len x
proof end;

theorem Th6: :: EUCLID_2:6  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2 being FinSequence of REAL st len x1 = len x2 holds
len (x1 + x2) = len x1
proof end;

theorem Th7: :: EUCLID_2:7  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2 being FinSequence of REAL st len x1 = len x2 holds
len (x1 - x2) = len x1
proof end;

theorem Th8: :: EUCLID_2:8  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for a being real number
for x being FinSequence of REAL holds len (a * x) = len x
proof end;

theorem Th9: :: EUCLID_2:9  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y, z being FinSequence of REAL st len x = len y & len y = len z holds
mlt (x + y),z = (mlt x,z) + (mlt y,z)
proof end;

definition
let x1, x2 be FinSequence of REAL ;
func |(x1,x2)| -> real number equals :: EUCLID_2:def 1
Sum (mlt x1,x2);
correctness
coherence
Sum (mlt x1,x2) is real number
;
;
commutativity
for b1 being real number
for x1, x2 being FinSequence of REAL st b1 = Sum (mlt x1,x2) holds
b1 = Sum (mlt x2,x1)
;
end;

:: deftheorem defines |( EUCLID_2:def 1 :
for x1, x2 being FinSequence of REAL holds |(x1,x2)| = Sum (mlt x1,x2);

theorem Th10: :: EUCLID_2:10  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for y1, y2 being FinSequence of REAL
for x1, x2 being Element of REAL n st x1 = y1 & x2 = y2 holds
|(y1,y2)| = (1 / 4) * ((|.(x1 + x2).| ^2 ) - (|.(x1 - x2).| ^2 ))
proof end;

theorem Th11: :: EUCLID_2:11  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds |(x,x)| >= 0
proof end;

theorem Th12: :: EUCLID_2:12  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds |.x.| ^2 = |(x,x)|
proof end;

theorem Th13: :: EUCLID_2:13  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds |.x.| = sqrt |(x,x)|
proof end;

theorem Th14: :: EUCLID_2:14  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds 0 <= |.x.|
proof end;

theorem Th15: :: EUCLID_2:15  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds
( |(x,x)| = 0 iff x = 0* (len x) )
proof end;

theorem :: EUCLID_2:16  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds
( |(x,x)| = 0 iff |.x.| = 0 )
proof end;

theorem Th17: :: EUCLID_2:17  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds |(x,(0* (len x)))| = 0
proof end;

theorem :: EUCLID_2:18  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being FinSequence of REAL holds |((0* (len x)),x)| = 0 by Th17;

theorem Th19: :: EUCLID_2:19  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y, z being FinSequence of REAL st len x = len y & len y = len z holds
|((x + y),z)| = |(x,z)| + |(y,z)|
proof end;

theorem Th20: :: EUCLID_2:20  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL
for a being real number st len x = len y holds
|((a * x),y)| = a * |(x,y)|
proof end;

theorem Th21: :: EUCLID_2:21  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL
for a being real number st len x = len y holds
|(x,(a * y))| = a * |(x,y)|
proof end;

theorem Th22: :: EUCLID_2:22  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2 being FinSequence of REAL st len x1 = len x2 holds
|((- x1),x2)| = - |(x1,x2)|
proof end;

theorem :: EUCLID_2:23  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2 being FinSequence of REAL st len x1 = len x2 holds
|(x1,(- x2))| = - |(x1,x2)| by Th22;

theorem :: EUCLID_2:24  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2 being FinSequence of REAL st len x1 = len x2 holds
|((- x1),(- x2))| = |(x1,x2)|
proof end;

theorem Th25: :: EUCLID_2:25  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2, x3 being FinSequence of REAL st len x1 = len x2 & len x2 = len x3 holds
|((x1 - x2),x3)| = |(x1,x3)| - |(x2,x3)|
proof end;

theorem :: EUCLID_2:26  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being real number
for x1, x2, x3 being FinSequence of REAL st len x1 = len x2 & len x2 = len x3 holds
|(((x * x1) + (y * x2)),x3)| = (x * |(x1,x3)|) + (y * |(x2,x3)|)
proof end;

theorem :: EUCLID_2:27  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y1, y2 being FinSequence of REAL st len x = len y1 & len y1 = len y2 holds
|(x,(y1 + y2))| = |(x,y1)| + |(x,y2)| by Th19;

theorem :: EUCLID_2:28  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y1, y2 being FinSequence of REAL st len x = len y1 & len y1 = len y2 holds
|(x,(y1 - y2))| = |(x,y1)| - |(x,y2)| by Th25;

theorem Th29: :: EUCLID_2:29  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2, y1, y2 being FinSequence of REAL st len x1 = len x2 & len x2 = len y1 & len y1 = len y2 holds
|((x1 + x2),(y1 + y2))| = ((|(x1,y1)| + |(x1,y2)|) + |(x2,y1)|) + |(x2,y2)|
proof end;

theorem Th30: :: EUCLID_2:30  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x1, x2, y1, y2 being FinSequence of REAL st len x1 = len x2 & len x2 = len y1 & len y1 = len y2 holds
|((x1 - x2),(y1 - y2))| = ((|(x1,y1)| - |(x1,y2)|) - |(x2,y1)|) + |(x2,y2)|
proof end;

theorem Th31: :: EUCLID_2:31  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
|((x + y),(x + y))| = (|(x,x)| + (2 * |(x,y)|)) + |(y,y)|
proof end;

theorem Th32: :: EUCLID_2:32  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
|((x - y),(x - y))| = (|(x,x)| - (2 * |(x,y)|)) + |(y,y)|
proof end;

theorem Th33: :: EUCLID_2:33  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
|.(x + y).| ^2 = ((|.x.| ^2 ) + (2 * |(y,x)|)) + (|.y.| ^2 )
proof end;

theorem Th34: :: EUCLID_2:34  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
|.(x - y).| ^2 = ((|.x.| ^2 ) - (2 * |(y,x)|)) + (|.y.| ^2 )
proof end;

theorem :: EUCLID_2:35  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
(|.(x + y).| ^2 ) + (|.(x - y).| ^2 ) = 2 * ((|.x.| ^2 ) + (|.y.| ^2 ))
proof end;

theorem :: EUCLID_2:36  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
(|.(x + y).| ^2 ) - (|.(x - y).| ^2 ) = 4 * |(x,y)|
proof end;

theorem Th37: :: EUCLID_2:37  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
abs |(x,y)| <= |.x.| * |.y.|
proof end;

theorem :: EUCLID_2:38  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x, y being FinSequence of REAL st len x = len y holds
|.(x + y).| <= |.x.| + |.y.|
proof end;

definition
let n be Nat;
let p, q be Point of (TOP-REAL n);
func |(p,q)| -> real number means :Def2: :: EUCLID_2:def 2
ex f, g being FinSequence of REAL st
( f = p & g = q & it = |(f,g)| );
existence
ex b1 being real number ex f, g being FinSequence of REAL st
( f = p & g = q & b1 = |(f,g)| )
proof end;
uniqueness
for b1, b2 being real number st ex f, g being FinSequence of REAL st
( f = p & g = q & b1 = |(f,g)| ) & ex f, g being FinSequence of REAL st
( f = p & g = q & b2 = |(f,g)| ) holds
b1 = b2
;
commutativity
for b1 being real number
for p, q being Point of (TOP-REAL n) st ex f, g being FinSequence of REAL st
( f = p & g = q & b1 = |(f,g)| ) holds
ex f, g being FinSequence of REAL st
( f = q & g = p & b1 = |(f,g)| )
;
end;

:: deftheorem Def2 defines |( EUCLID_2:def 2 :
for n being Nat
for p, q being Point of (TOP-REAL n)
for b4 being real number holds
( b4 = |(p,q)| iff ex f, g being FinSequence of REAL st
( f = p & g = q & b4 = |(f,g)| ) );

theorem :: EUCLID_2:39  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2 being Point of (TOP-REAL n) holds |(p1,p2)| = (1 / 4) * ((|.(p1 + p2).| ^2 ) - (|.(p1 - p2).| ^2 ))
proof end;

theorem Th40: :: EUCLID_2:40  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2, p3 being Point of (TOP-REAL n) holds |((p1 + p2),p3)| = |(p1,p3)| + |(p2,p3)|
proof end;

theorem Th41: :: EUCLID_2:41  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2 being Point of (TOP-REAL n)
for x being real number holds |((x * p1),p2)| = x * |(p1,p2)|
proof end;

theorem :: EUCLID_2:42  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2 being Point of (TOP-REAL n)
for x being real number holds |(p1,(x * p2))| = x * |(p1,p2)| by Th41;

theorem Th43: :: EUCLID_2:43  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2 being Point of (TOP-REAL n) holds |((- p1),p2)| = - |(p1,p2)|
proof end;

theorem :: EUCLID_2:44  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2 being Point of (TOP-REAL n) holds |(p1,(- p2))| = - |(p1,p2)| by Th43;

theorem :: EUCLID_2:45  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2 being Point of (TOP-REAL n) holds |((- p1),(- p2))| = |(p1,p2)|
proof end;

theorem Th46: :: EUCLID_2:46  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2, p3 being Point of (TOP-REAL n) holds |((p1 - p2),p3)| = |(p1,p3)| - |(p2,p3)|
proof end;

theorem :: EUCLID_2:47  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for x, y being real number
for p1, p2, p3 being Point of (TOP-REAL n) holds |(((x * p1) + (y * p2)),p3)| = (x * |(p1,p3)|) + (y * |(p2,p3)|)
proof end;

theorem :: EUCLID_2:48  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q1, q2 being Point of (TOP-REAL n) holds |(p,(q1 + q2))| = |(p,q1)| + |(p,q2)| by Th40;

theorem :: EUCLID_2:49  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q1, q2 being Point of (TOP-REAL n) holds |(p,(q1 - q2))| = |(p,q1)| - |(p,q2)| by Th46;

theorem Th50: :: EUCLID_2:50  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2, q1, q2 being Point of (TOP-REAL n) holds |((p1 + p2),(q1 + q2))| = ((|(p1,q1)| + |(p1,q2)|) + |(p2,q1)|) + |(p2,q2)|
proof end;

theorem Th51: :: EUCLID_2:51  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p1, p2, q1, q2 being Point of (TOP-REAL n) holds |((p1 - p2),(q1 - q2))| = ((|(p1,q1)| - |(p1,q2)|) - |(p2,q1)|) + |(p2,q2)|
proof end;

theorem Th52: :: EUCLID_2:52  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |((p + q),(p + q))| = (|(p,p)| + (2 * |(p,q)|)) + |(q,q)|
proof end;

theorem Th53: :: EUCLID_2:53  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |((p - q),(p - q))| = (|(p,p)| - (2 * |(p,q)|)) + |(q,q)|
proof end;

theorem Th54: :: EUCLID_2:54  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds |(p,(0.REAL n))| = 0
proof end;

theorem :: EUCLID_2:55  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds |((0.REAL n),p)| = 0 by Th54;

theorem :: EUCLID_2:56  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds |((0.REAL n),(0.REAL n))| = 0 by Th54;

theorem Th57: :: EUCLID_2:57  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds |(p,p)| >= 0
proof end;

theorem Th58: :: EUCLID_2:58  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds |(p,p)| = |.p.| ^2
proof end;

theorem Th59: :: EUCLID_2:59  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds |.p.| = sqrt |(p,p)|
proof end;

theorem Th60: :: EUCLID_2:60  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds 0 <= |.p.|
proof end;

theorem Th61: :: EUCLID_2:61  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds |.(0.REAL n).| = 0
proof end;

theorem Th62: :: EUCLID_2:62  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds
( |(p,p)| = 0 iff |.p.| = 0 )
proof end;

theorem Th63: :: EUCLID_2:63  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds
( |(p,p)| = 0 iff p = 0.REAL n )
proof end;

theorem :: EUCLID_2:64  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds
( |.p.| = 0 iff p = 0.REAL n ) by Th61, TOPRNS_1:25;

theorem :: EUCLID_2:65  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds
( p <> 0.REAL n iff |(p,p)| > 0 )
proof end;

theorem :: EUCLID_2:66  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds
( p <> 0.REAL n iff |.p.| > 0 )
proof end;

theorem Th67: :: EUCLID_2:67  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |.(p + q).| ^2 = ((|.p.| ^2 ) + (2 * |(q,p)|)) + (|.q.| ^2 )
proof end;

theorem Th68: :: EUCLID_2:68  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |.(p - q).| ^2 = ((|.p.| ^2 ) - (2 * |(q,p)|)) + (|.q.| ^2 )
proof end;

theorem :: EUCLID_2:69  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds (|.(p + q).| ^2 ) + (|.(p - q).| ^2 ) = 2 * ((|.p.| ^2 ) + (|.q.| ^2 ))
proof end;

theorem :: EUCLID_2:70  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds (|.(p + q).| ^2 ) - (|.(p - q).| ^2 ) = 4 * |(p,q)|
proof end;

theorem :: EUCLID_2:71  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |(p,q)| = (1 / 4) * ((|.(p + q).| ^2 ) - (|.(p - q).| ^2 ))
proof end;

theorem :: EUCLID_2:72  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |(p,q)| <= |(p,p)| + |(q,q)|
proof end;

theorem Th73: :: EUCLID_2:73  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds abs |(p,q)| <= |.p.| * |.q.|
proof end;

theorem :: EUCLID_2:74  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p, q being Point of (TOP-REAL n) holds |.(p + q).| <= |.p.| + |.q.|
proof end;

definition
let n be Nat;
let p, q be Point of (TOP-REAL n);
pred p,q are_orthogonal means :Def3: :: EUCLID_2:def 3
|(p,q)| = 0;
symmetry
for p, q being Point of (TOP-REAL n) st |(p,q)| = 0 holds
|(q,p)| = 0
;
end;

:: deftheorem Def3 defines are_orthogonal EUCLID_2:def 3 :
for n being Nat
for p, q being Point of (TOP-REAL n) holds
( p,q are_orthogonal iff |(p,q)| = 0 );

theorem Th75: :: EUCLID_2:75  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds p, 0.REAL n are_orthogonal
proof end;

theorem :: EUCLID_2:76  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds 0.REAL n,p are_orthogonal by Th75;

theorem Th77: :: EUCLID_2:77  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) holds
( p,p are_orthogonal iff p = 0.REAL n )
proof end;

theorem Th78: :: EUCLID_2:78  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for a being real number
for p, q being Point of (TOP-REAL n) st p,q are_orthogonal holds
a * p,q are_orthogonal
proof end;

theorem :: EUCLID_2:79  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for a being real number
for p, q being Point of (TOP-REAL n) st p,q are_orthogonal holds
p,a * q are_orthogonal by Th78;

theorem :: EUCLID_2:80  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (TOP-REAL n) st ( for q being Point of (TOP-REAL n) holds p,q are_orthogonal ) holds
p = 0.REAL n
proof end;