<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The Full Angle Method on the OpenGeoProver</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Nuno Baeta</string-name>
          <email>nmsb@isec.pt</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pedro Quaresma</string-name>
          <email>pedro@mat.uc.pt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CISUC, University of Coimbra</institution>
          ,
          <addr-line>Coimbra</addr-line>
          ,
          <country country="PT">Portugal</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>ISEC, Polytechnic Institute of Coimbra</institution>
          ,
          <addr-line>Coimbra</addr-line>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Geometry with its formal, logical and spatial properties is well suited to be taught in an environment that includes dynamic geometry software (DGSs), geometry automated theorem provers (GATPs) and repositories of geometric problems (RGPs). With the integration of those tools in a given learning environment the student is able to explore the built-in knowledge, but also to do new constructions, and to test new conjectures. In such an environment the student can visualise geometric objects and link the formal, axiomatic, nature of geometry with its standard models and corresponding illustrations, e.g., Euclidean Geometry and the Cartesian model. With the help of a geometry automated theorem prover it is possible to check the correctness of the constructions, e.g. if two given lines are parallel, and also to make formal proofs of geometric conjectures. Automated theorem proving in geometry has two major lines of research: synthetic proof style and algebraic proof style [1, 13]. Algebraic proof style methods are based on reducing geometric properties to algebraic properties expressed in terms of Cartesian coordinates. These methods are usually very efficient, but the proofs they produce do not reflect the geometrical nature of the problem and they give only yes or no conclusion. Synthetic methods attempt to automate traditional geometry proof methods, producing human-readable proofs but they are inefficient [7]. The area method and the full-angle method are two semi-synthetic methods providing traditional (not coordinate-based), human-readable proofs. The proofs are expressed in terms of higher-level geometric lemmas and expression simplifications. The main idea of the method is to express the hypotheses of a theorem using a set of constructive statements, each of them introducing a new point or a new line, and to express the conclusion by an equality of expressions in some geometric quantities (e.g. the signed area of a triangle), without referring to Cartesian coordinates. The proof is then based on eliminating (in reverse order) the points and/or lines introduced before, using a set of appropriate lemmas for that purpose. After eliminating all introduced elements, the current goal becomes an equality between two expressions in quantities over independent points. If it is trivially true, then the original conjecture was proved valid, if it is trivially false, then the conjecture was proved invalid, otherwise, the conjecture has been neither proved nor disproved [3, 4, 5]. The following simple example briefly illustrates some key features of this type of methods.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>Example 1.1 Two circles o and q meet in two points A and B. A line passing through A meets circles o
and q in C and E. A line passing through B meets circles o and q in D and F. Show that CD k EF.</p>
      <p>This result can be stated and proved, within the full-angle method realm.</p>
      <p>The Construction. The points O and Q, the centres of the circles o and q respectively, are free points,
i.e. they are implicitly universally quantified, points not defined by construction steps. The point A and
B are given by the intersection of the two circles, the lines a and b are two lines containing A and B
respectively and points C to F are the intersections of lines a and b with the circles with centre in O and
Q (see Figure 1).</p>
      <p>
        For this problem, an initial non-degeneracy condition is that the two circles must intersect.
