# First-Order Axiom Systems Ed and Eda Extending Tarski's E2 with Distance and Angle Function Symbols for Quantitative Euclidean Geometry

Hongyu Guo

► To cite this version:

Hongyu Guo. First-Order Axiom Systems Ed and Eda Extending Tarski's E2 with Distance and Angle Function Symbols for Quantitative Euclidean Geometry. Mathematics, 2025, 13 (21), pp.3462. 10.3390/math13213462. hal-05363640

HAL Id: hal-05363640

https://hal.science/hal-05363640v1

Submitted on 13 Nov 2025

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
Article

# First-Order Axiom Systems $\mathcal{E}_d$ and $\mathcal{E}_{da}$ Extending Tarski's $\mathcal{E}_2$ with Distance and Angle Function Symbols for Quantitative Euclidean Geometry

Hongyu Guo

Department of Computer and Information Sciences, Texas A&M University–Victoria, Victoria, TX 77901, USA;
guoh@tamuv.edu

## Abstract

Tarski's first-order axiom system $\mathcal{E}_2$ for Euclidean geometry is notable for its completeness and decidability. However, the Pythagorean theorem—either in its modern algebraic form $a^2 + b^2 = c^2$ or in Euclid's *Elements*—cannot be directly expressed in $\mathcal{E}_2$, since neither distance nor area is a primitive notion in the language of $\mathcal{E}_2$. In this paper, we introduce an alternative axiom system $\mathcal{E}_d$ in a two-sorted language, which takes a two-place distance function $d$ as the only geometric primitive. We also present a conservative extension $\mathcal{E}_{da}$ of it, which also incorporates a three-place angle function $a$, both formulated strictly within first-order logic. The system $\mathcal{E}_d$ has two distinctive features: it is simple (with a single geometric primitive) and it is quantitative. Numerical distance can be directly expressed in this language. The *Axiom of Similarity* plays a central role in $\mathcal{E}_d$, effectively killing two birds with one stone: it provides a rigorous foundation for the theory of proportion and similarity, and it implies *Euclid's Parallel Postulate* (EPP). The Axiom of Similarity can be viewed as a quantitative formulation of EPP. The Pythagorean theorem and other quantitative results from similarity theory can be directly expressed in the languages of $\mathcal{E}_d$ and $\mathcal{E}_{da}$, motivating the name *Quantitative Euclidean Geometry*. The traditional analytic geometry can be united under synthetic geometry in $\mathcal{E}_d$. Namely, analytic geometry is not treated as a model of $\mathcal{E}_d$, but rather, its statements can be expressed as first-order formal sentences in the language of $\mathcal{E}_d$. The system $\mathcal{E}_d$ is shown to be consistent, complete, and decidable. Finally, we extend the theories to hyperbolic geometry and Euclidean geometry in higher dimensions.

**Keywords:** quantitative Euclidean geometry; hyperbolic geometry; distance function; angle function; axiom of similarity; Tarski's axioms; real closed fields; completeness; decidability

**MSC:** 03B30; 03C35; 51M05; 51M10

## Contents

1. Introduction

2. Theory $\mathcal{E}_d$—Quantitative Euclidean Geometry with a Single Geometric Primitive Notion—Distance Function $d$

3. Analytic Geometry United under Synthetic Geometry in $\mathcal{E}_d$

4. Theory $\mathcal{E}_{da}$—A Conservative Extension of $\mathcal{E}_d$ with Angle Function $a$

5. Consistency of $\mathcal{E}_d$ and $\mathcal{E}_{da}$

6. Theory $\mathcal{E}_d$ and Tarski's $\mathcal{E}_2$ Are Mutually Interpretable with Parameters

7. Completeness and Decidability of $\mathcal{E}_d$

8. Theory $\mathcal{H}_{da}$—Quantitative Hyperbolic Geometry

9. Theories $\mathcal{E}_d^n$ and $\mathcal{E}_{da}^n$—Quantitative Euclidean Geometry in Higher Dimensions

<figure><img src="image_2.png" /></figure>

check for
updates

Academic Editor: Adara M. Blaga

Received: 18 July 2025

Revised: 25 September 2025

Accepted: 25 September 2025

Published: 30 October 2025

**Citation:** Guo, H. First-Order Axiom Systems $\mathcal{E}_d$ and $\mathcal{E}_{da}$ Extending Tarski's $\mathcal{E}_2$ with Distance and Angle Function Symbols for Quantitative Euclidean Geometry. *Mathematics* **2025**, 13, 3462.
https://doi.org/10.3390/math13213462

**Copyright:** © 2025 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license
(https://creativecommons.org/
licenses/by/4.0/).
Appendix A. Axioms of Real Closed Fields (RCF)

Appendix B. Tarski's Axioms of Plane Euclidean Geometry $\mathscr{E}_2$

Appendix C. SMSG Axioms of Euclidean Geometry

Appendix D. The Convoluted Statement of the Pythagorean Theorem in Tarski's $\mathscr{E}_2$

# 1. Introduction

For more than two thousand years, Euclid's *Elements* [1] stood as a standard of logical rigor. In the late nineteenth century, however, its shortcomings were exposed, prompting efforts to rebuild Euclidean geometry on firmer foundations. Two milestones were Hilbert's *Grundlagen der Geometrie* (1899) [2] and the axiom system $\mathscr{E}_2$ developed by Tarski and his students [3–5]. Hilbert used natural language, while Tarski introduced a first-order formal system "which can be formulated and established without the help of any set-theoretical devices" [3] (p. 16).

Tarski's $\mathscr{E}_2$ is formulated in a 1-sorted language: the only primitive objects are points. There are two primitive predicate symbols—a 3-place predicate symbol *B* for betweenness, and a 4-place predicate symbol *D* for segment congruence—with *B(pvq)* meaning that **v** lies between **p** and **q**, and *D(pquv)* meaning segment **pq** (as a pair of end points) is congruent to segment **uv**. This system has 11 axioms [4,5] (including one axiom schema), which are listed in Appendix B. Tarski established that $\mathscr{E}_2$ is complete and decidable.

What part of the content in the *Elements* is not formalized in $\mathscr{E}_2$? Notably, $\mathscr{E}_2$ contains no notion of area—not even for polygons. In modern mathematics, area is a set function assigning a real number to every measurable set. Even when restricted to polygons, it still requires set-theoretic machinery, which Tarski deliberately avoided in $\mathscr{E}_2$.

The area function of polygons could be discussed in second-order logic, or in first-order logic with two sorts—one sort for points and the other for finite sets of points. The latter approach was discussed by Tarski in his 1959 paper [3], with a sketch of a system $\mathscr{E}'_2$ as a possible extension of $\mathscr{E}_2$:

> "The theory $\mathscr{E}'_2$ is obtained by supplementing the logical base of $\mathscr{E}_2$ with a small fragment of set theory. Specifically, we include in the symbolism of $\mathscr{E}'_2$ new variables $X, Y, ...$ assumed to range over arbitrary finite sets of points (or, what in this case amounts essentially to the same, over arbitrary finite sequences of points); we also include a new logical constant, the membership symbol $\in$, to denote the membership relation between points and finite point sets. ... In consequence the theory of $\mathscr{E}'_2$ considerably exceeds $\mathscr{E}_2$ in means of expression and power. In $\mathscr{E}'_2$ we can formulate and study various notions which are traditionally discussed in textbooks of elementary geometry but which cannot be expressed in $\mathscr{E}_2$; e.g., the notions of a polygon with arbitrarily many vertices, and of the circumference and the area of a circle.

> As regards metamathematical problems which have been discussed and solved for $\mathscr{E}_2$ in Theorems 1–4, three of them—the problems of representation, completeness, and finite axiomatizability—are still open when referred to $\mathscr{E}'_2$. In particular, we do not know any simple characterization of all models of $\mathscr{E}'_2$, nor, do we know whether any two such models are equivalent with respect to all sentences formulated in $\mathscr{E}'_2$."

Tarski did, however, resolve the decision problem for $\mathscr{E}'_2$ in his Theorem 5 [3]:

> Theorem 5. The theory $\mathscr{E}'_2$ is undecidable, and so are all of its consistent extensions.

This follows from the fact that Peano arithmetic (PA) is (relatively) interpretable in $\mathscr{E}'_2$.
Note that in the same paper [3], Tarski discussed several axiom systems, which he denoted $\mathcal{E}_2$, $\mathcal{E}'_2$, $\mathcal{E}''_2$, and $\mathcal{E}'''_2$, but with his primary focus on $\mathcal{E}_2$. Each of these, in his own words, qualifies as a feasible interpretation of "elementary geometry", and the problem of deciding which is the unique one "seems to be rather hopeless and deprived of broader interest". For clarity, we retain Tarski's original symbols when referring to these systems, since terms such as "Tarski's geometry" or "elementary geometry" are ambiguous. Accordingly, claims like "Euclidean geometry is complete and decidable" or "elementary Euclidean geometry is complete and decidable" are inaccurate, as the systems $\mathcal{E}'_2$, $\mathcal{E}''_2$, and $\mathcal{E}'''_2$ provide immediate counterexamples.

Having considered the role of area, we now turn to the theory of proportion and similarity, which deals with quantitative relations such as segment lengths. This is the focus of the present paper, which we refer to as *Quantitative Euclidean Geometry*. In informal treatments of geometry, it is usually taken for granted that every line segment has a length, which is a real number. The Pythagorean theorem provides a good example to illustrate this point. In its modern form, the theorem asserts

$$ \overline{ab}^2 + \overline{ac}^2 = \overline{bc}^2 \qquad (1) $$

for a right triangle, where the bars denote numerical segment lengths. Ancient civilizations also knew this relation. The Egyptians reportedly used a knotted rope to form a 3-4-5 right triangle. In China, it appeared as the *gou-gu* theorem (or Gougu theorem). *Gou* and *gu* refer to the shorter and longer legs of a right triangle respectively, since *gu* means "thigh" in Classical Chinese. Euclid, however, expressed the theorem differently. In what follows, we examine the possible approaches to the Pythagorean theorem: what has been done, what can be done differently, and what cannot be done within first-order logic and without any appeal to set theory.

## (1) The Area Approach by Euclid

The Pythagorean theorem in the *Elements* is stated as follows [1]:

Proposition I.47 In right-angled triangles the square on the side subtending the right angle is equal to the squares on the sides containing the right angle (Figure 1).

<figure><img src="image_3.png" /><figcaption>**Figure 1.** Euclid: the Pythagorean theorem—The notion of area is used to state the theorem.</figcaption></figure>

For Euclid, the square on **ab** meant a geometric figure (a rectangle of equal sides), not the numerical product of a length and itself.
What, then, did he mean by saying that one square is equal to two other squares?
Euclid did not provide an explicit definition, yet one can infer it from his proof:

**Theorem.** (Pythagoras-Euclid I.47) In a right triangle, the square on the hypotenuse can be dissected into *n* triangles, and the union of the two squares on the legs can also be dissected into *n* triangles with the resulting triangles congruent in pairs.

This formulation cannot be expressed in Tarski's language $L(\mathscr{E}_2)$, because $\mathscr{E}_2$ does not contain a notion of area.

Hilbert developed a theory of area of polygons. His language is informal, and he uses
the concept of set freely. Hilbert defines two predicates: *equidecomposable* and *equicomplementable*. Consider his definition of "equicomposable":

Definition. Two polygons are called *equidecomposable* if they can be decomposed into a *finite number* of triangles that are congruent in pairs.

In Hilbert's terms, what Euclid proved in his I.47 is actually: In a right triangle, the square on the hypotenuse is equidecomposable with the union of the two squares on the legs. However, "a finitely number" refers to a natural number, which is not in the language of $\mathscr{E}_2$. The set of natural numbers ($\mathbb{N}$) is not definable in $\mathscr{E}_2$ or in real closed fields (RCF). This helps explain why both $\mathscr{E}_2$ and RCF are complete and decidable, while the first-order Peano arithmetic of natural numbers is not.

While Hilbert's theory of area is non-numerical, dealing with equidecomposable and equicomplementable relations only, we may have a theory of area in the numerical form (see Hartshorne [6]). However, an area function that assigns a number to each polygon is a *set function*, which cannot be part of a first-order language similar to $L(\mathscr{E}_2)$. Consider, for example, a theorem in Hartshorne [6] (p. 206):

**Theorem 23.2** In a Hilbert plane with (P), there is an area function $\alpha$, with values in the additive group of the field of segment arithmetic $F$, that satisfies and is uniquely determined by the following additional condition: For any triangle $ABC$, whenever we choose one side $AB$ to be the base and let it have length $b \in F$, and let $h$ be the length of an altitude perpendicular to the base, then $\alpha(ABC) = \frac{1}{2}bh$.

A formal first-order language prohibits quantification of functions (such as "there exists a function"), not to mention that the area function $\alpha$ is a higher-order function, meaning its domain is a set of sets.

Thus, the area approach is not viable for us: like Tarski, our aim is to avoid the use of set theory and remain within a first-order framework.

(As a side note, Hartshorne defines a Hilbert plane as one that satisfies Hilbert's first three groups of axioms, and by (P) he means the axiom of parallels. Thus, this is simply a plane satisfying Hilbert's first four groups of axioms, but without the axioms of continuity.)

(2) The "Segment Arithmetic" Approach by Hilbert and SST

Here and in what follows, we abbreviate Schwabhäuser, Szmielew, and Tarski [5] as
"SST".

The Pythagorean theorem can also be formulated as the length relationship in Equation (1), and proved using similar triangles. But how do Euclid, Hilbert, and Tarski treat the foundations of proportion and similarity?

The theory of similarity is based on the theorem of Thales, also known as the *Fundamental Theorem of Proportion* or the *Fundamental Theorem of Similarity*. This is Proposition VI.2 in the *Elements*:
**Proposition VI.2** If a straight line be drawn parallel to one of the sides of a triangle, it will cut the sides of the triangle proportionally; and, if the sides of the triangle be cut proportionally, the line joining the points of section will be parallel to the remaining side of the triangle (Figure 2).

<figure><img src="image_4.png" /><figcaption>**Figure 2.** Euclid: Fundamental Theorem of Proportion—The notion of area is not used to state the theorem but used in the proof.</figcaption></figure>

