Metamath Proof Explorer


Definition df-cgrg

Description: Define the relation of congruence between shapes. Definition 4.4 of Schwabhauser p. 35. A "shape" is a finite sequence of points, and a triangle can be represented as a shape with three points. Two shapes are congruent if all corresponding segments between all corresponding points are congruent.

Many systems of geometry define triangle congruence as requiring both segment congruence and angle congruence. Such systems, such as Hilbert's axiomatic system, typically have a primitive notion of angle congruence in addition to segment congruence. Here, angle congruence is instead a derived notion, defined later in df-cgra and expanded in iscgra . This does not mean our system is weaker; dfcgrg2 proves that these two definitions are equivalent, and using the Tarski definition instead (given in Schwabhauser p. 35) is simpler. Once two triangles are proven congruent as defined here, you can use various theorems to prove that corresponding parts of congruent triangles are congruent (CPCTC). For example, see cgr3simp1 , cgr3simp2 , cgr3simp3 , cgrcgra , and permutation laws such as cgr3swap12 and dfcgrg2 .

Ideally, we would define this for functions of any set, but we will use words (see df-word ) in most cases.

(Contributed by Thierry Arnoux, 3-Apr-2019)

Ref Expression
Assertion df-cgrg
|- cgrG = ( g e. _V |-> { <. a , b >. | ( ( a e. ( ( Base ` g ) ^pm RR ) /\ b e. ( ( Base ` g ) ^pm RR ) ) /\ ( dom a = dom b /\ A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) ) ) ) } )

Detailed syntax breakdown

Step Hyp Ref Expression
0 ccgrg
 |-  cgrG
1 vg
 |-  g
2 cvv
 |-  _V
3 va
 |-  a
4 vb
 |-  b
5 3 cv
 |-  a
6 cbs
 |-  Base
7 1 cv
 |-  g
8 7 6 cfv
 |-  ( Base ` g )
9 cpm
 |-  ^pm
10 cr
 |-  RR
11 8 10 9 co
 |-  ( ( Base ` g ) ^pm RR )
12 5 11 wcel
 |-  a e. ( ( Base ` g ) ^pm RR )
13 4 cv
 |-  b
14 13 11 wcel
 |-  b e. ( ( Base ` g ) ^pm RR )
15 12 14 wa
 |-  ( a e. ( ( Base ` g ) ^pm RR ) /\ b e. ( ( Base ` g ) ^pm RR ) )
16 5 cdm
 |-  dom a
17 13 cdm
 |-  dom b
18 16 17 wceq
 |-  dom a = dom b
19 vi
 |-  i
20 vj
 |-  j
21 19 cv
 |-  i
22 21 5 cfv
 |-  ( a ` i )
23 cds
 |-  dist
24 7 23 cfv
 |-  ( dist ` g )
25 20 cv
 |-  j
26 25 5 cfv
 |-  ( a ` j )
27 22 26 24 co
 |-  ( ( a ` i ) ( dist ` g ) ( a ` j ) )
28 21 13 cfv
 |-  ( b ` i )
29 25 13 cfv
 |-  ( b ` j )
30 28 29 24 co
 |-  ( ( b ` i ) ( dist ` g ) ( b ` j ) )
31 27 30 wceq
 |-  ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) )
32 31 20 16 wral
 |-  A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) )
33 32 19 16 wral
 |-  A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) )
34 18 33 wa
 |-  ( dom a = dom b /\ A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) ) )
35 15 34 wa
 |-  ( ( a e. ( ( Base ` g ) ^pm RR ) /\ b e. ( ( Base ` g ) ^pm RR ) ) /\ ( dom a = dom b /\ A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) ) ) )
36 35 3 4 copab
 |-  { <. a , b >. | ( ( a e. ( ( Base ` g ) ^pm RR ) /\ b e. ( ( Base ` g ) ^pm RR ) ) /\ ( dom a = dom b /\ A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) ) ) ) }
37 1 2 36 cmpt
 |-  ( g e. _V |-> { <. a , b >. | ( ( a e. ( ( Base ` g ) ^pm RR ) /\ b e. ( ( Base ` g ) ^pm RR ) ) /\ ( dom a = dom b /\ A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) ) ) ) } )
38 0 37 wceq
 |-  cgrG = ( g e. _V |-> { <. a , b >. | ( ( a e. ( ( Base ` g ) ^pm RR ) /\ b e. ( ( Base ` g ) ^pm RR ) ) /\ ( dom a = dom b /\ A. i e. dom a A. j e. dom a ( ( a ` i ) ( dist ` g ) ( a ` j ) ) = ( ( b ` i ) ( dist ` g ) ( b ` j ) ) ) ) } )