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

Theorem btwnconn1lem14 24795
Description: Lemma for btwnconn1 24796. 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 955 . . . . 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 981 . . . . 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 984 . . . . 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 957 . . . . 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 24627 . . . . 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 1187 . . . 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 983 . . . . 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 24627 . . . . 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 1187 . . . 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 2720 . . . 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 645 . . 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 451 . 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 958 . . . . . . . . . . 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 1008 . . . . . . . . . . 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 732 . . . . . . . . . . 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 1010 . . . . . . . . . . 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 1009 . . . . . . . . . . 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 24627 . . . . . . . . . . 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 1191 . . . . . . . . . 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 733 . . . . . . . . . . 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 1011 . . . . . . . . . . 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 24627 . . . . . . . . . . 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 1191 . . . . . . . . . 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 518 . . . . . . . . 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 451 . . . . . . . 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 2720 . . . . . . . 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 203 . . . . . . 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 1132 . . . . . . . . . . . . . 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 451 . . . . . . . . . . . . 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 1132 . . . . . . . . . . . . . 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 451 . . . . . . . . . . . . 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 737 . . . . . . . . . . . . . 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 732 . . . . . . . . . . . . . 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 733 . . . . . . . . . . . . . 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 1132 . . . . . . . . . . . . 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 1132 . . . . . . . . . . . 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 730 . . . . . . . . . . . . 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 731 . . . . . . . . . . . . 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 447 . . . . . . . . . . . . 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 1132 . . . . . . . . . . . 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 24783 . . . . . . . . . . . 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 463 . . . . . . . . . . 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 3813 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  b  ->  <. A ,  x >.  =  <. A , 
b >. )
4443breq2d 4051 . . . . . . . . . . . . . . . . 17  |-  ( x  =  b  ->  (
d  Btwn  <. A ,  x >. 
<->  d  Btwn  <. A , 
b >. ) )
45 opeq2 3813 . . . . . . . . . . . . . . . . . 18  |-  ( x  =  b  ->  <. d ,  x >.  =  <. d ,  b >. )
4645breq1d 4049 . . . . . . . . . . . . . . . . 17  |-  ( x  =  b  ->  ( <. d ,  x >.Cgr <. D ,  B >.  <->  <. d ,  b >.Cgr <. D ,  B >. ) )
4744, 46anbi12d 691 . . . . . . . . . . . . . . . 16  |-  ( x  =  b  ->  (
( d  Btwn  <. A ,  x >.  /\  <. d ,  x >.Cgr <. D ,  B >. )  <->  ( d  Btwn  <. A ,  b >.  /\ 
<. d ,  b >.Cgr <. D ,  B >. ) ) )
4847anbi2d 684 . . . . . . . . . . . . . . 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 684 . . . . . . . . . . . . . 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 472 . . . . . . . . . . . . 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 518 . . . . . . . . . . . . . . . 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 521 . . . . . . . . . . . . . . 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 730 . . . . . . . . . . . . . . . 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 731 . . . . . . . . . . . . . . . 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 447 . . . . . . . . . . . . . . . 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 1132 . . . . . . . . . . . . . . 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 24794 . . . . . . . . . . . . . . 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 463 . . . . . . . . . . . . . 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 423 . . . . . . . . . . . . 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 28 . . . . . . . . . . . 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 426 . . . . . . . . . . 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 14 . . . . . . . . . 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 799 . . . . . . . . 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 588 . . . . . . . 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 2686 . . . . . . 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 14 . . . . . 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 376 . . . . . . 7  |-  ( ( C  =  c  \/  D  =  d )  <-> 
( D  =  d  \/  C  =  c ) )
68 simprrl 740 . . . . . . . . . 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 452 . . . . . . . . 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 3813 . . . . . . . . . 10  |-  ( D  =  d  ->  <. A ,  D >.  =  <. A , 
d >. )
7170breq2d 4051 . . . . . . . . 9  |-  ( D  =  d  ->  ( C  Btwn  <. A ,  D >.  <-> 
C  Btwn  <. A , 
d >. ) )
7269, 71syl5ibrcom 213 . . . . . . . 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 738 . . . . . . . . . 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 452 . . . . . . . . 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 3813 . . . . . . . . . 10  |-  ( C  =  c  ->  <. A ,  C >.  =  <. A , 
c >. )
7675breq2d 4051 . . . . . . . . 9  |-  ( C  =  c  ->  ( D  Btwn  <. A ,  C >.  <-> 
D  Btwn  <. A , 
c >. ) )
7774, 76syl5ibrcom 213 . . . . . . . 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 811 . . . . . . 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 208 . . . . . 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 14 . . . . 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 799 . . . 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 588 . . 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 2686 . 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 14 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 set class
Syntax hints:    -> wi 4    \/ wo 357    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696    =/= wne 2459   E.wrex 2557   <.cop 3656   class class class wbr 4039   ` cfv 5271   NNcn 9762   EEcee 24588    Btwn cbtwn 24589  Cgrccgr 24590
This theorem is referenced by:  btwnconn1  24796
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-inf2 7358  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830  ax-pre-sup 8831
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 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-se 4369  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-oadd 6499  df-er 6676  df-map 6790  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-sup 7210  df-oi 7241  df-card 7588  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-div 9440  df-nn 9763  df-2 9820  df-3 9821  df-n0 9982  df-z 10041  df-uz 10247  df-rp 10371  df-ico 10678  df-icc 10679  df-fz 10799  df-fzo 10887  df-seq 11063  df-exp 11121  df-hash 11354  df-cj 11600  df-re 11601  df-im 11602  df-sqr 11736  df-abs 11737  df-clim 11978  df-sum 12175  df-ee 24591  df-btwn 24592  df-cgr 24593  df-ofs 24678  df-ifs 24734  df-cgr3 24735  df-colinear 24736  df-fs 24737
  Copyright terms: Public domain W3C validator