MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  iscgrg Structured version   Unicode version

Theorem iscgrg 24030
Description: The congruence property for sequences of points. (Contributed by Thierry Arnoux, 3-Apr-2019.)
Hypotheses
Ref Expression
iscgrg.p  |-  P  =  ( Base `  G
)
iscgrg.m  |-  .-  =  ( dist `  G )
iscgrg.e  |-  .~  =  (cgrG `  G )
Assertion
Ref Expression
iscgrg  |-  ( G  e.  V  ->  ( A  .~  B  <->  ( ( A  e.  ( P  ^pm  RR )  /\  B  e.  ( P  ^pm  RR ) )  /\  ( dom  A  =  dom  B  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( B `  i ) 
.-  ( B `  j ) ) ) ) ) )
Distinct variable groups:    i, j, G    A, i, j    B, i, j
Allowed substitution hints:    P( i, j)    .~ ( i, j)    .- ( i, j)    V( i, j)

Proof of Theorem iscgrg
Dummy variables  a 
b  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 iscgrg.e . . . 4  |-  .~  =  (cgrG `  G )
2 elex 3118 . . . . 5  |-  ( G  e.  V  ->  G  e.  _V )
3 fveq2 5872 . . . . . . . . . . . 12  |-  ( g  =  G  ->  ( Base `  g )  =  ( Base `  G
) )
4 iscgrg.p . . . . . . . . . . . 12  |-  P  =  ( Base `  G
)
53, 4syl6eqr 2516 . . . . . . . . . . 11  |-  ( g  =  G  ->  ( Base `  g )  =  P )
65oveq1d 6311 . . . . . . . . . 10  |-  ( g  =  G  ->  (
( Base `  g )  ^pm  RR )  =  ( P  ^pm  RR )
)
76eleq2d 2527 . . . . . . . . 9  |-  ( g  =  G  ->  (
a  e.  ( (
Base `  g )  ^pm  RR )  <->  a  e.  ( P  ^pm  RR ) ) )
86eleq2d 2527 . . . . . . . . 9  |-  ( g  =  G  ->  (
b  e.  ( (
Base `  g )  ^pm  RR )  <->  b  e.  ( P  ^pm  RR ) ) )
97, 8anbi12d 710 . . . . . . . 8  |-  ( g  =  G  ->  (
( a  e.  ( ( Base `  g
)  ^pm  RR )  /\  b  e.  (
( Base `  g )  ^pm  RR ) )  <->  ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR )
) ) )
10 fveq2 5872 . . . . . . . . . . . . 13  |-  ( g  =  G  ->  ( dist `  g )  =  ( dist `  G
) )
11 iscgrg.m . . . . . . . . . . . . 13  |-  .-  =  ( dist `  G )
1210, 11syl6eqr 2516 . . . . . . . . . . . 12  |-  ( g  =  G  ->  ( dist `  g )  = 
.-  )
1312oveqd 6313 . . . . . . . . . . 11  |-  ( g  =  G  ->  (
( a `  i
) ( dist `  g
) ( a `  j ) )  =  ( ( a `  i )  .-  (
a `  j )
) )
1412oveqd 6313 . . . . . . . . . . 11  |-  ( g  =  G  ->  (
( b `  i
) ( dist `  g
) ( b `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) )
1513, 14eqeq12d 2479 . . . . . . . . . 10  |-  ( g  =  G  ->  (
( ( a `  i ) ( dist `  g ) ( a `
 j ) )  =  ( ( b `
 i ) (
dist `  g )
( b `  j
) )  <->  ( (
a `  i )  .-  ( a `  j
) )  =  ( ( b `  i
)  .-  ( b `  j ) ) ) )
16152ralbidv 2901 . . . . . . . . 9  |-  ( g  =  G  ->  ( A. i  e.  dom  a A. j  e.  dom  a ( ( a `
 i ) (
dist `  g )
( a `  j
) )  =  ( ( b `  i
) ( dist `  g
) ( b `  j ) )  <->  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) )
1716anbi2d 703 . . . . . . . 8  |-  ( g  =  G  ->  (
( 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 ) ) )  <->  ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) )
189, 17anbi12d 710 . . . . . . 7  |-  ( g  =  G  ->  (
( ( 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 ) ) ) )  <->  ( (
a  e.  ( P 
^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) ) )
1918opabbidv 4520 . . . . . 6  |-  ( g  =  G  ->  { <. 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 ) ) ) ) }  =  { <. a ,  b
>.  |  ( (
a  e.  ( P 
^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } )
20 df-cgrg 24029 . . . . . 6  |- 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 ) ) ) ) } )
21 df-xp 5014 . . . . . . . 8  |-  ( ( P  ^pm  RR )  X.  ( P  ^pm  RR ) )  =  { <. a ,  b >.  |  ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR )
) }
22 ovex 6324 . . . . . . . . 9  |-  ( P 
^pm  RR )  e.  _V
2322, 22xpex 6603 . . . . . . . 8  |-  ( ( P  ^pm  RR )  X.  ( P  ^pm  RR ) )  e.  _V
2421, 23eqeltrri 2542 . . . . . . 7  |-  { <. a ,  b >.  |  ( a  e.  ( P 
^pm  RR )  /\  b  e.  ( P  ^pm  RR ) ) }  e.  _V
25 simpl 457 . . . . . . . 8  |-  ( ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) )  -> 
( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) ) )
2625ssopab2i 4784 . . . . . . 7  |-  { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } 
C_  { <. a ,  b >.  |  ( a  e.  ( P 
^pm  RR )  /\  b  e.  ( P  ^pm  RR ) ) }
2724, 26ssexi 4601 . . . . . 6  |-  { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) }  e.  _V
2819, 20, 27fvmpt 5956 . . . . 5  |-  ( G  e.  _V  ->  (cgrG `  G )  =  { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } )
292, 28syl 16 . . . 4  |-  ( G  e.  V  ->  (cgrG `  G )  =  { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } )
301, 29syl5eq 2510 . . 3  |-  ( G  e.  V  ->  .~  =  { <. a ,  b
>.  |  ( (
a  e.  ( P 
^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } )
3130breqd 4467 . 2  |-  ( G  e.  V  ->  ( A  .~  B  <->  A { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } B ) )
32 dmeq 5213 . . . . . 6  |-  ( a  =  A  ->  dom  a  =  dom  A )
3332eqeq1d 2459 . . . . 5  |-  ( a  =  A  ->  ( dom  a  =  dom  b 
<->  dom  A  =  dom  b ) )
3432adantr 465 . . . . . . 7  |-  ( ( a  =  A  /\  i  e.  dom  a )  ->  dom  a  =  dom  A )
35 simpll 753 . . . . . . . . . 10  |-  ( ( ( a  =  A  /\  i  e.  dom  a )  /\  j  e.  dom  a )  -> 
a  =  A )
3635fveq1d 5874 . . . . . . . . 9  |-  ( ( ( a  =  A  /\  i  e.  dom  a )  /\  j  e.  dom  a )  -> 
( a `  i
)  =  ( A `
 i ) )
3735fveq1d 5874 . . . . . . . . 9  |-  ( ( ( a  =  A  /\  i  e.  dom  a )  /\  j  e.  dom  a )  -> 
( a `  j
)  =  ( A `
 j ) )
3836, 37oveq12d 6314 . . . . . . . 8  |-  ( ( ( a  =  A  /\  i  e.  dom  a )  /\  j  e.  dom  a )  -> 
( ( a `  i )  .-  (
a `  j )
)  =  ( ( A `  i ) 
.-  ( A `  j ) ) )
3938eqeq1d 2459 . . . . . . 7  |-  ( ( ( a  =  A  /\  i  e.  dom  a )  /\  j  e.  dom  a )  -> 
( ( ( a `
 i )  .-  ( a `  j
) )  =  ( ( b `  i
)  .-  ( b `  j ) )  <->  ( ( A `  i )  .-  ( A `  j
) )  =  ( ( b `  i
)  .-  ( b `  j ) ) ) )
4034, 39raleqbidva 3070 . . . . . 6  |-  ( ( a  =  A  /\  i  e.  dom  a )  ->  ( A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
)  <->  A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( b `  i ) 
.-  ( b `  j ) ) ) )
4132, 40raleqbidva 3070 . . . . 5  |-  ( a  =  A  ->  ( A. i  e.  dom  a A. j  e.  dom  a ( ( a `
 i )  .-  ( a `  j
) )  =  ( ( b `  i
)  .-  ( b `  j ) )  <->  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i ) 
.-  ( A `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) )
4233, 41anbi12d 710 . . . 4  |-  ( a  =  A  ->  (
( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) )  <->  ( dom  A  =  dom  b  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( b `  i ) 
.-  ( b `  j ) ) ) ) )
43 dmeq 5213 . . . . . 6  |-  ( b  =  B  ->  dom  b  =  dom  B )
4443eqeq2d 2471 . . . . 5  |-  ( b  =  B  ->  ( dom  A  =  dom  b  <->  dom 
A  =  dom  B
) )
45 fveq1 5871 . . . . . . . 8  |-  ( b  =  B  ->  (
b `  i )  =  ( B `  i ) )
46 fveq1 5871 . . . . . . . 8  |-  ( b  =  B  ->  (
b `  j )  =  ( B `  j ) )
4745, 46oveq12d 6314 . . . . . . 7  |-  ( b  =  B  ->  (
( b `  i
)  .-  ( b `  j ) )  =  ( ( B `  i )  .-  ( B `  j )
) )
4847eqeq2d 2471 . . . . . 6  |-  ( b  =  B  ->  (
( ( A `  i )  .-  ( A `  j )
)  =  ( ( b `  i ) 
.-  ( b `  j ) )  <->  ( ( A `  i )  .-  ( A `  j
) )  =  ( ( B `  i
)  .-  ( B `  j ) ) ) )
49482ralbidv 2901 . . . . 5  |-  ( b  =  B  ->  ( A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( b `  i ) 
.-  ( b `  j ) )  <->  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i ) 
.-  ( A `  j ) )  =  ( ( B `  i )  .-  ( B `  j )
) ) )
5044, 49anbi12d 710 . . . 4  |-  ( b  =  B  ->  (
( dom  A  =  dom  b  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i ) 
.-  ( A `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) )  <->  ( dom  A  =  dom  B  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( B `  i ) 
.-  ( B `  j ) ) ) ) )
5142, 50sylan9bb 699 . . 3  |-  ( ( a  =  A  /\  b  =  B )  ->  ( ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) )  <->  ( dom  A  =  dom  B  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( B `  i ) 
.-  ( B `  j ) ) ) ) )
52 eqid 2457 . . 3  |-  { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) }  =  { <. a ,  b >.  |  ( ( a  e.  ( P  ^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e.  dom  a A. j  e.  dom  a ( ( a `  i
)  .-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) }
5351, 52brab2a 5058 . 2  |-  ( A { <. a ,  b
>.  |  ( (
a  e.  ( P 
^pm  RR )  /\  b  e.  ( P  ^pm  RR ) )  /\  ( dom  a  =  dom  b  /\  A. i  e. 
dom  a A. j  e.  dom  a ( ( a `  i ) 
.-  ( a `  j ) )  =  ( ( b `  i )  .-  (
b `  j )
) ) ) } B  <->  ( ( A  e.  ( P  ^pm  RR )  /\  B  e.  ( P  ^pm  RR ) )  /\  ( dom  A  =  dom  B  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( B `  i ) 
.-  ( B `  j ) ) ) ) )
5431, 53syl6bb 261 1  |-  ( G  e.  V  ->  ( A  .~  B  <->  ( ( A  e.  ( P  ^pm  RR )  /\  B  e.  ( P  ^pm  RR ) )  /\  ( dom  A  =  dom  B  /\  A. i  e.  dom  A A. j  e.  dom  A ( ( A `  i )  .-  ( A `  j )
)  =  ( ( B `  i ) 
.-  ( B `  j ) ) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1395    e. wcel 1819   A.wral 2807   _Vcvv 3109   class class class wbr 4456   {copab 4514    X. cxp 5006   dom cdm 5008   ` cfv 5594  (class class class)co 6296    ^pm cpm 7439   RRcr 9508   Basecbs 14644   distcds 14721  cgrGccgrg 24028
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-8 1821  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-sep 4578  ax-nul 4586  ax-pow 4634  ax-pr 4695  ax-un 6591
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1398  df-ex 1614  df-nf 1618  df-sb 1741  df-eu 2287  df-mo 2288  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-ral 2812  df-rex 2813  df-rab 2816  df-v 3111  df-sbc 3328  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-nul 3794  df-if 3945  df-pw 4017  df-sn 4033  df-pr 4035  df-op 4039  df-uni 4252  df-br 4457  df-opab 4516  df-mpt 4517  df-id 4804  df-xp 5014  df-rel 5015  df-cnv 5016  df-co 5017  df-dm 5018  df-iota 5557  df-fun 5596  df-fv 5602  df-ov 6299  df-cgrg 24029
This theorem is referenced by:  iscgrgd  24031  ercgrg  24034
  Copyright terms: Public domain W3C validator