The Conjecture. Proving that CD k EF amounts to prove that the full-angle defined by CD and EF is
the angle 6 [0]. This conjecture could also be expressed within the area method settings but there the four
cases seen in figure 1 should be considered [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        The Proof. Proving the conjecture goes by eliminating all the constructed points and/or lines, in reverse
order, using for that purpose the properties of the geometric quantities, until an equality in only the free
points is reached. If the equality is provable, then the original conjecture is a theorem as well. For
the given example the Java Geometry Expert (JGEX)1 is able to prove this theorem in very few steps,
justifying each of them by lemmas of the full-angle method [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>The Full-Angle Method</title>
      <p>
        While the area method introduces the geometric quantities ratio of parallel directed segments, the signed
area and Pythagoras difference [
        <xref ref-type="bibr" rid="ref3 ref5">3, 5</xref>
        ] the full-angle method introduces the notion of full-angle [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <sec id="sec-2-1">
        <title>1http://www.cs.wichita.edu/˜ye/index.html</title>
        <p>Definition 2.1 (Full-angle) A full-angle consists of an ordered pair of lines l and m and is denoted by
6 [l; m]. Two full-angles 6 [l; m] and 6 [u; v] are equal if there exists a rotation K such that K(l)ku and
K(m)kv.</p>
        <p>
          New constructive statements and several elimination lemmas are introduced to cope with this new
geometric quantity. Its application runs along the same lines as the area method [
          <xref ref-type="bibr" rid="ref2 ref3 ref4">2, 3, 4</xref>
          ].
        </p>
        <p>At the semantic level the full-angle method does not add anything new, because every conjecture
expressed using full-angles can be expressed using geometric quantities of the area method. The real
benefit of the full-angle method is more expressiveness, given the fact that a conjecture could be
expressed using angles and circles.</p>
        <p>The added expressiveness of the full-angle method, allowing it to prove conjectures involving circles
and angles, and the fact that the proofs produced with this method are more alike the way mathematicians
prove geometry theorems and therefore more human-readable and usually shorter are important issues
when we consider the use of GATPs in education. The foreseen integration of the GATP into a DGS is
also a very important issue given the fact that the two programs can complement themselves, allowing a
richer setting for education.</p>
        <p>Consider the following example:
Example 2.1 In triangle ABC, two altitudes AD and BE meet in H. G is the foot of perpendicular from
point H to AB. Show that 6 [DG;GH] = 6 [HG;GE].</p>
        <p>
          Once more, if we do not use full-angles, we must give proofs for both cases of figure 2. Here the
conjecture is expressed as an equality of two full-angles, this cannot be express, at least as it is, with the
area method geometric quantities [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ].
        </p>
        <p>
          Again the Java Geometry Expert is able to prove this theorem in very few steps [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ].
In order to prove that 6 [EG;GH] = 6 [HG;GD] we prove that 6 [HG;GE] + 6 [HG;GD] = 6 [0].
        </p>
        <p>In both cases (examples 1.1 and 2.1) a theorem prover based in the area method is not capable of
proving the conjectures or it will produce very long proofs, e.g. the GCLC2 is unable to prove any of
the two theorems, the first because it exceed the time limit, already with a huge proof record, the second
because it is out of scope of the prover.
2.1</p>
        <p>
          Implementation
The OpenGeoProver3 is an open source project, aiming to implement various geometry automated
theorem provers. It can be used as a stand-alone tool but can also be integrated into other geometry tools, such
as dynamic geometry software, e.g., work is being made to integrate OpenGeoProver with GeoGebra [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
In its current state, OpenGeoProver implements two algebraic methods, the characteristic method, also
known as Wu’s method, and the Gro¨bner basis method, as well as one semi-synthetic method, the area
method.
        </p>
        <p>Concerning the full-angle method implementation in OpenGeoProver, a development branch already
exists. The analysis of the existing code is currently being done, e.g., the parser and the data structure that
holds a constructive geometry statement. The next step will be to change the parser to accept full-angles
and later implement all the needed properties and elimination lemmas.</p>
        <p>Other implementations of the full-angle method exist, but to the best of our knowledge, the only ones
are those by the original authors, namely the one in JGEX, and the one by Wilson and Fleuriot in the
Geometry Explorer [12].
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusions &amp; Future Work</title>
      <p>Geometry with its very strong and appealing visual contents and its also strong and appealing connection
between the visual content and its formal specification, is an area where computational tools can enhance,
in a significant way, the learning environments.</p>
      <p>
        Dynamic geometry software systems significantly help students to acquire knowledge about
geometric objects and, more generally, to acquire mathematical rigour. The geometry automated theorem
provers capable of construction validation and production of human readable proofs, will consolidate
the knowledge acquired with the use of the DGSs. If the GATP produces synthetic proofs, the proof of
a conjecture or the proof of soundness of a construction can be used as an object of study, providing a
logical explanation. We claim that the GATPs can be used in the learning process [
        <xref ref-type="bibr" rid="ref10 ref11 ref6 ref9">6, 9, 10, 11</xref>
        ].
      </p>
      <p>
        The full-angle method implementation within OpenGeoProver’s is part of the Web Geometry
Laboratory (WGL) project, an adaptive and collaborative blended-learning Web-environment, integrating
dynamic geometry systems and geometry automated theorem provers. The implementation of the
collaborative module is already done and it is currently being tested with case-studies inside the classroom
and also outside the classroom. The adaptive module is the next step and the integration of the GATP
in this environment will be made as soon as possible. The need of a GATP, implementing a synthetic
method, capable of short and easy to follow by students proofs, is very important. The integration of the
OpenGeoProver’s full-angle method prover into the Web Geometry Laboratory will allow students to
explore the connection between the visual content and its formal specification, consolidating the geometric
knowledge of the students [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ].
      </p>
      <sec id="sec-3-1">
        <title>2http://poincare.matf.bg.ac.rs/˜janicic/gclc/</title>
        <p>3https://code.google.com/p/open-geo-prover/</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Shang-Ching</surname>
            <given-names>Chou</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Xiao-Shan Gao</surname>
          </string-name>
          (
          <year>2001</year>
          ):
          <source>Automated Reasoning in Geometry. In: Handbook of Automated Reasoning</source>
          , Elsevier and MIT Press, pp.
          <fpage>707</fpage>
          -
          <lpage>749</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Shang-Ching</surname>
            <given-names>Chou</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao-Shan</surname>
            <given-names>Gao</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Jing-Zhong Zhang</surname>
          </string-name>
          (
          <year>1994</year>
          ):
          <source>Machine Proofs in Geometry. Series on Applied Mathematics</source>
          <volume>6</volume>
          ,
          <string-name>
            <given-names>World</given-names>
            <surname>Scientific</surname>
          </string-name>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Shang-Ching</surname>
            <given-names>Chou</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao-Shan</surname>
            <given-names>Gao</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Jing-Zhong Zhang</surname>
          </string-name>
          (
          <year>1996</year>
          )
          <article-title>: Automated Generation of Readable Proofs with Geometric Invariants, I. Multiple and Shortest Proof Generation</article-title>
          .
          <source>Journal of Automated Reasoning</source>
          <volume>17</volume>
          (
          <issue>13</issue>
          ), pp.
          <fpage>325</fpage>
          -
          <lpage>347</lpage>
          , doi:10.1007/BF00283133.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Shang-Ching</surname>
            <given-names>Chou</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao-Shan</surname>
            <given-names>Gao</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Jing-Zhong Zhang</surname>
          </string-name>
          (
          <year>1996</year>
          )
          <article-title>: Automated Generation of Readable Proofs with Geometric Invariants, II. Theorem Proving With Full-Angles</article-title>
          .
          <source>Journal of Automated Reasoning</source>
          <volume>17</volume>
          (
          <issue>13</issue>
          ), pp.
          <fpage>349</fpage>
          -
          <lpage>370</lpage>
          , doi:10.1007/BF00283134.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Predrag</surname>
            <given-names>Janicˇic´</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Julien</surname>
            <given-names>Narboux</given-names>
          </string-name>
          &amp; Pedro
          <string-name>
            <surname>Quaresma</surname>
          </string-name>
          (
          <year>2012</year>
          ):
          <article-title>The Area Method: A Recapitulation</article-title>
          .
          <source>Journal of Automated Reasoning</source>
          <volume>48</volume>
          (
          <issue>4</issue>
          ), pp.
          <fpage>489</fpage>
          -
          <lpage>532</lpage>
          , doi:10.1007/s10817-010-9209-7.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Predrag</surname>
            <given-names>Janicˇic´</given-names>
          </string-name>
          &amp; Pedro
          <string-name>
            <surname>Quaresma</surname>
          </string-name>
          (
          <year>2007</year>
          )
          <article-title>: Automatic Verification of Regular Constructions in Dynamic Geometry Systems</article-title>
          . In Francisco Botana &amp; Toma´s Recio, editors:
          <source>Automated Deduction in Geometry, Lecture Notes in Computer Science 4869</source>
          , Springer, pp.
          <fpage>39</fpage>
          -
          <lpage>51</lpage>
          , doi:10.1007/978-3-
          <fpage>540</fpage>
          -77356-6
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Jianguo</given-names>
            <surname>Jiang</surname>
          </string-name>
          &amp; Jingzhong
          <string-name>
            <surname>Zhang</surname>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>: A review and prospect of readable machine proofs for geometry theorems</article-title>
          .
          <source>Journal of Systems Science and Complexity 25</source>
          , pp.
          <fpage>802</fpage>
          -
          <lpage>820</lpage>
          , doi:10.1007/s11424-012
          <article-title>-2048-3</article-title>
          . Available at http://dx.doi.org/10.1007/s11424-012-2048-3.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Ivan</surname>
            <given-names>Petrovic´</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Predrag</surname>
            <given-names>Janicˇic</given-names>
          </string-name>
          ´ (
          <year>2012</year>
          )
          <article-title>: Integration of OpenGeoProver with GeoGebra</article-title>
          . Available at http: //argo.matf.bg.ac.rs/events/2012/fatpa2012/slides/IvanPetrovic.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Pedro</given-names>
            <surname>Quaresma</surname>
          </string-name>
          &amp; Predrag Janicˇic´ (
          <year>2006</year>
          )
          <article-title>: Integrating Dynamic Geometry Software, Deduction Systems, and Theorem Repositories</article-title>
          . In Jonathan M. Borwein &amp; William M. Farmer, editors:
          <source>Mathematical Knowledge Management, Lecture Notes in Artificial Intelligence 4108</source>
          , Springer, pp.
          <fpage>280</fpage>
          -
          <lpage>294</lpage>
          , doi:10.1007/11812289 22.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Vanda</given-names>
            <surname>Santos</surname>
          </string-name>
          &amp; Pedro
          <string-name>
            <surname>Quaresma</surname>
          </string-name>
          (
          <year>2012</year>
          )
          <article-title>: Integrating DGSs and GATPs in an Adaptative and Collaborative Blended-Learning Web-Environment</article-title>
          .
          <source>In: First Workshop on CTP Components for Educational Software (THedu'11)</source>
          ,
          <source>EPTCS 79</source>
          , pp.
          <fpage>111</fpage>
          -
          <lpage>123</lpage>
          , doi:10.4204/EPTCS.79.7.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>Vanda</given-names>
            <surname>Santos</surname>
          </string-name>
          &amp; Pedro
          <string-name>
            <surname>Quaresma</surname>
          </string-name>
          (
          <year>2013</year>
          )
          <article-title>: Collaborative Aspects of the WGL Project</article-title>
          .
          <source>Electronic Journal of Mathematics &amp; Technology</source>
          . (to appear).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Wen-Tsun Wu</surname>
          </string-name>
          (
          <year>1984</year>
          ):
          <source>Automated Theorem Proving: After 25 Years</source>
          , chapter
          <article-title>On the decision problem and the mechanization of theorem proving in elementary geometry</article-title>
          , pp.
          <fpage>213</fpage>
          -
          <lpage>234</lpage>
          . Contemporary Mathematics 29, American Mathematical Society.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>