Euclid used the theory of area to prove this Fundamental Theorem of Proportion. He argued that $\triangle b'bcb'$ and $\triangle c'cb'c$ have “equal-area” because they lie on the same base $b'c'$ and are contained between the same parallels $b'c'$ and $bc$. If we use $A(b'bcb')$ to denote the area of $\triangle b'bcb'$, this can be written as $A(b'bcb') = A(c'cb')$. Consider $\triangle ab'b'c'$ and $\triangle bb'c'c$. Their bases $ab'$ and $bb'$ are on the same line, and they have the same altitude. Therefore, $A(ab'c')/A(b'bcb') = \overline{ab}'/\overline{b'b}$. Similarly, if we consider $\triangle ab'b'c'$ and $\triangle c'cb'c$, we can conclude $A(ab'c')/A(c'cb') = \overline{ac}'/\overline{c'c}$. Therefore, $\overline{ab}'/\overline{b'b} = \overline{ac}'/\overline{c'c}$. Note that we have used modern notation above. Euclid never used the word “area” explicitly.

Here, in this Fundamental Theorem of Proportion, the notion of area is not needed to state the theorem, but Euclid used the theory of area to prove it. Since Tarski's $\mathcal{S}_2$ lacks the notion of area, this proof cannot be carried over to $\mathcal{S}_2$.

If the segments $ab'$ and $b'b$ are commensurable, there exists an *elementary proof* of this theorem that does not rely on area. However, if $ab'$ and $b'b$ are incommensurable, a limiting process must be invoked; in effect, this limiting method is equivalent to an argument based on area.

Descartes and later Hilbert employed a solution by redefining the multiplication of segments. Consider a right triangle, as shown in Figure 3. They choose the segment **01** as a unit. Suppose **a** and **b** are two points on these orthogonal lines. Draw the line through **a** and **1**, and then draw the line **bc** parallel to **1a**, intersecting **0a** at **c**. The segment **0c** is then *defined to be* the product of **0a** and **0b**.

<figure><img src="image_5.png" /><figcaption>**Figure 3.** Descartes and Hilbert: The definition of the product of two segments is a third segment.</figcaption></figure>

As Edwin Hewitt once remarked, "Old theorems never die; they turn into definitions." Indeed, here the theorem of Thales is turned into the definition of the multiplication of segments. It is important to examine definitions carefully in mathematics. There are cases in mathematical treatments where definitions are made convoluted in order to make the theorems appear simple.

SST [5] carried this further, recasting the segment arithmetic within $\mathcal{S}_2$. They defined addition and multiplication directly on a coordinate line: the “geometric sum” and
"geometric product" of two points yield another point on the same line, via projection
constructions (see these definitions in Section 6).

The Pythagorean theorem in the form of $\overline{ab}^2 + \overline{ac}^2 = \overline{bc}^2$ appears as Theorem 15.8 in SST [5], but this is a highly abbreviated formula with the definitions of geometric product and geometric sum. The complexity of this formula is hidden in the abbreviations (or definitions). When these abbreviations are fully expanded (see Appendix D) using the definition of the geometric product, the theorem becomes a convoluted statement about constructed line segments. Each square is interpreted as a line segment. To Euclid, a segment multiplied by a segment yields a rectangular shape, while to Hilbert and SST, a segment multiplied by a segment yields another segment. So, in SST [5], the meaning of $\overline{ab}^2 + \overline{ac}^2 = \overline{bc}^2$ is that two line segments add up to a third segment (see Appendix D).

In summary, we have examined two approaches to the Pythagorean theorem:

(i) Interpreting $(\mathbf{a}\mathbf{b})^2$ as (the area of) the shape of a square, as Euclid did. We have concluded that this is not a feasible direction for us to proceed.

(ii) Interpreting $(\mathbf{a}\mathbf{b})^2$ as (the equivalence class of) a line segment, constructed using parallel projections, which is indirect and cumbersome.

Besides these two, a third possible approach is the following:

(3) **The Numerical Approach by Interpreting (ab)² as the product of a number ab and itself**

This is the direction we shall pursue in the present paper.

George Birkhoff [7] proposed a system with four postulates, incorporating the notions of numerical measures of lengths and angles. However, it is not a formal system: it freely uses sets, real numbers, and (1,1) correspondences between sets. For example, he postulates the "(1,1) correspondence between the points on a line and the real numbers x" to introduce the distance measure, and the "(1,1) correspondence between half-lines and the real numbers a (mod 2π)" to introduce the angle measure.

In 1961, the School Mathematics Study Group (SMSG) developed an axiom system [8] (see Appendix C) intended for American high school geometry courses. Like Birkhoff's approach, it employs real numbers to measure distances and angles but similarly lacks a formal language framework. While it designates point, line, and plane as undefined terms, this appears to refer only to primitive objects—the system does not explicitly declare undefined predicates or functions. A review of the SMSG axioms reveals that the system implicitly treats the distance function, angle function, area function, and volume function as undefined. Terms such as lie on, lie in, real number, set, contain, as well as correspondence, intersection, and union of sets, are used in the axioms but are not defined. The SMSG axiom list was made large and redundant, and the lack of independence of the axioms was intentional for pedagogical reasons.

The goal of the present paper is to incorporate numerical measures of distances and angles as function symbols into a first-order theory of Euclidean geometry, while avoiding set theory and retaining simplicity. Function symbols are admissible as primitives in first-order logic, since they are special cases of predicates.

We will show that the Axiom of Similarity plays a central role, effectively killing two
birds with one stone: it provides the foundation for the theory of proportion and similarity,
and it renders Euclid's Parallel Postulate (EPP) as a theorem. The Axiom of Similarity
can be viewed as a quantitative formulation of EPP. The Pythagorean theorem and other
quantitative results from similarity theory can then be expressed directly in the first-order
languages of $\mathcal{E}_d$ and $\mathcal{E}_{da}$.
## 2. Theory $\mathcal{E}_d$—Quantitative Euclidean Geometry with a Single Geometric Primitive Notion—Distance Function $d$

### Undefined Primitive Notions

The system $\mathcal{E}_d$ is formulated in a first-order formal language

$$L(\mathcal{E}_d) = L(d; =, +, \cdot, <, 0, 1).$$

$L(\mathcal{E}_d)$ is a 2-sorted language: one sort for points, and the other for numbers. We shall use standard lowercase letters such as $x, y$ for numbers, and boldface lowercase letters such as $\mathbf{a}, \mathbf{b}$ for points.

The only geometric primitive notion is a 2-place function symbol $d$, with $d(\mathbf{ab})$ denoting the distance between two points $\mathbf{a}$ and $\mathbf{b}$, which is a number.

The symbol $=$ is overloaded for convenience: it denotes either the equality of two numbers or the identity of two points, depending on the context.

The symbols $+$ and $\cdot$ are 2-place function symbols for numbers, denoting addition and multiplication. The symbol $<$ is a 2-place predicate symbol for numbers, with $x < y$ denoting that $x$ is less than $y$.

The symbols $0$ and $1$ are constant symbols for numbers.

### $\mathcal{E}_d$—The Theory of Plane Quantitative Euclidean Geometry with Distance Function in the Language $L(d; =, +, \cdot, <, 0, 1)$

We list the axioms of $\mathcal{E}_d$ in the following.

#### Axioms RCF1 through RCF17 (for real closed fields, see Appendix A)

RCF1 through RCF17 are the axioms for real closed fields, governing the predicate and function symbols $=, +, \cdot, <$ for numbers. This is the first-order formulation of real numbers. As real closed fields are well studied, this is not the focus of the present paper.

Axioms D1 through D7 in the following are geometric axioms, in which all variables range over points, except for $x$ in D4, which ranges over numbers.

#### Axiom D1. Axiom of Nonnegativeness

$$\forall \mathbf{a} \forall \mathbf{b} \ 0 \le d(\mathbf{ab}).$$

#### Axiom D2. Axiom of Identity

$$\forall \mathbf{a} \forall \mathbf{b} \ d(\mathbf{ab}) = 0 \leftrightarrow \mathbf{a} = \mathbf{b}.$$

#### Axiom D3. Axiom of Symmetry

$$\forall \mathbf{a} \forall \mathbf{b} \ d(\mathbf{ab}) = d(\mathbf{ba}).$$

Axioms D1, D2, and D3 are the first three axioms of a metric space. A metric space also includes one more axiom—the triangle inequality. We do not need it as an axiom, as we will prove it in Theorem 8.

#### Axiom D4. Axiom of segment extension

$$\forall \mathbf{a} \forall \mathbf{b} \forall x \ 0 \le x \to [\exists \mathbf{c} \ d(\mathbf{ac}) = d(\mathbf{ab}) + d(\mathbf{bc}) \land d(\mathbf{bc}) = x],$$

where $\mathbf{a}, \mathbf{b}, \mathbf{c}$ are points and $x$ is a number.
**Axiom D5.** Axiom of Similarity

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{b}' \forall \mathbf{c}' $$

$$ [d(\mathbf{ab}) = d(\mathbf{ab}') + d(\mathbf{b}'\mathbf{b}) \land d(\mathbf{ac}) = d(\mathbf{ac}') + d(\mathbf{c}'\mathbf{c}) \land d(\mathbf{ab}') \cdot d(\mathbf{ac}) = d(\mathbf{ac}') \cdot d(\mathbf{ab})] \\ \rightarrow d(\mathbf{ab}') \cdot d(\mathbf{bc}) = d(\mathbf{b}'\mathbf{c}') \cdot d(\mathbf{ab}). $$

<figure><img src="image_6.png" /><figcaption>**Figure 4.** Axiom of similarity.</figcaption></figure>

Informal explanation in plain English:

In △**abc**, suppose **b'c'** cuts **ab** and **ac** at **b'** and **c'** respectively. If there is a number **k** such that $d(\mathbf{ab}) = k \cdot d(\mathbf{ab}')$ and $d(\mathbf{ac}) = k \cdot d(\mathbf{ac}')$, then

$$ d(\mathbf{bc}) = k \cdot d(\mathbf{b'c'}). $$

Axiom D5 is expressed in the form of multiplications rather than ratios, because we do not need to use an extra variable **k**. In addition, an equation of products is more general than an equation of ratios, as we do not need to worry about division by zero.

**Axiom D6.** Axiom of Dimension Lower Bound (at least 2)

$$ \exists \mathbf{p}_0 \exists \mathbf{p}_1 \exists \mathbf{p}_2 \ d(\mathbf{p}_0 \mathbf{p}_1) \neq 0 \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_0 \mathbf{p}_2) \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_1 \mathbf{p}_2). $$

<figure><img src="image_7.png" /><figcaption>**Figure 5.** The dimension is at least 2.</figcaption></figure>

**Axiom D7.** Axiom of Dimension Upper Bound (at most 2)

$$ \forall \mathbf{p}_0 \forall \mathbf{p}_1 \forall \mathbf{p}_2 \forall \mathbf{p}_3 $$

$$ [d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_0 \mathbf{p}_2) \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_0 \mathbf{p}_3) \\ \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_1 \mathbf{p}_2) \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_1 \mathbf{p}_3) \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_2 \mathbf{p}_3)] \\ \rightarrow d(\mathbf{p}_0 \mathbf{p}_1) = 0. $$

<figure><img src="image_8.png" /><figcaption>**Figure 6.** The dimension is at most 2.</figcaption></figure>
This concludes the list of axioms for $\mathcal{E}_d$. Note that Tarski's $\mathcal{E}_2$ includes T11-axiom schema of continuity (see Appendix B). We do not require it here, since RCF17 together with D4 implies T11.

A remark on the dimension axioms:

Axiom D6 can be replaced by a weaker form:

**Axiom D6'.** Axiom of Dimension Lower Bound (at least 2)

$$ \exists \mathbf{p}_0 \exists \mathbf{p}_1 \exists \mathbf{p}_2 \\ d(\mathbf{p}_0 \mathbf{p}_1) < d(\mathbf{p}_1 \mathbf{p}_2) + d(\mathbf{p}_2 \mathbf{p}_0) \\ \wedge d(\mathbf{p}_1 \mathbf{p}_2) < d(\mathbf{p}_2 \mathbf{p}_0) + d(\mathbf{p}_0 \mathbf{p}_1) \\ \wedge d(\mathbf{p}_2 \mathbf{p}_0) < d(\mathbf{p}_0 \mathbf{p}_1) + d(\mathbf{p}_1 \mathbf{p}_2). $$

This asserts that there exist three non-collinear points. When considered in isolation, D6 is strictly stronger than D6', because D6 implies D6' but not vice versa. However, in the presence of the rest of the axioms, they are equivalent, since D6' also implies D6. In general, using an axiom that is too weak may leave certain true statements unprovable, while using one that is too strong may make it no longer independent of other axioms. D6 is independent in the system, because there exists a model of 1-dimensional geometry where D6 fails while all other axioms remain true. When standing alone, the negation of D6 does not imply that the dimension is one. However, the negation of D6 together with the rest of the axioms does imply that the dimension is one. We prefer D6 because it is simpler to state (using primitives only without definitions or abbreviations) and it generalizes more easily to higher dimensions (Section 9). Basically, it is aligned with the affine-independence approach to dimension but stated in metric terms: there exists a nondegenerate 2-dimensional (regular) simplex, but there does not exist a nondegenerate 3-dimensional (regular) simplex. This can be easily generalized to $n$-dimensional geometry: there exists a nondegenerate $n$-dimensional (regular) simplex, but there does not exist a nondegenerate $(n+1)$-dimensional (regular) simplex.

**Definition 1.** (Between)

We shall use $B(\mathbf{abc})$ as the abbreviation for the following:

$$ B(\mathbf{abc}) \\ := d(\mathbf{ac}) = d(\mathbf{ab}) + d(\mathbf{bc}) $$

Note that the betweenness defined here is non-strict, meaning $B(\mathbf{acb})$ holds if $\mathbf{b} = \mathbf{a}$ or $\mathbf{b} = \mathbf{c}$. To compare, Tarski used non-strict betweenness, while Hilbert used strict betweenness.

**Definition 2.** (Collinear)

We shall use $L(\mathbf{abc})$ as the abbreviation for the following:

$$ L(\mathbf{abc}) \\ := B(\mathbf{abc}) \lor B(\mathbf{bca}) \lor B(\mathbf{cab}) $$

Informally, $L(\mathbf{abc})$ means that the points $\mathbf{a}, \mathbf{b}, \mathbf{c}$ are collinear.
**Definition 3.** (Triangle congruence by SSS)

