Automated Geometry Theorem Proving: Readability vs. Efficiency

Similar documents
Mathematical Visualization Tool GCLC/WinGCLC

ArgoCaLyPso SAT-Inspired Coherent Logic Prover

Automated Generation of Formal and Readable Proofs of Mathematical Theorems ongoing work

The Area Method. A Recapitulation. Journal of Automated Reasoning manuscript No. (will be inserted by the editor)

Automated Proving in Geometry using Gröbner Bases in Isabelle/HOL

Created by T. Madas 2D VECTORS. Created by T. Madas

chapter 1 vector geometry solutions V Consider the parallelogram shown alongside. Which of the following statements are true?

Sample Question Paper Mathematics First Term (SA - I) Class IX. Time: 3 to 3 ½ hours

b UVW is a right-angled triangle, therefore VW is the diameter of the circle. Centre of circle = Midpoint of VW = (8 2) + ( 2 6) = 100

Triangle Congruence and Similarity Review. Show all work for full credit. 5. In the drawing, what is the measure of angle y?

Automatic rewrites of input expressions in complex algebraic geometry provers

( ) = ( ) ( ) = ( ) = + = = = ( ) Therefore: , where t. Note: If we start with the condition BM = tab, we will have BM = ( x + 2, y + 3, z 5)

Mechanical Formula Derivation in Elementary Geometries

Automated Theorem Proving in Incidence Geometry A Bracket Algebra Based Elimination Method

CMA Geometry Unit 1 Introduction Week 2 Notes

Power Round: Geometry Revisited

arxiv: v1 [math.ho] 29 Nov 2017

Collinearity/Concurrence

Mathematics 2260H Geometry I: Euclidean geometry Trent University, Winter 2012 Quiz Solutions

Chapter 5 Vocabulary:

Exercises for Unit I I (Vector algebra and Euclidean geometry)

Pre-Regional Mathematical Olympiad Solution 2017

Keywords: Proof simplification, coherent logic, readable proofs, automated theorem provers, reductio ad absurdum

PROOF SIMPLIFICATION IN THE FRAMEWORK OF COHERENT LOGIC

(b) the equation of the perpendicular bisector of AB. [3]

46th ANNUAL MASSACHUSETTS MATHEMATICS OLYMPIAD. A High School Competition Conducted by. And Sponsored by FIRST-LEVEL EXAMINATION SOLUTIONS

Multi-Level Logic Optimization. Technology Independent. Thanks to R. Rudell, S. Malik, R. Rutenbar. University of California, Berkeley, CA

SOLUTIONS SECTION A [1] = 27(27 15)(27 25)(27 14) = 27(12)(2)(13) = cm. = s(s a)(s b)(s c)

Concurrency and Collinearity

Foundations of Neutral Geometry

right angle an angle whose measure is exactly 90ᴼ

1. Matrices and Determinants

RMT 2013 Geometry Test Solutions February 2, = 51.

Research & Reviews: Journal of Statistics and Mathematical Sciences

Advanced Digital Design with the Verilog HDL, Second Edition Michael D. Ciletti Prentice Hall, Pearson Education, 2011

[BIT Ranchi 1992] (a) 2 (b) 3 (c) 4 (d) 5. (d) None of these. then the direction cosine of AB along y-axis is [MNR 1989]

Visit: ImperialStudy.com For More Study Materials Class IX Chapter 12 Heron s Formula Maths

Nozha Directorate of Education Form : 2 nd Prep. Nozha Language Schools Ismailia Road Branch

Exercises for Unit V (Introduction to non Euclidean geometry)

Vectors Practice [296 marks]

Theorem on altitudes and the Jacobi identity

Pre-REGIONAL MATHEMATICAL OLYMPIAD, 2017

International Mathematical Olympiad. Preliminary Selection Contest 2017 Hong Kong. Outline of Solutions 5. 3*

CAREER POINT. PRMO EXAM-2017 (Paper & Solution) Sum of number should be 21

