Lm1:
for n being Nat
for lambda being Real
for x1 being Element of REAL n holds (1 - lambda) * x1 = x1 - (lambda * x1)
Lm2:
for a being Real holds sin (a - PI) = - (sin a)
theorem Th1:
for
n being
Nat for
lambda,
mu being
Real for
x1,
x2 being
Element of
REAL n for
An,
Bn being
Point of
(TOP-REAL n) st
An = ((1 - lambda) * x1) + (lambda * x2) &
Bn = ((1 - mu) * x1) + (mu * x2) holds
Bn - An = (mu - lambda) * (x2 - x1)
definition
let A,
B be
Element of
(TOP-REAL 2);
assume A1:
A <> B
;
existence
ex b1, L1, L2 being Element of line_of_REAL 2 st
( b1 = L2 & L1 = Line (A,B) & L1 _|_ L2 & L1 /\ L2 = {(the_midpoint_of_the_segment (A,B))} )
uniqueness
for b1, b2 being Element of line_of_REAL 2 st ex L1, L2 being Element of line_of_REAL 2 st
( b1 = L2 & L1 = Line (A,B) & L1 _|_ L2 & L1 /\ L2 = {(the_midpoint_of_the_segment (A,B))} ) & ex L1, L2 being Element of line_of_REAL 2 st
( b2 = L2 & L1 = Line (A,B) & L1 _|_ L2 & L1 /\ L2 = {(the_midpoint_of_the_segment (A,B))} ) holds
b1 = b2
end;
theorem Th47:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle holds
ex
D being
Point of
(TOP-REAL 2) st
(
(the_perpendicular_bisector (A,B)) /\ (the_perpendicular_bisector (B,C)) = {D} &
(the_perpendicular_bisector (B,C)) /\ (the_perpendicular_bisector (C,A)) = {D} &
(the_perpendicular_bisector (C,A)) /\ (the_perpendicular_bisector (A,B)) = {D} &
|.(D - A).| = |.(D - B).| &
|.(D - A).| = |.(D - C).| &
|.(D - B).| = |.(D - C).| )
definition
let A,
B,
C be
Point of
(TOP-REAL 2);
assume A1:
A,
B,
C is_a_triangle
;
existence
ex b1 being Point of (TOP-REAL 2) st
( (the_perpendicular_bisector (A,B)) /\ (the_perpendicular_bisector (B,C)) = {b1} & (the_perpendicular_bisector (B,C)) /\ (the_perpendicular_bisector (C,A)) = {b1} & (the_perpendicular_bisector (C,A)) /\ (the_perpendicular_bisector (A,B)) = {b1} )
uniqueness
for b1, b2 being Point of (TOP-REAL 2) st (the_perpendicular_bisector (A,B)) /\ (the_perpendicular_bisector (B,C)) = {b1} & (the_perpendicular_bisector (B,C)) /\ (the_perpendicular_bisector (C,A)) = {b1} & (the_perpendicular_bisector (C,A)) /\ (the_perpendicular_bisector (A,B)) = {b1} & (the_perpendicular_bisector (A,B)) /\ (the_perpendicular_bisector (B,C)) = {b2} & (the_perpendicular_bisector (B,C)) /\ (the_perpendicular_bisector (C,A)) = {b2} & (the_perpendicular_bisector (C,A)) /\ (the_perpendicular_bisector (A,B)) = {b2} holds
b1 = b2
by ZFMISC_1:3;
end;
::
deftheorem Def3 defines
the_circumcenter EUCLID12:def 5 :
for A, B, C being Point of (TOP-REAL 2) st A,B,C is_a_triangle holds
for b4 being Point of (TOP-REAL 2) holds
( b4 = the_circumcenter (A,B,C) iff ( (the_perpendicular_bisector (A,B)) /\ (the_perpendicular_bisector (B,C)) = {b4} & (the_perpendicular_bisector (B,C)) /\ (the_perpendicular_bisector (C,A)) = {b4} & (the_perpendicular_bisector (C,A)) /\ (the_perpendicular_bisector (A,B)) = {b4} ) );
theorem Th48:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle holds
ex
a,
b,
r being
Real st
(
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) )
theorem Th49:
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
(
|[a,b]| = the_circumcenter (
A,
B,
C) &
r = |.((the_circumcenter (A,B,C)) - A).| )
theorem Th50:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle holds
(
|.((the_circumcenter (A,B,C)) - A).| = |.((the_circumcenter (A,B,C)) - B).| &
|.((the_circumcenter (A,B,C)) - A).| = |.((the_circumcenter (A,B,C)) - C).| &
|.((the_circumcenter (A,B,C)) - B).| = |.((the_circumcenter (A,B,C)) - C).| )
theorem
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle holds
(
the_radius_of_the_circumcircle (
A,
B,
C)
= |.((the_circumcenter (A,B,C)) - B).| &
the_radius_of_the_circumcircle (
A,
B,
C)
= |.((the_circumcenter (A,B,C)) - C).| )
theorem
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
c,
d,
r,
s being
Real st
A,
B,
C is_a_triangle &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) &
A in circle (
c,
d,
s) &
B in circle (
c,
d,
s) &
C in circle (
c,
d,
s) holds
(
a = c &
b = d &
r = s )
theorem Th51:
for
a being
Real for
A,
B,
C,
D being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) &
A,
B,
D is_a_triangle &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
D in circle (
a,
b,
r) &
C <> D & not
the_diameter_of_the_circumcircle (
A,
B,
C)
= the_diameter_of_the_circumcircle (
D,
B,
C) holds
the_diameter_of_the_circumcircle (
A,
B,
C)
= - (the_diameter_of_the_circumcircle (D,B,C))
theorem Th52:
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) & not
the_diameter_of_the_circumcircle (
A,
B,
C)
= 2
* r holds
the_diameter_of_the_circumcircle (
A,
B,
C)
= - (2 * r)
theorem Th53:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle &
0 < angle (
C,
B,
A) &
angle (
C,
B,
A)
< PI holds
the_diameter_of_the_circumcircle (
A,
B,
C)
> 0
theorem Th54:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle &
PI < angle (
C,
B,
A) &
angle (
C,
B,
A)
< 2
* PI holds
the_diameter_of_the_circumcircle (
A,
B,
C)
< 0
theorem Th55:
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
0 < angle (
C,
B,
A) &
angle (
C,
B,
A)
< PI &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
the_diameter_of_the_circumcircle (
A,
B,
C)
= 2
* r
theorem Th56:
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
PI < angle (
C,
B,
A) &
angle (
C,
B,
A)
< 2
* PI &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
the_diameter_of_the_circumcircle (
A,
B,
C)
= - (2 * r)
theorem Th57:
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
0 < angle (
C,
B,
A) &
angle (
C,
B,
A)
< PI &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
(
|.(A - B).| = (2 * r) * (sin (angle (A,C,B))) &
|.(B - C).| = (2 * r) * (sin (angle (B,A,C))) &
|.(C - A).| = (2 * r) * (sin (angle (C,B,A))) )
theorem Th58:
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
PI < angle (
C,
B,
A) &
angle (
C,
B,
A)
< 2
* PI &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
(
|.(A - B).| = - ((2 * r) * (sin (angle (A,C,B)))) &
|.(B - C).| = - ((2 * r) * (sin (angle (B,A,C)))) &
|.(C - A).| = - ((2 * r) * (sin (angle (C,B,A)))) )
theorem
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
0 < angle (
C,
B,
A) &
angle (
C,
B,
A)
< PI &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
(
|.(A - B).| / (sin (angle (A,C,B))) = 2
* r &
|.(B - C).| / (sin (angle (B,A,C))) = 2
* r &
|.(C - A).| / (sin (angle (C,B,A))) = 2
* r )
theorem
for
a being
Real for
A,
B,
C being
Point of
(TOP-REAL 2) for
b,
r being
Real st
A,
B,
C is_a_triangle &
PI < angle (
C,
B,
A) &
angle (
C,
B,
A)
< 2
* PI &
A in circle (
a,
b,
r) &
B in circle (
a,
b,
r) &
C in circle (
a,
b,
r) holds
(
|.(A - B).| / (sin (angle (A,C,B))) = - (2 * r) &
|.(B - C).| / (sin (angle (B,A,C))) = - (2 * r) &
|.(C - A).| / (sin (angle (C,B,A))) = - (2 * r) )
theorem Th59:
for
A,
B,
C,
D,
E,
F being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle &
D = ((1 - (1 / 2)) * B) + ((1 / 2) * C) &
E = ((1 - (1 / 2)) * C) + ((1 / 2) * A) &
F = ((1 - (1 / 2)) * A) + ((1 / 2) * B) holds
Line (
A,
D),
Line (
B,
E),
Line (
C,
F)
are_concurrent
theorem Th62:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle holds
ex
D being
Point of
(TOP-REAL 2) st
(
D in median (
A,
B,
C) &
D in median (
B,
C,
A) &
D in median (
C,
A,
B) )
theorem Th63:
for
A,
B,
C being
Point of
(TOP-REAL 2) st
A,
B,
C is_a_triangle holds
ex
D being
Point of
(TOP-REAL 2) st
(
(median (A,B,C)) /\ (median (B,C,A)) = {D} &
(median (B,C,A)) /\ (median (C,A,B)) = {D} &
(median (C,A,B)) /\ (median (A,B,C)) = {D} )
definition
let A,
B,
C be
Point of
(TOP-REAL 2);
assume A1:
A,
B,
C is_a_triangle
;
func the_centroid_of_the_triangle (
A,
B,
C)
-> Point of
(TOP-REAL 2) means
(
(median (A,B,C)) /\ (median (B,C,A)) = {it} &
(median (B,C,A)) /\ (median (C,A,B)) = {it} &
(median (C,A,B)) /\ (median (A,B,C)) = {it} );
existence
ex b1 being Point of (TOP-REAL 2) st
( (median (A,B,C)) /\ (median (B,C,A)) = {b1} & (median (B,C,A)) /\ (median (C,A,B)) = {b1} & (median (C,A,B)) /\ (median (A,B,C)) = {b1} )
by A1, Th63;
uniqueness
for b1, b2 being Point of (TOP-REAL 2) st (median (A,B,C)) /\ (median (B,C,A)) = {b1} & (median (B,C,A)) /\ (median (C,A,B)) = {b1} & (median (C,A,B)) /\ (median (A,B,C)) = {b1} & (median (A,B,C)) /\ (median (B,C,A)) = {b2} & (median (B,C,A)) /\ (median (C,A,B)) = {b2} & (median (C,A,B)) /\ (median (A,B,C)) = {b2} holds
b1 = b2
by ZFMISC_1:3;
end;
::
deftheorem defines
the_centroid_of_the_triangle EUCLID12:def 8 :
for A, B, C being Point of (TOP-REAL 2) st A,B,C is_a_triangle holds
for b4 being Point of (TOP-REAL 2) holds
( b4 = the_centroid_of_the_triangle (A,B,C) iff ( (median (A,B,C)) /\ (median (B,C,A)) = {b4} & (median (B,C,A)) /\ (median (C,A,B)) = {b4} & (median (C,A,B)) /\ (median (A,B,C)) = {b4} ) );