Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  axcgrid Unicode version

Theorem axcgrid 24544
Description: If there is no distance between  A and  B, then  A  =  B. Axiom A3 of [Schwabhauser] p. 10. (Contributed by Scott Fenton, 3-Jun-2013.)
Assertion
Ref Expression
axcgrid  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) ) )  -> 
( <. A ,  B >.Cgr
<. C ,  C >.  ->  A  =  B )
)

Proof of Theorem axcgrid
Dummy variable  i is distinct from all other variables.
StepHypRef Expression
1 fveecn 24530 . . . . . . . . . 10  |-  ( ( C  e.  ( EE
`  N )  /\  i  e.  ( 1 ... N ) )  ->  ( C `  i )  e.  CC )
2 subid 9067 . . . . . . . . . . . 12  |-  ( ( C `  i )  e.  CC  ->  (
( C `  i
)  -  ( C `
 i ) )  =  0 )
32oveq1d 5873 . . . . . . . . . . 11  |-  ( ( C `  i )  e.  CC  ->  (
( ( C `  i )  -  ( C `  i )
) ^ 2 )  =  ( 0 ^ 2 ) )
4 sq0 11195 . . . . . . . . . . 11  |-  ( 0 ^ 2 )  =  0
53, 4syl6eq 2331 . . . . . . . . . 10  |-  ( ( C `  i )  e.  CC  ->  (
( ( C `  i )  -  ( C `  i )
) ^ 2 )  =  0 )
61, 5syl 15 . . . . . . . . 9  |-  ( ( C  e.  ( EE
`  N )  /\  i  e.  ( 1 ... N ) )  ->  ( ( ( C `  i )  -  ( C `  i ) ) ^
2 )  =  0 )
76sumeq2dv 12176 . . . . . . . 8  |-  ( C  e.  ( EE `  N )  ->  sum_ i  e.  ( 1 ... N
) ( ( ( C `  i )  -  ( C `  i ) ) ^
2 )  =  sum_ i  e.  ( 1 ... N ) 0 )
8 fzfid 11035 . . . . . . . . 9  |-  ( C  e.  ( EE `  N )  ->  (
1 ... N )  e. 
Fin )
9 sumz 12195 . . . . . . . . . 10  |-  ( ( ( 1 ... N
)  C_  ( ZZ>= ` 
1 )  \/  (
1 ... N )  e. 
Fin )  ->  sum_ i  e.  ( 1 ... N
) 0  =  0 )
109olcs 384 . . . . . . . . 9  |-  ( ( 1 ... N )  e.  Fin  ->  sum_ i  e.  ( 1 ... N
) 0  =  0 )
118, 10syl 15 . . . . . . . 8  |-  ( C  e.  ( EE `  N )  ->  sum_ i  e.  ( 1 ... N
) 0  =  0 )
127, 11eqtrd 2315 . . . . . . 7  |-  ( C  e.  ( EE `  N )  ->  sum_ i  e.  ( 1 ... N
) ( ( ( C `  i )  -  ( C `  i ) ) ^
2 )  =  0 )
13123ad2ant3 978 . . . . . 6  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  sum_ i  e.  ( 1 ... N
) ( ( ( C `  i )  -  ( C `  i ) ) ^
2 )  =  0 )
1413eqeq2d 2294 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( C `  i ) ) ^ 2 )  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  0 ) )
15 fzfid 11035 . . . . . . . 8  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  -> 
( 1 ... N
)  e.  Fin )
16 fveere 24529 . . . . . . . . . . 11  |-  ( ( A  e.  ( EE
`  N )  /\  i  e.  ( 1 ... N ) )  ->  ( A `  i )  e.  RR )
1716adantlr 695 . . . . . . . . . 10  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  i  e.  ( 1 ... N
) )  ->  ( A `  i )  e.  RR )
18 fveere 24529 . . . . . . . . . . 11  |-  ( ( B  e.  ( EE
`  N )  /\  i  e.  ( 1 ... N ) )  ->  ( B `  i )  e.  RR )
1918adantll 694 . . . . . . . . . 10  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  i  e.  ( 1 ... N
) )  ->  ( B `  i )  e.  RR )
2017, 19resubcld 9211 . . . . . . . . 9  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  i  e.  ( 1 ... N
) )  ->  (
( A `  i
)  -  ( B `
 i ) )  e.  RR )
