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

Theorem axcgrtr 23159
Description: Congruence is transitive. Axiom A2 of [Schwabhauser] p. 10. (Contributed by Scott Fenton, 3-Jun-2013.)
Assertion
Ref Expression
axcgrtr  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  (
( <. A ,  B >.Cgr
<. C ,  D >.  /\ 
<. A ,  B >.Cgr <. E ,  F >. )  ->  <. C ,  D >.Cgr
<. E ,  F >. ) )

Proof of Theorem axcgrtr
Dummy variable  i is distinct from all other variables.
StepHypRef Expression
1 eqtr2 2459 . . 3  |-  ( (
sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( D `  i ) ) ^ 2 )  /\  sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) )  ->  sum_ i  e.  ( 1 ... N
) ( ( ( C `  i )  -  ( D `  i ) ) ^
2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `  i )  -  ( F `  i )
) ^ 2 ) )
2 simpl1 991 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  A  e.  ( EE `  N
) )
3 simpl2 992 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  B  e.  ( EE `  N
) )
4 simpl3 993 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  C  e.  ( EE `  N
) )
5 simpr1 994 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  D  e.  ( EE `  N
) )
6 brcgr 23144 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  -> 
( <. A ,  B >.Cgr
<. C ,  D >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( D `  i ) ) ^ 2 ) ) )
72, 3, 4, 5, 6syl22anc 1219 . . . . 5  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  ( <. A ,  B >.Cgr <. C ,  D >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( D `  i ) ) ^ 2 ) ) )
8 simpr2 995 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  E  e.  ( EE `  N
) )
9 simpr3 996 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  F  e.  ( EE `  N
) )
10 brcgr 23144 . . . . . 6  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( E  e.  ( EE `  N )  /\  F  e.  ( EE `  N
) ) )  -> 
( <. A ,  B >.Cgr
<. E ,  F >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) ) )
112, 3, 8, 9, 10syl22anc 1219 . . . . 5  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  ( <. A ,  B >.Cgr <. E ,  F >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) ) )
127, 11anbi12d 710 . . . 4  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  (
( <. A ,  B >.Cgr
<. C ,  D >.  /\ 
<. A ,  B >.Cgr <. E ,  F >. )  <-> 
( sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( D `  i ) ) ^ 2 )  /\  sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) ) ) )
13 brcgr 23144 . . . . 5  |-  ( ( ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) )  /\  ( E  e.  ( EE `  N )  /\  F  e.  ( EE `  N
) ) )  -> 
( <. C ,  D >.Cgr
<. E ,  F >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( C `  i )  -  ( D `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) ) )
144, 5, 8, 9, 13syl22anc 1219 . . . 4  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  ( <. C ,  D >.Cgr <. E ,  F >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( C `  i )  -  ( D `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) ) )
1512, 14imbi12d 320 . . 3  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  (
( ( <. A ,  B >.Cgr <. C ,  D >.  /\  <. A ,  B >.Cgr
<. E ,  F >. )  ->  <. C ,  D >.Cgr
<. E ,  F >. )  <-> 
( ( sum_ i  e.  ( 1 ... N
) ( ( ( A `  i )  -  ( B `  i ) ) ^
2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `  i )  -  ( D `  i )
) ^ 2 )  /\  sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `
 i )  -  ( F `  i ) ) ^ 2 ) )  ->  sum_ i  e.  ( 1 ... N
) ( ( ( C `  i )  -  ( D `  i ) ) ^
2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( E `  i )  -  ( F `  i )
) ^ 2 ) ) ) )
161, 15mpbiri 233 . 2  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  (
( <. A ,  B >.Cgr
<. C ,  D >.  /\ 
<. A ,  B >.Cgr <. E ,  F >. )  ->  <. C ,  D >.Cgr
<. E ,  F >. ) )
17163adant1 1006 1  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  /\  ( D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
)  /\  F  e.  ( EE `  N ) ) )  ->  (
( <. A ,  B >.Cgr
<. C ,  D >.  /\ 
<. A ,  B >.Cgr <. E ,  F >. )  ->  <. C ,  D >.Cgr
<. E ,  F >. ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756   <.cop 3881   class class class wbr 4290   ` cfv 5416  (class class class)co 6089   1c1 9281    - cmin 9593   NNcn 10320   2c2 10369   ...cfz 11435   ^cexp 11863   sum_csu 13161   EEcee 23132  Cgrccgr 23134
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2422  ax-sep 4411  ax-nul 4419  ax-pow 4468  ax-pr 4529  ax-un 6370  ax-cnex 9336  ax-resscn 9337  ax-1cn 9338  ax-icn 9339  ax-addcl 9340  ax-addrcl 9341  ax-mulcl 9342  ax-mulrcl 9343  ax-mulcom 9344  ax-addass 9345  ax-mulass 9346  ax-distr 9347  ax-i2m1 9348  ax-1ne0 9349  ax-1rid 9350  ax-rnegex 9351  ax-rrecex 9352  ax-cnre 9353  ax-pre-lttri 9354  ax-pre-lttrn 9355  ax-pre-ltadd 9356  ax-pre-mulgt0 9357
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-fal 1375  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2428  df-cleq 2434  df-clel 2437  df-nfc 2566  df-ne 2606  df-nel 2607  df-ral 2718  df-rex 2719  df-reu 2720  df-rab 2722  df-v 2972  df-sbc 3185  df-csb 3287  df-dif 3329  df-un 3331  df-in 3333  df-ss 3340  df-pss 3342  df-nul 3636  df-if 3790  df-pw 3860  df-sn 3876  df-pr 3878  df-tp 3880  df-op 3882  df-uni 4090  df-iun 4171  df-br 4291  df-opab 4349  df-mpt 4350  df-tr 4384  df-eprel 4630  df-id 4634  df-po 4639  df-so 4640  df-fr 4677  df-we 4679  df-ord 4720  df-on 4721  df-lim 4722  df-suc 4723  df-xp 4844  df-rel 4845  df-cnv 4846  df-co 4847  df-dm 4848  df-rn 4849  df-res 4850  df-ima 4851  df-iota 5379  df-fun 5418  df-fn 5419  df-f 5420  df-f1 5421  df-fo 5422  df-f1o 5423  df-fv 5424  df-riota 6050  df-ov 6092  df-oprab 6093  df-mpt2 6094  df-om 6475  df-1st 6575  df-2nd 6576  df-recs 6830  df-rdg 6864  df-er 7099  df-map 7214  df-en 7309  df-dom 7310  df-sdom 7311  df-pnf 9418  df-mnf 9419  df-xr 9420  df-ltxr 9421  df-le 9422  df-sub 9595  df-neg 9596  df-nn 10321  df-n0 10578  df-z 10645  df-uz 10860  df-fz 11436  df-seq 11805  df-sum 13162  df-ee 23135  df-cgr 23137
This theorem is referenced by:  cgrtr4d  28014  cgrcoml  28025  cgr3tr4  28081
  Copyright terms: Public domain W3C validator