We shall use $\triangle \mathbf{abc} \equiv \triangle \mathbf{a'b'c'}$ as the abbreviation for the following:

$$ \triangle \mathbf{abc} \equiv \triangle \mathbf{a'b'c'} \\ := d(\mathbf{ab}) = d(\mathbf{a'b'}) \land d(\mathbf{bc}) = d(\mathbf{b'c'}) \land d(\mathbf{ca}) = d(\mathbf{c'a'}) $$

Informally, $\triangle \mathbf{abc}$ is said to be congruent to $\triangle \mathbf{a'b'c'}$ if all three pairs of corresponding sides are congruent.

**Definition 4.** (Triangle similarity by SSS)

We shall use $\triangle \mathbf{abc} \sim \triangle \mathbf{a'b'c'}$ as the abbreviation for the following:

$$ \triangle \mathbf{abc} \sim \triangle \mathbf{a'b'c'} \\ := \exists k \ k \neq 0 \land d(\mathbf{ab}) = k \cdot d(\mathbf{a'b'}) \land d(\mathbf{bc}) = k \cdot d(\mathbf{b'c'}) \land d(\mathbf{ca}) = k \cdot d(\mathbf{c'a'}) $$

Informally, $\triangle \mathbf{abc}$ is said to be similar to $\triangle \mathbf{a'b'c'}$ if their three corresponding sides are in proportion. Clearly, triangle congruence is a special case of triangle similarity where $k = 1$.

Traditionally, two triangles are defined to be congruent if all their corresponding sides are congruent and all their corresponding angles are congruent. Two triangles are defined to be similar, if all their corresponding sides are in proportion and all their corresponding angles are congruent. However, it is easy to realize that the conditions on the angles are redundant in these definitions, because the side conditions alone imply that the corresponding angles are congruent—a fact that will be proved as theorems. Therefore, Definitions 3 and 4 differ from the traditional definitions of triangle congruence and triangle similarity found in most textbooks.

**Definition 5.** (Angle congruence by docking congruent triangles)

We shall use $\angle \mathbf{pvq} \equiv \angle \mathbf{p'v'q'}$ as the abbreviation for the following:

$$ \angle \mathbf{pvq} \equiv \angle \mathbf{p'v'q'} \\ := \exists \mathbf{p''} \exists \mathbf{q''} \ \triangle \mathbf{p''v'q''} \equiv \triangle \mathbf{pvq} \land [\mathbf{B}(\mathbf{v'p''p'}) \lor \mathbf{B}(\mathbf{v'p'p''})] \land [\mathbf{B}(\mathbf{v'q''q'}) \lor \mathbf{B}(\mathbf{v'q'q''})] $$

<figure><img src="image_9.png" /><figcaption>Figure 7. Congruence of angles.</figcaption></figure>

Informally, angle $\angle \mathbf{pvq}$ is congruent to angle $\angle \mathbf{p'v'q'}$, if triangle $\triangle \mathbf{pvq}$ can be "docked" into triangle $\triangle \mathbf{p'v'q'}$ at the vertex $\mathbf{v}$. By "docked", we mean there exists a triangle $\triangle \mathbf{p''v'q''}$ such that $\triangle \mathbf{p''v'q''} \equiv \triangle \mathbf{pvq}$.

**Definition 6.** (Addition of angles)

Case 1: Addition of non-supplementary angles
If $\neg B(\mathbf{pvq})$ and $\mathbf{p} \neq \mathbf{v} \wedge \mathbf{q} \neq \mathbf{v}$, we shall use $\angle \mathbf{pvq} \equiv \angle \mathbf{pvt} \oplus \angle \mathbf{tvq}$ as the abbreviation for the following (this is the case when $\angle \mathbf{pvt}$ and $\angle \mathbf{tvq}$ are not supplementary):

$$ \angle \mathbf{pvq} \equiv \angle \mathbf{pvt} \oplus \angle \mathbf{tvq} \\ := \neg B(\mathbf{pvq}) \wedge [\exists \mathbf{a} \exists \mathbf{b} \ B(\mathbf{atb}) \wedge [B(\mathbf{vap} \vee B(\mathbf{vpa})) \wedge [B(\mathbf{vbq} \vee B(\mathbf{vqb}))]] $$

<figure><img src="image_10.png" /><figcaption>**Figure 8.** Addition of angles—non-supplementary case.</figcaption></figure>

**Case 2: Addition of supplementary angles**

If $B(\mathbf{pvq})$,

$$ \angle \mathbf{pvq} \equiv \angle \mathbf{pvt} \oplus \angle \mathbf{tvq} \\ := B(\mathbf{pvq}) \wedge \mathbf{p} \neq \mathbf{v} \wedge \mathbf{q} \neq \mathbf{v} \wedge \mathbf{t} \neq \mathbf{v} $$

<figure><img src="image_11.png" /><figcaption>**Figure 9.** Addition of angles—supplementary case.</figcaption></figure>

Putting the two cases together, we define:

$$ \angle \mathbf{pvq} \equiv \angle \mathbf{pvt} \oplus \angle \mathbf{tvq} \\ := \{ \neg B(\mathbf{pvq}) \wedge [\exists \mathbf{a} \exists \mathbf{b} \ B(\mathbf{atb}) \wedge [B(\mathbf{vap} \vee B(\mathbf{vpa})) \wedge [B(\mathbf{vbq} \vee B(\mathbf{vqb}))]] \\ \quad \vee \{B(\mathbf{pvq}) \wedge \mathbf{p} \neq \mathbf{v} \wedge \mathbf{q} \neq \mathbf{v} \wedge \mathbf{t} \neq \mathbf{v}\} $$

When the angles do not have a common vertex, we may also use $\angle \mathbf{u}_1 \mathbf{au}_2 \equiv \angle \mathbf{p}_1 \mathbf{bp}_2 \oplus \angle \mathbf{q}_1 \mathbf{cq}_2$. By that, we mean there exist three other angles such that

$$ \angle \mathbf{p}_1 \mathbf{bp}_2 \equiv \angle \mathbf{pvt} \\ \wedge \angle \mathbf{q}_1 \mathbf{cq}_2 \equiv \angle \mathbf{tvq} \\ \wedge \angle \mathbf{u}_1 \mathbf{au}_2 \equiv \angle \mathbf{pvq} \\ \wedge \angle \mathbf{pvq} \equiv \angle \mathbf{pvt} \oplus \angle \mathbf{tvq} $$

We can also define the comparison of two angles, or the order of angles.

**Definition 7.** (Order of angles)

We shall use the abbreviation $\angle \mathbf{pvq} \leq \mathbf{pvt}$ for the following:

$$ \angle \mathbf{p}_1 \mathbf{bp}_2 \leq \angle \mathbf{u}_1 \mathbf{au}_2 \\ := \exists \mathbf{q}_1 \exists \mathbf{q}_2 \angle \mathbf{u}_1 \mathbf{au}_2 = \angle \mathbf{p}_1 \mathbf{bp}_2 \oplus \angle \mathbf{q}_1 \mathbf{cq}_2 $$

We also write $\angle \mathbf{p}_1 \mathbf{bp}_2 \leq \angle \mathbf{u}_1 \mathbf{au}_2$ to mean $\angle \mathbf{p}_1 \mathbf{bp}_2 \leq \angle \mathbf{u}_1 \mathbf{au}_2$ and $\angle \mathbf{p}_1 \mathbf{bp}_2 \neq \angle \mathbf{u}_1 \mathbf{au}_2$.
Note that we have defined the sum of two angles and the meaning of one angle is greater than another, but we have not assigned numerical values to angles, because that is not in the language of $\mathcal{E}_d$.

**Definition 8.** (Right angle)

We shall use $R(\mathbf{abc})$ as the abbreviation for the following:

$$ R(\mathbf{abc}) := \mathbf{a} \neq \mathbf{b} \land \mathbf{a} \neq \mathbf{c} \land \mathbf{b} \neq \mathbf{c} \land [\exists \mathbf{a}' B(\mathbf{aba}') \land d(\mathbf{ba}) = d(\mathbf{ba}') \land d(\mathbf{ca}) = d(\mathbf{ca}')] $$

<figure><img src="image_12.png" /><figcaption>Figure 10. Right angle.</figcaption></figure>

**Theorem 1.** (Triangle congruence SSS→AAA)

If two triangles are congruent, then their corresponding angles are congruent. Formally,

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{a}' \forall \mathbf{b}' \forall \mathbf{c}' \\ \triangle \mathbf{abc} \equiv \triangle \mathbf{a}'\mathbf{b}'\mathbf{c}' \rightarrow \angle \mathbf{abc} \equiv \angle \mathbf{a}'\mathbf{b}'\mathbf{c}' \land \angle \mathbf{bca} \equiv \angle \mathbf{b}'\mathbf{c}'\mathbf{a}' \land \angle \mathbf{cab} \equiv \angle \mathbf{c}'\mathbf{a}'\mathbf{b}' $$

**Proof.** The proof is trivial. The definition of the congruence of two triangles (Definition 3) means the triangles have three sides being congruent respectively. This simply fits the definition of the congruence of each of the three pairs of corresponding angles (Definition 5). □

The reason we include this theorem and the following seemingly simple theorems is that our Definition 3 of triangle congruence is different from most textbooks, and therefore we need to demonstrate how this definition works.

**Theorem 2.** (Triangle congruence criterion SAS)

If two triangles have the two sides congruent to two sides respectively, and the angle contained by the two sides congruent, then the two triangles are congruent. Formally,

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{a}' \forall \mathbf{b}' \forall \mathbf{c}' \\ [d(\mathbf{ab}) = d(\mathbf{a}'\mathbf{b}') \land d(\mathbf{ac}) = d(\mathbf{a}'\mathbf{c}') \land \angle \mathbf{bac} \equiv \angle \mathbf{b}'\mathbf{a}'\mathbf{c}'] \rightarrow \triangle \mathbf{bac} \equiv \triangle \mathbf{b}'\mathbf{a}'\mathbf{c}'. $$

<figure><img src="image_13.png" /><figcaption>Figure 11. Triangle congruence criterion SAS.</figcaption></figure>

**Proof.** By the definition of $\angle \mathbf{bac} \equiv \angle \mathbf{b}'\mathbf{a}'\mathbf{c}'$, there exist $\mathbf{s}$ on the line $\mathbf{ab}$ and $\mathbf{t}$ on the line $\mathbf{ac}$ such that $\triangle \mathbf{sat} \equiv \triangle \mathbf{b}'\mathbf{a}'\mathbf{c}'$.

We first discuss the two possible cases for point $\mathbf{s}$.

Case (1): $\mathbf{s}$ is between $\mathbf{a}$ and $\mathbf{b}$. In this case we have $d(\mathbf{ab}) = d(\mathbf{as}) + d(\mathbf{sb})$.
By the definition of $\angle bac \equiv \angle b'a'c'$, we have $d(as) = d(a'b')$.

By the given condition $d(ab) = d(a'b')$, we must have $d(ab) = d(as)$.

Therefore, $d(sb) = 0$.

By Axiom D2, we know $s = b$. Namely, point $s$ coincides with $b$.

Case (2): **b** is between **a** and **s**. In this case we have $d(as) = d(ab) + d(b\mathbf{s})$.

By the definition of $\angle bac \equiv \angle b'a'c'$, we have $d(as) = d(a'b')$.

By the given condition $d(ab) = d(a'b')$, we must have $d(as) = d(ab)$.

Therefore, $d(b\mathbf{s}) = 0$.

By Axiom D2, we know $b = s$. Namely, point $b$ coincides with $s$.

In the same vein, we can prove that point $t$ coincides with $c$.

Therefore, $\triangle sat$ coincides with $\triangle bac$. Because $\triangle sat \equiv \triangle b'a'c'$, we must have $\triangle bac \equiv \triangle b'a'c'$. $\square$

**Theorem 3.** (Triangle congruence criterion ASA)

If two triangles have two angles congruent to two angles respectively, and the sides adjoining the congruent angles are congruent, then the two triangles are congruent. Formally,

$$ \forall a \forall b \forall c \forall a' \forall b' \forall c' $$

$$ [\angle bac \equiv \angle b'a'c' \land \angle abc \equiv \angle a'b'c' \land d(ab) = d(a'b')] \rightarrow \triangle cab \equiv \triangle c'a'b' $$

<figure><img src="image_14.png" /><figcaption>Figure 12. Triangle congruence criterion ASA.</figcaption></figure>

**Proof.** By the definition of $\angle bac \equiv \angle b'a'c'$, there exist points $s$ and $t$ on line $ab$ and $ac$ respectively such that $\triangle sat \equiv \triangle b'a'c'$. Because $d(ab) = d(a'b')$, by a similar argument to that we used in the proof of Theorem 2, we can show that $s$ coincides with $b$.

By the definition of $\angle abc \equiv \angle a'b'c'$, there exist points $u$ and $v$ on line $ab$ and $bc$ respectively such that $\triangle ubv \equiv \triangle a'b'c'$. By a similar argument, we can show that $u$ coincides with $a$.

Now that $u$ coincides with $a$, and $s$ coincides with $b$, Figure 12 can be simplified as shown below.

<figure><img src="image_15.png" /></figure>

Notice that by the definitions of $\angle bac \equiv \angle b'a'c'$ and $\angle abc \equiv \angle a'b'c'$, we have $\triangle abt \equiv \triangle a'b'c'$ and $\triangle abv \equiv \triangle a'b'c'$. Therefore, $\triangle abt \equiv \triangle abv$. That implies $\triangle bat \equiv \triangle bav$. Since $\triangle bat$ and $\triangle bav$ have the same side $ab$, we know $a, t, v$ must be collinear. Because $d(at) = d(av)$, $t$ must coincide with $v$. Furthermore, because $c$ is on both lines $at$ and $bt$, $c$ must coincide with $t$. Namely, all three points $t, v, c$ coincide. Therefore, $\triangle cab \equiv \triangle c'a'b'$. $\square$
**Corollary 1.** (Isosceles triangle)

In an isosceles triangle, the base angles are congruent to each other. Formally,

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \ d(\mathbf{ca}) = d(\mathbf{cb}) \rightarrow \angle \mathbf{cab} \equiv \angle \mathbf{cba}. $$

<figure><img src="image_16.png" /><figcaption>**Figure 13.** Isosceles triangle.</figcaption></figure>

**Proof.** The triangle can be viewed as two triangles in different orientations. The first triangle △cab has three sides ca, ab, bc in this order. The second triangle △cba has three sides cb, ba, ac in this order. The three sides are congruent respectively. Therefore, △cab ≡ △cba. By Theorem 1, the corresponding angles are congruent. Namely, ∠cab ≡ ∠cba. □

**Theorem 4.** (Triangle similarity SSS→AAA)

If two triangles are similar, then their corresponding angles are congruent. Formally,

$$ \begin{gathered} \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{b}' \forall \mathbf{c}' \\ [\mathbf{a} \neq \mathbf{b} \land B(\mathbf{ab}'\mathbf{b}) \land B(\mathbf{ac}'\mathbf{c}) \land d(\mathbf{ab}') \cdot d(\mathbf{ac}) = d(\mathbf{ac}') \cdot d(\mathbf{ab})] \\ \rightarrow [\angle \mathbf{ab}'\mathbf{c}' \equiv \angle \mathbf{abc} \land \angle \mathbf{ac}'\mathbf{b}' \equiv \angle \mathbf{acb}]. \end{gathered} $$

<figure><img src="image_17.png" /><figcaption>**Figure 14.** Corresponding angles of similar triangles are congruent.</figcaption></figure>

**Proof.** Let $k = d(\mathbf{ab}')/d(\mathbf{ab})$. By the given conditions, we have $d(\mathbf{ab}') = k \cdot d(\mathbf{ab})$ and $d(\mathbf{ac}') = k \cdot d(\mathbf{ac})$. By Axiom D5, $d(\mathbf{b}'\mathbf{c}') = k \cdot d(\mathbf{bc})$.

Find the point u such that $B(\mathbf{aub})$ and $d(\mathbf{ub}) = d(\mathbf{ab}')$. Similarly, find the point v such that $B(\mathbf{bvc})$ and $d(\mathbf{bv}) = d(\mathbf{b}'\mathbf{c}')$. By Axiom D5, we have $d(\mathbf{uv}) = k \cdot d(\mathbf{ac})$. Therefore, △ab'c' ≡ △ubv. This implies ∠ab'c' ≡ ∠abc. Similarly we can prove ∠ac'b' ≡ ∠acb. □

**Theorem 5.** (Triangle similarity criterion AA)

If two triangles have two pairs of corresponding angles congruent, then they are similar. Formally,

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{b}' \forall \mathbf{c}' \\ [\mathbf{a} \neq \mathbf{b} \land \mathbf{a} \neq \mathbf{b}' \land B(\mathbf{ab}'\mathbf{b}) \land B(\mathbf{ac}'\mathbf{c}) \land \angle \mathbf{ab}'\mathbf{c}' \equiv \angle \mathbf{abc}] \rightarrow [d(\mathbf{ab}') \cdot d(\mathbf{ac}) = d(\mathbf{ac}') \cdot d(\mathbf{ab})]. $$
<figure><img src="image_18.png" /><figcaption>**Figure 15.** Triangle similarity criterion AA.</figcaption></figure>

**Proof.** Let $k = d(\mathbf{ab})/d(\mathbf{ab}')$. On line $ac'$, find the point $c''$ such that $d(ac'') = k \cdot d(ac')$ and $B(ac'')$ or $B(ac''c)$. By Axiom D5, $\triangle ab'c'$ is similar to $\triangle abc''$. By Theorem 4, $\angle ab'c' \equiv \angle abc''$. But it is given that $\angle ab'c' \equiv \angle abc$. Therefore, $\angle abc'' \equiv \angle abc$. We say $c$ must coincide with $c''$, because both $c$ and $c''$ are on the same line $ac'$. Otherwise it would contradict the fact $\angle abc'' \equiv \angle abc$. Therefore, $d(ac'') = d(ac)$ and $d(ac) = k \cdot d(ac')$, and it implies $d(ab') \cdot d(ac) = d(ac') \cdot d(ab)$. $\square$

**Theorem 6.** (Interior angle sum of a triangle)

In any triangle $\triangle abc$, the sum of its interior angles is a straight angle. Formally,

$$ 
\begin{aligned}
& \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{p} \forall \mathbf{q} \forall \mathbf{v} \\
& B(\mathbf{apb}) \wedge B(\mathbf{bvc}) \wedge B(\mathbf{aqc}) \wedge d(\mathbf{ap}) = d(\mathbf{pb}) \wedge d(\mathbf{bv}) = d(\mathbf{vc}) \wedge d(\mathbf{aq}) = d(\mathbf{qc}) \\
& \rightarrow \angle \mathbf{cba} \equiv \angle \mathbf{cvq} \wedge \angle \mathbf{bac} \equiv \angle \mathbf{qvp} \wedge \angle \mathbf{acb} \equiv \angle \mathbf{pvb}.
\end{aligned}
$$

<figure><img src="image_19.png" /><figcaption>**Figure 16.** The interior angle sum of a triangle is a straight angle.</figcaption></figure>

**Proof.** The given conditions imply that $\mathbf{p}, \mathbf{q}, \mathbf{v}$ are the midpoints of $\mathbf{ab}, \mathbf{ac}$, and $\mathbf{bc}$ respectively. By Axiom D5, $d(\mathbf{pv}) = \frac{1}{2}d(\mathbf{ac})$. This implies $d(\mathbf{pv}) = d(\mathbf{qc})$. In the same vein, we can show $d(\mathbf{qv}) = d(\mathbf{pb})$. Therefore, we have $\triangle \mathbf{vbp} \equiv \triangle \mathbf{cvq}$. As a consequence, $\angle \mathbf{vbp}$ is congruent to $\angle \mathbf{cvq}$, and $\angle \mathbf{qcv}$ is congruent to $\angle \mathbf{pvb}$.

By Axiom D5 again, we have $d(\mathbf{pv}) = d(\mathbf{aq})$, and $d(\mathbf{qv}) = d(\mathbf{ap})$. Therefore, we have $\triangle \mathbf{paq} \equiv \triangle \mathbf{qvp}$. As a consequence, $\angle \mathbf{paq}$ is congruent to $\angle \mathbf{qvp}$. Because $\angle \mathbf{cvq}, \angle \mathbf{qvp}$, and $\angle \mathbf{pvb}$ form a straight angle, the interior angles of the triangle, $\angle \mathbf{cba}, \angle \mathbf{bac}$, and $\angle \mathbf{acb}$ also "sum up" to a straight angle. $\square$

It is well known that the interior angle sum theorem is equivalent to Euclid's Parallel Postulate (EPP), and we will omit the proof of EPP here.

As we can see in the following, using the distance function $d$, the Pythagorean theorem can be formally and directly stated in the language $L(\mathcal{E}_d)$.

**Theorem 7.** (Pythagoras)

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \ R(\mathbf{bac}) \rightarrow d^2(\mathbf{ab}) + d^2(\mathbf{ac}) = d^2(\mathbf{bc}), $$

where $d^2(\mathbf{ab})$ is the abbreviation of $(d(\mathbf{ab}))^2$.
<figure><img src="image_20.png" /><figcaption>Figure 17. The Pythagorean theorem.</figcaption></figure>

**Proof.** From **a**, drop a perpendicular to **bc** and let the foot be **p**, as shown in Figure 17.

First, we want to prove that $B(\mathbf{bpc})$.

We use proof by contradiction. For the sake of contradiction, suppose that the foot **p** is not between **b** and **c**. Without loss of generality, assume $B(\mathbf{pbc})$, as shown in the figure below.

<figure><img src="image_21.png" /></figure>

Consider the triangle $\triangle apc$. The interior angles are $\angle apc, \angle pac$, and $\angle acp$.

Note that $\angle pac$ is the sum of $\angle pab$ and $\angle bac$, and $\angle bac$ is a right angle. $\angle apc$ is also a right angle.

In the sum of the interior angles of triangle $\triangle apc$, it includes two right angles ($\angle apc$ and $\angle bac$), plus two extra angles ($\angle pab$ and $\angle acp$). This contradicts Theorem 6, which asserts the sum of the interior angles of a triangle is equal to a straight angle. Therefore, we must have $B(\mathbf{bpc})$.

Now consider Figure 17 again.

The triangle $\triangle apb$ is a right triangle. $\triangle bpa$ and $\triangle bac$ have two pairs of congruent angles: $\angle pba$ is congruent to $\angle abc$, and $\angle bpa$ is congruent to $\angle bac$ (both are right angles). By Theorem 5,

$$d(\mathbf{bp}) \cdot d(\mathbf{bc}) = d(\mathbf{ab}) \cdot d(\mathbf{ab}).$$

Namely,

$$d^2(\mathbf{ab}) = d(\mathbf{bp}) \cdot d(\mathbf{bc}). \qquad (2)$$

In the similar vein, we can prove that

$$d^2(\mathbf{ac}) = d(\mathbf{pc}) \cdot d(\mathbf{bc}). \qquad (3)$$

Adding Equation (2) to Equation (3), we obtain

$$\begin{aligned} d^2(\mathbf{ab}) + d^2(\mathbf{ac}) &= d(\mathbf{bp}) \cdot d(\mathbf{bc}) + d(\mathbf{pc}) \cdot d(\mathbf{bc}) \\ &= [d(\mathbf{bp}) + d(\mathbf{pc})] \cdot d(\mathbf{bc}) \\ &= d(\mathbf{bc}) \cdot d(\mathbf{bc}) \\ &= d^2(\mathbf{bc}). \end{aligned}$$

<figure><img src="image_22.png" /></figure>

The next theorem is the triangle inequality for the distance function.
**Theorem 8.** (Triangle inequality)

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \ d(\mathbf{ab}) \le d(\mathbf{ac}) + d(\mathbf{bc}). $$

<figure><img src="image_23.png" /><figcaption>**Figure 18.** Triangle inequality.</figcaption></figure>

**Proof.** From **c**, drop a perpendicular to **ab** and let the foot be **p**. The triangle Δ**apc** is a right triangle. The point **p** may be between **a** and **b**, or not between **a** and **b**. We discuss three cases:

Case (1). B(**apb**) (Figure 18a)

By Theorem 7, in the right triangle Δ**cpa**, we have

$$ d^2(\mathbf{ap}) + d^2(\mathbf{pc}) = d^2(\mathbf{ac}). $$

Because $0 \le d^2(\mathbf{pc})$, we have

$$ d^2(\mathbf{ap}) \le d^2(\mathbf{ac}). $$

By Axiom D1, this implies

$$ d(\mathbf{ap}) \le d(\mathbf{ac}). \quad (4) $$

Similarly, if we consider the right triangle Δ**cpb**, we obtain

$$ d(\mathbf{pb}) \le d(\mathbf{bc}). \quad (5) $$

Adding Equation (4) to Equation (5), we obtain

$$ d(\mathbf{ap}) + d(\mathbf{pb}) \le d(\mathbf{ac}) + d(\mathbf{bc}). $$

Because B(**apb**), d(**ab**) = d(**ap**) + d(**pb**). Therefore,

$$ d(\mathbf{ab}) \le d(\mathbf{ac}) + d(\mathbf{bc}). $$

Case (2). B(**abp**) (Figure 18b)

In the right triangle Δ**cpa**, similar to Case (1), we have

$$ d(\mathbf{ap}) \le d(\mathbf{ac}). \quad (6) $$

Because B(**abp**), we have d(**ap**) = d(**ab**) + d(**bp**).

By Axiom D1, $0 \le d(**bp)$, we have $d(**ab) \le d(**ap)$. Therefore, $d(**ab) \le d(**ac)$. This means the single side **ac** is at least as long as **ab**. When we add a nonnegative length $d(**bc)$, we have

$$ d(\mathbf{ab}) \le d(\mathbf{ac}) + d(\mathbf{bc}). $$

Case (3). B(**pab**)

The same proof for Case (2) works for this case too, by a symmetry argument. □
**Theorem 9.** (Axiom of five segments, see Appendix B)

$$ 
\begin{array}{l}
\forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{d} \forall \mathbf{a}' \forall \mathbf{b}' \forall \mathbf{c}' \forall \mathbf{d}' \\
[\mathbf{a} \neq \mathbf{b} \wedge B(\mathbf{a}\mathbf{b}\mathbf{d}) \wedge B(\mathbf{a}'\mathbf{b}'\mathbf{d}') \wedge d(\mathbf{ac}) = d(\mathbf{a}'\mathbf{c}') \wedge d(\mathbf{ab}) = d(\mathbf{a}'\mathbf{b}') \wedge d(\mathbf{bc}) = d(\mathbf{b}'\mathbf{c}') \\
\wedge d(\mathbf{bd}) = d(\mathbf{b}'\mathbf{d}')] \rightarrow d(\mathbf{cd}) = d(\mathbf{c}'\mathbf{d}').
\end{array}
$$

<figure><img src="image_24.png" /><figcaption>Figure 19. Axiom of five segments.</figcaption></figure>

**Proof.** Let $\alpha = d(\mathbf{bc}) = d(\mathbf{b}'\mathbf{c}')$, $\beta = d(\mathbf{ac}) = d(\mathbf{a}'\mathbf{c}')$, $\gamma = d(\mathbf{ab}) = d(\mathbf{a}'\mathbf{b}')$, and $\delta = d(\mathbf{bd}) = d(\mathbf{b}'\mathbf{d}')$.

From $\mathbf{c}$, drop a perpendicular to $\mathbf{ab}$, and let the foot be $\mathbf{p}$. From $\mathbf{c}'$, drop a perpendicular to $\mathbf{a}'\mathbf{b}'$, and let the foot be $\mathbf{p}'$ (see the figure below).

$$ \text{Let } h = d(\mathbf{cp}), x = d(\mathbf{ap}), \text{ and } y = d(\mathbf{pb}). $$

<figure><img src="image_25.png" /></figure>

Case (1): $B(\mathbf{ap}\mathbf{b}) \wedge B(\mathbf{a}'\mathbf{p}'\mathbf{b}')$

First we want to show, because the two triangles are congruent, $\triangle \mathbf{abc} \equiv \triangle \mathbf{a}'\mathbf{b}'\mathbf{c}'$, their corresponding altitudes are also congruent, namely $d(\mathbf{cp}) = d(\mathbf{c}'\mathbf{p}')$.

By the Pythagorean theorem,

$$ 
\begin{array}{l}
x^2 + h^2 = \beta^2, \\
y^2 + h^2 = \alpha^2, \\
x + y = \gamma.
\end{array}
$$

Solving these equations, we obtain

$$ h = \frac{1}{2\gamma} \sqrt{2\alpha^2\beta^2 + 2\beta^2\gamma^2 + 2\gamma^2\alpha^2 - \alpha^4 - \beta^4 - \gamma^4}. $$

In this expression, the altitude $h$ is uniquely determined by the side lengths $\alpha, \beta, \gamma$ of $\triangle \mathbf{abc}$. We therefore conclude that the congruent triangle $\triangle \mathbf{a}'\mathbf{b}'\mathbf{c}'$ must have the same altitude $h$.

Now consider the right triangle $\triangle \mathbf{cpd}$. By the Pythagorean theorem,

$$ 
\begin{aligned}
d(\mathbf{cd}) &= \sqrt{h^2 + (y + \delta)^2} \\
&= \sqrt{\alpha^2 + \delta^2 + \left(\frac{\delta}{\gamma}\right) (\alpha^2 + \gamma^2 - \beta^2)}.
\end{aligned}
$$

Note that $d(\mathbf{cd})$ is uniquely determined by $\alpha, \beta, \gamma, \delta$, the lengths of the four segments that have their corresponding congruent counterparts in the other configuration with primed points. Therefore, we must have $d(\mathbf{cd}) = d(\mathbf{c}'\mathbf{d}')$.
Case (2): If **p** is not between **a** and **b**, the proof is just similar, and we will omit it. The only difference is, the relationship $x + y = \gamma$ should be replaced by $y - x = \gamma$ or $x - y = \gamma$. □

**Theorem 10.** (Axiom of Pasch, inner form, see Appendix B)

$$ \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{p} \forall \mathbf{q} \ [B(\mathbf{bcp}) \land B(\mathbf{aqb})] \rightarrow \exists \mathbf{t} [B(\mathbf{ptq}) \land B(\mathbf{atc})]. $$

<figure><img src="image_26.png" /><figcaption>Figure 20. Axiom of Pasch, inner form.</figcaption></figure>

**Proof.** Let $d(\mathbf{bc}) = \alpha$, $d(\mathbf{bp}) = \beta$, and $d(\mathbf{qb})/d(\mathbf{ab}) = k$.

From **a**, drop a perpendicular to **bp**. Let the foot be **a'**, $d(\mathbf{ba'}) = \mu$ and $d(\mathbf{aa'}) = \nu$. Case (1): **a'** is between **a** and **c**.

First, we construct a point **t** in two steps.

Step 1: On line **bc**, find the point **t'** between **b** and **c** such that $d(\mathbf{bt'}) = x$, where

$$ x = \frac{(1-k)\alpha\beta + k\mu(\beta - \alpha)}{\beta - k\alpha}. $$

It is easy to see $x \ge 0$. By Axiom D4, for any number $x \ge 0$, such a point **t'** exists. Step 2: From **t'**, draw **t'****t** perpendicular to **bc** on the side of **a** such that $d(\mathbf{t' t}) = y$, where

$$ y = \frac{k\nu(\beta - \alpha)}{\beta - k\alpha}. $$

It is easy to see $y \ge 0$. By Axiom D4, for any number $y \ge 0$, such a point **t** exists. We claim that **t** is a point that satisfies $B(\mathbf{ptq})$ and $B(\mathbf{atc})$. Verification of $B(\mathbf{ptq})$:

By repeated applications of the Pythagorean theorem to the right triangles $\triangle \mathbf{qq'}\mathbf{b}$, $\triangle \mathbf{aa'}\mathbf{b}$, $\triangle \mathbf{qq'}\mathbf{p}$, and $\triangle \mathbf{tt'}\mathbf{p}$, we obtain

$$ d(\mathbf{pt}) = \frac{\beta - \alpha}{\beta - k\alpha} \sqrt{(\beta - k\mu)^2 + k^2\nu^2}, $$

$$ d(\mathbf{tq}) = \frac{(1-k)\alpha}{\beta - k\alpha} \sqrt{(\beta - k\mu)^2 + k^2\nu^2}, $$

$$ d(\mathbf{pq}) = \sqrt{(\beta - k\mu)^2 + k^2\nu^2}. $$

It is easy to verify,

$$ d(\mathbf{pt}) + d(\mathbf{tq}) = d(\mathbf{pq}). $$

Therefore, $B(\mathbf{ptq})$. Verification of $B(\mathbf{atc})$:
By repeated applications of the Pythagorean theorem to the right triangles △qq'b, △aa'b, △aa'c, and △tt'c, we obtain

$$d(\mathbf{at}) = \frac{(1-k)\beta}{\beta - k\alpha} \sqrt{(\alpha - \mu)^2 + v^2},$$

$$d(\mathbf{tc}) = \frac{k(\beta - \alpha)}{\beta - k\alpha} \sqrt{(\alpha - \mu)^2 + v^2},$$

$$d(\mathbf{ac}) = \sqrt{(\alpha - \mu)^2 + v^2}.$$

It is easy to verify,

$$d(\mathbf{at}) + d(\mathbf{tc}) = d(\mathbf{ac}).$$

Therefore, $B(\mathbf{atc})$.

Case (2): a' is not between a and c.

The proof is similar to Case (1), and we will omit it. □

### 3. Analytic Geometry United under Synthetic Geometry in $\mathcal{E}_d$

The mere introduction of a distance function symbol into the language does not by itself render $\mathcal{E}_d$ as analytic geometry. Traditionally, synthetic geometry is based on axioms while analytic geometry is based on algebra. In traditional analytic geometry, a point is represented by a pair of real numbers $(x, y)$. This is effectively saying that a point is defined to be a pair of real numbers $(x, y)$. For two points $(x_1, y_1)$ and $(x_2, y_2)$, the distance between them is defined to be $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$. In this sense, analytic geometry is treated as a model of synthetic geometry. In contrast, the distance function symbol $d$ in $\mathcal{E}_d$ is an undefined primitive notion and is governed by the axioms, rather than being defined. That is why $\mathcal{E}_d$ remains synthetic geometry. What $\mathcal{E}_d$ makes possible, however, is effectively framing analytic geometry within the formal first-order language of $\mathcal{E}_d$, thereby having synthetic and analytic geometry unified within $\mathcal{E}_d$.

Consider the following example. In traditional analytic geometry, we say **p** has coordinates $(p_x, p_y)$ and **q** has coordinates $(q_x, q_y)$. Suppose **u** lies on the line passing through distinct points **p** and **q**. If **u** has coordinates $(x, y)$, then $x$ and $y$ satisfy the following equation (Figure 21):

$$y - q_y = \frac{p_y - q_y}{p_x - q_x} (x - q_x). \qquad (7)$$

<figure><img src="image_27.png" /><figcaption>Figure 21. Analytic geometry is united under synthetic geometry in $\mathcal{E}_d$.</figcaption></figure>

The coordinates $(x, y)$ are related to distances. The precise relation depends on whether they are positive, where

$$(B(\mathbf{oe}_1\mathbf{u}_1) \lor B(\mathbf{ou}_1\mathbf{e}_1)) \rightarrow x = d(\mathbf{ou}_1),$$
or negative, where

$$B(\mathbf{u}_1\mathbf{o}\mathbf{e}_1) \to x = -d(\mathbf{o}\mathbf{u}_1).$$

The same applies to all other points as well.

In analytic geometry, one may say informally, "Equation (7) represents the line (or it is the equation of the line) passing through distinct points **p** and **q**". We are now ready to express this statement as a formal sentence in $\mathcal{E}_d$:

$$\begin{align*}
& \forall \mathbf{o} \forall \mathbf{e}_1 \forall \mathbf{e}_2 \forall \mathbf{u} \forall \mathbf{u}_1 \forall \mathbf{u}_2 \forall \mathbf{p} \forall \mathbf{p}_1 \forall \mathbf{p}_2 \forall \mathbf{q} \forall \mathbf{q}_1 \forall \mathbf{q}_2 \forall x \forall y \forall p_x \forall p_y \forall q_x \forall q_y \\
& \mathbf{p} \neq \mathbf{q} \wedge R(\mathbf{e}_1 \mathbf{o} \mathbf{e}_2) \wedge L(\mathbf{o} \mathbf{e}_1 \mathbf{p}_1 \mathbf{q}_1 \mathbf{u}_1) \wedge L(\mathbf{o} \mathbf{e}_2 \mathbf{p}_2 \mathbf{q}_2 \mathbf{u}_2) \\
& \wedge R(\mathbf{p} \mathbf{p}_1 \mathbf{o}) \wedge R(\mathbf{p} \mathbf{p}_2 \mathbf{o}) \wedge R(\mathbf{q} \mathbf{q}_1 \mathbf{o}) \wedge R(\mathbf{q} \mathbf{q}_2 \mathbf{o}) \wedge R(\mathbf{u} \mathbf{u}_1 \mathbf{o}) \wedge R(\mathbf{u} \mathbf{u}_2 \mathbf{o}) \\
& \wedge [(\mathbf{o} \mathbf{e}_1 \mathbf{u}_1) \vee \mathbf{B}(\mathbf{o} \mathbf{u}_1 \mathbf{e}_1)] \to x = d(\mathbf{o} \mathbf{u}_1)] \wedge [\mathbf{B}(\mathbf{u}_1 \mathbf{o} \mathbf{e}_1) \to x = -d(\mathbf{o} \mathbf{u}_1)] \\
& \wedge [(\mathbf{o} \mathbf{e}_2 \mathbf{u}_2) \vee \mathbf{B}(\mathbf{o} \mathbf{u}_2 \mathbf{e}_2)] \to y = d(\mathbf{o} \mathbf{u}_2)] \wedge [\mathbf{B}(\mathbf{u}_2 \mathbf{o} \mathbf{e}_2) \to y = -d(\mathbf{o} \mathbf{u}_2)] \\
& \wedge \dots \\
& \to [L(\mathbf{u} \mathbf{p} \mathbf{q}) \leftrightarrow y - q_y = \frac{p_y - q_y}{p_x - q_x}(x - q_x)],
\end{align*}$$

where $L(\mathbf{o} \mathbf{e}_1 \mathbf{p}_1 \mathbf{q}_1 \mathbf{u}_1)$ is the abbreviation for that all these points being collinear, and the dots indicate analogous conditions for $\mathbf{p}_1, \mathbf{p}_2$ and $\mathbf{q}_1, \mathbf{q}_2$.

### 4. Theory $\mathcal{E}_{da}$—A Conservative Extension of $\mathcal{E}_d$ with Angle Function $a$

The language of $\mathcal{E}_d$ has a single geometric primitive function $d$, the distance function, apart from the operations for numbers. We can extend theory $\mathcal{E}_d$ further to a theory $\mathcal{E}_{da}$ to include the angle function $a$, which denotes the numerical measure of an angle.

The language of $\mathcal{E}_{da}$ is

$$L(\mathcal{E}_{da}) = L(d, a; =, +, \cdot, <, 0, 1),$$

where $a$ is a 3-place function, with $a(\mathbf{pvq})$ being the number to represent the measure of angle $\angle \mathbf{pvq}$ formed by points $\mathbf{p}, \mathbf{v}$, and $\mathbf{q}$, with $\mathbf{v}$ as the vertex.

The system $\mathcal{E}_{da}$ must satisfy axioms RCF1 through RCF17 (Appendix A), Axioms D1 through D7, plus A1 through A4, which shall be listed in this section.

First, we explain what we mean by $\mathcal{E}_{da}$ being a conservative extension of $\mathcal{E}_d$.

Let $\Sigma$ be a theory in the language $L(\Sigma)$, $\Delta$ a theory in the language $L(\Delta)$, and $L(\Sigma) \subseteq L(\Delta)$.

$\Delta$ is called an extension of $\Sigma$ if $\Sigma \subseteq \Delta$.

$\Delta$ is called a conservative extension of $\Sigma$ if $\Delta$ is an extension of $\Sigma$, and for each $A$ in $L(\Sigma)$, $\Sigma \vdash A$ if and only if $\Delta \vdash A$, meaning the only new theorems in $\Delta$ are those that use symbols in $L(\Delta)$ that are not in $L(\Sigma)$ (see Epstein [9]).

In the following, we list the axioms of $\mathcal{E}_{da}$.

**$\mathcal{E}_{da}$—The Theory of Plane Quantitative Euclidean Geometry with Distance and Angle Functions in the Language $L(d, a; =, +, \cdot, <, 0, 1)$**

#### Axioms RCF1 through RCF17

#### Axioms D1 through D7

**Axiom A1.** Nonnegativeness of angle measure

$$\forall \mathbf{p} \forall \mathbf{v} \forall \mathbf{q} \ 0 \le a(\mathbf{pvq}).$$
**Axiom A2.** Congruent angles

$$ \forall \mathbf{p} \forall \mathbf{v} \forall \mathbf{q} \forall \mathbf{p}' \forall \mathbf{v}' \forall \mathbf{q}' \ [\angle \mathbf{pvq} \equiv \angle \mathbf{p}'\mathbf{v}'\mathbf{q}' \leftrightarrow a(\mathbf{pvq}) = a(\mathbf{p}'\mathbf{v}'\mathbf{q}')]. $$

See Definition 5 in Section 2 for the abbreviation $\angle \mathbf{pvq} \equiv \angle \mathbf{p}'\mathbf{v}'\mathbf{q}'$.

Informal explanation in plain English: Congruent angles have equal angle measures and vice versa.

**Axiom A3.** Addition of angles

$$ \forall \mathbf{p} \forall \mathbf{v} \forall \mathbf{q} \forall \mathbf{t} \ \angle \mathbf{pvt} \mp \angle \mathbf{tvq} \equiv \mathbf{pvq} \leftrightarrow a(\mathbf{pvt}) + a(\mathbf{tvq}) = a(\mathbf{pvq}). $$

<figure><img src="image_28.png" /><figcaption>Figure 22. Addition of angles.</figcaption></figure>

See Definition 6 in Section 2 for the abbreviation $\angle \mathbf{pvt} \mp \angle \mathbf{tvq} \equiv \mathbf{pvq}$.

**Axiom A4.** Straight angles

$$ \forall \mathbf{p} \forall \mathbf{v} \forall \mathbf{q} \ [B(\mathbf{pvq}) \land \mathbf{p} \neq \mathbf{v} \land \mathbf{q} \neq \mathbf{v}] \leftrightarrow a(\mathbf{pvq}) = 180^{\circ}, $$

where 180 is the abbreviation for $1+1+\cdots+1$ (one hundred eighty times), and 1 is the multiplicative identity, which is a constant symbol in the system of RCF (Appendix A).

By Axioms A3 and A4, it is easy to see that the maximum value of any angle measure is 180.

**Theorem 11.** $\forall \mathbf{p} \forall \mathbf{v} \forall \mathbf{q} \ a(\mathbf{pvq}) = a(\mathbf{qvp}).$

Informally, this means the angles are undirected. As we can see, there is no need to list this as an axiom. The symmetry of the angle measure is a consequence of the symmetry of distance, $d(\mathbf{pq}) = d(\mathbf{qp})$.

**Proof.** This is straightforward, because by definition, the angles $\angle \mathbf{pvq}$ and $\angle \mathbf{qvp}$ are congruent. $\square$

**Lemma 1.** $\forall \mathbf{v} \forall \mathbf{s} \ a(\mathbf{svs}) = 0.$

**Proof.** By Axiom A3, if $\neg B(\mathbf{pvq}) \land B(\mathbf{ptq})$, then $a(\mathbf{pvq}) = a(\mathbf{pvt}) + a(\mathbf{tvq})$. Now consider a special case where $\mathbf{p} = \mathbf{s}$, $\mathbf{t} = \mathbf{s}$, and $\mathbf{q} = \mathbf{s}$. We have

$$ a(\mathbf{svs}) = a(\mathbf{svs}) + a(\mathbf{svs}). $$

Therefore, $a(\mathbf{svs}) = 0$. $\square$

**Theorem 12.** $\forall \mathbf{p} \forall \mathbf{v} \forall \mathbf{q} \ B(\mathbf{vpq}) \rightarrow a(\mathbf{pvq}) = 0.$

Informally, if $\mathbf{p}$ and $\mathbf{q}$ are on the same “ray”, then the measure of $\angle \mathbf{pvq}$ is zero. This shows there is no need to list this as an axiom.

**Proof.** Because $B(\mathbf{vpq})$, by definition, $\angle \mathbf{pvq} \equiv \angle \mathbf{pvp}$. By Axiom A2 and Lemma 1, $a(\mathbf{pvq}) = a(\mathbf{pvp}) = 0$. $\square$
Next, we shall prove the theorem of vertical angles in both $\mathcal{E}_{da}$ and $\mathcal{E}_d$ separately.

**Theorem 13.** (Vertical angles) $\forall a\forall b\forall c\forall b'\forall c'$ $B(\mathbf{bab}') \wedge B(\mathbf{cac}') \rightarrow \angle \mathbf{bac} \equiv \angle \mathbf{b'a}c'$.

<figure><img src="image_29.png" /><figcaption>**Figure 23.** Vertical angles.</figcaption></figure>

**Proof.** (Proof in $\mathcal{E}_{da}$) Because $B(\mathbf{bab}')$, $\angle \mathbf{cab}$ and $\angle \mathbf{bac}'$ are supplementary angles. Therefore, $a(\mathbf{cab}) + a(\mathbf{bac}') = 180^\circ$. Similarly, $\angle \mathbf{bac}'$ and $\angle \mathbf{c'ab}'$ are supplementary angles. We have $a(\mathbf{bac}') + a(\mathbf{c'ab}') = 180^\circ$. Therefore, we have $a(\mathbf{cab}) = a(\mathbf{c'ab}')$. This is the same as $a(\mathbf{bac}) = a(\mathbf{b'a}c')$. By Axiom A2, we have $\angle \mathbf{bac} \equiv \angle \mathbf{b'a}c'$. $\square$

This is Proposition I.15 in Euclid's *Elements*. Euclid's proof is basically the same as above, except that Euclid did not make the measure of an angle explicit, and he simply cited his Common Notion 3: "If equals be subtracted from equals, the remainders are equal." Note that we have defined the addition ($\oplus$) of two adjacent angles to be a third angle (Definition 6), but there is still a difference between an angle and the measure (as a number) of the angle.

As we have commented, $\mathcal{E}_{da}$ is a conservative extension of $\mathcal{E}_d$. The vocabulary of Theorem 13 does not involve the angle function $a$. It should be able to be proved in $\mathcal{E}_d$. An alternative proof strictly within the theory $\mathcal{E}_d$ is shown in the following.

**Proof.** (Proof within $\mathcal{E}_d$) By Theorem 12, the points on the same "ray" make the same (congruent) angle. Instead of reasoning with points **b**, **b'**, **c**, **c'**, we mark points **p**, **p'**, **q**, **q'** such that $d(\mathbf{ap})$, $d(\mathbf{ap}')$, $d(\mathbf{aq})$, and $d(\mathbf{aq}')$ all have the same length. All we have to show is that $\angle \mathbf{paq} \equiv \angle \mathbf{p'a}q'$. To show this, it suffices to show that $d(\mathbf{pq}) = d(\mathbf{p'q}')$, because that would guarantee $\triangle \mathbf{paq} \equiv \triangle \mathbf{p'a}q'$.

First we observe that $\triangle \mathbf{apq}'$ is an isosceles triangle. Therefore, by Corollary 1, we have $\angle \mathbf{apq}' \equiv \angle \mathbf{aq}'\mathbf{p}$.

Consider $\triangle \mathbf{qpq}'$ and $\triangle \mathbf{p'q}'\mathbf{p}$. They have a common side $\mathbf{pq}'$. The sides $\mathbf{qq}'$ and $\mathbf{pp}'$ are congruent. The contained angles $\angle \mathbf{pq}'\mathbf{q}$ and $\angle \mathbf{q}'\mathbf{pp}'$ are also congruent. Therefore, $\triangle \mathbf{pq}'\mathbf{q} \equiv \triangle \mathbf{q}'\mathbf{pp}'$ by Theorem 2 (SAS). We then have $d(\mathbf{pq}) = d(\mathbf{p'q}')$.

Finally we have $\triangle \mathbf{paq} \equiv \triangle \mathbf{p'a}q'$. Hence, $\angle \mathbf{paq} \equiv \angle \mathbf{p'a}q'$. This is the same as $\angle \mathbf{bac} \equiv \angle \mathbf{b'a}c'$.

<figure><img src="image_30.png" /></figure>

<figure><img src="image_31.png" /></figure>
## 5. Consistency of $\mathcal{E}_d$ and $\mathcal{E}_{da}$

To show the consistency of $\mathcal{E}_d$, we construct a model that interprets each of the terms in the language

$$L(\mathcal{E}_d) = L(d; =, +, \cdot, <, 0, 1).$$

The numbers in $L(\mathcal{E}_d)$ are interpreted as the real numbers, $+, \cdot$ as addition and multiplication of real numbers, $<$ the “less than” relation, 0 the number 0, and 1 the number 1.

The real numbers satisfy all the axioms of real closed fields RCF1 through RCF17.

A point is interpreted as a pair of real numbers $(x, y)$.

Let $\mathbf{p} = (x_1, y_1)$ and $\mathbf{q} = (x_2, y_2)$ be two points. The distance $d(\mathbf{p}\mathbf{q})$ is interpreted as

$$d(\mathbf{p}\mathbf{q}) = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.$$

Verification of Axioms D1, D2, and D3 is straightforward.

Let $\mathbf{t} = (x_3, y_3)$. $B(\mathbf{p}\mathbf{q}\mathbf{t})$ is interpreted as $\exists\lambda \in \mathbb{R}$ such that

$$\begin{align}
x_3 &= x_1 + \lambda(x_2 - x_1), \notag \\
y_3 &= y_1 + \lambda(y_2 - y_1), \tag{8} \\
1 &\le \lambda. \notag
\end{align}$$

The distance between $\mathbf{q}$ and $\mathbf{t}$ is

$$d(\mathbf{p}\mathbf{t}) = (\lambda - 1)\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.$$

Verification of Axiom D4:

We discuss two cases.

Case (1): $\mathbf{p} \neq \mathbf{q}$. For any real number $0 \le x$, we can choose

$$\lambda = 1 + \frac{x}{\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}}.$$

Substitute this into Equation (8). The point $\mathbf{t}$ with coordinates $(x_3, y_3)$ defined by Equation (8) satisfies $B(\mathbf{p}\mathbf{q}\mathbf{t})$ and $d(\mathbf{q}\mathbf{t}) = x$.

Case (2): $\mathbf{p} = \mathbf{q}$, namely $x_1 = x_2$ and $y_1 = y_2$. It suffices to find $\mathbf{t} = (x_3, y_3)$ such that $d(\mathbf{q}\mathbf{t}) = x$. Such a point $\mathbf{t}$ is not unique, but it suffices if we choose

$$\begin{align*}
x_3 &= x_2 + x, \\
y_3 &= y_2.
\end{align*}$$

This satisfies $B(\mathbf{p}\mathbf{q}\mathbf{t})$ and $d(\mathbf{q}\mathbf{t}) = x$.

Verification of Axioms D5 through D7 requires just straightforward calculations in analytic geometry, which we shall omit here.

To show the consistency of $\mathcal{E}_{da}$, first observe that the language $L(\mathcal{E}_d)$ is a subset of the language $L(\mathcal{E}_{da})$. Recall that

$$L(\mathcal{E}_{da}) = L(d, a; =, +, \cdot, <, 0, 1).$$

The language $L(\mathcal{E}_{da})$ has an additional primitive function, the angle function $a$. The theory $\mathcal{E}_d$ is a subtheory of the theory $\mathcal{E}_{da}$. Therefore, the model we have constructed for $\mathcal{E}_d$ can
serve as part of a model for $\mathcal{E}_{da}$. We only need to give an interpretation of the angle function $a$, and verify Axioms A1 through A4.

Let $\mathbf{v} = (x_0, y_0)$, $\mathbf{p} = (x_1, y_1)$, $\mathbf{q} = (x_2, y_2)$, $\mathbf{p} \neq \mathbf{v}$, and $\mathbf{q} \neq \mathbf{v}$, as shown in Figure 24.

<figure><img src="image_32.png" /><figcaption>Figure 24. Interpretation of the angle measure.</figcaption></figure>

We first define

$$ \bar{x}_1 = x_1 - x_0, $$

$$ \bar{y}_1 = y_1 - y_0, $$

$$ \bar{x}_2 = x_2 - x_0, $$

$$ \bar{y}_2 = y_2 - y_0. $$

The angle measure of $\angle \mathbf{pvq}$ is interpreted as

$$ a(\mathbf{pvq}) = \frac{180}{\pi} \cdot \cos^{-1} \left[ \frac{\bar{x}_1 \cdot \bar{x}_2 + \bar{y}_1 \cdot \bar{y}_2}{\sqrt{(\bar{x}_1^2 + \bar{y}_1^2)(\bar{x}_2^2 + \bar{y}_2^2)}} \right]. \quad (9) $$

Verification of Axioms A1 through A4 requires just straightforward analytic geometry calculations, which are omitted here.

# 6. Theory $\mathcal{E}_d$ and Tarski's $\mathcal{E}_2$ Are Mutually Interpretable with Parameters

## 6.1. There Is a Syntactical Translation from $\mathcal{E}_2$ to $\mathcal{E}_d$

Tarski's $\mathcal{E}_2$ is parameter-free interpretable in $\mathcal{E}_d$. This interpretation is faithful. In addition, we can make a stronger assertion than a faithful interpretation: there is a syntactical translation from $\mathcal{E}_2$ to $\mathcal{E}_d$ (see definitions of interpretation and syntactical translation in Enderton [10]).

The syntactical translation scheme is as follows:

Any variable in $\mathcal{E}_2$ is translated to a point variable in $\mathcal{E}_d$.

Tarski's primitive predicates in $\mathcal{E}_2$ are translated to $\mathcal{E}_d$ as follows:

(1) $B(\mathbf{pvq})$ is translated to:

$$ d(\mathbf{pq}) = d(\mathbf{pv}) + d(\mathbf{vq}). \quad (10) $$

(2) $D(\mathbf{pquv})$ is translated to:

$$ d(\mathbf{pq}) = d(\mathbf{uv}). \quad (11) $$

Tarski's axioms T1 through T11 for $\mathcal{E}_2$ are listed in Appendix B.

T5 (Axiom of five segments) is proved as Theorem 9, T7 (Axiom of Pasch) as Theorem 10 in Section 2. Other axioms are straightforward to verify in $\mathcal{E}_d$, using the above syntactical translation, and Axioms D1 through D7 plus RCF1 through RCF17.

## 6.2. Theory $\mathcal{E}_d$ Is Interpretable (with Parameters) into $\mathcal{E}_2$

To interpret $\mathcal{E}_d$ in $\mathcal{E}_2$, we devise a mapping $\tau$ from $\mathcal{E}_d$ to $\mathcal{E}_2$.

Any point variable in $\mathcal{E}_d$ remains a point variable in $\mathcal{E}_2$.
We also need to find a way to interpret the number variables of $\mathcal{E}_d$ in $\mathcal{E}_2$, because $\mathcal{E}_2$ has only point variables but no number variables. This can be done with the help of the segment arithmetic with respect to an arbitrarily selected frame of three points $\hat{0}$, $\hat{e}$, and $\hat{e}'$ which are non-collinear.

We first select any three non-collinear points $\hat{0}$, $\hat{e}$, and $\hat{e}'$.

Our sub-universe in $\mathcal{E}_2$ is all the points on the line of $\hat{0}\hat{e}$, which are used to interpret the numbers of RCF. The constant 0 is mapped to $\hat{0}$, and the constant 1 is mapped to $\hat{e}$. We will call the line $\hat{0}\hat{e}$ the *number line*.

We will use the following convention in notation: a hat is used to denote a point on the number line. For example, the symbol $\hat{x}$ automatically implies that $L(\hat{0}\hat{e}\hat{x})$ (see Definition 2).

Figure 25 shows SST's definition [5] that point $\hat{c}$ is the *geometric sum* of points $\hat{a}$ and $\hat{b}$. We will omit the formal sentence, but just describe it informally:

Join $\hat{e}$ and $\hat{e}'$ with a line;

Draw $\hat{a}b' \parallel \hat{e}e'$, intersecting $\hat{0}e'$ at $b'$ ($\parallel$ denotes parallel);

Draw $b'c' \parallel \hat{0}\hat{e}$;

Draw $\hat{b}c' \parallel \hat{0}e'$, intersecting $b'c'$ at $c'$;

Draw $c'c \parallel \hat{a}b'$, intersecting $\hat{0}\hat{e}$ at $c'$.

We then define $\hat{c}$ as the *geometric sum* of $\hat{a}$ and $\hat{b}$. In symbols, we write

$$ \hat{c} = \hat{a} + \hat{b}. $$

<figure><img src="image_33.png" /><figcaption>Figure 25. The definition that point $\hat{c}$ is the geometric sum of points $\hat{a}$ and $\hat{b}$.</figcaption></figure>

Figure 26 shows SST's definition [5] that point $\hat{c}$ is the *geometric product* of points $\hat{a}$ and $\hat{b}$. Informally:

Join $\hat{e}$ and $\hat{e}'$ with a line;

Join $\hat{a}$ and $\hat{e}'$ with a line;

Draw $\hat{b}b' \parallel \hat{e}e'$, intersecting $\hat{0}e'$ at $b'$;

Draw $b'c \parallel \hat{a}e'$, intersecting $\hat{0}\hat{e}$ at $c'$.

We then define $\hat{c}$ as the *geometric product* of $\hat{a}$ and $\hat{b}$. In symbols, we write

$$ \hat{c} = \hat{a} \cdot \hat{b}. $$

<figure><img src="image_34.png" /><figcaption>Figure 26. The definition that point $\hat{c}$ is the geometric product of points $\hat{a}$ and $\hat{b}$.</figcaption></figure>
It should be noted that RCF is a subtheory of $\mathcal{E}_d$. We first describe how to interpret sentences in RCF into $\mathcal{E}_2$, namely those sentences in $\mathcal{E}_d$ that involve number variables only.

Each number variable $x$ is mapped to a point variable $\hat{x}$ for a point on the number line in $\mathcal{E}_2$. For example, the wff (well-formed formula) $z = x + y$ in RCF (also in $\mathcal{E}_d$) will be interpreted as $\hat{z} = \hat{x} + \hat{y}$ in $\mathcal{E}_2$. The wff $z = x \cdot y$ in RCF (also in $\mathcal{E}_d$) will be interpreted as $\hat{z} = \hat{x} \cdot \hat{y}$ in $\mathcal{E}_2$.

In the language $L(\mathcal{E}_d)$, there are only three atomic predicate symbols:

(1) = as a 2-place predicate denoting that two points are identical.

(2) = as a 2-place predicate denoting that two numbers are equal.

(3) < as a 2-place predicate denoting that one number is less than the other.

First, consider the case where $=$ is a predicate for points, for example, $\mathbf{p} = \mathbf{q}$. This is already a valid wff in $\mathcal{E}_2$ and it can be kept as is.

Next, consider the case where $=$ is a predicate for numbers. We have discussed a special case when both sides of the equation involve number constants and variables only. In general, we also need to consider the function symbol $d(\mathbf{pq})$. The following is an example of a wff in $\mathcal{E}_d$:

$$3 \cdot [d(\mathbf{pq}) \cdot d(\mathbf{uv})] + [(x+2) \cdot y] \cdot y + 1 = y + d(\mathbf{pq}), \qquad (12)$$

where $\mathbf{p}, \mathbf{q}, \mathbf{u}, \mathbf{v}$ are point variables, and $x, y$ are number variables.

Note that 2 is the abbreviation of $1+1$, and 3 is the abbreviation of $1+1+1$.

Therefore, 1 is interpreted as $\hat{e}$, 2 is interpreted as $\hat{e}+\hat{e}$, and 3 is interpreted as $\hat{e}+\hat{e}+\hat{e}$.

The entire wff can be interpreted as

$$\exists \hat{o} \exists \hat{e} \exists \hat{x} \exists \hat{y} \exists \hat{a} \exists \hat{b} \\ \land D(\mathbf{pq}\hat{o}\hat{a}) \land D(\mathbf{uv}\hat{o}\hat{b}) \land (\hat{e}+\hat{e}+\hat{e}) : [\hat{a}\hat{b}] + [(\hat{x}+\hat{e}+\hat{e}) : \hat{y}] : \hat{y} + \hat{e} = \hat{y} + \hat{a}. \qquad (13)$$

In the language of $L(\mathcal{E}_d)$, the Pythagorean theorem (Theorem 7) asserts

$$\forall a \forall b \forall c R(\mathbf{bac}) \rightarrow d^2(\mathbf{ab}) + d^2(\mathbf{ac}) = d^2(\mathbf{bc}).$$

This can be interpreted in $L(\mathcal{E}_2)$ as

$$\forall a \forall b \forall c \exists \hat{o} \exists \hat{e} \exists \hat{x} \exists \hat{y} \exists \hat{z} \ a \neq b \land a \neq c \land b \neq c \land R(\mathbf{bac}) \\ \land D(\mathbf{ab}\hat{o}\hat{x}) \land D(\mathbf{ac}\hat{o}\hat{y}) \land D(\mathbf{bc}\hat{o}\hat{z}) \\ \rightarrow \hat{x} \hat{x} + \hat{y} \hat{y} = \hat{z} \hat{z}.$$

This interpretation scheme works the same for the predicate $<$ in $\mathcal{E}_d$.

The interpreted formula can often be simplified for special cases. The following are two types of wffs that are most frequently encountered in $\mathcal{E}_d$:

(1) $d(\mathbf{pq}) = d(\mathbf{uv})$ can be interpreted as $D(\mathbf{pquv})$ in $\mathcal{E}_2$.

(2) $d(\mathbf{pq}) = d(\mathbf{uv}) + d(\mathbf{rs})$ can be interpreted as

$$\exists a \exists b \exists c B(\mathbf{abc}) \land D(\mathbf{pqac}) \land D(\mathbf{uvab}) \land D(\mathbf{rsbc})$$

in $\mathcal{E}_2$.

## 7. Completeness and Decidability of $\mathcal{E}_d$

In the previous section, we have established that $\mathcal{E}_d$ is mutually interpretable (with parameters) to $\mathcal{E}_2$ and the interpretation if faithful. Because it has been shown that $\mathcal{E}_2$ is complete and decidable, $\mathcal{E}_d$ is also complete and decidable.
## 8. Theory $\mathcal{H}_{da}$—Quantitative Hyperbolic Geometry

We briefly provide a sketch of a theory $\mathcal{H}_{da}$ of quantitative hyperbolic geometry. Its language $L(\mathcal{H}_{da})$ is the same as $L(\mathcal{E}_{da})$ with two sorts.

We only need to replace Axiom D5 of $\mathcal{E}_{da}$ with Axiom D5-h, and retain the rest of the axioms in $\mathcal{E}_{da}$, as listed below. We shall not go into the details in this direction.

*$\mathcal{H}_{da}$: The Theory of Plane Quantitative Hyperbolic Geometry with Distance and Angle Functions in the language of $L(d, a; =, +, \cdot, <, 0, 1)$*

### Axioms RCF1 through RCF17

#### Axioms D1 through D4

**Axiom D5-h.** (AAA→SSS) Given two triangles, if all three pairs of angles are equal, then their sides are congruent.

$$ 
\begin{array}{l}
\forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{a}' \forall \mathbf{b}' \forall \mathbf{c}' \\
\forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{a}' \forall \mathbf{b}' \forall \mathbf{c}' \ a(\mathbf{abc}) = a(\mathbf{a}'\mathbf{b}'\mathbf{c}') \land a(\mathbf{bca}) = a(\mathbf{b}'\mathbf{c}'\mathbf{a}') \land a(\mathbf{cab}) = a(\mathbf{c}'\mathbf{a}'\mathbf{b}') \\
\rightarrow d(\mathbf{ab}) = d(\mathbf{a}'\mathbf{b}') \land d(\mathbf{bc}) = d(\mathbf{b}'\mathbf{c}') \land d(\mathbf{ca}) = d(\mathbf{c}'\mathbf{a}').
\end{array}
$$

#### Axioms D6, D7

#### Axioms A1 through A4

## 9. Theories $\mathcal{E}_d^n$ and $\mathcal{E}_{da}^n$—Quantitative Euclidean Geometry in Higher Dimensions

Both systems $\mathcal{E}_d^n$ and $\mathcal{E}_{da}^n$ can be generalized to $\mathcal{E}_d^n$ and $\mathcal{E}_{da}^n$ for n-dimensional Euclidean geometry ($n \ge 2$). We only need to replace the two dimension axioms D6 and D7 with D6-n and D7-n, as described below.

**Axiom D6-n.** Dimension lower bound (at least $n$)

$$ 
\exists \mathbf{p}_0 \exists \mathbf{p}_1 \exists \cdots \exists \mathbf{p}_n \\
d(\mathbf{p}_0 \mathbf{p}_1) \neq 0 \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_0 \mathbf{p}_2) \land \cdots \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_1 \mathbf{p}_j) \land \cdots \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_{n-1} \mathbf{p}_n),
$$

where the conjunction ranges over all $0 \le i < j \le n$.

**Axiom D7-n.** Dimension upper bound (at most $n$)

$$ 
\begin{array}{l}
\forall \mathbf{p}_0 \forall \mathbf{p}_1 \forall \cdots \forall \mathbf{p}_{n+1} \\
d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_0 \mathbf{p}_2) \land \cdots \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_1 \mathbf{p}_j) \land \cdots \land d(\mathbf{p}_0 \mathbf{p}_1) = d(\mathbf{p}_n \mathbf{p}_{n+1}) \\
\rightarrow d(\mathbf{p}_0 \mathbf{p}_1) = 0,
\end{array}
$$

where the conjunction ranges over all $0 \le i < j \le n+1$.

We will not discuss further in this direction.

**Funding:** This research received no external funding.

**Data Availability Statement:** No new data were created or analyzed in this study. Data sharing is not applicable to this article.

**Acknowledgments:** The author thanks Michael Beeson, Julien Narboux, and Pierre Boutry for valuable discussions, and the anonymous reviewers for their careful reading of the paper and their insightful comments.

**Conflicts of Interest:** The author declares no conflicts of interest.
# Appendix A. Axioms of Real Closed Fields (RCF) [9]

## The Theory of Real Closed Fields in the Language of L(=, +, ·, <, 0, 1)

Note that 0 and 1 are constant symbols, denoting the identity of addition and the identity of multiplication respectively. The constant 0 is definable by the formula $x + x = x$, and the constant 1 is definable by $x \cdot x = x \wedge \neg(x + x = x)$. We can have an equivalent theory in the language of $L(=, <, +, \cdot)$ after replacing the constants 0 and 1 with the above definitions, but we choose to include these constants in the language for convenience.

$$\text{RCF1.} \quad \forall x \forall y \forall z (x + (y + z) = (x + y) + z)$$

$$\text{RCF2.} \quad \forall x \ 0 + x = x$$

$$\text{RCF3.} \quad \forall x \exists y (x + y = 0)$$

$$\text{RCF4.} \quad \forall x \forall y (x + y = y + x)$$

$$\text{RCF5.} \quad \forall x \ x \cdot 1 = x$$

$$\text{RCF6.} \quad \forall x \forall y \forall z (x \cdot (y \cdot z) = (x \cdot y) \cdot z)$$

$$\text{RCF7.} \quad \forall x \forall y (x \cdot y = y \cdot x)$$

$$\text{RCF8.} \quad \forall x \exists y [x \neq 0 \rightarrow x \cdot y = 1]$$

$$\text{RCF9.} \quad \forall x \forall y \forall z (x \cdot (y + z) = (x \cdot y) + (x \cdot z))$$

$$\text{RCF10.} \quad 1 \neq 0$$

$$\text{RCF11.} \quad \forall x \ \neg(x < x)$$

$$\text{RCF12.} \quad \forall x \forall y [x < y \rightarrow \neg(y < x)]$$

$$\text{RCF13.} \quad \forall x \forall y \forall z [(x < y \wedge y < z) \rightarrow x < z]$$

$$\text{RCF14.} \quad \forall x \forall y (x < y \lor y < x \lor x = y)$$

$$\text{RCF15.} \quad \forall x \forall y \forall z [y < z \rightarrow x + y < x + z]$$

$$\text{RCF16.} \quad \forall x \forall y [(0 < x \wedge 0 < y) \rightarrow 0 < x \cdot y]$$

$$\text{RCF17.} \quad [\forall x \forall y \ \Phi(x) \wedge \Psi(y) \rightarrow x < y] \rightarrow [\exists z \forall x \forall y \ \Phi(x) \wedge \Psi(y) \rightarrow x \leq z \leq y]$$

where $\Phi$ is any $wff$ in which $x$ is free, $\Psi$ is any $wff$ in which $y$ is free, and neither $y$ nor $z$ appear in $\Phi$, and neither $x$ nor $z$ appear in $\Psi$. ($x \leq z$ is the abbreviation for $x < z \lor x = z$.)

# Appendix B. Tarski's Axioms of Plane Euclidean Geometry $\mathscr{E}_2$ [4,5]

The following are Tarski's axioms for $\mathscr{E}_2$ as listed in [4,5]. Tarski included thirteen axioms, A1 through A13, in his 1959 paper [3], but A2 and A3 were proved as theorems later. The remaining axioms in [3] are the same as listed below, only in different order.

## The Theory $\mathscr{E}_2$ in the Language of L(=, B, D)

$B(\mathbf{pvq})$ denotes that point $v$ is between $p$ and $q$.

$D(\mathbf{pquv})$ denotes that point pair $pq$ is congruent to point pair $uv$.

T1. Symmetry of congruence

$$\forall \mathbf{p} \forall \mathbf{q} D(\mathbf{pqqp})$$

T2. Transitivity of congruence

$$\forall \mathbf{p} \forall \mathbf{q} \forall \mathbf{s} \forall \mathbf{t} \forall \mathbf{u} \forall \mathbf{v}$$

$$D(\mathbf{pqst}) \wedge D(\mathbf{pquv}) \rightarrow D(\mathbf{stuv})$$

T3. Identity of congruence

$$\forall \mathbf{p} \forall \mathbf{q} \forall \mathbf{t}$$

$$D(\mathbf{pqt}) \rightarrow \mathbf{p} = \mathbf{q}$$

T4. Segment extension

$$\forall \mathbf{p} \forall \mathbf{q} \forall \mathbf{u} \forall \mathbf{v} \exists \mathbf{a}$$

$$B(\mathbf{pqa}) \wedge D(\mathbf{qauv})$$
T5. Five segments

$$ 
\begin{array}{l}
\forall a \forall b \forall c \forall d \forall a' \forall b' \forall c' \forall d' \\
a \neq b \wedge B(abd) \wedge B(a'b'd') \wedge D(aca'c') \wedge D(aba'b') \wedge D(bcb'c') \wedge D(bdb'd') \\
\rightarrow D(cdc'd')
\end{array}
$$

<figure><img src="image_35.png" /><figcaption>Figure A1. Five segments.</figcaption></figure>

T6. Identity of betweenness

$$ \forall \mathbf{p} \forall \mathbf{t} B(\mathbf{ptp}) \rightarrow \mathbf{p} = \mathbf{t} $$

T7. Pasch (inner form)

$$ 
\begin{array}{l}
\forall a \forall b \forall c \forall p \forall q \\
B(bcp) \wedge B(aqb) \rightarrow \exists \mathbf{t} [B(\mathbf{ptq}) \wedge B(\mathbf{atc})]
\end{array}
$$

<figure><img src="image_36.png" /><figcaption>Figure A2. Inner Pasch.</figcaption></figure>

T8. Dimension lower bound

$$ \exists a \exists b \exists c \neg B(abc) \wedge \neg B(bca) \wedge \neg B(cab) $$

T9. Dimension upper bound

$$ 
\begin{array}{l}
\forall \mathbf{p} \forall \mathbf{q} \forall \mathbf{t} \forall \mathbf{u} \forall \mathbf{v} \\
\mathbf{p} \neq \mathbf{q} \wedge D(\mathbf{tptq}) \wedge D(\mathbf{upuq}) \wedge D(\mathbf{vpvq}) \rightarrow B(\mathbf{tuv}) \vee B(\mathbf{uvt}) \vee B(\mathbf{vtu})
\end{array}
$$

<figure><img src="image_37.png" /><figcaption>Figure A3. The dimension is at most 2.</figcaption></figure>

T10. Euclid

$$ 
\begin{array}{l}
\forall a \forall b \forall c \forall u \forall v \\
\exists \mathbf{p} \exists \mathbf{q} \mathbf{a} \neq \mathbf{u} B(buc) \wedge B(auv) \rightarrow B(pvq) \wedge B(abp) \wedge B(acq)
\end{array}
$$

<figure><img src="image_38.png" /><figcaption>Figure A4. Euclid.</figcaption></figure>
T11. Axiom schema of continuity (Dedekind cut)

$$[\exists \mathbf{a} \forall \mathbf{p} \forall \mathbf{q} \ \Phi(\mathbf{p}) \wedge \Psi(\mathbf{q}) \to B(\mathbf{apq})] \to [\exists \mathbf{b} \forall \mathbf{p} \forall \mathbf{q} \ \Phi(\mathbf{p}) \wedge \Psi(\mathbf{q}) \to B(\mathbf{pbq})],$$

where $\Phi$ stands for any formula in which the variable $\mathbf{p}$ occurs free but neither $\mathbf{q}$ nor $\mathbf{a}$ nor $\mathbf{b}$ occurs free, and similarly for $\Psi$ with $\mathbf{p}$ and $\mathbf{q}$ interchanged.

<figure><img src="image_39.png" /><figcaption>Figure A5. Continuity.</figcaption></figure>

## Appendix C. SMGS Axioms of Euclidean Geometry [8]

Undefined terms: point, line, plane.

The officially listed undefined terms are: point, line, plane. However, there are also undefined terms (objects, predicates, and functions) that are used in the axioms but are not explicitly listed, such as: distance measure, angle measure, area, volume, lie on, lie in, real number, set, contain, correspondence, intersection, and union.

Postulate 1. (Line Uniqueness) Given any two different points, there is exactly one line which contains them.

Postulate 2. (Distance Postulate) To every pair of different points there corresponds a unique positive number.

Postulate 3. (Ruler Postulate) The points of a line can be placed in a correspondence with the real numbers in such a way that

(1) To every point of the line there corresponds exactly one real number,

(2) To every real number there corresponds exactly one point of the line, and

(3) The distance between two points is the absolute value of the difference of the corresponding numbers.

Postulate 4. (Ruler Placement Postulate) Given two points $P$ and $Q$ of a line, the coordinate system can be chosen in such a way that the coordinate of $P$ is zero and the coordinate of $Q$ is positive.

Postulate 5. (Existence of Points)

a. Every plane contains at least three non-collinear points.

b. Space contains at least four non-coplanar points.

Postulate 6. (Points on a Line Lie in a Plane) If two points lie in a plane, then the line containing these points lies in the same plane.

Postulate 7. (Plane Uniqueness) Any three points lie in at least one plane, and any three non-collinear points lie in exactly one plane.

Postulate 8. (Plane Intersection) If two different planes intersect, then their intersection is a line.

Postulate 9. (Plane Separation Postulate) Given a line and a plane containing it, the points of the plane that do not lie on the line form two sets such that:

(1) each of the sets is convex and

(2) if $P$ is in one set and $Q$ is in the other then segment $\overline{PQ}$ intersects the line.

Postulate 10. (Space Separation Postulate) The points of space that do not lie in a given plane form two sets such that
(1) each of the sets is convex and

(2) if $P$ is in one set and $Q$ is in the other then segment $\overline{PQ}$ intersects the plane.

Postulate 11. (Angle Measurement Postulate) To every angle $\angle BAC$ there corresponds a real number between 0 and 180.

Postulate 12. (Angle Construction Postulate) Let $\overrightarrow{AB}$ be a ray on the edge of the half-plane $H$. For every $r$ between 0 and 180 there is exactly one ray $\overrightarrow{AP}$, with $P$ in $H$, such that $m\angle PAB = r$.

Postulate 13. (Angle Addition Postulate) If $D$ is a point in the interior of $\angle BAC$, then $m\angle BAC = m\angle BAD + m\angle DAC$.

Postulate 14. (Supplement Postulate) If two angles form a linear pair, then they are supplementary.

Postulate 15. (SAS Postulate) Given a correspondence between two triangles (or between a triangle and itself). If two sides and the included angle of the first triangle are congruent to the corresponding parts of the second triangle, then the correspondence is a congruence.

Postulate 16. (Parallel Postulate) Through a given external point there is at most one line parallel to a given line.

Postulate 17. (Area of Polygonal Region) To every polygonal region there corresponds a unique positive number.

Postulate 18. (Area of Congruent Triangles) If two triangles are congruent, then the triangular regions have the same area.

Postulate 19. (Summation of Areas of Regions) Suppose that the region $R$ is the union of two regions $R_1$ and $R_2$. Suppose that $R_1$ and $R_2$ intersect at most in a finite number of segments and points. Then the area of $R$ is the sum of the areas of $R_1$ and $R_2$.

Postulate 20. (Area of a Rectangle) The area of a rectangle is the product of the length of its base and the length of its altitude.

Postulate 21. (Volume of Rectangular Parallelepiped) The volume of a rectangular parallelepiped is equal to the product of the altitude and the area of the base.

Postulate 22. (Cavalieri's Principle) Given two solids and a plane. If for every plane which intersects the solids and is parallel to the given plane the two intersections have equal areas, then the two solids have the same volume.

## Appendix D. The Convoluted Statement of the Pythagorean Theorem in Tarski's $\mathscr{E}_2$

In Section 1, we noted that SST [5] presents the Pythagorean theorem (Theorem 15.8) in the form

$$ \overrightarrow{ab}^2 + \overrightarrow{ac}^2 = \overrightarrow{bc}^2. \qquad (A1) $$

At first glance, this may seem to be the familiar modern algebraic form of the Pythagorean theorem; however, it is not, because the language of $\mathscr{E}_2$ cannot express the length of a segment as a number. The terms $\overrightarrow{ab}^2$, $\overrightarrow{ac}^2$, and $\overrightarrow{bc}^2$ are all abbreviations. The term $\overrightarrow{ab}^2$ means the geometric product of $\overrightarrow{ab}$ and $\overrightarrow{ab}$, denoted by $\overrightarrow{ab} \hat{\times} \overrightarrow{ab}$. Precisely, Equation (A1) should be expanded as

$$ \overrightarrow{ab} \hat{\times} \overrightarrow{ab} + \overrightarrow{ac} \hat{\times} \overrightarrow{ac} = \overrightarrow{bc} \hat{\times} \overrightarrow{bc}, $$

where $\hat{\times}$ and $\hat{\times}$ denote geometric sum and geometric product respectively. These are defined by parallel projections using the segment arithmetic (see the definitions in Section 6).
In what follows, we present the complete sentence corresponding to Equation (A1) after these abbreviations are fully expanded.

Let △**abc** be a triangle with ∠**bac** being a right angle (Figure A6).

(1) Choose an arbitrary point **e**₁ on **ba**. We will take **be**₁ as the unit length.
On line **bc**, locate a point **a**' such that D(**ba'****ba**). Join **e**₁ and **a**' with a line.
Through **a**, draw a line parallel to **a**'**e**₁, and let it intersect **bc** at **s**₁.
By the definition of geometric product, **bs**₁ = **a****b**².

(2) Join **e**₁ and **c** with a line.
On line **ba**, locate a point **c**' such that D(**bc**'**bc**).
Through **c**', draw a line parallel to **ce**₁, and let it intersect **bc** at **s**₃.
By definition, **bs**₃ = **b****c**².

(3) On **ca**, find a point **e**₂ such that D(**ce**₂**be**₁). Hence, **ce**₂ also has unit length.
On line **bc**, locate a point **a**'' such that D(**ca**''**ca**).
Join **a**'' and **e**₂ with a line.
Through **a**, draw a line parallel to **a**''**e**₂, and let it intersect **bc** at **s**₂.
By definition, **cs**₂ = **a****c**².

Finally, Equation (A1) can be expressed as $\mathbf{bs}_1 \mathbf{+} \mathbf{cs}_2 = \mathbf{bs}_3$. To prove this theorem, it suffices to show $\mathbf{s}_1 \mathbf{c}$ is congruent to $\mathbf{s}_3 \mathbf{s}_2$.

<figure><img src="image_40.png" /><figcaption>**Figure A6.** The convoluted statement of the Pythagorean theorem using segment arithmetic: Segment **bs**₃ is equal to the sum of **bs**₁ and **cs**₂.</figcaption></figure>

The preceding description is informal. When the Pythagorean theorem in the form of Equation (A1) is expressed in the formal language of $L(\mathcal{E}_2)$, it becomes:

$$
\begin{align*}
& \forall \mathbf{a} \forall \mathbf{b} \forall \mathbf{c} \forall \mathbf{a}' \forall \mathbf{a}'' \forall \mathbf{c}' \forall \mathbf{e}_1 \forall \mathbf{e}_2 \forall \mathbf{s}_1 \forall \mathbf{s}_2 \forall \mathbf{s}_3 \\
& R(\mathbf{bac}) \wedge [B(\mathbf{be}_1 \mathbf{a}) \vee B(\mathbf{bae}_1)] \wedge [B(\mathbf{ce}_2 \mathbf{a}) \vee B(\mathbf{cae}_2)] \\
& \wedge D(\mathbf{be}_1 \mathbf{ce}_2) \wedge D(\mathbf{ba}' \mathbf{ba}) \wedge D(\mathbf{bc}' \mathbf{bc}) \wedge D(\mathbf{ca}'' \mathbf{ca}) \\
& \wedge L(\mathbf{s}_1 \mathbf{bc}) \wedge L(\mathbf{s}_2 \mathbf{bc}) \wedge L(\mathbf{s}_3 \mathbf{bc}) \\
& \wedge [\mathbf{as}_1 \parallel \mathbf{a}' \mathbf{e}_1] \wedge [\mathbf{as}_2 \parallel \mathbf{a}'' \mathbf{e}_2] \wedge [\mathbf{c}' \mathbf{s}_3 \parallel \mathbf{ce}_1] \\
& \rightarrow \exists \mathbf{q} \ B(\mathbf{bqs}_3) \wedge D(\mathbf{bqbs}_1) \wedge D(\mathbf{qs}_3 \mathbf{cs}_2),
\end{align*}
\tag{A2}
$$

where

* $R(\mathbf{bac})$ is the abbreviation that $\angle \mathbf{bac}$ is a right angle (see Definition 8 in Section 2);
• $\mathbf{pq} \parallel \mathbf{uv}$ (denoting that $\mathbf{pq}$ is parallel to $\mathbf{uv}$) is the abbreviation of

$$ \mathbf{pq} \parallel \mathbf{uv} := \mathbf{p} \neq \mathbf{q} \land \mathbf{u} \neq \mathbf{v} \land \neg \exists t [L(\mathbf{tpq}) \land L(\mathbf{tuv})], $$

where $L(\mathbf{puv})$ (denoting that $\mathbf{p}, \mathbf{u}, \mathbf{v}$ are collinear) is the abbreviation of (recall Definition 2 in Section 2):

$$ L(\mathbf{puv}) := B(\mathbf{puv}) \lor B(\mathbf{uvp}) \lor B(\mathbf{upv}). $$

Equation (A2) is a convoluted formula. In this form, the Pythagorean theorem is not the same theorem as Proposition I.47 in Euclid's *Elements*, and neither theorem implies the other without establishing a nontrivial connection between area and segment arithmetic (see Hartshorne [6] (p. 179)).

The notion of geometric product employed here is a variant of Hilbert's definition, using a skewed frame rather than an orthogonal frame. Although it is not exactly the definition given by SST [5], it is equivalent to it. Had we adopted their definition verbatim (see Figure 26 in Section 6), the formal statement of the Pythagorean theorem would have been even longer.

In contrast, the language of $\mathcal{E}_d$ permits the Pythagorean theorem to be expressed in the simple form

$$ d^2(\mathbf{ab}) + d^2(\mathbf{ac}) = d^2(\mathbf{bc}). $$

This provides part of the motivation for the present paper.

## References

1. Heath, T. *The Thirteen Books of Euclid's Elements*, 2nd ed.; Dover: New York, 1956.

2. Hilbert, D. *Foundations of Geometry*, 2nd ed.; Open Court: La Salle, 1971.

3. Tarski, A. What is elementary geometry? In *The Axiomatic Method with Special Reference to Geometry and Physics, Proceedings of the International Symposium, University of California, Berkeley, CA, USA, 26 December 1957-4 January 1958; Studies in Logic and the Foundations of Mathematics*; Henkin, L., Suppes, P., Tarski, A., Eds.; North-Holland: Amsterdam, 1959; pp. 16-29.

4. Tarski, A.; Givant, S. Tarski's system of geometry. *Bull. Symb. Log.* **1999**, *5*, 175-214.

5. Schwabhäuser, W.; Szmielew, W.; Tarski, A. *Metamathematische Methoden in der Geometrie*; Springer: Berlin, 1983; reprint by Ishi Press: New York, 2011.

6. Hartshorne, R. *Geometry: Euclid and Beyond*; Springer: New York, 2000.

7. Birkhoff, G.D. A set of postulates for plane geometry based on scale and protractor. *Ann. Math.* **1932**, *33*, 239-345.

8. School Mathematics Study Group. *Geometry: Student's Text*; Yale University Press: New Haven, 1961.

9. Epstein, R. *Classical Mathematical Logic*; Princeton University Press: Princeton, 2006.

10. Enderton, H.B. *A Mathematical Introduction to Logic*, 2nd ed.; Harcourt/Academic Press: San Diego, 2001.

**Disclaimer/Publisher's Note:** The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.