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

Theorem brfs 28122
Description: Binary relationship form of the general five segment predicate. (Contributed by Scott Fenton, 5-Oct-2013.)
Assertion
Ref Expression
brfs  |-  ( ( ( 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 )  /\  G  e.  ( EE `  N
)  /\  H  e.  ( EE `  N ) ) )  ->  ( <. <. A ,  B >. ,  <. C ,  D >. >.  FiveSeg  <. <. E ,  F >. ,  <. G ,  H >. >. 
<->  ( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) ) ) )

Proof of Theorem brfs
Dummy variables  a 
b  c  d  e  f  g  h  p  q  n are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq1 4307 . . 3  |-  ( a  =  A  ->  (
a  Colinear  <. b ,  c
>. 
<->  A  Colinear  <. b ,  c
>. ) )
2 opeq1 4071 . . . 4  |-  ( a  =  A  ->  <. a ,  <. b ,  c
>. >.  =  <. A ,  <. b ,  c >. >. )
32breq1d 4314 . . 3  |-  ( a  =  A  ->  ( <. a ,  <. b ,  c >. >.Cgr3 <. e ,  <. f ,  g
>. >. 
<-> 
<. A ,  <. b ,  c >. >.Cgr3 <. e ,  <. f ,  g
>. >. ) )
4 opeq1 4071 . . . . 5  |-  ( a  =  A  ->  <. a ,  d >.  =  <. A ,  d >. )
54breq1d 4314 . . . 4  |-  ( a  =  A  ->  ( <. a ,  d >.Cgr <. e ,  h >.  <->  <. A ,  d >.Cgr <. e ,  h >. ) )
65anbi1d 704 . . 3  |-  ( a  =  A  ->  (
( <. a ,  d
>.Cgr <. e ,  h >.  /\  <. b ,  d
>.Cgr <. f ,  h >. )  <->  ( <. A , 
d >.Cgr <. e ,  h >.  /\  <. b ,  d
>.Cgr <. f ,  h >. ) ) )
71, 3, 63anbi123d 1289 . 2  |-  ( a  =  A  ->  (
( a  Colinear  <. b ,  c >.  /\  <. a ,  <. b ,  c
>. >.Cgr3 <. e ,  <. f ,  g >. >.  /\  ( <. a ,  d >.Cgr <. e ,  h >.  /\ 
<. b ,  d >.Cgr <. f ,  h >. ) )  <->  ( A  Colinear  <. b ,  c >.  /\  <. A ,  <. b ,  c
>. >.Cgr3 <. e ,  <. f ,  g >. >.  /\  ( <. A ,  d >.Cgr <. e ,  h >.  /\ 
<. b ,  d >.Cgr <. f ,  h >. ) ) ) )
8 opeq1 4071 . . . 4  |-  ( b  =  B  ->  <. b ,  c >.  =  <. B ,  c >. )
98breq2d 4316 . . 3  |-  ( b  =  B  ->  ( A  Colinear  <. b ,  c
>. 
<->  A  Colinear  <. B ,  c
>. ) )
108opeq2d 4078 . . . 4  |-  ( b  =  B  ->  <. A ,  <. b ,  c >. >.  =  <. A ,  <. B ,  c >. >. )
1110breq1d 4314 . . 3  |-  ( b  =  B  ->  ( <. A ,  <. b ,  c >. >.Cgr3 <. e ,  <. f ,  g
>. >. 
<-> 
<. A ,  <. B , 
c >. >.Cgr3 <. e ,  <. f ,  g >. >. )
)
12 opeq1 4071 . . . . 5  |-  ( b  =  B  ->  <. b ,  d >.  =  <. B ,  d >. )
1312breq1d 4314 . . . 4  |-  ( b  =  B  ->  ( <. b ,  d >.Cgr <. f ,  h >.  <->  <. B ,  d >.Cgr <. f ,  h >. ) )
1413anbi2d 703 . . 3  |-  ( b  =  B  ->  (
( <. A ,  d
>.Cgr <. e ,  h >.  /\  <. b ,  d
>.Cgr <. f ,  h >. )  <->  ( <. A , 
d >.Cgr <. e ,  h >.  /\  <. B ,  d
>.Cgr <. f ,  h >. ) ) )
159, 11, 143anbi123d 1289 . 2  |-  ( b  =  B  ->  (
( A  Colinear  <. b ,  c >.  /\  <. A ,  <. b ,  c
>. >.Cgr3 <. e ,  <. f ,  g >. >.  /\  ( <. A ,  d >.Cgr <. e ,  h >.  /\ 
<. b ,  d >.Cgr <. f ,  h >. ) )  <->  ( A  Colinear  <. B ,  c >.  /\  <. A ,  <. B ,  c
>. >.Cgr3 <. e ,  <. f ,  g >. >.  /\  ( <. A ,  d >.Cgr <. e ,  h >.  /\ 
<. B ,  d >.Cgr <. f ,  h >. ) ) ) )
16 opeq2 4072 . . . 4  |-  ( c  =  C  ->  <. B , 
c >.  =  <. B ,  C >. )
1716breq2d 4316 . . 3  |-  ( c  =  C  ->  ( A  Colinear  <. B ,  c
>. 
<->  A  Colinear  <. B ,  C >. ) )
1816opeq2d 4078 . . . 4  |-  ( c  =  C  ->  <. A ,  <. B ,  c >. >.  =  <. A ,  <. B ,  C >. >. )
1918breq1d 4314 . . 3  |-  ( c  =  C  ->  ( <. A ,  <. B , 
c >. >.Cgr3 <. e ,  <. f ,  g >. >.  <->  <. A ,  <. B ,  C >. >.Cgr3 <.
e ,  <. f ,  g >. >. )
)
2017, 193anbi12d 1290 . 2  |-  ( c  =  C  ->  (
( A  Colinear  <. B , 
c >.  /\  <. A ,  <. B ,  c >. >.Cgr3
<. e ,  <. f ,  g >. >.  /\  ( <. A ,  d >.Cgr <. e ,  h >.  /\ 
<. B ,  d >.Cgr <. f ,  h >. ) )  <->  ( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. e ,  <. f ,  g >. >.  /\  ( <. A ,  d >.Cgr <. e ,  h >.  /\ 
<. B ,  d >.Cgr <. f ,  h >. ) ) ) )
21 opeq2 4072 . . . . 5  |-  ( d  =  D  ->  <. A , 
d >.  =  <. A ,  D >. )
2221breq1d 4314 . . . 4  |-  ( d  =  D  ->  ( <. A ,  d >.Cgr <. e ,  h >.  <->  <. A ,  D >.Cgr <. e ,  h >. ) )
23 opeq2 4072 . . . . 5  |-  ( d  =  D  ->  <. B , 
d >.  =  <. B ,  D >. )
2423breq1d 4314 . . . 4  |-  ( d  =  D  ->  ( <. B ,  d >.Cgr <. f ,  h >.  <->  <. B ,  D >.Cgr <. f ,  h >. ) )
2522, 24anbi12d 710 . . 3  |-  ( d  =  D  ->  (
( <. A ,  d
>.Cgr <. e ,  h >.  /\  <. B ,  d
>.Cgr <. f ,  h >. )  <->  ( <. A ,  D >.Cgr <. e ,  h >.  /\  <. B ,  D >.Cgr
<. f ,  h >. ) ) )
26253anbi3d 1295 . 2  |-  ( d  =  D  ->  (
( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <.
e ,  <. f ,  g >. >.  /\  ( <. A ,  d >.Cgr <. e ,  h >.  /\ 
<. B ,  d >.Cgr <. f ,  h >. ) )  <->  ( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. e ,  <. f ,  g >. >.  /\  ( <. A ,  D >.Cgr <.
e ,  h >.  /\ 
<. B ,  D >.Cgr <.
f ,  h >. ) ) ) )
27 opeq1 4071 . . . 4  |-  ( e  =  E  ->  <. e ,  <. f ,  g
>. >.  =  <. E ,  <. f ,  g >. >. )
2827breq2d 4316 . . 3  |-  ( e  =  E  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. e ,  <. f ,  g >. >.  <->  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. f ,  g >. >. ) )
29 opeq1 4071 . . . . 5  |-  ( e  =  E  ->  <. e ,  h >.  =  <. E ,  h >. )
3029breq2d 4316 . . . 4  |-  ( e  =  E  ->  ( <. A ,  D >.Cgr <.
e ,  h >.  <->  <. A ,  D >.Cgr <. E ,  h >. ) )
3130anbi1d 704 . . 3  |-  ( e  =  E  ->  (
( <. A ,  D >.Cgr
<. e ,  h >.  /\ 
<. B ,  D >.Cgr <.
f ,  h >. )  <-> 
( <. A ,  D >.Cgr
<. E ,  h >.  /\ 
<. B ,  D >.Cgr <.
f ,  h >. ) ) )
3228, 313anbi23d 1292 . 2  |-  ( e  =  E  ->  (
( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <.
e ,  <. f ,  g >. >.  /\  ( <. A ,  D >.Cgr <.
e ,  h >.  /\ 
<. B ,  D >.Cgr <.
f ,  h >. ) )  <->  ( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. f ,  g >. >.  /\  ( <. A ,  D >.Cgr <. E ,  h >.  /\ 
<. B ,  D >.Cgr <.
f ,  h >. ) ) ) )
33 opeq1 4071 . . . . 5  |-  ( f  =  F  ->  <. f ,  g >.  =  <. F ,  g >. )
3433opeq2d 4078 . . . 4  |-  ( f  =  F  ->  <. E ,  <. f ,  g >. >.  =  <. E ,  <. F ,  g >. >. )
3534breq2d 4316 . . 3  |-  ( f  =  F  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. f ,  g >. >.  <->  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F , 
g >. >. ) )
36 opeq1 4071 . . . . 5  |-  ( f  =  F  ->  <. f ,  h >.  =  <. F ,  h >. )
3736breq2d 4316 . . . 4  |-  ( f  =  F  ->  ( <. B ,  D >.Cgr <.
f ,  h >.  <->  <. B ,  D >.Cgr <. F ,  h >. ) )
3837anbi2d 703 . . 3  |-  ( f  =  F  ->  (
( <. A ,  D >.Cgr
<. E ,  h >.  /\ 
<. B ,  D >.Cgr <.
f ,  h >. )  <-> 
( <. A ,  D >.Cgr
<. E ,  h >.  /\ 
<. B ,  D >.Cgr <. F ,  h >. ) ) )
3935, 383anbi23d 1292 . 2  |-  ( f  =  F  ->  (
( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. f ,  g >. >.  /\  ( <. A ,  D >.Cgr <. E ,  h >.  /\  <. B ,  D >.Cgr <. f ,  h >. ) )  <->  ( A  Colinear  <. B ,  C >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  g >. >.  /\  ( <. A ,  D >.Cgr <. E ,  h >.  /\ 
<. B ,  D >.Cgr <. F ,  h >. ) ) ) )
40 opeq2 4072 . . . . 5  |-  ( g  =  G  ->  <. F , 
g >.  =  <. F ,  G >. )
4140opeq2d 4078 . . . 4  |-  ( g  =  G  ->  <. E ,  <. F ,  g >. >.  =  <. E ,  <. F ,  G >. >. )
4241breq2d 4316 . . 3  |-  ( g  =  G  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  g >. >.  <->  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >. ) )
43423anbi2d 1294 . 2  |-  ( g  =  G  ->  (
( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F , 
g >. >.  /\  ( <. A ,  D >.Cgr <. E ,  h >.  /\  <. B ,  D >.Cgr <. F ,  h >. ) )  <->  ( A  Colinear  <. B ,  C >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  h >.  /\ 
<. B ,  D >.Cgr <. F ,  h >. ) ) ) )
44 opeq2 4072 . . . . 5  |-  ( h  =  H  ->  <. E ,  h >.  =  <. E ,  H >. )
4544breq2d 4316 . . . 4  |-  ( h  =  H  ->  ( <. A ,  D >.Cgr <. E ,  h >.  <->  <. A ,  D >.Cgr <. E ,  H >. ) )
46 opeq2 4072 . . . . 5  |-  ( h  =  H  ->  <. F ,  h >.  =  <. F ,  H >. )
4746breq2d 4316 . . . 4  |-  ( h  =  H  ->  ( <. B ,  D >.Cgr <. F ,  h >.  <->  <. B ,  D >.Cgr <. F ,  H >. ) )
4845, 47anbi12d 710 . . 3  |-  ( h  =  H  ->  (
( <. A ,  D >.Cgr
<. E ,  h >.  /\ 
<. B ,  D >.Cgr <. F ,  h >. )  <-> 
( <. A ,  D >.Cgr
<. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) ) )
49483anbi3d 1295 . 2  |-  ( h  =  H  ->  (
( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  h >.  /\  <. B ,  D >.Cgr <. F ,  h >. ) )  <->  ( A  Colinear  <. B ,  C >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) ) ) )
50 fveq2 5703 . 2  |-  ( n  =  N  ->  ( EE `  n )  =  ( EE `  N
) )
51 df-fs 28085 . 2  |-  FiveSeg  =  { <. p ,  q >.  |  E. n  e.  NN  E. a  e.  ( EE
`  n ) E. b  e.  ( EE
`  n ) E. c  e.  ( EE
`  n ) E. d  e.  ( EE
`  n ) E. e  e.  ( EE
`  n ) E. f  e.  ( EE
`  n ) E. g  e.  ( EE
`  n ) E. h  e.  ( EE
`  n ) ( p  =  <. <. a ,  b >. ,  <. c ,  d >. >.  /\  q  =  <. <. e ,  f
>. ,  <. g ,  h >. >.  /\  ( a  Colinear  <.
b ,  c >.  /\  <. a ,  <. b ,  c >. >.Cgr3 <. e ,  <. f ,  g
>. >.  /\  ( <. a ,  d >.Cgr <. e ,  h >.  /\  <. b ,  d >.Cgr <. f ,  h >. ) ) ) }
527, 15, 20, 26, 32, 39, 43, 49, 50, 51br8 27578 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 )  /\  G  e.  ( EE `  N
)  /\  H  e.  ( EE `  N ) ) )  ->  ( <. <. A ,  B >. ,  <. C ,  D >. >.  FiveSeg  <. <. E ,  F >. ,  <. G ,  H >. >. 
<->  ( A  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756   <.cop 3895   class class class wbr 4304   ` cfv 5430   NNcn 10334   EEcee 23146  Cgrccgr 23148  Cgr3ccgr3 28079    Colinear ccolin 28080    FiveSeg cfs 28081
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-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4425  ax-nul 4433  ax-pr 4543
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2620  df-ral 2732  df-rex 2733  df-rab 2736  df-v 2986  df-dif 3343  df-un 3345  df-in 3347  df-ss 3354  df-nul 3650  df-if 3804  df-sn 3890  df-pr 3892  df-op 3896  df-uni 4104  df-br 4305  df-opab 4363  df-iota 5393  df-fv 5438  df-fs 28085
This theorem is referenced by:  fscgr  28123  linecgr  28124
  Copyright terms: Public domain W3C validator