Definitions, Axioms, Postulates, Propositions, and Theorems from Euclidean and Non-Euclidean Geometries by Marvin Jay Greenberg ( )

RMT 2014 Geometry Test Solutions February 15, 2014

Solutions of APMO 2016

SMT 2018 Geometry Test Solutions February 17, 2018

The Zariski Spectrum of a ring

Additional Mathematics Lines and circles

Advantages and Dangers on Utilizing GeoGebra Automated Reasoning Tools

CHAPTER 3 BOOLEAN ALGEBRA

Two-Column Proofs. Bill Zahner Lori Jordan. Say Thanks to the Authors Click (No sign in required)

2.4 Algebraic and Congruence Properties

Triangles. 3.In the following fig. AB = AC and BD = DC, then ADC = (A) 60 (B) 120 (C) 90 (D) none 4.In the Fig. given below, find Z.

The analysis method for construction problems in the dynamic geometry

MTH 250 Graded Assignment 4

Vectors 1C. 6 k) = =0 = =17

SUMMATIVE ASSESSMENT I, IX / Class IX

Regent College. Maths Department. Core Mathematics 4. Vectors

9 th CBSE Mega Test - II

8. Quadrilaterals. If AC = 21 cm, BC = 29 cm and AB = 30 cm, find the perimeter of the quadrilateral ARPQ.

Geometry - An Olympiad Approach

VAISHALI EDUCATION POINT (QUALITY EDUCATION PROVIDER)

INVERSION IN THE PLANE BERKELEY MATH CIRCLE

Circle and Cyclic Quadrilaterals. MARIUS GHERGU School of Mathematics and Statistics University College Dublin

Mathematics 2260H Geometry I: Euclidean geometry Trent University, Fall 2016 Solutions to the Quizzes

1 Overview. CS348a: Computer Graphics Handout #8 Geometric Modeling Original Handout #8 Stanford University Thursday, 15 October 1992

Chapter 2 Preliminaries

Triangles. Example: In the given figure, S and T are points on PQ and PR respectively of PQR such that ST QR. Determine the length of PR.

Unit 1: Introduction to Proof

