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

Theorem btwnconn1lem14 28082
Description: Lemma for btwnconn1 28083. Final statement of the theorem when  B  =/=  C. (Contributed by Scott Fenton, 9-Oct-2013.)
Assertion
Ref Expression
btwnconn1lem14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )

Proof of Theorem btwnconn1lem14
Dummy variables  b 
c  d  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 988 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  N  e.  NN )
2 simp2l 1014 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  A  e.  ( EE `  N ) )
3 simp3r 1017 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  D  e.  ( EE `  N ) )
4 simp3 990 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  ( C  e.  ( EE `  N
)  /\  D  e.  ( EE `  N ) ) )
5 axsegcon 23124 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. c  e.  ( EE `  N ) ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. ) )
61, 2, 3, 4, 5syl121anc 1223 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. c  e.  ( EE `  N ) ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. ) )
7 simp3l 1016 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  C  e.  ( EE `  N ) )
8 axsegcon 23124 . . . . 5  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  C  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. d  e.  ( EE `  N ) ( C  Btwn  <. A , 
d >.  /\  <. C , 
d >.Cgr <. C ,  D >. ) )
91, 2, 7, 4, 8syl121anc 1223 . . . 4  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. d  e.  ( EE `  N ) ( C  Btwn  <. A , 
d >.  /\  <. C , 
d >.Cgr <. C ,  D >. ) )
10 reeanv 2883 . . . 4  |-  ( E. c  e.  ( EE
`  N ) E. d  e.  ( EE
`  N ) ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) )  <->  ( E. c  e.  ( EE `  N ) ( D 
Btwn  <. A ,  c
>.  /\  <. D ,  c
>.Cgr <. C ,  D >. )  /\  E. d  e.  ( EE `  N
) ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
116, 9, 10sylanbrc 664 . . 3  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N ) ) )  ->  E. c  e.  ( EE `  N ) E. d  e.  ( EE `  N ) ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
1211adantr 465 . 2  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  E. c  e.  ( EE `  N ) E. d  e.  ( EE `  N ) ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
13 simpl1 991 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  N  e.  NN )
14 simpl2l 1041 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  A  e.  ( EE `  N
) )
15 simprl 755 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  c  e.  ( EE `  N
) )
16 simpl3l 1043 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  C  e.  ( EE `  N
) )
17 simpl2r 1042 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  B  e.  ( EE `  N
) )
18 axsegcon 23124 . . . . . . . . . . 11  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  c  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  ->  E. b  e.  ( EE `  N ) ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. ) )
1913, 14, 15, 16, 17, 18syl122anc 1227 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  E. b  e.  ( EE `  N
) ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. ) )
20 simprr 756 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  d  e.  ( EE `  N
) )
21 simpl3r 1044 . . . . . . . . . . 11  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  D  e.  ( EE `  N
) )
22 axsegcon 23124 . . . . . . . . . . 11  |-  ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) )  /\  ( D  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) ) )  ->  E. x  e.  ( EE `  N ) ( d  Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr <. D ,  B >. ) )
2313, 14, 20, 21, 17, 22syl122anc 1227 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) )
2419, 23jca 532 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  ( E. b  e.  ( EE `  N ) ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )
2524adantr 465 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( E. b  e.  ( EE `  N
) ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )
26 reeanv 2883 . . . . . . . 8  |-  ( E. b  e.  ( EE
`  N ) E. x  e.  ( EE
`  N ) ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) )  <->  ( E. b  e.  ( EE `  N
) ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  E. x  e.  ( EE `  N
) ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )
2725, 26sylibr 212 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  ->  E. b  e.  ( EE `  N ) E. x  e.  ( EE
`  N ) ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )
2813, 14, 173jca 1168 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )
2928adantr 465 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) ) )
3016, 21, 153jca 1168 . . . . . . . . . . . . . 14  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  ->  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
)  /\  c  e.  ( EE `  N ) ) )
3130adantr 465 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( C  e.  ( EE `  N
)  /\  D  e.  ( EE `  N )  /\  c  e.  ( EE `  N ) ) )
32 simplrr 760 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  d  e.  ( EE `  N ) )
33 simprl 755 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  b  e.  ( EE `  N ) )
34 simprr 756 . . . . . . . . . . . . . 14  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  x  e.  ( EE `  N ) )
3532, 33, 343jca 1168 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( d  e.  ( EE `  N
)  /\  b  e.  ( EE `  N )  /\  x  e.  ( EE `  N ) ) )
3629, 31, 353jca 1168 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
)  /\  c  e.  ( EE `  N ) )  /\  ( d  e.  ( EE `  N )  /\  b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) ) ) )
37 simpll 753 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )
38 simplr 754 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )
39 simpr 461 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )
4037, 38, 393jca 1168 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  ->  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )
41 btwnconn1lem2 28070 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
)  /\  c  e.  ( EE `  N ) )  /\  ( d  e.  ( EE `  N )  /\  b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  ->  x  =  b )
4236, 40, 41syl2an 477 . . . . . . . . . . 11  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  ->  x  =  b )
43 opeq2 4055 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  b  ->  <. A ,  x >.  =  <. A , 
b >. )
4443breq2d 4299 . . . . . . . . . . . . . . . . 17  |-  ( x  =  b  ->  (
d  Btwn  <. A ,  x >. 
<->  d  Btwn  <. A , 
b >. ) )
45 opeq2 4055 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  b  ->  <. d ,  x >.  =  <. d ,  b >. )
4645breq1d 4297 . . . . . . . . . . . . . . . . 17  |-  ( x  =  b  ->  ( <. d ,  x >.Cgr <. D ,  B >.  <->  <. d ,  b >.Cgr <. D ,  B >. ) )
4744, 46anbi12d 710 . . . . . . . . . . . . . . . 16  |-  ( x  =  b  ->  (
( d  Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr <. D ,  B >. )  <->  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) )
4847anbi2d 703 . . . . . . . . . . . . . . 15  |-  ( x  =  b  ->  (
( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) )  <->  ( ( c 
Btwn  <. A ,  b
>.  /\  <. c ,  b
>.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )
4948anbi2d 703 . . . . . . . . . . . . . 14  |-  ( x  =  b  ->  (
( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )  /\  ( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )  <->  ( (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) ) )
5049biimpac 486 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )  /\  ( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  x >.  /\ 
<. d ,  x >.Cgr <. D ,  B >. ) ) )  /\  x  =  b )  -> 
( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) )  /\  ( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) ) )
5132, 33jca 532 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( d  e.  ( EE `  N
)  /\  b  e.  ( EE `  N ) ) )
5229, 31, 51jca32 535 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N )  /\  c  e.  ( EE `  N
) )  /\  (
d  e.  ( EE
`  N )  /\  b  e.  ( EE `  N ) ) ) ) )
53 simpll 753 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )
54 simplr 754 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )
55 simpr 461 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( c  Btwn  <. A ,  b >.  /\ 
<. c ,  b >.Cgr <. C ,  B >. )  /\  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) )
5653, 54, 553jca 1168 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )
57 btwnconn1lem13 28081 . . . . . . . . . . . . . . 15  |-  ( ( ( ( N  e.  NN  /\  A  e.  ( EE `  N
)  /\  B  e.  ( EE `  N ) )  /\  ( ( C  e.  ( EE
`  N )  /\  D  e.  ( EE `  N )  /\  c  e.  ( EE `  N
) )  /\  (
d  e.  ( EE
`  N )  /\  b  e.  ( EE `  N ) ) ) )  /\  ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )  ->  ( C  =  c  \/  D  =  d ) )
5852, 56, 57syl2an 477 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) ) )  ->  ( C  =  c  \/  D  =  d ) )
5958ex 434 . . . . . . . . . . . . 13  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( ( ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  b
>.  /\  <. d ,  b
>.Cgr <. D ,  B >. ) ) )  -> 
( C  =  c  \/  D  =  d ) ) )
6050, 59syl5 32 . . . . . . . . . . . 12  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  ->  ( ( ( ( ( ( A  =/=  B  /\  B  =/=  C )  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) )  /\  x  =  b )  -> 
( C  =  c  \/  D  =  d ) ) )
6160expdimp 437 . . . . . . . . . . 11  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  -> 
( x  =  b  ->  ( C  =  c  \/  D  =  d ) ) )
6242, 61mpd 15 . . . . . . . . . 10  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
b  e.  ( EE
`  N )  /\  x  e.  ( EE `  N ) ) )  /\  ( ( ( ( A  =/=  B  /\  B  =/=  C
)  /\  ( B  Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  /\  (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  -> 
( C  =  c  \/  D  =  d ) )
6362an4s 822 . . . . . . . . 9  |-  ( ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  /\  ( ( b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) )  /\  ( ( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) ) ) )  -> 
( C  =  c  \/  D  =  d ) )
6463exp32 605 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( ( b  e.  ( EE `  N
)  /\  x  e.  ( EE `  N ) )  ->  ( (
( c  Btwn  <. A , 
b >.  /\  <. c ,  b >.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) )  ->  ( C  =  c  \/  D  =  d ) ) ) )
6564rexlimdvv 2842 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( E. b  e.  ( EE `  N
) E. x  e.  ( EE `  N
) ( ( c 
Btwn  <. A ,  b
>.  /\  <. c ,  b
>.Cgr <. C ,  B >. )  /\  ( d 
Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr
<. D ,  B >. ) )  ->  ( C  =  c  \/  D  =  d ) ) )
6627, 65mpd 15 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( C  =  c  \/  D  =  d ) )
67 orcom 387 . . . . . . 7  |-  ( ( C  =  c  \/  D  =  d )  <-> 
( D  =  d  \/  C  =  c ) )
68 simprrl 763 . . . . . . . . . 10  |-  ( ( ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  ->  C  Btwn  <. A ,  d
>. )
6968adantl 466 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  ->  C  Btwn  <. A ,  d
>. )
70 opeq2 4055 . . . . . . . . . 10  |-  ( D  =  d  ->  <. A ,  D >.  =  <. A , 
d >. )
7170breq2d 4299 . . . . . . . . 9  |-  ( D  =  d  ->  ( C  Btwn  <. A ,  D >.  <-> 
C  Btwn  <. A , 
d >. ) )
7269, 71syl5ibrcom 222 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( D  =  d  ->  C  Btwn  <. A ,  D >. ) )
73 simprll 761 . . . . . . . . . 10  |-  ( ( ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) )  ->  D  Btwn  <. A ,  c
>. )
7473adantl 466 . . . . . . . . 9  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  ->  D  Btwn  <. A ,  c
>. )
75 opeq2 4055 . . . . . . . . . 10  |-  ( C  =  c  ->  <. A ,  C >.  =  <. A , 
c >. )
7675breq2d 4299 . . . . . . . . 9  |-  ( C  =  c  ->  ( D  Btwn  <. A ,  C >.  <-> 
D  Btwn  <. A , 
c >. ) )
7774, 76syl5ibrcom 222 . . . . . . . 8  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( C  =  c  ->  D  Btwn  <. A ,  C >. ) )
7872, 77orim12d 834 . . . . . . 7  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( ( D  =  d  \/  C  =  c )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) )
7967, 78syl5bi 217 . . . . . 6  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( ( C  =  c  \/  D  =  d )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) )
8066, 79mpd 15 . . . . 5  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N ) ) )  /\  (
( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) )  /\  ( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) ) ) )  -> 
( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )
8180an4s 822 . . . 4  |-  ( ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N
) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  /\  ( ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N
) )  /\  (
( D  Btwn  <. A , 
c >.  /\  <. D , 
c >.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) ) ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )
8281exp32 605 . . 3  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( ( c  e.  ( EE `  N )  /\  d  e.  ( EE `  N
) )  ->  (
( ( D  Btwn  <. A ,  c >.  /\ 
<. D ,  c >.Cgr <. C ,  D >. )  /\  ( C  Btwn  <. A ,  d >.  /\ 
<. C ,  d >.Cgr <. C ,  D >. ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) ) )
8382rexlimdvv 2842 . 2  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( E. c  e.  ( EE `  N
) E. d  e.  ( EE `  N
) ( ( D 
Btwn  <. A ,  c
>.  /\  <. D ,  c
>.Cgr <. C ,  D >. )  /\  ( C 
Btwn  <. A ,  d
>.  /\  <. C ,  d
>.Cgr <. C ,  D >. ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) ) )
8412, 83mpd 15 1  |-  ( ( ( N  e.  NN  /\  ( A  e.  ( EE `  N )  /\  B  e.  ( EE `  N ) )  /\  ( C  e.  ( EE `  N )  /\  D  e.  ( EE `  N
) ) )  /\  ( ( A  =/= 
B  /\  B  =/=  C )  /\  ( B 
Btwn  <. A ,  C >.  /\  B  Btwn  <. A ,  D >. ) ) )  ->  ( C  Btwn  <. A ,  D >.  \/  D  Btwn  <. A ,  C >. ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    \/ wo 368    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756    =/= wne 2601   E.wrex 2711   <.cop 3878   class class class wbr 4287   ` cfv 5413   NNcn 10314   EEcee 23085    Btwn cbtwn 23086  Cgrccgr 23087
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 2419  ax-rep 4398  ax-sep 4408  ax-nul 4416  ax-pow 4465  ax-pr 4526  ax-un 6367  ax-inf2 7839  ax-cnex 9330  ax-resscn 9331  ax-1cn 9332  ax-icn 9333  ax-addcl 9334  ax-addrcl 9335  ax-mulcl 9336  ax-mulrcl 9337  ax-mulcom 9338  ax-addass 9339  ax-mulass 9340  ax-distr 9341  ax-i2m1 9342  ax-1ne0 9343  ax-1rid 9344  ax-rnegex 9345  ax-rrecex 9346  ax-cnre 9347  ax-pre-lttri 9348  ax-pre-lttrn 9349  ax-pre-ltadd 9350  ax-pre-mulgt0 9351  ax-pre-sup 9352
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 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2715  df-rex 2716  df-reu 2717  df-rmo 2718  df-rab 2719  df-v 2969  df-sbc 3182  df-csb 3284  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-pss 3339  df-nul 3633  df-if 3787  df-pw 3857  df-sn 3873  df-pr 3875  df-tp 3877  df-op 3879  df-uni 4087  df-int 4124  df-iun 4168  df-br 4288  df-opab 4346  df-mpt 4347  df-tr 4381  df-eprel 4627  df-id 4631  df-po 4636  df-so 4637  df-fr 4674  df-se 4675  df-we 4676  df-ord 4717  df-on 4718  df-lim 4719  df-suc 4720  df-xp 4841  df-rel 4842  df-cnv 4843  df-co 4844  df-dm 4845  df-rn 4846  df-res 4847  df-ima 4848  df-iota 5376  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-isom 5422  df-riota 6047  df-ov 6089  df-oprab 6090  df-mpt2 6091  df-om 6472  df-1st 6572  df-2nd 6573  df-recs 6824  df-rdg 6858  df-1o 6912  df-oadd 6916  df-er 7093  df-map 7208  df-en 7303  df-dom 7304  df-sdom 7305  df-fin 7306  df-sup 7683  df-oi 7716  df-card 8101  df-pnf 9412  df-mnf 9413  df-xr 9414  df-ltxr 9415  df-le 9416  df-sub 9589  df-neg 9590  df-div 9986  df-nn 10315  df-2 10372  df-3 10373  df-n0 10572  df-z 10639  df-uz 10854  df-rp 10984  df-ico 11298  df-icc 11299  df-fz 11430  df-fzo 11541  df-seq 11799  df-exp 11858  df-hash 12096  df-cj 12580  df-re 12581  df-im 12582  df-sqr 12716  df-abs 12717  df-clim 12958  df-sum 13156  df-ee 23088  df-btwn 23089  df-cgr 23090  df-ofs 27965  df-colinear 28021  df-ifs 28022  df-cgr3 28023  df-fs 28024
This theorem is referenced by:  btwnconn1  28083
  Copyright terms: Public domain W3C validator