A completion of hypotheses method for 3D-geometry. 3D-extensions of Ceva and Menelaus theorems
Abstract
A method that automates hypotheses completion in 3D-Geometry is presented. It consists of three processes: defi ning the geometric objects in the confi guration; determining the hypothesis conditions of the confi guration (through a point-on-object declaration method); and applying an algebraic automatic theorem proving method to obtain and prove the sufficiency of complementary hypothesis conditions. To avoid as much as possible the appearance of rational expressions, projective coordinates are used (although affine and Euclidean problems can also be treated). A Maple implementation of the method has been used to extend to 3D classic 2D geometric theorems like Ceva's and Menelaus'.
Full text
A Completion of Hyp otheses Metho d for 3D-Geometry. 3D-Extensions of Ceva and Menelaus Theorems 1 E. Roanes-Maas a , E. Roanes-Lozano ; a a Dept. Algebra, Universidad Complutense de Madrid, Ediio \La Almudena", / Retor Royo Vil lanova s/n, 28040-Madrid, Spain Abstrat A metho d that automates hypotheses ompletion in 3D-Geometry is presented. It onsists of three pro esses: dening the geometri ob jets in the onguration; determining the hyp othesis onditions of the onguration (through a point-on-ob jet delaration method); and applying an algebrai automati theorem proving metho d to obtain and prove the suÆieny of omplementary hyp othesis onditions. To avoid as muh as possible the app earane of rational expressions, pro jetive o ordinates are used (although aÆne and Eulidean problems an also b e treated). A Maple implementation of the metho d has been used to extend to 3D lassi 2D geometri theorems like Ceva's and Menelaus'. Key words: 3D-Geometry, Simb oly Computation, Automati Theorem Proving 1. Brief Desription of the Metho d Hyp otheses ompletion was already treated by Reio and Velez [6℄. The metho d presented in this pap er automates hypotheses ompletion in 3DGeometry. Let us give a brief desription of its three pro esses. 1.1. Dening the Geometri Objets in the Conguration Among the geometri ob jets in a onguration, some an b e dened diretly and others are determined through geometri op erations (see Table 1). Other usual geometri ob jets inluded in the pakage (segment, midp oint, sphere, quadri,...) are omitted for the sake of spae. The desired onguration an be onstruted through the adequate onatenation of these elementary ommands. Note that in this Geome- Corresp onding author Email addresses: roanesmat.um.es (E. RoanesMaas), eroanesmat.um.es (E. Roanes-Lozano). 1 Partially supp orted by the researh pro jet TIC-20001368-C03-03 (MCyT, Spain). try not only the rule-and-ompass global ly onstrutible ob jets an b e treated: those geometri ob jets suh that any of their p oints an b e onstruted with rule-and-ompass, an b e treated to o. Pro jetive o ordinates are used. Command intCoor allows to substitute o ordinates where rational expressions appear by the orresp onding integer quaternions. 1.2. Determining the hypothesis onditions of the onguration Hyp othesis onditions are delared as membership relations b etween p oints and higher dimension geometri ob jets. To delare P = [ p 0 ; p 1 ; p 2 ; p 3 ℄ as a p oint on the ob jet (b eing the equations of : i ( x 0 ; x 1 ; x 2 ; x 3 ) = 0 ; i = 1 ; :::; n ) is equivalent to imp ose that the hypothesis onditions i ( P 0 ; P 1 ; P 2 ; P 3 ) = 0 ; i = 1 ; :::; n are veried. Command pointOnObjet takes are of adding these p olynomials to a ertain list, denoted LRE L , where the hypothesis polynomials are stored, and to add the orresp onding variables to the list V AR . 20th EWCG Seville, Spain (2004)
20th Europ ean Workshop on Computational Geometry Ob jet Input Command Output initial p oint four pro jetive point list of 4 (free p oint) o ordinates parameters plane three non-ollinear plane equation of p oints the plane line two dierent line list of equations p oints of the line p oint on line AB two p oints ( A; B ) rateOnLine list of o ords. ( ! P B = r ! P A ) and a real numb er r of p oint P plane/line parallel one linear ob jet parallel equation(s) of to a given plane/line and one p oint the plane/line plane/line p erp endiular one linear ob jet perpendiular equation(s) of to a given line/plane and one p oint the plane/line intersetion of two two already intersetion o ords. of p oint(s) ob jets (not dened ob jets or equation(s) of neessarily linear) linear ob jets or redued list of eqs. (in GB sense) Table 1 Geometri ob jets' denition 1.3. Obtaining and Proving the SuÆieny of Complementary Hypothesis Conditions In most onguration geometri problems, the thesis is (or an b e redued to) a P 2 memb ership ondition (where P is a point and is a geometri ob jet) or to a geometri relation among geometri ob jets in the onguration. In b oth ases the thesis polynomial admits a ( P ) form. In ase list LRE L is empty, to hek that the thesis holds is equivalent to hek that vanishes in P (i.e., that ( P ) = 0). Command isPlaed applied to the pair ( P ; ) takes are of p erforming all the orresp onding omputations. In ase list LRE L is not empty, to hek that the thesis holds it is suÆient to hek that an b e expressed as an algebrai linear ombination of the p olynomials in list LRE L , what an b e effetively omputed using Wu's tehniques. A brief desription of these automati proving tehniques an b e found in [1℄, meanwhile a detailed desription an be found, e.g., in [2,9℄. These tehniques were adapted to hyp otheses ompletion in [5℄ and to geometri loi determining in [7℄. The tehnique desrib ed in this pap er is essentially that of [7℄, but has b een adapted to the way hyp othesis and thesis onditions are usually delared. This pro ess basially onsists of two steps: { to triangularize system LRE L w.r.t. the variables in list V AR , to obtain system T RI P { to ompute, starting with ( P ), the suessive pseudo-remainders of dividing by the p olynomials in T RI P w.r.t. the variables in V AR , until the last pseudo-remainder (p olynomial ! ) is obtained. That ! = 0 is a neessary ondition for the thesis to hold. Command newHypot of our pakage, applied to ( P ; ), automatially omputes ! . But we would still have to hek that ! = 0 is a suÆient ondition for the thesis ( P ) = 0 to hold. If a parametrization of ! = 0 an be obtained, then we substitute in ( x 0 ; x 1 ; x 2 ; x 3 ) the x i by their orresp onding parametri expressions. If the resulting p olynomial vanishes, then ondition ! = 0 is also suÆient. Command isPlaed an take are of these omputations. If a parametrization of ! = 0 an't be obtained, then ! is b e added to list LRE L , and the new variable app earing in ! but not in list V AR , is added to list V AR . The same pro ess an b e applied now,
Marh 25-26, 2004 Seville (Spain) and, if the last pseudo-remainder is 0, then ondition ! = 0 is also suÆient. Command autProve an take are of these omputations. 2. 3D-Extension of Ceva and Menelaus Theorems An appliation of the automati theorem proving metho d desrib ed ab ove is inluded as illustration afterwards. The goal is to determine onditions that make four p oints, lying on onseutive edge-lines of a tetrahedron, oplanary (see Figure 1). This problem was reently solved using syntheti tehniques by H. Davis [3℄. Fig. 1. Extending to 3D Ceva and Menelaus theorems We an assume that the verties are A (1 ; 0 ; 0 ; 0), B (1 ; 1 ; 0 ; 0), C (1 ; 1 ; 2 ; 0), D (1 ; Æ 1 ; Æ 2 ; Æ 3 ) without any lak of generality (these p oints an b e dened using ommand point ). Given m; n; p; q 2 R [ f1g , let M ; N ; P ; Q b e the p oints lying on the edge-lines AB ; B C; C D ; D A (resp etively), and satisfying ! M B = m ! M A ; ! N C = n ! N B ! P D = p ! P C ; ! QA = q ! QD (they an b e dened using ommand rateOnLine ). Then plane MNP an be dened (using ommand plane ). As detailed ab ove, applying ommand newHypot to the pair ( Q; M N P ), a neessary ondition for Q to lie on plane MNP (i.e., for M ; N ; P ; Q to b e oplanary): 2 Æ 3 ( 1 + m n p q ) = 0, is obtained. As A; B ; C; D are non-oplanary p oints, and onsequently, 2 6 = 0 6 = Æ 3 , what implies: m n p q = 1. To verify that is a suÆient ondition, Q is partiularized for q = 1 = ( m n p ), and applying ommand isPlaed to the pair ( Q; M N P ), 0 is obtained, what onrms that Q b elongs to plane MNP . This leads to the following: Theorem 1 Points M ; N ; P ; Q , lying on the oriented onseutive edge-lines AB ; B C ; C D ; D A of tetrahedron AB C D (respetively), are oplanary, if and only if: ( M B =M A ) ( N C =N B ) ( P D =P C ) ( QA=QD ) = 1 Observe that the p oints M ; N ; P ; Q do lie on the onseutive oriented edge-lines AB ; B C ; C D ; D A , but they an lie outside the edge-segments, and therefore this result do esn't only generalizes Ceva theorem, but also Menelaus theorem. 3. Comparison with Other Metho ds As the automati theorem proving tehnique used in this work is based on Wu's algorithm, it is of a lower omputational omplexity than those tehniques based on the use of Groebner bases. Comparing this metho d with others based on Wu's tehniques, the main dierene is the way the geometri ob jets of the onguration are de- ned and the way the hyp otheses onditions are delared. In the method presented here the geometri ob jets and the hypotheses onditions are obtained in a natural way, following the geometri algorithm that generates the onguration, instead of translating into algebrai expressions the geometri relations that determine them (what is usually the ase). That happens, for instane, in Simson-SteinerGuzman theorem 3D-extension [4℄. The goal is to determine the onditions so that the pro jetions (in prexed diretions) of a p oint on the faes of a tetrahedron are oplanary. This problem was develop ed in [7℄, translating into algebrai expressions the geometri relations. Now it has b een develop ed using the method detailed in setion 1, in a more omfortable and faster way.
20th Europ ean Workshop on Computational Geometry Other advantage of the metho d prop osed in Se- tion 1 is the simple way in whih parameters and variables are distinguished (what is not straightforward in other approahes). With this metho d the parameters are the non-numeri o ordinates of the initial p oints (that are preserved along all subsequent alulations), meanwhile the variables are the o ordinates of the p oint-on-ob jet ob jets de- ned using pointOnObjet ommand. Another advantage of the metho d prop osed in Setion 1 is the p ossibility to develop the geometri algorithm of the onguration using a Dynami Geometry System, and to translate it to a Computer Algebra System syntax (interpreting it using the pakage onsidered here), as already done in 2D [8℄. We plan to implement it in the near future. 4. Conlusions The hypotheses ompletion in 3D-Geometry metho d desrib ed is onvenient and eÆient. It allows the user to obtain automatially the equations in the onguration, the hyp othesis onditions obtained diretly in the onguration and the omplementary hyp othesis onditions that have to b e added for the thesis ondition to hold. Referenes [1℄ D. Cox, J. Little and D. O'Shea, Ideals, Varieties, and Algorithms (Springer, New York, 1991). [2℄ S. C. Chou, Mehanial Geometry Theorem Proving (Reidel, Dordreht, 1988). [3℄ H. Davis, Menelaus and Ceva Theorems and its many appliations, http://hamiltonious.virtualave.negt/ essays/othe/nalpaper4.htm [4℄ M. de Guzman, An Extension of the WallaeSimson Theorem: Pro jeting in Arbitrary Diretions, Mathematial Monthly 106/6 (1999) 574{580. [5℄ D. Kapur and J.L. Mundy, Wu's metho d and its appliation to p ersp etive viewing, in: D. Kapur, J.L. Mundy, eds., Geometri Reasoning (MIT Press, Cambridge MA, 1989) 15{36. [6℄ T. Reio and M. P. Velez, Automati Disovery of Theorems in Elementary Geometry, Journal of Automated Reasoning 23 (1999) 63{82. [7℄ E. Roanes-Maas and E. Roanes-Lozano, Automati determination of geometri lo i, in: J. A. Camb ell and E. Roanes-Lozano, eds., Artiial Intel ligene and Symboli Computation . (Springer's Leture Notes in Artiial Intelligenge no. 1930, Berlin, 2000) 157{173. [8℄ E. Roanes-Lozano, E. Roanes-Maas and M. Villar, A Bridge Between Dynami Geometry and Computer Algebra, Mathematial and Computer Model ling 37/910 (2003) 1005{1028. [9℄ W. T. Wu, Mehanial Theorem Proving in Geometries (Springer-Verlag's Text and Monographs in Symb oli Computation, Wien, 1994).