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

Theorem fscgr 25721
Description: Congruence law for the general five segment configuration. Theorem 4.16 of [Schwabhauser] p. 37. (Contributed by Scott Fenton, 5-Oct-2013.)
Assertion
Ref Expression
fscgr  |-  ( ( ( 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  =/=  B )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )

Proof of Theorem fscgr
StepHypRef Expression
1 brfs 25720 . . 3  |-  ( ( ( 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 >. ) ) ) )
21anbi1d 686 . 2  |-  ( ( ( 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  =/=  B )  <->  ( ( A 
Colinear 
<. B ,  C >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) )  /\  A  =/= 
B ) ) )
3 simp11 987 . . . . . 6  |-  ( ( ( 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 ) ) )  ->  N  e.  NN )
4 simp12 988 . . . . . 6  |-  ( ( ( 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  e.  ( EE `  N
) )
5 simp13 989 . . . . . 6  |-  ( ( ( 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 ) ) )  ->  B  e.  ( EE `  N
) )
6 simp21 990 . . . . . 6  |-  ( ( ( 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 ) ) )  ->  C  e.  ( EE `  N
) )
7 brcolinear 25700 . . . . . 6  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) ) )  -> 
( A  Colinear  <. B ,  C >. 
<->  ( A  Btwn  <. B ,  C >.  \/  B  Btwn  <. C ,  A >.  \/  C  Btwn  <. A ,  B >. ) ) )
83, 4, 5, 6, 7syl13anc 1186 . . . . 5  |-  ( ( ( 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  Colinear  <. B ,  C >.  <-> 
( A  Btwn  <. B ,  C >.  \/  B  Btwn  <. C ,  A >.  \/  C  Btwn  <. A ,  B >. ) ) )
9 simp23 992 . . . . . . . . . . . . 13  |-  ( ( ( 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 ) ) )  ->  E  e.  ( EE `  N
) )
10 simp31 993 . . . . . . . . . . . . 13  |-  ( ( ( 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 ) ) )  ->  F  e.  ( EE `  N
) )
11 simp32 994 . . . . . . . . . . . . 13  |-  ( ( ( 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 ) ) )  ->  G  e.  ( EE `  N
) )
12 cgr3permute2 25690 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  /\  ( E  e.  ( EE `  N )  /\  F  e.  ( EE `  N
)  /\  G  e.  ( EE `  N ) ) )  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  <->  <. B ,  <. A ,  C >. >.Cgr3 <. F ,  <. E ,  G >. >. ) )
133, 4, 5, 6, 9, 10, 11, 12syl133anc 1207 . . . . . . . . . . . 12  |-  ( ( ( 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 >. >.Cgr3 <. E ,  <. F ,  G >. >.  <->  <. B ,  <. A ,  C >. >.Cgr3 <. F ,  <. E ,  G >. >. ) )
14 ancom 438 . . . . . . . . . . . . 13  |-  ( (
<. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  <-> 
( <. B ,  D >.Cgr
<. F ,  H >.  /\ 
<. A ,  D >.Cgr <. E ,  H >. ) )
1514a1i 11 . . . . . . . . . . . 12  |-  ( ( ( 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 ,  D >.Cgr
<. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  <-> 
( <. B ,  D >.Cgr
<. F ,  H >.  /\ 
<. A ,  D >.Cgr <. E ,  H >. ) ) )
1613, 153anbi23d 1257 . . . . . . . . . . 11  |-  ( ( ( 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  Btwn  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  <->  ( A  Btwn  <. B ,  C >.  /\  <. B ,  <. A ,  C >. >.Cgr3 <. F ,  <. E ,  G >. >.  /\  ( <. B ,  D >.Cgr
<. F ,  H >.  /\ 
<. A ,  D >.Cgr <. E ,  H >. ) ) ) )
17 simp22 991 . . . . . . . . . . . 12  |-  ( ( ( 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 ) ) )  ->  D  e.  ( EE `  N
) )
18 simp33 995 . . . . . . . . . . . 12  |-  ( ( ( 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 ) ) )  ->  H  e.  ( EE `  N
) )
19 brofs2 25718 . . . . . . . . . . . 12  |-  ( ( ( N  e.  NN  /\  B  e.  ( EE
`  N )  /\  A  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N )  /\  F  e.  ( EE `  N
) )  /\  ( E  e.  ( EE `  N )  /\  G  e.  ( EE `  N
)  /\  H  e.  ( EE `  N ) ) )  ->  ( <. <. B ,  A >. ,  <. C ,  D >. >. 
OuterFiveSeg  <. <. F ,  E >. ,  <. G ,  H >. >. 
<->  ( A  Btwn  <. B ,  C >.  /\  <. B ,  <. A ,  C >. >.Cgr3 <. F ,  <. E ,  G >. >.  /\  ( <. B ,  D >.Cgr <. F ,  H >.  /\  <. A ,  D >.Cgr <. E ,  H >. ) ) ) )
203, 5, 4, 6, 17, 10, 9, 11, 18, 19syl333anc 1216 . . . . . . . . . . 11  |-  ( ( ( 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 ) ) )  ->  ( <. <. B ,  A >. ,  <. C ,  D >. >. 
OuterFiveSeg  <. <. F ,  E >. ,  <. G ,  H >. >. 
<->  ( A  Btwn  <. B ,  C >.  /\  <. B ,  <. A ,  C >. >.Cgr3 <. F ,  <. E ,  G >. >.  /\  ( <. B ,  D >.Cgr <. F ,  H >.  /\  <. A ,  D >.Cgr <. E ,  H >. ) ) ) )
2116, 20bitr4d 248 . . . . . . . . . 10  |-  ( ( ( 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  Btwn  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  <->  <. <. B ,  A >. ,  <. C ,  D >. >. 
OuterFiveSeg  <. <. F ,  E >. ,  <. G ,  H >. >. ) )
22 necom 2624 . . . . . . . . . . 11  |-  ( A  =/=  B  <->  B  =/=  A )
2322a1i 11 . . . . . . . . . 10  |-  ( ( ( 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  <->  B  =/=  A ) )
2421, 23anbi12d 692 . . . . . . . . 9  |-  ( ( ( 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  Btwn  <. B ,  C >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) )  /\  A  =/= 
B )  <->  ( <. <. B ,  A >. , 
<. C ,  D >. >.  OuterFiveSeg  <. <. F ,  E >. , 
<. G ,  H >. >.  /\  B  =/=  A
) ) )
25 5segofs 25647 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  B  e.  ( EE
`  N )  /\  A  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N )  /\  F  e.  ( EE `  N
) )  /\  ( E  e.  ( EE `  N )  /\  G  e.  ( EE `  N
)  /\  H  e.  ( EE `  N ) ) )  ->  (
( <. <. B ,  A >. ,  <. C ,  D >. >. 
OuterFiveSeg  <. <. F ,  E >. ,  <. G ,  H >. >.  /\  B  =/=  A )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
263, 5, 4, 6, 17, 10, 9, 11, 18, 25syl333anc 1216 . . . . . . . . 9  |-  ( ( ( 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 ) ) )  ->  (
( <. <. B ,  A >. ,  <. C ,  D >. >. 
OuterFiveSeg  <. <. F ,  E >. ,  <. G ,  H >. >.  /\  B  =/=  A )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
2724, 26sylbid 207 . . . . . . . 8  |-  ( ( ( 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  Btwn  <. B ,  C >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) )  /\  A  =/= 
B )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
2827exp3a 426 . . . . . . 7  |-  ( ( ( 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  Btwn  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  ->  ( A  =/=  B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) )
29283expd 1170 . . . . . 6  |-  ( ( ( 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  Btwn  <. B ,  C >.  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  ->  ( ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  ->  ( A  =/= 
B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) ) ) )
30 btwncom 25655 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN  /\  ( B  e.  ( EE `  N )  /\  C  e.  ( EE `  N )  /\  A  e.  ( EE `  N
) ) )  -> 
( B  Btwn  <. C ,  A >. 
<->  B  Btwn  <. A ,  C >. ) )
313, 5, 6, 4, 30syl13anc 1186 . . . . . . . . . . . 12  |-  ( ( ( 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 ) ) )  ->  ( B  Btwn  <. C ,  A >.  <-> 
B  Btwn  <. A ,  C >. ) )
32313anbi1d 1258 . . . . . . . . . . 11  |-  ( ( ( 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 ) ) )  ->  (
( B  Btwn  <. C ,  A >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  <->  ( B  Btwn  <. A ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr
<. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) ) ) )
33 brofs2 25718 . . . . . . . . . . 11  |-  ( ( ( 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 >. >. 
OuterFiveSeg  <. <. E ,  F >. ,  <. G ,  H >. >. 
<->  ( B  Btwn  <. A ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) ) ) )
3432, 33bitr4d 248 . . . . . . . . . 10  |-  ( ( ( 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 ) ) )  ->  (
( B  Btwn  <. C ,  A >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  <->  <. <. A ,  B >. ,  <. C ,  D >. >. 
OuterFiveSeg  <. <. E ,  F >. ,  <. G ,  H >. >. ) )
3534anbi1d 686 . . . . . . . . 9  |-  ( ( ( 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 ) ) )  ->  (
( ( B  Btwn  <. C ,  A >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) )  /\  A  =/= 
B )  <->  ( <. <. A ,  B >. , 
<. C ,  D >. >.  OuterFiveSeg  <. <. E ,  F >. , 
<. G ,  H >. >.  /\  A  =/=  B
) ) )
36 5segofs 25647 . . . . . . . . 9  |-  ( ( ( 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 >. >. 
OuterFiveSeg  <. <. E ,  F >. ,  <. G ,  H >. >.  /\  A  =/=  B )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
3735, 36sylbid 207 . . . . . . . 8  |-  ( ( ( 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 ) ) )  ->  (
( ( B  Btwn  <. C ,  A >.  /\ 
<. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) )  /\  A  =/= 
B )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
3837exp3a 426 . . . . . . 7  |-  ( ( ( 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 ) ) )  ->  (
( B  Btwn  <. C ,  A >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  ->  ( A  =/=  B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) )
39383expd 1170 . . . . . 6  |-  ( ( ( 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 ) ) )  ->  ( B  Btwn  <. C ,  A >.  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  ->  ( ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  ->  ( A  =/= 
B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) ) ) )
40 cgr3permute1 25689 . . . . . . . . . . . 12  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N )  /\  C  e.  ( EE `  N
) )  /\  ( E  e.  ( EE `  N )  /\  F  e.  ( EE `  N
)  /\  G  e.  ( EE `  N ) ) )  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  <->  <. A ,  <. C ,  B >. >.Cgr3 <. E ,  <. G ,  F >. >. ) )
413, 4, 5, 6, 9, 10, 11, 40syl133anc 1207 . . . . . . . . . . 11  |-  ( ( ( 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 >. >.Cgr3 <. E ,  <. F ,  G >. >.  <->  <. A ,  <. C ,  B >. >.Cgr3 <. E ,  <. G ,  F >. >. ) )
42413anbi2d 1259 . . . . . . . . . 10  |-  ( ( ( 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 ) ) )  ->  (
( C  Btwn  <. A ,  B >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  <->  ( C  Btwn  <. A ,  B >.  /\  <. A ,  <. C ,  B >. >.Cgr3 <. E ,  <. G ,  F >. >.  /\  ( <. A ,  D >.Cgr
<. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) ) ) )
43 brifs2 25719 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  A  e.  ( EE
`  N )  /\  C  e.  ( EE `  N ) )  /\  ( B  e.  ( EE `  N )  /\  D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
) )  /\  ( G  e.  ( EE `  N )  /\  F  e.  ( EE `  N
)  /\  H  e.  ( EE `  N ) ) )  ->  ( <. <. A ,  C >. ,  <. B ,  D >. >. 
InnerFiveSeg  <. <. E ,  G >. ,  <. F ,  H >. >. 
<->  ( C  Btwn  <. A ,  B >.  /\  <. A ,  <. C ,  B >. >.Cgr3 <. E ,  <. G ,  F >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) ) ) )
443, 4, 6, 5, 17, 9, 11, 10, 18, 43syl333anc 1216 . . . . . . . . . 10  |-  ( ( ( 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 ,  C >. ,  <. B ,  D >. >. 
InnerFiveSeg  <. <. E ,  G >. ,  <. F ,  H >. >. 
<->  ( C  Btwn  <. A ,  B >.  /\  <. A ,  <. C ,  B >. >.Cgr3 <. E ,  <. G ,  F >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) ) ) )
4542, 44bitr4d 248 . . . . . . . . 9  |-  ( ( ( 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 ) ) )  ->  (
( C  Btwn  <. A ,  B >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  <->  <. <. A ,  C >. ,  <. B ,  D >. >. 
InnerFiveSeg  <. <. E ,  G >. ,  <. F ,  H >. >. ) )
46 ifscgr 25685 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  A  e.  ( EE
`  N )  /\  C  e.  ( EE `  N ) )  /\  ( B  e.  ( EE `  N )  /\  D  e.  ( EE `  N )  /\  E  e.  ( EE `  N
) )  /\  ( G  e.  ( EE `  N )  /\  F  e.  ( EE `  N
)  /\  H  e.  ( EE `  N ) ) )  ->  ( <. <. A ,  C >. ,  <. B ,  D >. >. 
InnerFiveSeg  <. <. E ,  G >. ,  <. F ,  H >. >.  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
473, 4, 6, 5, 17, 9, 11, 10, 18, 46syl333anc 1216 . . . . . . . . 9  |-  ( ( ( 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 ,  C >. ,  <. B ,  D >. >. 
InnerFiveSeg  <. <. E ,  G >. ,  <. F ,  H >. >.  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
4845, 47sylbid 207 . . . . . . . 8  |-  ( ( ( 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 ) ) )  ->  (
( C  Btwn  <. A ,  B >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
4948a1dd 44 . . . . . . 7  |-  ( ( ( 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 ) ) )  ->  (
( C  Btwn  <. A ,  B >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  ->  ( A  =/=  B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) )
50493expd 1170 . . . . . 6  |-  ( ( ( 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 ) ) )  ->  ( C  Btwn  <. A ,  B >.  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  ->  ( ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  ->  ( A  =/= 
B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) ) ) )
5129, 39, 503jaod 1248 . . . . 5  |-  ( ( ( 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  Btwn  <. B ,  C >.  \/  B  Btwn  <. C ,  A >.  \/  C  Btwn  <. A ,  B >. )  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  ->  (
( <. A ,  D >.Cgr
<. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  ->  ( A  =/= 
B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) ) ) )
528, 51sylbid 207 . . . 4  |-  ( ( ( 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  Colinear  <. B ,  C >.  ->  ( <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  ->  ( ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. )  ->  ( A  =/= 
B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) ) ) )
53523impd 1167 . . 3  |-  ( ( ( 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  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\  <. B ,  D >.Cgr <. F ,  H >. ) )  ->  ( A  =/=  B  ->  <. C ,  D >.Cgr <. G ,  H >. ) ) )
5453imp3a 421 . 2  |-  ( ( ( 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  Colinear  <. B ,  C >.  /\  <. A ,  <. B ,  C >. >.Cgr3 <. E ,  <. F ,  G >. >.  /\  ( <. A ,  D >.Cgr <. E ,  H >.  /\ 
<. B ,  D >.Cgr <. F ,  H >. ) )  /\  A  =/= 
B )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
552, 54sylbid 207 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  =/=  B )  ->  <. C ,  D >.Cgr <. G ,  H >. ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    \/ w3o 935    /\ w3a 936    e. wcel 1717    =/= wne 2543   <.cop 3753   class class class wbr 4146   ` cfv 5387   NNcn 9925   EEcee 25534    Btwn cbtwn 25535  Cgrccgr 25536    OuterFiveSeg cofs 25623    InnerFiveSeg cifs 25676  Cgr3ccgr3 25677    Colinear ccolin 25678    FiveSeg cfs 25679
This theorem is referenced by:  linecgr  25722
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-rep 4254  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337  ax-un 4634  ax-inf2 7522  ax-cnex 8972  ax-resscn 8973  ax-1cn 8974  ax-icn 8975  ax-addcl 8976  ax-addrcl 8977  ax-mulcl 8978  ax-mulrcl 8979  ax-mulcom 8980  ax-addass 8981  ax-mulass 8982  ax-distr 8983  ax-i2m1 8984  ax-1ne0 8985  ax-1rid 8986  ax-rnegex 8987  ax-rrecex 8988  ax-cnre 8989  ax-pre-lttri 8990  ax-pre-lttrn 8991  ax-pre-ltadd 8992  ax-pre-mulgt0 8993  ax-pre-sup 8994
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-nel 2546  df-ral 2647  df-rex 2648  df-reu 2649  df-rmo 2650  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-pss 3272  df-nul 3565  df-if 3676  df-pw 3737  df-sn 3756  df-pr 3757  df-tp 3758  df-op 3759  df-uni 3951  df-int 3986  df-iun 4030  df-br 4147  df-opab 4201  df-mpt 4202  df-tr 4237  df-eprel 4428  df-id 4432  df-po 4437  df-so 4438  df-fr 4475  df-se 4476  df-we 4477  df-ord 4518  df-on 4519  df-lim 4520  df-suc 4521  df-om 4779  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395  df-isom 5396  df-ov 6016  df-oprab 6017  df-mpt2 6018  df-1st 6281  df-2nd 6282  df-riota 6478  df-recs 6562  df-rdg 6597  df-1o 6653  df-oadd 6657  df-er 6834  df-map 6949  df-en 7039  df-dom 7040  df-sdom 7041  df-fin 7042  df-sup 7374  df-oi 7405  df-card 7752  df-pnf 9048  df-mnf 9049  df-xr 9050  df-ltxr 9051  df-le 9052  df-sub 9218  df-neg 9219  df-div 9603  df-nn 9926  df-2 9983  df-3 9984  df-n0 10147  df-z 10208  df-uz 10414  df-rp 10538  df-ico 10847  df-icc 10848  df-fz 10969  df-fzo 11059  df-seq 11244  df-exp 11303  df-hash 11539  df-cj 11824  df-re 11825  df-im 11826  df-sqr 11960  df-abs 11961  df-clim 12202  df-sum 12400  df-ee 25537  df-btwn 25538  df-cgr 25539  df-ofs 25624  df-ifs 25680  df-cgr3 25681  df-colinear 25682  df-fs 25683
  Copyright terms: Public domain W3C validator