Set 2 Paper (a) (i) (ii) (b) The coordinates of R = ( 5, (a) Range = 8 2 (3) (b) New Mean. New variance

CfE Higher Mathematics Course Materials Topic 2: Vectors

SUMMATIVE ASSESSMENT - I (2012) MATHEMATICS CLASS IX. Time allowed : 3 hours Maximum Marks :90

SOLUTIONS SECTION A SECTION B

Chapter 10 Exercise 10.1

TA0DV2S I, 2013 SUMMATIVE ASSESSMENT I, 2013 / MATHEMATICS IX / Class IX

Calgary Math Circles: Triangles, Concurrency and Quadrilaterals 1

Part (1) Second : Trigonometry. Tan

Suggested problems - solutions

Euclidean Geometry Proofs

Selma City Schools Curriculum Pacing Guide Grades Subject: Algebra II Effective Year:

LESSON 2 5 CHAPTER 2 OBJECTIVES

Circles, Mixed Exercise 6

What does without loss of generality mean (and how do we detect it)

Berkeley Math Circle, May

Hanoi Open Mathematical Competition 2017

MATH 532, 736I: MODERN GEOMETRY

7.5 Proportionality Relationships

1. If two angles of a triangle measure 40 and 80, what is the measure of the other angle of the triangle?

CHAPTER 5 KARNAUGH MAPS

Class-IX CBSE Latest Pattern Sample Paper {Mathematics}


Mathematics Revision Guides Vectors Page 1 of 19 Author: Mark Kudlowski M.K. HOME TUITION. Mathematics Revision Guides Level: GCSE Higher Tier VECTORS

Solution Of Class 10 th CBSE SA-II Board (Set-1)Mathematics

Definitions, Axioms, Postulates, Propositions, and Theorems from Euclidean and Non-Euclidean Geometries by Marvin Jay Greenberg

Two applications of the theorem of Carnot

Adding and Scaling Points


Automated Geometric Reasoning with Geometric Algebra: Practice and Theory

Transcription:

Automated Geometry Theorem Proving: Readability vs. Efficiency Predrag Janičić URL: www.matf.bg.ac.rs/ janicic Faculty of Mathematics, University of Belgrade, Serbia CADGME; Convergence on Mathematics Assistants RISC, Castle of Hagenberg, Austria, July 11-13, 2009.

Agenda Brief history of automated theorem proving in geometry Provers and proofs in GCLC Some remedies for readability vs. efficiency issues

Typical Domain Overview Coordinate-free methods Geometrical Theorems of Constructive Type Usually, only Euclidean plane geometry Conjectures that corresponds to properties of constructions Non-degenerate conditions are very important

Typical Domain Overview Coordinate-free methods Automated Theorem Proving in Geometry Around for more than 50 years Early AI-based approaches in 50 s Huge successes made by algebraic theorem provers in 80 s Successes made by semi-algebraic theorem provers in 90 s Synthetic proofs generated by coherent-logic provers in 2000 s

Typical Domain Overview Coordinate-free methods No synthetic geometry proofs, only algebraic justification Premises and goals have the form of equalities Construction steps are converted into a polynomial system h 1 (u 1, u 2,..., u d, x 1,..., x n ) = 0... h t (u 1, u 2,..., u d, x 1,..., x n ) = 0 Check whether for the conjecture it holds that g(u 1, u 2,..., u d, x 1,..., x n ) = 0

Gröbner-bases Method Typical Domain Overview Coordinate-free methods Invented by Buchberger in 1965, widely used algorithm with many applications Gröbner basis (GB) is a particular kind of generating subset of an ideal of a polynomial ring R. Buchberger s algorithm builds GB for the set of premises and then it checks the conjecture, by testing if its remainder with respect to GB is 0

Wu s Method Typical Domain Overview Coordinate-free methods Invented by Wu in 1977 Considered to be one of the four modern great Chinese inventions Similar to Gauss elimination procedure: it performs triangulation of the system, and then reduces the goal polynomial

Coordinate-free Methods Typical Domain Overview Coordinate-free methods Attempt to give traditional (human readable) proofs: Area method (Chou et.al.1992) (semi-algebraic) Angle method (Chou et.al.1990 s) (semi-algebraic)...

Area Method: Geometric Quantities Typical Domain Overview Coordinate-free methods The method deals with the following geometry quantities: ratio of directed segments: PQ AB for collinear points P, Q, A, B signed area: S ABC and S ABCD Pythagoras difference: P ABC = AB 2 + CB 2 AC 2 real number: a constant real number

Typical Domain Overview Coordinate-free methods Area Method: Some Properties Expressed points A and B are identical P ABA = 0 points A, B, C are collinear S ABC = 0 AB is perpendicular to CD P ACD = P BCD AB is parallel to CD S ACD = S BCD O is the midpoint of AB AB has the same length as CD AO = 1 OB P ABA = P CDC

Area Method: Stating a Conjecture Typical Domain Overview Coordinate-free methods Construction steps are reduced to a limited number of specific constructions The conjecture is also expressed as an equality over geometry quantities (over points already introduced) The goal is to prove the conjecture by reducing it to a trivial equality (0=0)

Area Method: Basic Idea Typical Domain Overview Coordinate-free methods For reducing the goal, a range of simplification rules are used Crucially, for each pair quantity-construction step there is one elimination lemma that enable eliminating a relevant point Example: if a point Y was introduced as the intersection of lines UV and PQ, then Y can be eliminated from AY by CD using: { SAPQ AY CD = S CPDQ, if A UV S AUV S CUDV, if A UV

Typical Domain Overview Coordinate-free methods Coherent logic sometimes called geometry logic Only formulae of the following form are considered: x(a 1... A n ) y(b 1... B m )) Explored by Skolem in 1920 s Automated by Kordić and Janičić in 1993 From 2000, given a good theoretical ground and promoted by Marc Bezem and his coauthors

Typical Domain Overview Coordinate-free methods It is suitable for automation, by simple forward chaining Produces fully readable, traditional, synthetic geometry proofs In a sense, it is an alternative to the resolution method (admits existential quantification) The goal to be proved is not transformed, so the link between automated and interactive proving is preserved Many theories can be expressed within coherent logic

GCLC/WinGCLC Developed since 1996. Originally, a tool for producing geometrical illustrations in L A TEX, today much more than that Freely available from http://www.matf.bg.ac.rs/~janicic/gclc Used in: producing digital mathematical illustrations mathematical education storing mathematical contents studies of automated geometrical reasoning

Brief History of Automated Theorem Proving in Geometry Screenshot of WinGCLC Predrag Janic ic URL: www.matf.bg.ac.rs/ janicic Faculty of Mathematics, AutomatedUniversity GeometryofTheorem Belgrade, Proving: Serbia Readability vs. Efficien

Theorem Provers Built-into GCLC There are three theorem provers built-into GCLC: a theorem prover based on Wu s method a theorem prover based on Buchberger s method a theorem prover based on the area method All of them are very efficient and can prove many non-trivial theorems in only milliseconds The provers are tightly built-in: the user has just to state the conjecture after the description of a construction, for example: prove { identical O 1 O 2 }

Example: Ceva s Theorem A F E P B D C Conjecture: AF FB BD DC CE EA = 1 Outputs by the three provers...

New Coherent-logic Based Prover (Current Work) New, generic theorem prover, implemented in C++ Being developed with geometry in mind To be built into GCLC Exports formal, machine verifiable, proofs to proof assistants Isabelle and Coq More suitable for low level conjectures (based directly on axioms), rather than high-level conjectures (about constructions)

Example (generated by the prover from 1990 s) Conjecture: if two lines a and b both contain two distinct points A and B, then a and b are identical. Proof: Since both a and b contain A, they intersect. By Axiom 1.3, since a and b contain two different points (A and B), they are identical. The theorem was proved (time: 0.00s) Nice, but it couldn t prove there is a point between two distinct points

Currently Typical Pattern Algebraic Semi-algebraic Synthetic Efficient Readable

Using Lemmas: Example Using Lemmas in Algebraic Theorem Provers (Current Work) Using Modern AR Techniques in Coherent-Logic-based Provers (F If the bisectors of angles DC A and DA C intersect in X, and the bisectors of BC A and BA C intersect in Y, then D, X, Y, are B collinear D C C X C A A Use the fact that all three angle bisector intersect in one point A Y B

Using Lemmas in Algebraic Theorem Provers (Current Work) Using Modern AR Techniques in Coherent-Logic-based Provers (F Using Lemmas: Basic Idea Detect all lemmas (from a database) that apply Reduce the goal polynomial w.r.t. lemmas goals Prove the new goal The proof will still be algebraic, but it would point to relevant facts used, which can be very helpful

Using Lemmas in Algebraic Theorem Provers (Current Work) Using Modern AR Techniques in Coherent-Logic-based Provers (F Improving Coherent Provers: Basic Ideas Coherent-logic-based provers use simple forward chaining and not much guiding They do not try to detect irrelevant facts and to use such knowledge in further search Use techniques from other automated reasoning tasks (e.g., backjumping from SAT solving) that do such things Another idea: use lemmas

Automated reasoning in geometry is around for a half of a century, but there are still no provers that are efficient and produce traditional, readable proofs The most efficient theorem provers produce least readable proofs Efficient, algebraic provers can use lemmas and point to relevant facts used There is a room for improving efficiency of synthetic provers It is still to be explored how different proving methods can benefit from each other