2120resqcld 11271 . . . . . . . 8  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  i  e.  ( 1 ... N
) )  ->  (
( ( A `  i )  -  ( B `  i )
) ^ 2 )  e.  RR )
2220sqge0d 11272 . . . . . . . 8  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  i  e.  ( 1 ... N
) )  ->  0  <_  ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 ) )
2315, 21, 22fsum00 12256 . . . . . . 7  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  -> 
( sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  0  <->  A. i  e.  ( 1 ... N
) ( ( ( A `  i )  -  ( B `  i ) ) ^
2 )  =  0 ) )
24 fveecn 24530 . . . . . . . . . 10  |-  ( ( A  e.  ( EE
`  N )  /\  i  e.  ( 1 ... N ) )  ->  ( A `  i )  e.  CC )
25 fveecn 24530 . . . . . . . . . 10  |-  ( ( B  e.  ( EE
`  N )  /\  i  e.  ( 1 ... N ) )  ->  ( B `  i )  e.  CC )
26 subcl 9051 . . . . . . . . . . . 12  |-  ( ( ( A `  i
)  e.  CC  /\  ( B `  i )  e.  CC )  -> 
( ( A `  i )  -  ( B `  i )
)  e.  CC )
27 sqeq0 11168 . . . . . . . . . . . 12  |-  ( ( ( A `  i
)  -  ( B `
 i ) )  e.  CC  ->  (
( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  0  <->  ( ( A `  i )  -  ( B `  i ) )  =  0 ) )
2826, 27syl 15 . . . . . . . . . . 11  |-  ( ( ( A `  i
)  e.  CC  /\  ( B `  i )  e.  CC )  -> 
( ( ( ( A `  i )  -  ( B `  i ) ) ^
2 )  =  0  <-> 
( ( A `  i )  -  ( B `  i )
)  =  0 ) )
29 subeq0 9073 . . . . . . . . . . 11  |-  ( ( ( A `  i
)  e.  CC  /\  ( B `  i )  e.  CC )  -> 
( ( ( A `
 i )  -  ( B `  i ) )  =  0  <->  ( A `  i )  =  ( B `  i ) ) )
3028, 29bitrd 244 . . . . . . . . . 10  |-  ( ( ( A `  i
)  e.  CC  /\  ( B `  i )  e.  CC )  -> 
( ( ( ( A `  i )  -  ( B `  i ) ) ^
2 )  =  0  <-> 
( A `  i
)  =  ( B `
 i ) ) )
3124, 25, 30syl2an 463 . . . . . . . . 9  |-  ( ( ( A  e.  ( EE `  N )  /\  i  e.  ( 1 ... N ) )  /\  ( B  e.  ( EE `  N )  /\  i  e.  ( 1 ... N
) ) )  -> 
( ( ( ( A `  i )  -  ( B `  i ) ) ^
2 )  =  0  <-> 
( A `  i
)  =  ( B `
 i ) ) )
3231anandirs 804 . . . . . . . 8  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  i  e.  ( 1 ... N
) )  ->  (
( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  0  <->  ( A `  i )  =  ( B `  i ) ) )
3332ralbidva 2559 . . . . . . 7  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  -> 
( A. i  e.  ( 1 ... N
) ( ( ( A `  i )  -  ( B `  i ) ) ^
2 )  =  0  <->  A. i  e.  (
1 ... N ) ( A `  i )  =  ( B `  i ) ) )
3423, 33bitrd 244 . . . . . 6  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  -> 
( sum_ i  e.  ( 1 ... N ) ( ( ( A `
 i )  -  ( B `  i ) ) ^ 2 )  =  0  <->  A. i  e.  ( 1 ... N
) ( A `  i )  =  ( B `  i ) ) )
35343adant3 975 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  0  <->  A. i  e.  ( 1 ... N
) ( A `  i )  =  ( B `  i ) ) )
3614, 35bitrd 244 . . . 4  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( C `  i ) ) ^ 2 )  <->  A. i  e.  (
1 ... N ) ( A `  i )  =  ( B `  i ) ) )
37 simp1 955 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  A  e.  ( EE `  N
) )
38 simp2 956 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  B  e.  ( EE `  N
) )
39 simp3 957 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  C  e.  ( EE `  N
) )
40 brcgr 24528 . . . . 5  |-  ( ( ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) ) )  -> 
( <. A ,  B >.Cgr
<. C ,  C >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( C `  i ) ) ^ 2 ) ) )
4137, 38, 39, 39, 40syl22anc 1183 . . . 4  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( <. A ,  B >.Cgr <. C ,  C >.  <->  sum_ i  e.  ( 1 ... N ) ( ( ( A `  i )  -  ( B `  i )
) ^ 2 )  =  sum_ i  e.  ( 1 ... N ) ( ( ( C `
 i )  -  ( C `  i ) ) ^ 2 ) ) )
42 eqeefv 24531 . . . . 5  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N ) )  -> 
( A  =  B  <->  A. i  e.  (
1 ... N ) ( A `  i )  =  ( B `  i ) ) )
43423adant3 975 . . . 4  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( A  =  B  <->  A. i  e.  ( 1 ... N
) ( A `  i )  =  ( B `  i ) ) )
4436, 41, 433bitr4d 276 . . 3  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( <. A ,  B >.Cgr <. C ,  C >.  <->  A  =  B ) )
4544biimpd 198 . 2  |-  ( ( A  e.  ( EE
`  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  ->  ( <. A ,  B >.Cgr <. C ,  C >.  ->  A  =  B )
)
4645adantl 452 1  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) ) )  -> 
( <. A ,  B >.Cgr
<. C ,  C >.  ->  A  =  B )
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   A.wral 2543    C_ wss 3152   <.cop 3643   class class class wbr 4023   ` cfv 5255  (class class class)co 5858   Fincfn 6863   CCcc 8735   RRcr 8736   0cc0 8737   1c1 8738    - cmin 9037   NNcn 9746   2c2 9795   ZZ>=cuz 10230   ...cfz 10782   ^cexp 11104   sum_csu 12158   EEcee 24516  Cgrccgr 24518
This theorem is referenced by:  cgrtriv  24625  cgrid2  24626  cgrdegen  24627  segconeq  24633  btwntriv2  24635  btwnconn1lem7  24716  btwnconn1lem11  24720  btwnconn1lem12  24721
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7342  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-se 4353  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-isom 5264  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-oadd 6483  df-er 6660  df-map 6774  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-oi 7225  df-card 7572  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-n0 9966  df-z 10025  df-uz 10231  df-rp 10355  df-ico 10662  df-fz 10783  df-fzo 10871  df-seq 11047  df-exp 11105  df-hash 11338  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-clim 11962  df-sum 12159  df-ee 24519  df-cgr 24521
  Copyright terms: Public domain W3C validator