Metamath Proof Explorer


Definition df-trkg

Description: Define the class of Tarski geometries. A Tarski geometry is a set of points, equipped with a betweenness relation (denoting that a point lies on a line segment between two other points) and a congruence relation (denoting equality of line segment lengths).

Here, we are using the following:

With this definition, the axiom A2 is actually equivalent to the transitivity of addition, eqtrd .

Tarski originally had more axioms, but later reduced his list to 11:

Our definition is split into 5 parts:

So our definition of a Tarskian Geometry includes the 3 axioms for the quaternary congruence relation (A1, A2, A3), the 3 axioms for the ternary betweenness relation (A6, A7, A11), and the 2 axioms of compatibility of the congruence and the betweenness relations (A4,A5).

It does not include Euclid's axiom A10, nor the 2-dimensional axioms A8 (Lower dimension axiom) and A9 (Upper dimension axiom) so the number of dimensions of the geometry it formalizes is not constrained.

Considering A2 as one of the 3 axioms for the quaternary congruence relation is somewhat conventional, because the transitivity of the congruence relation is automatically given by our choice to take the distance as this congruence relation in our definition of Tarski geometries. (Contributed by Thierry Arnoux, 24-Aug-2017) (Revised by Thierry Arnoux, 27-Apr-2019)

Ref Expression
Assertion df-trkg
|- TarskiG = ( ( TarskiGC i^i TarskiGB ) i^i ( TarskiGCB i^i { f | [. ( Base ` f ) / p ]. [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } ) } ) )

Detailed syntax breakdown

Step Hyp Ref Expression
0 cstrkg
 |-  TarskiG
1 cstrkgc
 |-  TarskiGC
2 cstrkgb
 |-  TarskiGB
3 1 2 cin
 |-  ( TarskiGC i^i TarskiGB )
4 cstrkgcb
 |-  TarskiGCB
5 vf
 |-  f
6 cbs
 |-  Base
7 5 cv
 |-  f
8 7 6 cfv
 |-  ( Base ` f )
9 vp
 |-  p
10 citv
 |-  Itv
11 7 10 cfv
 |-  ( Itv ` f )
12 vi
 |-  i
13 clng
 |-  LineG
14 7 13 cfv
 |-  ( LineG ` f )
15 vx
 |-  x
16 9 cv
 |-  p
17 vy
 |-  y
18 15 cv
 |-  x
19 18 csn
 |-  { x }
20 16 19 cdif
 |-  ( p \ { x } )
21 vz
 |-  z
22 21 cv
 |-  z
23 12 cv
 |-  i
24 17 cv
 |-  y
25 18 24 23 co
 |-  ( x i y )
26 22 25 wcel
 |-  z e. ( x i y )
27 22 24 23 co
 |-  ( z i y )
28 18 27 wcel
 |-  x e. ( z i y )
29 18 22 23 co
 |-  ( x i z )
30 24 29 wcel
 |-  y e. ( x i z )
31 26 28 30 w3o
 |-  ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) )
32 31 21 16 crab
 |-  { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) }
33 15 17 16 20 32 cmpo
 |-  ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } )
34 14 33 wceq
 |-  ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } )
35 34 12 11 wsbc
 |-  [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } )
36 35 9 8 wsbc
 |-  [. ( Base ` f ) / p ]. [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } )
37 36 5 cab
 |-  { f | [. ( Base ` f ) / p ]. [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } ) }
38 4 37 cin
 |-  ( TarskiGCB i^i { f | [. ( Base ` f ) / p ]. [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } ) } )
39 3 38 cin
 |-  ( ( TarskiGC i^i TarskiGB ) i^i ( TarskiGCB i^i { f | [. ( Base ` f ) / p ]. [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } ) } ) )
40 0 39 wceq
 |-  TarskiG = ( ( TarskiGC i^i TarskiGB ) i^i ( TarskiGCB i^i { f | [. ( Base ` f ) / p ]. [. ( Itv ` f ) / i ]. ( LineG ` f ) = ( x e. p , y e. ( p \ { x } ) |-> { z e. p | ( z e. ( x i y ) \/ x e. ( z i y ) \/ y e. ( x i z ) ) } ) } ) )