source: CGBLisp/trunk/examples/prover-apollonius.lisp@ 99

Last change on this file since 99 was 99, checked in by Marek Rychlik, 15 years ago

* empty log message *

File size: 792 bytes
Line 
1;;
2;; Prove Apollonius Circle Theorem:
3;;----------------------------------------------------------------
4;; If ABC is a right triangle with hypotenuse BC,
5;; and
6;;
7;; 1) M is the midpoint of BC;
8;; 2) M1 is the midpoint of AB;
9;; 3) M2 is the midpoint of AC;
10;; 4) is the foot of the altitude dropped from A;
11;;
12;; then A, H, M1, M2 and M lie on the same circle.
13;;----------------------------------------------------------------
14;;
15
16(prove-theorem
17
18 ;; If
19 (
20 ;; AB _|_ AC
21 (perpendicular A B A C)
22
23 ;; M is the midpoint of BC
24 (midpoint B C M)
25
26 ;; O is the midpoint of AM
27 (midpoint A M O)
28
29 ;; H lies on BC
30 (collinear B H C)
31
32 ;; AH _|_ BC
33 (perpendicular A H B C)
34
35 )
36
37 ;; Then
38
39 (
40 ;; MO = HO
41 (equidistant M O H O)
42
43 ;; or
44
45 ;; B = C
46 (identical-points B C)
47
48 )
49 )
Note: See TracBrowser for help on using the repository browser.